/* =========================================================
   GLOSSY FASHION – theme.css (component & page styles)
   Motion rules used throughout:
   - transform / opacity only (clip-path & grid rows where noted)
   - ease-out for enter/exit, ease-in-out for on-screen moves
   - every hover is gated to fine pointers
   - transitions (not keyframes) for anything re-triggerable
   ========================================================= */

/* ── Announcement ribbon ─────────────────────────────────── */
.gf-ribbon {
  background: var(--surface);
  color: var(--muted);
  overflow: hidden;
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: -.004em;
}
.gf-ribbon [style*="gfmarq"] {
  font-family: var(--font-text) !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .gf-ribbon:hover [style*="gfmarq"] { animation-play-state: paused !important; }
}

/* ── Global nav — translucent material ───────────────────── */
.gf-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}
/* Scroll edge: a hairline appears only once content is underneath */
.gf-nav::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity var(--dur-base) ease;
}
.gf-nav.scrolled::after { opacity: .6; }

.gf-nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--nav-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gf-logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-inline-end: 12px;
}
.gf-logo small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
}

.gf-mainnav {
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  font-size: 12px;
  letter-spacing: -.01em;
}
.gf-mainnav a {
  color: var(--text);
  opacity: .8;
  padding: 6px 0;
  transition: opacity var(--dur-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .gf-mainnav a:hover { opacity: 1; }
}

.gf-nav-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
}

.gf-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  opacity: .84;
  transition: background-color var(--dur-fast) ease, opacity var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.gf-pill-btn svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .gf-pill-btn:hover { opacity: 1; background: color-mix(in srgb, var(--text) 7%, transparent); }
}

.gf-nav-sep {
  width: 1px;
  height: 16px;
  background: var(--line);
  margin-inline: 6px;
}

/* Burger morphs to a close glyph — state, not decoration */
.gf-burger {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-inline-end: -8px;
}
.gf-burger span {
  position: absolute;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--dur-base) var(--ease-in-out);
}
.gf-burger span:nth-child(1) { transform: translateY(-3.5px); }
.gf-burger span:nth-child(2) { transform: translateY(3.5px); }
.gf-burger span:nth-child(3) { display: none; }
.gf-drawer-open .gf-burger span:nth-child(1) { transform: rotate(45deg); }
.gf-drawer-open .gf-burger span:nth-child(2) { transform: rotate(-45deg); }

/* Phones: logo at the start, the icons and then the menu button together at the end */
@media (max-width: 833px) {
  .gf-header-logo { margin: 0; }
  .gf-burger { order: 2; margin-inline-start: 2px; }
}
@media (max-width: 430px) {
  .gf-nav .gf-logo small { display: none; }
}

/* ── Popover (language menu) — scales from its trigger ───── */
.gf-popover {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 168px;
  padding: 6px;
  border-radius: var(--r-md);
  background: var(--glass-thick);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  box-shadow: var(--shadow-lg), inset 0 0 0 .5px var(--glass-edge);
  z-index: 300;
  transform-origin: top right;
  opacity: 0;
  transform: scale(.96) translateY(-4px);
  visibility: hidden;
  transition: opacity 150ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
[dir="rtl"] .gf-popover { transform-origin: top left; }
.gf-popover.open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out), visibility 0s;
}
.gf-popover button, .gf-popover a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: var(--r-sm);
  background: none;
  color: var(--text);
  font-size: 14px;
  text-align: start;
  transition: background-color 100ms ease;
}
.gf-popover button > span:first-child, .gf-popover a > span:first-child { min-width: 26px; color: var(--muted); font-size: 12px; }
@media (hover: hover) and (pointer: fine) {
  .gf-popover button:hover, .gf-popover a:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
}
.gf-popover button.active::after, .gf-popover a.active::after {
  content: '';
  margin-inline-start: auto;
  width: 5px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 1.75px 1.75px 0;
  transform: rotate(45deg) translateY(-2px);
}

/* ── Sheet (mobile menu) — dragged with the finger ───────── */
.gf-scrim {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--scrim);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-sheet) var(--ease-drawer), visibility 0s linear var(--dur-sheet);
}
.gf-scrim.show {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-sheet) var(--ease-drawer), visibility 0s;
}

.gf-sheet {
  position: fixed;
  top: 0;
  inset-inline-end: 0; /* opens from the side its button is on */
  z-index: 260;
  width: min(380px, 88vw);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--glass-thick);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  box-shadow: var(--shadow-lg);
  padding: max(16px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  touch-action: pan-y;
  transition: transform var(--dur-sheet) var(--ease-drawer), visibility 0s linear var(--dur-sheet);
}
[dir="rtl"] .gf-sheet { transform: translateX(-100%); }
.gf-sheet.open {
  transform: none;
  visibility: visible;
  transition: transform var(--dur-sheet) var(--ease-drawer), visibility 0s;
}
/* While a finger is on it, JS owns the transform 1:1 */
.gf-sheet.dragging,
.gf-sheet.dragging + .gf-scrim,
.gf-scrim.dragging { transition: none !important; }

.gf-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  margin-bottom: 12px;
}
.gf-sheet-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gf-sheet-close svg { width: 14px; height: 14px; }

.gf-sheet-nav a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 300ms ease, transform 400ms var(--ease-out);
}
[dir="rtl"] .gf-sheet-nav a { transform: translateX(-12px); }
.gf-sheet.open .gf-sheet-nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(80ms + var(--i, 0) * 30ms);
}
.gf-sheet-nav a:active { opacity: .5; }

.gf-sheet-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gf-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Segmented control — the thumb slides between options */
.gf-seg {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 2px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}
.gf-seg button, .gf-seg a {
  position: relative;
  z-index: 1;
  border: none;
  background: none;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-radius: 7px;
  transition: background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.gf-seg button.active, .gf-seg a.active,
.gf-seg button[aria-pressed="true"] {
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04);
}

/* ── Buttons ─────────────────────────────────────────────── */
.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.gf-btn:active { transform: scale(.97); }
.gf-btn-primary,
.gf-btn-inv {
  background: var(--accent-strong);
  color: var(--on-accent);
}
@media (hover: hover) and (pointer: fine) {
  .gf-btn-primary:hover,
  .gf-btn-inv:hover { background: color-mix(in srgb, var(--accent-strong) 82%, var(--bg)); }
}
.gf-btn-dark {
  background: var(--text);
  color: var(--bg);
}
@media (hover: hover) and (pointer: fine) {
  .gf-btn-dark:hover { background: color-mix(in srgb, var(--text) 82%, var(--bg)); }
}
.gf-btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .gf-btn-outline:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
}
.gf-btn-sm { min-height: 32px; padding: 7px 15px; font-size: 14px; }

/* ── Typography helpers ──────────────────────────────────── */
.gf-overline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.gf-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
}

/* ── Prose (blog/page content) ───────────────────────────── */
.gf-prose { font-size: 17px; line-height: 1.6; }
.gf-prose h2,
.gf-prose h3,
.gf-prose h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 2em 0 .6em;
  color: var(--text);
}
.gf-prose h2 { font-size: 28px; letter-spacing: -.02em; }
.gf-prose h3 { font-size: 21px; letter-spacing: -.016em; }
.gf-prose p  { margin: 0 0 1.3em; }
.gf-prose ul,
.gf-prose ol { padding-inline-start: 1.4em; margin: 0 0 1.3em; }
.gf-prose li { margin-bottom: .45em; }
.gf-prose a  { color: var(--accent); }
.gf-prose a:hover { text-decoration: underline; text-underline-offset: .18em; }
.gf-prose blockquote {
  border-inline-start: 3px solid var(--line);
  margin-inline-start: 0;
  padding: 4px 20px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.4;
}
.gf-prose img { max-width: 100%; height: auto; border-radius: var(--r-lg); }
.gf-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gf-prose th { font-weight: 600; }
.gf-prose th,
.gf-prose td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: start; }

/* ── Divider ─────────────────────────────────────────────── */
.gf-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ── Badge ───────────────────────────────────────────────── */
.gf-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
}
.gf-tag-inv {
  background: var(--text);
  color: var(--bg);
}

/* ── Forms ───────────────────────────────────────────────── */
.gf-input,
.gf-select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 17px;
  font-family: inherit;
  background-color: var(--bg); /* not the shorthand: it would wipe the select's chevron */
  color: var(--text);
  outline: none;
}
.gf-input::placeholder { color: var(--muted); }
.gf-select { cursor: pointer; }
.gf-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

/* ── Tabs — underline indicator ──────────────────────────── */
.gf-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.gf-tab {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.gf-tab.active,
.gf-tab[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--text);
}
.gf-tab-panel { display: none; }
.gf-tab-panel.active { display: block; animation: gfFade var(--dur-base) ease; }

/* ── Accordion — grid rows, no max-height guess ──────────── */
.gf-accordion-item {
  border-bottom: 1px solid var(--line);
}
.gf-accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  font-size: 19px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.016em;
  color: var(--text);
  text-align: start;
  cursor: pointer;
  gap: 16px;
}
.gf-accordion-trigger:active { transform: none; opacity: .6; }
.gf-accordion-trigger .gf-acc-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform var(--dur-base) var(--ease-in-out), color var(--dur-fast) ease;
}
.gf-accordion-item.open .gf-acc-icon {
  color: var(--text);
  transform: rotate(45deg);
}
.gf-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  transition: grid-template-rows var(--dur-base) var(--ease-in-out);
}
.gf-accordion-body > * {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity var(--dur-fast) ease;
}
.gf-accordion-item.open .gf-accordion-body { grid-template-rows: 1fr; }
.gf-accordion-item.open .gf-accordion-body > * {
  opacity: 1;
  padding-bottom: 22px;
  transition-delay: 60ms;
}

/* ── Rating stars ────────────────────────────────────────── */
.gf-stars { color: var(--text); letter-spacing: 1px; }

