/* Appily Twentytwo — PetalVault flower seed e-commerce (PAW PETS-inspired layout) */
:root {
  --plum: #2A1F3D;
  --plum-dark: #1A1423;
  --plum-light: #3D2F5C;
  --sage: #81B29A;
  --sage-light: #A8C9B8;
  --coral: #E07A5F;
  --coral-dark: #C45E44;
  --wheat: #F2CC8F;
  --wheat-pale: #FFF4DC;
  --lilac: #EDE4F0;
  --ink: #1A1423;
  --ink-soft: #5C5468;
  --muted: #8A8294;
  --line: #E8E2EC;
  --cream: #FFFCF8;
  --white: #ffffff;
  --sale: #C45E44;
  --star: #E07A5F;
  --green: var(--sage);
  --green-dark: var(--plum-dark);
  --green-light: var(--sage-light);
  --green-pale: var(--lilac);
  --gradient-a: linear-gradient(135deg, #2A1F3D 0%, #3D2F5C 50%, #81B29A 100%);
  --gradient-b: linear-gradient(135deg, #E07A5F 0%, #F2CC8F 100%);
  --gradient-hero: linear-gradient(120deg, #EDE4F0 0%, #FFFCF8 50%, #FFF4DC 100%);
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(42, 31, 61, 0.08);
  --shadow-lg: 0 16px 48px rgba(42, 31, 61, 0.12);
  --header-h: 180px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.pv-store,
body.gs-store {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1 0 auto; }

/* ── Top bar ── */
.gs-topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
}

.gs-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.gs-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.gs-topbar-links a:hover { color: #fff; text-decoration: underline; }
.gs-topbar-locale { opacity: 0.85; }

/* ── Header ── */
.gs-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.gs-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.gs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.gs-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.gs-search {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.gs-search-cat {
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 14px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.85rem;
  min-width: 140px;
  cursor: pointer;
}

.gs-search input {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  min-width: 0;
  outline: none;
}

.gs-search input:focus { background: var(--green-pale); }

.gs-search-btn {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.gs-search-btn:hover { background: var(--green-dark); }

.gs-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gs-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.72rem;
  color: var(--ink-soft);
  position: relative;
  transition: color var(--transition);
}

.gs-action:hover { color: var(--green); }
.gs-action-icon { font-size: 1.2rem; }

.gs-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--sale);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.gs-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ── Navbar ── */
.gs-navbar {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.gs-navbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.gs-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}

.gs-browse-btn:hover { background: var(--green-dark); }

.gs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}

.gs-nav a {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.gs-nav a:hover,
.gs-nav a.is-active {
  color: var(--green);
  background: var(--green-pale);
}

.gs-nav-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.gs-promo-tag {
  background: var(--sale);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

/* ── Mega menu ── */
.gs-mega {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  box-shadow: var(--shadow);
}

.gs-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.gs-mega-col h3 {
  font-size: 0.95rem;
  margin: 0 0 12px;
  color: var(--green);
}

.gs-mega-col ul { list-style: none; margin: 0; padding: 0; }

.gs-mega-col li + li { margin-top: 6px; }

.gs-mega-col a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.gs-mega-col a:hover { color: var(--green); }
.gs-mega-col small { color: var(--muted); font-size: 0.75rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover { background: var(--green-pale); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ── Hero banners (home) ── */
.gs-hero {
  padding: 28px 0 20px;
}

.gs-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  min-height: 380px;
}

.gs-hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
  min-height: 380px;
}

.gs-hero-main img {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 45%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.2));
}

.gs-hero-copy { position: relative; z-index: 1; max-width: 52%; }

.gs-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gs-hero-copy h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 12px;
}

.gs-hero-copy p { margin: 0 0 20px; opacity: 0.92; font-size: 0.95rem; }

.gs-hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gs-hero-card {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  min-height: 0;
}

.gs-hero-card-a { background: var(--gradient-b); }
.gs-hero-card-b { background: linear-gradient(135deg, #1A3D2F, #2D6A4F); }

.gs-hero-card img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-height: 80%;
  object-fit: contain;
}

.gs-hero-card h3 { margin: 0 0 4px; font-size: 1rem; color: #fff; position: relative; z-index: 1; }
.gs-hero-card p { margin: 0 0 10px; font-size: 0.82rem; opacity: 0.9; position: relative; z-index: 1; }
.gs-hero-card .btn { position: relative; z-index: 1; padding: 8px 16px; font-size: 0.78rem; background: #fff; color: var(--green); border: 0; }

/* ── Category circles ── */
.gs-cat-rail {
  padding: 32px 0;
  background: var(--white);
}

.gs-cat-rail h2 {
  text-align: center;
  margin: 0 0 24px;
  font-size: 1.25rem;
}

.gs-cat-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gs-cat-item {
  flex: 0 0 110px;
  text-align: center;
  scroll-snap-align: start;
}

.gs-cat-circle {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--green-pale);
  background: var(--cream);
  transition: border-color var(--transition), transform var(--transition);
}

.gs-cat-item:hover .gs-cat-circle {
  border-color: var(--green);
  transform: scale(1.05);
}

.gs-cat-circle img { width: 100%; height: 100%; object-fit: cover; }

.gs-cat-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.gs-cat-item span { font-size: 0.72rem; color: var(--muted); }

/* ── Section layout ── */
.section { padding: 40px 0; }
.section-muted { background: var(--white); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-head h2 { margin: 0; font-size: 1.35rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.section-head a { color: var(--green); font-weight: 600; font-size: 0.88rem; }

/* ── Featured layout with sidebar offer ── */
.gs-featured-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.gs-offer-sidebar {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 24px 16px;
}

.gs-offer-sidebar h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 8px;
}

.gs-offer-sidebar img {
  width: 80%;
  margin: 16px auto;
  border-radius: var(--radius-md);
}

.gs-offer-sidebar .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-light);
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-img {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: var(--cream);
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img img { transform: scale(1.04); }

.product-badge,
.product-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--sale);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

.product-body { padding: 14px 16px 16px; }

.product-cat {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-body h3 {
  margin: 6px 0 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.product-body h3 a:hover { color: var(--green); }

.product-variant {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.product-rating .stars { color: var(--star); letter-spacing: 1px; }
.product-rating .count { color: var(--muted); }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 6px;
}

.price-sale { color: var(--sale); }

.product-card .btn-add {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  display: block;
}

.product-card .btn-add:hover {
  background: var(--green);
  color: #fff;
}

/* ── Popular products tabs ── */
.gs-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gs-tabs a {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--white);
  transition: all var(--transition);
}

.gs-tabs a:hover,
.gs-tabs a.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ── Page hero (shop/about) ── */
.page-hero {
  background: var(--white);
  padding: 36px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-hero .eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.page-hero .hero-lede {
  color: var(--muted);
  margin: 10px 0 0;
}

/* ── Shop layout ── */
.catalog-page { padding: 32px 0 48px; }

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.filter-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.filter-panel h2 {
  font-size: 1rem;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-nav { display: flex; flex-direction: column; gap: 4px; }

.filter-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all var(--transition);
}

.filter-nav a:hover,
.filter-nav a.active {
  background: var(--green-pale);
  color: var(--green);
  font-weight: 600;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.result-meta { color: var(--muted); font-size: 0.88rem; margin: 0; }

.catalog-sort select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.85rem;
  background: var(--white);
}

/* ── Product detail ── */
.product-detail {
  padding: 32px 0 48px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.product-gallery-main {
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info h1 { font-size: 1.6rem; margin: 0 0 8px; }

.stock-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.product-detail-price {
  margin: 16px 0;
  font-size: 1.5rem;
}

.product-detail-desc {
  color: var(--ink-soft);
  margin: 16px 0;
  font-size: 0.92rem;
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control button {
  border: 0;
  background: var(--cream);
  width: 36px;
  height: 40px;
  cursor: pointer;
  font-size: 1.1rem;
}

.qty-control input {
  width: 48px;
  border: 0;
  text-align: center;
  font-weight: 600;
}

/* ── Benefits strip ── */
.gs-benefits {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.gs-benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.gs-benefit {
  text-align: center;
  padding: 8px;
}

.gs-benefit-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 6px;
}

.gs-benefit strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.gs-benefit span { font-size: 0.72rem; color: var(--muted); }

/* ── Footer ── */
.gs-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
}

.gs-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}

.gs-footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 10px;
}

.gs-footer-brand p { color: var(--ink-soft); font-size: 0.88rem; margin: 0 0 16px; }

.gs-footer-call {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.gs-footer-call span { display: block; font-size: 0.78rem; color: var(--muted); }
.gs-footer-call a { font-weight: 700; color: var(--green); font-size: 1.1rem; }

.gs-footer-col h4 {
  font-size: 0.95rem;
  margin: 0 0 14px;
  color: var(--ink);
}

.gs-footer-col a,
.gs-footer-col p {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.gs-footer-col a:hover { color: var(--green); }

.gs-footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.gs-footer-legal { display: flex; gap: 16px; }
.gs-footer-legal a:hover { color: var(--green); }

/* ── Promo band ── */
.promo-band {
  background: var(--gradient-a);
  color: #fff;
  padding: 40px 0;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.promo-inner h2 { color: #fff; margin: 0 0 8px; font-size: 1.4rem; }
.promo-inner p { margin: 0; opacity: 0.9; }
.promo-inner .btn-primary { background: #fff; color: var(--green); border-color: #fff; }

/* ── Empty state & pagination ── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.empty-state p { margin: 0 0 8px; font-weight: 600; }
.empty-state .sub { color: var(--muted); font-weight: 400; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .gs-featured-layout { grid-template-columns: 1fr; }
  .gs-offer-sidebar { display: none; }
  .gs-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .gs-header-main { grid-template-columns: auto 1fr auto; }
  .gs-search { display: none; }
  .gs-nav-toggle { display: flex; }
  .gs-navbar { display: none; }
  .gs-navbar.is-open { display: block; }
  .gs-nav { flex-direction: column; align-items: stretch; }
  .gs-nav-promo { display: none; }
  .gs-hero-grid { grid-template-columns: 1fr; }
  .gs-hero-main img { width: 40%; opacity: 0.9; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-mega-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .gs-header-actions .gs-action-label { display: none; }
  .gs-topbar-welcome { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .gs-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-footer-grid { grid-template-columns: 1fr; }
  .gs-hero-copy { max-width: 100%; }
  .gs-hero-main img { display: none; }
}

/* ══════════════════════════════════════════════════════════
   Shared page components (cart, checkout, contact, etc.)
   ══════════════════════════════════════════════════════════ */

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.lead, .hero-lede { color: var(--ink-soft); line-height: 1.7; }
.mini-copy { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin: 0 0 10px; }
.mini-copy a { color: var(--green); font-weight: 600; }
.fine-print { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; }

.gs-breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.gs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.gs-breadcrumb a { color: var(--ink-soft); }
.gs-breadcrumb a:hover { color: var(--green); }
.gs-breadcrumb span:last-child { color: var(--ink); font-weight: 600; }

.gs-page { padding: 36px 0 56px; }
.gs-page-narrow .container { max-width: 820px; }

.gs-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.gs-panel h2, .gs-panel h3 { margin-top: 0; }

.gs-dual {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.gs-dual-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.gs-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.gs-summary h2, .gs-summary h3 {
  font-size: 1.1rem;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.gs-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.gs-summary-row strong { color: var(--ink); }
.gs-summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--line);
  font-size: 1.1rem;
  font-weight: 700;
}

.gs-summary-total .price { font-size: 1.25rem; color: var(--green); }

/* Legacy aliases */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.dual { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.summary-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.page-panel { padding: 36px 0 56px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.panel input,
.panel select,
.panel textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 122, 69, 0.1);
}

.form-grid textarea, .panel textarea { min-height: 120px; resize: vertical; }

.notice {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
}

.notice.success { background: var(--green-pale); border-color: rgba(11, 122, 69, 0.25); color: var(--green-dark); }
.notice.error { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }

.btn-soft {
  background: var(--green-pale);
  color: var(--green-dark);
  border: 2px solid transparent;
}

.btn-soft:hover { background: var(--green); color: #fff; }

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.price-tag { color: var(--green); font-weight: 700; font-size: 1.15rem; }
.inline-list { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); }

/* ── Cart ── */
.gs-cart-page { padding: 32px 0 56px; }
.gs-cart-head { margin-bottom: 24px; }
.gs-cart-head h1 { margin: 0 0 6px; font-size: 1.6rem; }
.gs-cart-head p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.gs-cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }

.gs-cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gs-cart-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.gs-cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 0.9rem;
}

.gs-cart-table tr:last-child td { border-bottom: 0; }

.gs-cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gs-cart-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.gs-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gs-cart-product strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.gs-cart-product span { font-size: 0.78rem; color: var(--muted); }

.gs-cart-qty input {
  width: 64px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.gs-cart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.88rem; }
.cart-table th { background: var(--cream); font-size: 0.75rem; text-transform: uppercase; color: var(--muted); }

/* ── Orders ── */
.order-list { display: flex; flex-direction: column; gap: 12px; }

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}

.order-row:hover { box-shadow: var(--shadow); }
.order-items { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

.orders-guest { text-align: center; padding: 40px 24px; }
.action-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ── */
.gs-contact-map {
  background: var(--green-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.gs-contact-info { display: flex; flex-direction: column; gap: 16px; }

.gs-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.gs-contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.gs-contact-item strong { display: block; font-size: 0.82rem; margin-bottom: 2px; }
.gs-contact-item span, .gs-contact-item a { font-size: 0.88rem; color: var(--ink-soft); }

/* ── Help / FAQ ── */
.gs-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }

.gs-faq-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.gs-faq-card h3 {
  font-size: 1rem;
  margin: 0 0 14px;
  color: var(--green-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.gs-faq-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.75;
}

.gs-faq-card li { margin-bottom: 8px; }
.gs-faq-card a { color: var(--green); font-weight: 600; }

/* ── About Z-layout ── */
.gs-about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.gs-about-block.reverse { direction: rtl; }
.gs-about-block.reverse > * { direction: ltr; }

.gs-about-block img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gs-about-block h2 { margin: 0 0 12px; font-size: 1.35rem; }
.gs-about-block p { color: var(--ink-soft); margin: 0 0 12px; font-size: 0.92rem; }
.gs-about-block ul { margin: 0; padding-left: 18px; color: var(--ink-soft); line-height: 1.75; }

.gs-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.gs-value-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.gs-value-card .icon { font-size: 1.6rem; color: var(--green); margin-bottom: 10px; display: block; }
.gs-value-card strong { display: block; font-size: 0.88rem; margin-bottom: 4px; }
.gs-value-card span { font-size: 0.78rem; color: var(--muted); }

/* ── Product tabs ── */
.gs-product-tabs {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gs-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.gs-tab-nav button {
  padding: 14px 24px;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.gs-tab-nav button.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: var(--white);
}

.gs-tab-panel { padding: 28px; display: none; }
.gs-tab-panel.is-active { display: block; }
.gs-tab-panel p { color: var(--ink-soft); line-height: 1.75; margin: 0 0 12px; }

/* ── Order success ── */
.gs-success-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.gs-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.gs-success-card h1 { margin: 0 0 12px; font-size: 1.6rem; }

.support-timeline { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

.support-item {
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.support-item strong { display: block; margin-bottom: 4px; color: var(--green-dark); }

/* ── Policy page body class ── */
body.policy-page .page-main { background: var(--cream); }

@media (max-width: 900px) {
  .gs-dual, .dual, .gs-cart-layout, .gs-dual-wide { grid-template-columns: 1fr; }
  .gs-summary, .summary-box { position: static; }
  .gs-about-block, .gs-about-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .gs-faq-grid { grid-template-columns: 1fr; }
  .gs-values-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .gs-cart-table thead { display: none; }
  .gs-cart-table tr { display: block; padding: 16px; border-bottom: 1px solid var(--line); }
  .gs-cart-table td { display: block; padding: 4px 0; border: 0; }
  .gs-cart-table td::before { content: attr(data-label); font-weight: 600; font-size: 0.75rem; color: var(--muted); display: block; margin-bottom: 2px; }
}
