/* ══════════════════════════════════════════════════════════
   GHOSTFRAME — Design System v1.0
   Based on UI Design Specification (13 pages)
   Single source of truth for all visual tokens
   ══════════════════════════════════════════════════════════ */

/* ── 01 COLOR SYSTEM ── */
:root {
  /* Primary Palette */
  --color-deep-black: #0A0A0A;
  --color-pure-white: #FFFFFF;
  --color-warm-white: #F2F2F0;
  --color-card-grey: #EAEAE7;
  --color-stone-grey: #888888;
  --color-mist-grey: #AAAAAA;

  /* Border & Divider */
  --color-hairline: #E0E0DE;
  --color-medium-border: #C8C8C8;
  --color-off-white-bg: #F8F8F6;
  --color-input-stroke: #D0D0CE;

  /* Ghost Frame Accents */
  --color-cyber-lime: #D4FF00;
  --color-y2k-pink: #FF3CAC;
  --color-chrome-metal: #BFBFBF;
  --color-glitch-blue: #3A3AF0;

  /* ── 02 TYPOGRAPHY ── */
  --font-primary: 'Inter', 'DM Sans', 'Helvetica Neue', Helvetica, system-ui, sans-serif;

  /* Type Scale (desktop 1440px base) */
  --text-display: 28px;
  --text-h1: 18px;
  --text-h2: 11px;
  --text-h3: 9px;
  --text-body-lg: 14px;
  --text-body-sm: 12px;
  --text-caption: 10px;

  /* Weights */
  --weight-regular: 400;
  --weight-bold: 700;

  /* ── 03 SPACING (8px base) ── */
  --space-0-5x: 4px;
  --space-1x: 8px;
  --space-1-5x: 12px;
  --space-2x: 16px;
  --space-3x: 24px;
  --space-4x: 32px;
  --space-5x: 40px;
  --space-6x: 48px;
  --space-8x: 64px;
  --space-10x: 80px;
  --space-15x: 120px;

  /* ── LAYOUT ── */
  --grid-columns: 12;
  --grid-gutter: 24px;
  --grid-margin: 80px;
  --max-width: 1440px;
  --nav-height: 60px;
  --nav-height-mobile: 52px;

  /* ── TRANSITIONS ── */
  --transition-nav: background-color 0.3s ease, border-color 0.3s ease;
  --transition-page: opacity 0.4s ease;
  --transition-dropdown-open: 0.25s ease-out;
  --transition-dropdown-close: 0.15s ease-in;
  --transition-card-hover: 0.4s ease;
  --transition-cta: 0.2s ease;
  --transition-filter: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-accordion: 0.3s ease;
  --transition-chip: 0.2s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  color: var(--color-deep-black);
  background-color: var(--color-warm-white);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* ── TYPOGRAPHY CLASSES ── */
.text-display {
  font-size: var(--text-display);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  line-height: 1.0;
  text-transform: uppercase;
}

.text-h1 {
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  line-height: 1.1;
  text-transform: uppercase;
}

.text-h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.text-h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.text-body-lg {
  font-size: var(--text-body-lg);
  font-weight: var(--weight-regular);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.text-body-sm {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-regular);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.text-caption {
  font-size: var(--text-caption);
  font-weight: var(--weight-regular);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ── LAYOUT SYSTEM ── */
.content-area {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

.section-label {
  padding: var(--space-5x) 0 var(--space-3x) 0;
  border-top: 0.5px solid var(--color-hairline);
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ── GLOBAL NAVIGATION ── */
.gf-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-5x);
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 0.5px solid transparent;
  transition: var(--transition-nav);
}

.gf-nav.scrolled {
  background-color: var(--color-pure-white);
  border-bottom-color: var(--color-hairline);
}

.gf-nav.on-hero {
  color: var(--color-pure-white);
}

.gf-nav.on-hero.scrolled {
  color: var(--color-deep-black);
}

.gf-nav__left {
  display: flex;
  align-items: center;
  gap: var(--space-4x);
}

.gf-nav__link {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--color-deep-black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  position: relative;
}

.gf-nav__link:hover {
  color: var(--color-stone-grey);
}

.gf-nav__link.active {
  font-weight: var(--weight-bold);
}

.gf-nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-deep-black);
}

.gf-nav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gf-nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-3x);
}

.gf-nav__tooltip {
  font-size: 13px;
  font-weight: var(--weight-regular);
  color: var(--color-deep-black);
  white-space: nowrap;
  overflow: hidden;
}