/* ── Product card — rounded tile on a soft surface ───────── */
.gf-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 0;
}
.gf-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}
.gf-card-media > .gf-ph,
.gf-card-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gf-card:hover .gf-card-media > .gf-ph,
  .gf-card:hover .gf-card-media > img { transform: scale(1.03); }
}
/* Shop archive markup */
.gf-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  isolation: isolate;
}
.gf-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gf-card:hover .gf-card-img-wrap img { transform: scale(1.03); }
}
.gf-card-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.gf-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.gf-card-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.25;
  color: var(--text);
}
.gf-card-meta {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gf-card-price {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.gf-card-price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-inline-start: 6px;
}
.gf-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

/* Card actions slide up on hover where hover exists; always visible on touch */
.gf-card-actions {
  position: absolute;
  bottom: 14px;
  inset-inline: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
@media (hover: hover) and (pointer: fine) {
  .gf-card-actions {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--dur-fast) ease, transform var(--dur-base) var(--ease-out);
  }
  .gf-card:hover .gf-card-actions,
  .gf-card:focus-within .gf-card-actions {
    opacity: 1;
    transform: none;
  }
}

/* ── Wishlist button ─────────────────────────────────────── */
.gf-wishlist-btn {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: transform var(--dur-press) var(--ease-out), color var(--dur-fast) ease;
}
.gf-wishlist-btn svg { width: 17px; height: 17px; transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1); }
.gf-wishlist-btn:active { transform: scale(.88); }
.gf-wishlist-btn.active { color: var(--text); }
.gf-wishlist-btn.active svg { fill: currentColor; }
.gf-wishlist-btn.gf-heartbeat svg { transform: scale(1.22); transition-duration: 120ms; }

/* ── Add to cart (card) ──────────────────────────────────── */
.gf-add-to-cart-btn {
  flex: 1;
  min-height: 36px;
  padding: 8px 16px;
  background: var(--accent-strong);
  color: var(--on-accent);
  border: none;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gf-add-to-cart-btn:hover { background: color-mix(in srgb, var(--accent-strong) 82%, var(--bg)); }
}
.gf-add-to-cart-btn.gf-added { background: var(--success); }

/* ── Cart / qty ──────────────────────────────────────────── */
.gf-qty {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  background: var(--surface);
  overflow: hidden;
}
.gf-qty button {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gf-qty input {
  width: 36px;
  text-align: center;
  border: none;
  background: none;
  font-size: 15px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  padding: 0;
  height: 36px;
}
.gf-qty input:focus { box-shadow: none; }

/* ── Price range slider ──────────────────────────────────── */
.gf-range-wrap {
  position: relative;
  height: 4px;
  background: var(--surface2);
  border-radius: 4px;
  margin: 24px 0 8px;
}
.gf-range-track {
  position: absolute;
  height: 100%;
  background: var(--accent-strong);
  border-radius: 4px;
}
.gf-range-wrap input[type="range"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
.gf-range-wrap input[type="range"]:focus { box-shadow: none; }
.gf-range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  border: none;
  cursor: grab;
  pointer-events: all;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.04), 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06);
}
.gf-range-wrap input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  border: none;
  cursor: grab;
  pointer-events: all;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.04), 0 3px 8px rgba(0,0,0,.15);
}

/* ── Toast — enters and leaves through the bottom ────────── */
.gf-toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 400;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, #1d1d1d 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 16px) scale(.96);
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.gf-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── Overlay ─────────────────────────────────────────────── */
.gf-overlay {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) ease;
}
.gf-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ── Mini-cart drawer — transform, never inset ───────────── */
#gf-mini-cart {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  background: var(--glass-thick);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  z-index: 300;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--dur-sheet) var(--ease-drawer);
}
[dir="rtl"] #gf-mini-cart { transform: translateX(-100%); }
#gf-mini-cart.open { transform: none; }
.gf-mini-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.gf-mini-cart-body { flex: 1; overflow-y: auto; padding: 0 24px 20px; overscroll-behavior: contain; }
.gf-mini-cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.gf-mini-cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.gf-mini-cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}

/* ── Search — drops from the nav over a blurred page ─────── */
#gf-search-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) ease, visibility 0s linear var(--dur-base);
}
#gf-search-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-base) ease, visibility 0s;
}
.gf-search-panel {
  position: relative;
  width: 100%;
  background: var(--bg);
  padding: 28px var(--gutter) 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-16px);
  opacity: 0;
  transition: transform 320ms var(--ease-out), opacity var(--dur-fast) ease;
}
#gf-search-modal.open .gf-search-panel { transform: none; opacity: 1; }
.gf-search-panel form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gf-search-panel svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
#gf-search-modal input {
  flex: 1;
  font-size: clamp(22px, 3vw, 32px);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  border: none;
  background: none;
  color: var(--text);
  padding: 8px 0;
}
#gf-search-modal input:focus { box-shadow: none; }
#gf-search-modal input::placeholder { color: var(--muted); }
.gf-search-hints {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--muted);
}
.gf-search-hints a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text);
}
.gf-search-hints a:hover { color: var(--accent); }
#gf-search-modal-close {
  position: absolute;
  top: 24px;
  inset-inline-end: var(--gutter);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  font-size: 13px;
}

/* ── WooCommerce notices ─────────────────────────────────── */
.woocommerce-message,
.woocommerce-info {
  background: var(--surface);
  border-top: none !important;
  color: var(--text);
  font-size: 15px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.woocommerce-error {
  background: color-mix(in srgb, var(--danger) 8%, var(--bg));
  border-top: none !important;
  color: var(--danger);
  font-size: 15px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  list-style: none;
}

/* ── Pagination ──────────────────────────────────────────── */
.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .page-numbers:hover { background: var(--surface); }
}
.page-numbers.current {
  background: var(--text);
  color: var(--bg);
}
.page-numbers.dots { color: var(--muted); }

/* ── Product gallery thumbnails ──────────────────────────── */
.gf-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 72px;
  flex-shrink: 0;
}
.gf-gallery-thumb {
  width: 72px;
  height: 90px;
  object-fit: cover;
  cursor: pointer;
  border-radius: var(--r-sm);
  opacity: .55;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity var(--dur-fast) ease, outline-color var(--dur-fast) ease;
  display: block;
}
.gf-gallery-thumb.active { opacity: 1; outline-color: var(--text); }
#gf-gallery-main { transition: opacity var(--dur-fast) ease; }
#gf-gallery-main.gf-swapping { opacity: 0; }

/* ── Variation swatches ──────────────────────────────────── */
.gf-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gf-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15);
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
  position: relative;
}
.gf-swatch.active { outline-color: var(--accent-strong); }
.gf-size-btn {
  min-width: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: none;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .gf-size-btn:hover { border-color: var(--muted); }
}
.gf-size-btn.active {
  border-color: var(--accent-strong);
  box-shadow: inset 0 0 0 1px var(--accent-strong);
}
.gf-size-btn.unavailable {
  opacity: .35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ── Coupon code field ───────────────────────────────────── */
#gf-coupon-wrap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
#gf-coupon-code {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: var(--r-md);
}
#gf-coupon-apply {
  padding: 10px 20px;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--r-pill);
}

/* ── Tracking spinner — Apple-style activity indicator ───── */
.gf-track-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--surface2);
  border-top-color: var(--muted);
  border-radius: 999px;
  animation: gf-spin 0.8s linear infinite;
  margin: 0 auto;
}

/* ── Shipping rate table ─────────────────────────────────── */
.gf-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.gf-rate-table th,
.gf-rate-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: start;
}
.gf-rate-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ── Toggle switch — iOS proportions, thumb slides ───────── */
.gf-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.gf-toggle {
  position: relative;
  width: 51px;
  height: 31px;
  flex-shrink: 0;
}
.gf-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.gf-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface2);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--dur-base) ease;
}
.gf-toggle-slider::before {
  content: '';
  position: absolute;
  width: 27px;
  height: 27px;
  border-radius: 999px;
  background: #fff;
  top: 2px;
  inset-inline-start: 2px;
  transition: transform var(--dur-base) var(--ease-out);
  box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06);
}
.gf-toggle input:checked + .gf-toggle-slider { background: var(--accent-strong); }
[data-theme="dark"] .gf-toggle input:checked + .gf-toggle-slider::before { background: #000; }
.gf-toggle input:checked + .gf-toggle-slider::before { transform: translateX(20px); }
[dir="rtl"] .gf-toggle input:checked + .gf-toggle-slider::before { transform: translateX(-20px); }
.gf-toggle input:focus-visible + .gf-toggle-slider { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

/* ── Stats count-up ──────────────────────────────────────── */
.gf-stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* ── Coming soon ─────────────────────────────────────────── */
.gf-cs-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gf-cs-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  width: 100%;
}
.gf-cs-countdown {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 40px 0 48px;
  flex-wrap: wrap;
}
.gf-cs-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}
.gf-cs-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #f5f5f5;
}
.gf-cs-label {
  font-size: 12px;
  color: #878787;
}
.gf-cs-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gf-cs-ring:nth-child(1) { width: 500px; height: 500px; animation: gfCsOrbit 60s linear infinite; }
.gf-cs-ring:nth-child(2) { width: 750px; height: 750px; animation: gfCsOrbitR 90s linear infinite; }
.gf-cs-ring:nth-child(3) { width: 1050px; height: 1050px; animation: gfCsOrbit 120s linear infinite; }
.gf-cs-email-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.gf-cs-email-form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 17px;
  padding: 12px 18px;
}
.gf-cs-email-form input:focus { box-shadow: none; }
.gf-cs-email-form input::placeholder { color: rgba(255,255,255,.45); }
.gf-cs-email-form button {
  background: #f5f5f5;
  color: #1d1d1d;
  border: none;
  border-radius: var(--r-pill);
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

/* ── About page ──────────────────────────────────────────── */
.gf-about-hero {
  min-height: 60vh;
  background: var(--surface);
  display: flex;
  align-items: center;
  padding: 80px 60px;
  gap: 60px;
}
.gf-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 60px 0;
}
.gf-about-stat {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 40px 24px;
  text-align: center;
}

/* ── Testimonials page filter ────────────────────────────── */
.gf-testi-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.gf-testi-filter-btn {
  padding: 8px 18px;
  border: none;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 999px;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.gf-testi-filter-btn.active {
  background: var(--text);
  color: var(--bg);
}
@media (hover: hover) and (pointer: fine) {
  .gf-testi-filter-btn:not(.active):hover { background: var(--surface2); }
}
.gf-testi-card {
  background: var(--surface);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--r-xl);
}

/* ── Help center cards ───────────────────────────────────── */
.gf-help-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gf-help-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
}
.gf-help-card:active { transform: scale(.98); }
.gf-help-card-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* ── Checkout steps ──────────────────────────────────────── */
.gf-checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.gf-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.gf-step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  color: var(--muted);
  transition: background-color var(--dur-base) ease, color var(--dur-base) ease;
}
.gf-step.active .gf-step-num {
  background: var(--accent-strong);
  color: var(--on-accent);
}
.gf-step-label {
  font-size: 14px;
  color: var(--muted);
}
.gf-step.active .gf-step-label { color: var(--text); font-weight: 500; }
.gf-step-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 40px;
}

