.gfsc-profile {
  --gfsc-accent: #6444c9;
  --gfsc-surface: #fff;
  --gfsc-canvas: #f7f6ff;
  --gfsc-border: #dcd7eb;
  --gfsc-ink: #231d3c;
  --gfsc-muted: #5d5575;
  --gfsc-success: #11664c;
  --gfsc-success-bg: #e0f6ea;
  --gfsc-danger: #9c2446;
  --gfsc-danger-bg: #fce9ee;
  --gfsc-warning: #80550a;
  --gfsc-warning-bg: #fff1d4;
  --gfsc-radius: 20px;
  display: grid;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  gap: .55rem;
  min-width: 0;
  width: 100%;
  padding: clamp(.85rem, 3.5vw, 1.3rem);
  margin: 0 0 .9rem;
  border: 1px solid var(--gfsc-border);
  border-radius: var(--gfsc-radius);
  background: var(--gfsc-canvas);
  color: var(--gfsc-ink);
  box-sizing: border-box;
  text-align: left;
  container-type: inline-size;
}
.gfsc-profile *, .gfsc-profile *::before, .gfsc-profile *::after { box-sizing: border-box; }
.gfsc-profile[hidden], .gfsc-profile [hidden] { display: none !important; }
form.cart :has(> [data-gfsc-flow-below]:not([hidden])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  reading-flow: grid-rows;
}
form.cart [data-gfsc-flow-below] { order: 1; }
.gfsc-profile .gfsc-profile-kicker {
  display: block;
  font-size: .7rem;
  line-height: 1.3;
  font-weight: 780;
  letter-spacing: .1em;
  color: var(--gfsc-accent);
  overflow-wrap: anywhere;
}
.gfsc-profile .gfsc-profile-kicker:empty { display: none; }
.gfsc-profile .gfsc-profile-title {
  margin: 0;
  font-size: clamp(1.04rem, 3vw, 1.38rem);
  font-weight: 760;
  letter-spacing: -.025em;
  color: var(--gfsc-ink);
  line-height: 1.18;
}
.gfsc-profile .gfsc-profile-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
  min-height: 52px;
  min-width: 0;
  padding: .26rem .55rem;
  background: var(--gfsc-surface);
  border: 1px solid var(--gfsc-border);
  border-radius: max(6px, calc(var(--gfsc-radius) * .64));
}
.gfsc-profile .gfsc-profile-input:focus-within {
  outline: 2px solid var(--gfsc-accent);
  outline-offset: 1px;
}
.gfsc-profile .gfsc-profile-input[data-state="public"],
.gfsc-profile .gfsc-profile-input[data-state="format"],
.gfsc-profile .gfsc-profile-input[data-state="valid"] { border-color: var(--gfsc-success); }
.gfsc-profile .gfsc-profile-input[data-state="private"],
.gfsc-profile .gfsc-profile-input[data-state="missing"],
.gfsc-profile .gfsc-profile-input[data-state="invalid"] { border-color: var(--gfsc-danger); }
.gfsc-profile .gfsc-profile-input input {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 42px;
  padding: .3rem 0;
  margin: 0;
  border: 0 !important;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--gfsc-ink);
  font: inherit;
  font-size: max(16px, .95em);
}
.gfsc-profile .gfsc-profile-input input::placeholder { color: var(--gfsc-muted); opacity: .82; }
.gfsc-link-symbol, .gfsc-link-status {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 50%;
}
.gfsc-link-symbol { color: var(--gfsc-accent); background: var(--gfsc-canvas); }
.gfsc-link-status:empty { visibility: hidden; }
.gfsc-profile-input[data-state="public"] .gfsc-link-status,
.gfsc-profile-input[data-state="valid"] .gfsc-link-status,
.gfsc-profile-input[data-state="format"] .gfsc-link-status { color: var(--gfsc-success); background: var(--gfsc-success-bg); }
.gfsc-profile-input[data-state="private"] .gfsc-link-status,
.gfsc-profile-input[data-state="missing"] .gfsc-link-status,
.gfsc-profile-input[data-state="invalid"] .gfsc-link-status { color: var(--gfsc-danger); background: var(--gfsc-danger-bg); }
.gfsc-profile-input[data-valid-link="true"] .gfsc-link-status { color: var(--gfsc-success); background: var(--gfsc-success-bg); }
.gfsc-profile .gfsc-profile-hint {
  color: var(--gfsc-muted);
  font-size: .84rem;
  line-height: 1.4;
  margin: 0;
}
.gfsc-profile .gfsc-profile-hint:empty { display: none; }
.gfsc-profile-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .65rem;
  padding: .65rem;
  border: 1px solid var(--gfsc-border);
  border-radius: max(7px, calc(var(--gfsc-radius) * .66));
  background: var(--gfsc-surface);
  min-width: 0;
}
.gfsc-profile-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .4rem .65rem;
  padding: .35rem .3rem;
  min-width: 0;
}
.gfsc-profile-avatar {
  display: grid;
  position: relative;
  place-items: center;
  overflow: hidden;
  inline-size: 3.35rem;
  block-size: 3.35rem;
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 800;
  background: var(--gfsc-canvas);
  color: var(--gfsc-accent);
}
.gfsc-profile .gfsc-profile-avatar img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.gfsc-profile-summary, .gfsc-profile-account, .gfsc-profile-count, .gfsc-profile-status {
  display: grid;
  min-width: 0;
  gap: .12rem;
  overflow-wrap: anywhere;
}
.gfsc-profile-summary:empty, .gfsc-profile-summary span:empty,
.gfsc-profile-account span:empty, .gfsc-profile-count strong:empty { display: none; }
.gfsc-profile-summary > span { color: var(--gfsc-ink); font-size: .83rem; font-weight: 700; line-height: 1.2; }
.gfsc-profile-account { grid-column: 1 / -1; }
.gfsc-profile-account strong { color: var(--gfsc-ink); font-size: .88rem; font-weight: 780; }
.gfsc-profile-account span, .gfsc-profile-count span { color: var(--gfsc-muted); font-size: .72rem; line-height: 1.2; }
.gfsc-profile-count strong {
  color: var(--gfsc-ink);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.gfsc-profile-status {
  border-radius: max(6px, calc(var(--gfsc-radius) * .49));
  background: var(--gfsc-canvas);
  padding: .7rem .8rem;
  font-size: .83rem;
  line-height: 1.4;
  color: var(--gfsc-ink);
  align-content: center;
}
.gfsc-profile-status strong { color: inherit; font-weight: 800; }
.gfsc-profile-status span:empty { display: none; }
.gfsc-profile-result[data-state="public"] .gfsc-profile-status,
.gfsc-profile-result[data-state="format"] .gfsc-profile-status,
.gfsc-profile-result[data-state="valid"] .gfsc-profile-status { color: var(--gfsc-success); background: var(--gfsc-success-bg); }
.gfsc-profile-result[data-state="private"] .gfsc-profile-status,
.gfsc-profile-result[data-state="missing"] .gfsc-profile-status,
.gfsc-profile-result[data-state="invalid"] .gfsc-profile-status { color: var(--gfsc-danger); background: var(--gfsc-danger-bg); }
.gfsc-profile-result[data-state="format"] .gfsc-profile-status,
.gfsc-profile-result[data-state="invalid"] .gfsc-profile-status { box-shadow: inset 0 0 0 1px currentColor; }
.gfsc-profile-result[data-state="unknown"] .gfsc-profile-status {
  color: var(--gfsc-privacy-ink, #b91c1c);
  border: 1px solid currentColor;
  background: var(--gfsc-privacy-bg, #fef2f2);
}
.gfsc-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .65rem;
  grid-column: 1 / -1;
  padding-top: .55rem;
  border-top: 1px solid var(--gfsc-border);
}
.gfsc-profile .gfsc-profile-visit {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-height: 44px;
  margin: 0;
  padding: .4rem .65rem;
  border-radius: max(6px, calc(var(--gfsc-radius) * .4));
  border: 1px solid var(--gfsc-border);
  background: var(--gfsc-canvas);
  color: var(--gfsc-accent);
  font: inherit;
  font-size: .83rem;
  font-weight: 740;
  text-transform: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.gfsc-profile .gfsc-profile-visit:hover { border-color: var(--gfsc-accent); }
.gfsc-profile .gfsc-profile-visit:focus-visible { outline: 2px solid var(--gfsc-accent); outline-offset: 2px; }
.gfsc-livecounts {
  container: gfsc-counter / inline-size;
  min-width: 0;
  padding: .2rem .4rem;
  border: 1px solid var(--gfsc-border);
  border-radius: max(6px, calc(var(--gfsc-radius) * .49));
  text-align: center;
  grid-column: 1 / -1;
}
.gfsc-livecounts-placement {
  display: grid;
  place-items: center;
  min-width: 0;
  /* The embed draws its profile at the start of a wider internal canvas. */
  padding-inline-start: clamp(0px, calc(50cqi - 5.5rem), 6rem);
}
.gfsc-livecounts iframe {
  display: block;
  width: 15rem;
  max-width: 100%;
  height: 4.875rem;
  border: 0;
  zoom: 1.1;
  position: relative;
  inset-block-start: -.15rem;
}
.gfsc-profile .gfsc-avatar-credit a { color: var(--gfsc-muted); text-decoration: underline; font-size: .75rem; }
.gfsc-profile .gfsc-avatar-credit { justify-self: end; line-height: 1.3; }
.gfsc-profile .gfsc-confirm { display: flex; flex: 1 1 13rem; min-width: 0; align-items: center; gap: .5rem; min-height: 44px; margin: 0; position: relative; cursor: pointer; color: var(--gfsc-ink); font-size: .75rem; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.gfsc-profile .gfsc-confirm-error { flex-basis: 100%; margin: 0; color: var(--gfsc-danger); font-size: .8rem; overflow-wrap: anywhere; }
.gfsc-profile [data-gfsc-confirm-copy] strong { font-weight: 900; text-decoration: underline; text-underline-offset: .14em; }
.gfsc-profile .gfsc-confirm input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gfsc-confirm-track { display: block; position: relative; flex: 0 0 46px; height: 26px; border-radius: 20px; background: var(--gfsc-muted); }
.gfsc-confirm-track::after { content: ''; position: absolute; display: grid; place-items: center; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: white; color: var(--gfsc-success); transition: transform .16s ease; }
.gfsc-confirm input:checked + .gfsc-confirm-track { background: var(--gfsc-success); }
.gfsc-confirm input:checked + .gfsc-confirm-track::after { content: '✓'; transform: translateX(20px); }
.gfsc-confirm input:focus-visible + .gfsc-confirm-track { outline: 2px solid var(--gfsc-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .gfsc-confirm-track::after { transition: none; } }
@container (min-width: 380px) {
  .gfsc-profile-result[data-has-identity="true"] { grid-template-columns: minmax(9rem, 1fr) minmax(0, 1.8fr); }
}
@container gfsc-counter (min-width: 350px) {
  .gfsc-livecounts-placement { padding-inline-start: clamp(0px, calc(50cqi - 6.25rem), 6rem); }
  .gfsc-livecounts iframe { zoom: 1.25; }
}

/* Compact profile: identity and status share a row; no empty summary cell. */
.gfsc-profile-result[data-has-identity="true"] {grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:stretch;gap:.45rem}
.gfsc-profile-result[data-has-identity="true"] .gfsc-profile-identity {grid-template-columns:minmax(0,1fr);justify-items:start;align-content:center;padding:.3rem;gap:.2rem}
.gfsc-profile-result .gfsc-profile-avatar {inline-size:2.3rem;block-size:2.3rem}
.gfsc-profile-result .gfsc-profile-account {grid-column:auto;min-width:0;overflow-wrap:anywhere}
.gfsc-profile-result .gfsc-profile-summary {gap:.1rem}
.gfsc-profile-result .gfsc-profile-summary:not(:has([data-gfsc-name]:not(:empty),.gfsc-profile-count:not([hidden]))) {display:none}
.gfsc-profile-result .gfsc-profile-actions {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:.45rem;align-items:center}
.gfsc-profile-result .gfsc-profile-actions .gfsc-profile-visit {justify-content:center;text-align:center;min-width:0}
.gfsc-profile-result .gfsc-confirm-error {grid-column:1/-1}
.gfsc-profile-result .gfsc-livecounts-placement {padding-inline-start:clamp(0px,calc(50cqi - 6.25rem),6rem)}
@media(max-width:767px){
 .gfsc-profile {padding:.55rem;gap:.4rem;margin-bottom:.5rem}
 .gfsc-profile-result {padding:.45rem}
 .gfsc-profile-result .gfsc-profile-status {padding:.45rem;font-size:.74rem;line-height:1.28}
 .gfsc-profile-result .gfsc-profile-account strong {font-size:.79rem}
 .gfsc-profile-result .gfsc-profile-account span {font-size:.68rem}
 .gfsc-profile-result .gfsc-profile-visit {font-size:.68rem;padding:.3rem .2rem;line-height:1.2}
 .gfsc-profile-result .gfsc-confirm {font-size:.67rem;gap:.3rem;line-height:1.24}
 .gfsc-profile-result .gfsc-confirm-track {flex-basis:36px;height:22px}
 .gfsc-profile-result .gfsc-confirm-track::after {width:16px;height:16px}
 .gfsc-profile-result .gfsc-confirm input:checked + .gfsc-confirm-track::after {transform:translateX(14px)}
 .gfsc-profile-result .gfsc-livecounts iframe {zoom:1;max-width:100%;height:4.875rem;inset-block-start:0}
 .gfsc-profile .gfsc-profile-input input {font-size:16px}
}
@container(max-width:230px){.gfsc-profile-result[data-has-identity="true"],.gfsc-profile-result .gfsc-profile-actions {grid-template-columns:minmax(0,1fr)}}


@media(max-width:767px){
 body.gfsc-service-product .woocommerce-product-gallery{width:100%!important;max-width:100%;margin:0 auto 8px!important;padding:0!important;float:none!important}
 body.gfsc-service-product .woocommerce-product-gallery__wrapper,body.gfsc-service-product .woocommerce-product-gallery .wd-carousel-inner{margin:0!important;padding:0!important;min-height:0!important}
 body.gfsc-service-product .woocommerce-product-gallery__image img,body.gfsc-service-product .woocommerce-product-gallery img.wp-post-image{display:block;width:auto!important;max-width:92px!important;height:92px!important;object-fit:contain;margin:0 auto!important}
 body.gfsc-service-product .woocommerce-product-gallery__image{min-height:0!important;max-height:106px!important}
 body.gfsc-service-product .woocommerce-product-gallery .wd-carousel-item{min-height:0!important}
 body.gfsc-service-product .woocommerce-product-gallery .wd-gallery-thumb,body.gfsc-service-product .woocommerce-product-gallery .flex-control-thumbs{display:none!important}
 body.gfsc-service-product .summary.entry-summary{padding-top:0!important;margin-top:0!important}
 body.gfsc-service-product .product_title{font-size:clamp(21px,6vw,28px)!important;margin:4px 0 9px!important;line-height:1.15}
 body.gfsc-service-product .product-image-summary{row-gap:8px!important;--wd-gap:8px}
}

@media(max-width:767px){
 body.gfsc-service-product .woocommerce-product-gallery :is(.product-image-wrap,.wd-carousel-wrap,.wd-carousel-inner,.wd-carousel-item,.woocommerce-product-gallery__image){aspect-ratio:auto!important;min-height:0!important}
 body.gfsc-service-product .woocommerce-product-gallery :is(.product-image-wrap,.woocommerce-product-gallery__image){padding:0!important}
 body.gfsc-service-product .woocommerce-product-gallery :is(.product-image-wrap,.woocommerce-product-gallery__image) a{display:block;max-width:106px;margin:0 auto}
}

/* Keep the destination within reach on the Instagram service page. */
body.gfsc-instagram-product:has(.gfsc-instagram-heading) :is(
  .product_title,
  .wd-sold-count,
  .wd-sold-counter,
  .wd-sales-count,
  .wd-product-sold-count,
  .gfsc-instagram-sales-counter
) { display: none !important; }
@media (max-width: 767px) {
  body.gfsc-instagram-product:has(.gfsc-instagram-heading) :is(
    .woocommerce-product-gallery,
    .wd-product-images,
    .wp-block-woocommerce-product-image-gallery,
    .wp-block-woocommerce-product-gallery,
    .elementor-widget-woocommerce-product-images,
    .elementor-widget-wd_single_product_images
  ),
  body.gfsc-instagram-product:has(.gfsc-instagram-heading) .product-image-summary > :has(.woocommerce-product-gallery):not(:has(form.cart)) {
    display: none !important;
  }
  body.gfsc-instagram-product:has(.gfsc-instagram-heading) .product-image-summary .summary {
    width: 100% !important;
    max-width: 100%;
    flex-basis: 100%;
  }
}
body.gfsc-instagram-product .gfsc-instagram-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-height: 38px;
  padding: 5px 10px;
  margin: 0 0 8px;
  border: 1px solid #ffffff4d;
  border-radius: 10px;
  background: radial-gradient(ellipse at 22% 0%,#ffffff3d,transparent 67%),
    linear-gradient(112deg,#4625a9 0%,#9a1669 58%,#ac2b46 100%);
  color: #fff;
  box-shadow: inset 0 1px #ffffff50,0 2px 7px #89176a35;
  font-size: clamp(15px,4.2vw,20px);
  font-weight: 780;
  line-height: 1.12;
}
.gfsc-instagram-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 7px;
  background: radial-gradient(circle at 20% 100%,#ffd85b 6%,#f87934 33%,#db246d 61%,#853ad3 91%);
}
.gfsc-instagram-icon::before {
  content: '';
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 1.5px solid #fff;
  border-radius: 5px;
}
.gfsc-instagram-icon::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  box-shadow: 4px -4px 0 -3px #fff;
}
.gfsc-profile .gfsc-confirm input[aria-invalid="true"] + .gfsc-confirm-track {
  outline: 2px solid var(--gfsc-danger);
  outline-offset: 2px;
}

/* Scope the spacing reset to the product using the compact Instagram header. */
body.gfsc-instagram-product:has(.gfsc-instagram-heading) :is(
  .main-page-wrapper, .wd-content-layout, .site-content, .wd-single-product,
  .product-image-summary-wrap, .product-image-summary, .summary.entry-summary
):has(.gfsc-instagram-heading) {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}
body.gfsc-instagram-product:has(.gfsc-instagram-heading) :is(
  .wd-content-layout, .product-image-summary-wrap, .product-image-summary
):has(.gfsc-instagram-heading) {
  --wd-gap: 0px;
  --wd-row-gap: 0px;
  min-height: 0 !important;
  row-gap: 0 !important;
}
body.gfsc-instagram-product:has(.gfsc-instagram-heading) :is(
  .single-breadcrumbs-wrapper, .wd-single-breadcrumbs, .wd-product-nav, .wd-products-nav,
  .elementor-widget-woocommerce-product-title, .elementor-widget-wd_single_product_title
) { display: none !important; }
body.gfsc-instagram-product :is(.summary.entry-summary, .wd-single-add-cart):has(.gfsc-instagram-heading) form.cart {
  margin-block-start: 0 !important;
  padding-block-start: var(--gfsc-form-start, clamp(10px,2vw,18px)) !important;
}

/* One shared rhythm from the search header through the EPO service form. */
body.gfsc-instagram-product:has(.gfsc-instagram-heading) { --gfsc-product-gap: 12px; }
body.gfsc-instagram-product:has(.gfsc-instagram-heading) :is(
  .wd-page-content, .main-page-wrapper, .wd-content-layout, .site-content,
  .single-product-page, .product-single-page, .wd-single-product, .summary.entry-summary,
  .product-image-summary-wrap, .product-image-summary, .wd-single-add-cart, .entry-content
):has(.gfsc-instagram-heading) {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
  min-height: 0 !important;
  --wd-row-gap: 0px;
}
body.gfsc-instagram-product :is(.wd-before-product,.wd-single-breadcrumbs,.single-breadcrumbs-wrapper)
:not(:has(.woocommerce-message,.woocommerce-error,.woocommerce-info,.gfsc-instagram-heading)) { display: none !important; }
body.gfsc-instagram-product:has(.gfsc-instagram-heading) .elementor-element:has(.gfsc-instagram-heading) {
  --padding-block-start: 0px;
  --margin-block-start: 0px;
  --row-gap: 0px;
}
body.gfsc-instagram-product form.cart:has(.gfsc-instagram-heading) {
  padding-block-start: var(--gfsc-form-start, var(--gfsc-product-gap)) !important;
  margin-block-start: 0 !important;
  row-gap: var(--gfsc-product-gap) !important;
}

@media (width > 767px) {
  body.gfsc-instagram-product:has(.gfsc-instagram-heading) { --gfsc-form-start: 4px; }

  /* Apply spacing once to the shared wrapper, above all three columns. */
  body.gfsc-instagram-product:has(.gfsc-instagram-heading) :is(
    .main-page-wrapper, .wd-page-content, .wd-content-layout, .product-image-summary-wrap
  ):has(.gfsc-instagram-heading):not(:has(.whb-header)):not(
    :is(.main-page-wrapper, .wd-page-content, .wd-content-layout, .product-image-summary-wrap):not(:has(.whb-header)) *
  ) {
    padding-block-start: clamp(22px, 1.65vw, 30px) !important;
  }
}

body.gfsc-instagram-product .gfsc-instagram-heading {
  --gfsc-bar-bg: #f3effa;
  --gfsc-bar-text: #32224e;
  --gfsc-bar-line: #e4d9f1;
  min-block-size: 41px;
  padding-inline: 10px;
  margin-block: 0;
  background: var(--gfsc-bar-bg);
  color: var(--gfsc-bar-text);
  border: 1px solid var(--gfsc-bar-line);
  box-shadow: none;
  line-height: 1.2;
}
body.gfsc-instagram-product .gfsc-instagram-heading[data-gfep-bar="dark"] {
  --gfsc-bar-bg: #272035;
  --gfsc-bar-text: #fff;
  --gfsc-bar-line: #4c3f61;
}
body.gfsc-instagram-product .gfsc-instagram-heading[data-gfep-bar="outline"] {
  --gfsc-bar-bg: #fff;
  --gfsc-bar-line: #ac94c9;
}
body.gfsc-instagram-product .gfsc-instagram-heading[data-gfep-bar="gradient"] {
  --gfsc-bar-bg: linear-gradient(108deg,#5932ab,#85316f 75%,#963747);
  --gfsc-bar-text: #fff;
  --gfsc-bar-line: #773c8b;
}
.tc-extra-product-options .gfsc-profile[data-gfsc-routed] {
  flex: 0 0 100%;
  box-sizing: border-box;
  inline-size: 100%;
  margin-block: 12px 0;
}

.gfsc-profile .gfsc-link-help {
  margin: 5px 0;
  color: var(--gfsc-muted);
  font-size: .82rem;
  line-height: 1.4;
}
.gfsc-profile .gfsc-link-help summary {
  width: fit-content;
  padding-block: 3px;
  color: var(--gfsc-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
  cursor: pointer;
}
.gfsc-link-dialog {
  box-sizing: border-box;
  inline-size: min(25rem, calc(100% - 32px));
  max-block-size: calc(100% - 32px);
  padding: 18px;
  border: 1px solid #e1daf0;
  border-radius: 15px;
  background: #fff;
  color: #231d3c;
  box-shadow: 0 14px 36px #1b103540;
}
.gfsc-link-dialog::backdrop { background: #2017357a; }
.gfsc-link-dialog h2 { margin: 0; color: inherit; font-size: 1.05rem; }
.gfsc-link-instructions ol { margin: 10px 0; padding-inline-start: 1.25rem; font-size: .9rem; }
.gfsc-link-instructions li + li { margin-top: 5px; }
.gfsc-link-dialog button {
  padding: 7px 13px; border: 0; border-radius: 8px; background: #5135a8; color: #fff;
  min-height: 40px; text-transform: none;
}

/* Recent destinations: inline dropdown, no toggle icon, no overlays on the checkout. */
.gfsc-profile .gfsc-recent-destinations{min-width:0;width:100%;max-height:250px;overflow:auto;overscroll-behavior:contain;background:var(--gfsc-surface);border:1px solid var(--gfsc-border);border-radius:12px;box-shadow:0 5px 14px #231d3c12;padding:3px 6px;margin:0;grid-column:1/-1}
.gfsc-profile .gfsc-recent-title{padding:7px 8px 3px;font-size:12px;color:var(--gfsc-muted);font-weight:700}
.gfsc-profile .gfsc-recent-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:4px;min-width:0;border-top:1px solid var(--gfsc-border)}
.gfsc-profile .gfsc-recent-row button{appearance:none;box-shadow:none;min-width:0;min-height:44px;height:auto;padding:5px 8px;margin:0;border:0;border-radius:7px;background:transparent;color:var(--gfsc-ink);text-transform:none;letter-spacing:normal;line-height:1.3;cursor:pointer}
.gfsc-profile .gfsc-recent-row .gfsc-recent-value{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:13px;font-weight:600;max-width:100%}
.gfsc-profile .gfsc-recent-row .gfsc-recent-remove{font-size:24px;color:var(--gfsc-danger);font-weight:500;text-align:center;width:40px}
.gfsc-profile .gfsc-recent-row button:hover,.gfsc-profile .gfsc-recent-row button:focus-visible{background:var(--gfsc-canvas);outline:1px solid var(--gfsc-accent);outline-offset:-2px}