.gf-nav__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.gf-nav__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1px;
  fill: none;
}

.gf-nav__bag-count {
  position: absolute;
  top: -4px;
  right: -6px;
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: var(--color-deep-black);
  background: var(--color-pure-white);
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Nav Dropdown */
.gf-nav__dropdown {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  min-width: 180px;
  background: var(--color-pure-white);
  border: 0.5px solid var(--color-hairline);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition-dropdown-open), transform var(--transition-dropdown-open);
}

.gf-nav__left-item:hover .gf-nav__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gf-nav__dropdown-item {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 var(--space-2x);
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--color-deep-black);
  transition: background-color 0.15s ease;
}

.gf-nav__dropdown-item:hover {
  background-color: var(--color-warm-white);
}

.gf-nav__dropdown-item.active {
  font-weight: var(--weight-bold);
}

/* ── MOBILE NAV ── */
.gf-nav__hamburger {
  display: none;
  width: 24px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.gf-nav__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── HERO SECTION ── */
.gf-hero {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--color-deep-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf-hero__image,
.gf-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gf-hero__video {
  z-index: 1;
}

.gf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  z-index: 2;
}

.gf-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-pure-white);
}

.gf-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── PRODUCT GRID ── */
.gf-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* ── PRODUCT CARD ── */
.gf-card {
  position: relative;
  cursor: pointer;
  border: 0.35px solid var(--color-hairline);
}

.gf-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 */
  background-color: var(--color-card-grey);
  overflow: hidden;
}

.gf-card__image,
.gf-card__image-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-2x);
  transition: opacity var(--transition-card-hover);
}

.gf-card__image-hover {
  opacity: 0;
  object-fit: cover;
  padding: 0;
}

/* Only cross-fade when a hover image actually exists — prevents blank card on hover */
.gf-card:has(.gf-card__image-hover):hover .gf-card__image { opacity: 0; }
.gf-card:hover .gf-card__image-hover { opacity: 1; }

.gf-card__wishlist {
  position: absolute;
  top: var(--space-1-5x);
  right: var(--space-1-5x);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-0-5x);
}

.gf-card__wishlist svg {
  width: 16px;
  height: 18px;
  stroke: var(--color-stone-grey);
  fill: none;
  transition: stroke 0.2s ease, fill 0.2s ease;
}

.gf-card__wishlist:hover svg {
  stroke: var(--color-deep-black);
}

.gf-card__wishlist.active svg {
  stroke: var(--color-deep-black);
  fill: var(--color-deep-black);
}

.gf-card__info {
  padding: var(--space-1x) var(--space-2x) var(--space-2x);
}

.gf-card__name {
  font-size: 14px;
  font-weight: var(--weight-bold);
  color: var(--color-deep-black);
  margin-top: var(--space-1x);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gf-card__colors {
  display: flex;
  gap: var(--space-0-5x);
  margin-top: var(--space-1x);
}

.gf-card__color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.2px solid transparent;
}

.gf-card__color-dot.selected {
  border-color: var(--color-deep-black);
}

.gf-card__price {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--color-deep-black);
  margin-top: var(--space-0-5x);
}

.gf-card__sold-out {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--color-stone-grey);
  margin-top: var(--space-0-5x);
}

.gf-card__add-wishlist {
  font-size: 12px;
  color: var(--color-stone-grey);
  text-decoration: underline;
  margin-top: var(--space-1x);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gf-card:hover .gf-card__add-wishlist { opacity: 1; }

/* ── SKELETON CARDS ── */
@keyframes gf-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.gf-card--skeleton {
  pointer-events: none;
}

.gf-card--skeleton .gf-card__image-wrap,
.gf-card--skeleton .gf-card__name,
.gf-card--skeleton .gf-card__price {
  background: linear-gradient(
    90deg,
    var(--color-card-grey) 25%,
    var(--color-hairline) 50%,
    var(--color-card-grey) 75%
  );
  background-size: 800px 100%;
  animation: gf-shimmer 1.4s infinite linear;
  border-radius: 0;
}

.gf-card--skeleton .gf-card__image-wrap {
  /* image wrap already has padding-top:100% to maintain aspect ratio */
}

.gf-card--skeleton .gf-card__name {
  height: 14px;
  width: 70%;
  display: block;
}

.gf-card--skeleton .gf-card__price {
  height: 12px;
  width: 40%;
  display: block;
  margin-top: var(--space-1x);
}

/* ── FILTER CHIPS ── */
.gf-chips {
  display: flex;
  gap: var(--space-1x);
  overflow-x: auto;
  scrollbar-width: none;
  padding: var(--space-2x) 0;
  position: sticky;
  top: var(--nav-height);
  background: var(--color-warm-white);
  z-index: 50;
}

.gf-chips::-webkit-scrollbar { display: none; }

.gf-chip {
  height: 28px;
  padding: 0 14px;
  border-radius: 50px;
  border: 0.5px solid var(--color-deep-black);
  background: var(--color-pure-white);
  color: var(--color-deep-black);
  font-size: 13px;
  font-weight: var(--weight-regular);
  font-family: var(--font-primary);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition-chip), color var(--transition-chip), border-color var(--transition-chip);
}