/* ── Order summary box ───────────────────────────────────── */
.gf-order-box {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.gf-order-box-head {
  padding: 20px 24px 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.016em;
}
.gf-order-box-body { padding: 12px 24px 24px; }
.gf-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 6px 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.gf-order-row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 14px;
  font-weight: 600;
  color: var(--text);
  font-size: 19px;
}

/* ── Account sidebar ─────────────────────────────────────── */
.gf-account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gf-account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: background-color 100ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .gf-account-nav a:hover { background: var(--surface); }
}
.gf-account-nav a.active {
  background: var(--surface2);
  font-weight: 600;
}

/* =========================================================
   HOME — sections
   ========================================================= */
.gf-sec {
  padding-block: clamp(64px, 9vw, 120px);
}
.gf-sec-tight { padding-block: clamp(48px, 6vw, 80px); }
.gf-sec-surface { background: var(--surface); }
.gf-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* Hero */
.gf-hero {
  text-align: center;
  padding-top: clamp(48px, 8vw, 104px);
  overflow: hidden;
}
.gf-hero .gf-t-eyebrow { color: var(--muted); }
.gf-hero h1 { margin: 10px auto 0; max-width: 14ch; }
.gf-hero .gf-t-sub { margin: 16px auto 0; max-width: 36ch; }
.gf-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  font-size: 17px;
}
.gf-hero-media {
  margin: clamp(40px, 6vw, 72px) auto 0;
  max-width: var(--maxw);
  padding-inline: var(--gutter);
}
.gf-hero-media .gf-ph {
  aspect-ratio: 16 / 8;
  border-radius: var(--r-xl);
}

/* Scroll-linked settle: the hero image grows into place as it
   enters. Runs on the compositor; ignored where unsupported. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .gf-hero-media .gf-ph {
      animation: gfHeroSettle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
  }
}
@keyframes gfHeroSettle {
  from { transform: scale(.92); }
  to { transform: none; }
}

/* Category tiles */
.gf-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--text);
}
.gf-cat-tile .gf-ph {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gf-cat-tile:hover .gf-ph { transform: scale(1.03); }
}
.gf-cat-tile:active .gf-ph { transform: scale(.97); transition-duration: var(--dur-press); }
.gf-cat-tile strong { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.gf-cat-tile small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Shelf — native momentum scroll + snap, drag-enabled on mouse */
.gf-shelf {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 8px var(--gutter) 40px;
  margin-bottom: -32px;
  scrollbar-width: none;
}
.gf-shelf::-webkit-scrollbar { display: none; }
.gf-shelf > * { scroll-snap-align: start; flex: 0 0 auto; }
.gf-shelf.gf-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.gf-shelf.gf-dragging a { pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .gf-shelf { cursor: grab; }
}

.gf-shelf-card {
  width: clamp(260px, 26vw, 320px);
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.gf-sec-surface .gf-shelf-card { background: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .gf-shelf-card:hover { transform: scale(1.012); box-shadow: var(--shadow); }
}
.gf-shelf-card .gf-ph {
  aspect-ratio: 4 / 5;
  border-radius: 0;
}
.gf-shelf-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gf-shelf-card-body .gf-card-badge { position: static; }

.gf-shelf-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin: 24px auto 0;
}
.gf-round-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: color-mix(in srgb, var(--text) 9%, transparent);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast) ease, opacity var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.gf-round-btn svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .gf-round-btn:hover:not(:disabled) { background: color-mix(in srgb, var(--text) 14%, transparent); }
}
.gf-round-btn:disabled { opacity: .3; }
[dir="rtl"] .gf-round-btn svg { transform: scaleX(-1); }

/* Best sellers — bento */
.gf-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gf-bento-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--text);
  min-height: 320px;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out);
}
.gf-bento-tile:first-child { grid-column: span 2; grid-row: span 2; min-height: 660px; }
.gf-bento-tile .gf-ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
  z-index: 0;
}
.gf-bento-tile > :not(.gf-ph) { position: relative; z-index: 1; }
.gf-bento-rank { font-size: 12px; font-weight: 600; color: var(--muted); }
.gf-bento-tile h3 { font-size: clamp(21px, 2vw, 28px); letter-spacing: -.02em; }
.gf-bento-tile:first-child h3 { font-size: clamp(28px, 3.4vw, 48px); }
.gf-bento-tile p { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (hover: hover) and (pointer: fine) {
  .gf-bento-tile:hover { transform: scale(1.008); }
}
.gf-bento-tile:active { transform: scale(.985); transition-duration: var(--dur-press); }

/* Testimonials — stacked slides crossfade in place */
.gf-quote-sec {
  background: #000;
  color: #f5f5f5;
  text-align: center;
}
.gf-quote-sec .gf-t-eyebrow { color: #878787; }
.gf-testi-stack {
  display: grid;
  max-width: 880px;
  margin: 24px auto 0;
}
.gf-testimonial-slide {
  grid-area: 1 / 1;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 500ms ease, filter 500ms ease, transform 600ms var(--ease-out), visibility 0s linear 600ms;
}
.gf-testimonial-slide.gf-testi-active {
  opacity: 1;
  filter: none;
  transform: none;
  visibility: visible;
  transition-delay: 120ms, 120ms, 120ms, 0s;
}
.gf-testimonial-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.gf-testimonial-slide blockquote::before { content: '\201C'; }
.gf-testimonial-slide blockquote::after { content: '\201D'; }
.gf-testi-who {
  margin-top: 28px;
  font-size: 15px;
  color: #878787;
}
.gf-testi-who strong { color: #f5f5f5; font-weight: 600; }
.gf-testi-face { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; margin-inline-end: 10px; }
.gf-testi-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}
.gf-testi-dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
  transition: width 400ms var(--ease-in-out), background-color var(--dur-fast) ease;
}
.gf-testi-dot::before {
  content: '';
  position: absolute;
  inset: -12px -4px;
}
.gf-testi-dot.active { width: 40px; }
/* Progress fill shows how long until the next quote */
.gf-testi-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #f5f5f5;
  transform: scaleX(0);
  transform-origin: left;
}
[dir="rtl"] .gf-testi-dot::after { transform-origin: right; }
.gf-testi-dot.active::after { animation: gfDotFill var(--testi-dur, 6s) linear forwards; }
.gf-testi-paused .gf-testi-dot.active::after { animation-play-state: paused; }
@keyframes gfDotFill { to { transform: scaleX(1); } }

/* Newsletter */
.gf-news {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.gf-news-form {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 480px;
  margin: 28px auto 0;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur-fast) ease;
}
.gf-news-form:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent-strong), 0 0 0 4px color-mix(in srgb, var(--accent-strong) 20%, transparent); }
.gf-news-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  color: var(--text);
  padding: 10px 16px;
}
.gf-news-form input:focus { box-shadow: none; }
/* Button fills the pill so the inset is an even 5px on every side */
.gf-news-form .gf-btn {
  flex: none;
  height: 40px;
  min-height: 40px;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1;
}
.gf-news-form input { height: 40px; }
.gf-news-msg {
  margin-top: 14px;
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.gf-news-msg svg { width: 16px; height: 16px; }
#gf-news-ok { color: var(--success); }
#gf-news-err { color: var(--danger); }

/* Social grid */
.gf-social-tile {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .gf-social-tile:hover { transform: scale(1.03); }
}
.gf-social-tile:active { transform: scale(.97); }

/* =========================================================
   PAGE KIT — shared building blocks for inner pages
   Use these before writing inline styles in a template.
   ========================================================= */

/* Width wrappers (pair with .gf-container for gutters) */
.gf-narrow { max-width: 760px; margin-inline: auto; }
.gf-medium { max-width: 1040px; margin-inline: auto; }

/* Page header: eyebrow, headline, intro */
.gf-page-head {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.gf-page-head.center { text-align: center; }
.gf-page-head.center .gf-t-sub { margin-inline: auto; }
.gf-testi-share { display: grid; justify-items: center; gap: 10px; margin-top: 24px; }
.gf-testi-share .gf-t-caption { color: var(--muted); margin: 0; }
.gf-page-head h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -.026em;
  font-weight: 700;
  margin-top: 8px;
}
.gf-page-head .gf-t-sub { margin-top: 14px; max-width: 40ch; }
.gf-page-head .gf-t-caption { display: block; margin-top: 14px; }

/* Body spacing below a page head */
.gf-page-body { padding-bottom: clamp(64px, 9vw, 120px); }

/* Panel: rounded surface tile */
.gf-panel {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
}
.gf-panel-plain {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.gf-panel h2,
.gf-panel-plain h2 { font-size: clamp(21px, 2vw, 28px); letter-spacing: -.02em; margin-bottom: 12px; }
.gf-panel h3,
.gf-panel-plain h3 { font-size: 19px; letter-spacing: -.016em; margin-bottom: 8px; }

/* Split: sidebar + main (stacks under 900px) */
.gf-split {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.gf-split-r { grid-template-columns: 1fr minmax(300px, 400px); }
.gf-sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 900px) {
  .gf-split, .gf-split-r { grid-template-columns: 1fr; }
  .gf-sticky { position: static; }
}

/* Grouped list — iOS settings style rows inside a rounded panel */
.gf-rows {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
.gf-row + .gf-row::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 20px 0;
  height: 1px;
  background: var(--line);
  opacity: .7;
}
a.gf-row { transition: background-color 100ms ease; }
@media (hover: hover) and (pointer: fine) {
  a.gf-row:hover { background: color-mix(in srgb, var(--text) 4%, transparent); }
}
a.gf-row:active { background: color-mix(in srgb, var(--text) 8%, transparent); }
.gf-row-muted { color: var(--muted); font-size: 14px; }

/* Forms */
.gf-form { display: grid; gap: 16px; }
.gf-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .gf-form-2 { grid-template-columns: 1fr; } }
.gf-field { display: flex; flex-direction: column; gap: 6px; }
.gf-field textarea.gf-input { min-height: 140px; resize: vertical; line-height: 1.47; }
.gf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.gf-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-strong);
}
.gf-form-note { font-size: 13px; color: var(--muted); }
.gf-msg-ok,
.gf-msg-err {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 15px;
}
.gf-msg-ok { background: color-mix(in srgb, var(--success) 10%, var(--bg)); color: var(--success); }
.gf-msg-err { background: color-mix(in srgb, var(--danger) 8%, var(--bg)); color: var(--danger); }

/* Auth card — centred single form */
.gf-auth {
  max-width: 440px;
  margin: 0 auto;
  padding-block: clamp(48px, 8vw, 104px);
}
.gf-auth h1 {
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: -.024em;
  text-align: center;
}
.gf-auth .gf-t-sub { text-align: center; font-size: 17px; margin: 10px auto 32px; }
.gf-auth .gf-btn { width: 100%; }
.gf-auth-alt { text-align: center; margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Status/empty state */
.gf-empty {
  text-align: center;
  padding-block: clamp(64px, 10vw, 128px);
}
.gf-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.gf-empty-icon svg { width: 28px; height: 28px; }
.gf-empty h1, .gf-empty h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.024em; }
.gf-empty p { color: var(--muted); margin: 12px auto 28px; max-width: 40ch; }

/* Stat tiles */
.gf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gf-stat { background: var(--surface); border-radius: var(--r-xl); padding: 32px 24px; text-align: center; }
.gf-stat small { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 767px) { .gf-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Pill filter bar (horizontal scroll on phones) */
.gf-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gf-chips::-webkit-scrollbar { display: none; }
.gf-chip {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.gf-chip.active,
.gf-chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .gf-chip:not(.active):hover { background: var(--surface2); }
}

/* Article/blog card */
.gf-post {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text);
}
.gf-post .gf-ph,
.gf-post img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gf-post:hover .gf-ph,
  .gf-post:hover img { transform: scale(1.02); }
}
.gf-post h2, .gf-post h3 { font-size: 21px; letter-spacing: -.018em; line-height: 1.2; }
.gf-post p { font-size: 15px; color: var(--muted); }

/* Timeline (order tracking / status) */
.gf-timeline { list-style: none; display: flex; flex-direction: column; }
.gf-timeline li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  padding-bottom: 20px;
  position: relative;
}
.gf-timeline li::before {
  content: '';
  width: 12px;
  height: 12px;
  margin: 5px 4px 0;
  border-radius: 999px;
  background: var(--accent-strong);
}
.gf-timeline li::after {
  content: '';
  position: absolute;
  inset-inline-start: 9.5px;
  top: 22px;
  bottom: 2px;
  width: 1.5px;
  background: var(--line);
}
.gf-timeline li:last-child::after { display: none; }
.gf-timeline li.pending::before { background: var(--surface2); }
.gf-timeline li.pending { color: var(--muted); }
.gf-timeline small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* =========================================================
   SCROLL REVEAL
   Content is visible by default; only hidden once JS confirms
   it can reveal it. Plays once, staggered 60ms per item.
   ========================================================= */
.gf-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.gf-js [data-reveal].gf-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.gf-footer {
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.33;
  padding-block: 40px 24px;
}
.gf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.gf-footer-brand .gf-logo { color: var(--text); font-size: 19px; }
.gf-footer-brand p { margin: 12px 0 16px; max-width: 30ch; font-size: 12px; }
.gf-footer-social { display: flex; gap: 4px; flex-wrap: wrap; margin-inline-start: -8px; }
.gf-footer-social .gf-ico-btn { width: 32px; height: 32px; color: var(--muted); }
.gf-footer-social .gf-ico-btn svg { width: 16px; height: 16px; }
.gf-footer h3 {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.004em;
  color: var(--text);
  margin-bottom: 10px;
}
.gf-footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.gf-footer ul a { color: var(--muted); transition: color var(--dur-fast) ease; }
@media (hover: hover) and (pointer: fine) {
  .gf-footer ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .18em; }
}
.gf-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  flex-wrap: wrap;
}
.gf-footer-bar a { color: var(--text); }
.gf-footer-bar a:hover { text-decoration: underline; text-underline-offset: .18em; }

/* Mobile footer: columns collapse into disclosure rows */
.gf-footer details summary { list-style: none; cursor: default; }
.gf-footer details summary::-webkit-details-marker { display: none; }
@media (min-width: 768px) {
  .gf-footer details > summary { pointer-events: none; }
}
@media (max-width: 767px) {
  .gf-footer-grid { grid-template-columns: 1fr; gap: 0; }
  .gf-footer-brand { padding-bottom: 20px; }
  .gf-footer details { border-top: 1px solid var(--line); }
  .gf-footer details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
  }
  .gf-footer details summary h3 { margin: 0; font-size: 14px; }
  .gf-footer details summary::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--dur-base) var(--ease-in-out);
  }
  .gf-footer details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .gf-footer details ul { padding-bottom: 16px; font-size: 14px; gap: 12px; }
}

/* =========================================================
   CHAT — FAB and panel share one origin (bottom corner)
   ========================================================= */
.gf-chat-dock {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  inset-inline-end: 20px;
  z-index: 280;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.gf-chat-dock > * { pointer-events: auto; }
.gf-chat-dock { transition: opacity var(--dur-fast) ease; }
.gf-drawer-open .gf-chat-dock { opacity: 0; visibility: hidden; }

#gf-chat-fab {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-base) ease;
}
#gf-chat-fab svg { width: 22px; height: 22px; }
#gf-chat-fab > span { transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) ease; }
#gf-chat-fab .gf-fab-x {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg) scale(.6);
}
.gf-chat-open #gf-chat-fab .gf-fab-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.gf-chat-open #gf-chat-fab .gf-fab-x { opacity: 1; transform: none; }
#gf-chat-fab:active { transform: scale(.92); }

#gf-chat-panel {
  width: 360px;
  max-width: calc(100vw - 40px);
  height: min(540px, calc(100dvh - 120px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--glass-thick);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  box-shadow: var(--shadow-lg), inset 0 0 0 .5px var(--glass-edge);
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(12px) scale(.94);
  visibility: hidden;
  transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
[dir="rtl"] #gf-chat-panel { transform-origin: bottom left; }
#gf-chat-panel.open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 200ms ease, transform 320ms var(--ease-out), visibility 0s;
}
.gf-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.gf-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.gf-chat-head strong { display: block; font-size: 15px; font-weight: 600; }
.gf-chat-status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.gf-chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--accent-strong); }
#gf-chat-messages {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gf-msg {
  max-width: 80%;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.35;
  animation: gfMsgIn 280ms var(--ease-out) both;
}
.gf-msg-bot {
  align-self: flex-start;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  border-end-start-radius: 6px;
  transform-origin: bottom left;
}
.gf-msg-user {
  align-self: flex-end;
  background: var(--accent-strong);
  color: var(--on-accent);
  border-end-end-radius: 6px;
  transform-origin: bottom right;
}
.gf-msg a { text-decoration: underline; }
.gf-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.gf-typing i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--muted);
  animation: gfblink 1.2s ease-in-out infinite;
}
.gf-typing i:nth-child(2) { animation-delay: .15s; }
.gf-typing i:nth-child(3) { animation-delay: .3s; }
.gf-chat-foot { padding: 10px 12px 12px; }
#gf-chat-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
#gf-chat-options button {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: color-mix(in srgb, var(--accent-strong) 12%, transparent);
  color: var(--accent);
  transition: background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.gf-chat-input:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent-strong); }