.gf-chip:hover {
  background: var(--color-warm-white);
}

.gf-chip.active {
  background: var(--color-deep-black);
  color: var(--color-pure-white);
  border-color: var(--color-deep-black);
  font-weight: var(--weight-bold);
}

/* ── FILTER OVERLAY ── */
.gf-filter-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-pure-white);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform var(--transition-filter);
  overflow-y: auto;
  padding: var(--space-5x);
}

.gf-filter-overlay.open {
  transform: translateY(0);
}

.gf-filter-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4x);
}

.gf-filter-overlay__title {
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.gf-filter-overlay__clear {
  font-size: 13px;
  color: var(--color-stone-grey);
  cursor: pointer;
}

.gf-filter-overlay__close {
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 18px;
}

.gf-filter-section {
  margin-bottom: var(--space-3x);
}

.gf-filter-section__label {
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  margin-bottom: var(--space-3x);
}

.gf-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-1-5x);
}

.gf-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-1x);
  cursor: pointer;
}

.gf-checkbox__box {
  width: 14px;
  height: 14px;
  border: 0.5px solid var(--color-input-stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gf-checkbox__box.checked {
  background: var(--color-deep-black);
  border-color: var(--color-deep-black);
}

.gf-checkbox__box.checked::after {
  content: '✓';
  color: var(--color-pure-white);
  font-size: 10px;
}

.gf-checkbox__label {
  font-size: 14px;
  color: var(--color-deep-black);
}

.gf-radio {
  display: flex;
  align-items: center;
  gap: var(--space-1x);
  cursor: pointer;
}

.gf-radio__circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--color-medium-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.gf-radio__circle.selected::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-deep-black);
}

.gf-radio__label {
  font-size: 14px;
  color: var(--color-deep-black);
}

/* ── SEARCH OVERLAY ── */
.gf-search-overlay {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-pure-white);
  z-index: 150;
  padding: var(--space-5x) var(--grid-margin);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--transition-filter), opacity var(--transition-filter);
}

.gf-search-overlay.open {
  transform: translateY(0);
  opacity: 1;
}

.gf-search-overlay__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-1-5x);
  border-bottom: 0.8px solid var(--color-deep-black);
  padding-bottom: var(--space-1x);
}

.gf-search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-family: var(--font-primary);
  color: var(--color-deep-black);
  background: transparent;
}

.gf-search-overlay__input::placeholder {
  color: var(--color-mist-grey);
}

.gf-search-overlay__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-deep-black);
  fill: none;
  stroke-width: 1.5px;
}

.gf-search-trends {
  margin-top: var(--space-4x);
}

.gf-search-trends__title {
  font-size: 13px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  margin-bottom: var(--space-2x);
}

.gf-search-trends__grid {
  display: flex;
  gap: var(--space-2x);
}

.gf-search-trend-item {
  text-align: center;
  cursor: pointer;
}

.gf-search-trend-item__img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--color-card-grey);
}

.gf-search-trend-item__name {
  font-size: 12px;
  color: var(--color-deep-black);
  margin-top: var(--space-0-5x);
}

/* ── PRODUCT DETAIL PAGE (PDP) ── */
.gf-pdp {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--nav-height);
}

.gf-pdp__images {
  width: 62%;
  min-height: 100vh;
}