.gf-chat-input {
  display: flex;
  gap: 6px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur-fast) ease;
}
[dir="rtl"] .gf-chat-input { padding: 4px 16px 4px 4px; }
#gf-chat-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  color: var(--text);
  font-size: 16px;
}
#gf-chat-input:focus { box-shadow: none; }
.gf-chat-send {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: var(--accent-strong);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gf-chat-send svg { width: 14px; height: 14px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gf-about-stats { grid-template-columns: repeat(2, 1fr); }
  .gf-gallery-thumbs { flex-direction: row; width: auto; }
  .gf-gallery-thumb { width: 60px; height: 75px; }
  .gf-bento { grid-template-columns: repeat(2, 1fr); }
  .gf-bento-tile:first-child { min-height: 480px; }
  .gf-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .gf-about-hero { flex-direction: column; padding: 48px 20px; min-height: auto; }
  .gf-about-stats { grid-template-columns: repeat(2, 1fr); }
  .gf-cs-num { font-size: 36px; }
  .gf-cs-countdown { gap: 16px; }
  .gf-rate-table { font-size: 13px; }
  .gf-rate-table th,
  .gf-rate-table td { padding: 10px 8px; }
  .gf-tabs { overflow-x: auto; }
  .gf-tab { white-space: nowrap; }
  .gf-account-nav { flex-direction: row; flex-wrap: wrap; }
  .gf-account-nav a { padding: 8px 12px; font-size: 14px; }
  .gf-sec-head { flex-direction: column; align-items: flex-start; }
  .gf-bento { grid-template-columns: 1fr; gap: 12px; }
  .gf-bento-tile,
  .gf-bento-tile:first-child { grid-column: auto; grid-row: auto; min-height: 380px; }
  .gf-shelf { gap: 12px; }
  .gf-shelf-card { width: 78vw; }
  .gf-shelf-nav { display: none; }
  .gf-footer-grid { grid-template-columns: 1fr; }
  .gf-hero-ctas { gap: 18px; }
  .gf-hero-media .gf-ph { aspect-ratio: 4 / 5; }
  .gf-chat-dock { inset-inline-end: 16px; }
}

/* =========================================================
   REDUCED MOTION — keep fades, drop travel and scale
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .gf-js [data-reveal] { transform: none; transition: opacity 300ms ease; transition-delay: 0s; }
  .gf-sheet { transition: opacity 200ms ease, visibility 0s linear 200ms; transform: none !important; opacity: 0; }
  .gf-sheet.open { opacity: 1; transition: opacity 200ms ease, visibility 0s; }
  .gf-sheet-nav a { transform: none !important; transition: opacity 200ms ease !important; }
  #gf-mini-cart { transition: opacity 200ms ease; }
  .gf-popover, .gf-popover.open,
  #gf-chat-panel, #gf-chat-panel.open { transform: none !important; }
  .gf-toast { transform: translate(-50%, 0); }
  .gf-search-panel { transform: none !important; }
  .gf-testimonial-slide { transform: none; filter: none; }
  .gf-testi-dot.active::after { animation: none; transform: scaleX(1); }
  .gf-msg { animation: gfFade 200ms ease both; }
  .gf-cs-ring { animation: none !important; }
  .gf-card-media > .gf-ph, .gf-card-media > img,
  .gf-cat-tile .gf-ph, .gf-shelf-card, .gf-bento-tile, .gf-social-tile, .gf-help-card { transform: none !important; }
  .gf-typing i { animation-duration: 2.4s; }
}

/* =========================================================
   LEGAL & INFO PAGES — privacy, terms, cookies, returns, shipping, FAQ
   ========================================================= */
/* =========================================================
   PAGES — legal & policy (privacy, terms, cookies, returns,
   shipping rates, FAQ). Builds on the PAGE KIT in theme.css.
   All classes prefixed .gf-lg- to avoid collisions.
   ========================================================= */

/* Section rhythm inside .gf-page-body */
.gf-page-body .gf-lg-block { margin-top: clamp(56px, 7vw, 96px); }
.gf-page-body .gf-lg-block:first-child { margin-top: 0; }
/* Note: avoid bare <section> here — style.css forces padding-inline on section:not(.gf-sec) */
.gf-lg-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.gf-lg-head .gf-t-title + p { margin-top: 8px; color: var(--muted); font-size: 17px; }

/* Inline accent link inside running text */
.gf-lg-link { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .gf-lg-link:hover { text-decoration: underline; text-underline-offset: .18em; }
}

/* ── Legal documents: sticky contents + prose ────────────── */
.gf-lg-toc { font-size: 14px; }
.gf-lg-toc .gf-t-eyebrow { margin-bottom: 12px; }
.gf-lg-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.gf-lg-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  line-height: 1.35;
  transition: color var(--dur-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .gf-lg-toc a:hover { color: var(--text); }
}
.gf-lg-toc a:active { color: var(--text); }
@media (max-width: 900px) {
  .gf-lg-toc { display: none; }
}

.gf-lg-prose { max-width: 680px; }
.gf-lg-prose h2 { font-size: clamp(22px, 2.2vw, 28px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.gf-lg-prose > h2:first-child { margin-top: 0; }
.gf-lg-prose li::marker { color: var(--muted); }

/* ── Grouped rows: text + control (cookies) ──────────────── */
.gf-lg-row { padding-block: 20px; align-items: center; }
.gf-lg-row-text { flex: 1; min-width: 0; }
.gf-lg-row-text strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.016em; margin-bottom: 4px; }
.gf-lg-row-text p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.gf-toggle input:disabled + .gf-toggle-slider { opacity: .5; cursor: default; }

.gf-lg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }

/* ── Definition rows (returns policy) ────────────────────── */
.gf-lg-def {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 4px 20px;
  align-items: start;
}
.gf-lg-def dt { font-weight: 600; }
.gf-lg-def dd { color: var(--muted); line-height: 1.5; margin: 0; }
@media (max-width: 600px) {
  .gf-lg-def { grid-template-columns: 1fr; }
}

/* ── Steps (returns) ─────────────────────────────────────── */
.gf-lg-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gf-lg-steps .gf-panel { height: 100%; }
.gf-lg-step-num {
  display: block;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--muted);
  opacity: .5;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.gf-lg-steps h3 { font-size: 19px; }
.gf-lg-steps p { font-size: 15px; line-height: 1.47; color: var(--muted); }
@media (max-width: 1024px) { .gf-lg-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .gf-lg-steps { grid-template-columns: 1fr; gap: 12px; } }

.gf-lg-form-btn { justify-self: start; }

/* ── Shipping: region rate cards ─────────────────────────── */
.gf-lg-regions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.gf-lg-region { padding: clamp(24px, 2.6vw, 32px); }
.gf-lg-region h2 { margin-bottom: 2px; }
.gf-lg-region .gf-t-caption { display: block; font-size: 14px; margin-bottom: 16px; }
.gf-lg-region .gf-rate-table th,
.gf-lg-region .gf-rate-table td { padding-inline: 0; }
.gf-lg-region .gf-rate-table th:last-child,
.gf-lg-region .gf-rate-table td:last-child { text-align: end; }
.gf-lg-region .gf-rate-table td:last-child { font-weight: 600; }
.gf-lg-region .gf-rate-table tbody tr:last-child td { border-bottom: none; }

/* Calculator */
.gf-lg-calc {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(160px, auto);
  gap: 16px;
  align-items: end;
}
.gf-lg-calc-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 52px;
  justify-content: flex-end;
}
.gf-lg-calc-result #gf-ship-result {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.gf-lg-note { margin-top: 16px; }
@media (max-width: 700px) {
  .gf-lg-calc { grid-template-columns: 1fr; }
}

/* Numbered notes inside .gf-rows */
.gf-lg-notes { list-style: none; }
.gf-lg-notes .gf-row { justify-content: flex-start; align-items: baseline; gap: 14px; }
.gf-lg-num { color: var(--muted); font-variant-numeric: tabular-nums; flex-shrink: 0; min-width: 1.4em; }

/* ── FAQ ─────────────────────────────────────────────────── */
.gf-lg-chips { margin-bottom: clamp(40px, 5vw, 56px); }
.gf-lg-cat { margin-bottom: clamp(40px, 5vw, 64px); }
.gf-lg-cat[hidden] { display: none; }
.gf-lg-cat h2 { font-size: clamp(21px, 2vw, 24px); letter-spacing: -.016em; margin-bottom: 4px; }
.gf-lg-cat .gf-accordion-trigger { font-size: 17px; padding-block: 20px; }
.gf-lg-cat .gf-accordion-body { font-size: 15px; }
.gf-lg-cat-in { animation: gfLgIn 240ms var(--ease-out) both; }
@keyframes gfLgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.gf-lg-cta { text-align: center; margin-top: clamp(16px, 3vw, 32px); }
.gf-lg-cta p { color: var(--muted); margin-bottom: 24px; }
.gf-lg-cta .gf-lg-actions { justify-content: center; margin-top: 0; }

/* ── Reduced motion: keep fades, drop travel ─────────────── */
@media (prefers-reduced-motion: reduce) {
  .gf-lg-cat-in { animation: gfFade 200ms ease both; }
}

/* =========================================================
   ACCOUNT & CHECKOUT — account, login, register, checkout, order success, tracking
   ========================================================= */
/* =========================================================
   PAGES — Account, Login, Register, Checkout,
   Order success, Track order
   Builds on the PAGE KIT in theme.css. Tokens only.
   ========================================================= */

/* ── Shared: WooCommerce markup inside our pages (.gf-wc) ── */
.gf-wc form,
.gf-wc .woocommerce-form { display: grid; gap: 16px; }
.gf-wc .form-row,
.gf-wc .woocommerce-form-row,
#gf-loginform p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  float: none;
  width: 100%;
}
.gf-wc label,
#gf-loginform label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--muted);
}
.gf-wc .required { color: var(--muted); text-decoration: none; border: 0; }

.gf-wc input[type="text"],
.gf-wc input[type="email"],
.gf-wc input[type="tel"],
.gf-wc input[type="password"],
.gf-wc input[type="number"],
.gf-wc input.input-text,
.gf-wc select,
.gf-wc textarea,
#gf-loginform input.input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  font-family: inherit;
}
.gf-wc textarea { min-height: 120px; line-height: 1.47; resize: vertical; }

/* select2 (WooCommerce country/state pickers) */
.gf-wc .select2-container .select2-selection--single {
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
}
.gf-wc .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 50px;
  padding-inline: 16px 36px;
  color: var(--text);
  font-size: 17px;
}
.gf-wc .select2-container .select2-selection--single .select2-selection__arrow { height: 50px; inset-inline-end: 8px; }

/* Checkboxes (remember me, terms, ship to different address) */
.gf-wc input[type="checkbox"],
.gf-wc input[type="radio"],
#gf-loginform input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: var(--accent-strong);
  vertical-align: middle;
  margin-inline-end: 8px;
}
.gf-wc .woocommerce-form__label-for-checkbox,
#gf-loginform .login-remember label {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
}

/* Buttons — WC submit buttons become the pill primary action */
.gf-wc .button,
.gf-wc button[type="submit"],
.gf-wc .woocommerce-Button,
#gf-loginform input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--accent-strong);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.022em;
  text-transform: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.gf-wc .button:active,
.gf-wc button[type="submit"]:active,
#gf-loginform input[type="submit"]:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .gf-wc .button:hover,
  .gf-wc button[type="submit"]:hover,
  .gf-wc .woocommerce-Button:hover,
  #gf-loginform input[type="submit"]:hover { background: color-mix(in srgb, var(--accent-strong) 82%, var(--bg)); }
}
.gf-auth .gf-wc .button,
.gf-auth .gf-wc button[type="submit"],
.gf-auth #gf-loginform input[type="submit"],
.gf-co .gf-wc #place_order { width: 100%; }

.gf-wc .lost_password { text-align: center; font-size: 15px; }
.gf-wc .lost_password a,
.gf-wc a:not(.button) { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .gf-wc .lost_password a:hover,
  .gf-wc a:not(.button):hover { text-decoration: underline; text-underline-offset: .18em; }
}
.gf-wc .woocommerce-privacy-policy-text,
.gf-wc .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* WC two-column sets stack inside our columns */
.gf-wc .col2-set,
.gf-wc .u-columns { display: grid; gap: 32px; }
.gf-wc .col2-set .col-1,
.gf-wc .col2-set .col-2,
.gf-wc .u-column1,
.gf-wc .u-column2 { float: none; width: 100%; max-width: none; }
.gf-wc h2,
.gf-wc h3 { font-size: 21px; font-weight: 600; letter-spacing: -.018em; margin-bottom: 16px; }

/* ── Auth (login / register / logged-out account) ────────── */
.gf-auth h1 + .gf-wc,
.gf-auth h1 + .woocommerce-notices-wrapper { margin-top: 32px; }
.gf-auth-note { text-align: center; color: var(--muted); font-size: 15px; }
.gf-wc-auth-end:empty { display: none; }

/* ── Account ─────────────────────────────────────────────── */
.gf-acc .gf-page-head { padding-bottom: clamp(24px, 3vw, 40px); }
.gf-acc-side { display: grid; gap: 20px; }
.gf-acc-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r-lg);
}
.gf-acc-avatar,
.gf-acc-user img { width: 56px; height: 56px; border-radius: 999px; flex-shrink: 0; }
.gf-acc-user-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gf-acc-user-meta strong { font-size: 17px; font-weight: 600; letter-spacing: -.016em; }
.gf-acc-user-meta span {
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gf-acc-ico { display: inline-flex; width: 20px; height: 20px; color: var(--muted); }
.gf-acc-ico svg { width: 20px; height: 20px; }
.gf-account-nav a.active .gf-acc-ico { color: var(--text); }
.gf-account-nav .gf-acc-logout { margin-top: 8px; color: var(--muted); }

.gf-acc-title { margin-bottom: 24px; }
.gf-acc-main { min-width: 0; }

/* Orders as an iOS-style grouped list */
.gf-acc-order {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  font-variant-numeric: tabular-nums;
}
.gf-acc-order-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-acc-order-id strong { font-weight: 600; }
.gf-acc-order-total { font-weight: 500; }
.gf-acc-status { background: var(--bg); color: var(--text); }
@media (max-width: 600px) {
  .gf-acc-order { grid-template-columns: 1fr auto; row-gap: 8px; }
  .gf-acc-status { justify-self: start; }
  .gf-acc-view { justify-self: end; }
}

.gf-acc-empty { text-align: center; }
.gf-acc-empty p { color: var(--muted); font-size: 17px; margin: 0 auto 24px; max-width: 40ch; }

.gf-acc-form { max-width: 640px; gap: 20px; }
.gf-acc-form .gf-panel h3 { margin-bottom: 0; }

/* ── Checkout ────────────────────────────────────────────── */
.gf-co-head { padding-bottom: 24px; }
.gf-checkout-steps { list-style: none; max-width: 560px; }
.gf-co-main { min-width: 0; }
.gf-co .gf-order-box-head { margin: 0; }

.gf-co-items { list-style: none; display: grid; gap: 16px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.gf-co-item { display: flex; gap: 14px; align-items: center; }
.gf-co-thumb {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--bg);
}
.gf-co-item-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gf-co-item-meta strong { font-size: 15px; font-weight: 500; }
.gf-co-item-meta span { font-size: 13px; color: var(--muted); }
.gf-co-item-price { font-size: 15px; font-variant-numeric: tabular-nums; }

.gf-co-estimate { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.gf-co-estimate .gf-label { font-size: 14px; }
.gf-co-estimate-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.gf-co-estimate-row #gf-ship-result { color: var(--text); font-variant-numeric: tabular-nums; }

/* WooCommerce checkout internals */
.gf-co .gf-wc .woocommerce-billing-fields,
.gf-co .gf-wc .woocommerce-shipping-fields,
.gf-co .gf-wc .woocommerce-additional-fields {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  margin-bottom: 16px;
}
.gf-co .gf-wc .woocommerce-billing-fields__field-wrapper,
.gf-co .gf-wc .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gf-co .gf-wc .form-row-wide,
.gf-co .gf-wc .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .gf-co .gf-wc .woocommerce-billing-fields__field-wrapper,
  .gf-co .gf-wc .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}
.gf-co .gf-wc #order_review_heading { margin-top: 32px; }
.gf-co .gf-wc .shop_table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.gf-co .gf-wc .shop_table th,
.gf-co .gf-wc .shop_table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: start; }
.gf-co .gf-wc .shop_table .order-total { font-size: 19px; font-weight: 600; }
.gf-co .gf-wc #payment {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 32px);
  margin-top: 24px;
}
.gf-co .gf-wc #payment ul.payment_methods { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0 0 20px; border: 0; }
.gf-co .gf-wc #payment .payment_box {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.gf-co .gf-wc #payment .payment_box::before { display: none; }

@media (max-width: 600px) {
  .gf-checkout-steps .gf-step-label { font-size: 13px; }
  .gf-checkout-steps .gf-step-line { display: none; }
}

/* ── Order success ───────────────────────────────────────── */
.gf-os .gf-t-eyebrow { margin: 0 0 8px; color: var(--success); }
.gf-os-icon {
  background: color-mix(in srgb, var(--success) 12%, var(--bg));
  color: var(--success);
  animation: gfOsPop 300ms var(--ease-out) both;
}
.gf-os-box { text-align: start; margin: 8px auto 32px; max-width: 520px; }
.gf-os-box .gf-order-box-head { margin: 0; }
.gf-os-box .gf-order-row > span:last-child { color: var(--text); }
.gf-os-ctas {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
@keyframes gfOsPop {
  from { opacity: 0; transform: scale(.8); }
  to   { opacity: 1; transform: none; }
}

/* ── Track order ─────────────────────────────────────────── */
.gf-tr-out { margin-top: 24px; display: grid; gap: 16px; }
.gf-tr-spinner { padding: 40px 0; text-align: center; }
.gf-tr-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gf-tr-result { animation: gfTrIn 240ms var(--ease-out) both; }
.gf-tr-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.gf-tr-result-head h2 { margin: 0; }
.gf-tr-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent-strong) 12%, var(--bg));
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.gf-tr-result .gf-timeline li { font-size: 17px; }
.gf-tr-result .gf-timeline li > div { min-width: 0; }
.gf-tr-result .gf-timeline small { font-size: 14px; }
@keyframes gfTrIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.gf-tr-help { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 12px; }
.gf-tr-help h2 { padding-inline: 4px; }
.gf-tr-link { color: var(--text); }
.gf-tr-link::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--muted);
  border-inline-end: 1.5px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}
[dir="rtl"] .gf-tr-link::after { transform: rotate(-45deg); }

/* ── Reduced motion: keep fades, drop travel and scale ───── */
@media (prefers-reduced-motion: reduce) {
  .gf-os-icon { animation: gfFade 200ms ease both; }
  .gf-tr-result { animation: gfFade 200ms ease both; }
  .gf-wc .button:active,
  .gf-wc button[type="submit"]:active,
  #gf-loginform input[type="submit"]:active { transform: none; }
}

/* =========================================================
   CONTENT PAGES — about, journal, contact, help, testimonials, posts, 404
   ========================================================= */
/* =========================================================
   PAGES — CONTENT
   About, Journal (blog/index/archive/search/single), Contact,
   Help, Testimonials, 404, default page.
   Builds on the PAGE KIT in theme.css. Tokens only.
   ========================================================= */

/* ── Shared: page head tweaks ────────────────────────────── */
.gf-page-head .gf-t-eyebrow + h1 { margin-top: 8px; }
.gf-page-head.center h1 { margin-inline: auto; max-width: 18ch; }

/* ── Shared: pill search field (help, search, 404) ───────── */
.gf-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
  transition: box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
[dir="rtl"] .gf-searchbar { padding: 6px 20px 6px 6px; }
.gf-searchbar > svg,
.gf-searchbar > .gf-searchbar-ico svg { width: 20px; height: 20px; flex: 0 0 auto; }
.gf-searchbar-ico { display: inline-flex; flex: 0 0 auto; }
.gf-searchbar input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: none;
  background: none;
  color: var(--text);
  font-size: 17px;
  padding: 0 4px;
}
.gf-searchbar input:focus { box-shadow: none; }
.gf-searchbar input::placeholder { color: var(--muted); }
.gf-searchbar input::-webkit-search-cancel-button { cursor: pointer; }
.gf-searchbar:focus-within {
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--accent-strong), 0 0 0 5px color-mix(in srgb, var(--accent-strong) 20%, transparent);
}
.gf-searchbar .gf-btn { flex: 0 0 auto; min-height: 48px; }
.gf-searchbar-lg { min-height: 68px; }
.gf-searchbar-lg input { font-size: 19px; }

/* ── Shared: post grid (blog, index, archive, search) ────── */
.gf-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 56px) clamp(20px, 2.4vw, 32px);
}
@media (max-width: 1024px) { .gf-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .gf-post-grid { grid-template-columns: 1fr; gap: 40px; } }

.gf-post-media {
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  isolation: isolate;
}
.gf-post .gf-post-media .gf-ph,
.gf-post .gf-post-media img { border-radius: 0; }
.gf-post-body { display: flex; flex-direction: column; gap: 8px; }
.gf-post-cat {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.008em;
  color: var(--muted);
  align-self: flex-start;
}
@media (hover: hover) and (pointer: fine) {
  a.gf-post-cat:hover { color: var(--text); }
}
.gf-post h2 a,
.gf-post h3 a { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .gf-post h2 a:hover,
  .gf-post h3 a:hover { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; }
}
.gf-post-excerpt { font-size: 15px; color: var(--muted); }
.gf-post-excerpt p { margin: 0; }
.gf-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-size: 14px;
}
.gf-post-meta .gf-t-caption { font-size: 14px; }

/* Featured post — wide tile on the journal page */
.gf-post.gf-post-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(56px, 7vw, 96px);
}
.gf-post.gf-post-feature .gf-ph,
.gf-post.gf-post-feature img { aspect-ratio: 4 / 3; }
.gf-post.gf-post-feature h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.022em;
}
.gf-post.gf-post-feature .gf-post-excerpt { font-size: 17px; }
@media (max-width: 900px) {
  .gf-post.gf-post-feature { grid-template-columns: 1fr; }
  .gf-post.gf-post-feature .gf-ph,
  .gf-post.gf-post-feature img { aspect-ratio: 16 / 10; }
}

.gf-results-count { margin-bottom: 24px; }

/* ── About — story page ──────────────────────────────────── */
.gf-story-hero { text-align: center; padding-bottom: 0; }
.gf-story-hero h1 { margin: 10px auto 0; max-width: 12ch; }
.gf-story-hero .gf-t-sub { margin: 20px auto 0; max-width: 34ch; }
.gf-story-media {
  margin-top: clamp(40px, 6vw, 80px);
}
.gf-story-media .gf-ph {
  aspect-ratio: 16 / 7;
  border-radius: var(--r-xl);
}
@media (max-width: 767px) { .gf-story-media .gf-ph { aspect-ratio: 4 / 3; } }

.gf-stats .gf-stat-number { font-size: clamp(36px, 4.4vw, 56px); }

.gf-story-intro { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }
.gf-story-intro .gf-t-sub { margin: 14px auto 0; max-width: 36ch; }

.gf-story-rows { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 112px); }
.gf-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 96px);
}
.gf-story-row .gf-ph { aspect-ratio: 5 / 4; border-radius: var(--r-xl); }
.gf-story-row.rev .gf-story-row-media { order: 2; }
.gf-story-row-text { max-width: 30rem; }
.gf-story-row-text .gf-t-eyebrow { margin-bottom: 8px; }
.gf-story-row-text p:not(.gf-t-eyebrow) { margin-top: 16px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.42; color: var(--muted); }
@media (max-width: 767px) {
  .gf-story-row { grid-template-columns: 1fr; }
  .gf-story-row.rev .gf-story-row-media { order: 0; }
}