.gf-pdp__image-item {
  width: 100%;
  min-height: 60vh;
  background: var(--color-card-grey);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf-pdp__image-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.gf-pdp__panel {
  width: 38%;
  position: sticky;
  top: var(--nav-height);
  height: fit-content;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  padding: var(--space-5x) var(--space-5x) var(--space-5x) var(--space-4x);
}

.gf-pdp__name {
  font-size: 18px;
  font-weight: var(--weight-bold);
  color: var(--color-deep-black);
}

.gf-pdp__price-line {
  margin-top: var(--space-1x);
  font-size: 16px;
  color: var(--color-deep-black);
}

.gf-pdp__price-status {
  color: var(--color-stone-grey);
}

.gf-pdp__color-label {
  font-size: 12px;
  font-weight: var(--weight-bold);
  margin-top: var(--space-3x);
}

.gf-pdp__swatches {
  display: flex;
  gap: var(--space-1x);
  margin-top: var(--space-1x);
}

.gf-pdp__swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.gf-pdp__swatch.selected {
  box-shadow: 0 0 0 1.5px var(--color-deep-black);
}

.gf-pdp__swatch:hover {
  transform: scale(1.05);
}

.gf-pdp__swatch-label {
  font-size: 12px;
  color: var(--color-stone-grey);
  margin-left: var(--space-1x);
}

/* CTA Buttons */
.gf-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: var(--color-deep-black);
  color: var(--color-pure-white);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition-cta);
}

.gf-btn-primary:hover { background: #333333; }
.gf-btn-primary:disabled {
  background: var(--color-medium-border);
  cursor: default;
}

.gf-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: transparent;
  color: var(--color-deep-black);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 0.5px solid var(--color-deep-black);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition-cta);
}

.gf-btn-secondary:hover { background: var(--color-warm-white); }
.gf-btn-secondary:active { background: var(--color-hairline); }
.gf-btn-secondary:disabled { opacity: 0.4; cursor: default; }

/* GF-specific CTA row */
.gf-pdp__cta-row {
  display: flex;
  gap: 0;
  margin-top: var(--space-3x);
}

.gf-pdp__cta-row .gf-btn-tryon {
  flex: 1;
  height: 52px;
  background: transparent;
  color: var(--color-deep-black);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 0.5px solid var(--color-deep-black);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition-cta);
}

.gf-pdp__cta-row .gf-btn-tryon:hover { background: var(--color-warm-white); }

.gf-pdp__cta-row .gf-btn-customize {
  flex: 1;
  height: 52px;
  background: var(--color-cyber-lime);
  color: var(--color-deep-black);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: filter var(--transition-cta);
}

.gf-pdp__cta-row .gf-btn-customize:hover { filter: brightness(0.95); }

/* Accordion */
.gf-accordion {
  border-top: 0.5px solid var(--color-hairline);
  margin-top: var(--space-3x);
}

.gf-accordion__item {
  border-bottom: 0.5px solid var(--color-hairline);
}

.gf-accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2x) 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.gf-accordion__toggle {
  font-size: 18px;
  font-weight: var(--weight-regular);
  line-height: 1;
}

.gf-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-accordion);
}

.gf-accordion__content.open {
  max-height: 500px;
}

.gf-accordion__content-inner {
  padding-bottom: var(--space-2x);
  font-size: 13px;
  font-weight: var(--weight-regular);
  line-height: 1.5;
  color: var(--color-deep-black);
}

/* ── SHOPPING BAG PANEL ── */
.gf-bag {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: var(--color-pure-white);
  z-index: 300;
  transform: translateX(100%);
  transition: transform var(--transition-filter);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.gf-bag.open { transform: translateX(0); }

.gf-bag-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gf-bag-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.gf-bag__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3x);
  border-bottom: 0.5px solid var(--color-hairline);
}

.gf-bag__tabs {
  display: flex;
  gap: var(--space-1x);
}

.gf-bag__tab {
  height: 32px;
  padding: 0 var(--space-2x);
  border-radius: 16px;
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-chip), color var(--transition-chip);
}

.gf-bag__tab.active {
  background: var(--color-deep-black);
  color: var(--color-pure-white);
  border: none;
}

.gf-bag__tab:not(.active) {
  background: var(--color-pure-white);
  color: var(--color-deep-black);
  border: 0.5px solid var(--color-hairline);
}

.gf-bag__close {
  font-size: 18px;
  cursor: pointer;
  color: var(--color-deep-black);
}

.gf-bag__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3x);
}

.gf-bag__item {
  display: flex;
  gap: var(--space-2x);
  padding-bottom: var(--space-3x);
  border-bottom: 0.5px solid var(--color-hairline);
  margin-bottom: var(--space-3x);
}