.gf-cta { text-align: center; }
.gf-cta .gf-t-sub { margin: 14px auto 0; max-width: 36ch; }
.gf-cta-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Contact ─────────────────────────────────────────────── */
.gf-contact-aside { display: flex; flex-direction: column; gap: 16px; }
.gf-contact-aside .gf-row { align-items: flex-start; }
.gf-row-label { color: var(--muted); flex: 0 0 auto; }
.gf-row-value { text-align: end; min-width: 0; overflow-wrap: anywhere; }
.gf-row-value a { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .gf-row-value a:hover { text-decoration: underline; text-underline-offset: .18em; }
}
.gf-row-value small { display: block; font-size: 13px; color: var(--muted); }
.gf-socials { display: flex; gap: 4px; margin-inline-end: -8px; }
.gf-socials .gf-ico-btn { width: 32px; height: 32px; color: var(--text); }
.gf-socials .gf-ico-btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .gf-socials .gf-ico-btn:hover { background: color-mix(in srgb, var(--text) 6%, transparent); opacity: 1; }
}
.gf-contact-aside .gf-panel p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.gf-form .gf-btn { justify-self: start; }
.gf-msg-ok svg,
.gf-msg-err svg { width: 18px; height: 18px; vertical-align: -3px; margin-inline-end: 6px; }

/* ── Help center ─────────────────────────────────────────── */
.gf-sec.gf-flush-top { padding-top: 0; }
.gf-help-hero { text-align: center; }
.gf-help-hero h1 { margin: 8px auto 0; }
.gf-help-search {
  position: relative;
  max-width: 640px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  text-align: start;
}
.gf-help-results {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline: 0;
  z-index: 200;
  background: var(--glass-thick);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 .5px var(--glass-edge);
  overflow: hidden;
  transform-origin: top center;
  animation: gfPcDrop 200ms var(--ease-out) both;
}
@keyframes gfPcDrop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.gf-help-results-inner { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; padding-block: 6px; }
.gf-help-result {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  transition: background-color 100ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .gf-help-result:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
}
.gf-help-result:focus-visible { outline-offset: -2px; background: color-mix(in srgb, var(--text) 5%, transparent); }
.gf-help-result strong { display: block; font-size: 15px; font-weight: 500; }
.gf-help-result small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.gf-help-result span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gf-help-results-note { padding: 16px 20px; font-size: 15px; color: var(--muted); }
.gf-help-results-foot { padding: 10px 20px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

.gf-help-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
@media (max-width: 900px) { .gf-help-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gf-help-tiles { grid-template-columns: 1fr; } }
.gf-help-card { min-height: 200px; }
.gf-help-card h3 { font-size: 21px; letter-spacing: -.018em; line-height: 1.2; }
.gf-help-card p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.gf-help-card .gf-more { margin-top: auto; font-size: 15px; }
.gf-help-card-icon svg { width: 22px; height: 22px; }

.gf-help-popular .gf-row { width: 100%; border: none; background: none; text-align: start; font-family: inherit; cursor: pointer; }
.gf-help-popular-item::after {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--muted);
  border-inline-end: 1.5px solid var(--muted);
  transform: rotate(45deg);
}
[dir="rtl"] .gf-help-popular-item::after { transform: rotate(-45deg); }
.gf-help-popular-item { transition: background-color 100ms ease; }
@media (hover: hover) and (pointer: fine) {
  .gf-help-popular-item:hover { background: color-mix(in srgb, var(--text) 4%, transparent); }
}
/* Full-width rows tint on press instead of shrinking */
.gf-help-popular-item:active:not(:disabled) { transform: none; background: color-mix(in srgb, var(--text) 8%, transparent); }

.gf-help-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
@media (max-width: 900px) { .gf-help-contact { grid-template-columns: 1fr; } }
.gf-help-contact .gf-panel { background: var(--bg); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.gf-help-contact .gf-help-card-icon { margin-bottom: 10px; background: var(--surface); }
.gf-help-contact p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.gf-help-contact .gf-btn,
.gf-help-contact .gf-more { margin-top: auto; }

/* ── Testimonials ────────────────────────────────────────── */
.gf-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}
.gf-rating-score { text-align: center; }
.gf-rating-score .gf-stat-number { font-size: clamp(56px, 7vw, 80px); }
.gf-rating-score .gf-stars { font-size: 19px; margin: 10px 0 4px; }
.gf-rating-bars { display: flex; flex-direction: column; gap: 10px; min-width: min(280px, 100%); flex: 0 1 320px; }
.gf-rating-bar {
  display: grid;
  grid-template-columns: 28px 1fr 40px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.gf-rating-bar > span:first-child { text-align: end; }
.gf-rating-bar > span:last-child { color: var(--muted); }
.gf-rating-track { height: 6px; border-radius: 999px; background: var(--surface2); overflow: hidden; }
.gf-rating-fill { height: 100%; border-radius: inherit; background: var(--text); }

.gf-testi-toolbar { margin: clamp(40px, 5vw, 64px) 0 24px; }

.gf-testi-grid { columns: 3 300px; column-gap: 20px; }
.gf-testi-grid .gf-testi-card {
  break-inside: avoid;
  margin-bottom: 20px;
  gap: 14px;
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out);
}
/* JS filter states: leave fades out, enter fades/settles in */
.gf-testi-card.gf-testi-out,
.gf-testi-card.gf-testi-enter { opacity: 0; transform: scale(.97); }
.gf-testi-card blockquote { font-size: 17px; line-height: 1.47; color: var(--text); }
.gf-testi-product { font-size: 13px; color: var(--muted); }
.gf-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.gf-testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}
.gf-testi-avatar-photo { overflow: hidden; background: var(--surface2); }
.gf-testi-avatar-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gf-testi-author strong { display: block; font-size: 15px; font-weight: 600; }
.gf-testi-author small { display: block; font-size: 13px; color: var(--muted); }

/* ── Single post ─────────────────────────────────────────── */
.gf-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  padding-top: clamp(24px, 4vw, 40px);
}
.gf-crumbs a { color: var(--muted); transition: color var(--dur-fast) ease; }
@media (hover: hover) and (pointer: fine) {
  .gf-crumbs a:hover { color: var(--text); }
}
.gf-crumbs [aria-current] {
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40ch;
}
.gf-crumbs .gf-crumb-sep { opacity: .6; }

.gf-article-head { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.gf-article-head h1 { margin-top: 14px; }
.gf-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.gf-article-meta img { width: 40px; height: 40px; border-radius: 999px; }
.gf-article-meta strong { display: block; color: var(--text); font-weight: 600; }
.gf-article-hero { margin-bottom: clamp(32px, 5vw, 56px); }
.gf-article-hero img { width: 100%; height: auto; border-radius: var(--r-xl); }
.gf-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
a.gf-chip { display: inline-flex; align-items: center; }

.gf-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
}
@media (max-width: 600px) { .gf-post-nav { grid-template-columns: 1fr; } }
.gf-post-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  transition: background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.gf-post-nav a.next { text-align: end; }
.gf-post-nav a span { font-size: 14px; color: var(--muted); }
.gf-post-nav a strong { font-size: 17px; font-weight: 600; letter-spacing: -.016em; line-height: 1.3; }
@media (hover: hover) and (pointer: fine) {
  .gf-post-nav a:hover { background: var(--surface2); }
}
.gf-post-nav a:active { transform: scale(.98); }

/* ── 404 ─────────────────────────────────────────────────── */
.gf-empty .gf-t-eyebrow { margin-bottom: 8px; }
.gf-empty-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.gf-empty .gf-searchbar { max-width: 480px; margin: 40px auto 0; text-align: start; }

/* ── Reduced motion — keep fades, drop travel and scale ──── */
@media (prefers-reduced-motion: reduce) {
  .gf-help-results { animation: gfFadeOnly 150ms ease both; }
  .gf-testi-card.gf-testi-out,
  .gf-testi-card.gf-testi-enter { transform: none; }
  .gf-testi-grid .gf-testi-card { transition: opacity 150ms ease; }
  .gf-post-nav a:active { transform: none; }
  .gf-post-media .gf-ph,
  .gf-post-media img { transform: none !important; }
}
@keyframes gfFadeOnly { from { opacity: 0; } }

/* Search results header form */
.gf-search-head-form { margin-top: 28px; text-align: start; }

/* =========================================================
   SHOP — archive, product, cart
   ========================================================= */
/* =========================================================
   PAGES — SHOP: archive-product, single-product, cart
   Builds on theme.css PAGE KIT + product card. Tokens only.
   ========================================================= */

/* ── Card media link (real product images inside .gf-card-media) ── */
.gf-card-media > .gf-card-link {
  position: absolute;
  inset: 0;
  display: block;
}
.gf-card-media > .gf-card-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gf-card:hover .gf-card-media > .gf-card-link img { transform: scale(1.03); }
}
.gf-card-row .gf-card-price-old { margin-inline-start: 4px; }

/* =========================================================
   SHOP ARCHIVE
   ========================================================= */
.gf-shop-head { padding-bottom: 24px; }
.gf-shop-chips { margin-top: 24px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.gf-shop-chips .gf-chip { text-decoration: none; }

.gf-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px 24px;
  flex-wrap: wrap;
}
.gf-shop-count .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--muted); }
.gf-shop-sort .gf-select {
  width: auto;
  min-height: 40px;
  padding: 8px 40px 8px 16px;
  font-size: 15px;
  border: none;
  border-radius: var(--r-pill);
  background-color: var(--surface);
}

/* Filters: panel on desktop, <details> sheet on phones */
.gf-filter-sheet { border-radius: var(--r-xl); }
.gf-filter-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.gf-filter-summary::-webkit-details-marker { display: none; }
.gf-filter-summary svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
  transition: transform var(--dur-base) var(--ease-out);
}
.gf-filter-sheet[open] .gf-filter-summary svg { transform: rotate(180deg); }
.gf-filter-sheet[open] .gf-filter-panel { margin-top: 12px; animation: gfShopSheetIn var(--dur-base) var(--ease-out) both; }
@keyframes gfShopSheetIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Desktop: always-open panel, no summary (where ::details-content is supported).
   Older desktop browsers fall back to the collapsible sheet. */
@supports selector(::details-content) {
  @media (min-width: 901px) {
    .gf-filter-summary { display: none; }
    .gf-filter-sheet::details-content { content-visibility: visible; display: block; }
    .gf-filter-sheet .gf-filter-panel { margin-top: 0; animation: none; }
  }
}
@media (min-width: 901px) {
  .gf-shop-filters { position: sticky; top: calc(var(--nav-h) + 24px); }
}

.gf-filter-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
}
.gf-filter-group { border: 0; min-width: 0; }
.gf-filter-label {
  display: block;
  padding: 0;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.016em;
  color: var(--text);
}
.gf-filter-check { padding-block: 6px; }
.gf-filter-check input { width: 18px; height: 18px; flex: none; }
.gf-filter-count {
  margin-inline-start: auto;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.gf-filter-panel .gf-range-wrap { margin: 20px 12px 8px; }
.gf-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.gf-filter-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-filter-sizes .gf-size-btn {
  min-width: 48px;
  padding: 9px 12px;
  font-size: 14px;
  background: var(--bg);
  border-color: transparent;
}
.gf-filter-panel .gf-swatch { padding: 0; }
.gf-filter-apply { width: 100%; }

.gf-shop-grid { gap: clamp(32px, 4vw, 48px) clamp(12px, 2vw, 24px); }
.gf-shop-pagination { margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.gf-shop-main .gf-empty { padding-block: clamp(48px, 8vw, 96px); }

@media (max-width: 900px) {
  .gf-shop-layout { gap: 24px; }
}

/* =========================================================
   SINGLE PRODUCT
   ========================================================= */
/* Breadcrumbs: shared .gf-crumbs styles live in the content pages section */

.gf-pdp-main.gf-split-r {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
@media (max-width: 900px) {
  .gf-pdp-main.gf-split-r { grid-template-columns: minmax(0, 1fr); }
}

/* Gallery */
.gf-pdp-gallery { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gf-pdp-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
}
.gf-pdp-stage #gf-gallery-main,
.gf-pdp-stage > .gf-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.gf-pdp-stage .gf-card-badge { top: 20px; inset-inline-start: 20px; }
.gf-pdp-gallery .gf-gallery-thumbs {
  flex-direction: row;
  width: auto;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
}
.gf-pdp-gallery .gf-gallery-thumbs::-webkit-scrollbar { display: none; }
.gf-pdp-gallery .gf-gallery-thumb {
  width: 64px;
  height: 80px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--surface);
}

/* Buy panel */
.gf-pdp-buy { display: flex; flex-direction: column; min-width: 0; }
.gf-pdp-cat { margin-bottom: 8px; color: var(--muted); }
.gf-pdp-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.024em;
  font-weight: 700;
}
.gf-pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.gf-pdp-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 16px;
  font-variant-numeric: tabular-nums;
}
.gf-pdp-price-now { font-size: 24px; font-weight: 600; letter-spacing: -.016em; }
.gf-pdp-price .gf-card-price-old { font-size: 17px; margin: 0; }
.gf-pdp-save { font-size: 14px; font-weight: 600; color: var(--muted); }
.gf-pdp-short {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.47;
  color: var(--muted);
}

.gf-pdp-opt { margin-top: 28px; }
.gf-pdp-opt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.gf-pdp-opt-label { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.gf-pdp-opt-label span { margin-inline-start: 6px; font-weight: 400; color: var(--muted); }
.gf-pdp-guide {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .gf-pdp-guide:hover { text-decoration: underline; text-underline-offset: .18em; }
}
.gf-pdp-buy .gf-swatch { padding: 0; width: 32px; height: 32px; }
.gf-pdp-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 10px;
}
.gf-pdp-sizes .gf-size-btn {
  min-height: 52px;
  border-radius: var(--r-md);
  font-weight: 500;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.gf-pdp-sizes .gf-size-btn:not(.unavailable):active { transform: scale(.96); }

.gf-pdp-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.gf-pdp-qty-row .gf-qty button,
.gf-pdp-qty-row .gf-qty input { height: 44px; }
.gf-pdp-qty-row .gf-qty button { width: 44px; }
.gf-pdp-qty-row .gf-wishlist-btn {
  position: static;
  width: 44px;
  height: 44px;
  background: var(--surface);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.gf-pdp-qty-row .gf-wishlist-btn svg { width: 20px; height: 20px; }

.gf-pdp-buy .gf-pdp-add {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.022em;
}
.gf-pdp-buy .gf-pdp-add:active { transform: scale(.98); }
.gf-pdp-buynow { width: 100%; min-height: 52px; margin-top: 10px; }

.gf-pdp-rows { margin-top: 28px; }
.gf-pdp-rows .gf-row { justify-content: flex-start; gap: 14px; padding-block: 14px; }
.gf-pdp-row-ico { display: inline-flex; color: var(--muted); flex: none; }
.gf-pdp-row-ico svg { width: 20px; height: 20px; }
.gf-pdp-row-text { display: flex; flex-direction: column; gap: 2px; }
.gf-pdp-row-text strong { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.gf-pdp-row-text small { font-size: 13px; color: var(--muted); }

.gf-pdp-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.gf-pdp-meta > div { display: flex; gap: 8px; }
.gf-pdp-meta dt { color: var(--text); font-weight: 500; }
.gf-pdp-meta dd { margin: 0; }

/* Tabs */
.gf-pdp-tabs.gf-sec { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
.gf-pdp-tabs .gf-tabs { overflow-x: auto; scrollbar-width: none; }
.gf-pdp-tabs .gf-tabs::-webkit-scrollbar { display: none; }
.gf-pdp-tabs .gf-tab { white-space: nowrap; }
.gf-pdp-prose { max-width: 720px; color: var(--muted); }
.gf-pdp-prose.gf-prose { color: var(--text); }
.gf-pdp-ship-intro { font-size: 17px; line-height: 1.47; margin-bottom: 20px; }
.gf-pdp-rate-panel { padding: 8px 12px; overflow-x: auto; }
.gf-pdp-rate-panel .gf-rate-table tr:last-child td { border-bottom: none; }
.gf-pdp-ship-note { margin-top: 16px; font-size: 14px; }

/* Related shelf: product cards on a horizontal shelf */
.gf-pdp-related .gf-shelf-title { margin: 0; }
.gf-pdp-shelf-card { width: clamp(220px, 24vw, 300px); }
.gf-pdp-shelf-card .gf-card-media { background: var(--bg); }

/* =========================================================
   CART
   ========================================================= */
.gf-cart-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.gf-cart-head .gf-t-sub { margin: 0; }

.gf-cart-layout.gf-split-r { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); }
@media (max-width: 900px) {
  .gf-cart-layout.gf-split-r { grid-template-columns: minmax(0, 1fr); }
}

.gf-cart-list { display: flex; flex-direction: column; }
.gf-cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  grid-template-areas: "media info qty end";
  align-items: center;
  gap: 16px 24px;
  padding-block: 24px;
  position: relative;
}
.gf-cart-item + .gf-cart-item::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 120px 0;
  height: 1px;
  background: var(--line);
}
.gf-cart-item:first-child { padding-top: 0; }
.gf-cart-item-media {
  grid-area: media;
  display: block;
  width: 96px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.gf-cart-item-media img,
.gf-cart-item-media .gf-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.gf-cart-item-info { grid-area: info; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gf-cart-item-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--text);
}
@media (hover: hover) and (pointer: fine) {
  .gf-cart-item-name:hover { text-decoration: underline; text-underline-offset: .18em; }
}
.gf-cart-item-variant { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 14px; color: var(--muted); }
.gf-cart-item-each { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gf-cart-item-qty { grid-area: qty; }
.gf-cart-item-end {
  grid-area: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 88px;
}
.gf-cart-item-price { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gf-cart-remove {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .gf-cart-remove:hover { text-decoration: underline; text-underline-offset: .18em; }
}

@media (max-width: 600px) {
  .gf-cart-item {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    grid-template-areas:
      "media info info"
      "media qty end";
    align-items: start;
    gap: 12px 16px;
  }
  .gf-cart-item-media { width: 80px; }
  .gf-cart-item + .gf-cart-item::before { inset-inline-start: 0; }
  .gf-cart-item-qty, .gf-cart-item-end { align-self: end; }
}

.gf-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Summary */
.gf-cart-summary { display: flex; flex-direction: column; gap: 12px; }
.gf-cart-discount { color: var(--success); }
.gf-cart-coupon { margin-top: 20px; }
.gf-cart-coupon-label { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.gf-cart-coupon #gf-coupon-wrap { margin-top: 8px; }
.gf-cart-coupon #gf-coupon-code { min-width: 0; text-transform: none; font-size: 16px; }
.gf-cart-coupon #gf-coupon-code::placeholder { color: var(--muted); }
.gf-cart-coupon #gf-coupon-apply { transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-fast) ease; }
.gf-cart-coupon #gf-coupon-apply:active { transform: scale(.96); }
#gf-coupon-msg { font-size: 13px; margin-top: 8px; }
#gf-coupon-msg:empty { display: none; }
.gf-cart-checkout { width: 100%; min-height: 52px; margin-top: 20px; }
.gf-cart-pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.gf-cart-pay span {
  padding: 3px 8px;
  border-radius: var(--r-xs);
  background: var(--bg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}
.gf-cart-ship {
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
}
.gf-cart-ship p { margin-bottom: 12px; }
.gf-cart-ship strong { color: var(--text); font-weight: 600; }
.gf-cart-ship-ok { display: flex; align-items: center; gap: 6px; color: var(--success); }
.gf-cart-ship-ok svg { width: 14px; height: 14px; }
.gf-cart-ship-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--surface2);
  overflow: hidden;
}
.gf-cart-ship-bar > span {
  display: block;
  height: 100%;
  background: var(--accent-strong);
  transform-origin: left center;
}
[dir="rtl"] .gf-cart-ship-bar > span { transform-origin: right center; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .gf-card-media > .gf-card-link img { transform: none !important; transition: none; }
  .gf-filter-summary svg { transition: none; }
  .gf-filter-sheet[open] .gf-filter-panel { animation: gfFade 200ms ease both; }
  .gf-pdp-sizes .gf-size-btn:active,
  .gf-pdp-buy .gf-pdp-add:active,
  .gf-cart-coupon #gf-coupon-apply:active { transform: none; }
}

/* Monochrome: the range thumb is white like the dark-mode track, so give it an edge */
[data-theme="dark"] .gf-range-wrap input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 0 2px #000, 0 3px 8px rgba(0,0,0,.5); }
[data-theme="dark"] .gf-range-wrap input[type="range"]::-moz-range-thumb { box-shadow: 0 0 0 2px #000, 0 3px 8px rgba(0,0,0,.5); }