.gf-bag__item-thumb {
  width: 100px;
  height: 100px;
  background: var(--color-card-grey);
  flex-shrink: 0;
}

.gf-bag__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gf-bag__item-name {
  font-size: 15px;
  font-weight: var(--weight-bold);
}

.gf-bag__item-variant {
  font-size: 13px;
  color: var(--color-stone-grey);
  margin-top: 2px;
}

.gf-bag__item-price {
  font-size: 14px;
  margin-top: var(--space-1x);
}

.gf-bag__item-qty {
  font-size: 13px;
  margin-top: var(--space-1x);
}

.gf-bag__item-remove {
  display: inline-block;
  margin-top: var(--space-1x);
  padding: var(--space-0-5x) var(--space-1-5x);
  border: 0.5px solid var(--color-hairline);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gf-bag__item-remove:hover { background: var(--color-warm-white); }

.gf-bag__summary {
  padding: var(--space-3x);
  border-top: 0.5px solid var(--color-hairline);
}

.gf-bag__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: var(--space-1x);
}

.gf-bag__row.total {
  font-size: 16px;
  font-weight: var(--weight-bold);
  margin-top: var(--space-2x);
  margin-bottom: 0;
}

.gf-bag__taxes {
  text-align: right;
  font-size: 11px;
  color: var(--color-stone-grey);
  margin-top: var(--space-0-5x);
}

.gf-bag__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background: var(--color-deep-black);
  color: var(--color-pure-white);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin-top: var(--space-2x);
  transition: background var(--transition-cta);
}

.gf-bag__checkout:hover { background: #333333; }

.gf-bag__continue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: transparent;
  color: var(--color-deep-black);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 0.5px solid var(--color-deep-black);
  border-radius: 0;
  cursor: pointer;
  margin-top: var(--space-1x);
  transition: background var(--transition-cta);
}

.gf-bag__continue:hover { background: var(--color-warm-white); }

.gf-bag__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3x);
  font-size: 14px;
  color: var(--color-stone-grey);
}

/* ── FOOTER ── */
.gf-footer {
  padding: var(--space-5x) var(--grid-margin) var(--space-3x);
  border-top: 0.5px solid var(--color-hairline);
  background: var(--color-warm-white);
}

.gf-footer__brand {
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3x);
}

.gf-footer__links {
  display: flex;
  gap: var(--space-4x);
  flex-wrap: wrap;
}

.gf-footer__link {
  font-size: var(--text-caption);
  color: var(--color-stone-grey);
}

.gf-footer__link:hover {
  color: var(--color-deep-black);
}

.gf-footer__copy {
  font-size: var(--text-caption);
  color: var(--color-stone-grey);
  margin-top: var(--space-3x);
}

/* ── UTILITY ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── FOCUS STATES ── */
:focus-visible {
  outline: 2px solid var(--color-deep-black);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-deep-black);
  outline-offset: 2px;
}

/* ── DISABLED ── */
[disabled] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (375px base)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --grid-margin: 20px;
    --nav-height: 52px;
  }

  .content-area {
    padding: 0 20px;
  }

  .gf-nav {
    height: var(--nav-height-mobile);
    padding: 0 20px;
  }

  .gf-nav__left {
    display: none;
  }

  .gf-nav__hamburger {
    display: flex;
  }

  .gf-nav__tooltip {
    display: none;
  }

  .gf-nav__logo {
    font-size: 18px;
  }

  .gf-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gf-card__info {
    padding: var(--space-1-5x);
  }

  .gf-pdp {
    flex-direction: column;
  }

  .gf-pdp__images {
    width: 100%;
  }

  .gf-pdp__panel {
    width: 100%;
    position: static;
    max-height: none;
    padding: var(--space-3x) 20px;
  }

  .gf-bag {
    width: 100vw;
  }

  .gf-chips {
    top: var(--nav-height-mobile);
    padding: var(--space-1-5x) 20px;
  }

  .gf-search-overlay {
    padding: var(--space-3x) 20px;
    top: var(--nav-height-mobile);
  }

  .gf-footer {
    padding: var(--space-5x) 20px var(--space-3x);
  }

  .gf-footer__links {
    flex-direction: column;
    gap: var(--space-2x);
  }
}

@media (max-width: 480px) {
  .gf-hero__title {
    font-size: 28px;
  }

  .gf-pdp__cta-row {
    flex-direction: column;
    gap: var(--space-1x);
  }
}
