:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --text: #111111;
  --muted: #6d6d73;
  --line: #e8e8ec;
  --primary: #ff3b3f;
  --primary-dark: #e03135;
  --accent: #ffd043;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #f4f4f6 0%, #ececef 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 20px auto 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  position: sticky;
  top: 16px;
  z-index: 20;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.brand-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f1f1f, #444);
  color: white;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover { color: var(--text); }

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

.search-box input {
  width: 250px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 0 16px;
  outline: none;
}

.cart-btn,
.btn,
.product-card button,
.cart-item-actions button,
.filter-pill {
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.cart-btn {
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #111;
  color: white;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  padding: 48px 8px 10px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
  margin: 12px 0 16px;
  max-width: 640px;
}

.hero-copy p,
.section-heading p,
.sale-banner p,
.policy-card p,
.review-card p,
.cart-note { color: var(--muted); line-height: 1.7; }

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  background: rgba(255,255,255,0.35);
  border-color: rgba(17,17,17,0.08);
}

.hero-actions,
.hero-stats,
.section-heading,
.section-heading.compact,
.filter-pills,
.review-grid,
.policy-grid,
.feature-strip,
.cart-total-row,
.cart-header { display: flex; }

.hero-actions { gap: 14px; margin-top: 28px; }

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: white; border: 1px solid var(--line); }
.btn-secondary:hover,
.filter-pill:hover { transform: translateY(-2px); }
.btn-dark { background: #111; color: white; }
.full-width { width: 100%; }

.hero-stats {
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: grid;
  gap: 4px;
}
.hero-stats strong { font-size: 1.4rem; }
.hero-stats span { color: var(--muted); font-size: 14px; }

.hero-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f2f2f5);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
}
.hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.hero-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px 0;
}
.hero-card-info p { margin: 0; font-weight: 700; }
.hero-card-info strong { font-size: 1.35rem; }

.feature-strip {
  gap: 18px;
  margin: 34px 0 10px;
  flex-wrap: wrap;
}
.feature-strip article {
  flex: 1 1 240px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.feature-strip span { font-size: 1.6rem; }
.feature-strip h3,
.policy-card h3,
.review-card strong { margin: 0 0 6px; }
.feature-strip p { margin: 0; color: var(--muted); font-size: 14px; }

.section-heading {
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 72px 0 26px;
}

.section-heading h2,
.sale-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 10px 0 0;
}

.filter-pills {
  gap: 10px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
.filter-pill.active {
  background: #111;
  color: white;
}

.sale-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #ffd43d, #ffbf2d);
  padding: 34px;
  border-radius: var(--radius-xl);
  margin: 34px 0 16px;
}

.product-grid,
.review-grid,
.policy-grid {
  display: grid;
  gap: 22px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 26px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}
.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 10px;
}
.product-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.product-card p {
  color: var(--muted);
  font-size: 14px;
  min-height: 44px;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.product-meta strong { font-size: 1.15rem; }
.product-card button {
  background: #111;
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.product-card button:hover { transform: scale(1.02); }
.tag {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f0f1f4;
  color: #444;
  font-size: 12px;
  font-weight: 700;
}

.policy-grid,
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.policy-card,
.review-card {
  background: white;
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.policy-card span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #111;
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
}
.review-card span {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(100%, 400px);
  height: 100vh;
  background: white;
  box-shadow: -30px 0 60px rgba(0,0,0,0.12);
  z-index: 40;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.cart-drawer.open { right: 0; }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-header h3 { margin: 0; }
.cart-header button {
  background: #f1f1f4;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px 18px 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 12px;
}
.cart-item img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 16px;
}
.cart-item h4 { margin: 0 0 8px; font-size: 15px; }
.cart-item p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-item-actions button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f1f4;
}
.cart-item-actions .remove-btn {
  width: auto;
  padding: 0 10px;
  border-radius: 999px;
}
.cart-footer {
  padding: 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 30;
}
.backdrop.show {
  opacity: 1;
  visibility: visible;
}
.empty-cart {
  text-align: center;
  color: var(--muted);
  padding: 44px 16px;
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 18px;
  }
  .nav-links { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: space-between; }
  .search-box input { width: 100%; }
  .search-box { flex: 1; }
  .product-grid,
  .policy-grid,
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sale-banner,
  .section-heading { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 18px, 1240px); }
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-card img { height: 340px; }

  .product-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(235px, 78vw);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
    gap: 14px;
  }

  .product-grid::-webkit-scrollbar {
    height: 8px;
  }

  .product-grid::-webkit-scrollbar-thumb {
    background: #d7d7dc;
    border-radius: 999px;
  }

  .product-card {
    scroll-snap-align: start;
  }

  .policy-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    right: -100%;
    width: 100%;
    border-top-left-radius: 26px;
    border-bottom-left-radius: 0;
  }

  .cart-header {
    padding-top: 16px;
  }

  .cart-items {
    padding: 14px 14px 0;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    border-radius: 18px;
  }

  .cart-item img {
    width: 72px;
    height: 72px;
  }

  .cart-footer {
    position: sticky;
    bottom: 0;
    box-shadow: 0 -10px 30px rgba(17,17,17,0.08);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .full-width {
    width: 100%;
  }
}


.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-btn {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.product-image-btn img {
  transition: transform 0.3s ease;
}

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

.product-card p {
  margin: 0;
}

.product-meta {
  margin-top: auto;
  padding-top: 14px;
}

.policy-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 15, 15, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 60;
}

.product-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-modal-card {
  position: relative;
  width: min(960px, 100%);
  background: white;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.product-modal-media {
  background: #f4f4f6;
  min-height: 520px;
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-content {
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-modal-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.product-modal-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 10px;
}

.modal-price {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px !important;
}

.modal-short {
  font-size: 1rem;
  color: #111 !important;
  font-weight: 600;
  margin-bottom: 12px !important;
}

.modal-description {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 26px !important;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(17,17,17,0.08);
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .product-modal-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow: auto;
  }

  .product-modal-media {
    min-height: 300px;
  }
}


/* Better spacing between sections */
.products {
  margin-bottom: 20px;
}

.policy-grid {
  margin-top: 20px;
}

.review-section {
  margin-top: 20px;
}

/* Better mobile product layout */
.product-grid {
  align-items: stretch;
}

@media (max-width: 560px) {
  .section-heading {
    margin: 56px 0 20px;
  }

  .products {
    overflow: visible;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 14px;
    overflow: visible;
    padding-bottom: 0;
  }

  .product-card {
    min-width: 0;
  }

  .product-card h3 {
    font-size: 0.96rem;
  }

  .product-card p {
    font-size: 13px;
    min-height: 56px;
  }

  .product-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-card button {
    width: 100%;
    text-align: center;
  }
}


/* v6 updates */
.policy-grid { margin-top: 20px; }
.checkout-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.feature-strip { display: flex; }
.section-heading, .filter-pills { display: flex; }
.checkout-page-shell { margin-top: 24px; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 380px;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}
.checkout-main-card,
.order-summary-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.checkout-main-card { padding: 28px; }
.order-summary-card { padding: 22px; position: sticky; top: 100px; }
.checkout-title-row, .summary-head, .summary-totals div { display: flex; justify-content: space-between; gap: 12px; }
.checkout-title-row { align-items: start; margin-bottom: 24px; }
.checkout-title-row h1 { margin: 10px 0 8px; font-size: clamp(2rem, 4vw, 2.6rem); }
.checkout-subtext { margin: 0; color: var(--muted); }
.checkout-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 38px;
  border-radius: 999px; background: #111; color: #fff; font-weight: 700;
}
.checkout-section + .checkout-section { margin-top: 22px; }
.checkout-section h3 { margin: 0 0 16px; }
.checkout-form-grid { display: grid; gap: 16px; }
.checkout-form-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-form-grid label { display: grid; gap: 8px; font-weight: 600; color: #1e1e23; }
.checkout-form-grid label.full { grid-column: 1 / -1; }
.checkout-form-grid input {
  height: 52px; border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; outline: none; background: #fff;
}
.payment-methods { display: grid; gap: 12px; }
.pay-card {
  display: flex; align-items: start; gap: 12px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff;
}
.pay-card.active, .pay-card:hover { border-color: #111; }
.pay-card input { margin-top: 4px; }
.pay-card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.summary-head { align-items: center; margin-bottom: 18px; }
.summary-head h3 { margin: 0; }
.summary-head span { color: var(--muted); font-size: 14px; }
.summary-items { display: grid; gap: 12px; margin-bottom: 18px; }
.summary-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
}
.summary-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; }
.summary-item h4 { margin: 0 0 4px; font-size: 15px; }
.summary-item p { margin: 0; color: var(--muted); font-size: 13px; }
.summary-item strong { font-size: 15px; }
.summary-totals { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.summary-totals .grand-total { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 1.08rem; }
.place-order-btn { margin-top: 18px; }
.center-note { text-align: center; }

@media (max-width: 860px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
}

@media (max-width: 560px) {
  .product-grid {
    grid-auto-flow: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    gap: 14px;
    padding-bottom: 0;
  }
  .product-card { padding: 12px; border-radius: 22px; }
  .product-card h3 { font-size: 0.95rem; }
  .product-card p { min-height: auto; font-size: 13px; }
  .product-meta { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-meta strong { text-align: left; }
  .product-card button { width: 100%; }
  .policy-grid { grid-template-columns: 1fr; margin-top: 20px; }
  .checkout-main-card { padding: 20px; }
  .checkout-form-grid.two-col { grid-template-columns: 1fr; }
  .summary-item { grid-template-columns: 64px 1fr; }
  .summary-item strong { grid-column: 2; }
}


/* v7 section separation polish */
.products { margin-bottom: 0; }
.policy-grid { margin-top: 100px; padding-top: 40px; border-top: 1px solid var(--line); }
.review-section { margin-top: 72px; }
@media (max-width: 560px) {
  .policy-grid { margin-top: 72px; padding-top: 28px; }
}

.shop-hero {
  padding: 42px 8px 8px;
}

.shop-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 14px 0;
}

.shop-products {
  padding-top: 10px;
}

.shop-heading {
  margin-bottom: 22px;
}

.site-footer {
  margin-top: 88px;
  background: #111;
  color: #fff;
  border-radius: 32px;
  padding: 34px 28px 18px;
}

.compact-footer {
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  display: block;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 6px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,0.74);
  font-size: 14px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 64px;
    padding: 28px 18px 16px;
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sub-footer {
    flex-direction: column;
  }
}


/* v10 mobile polish */
.checkout-header { position: relative; }
.mobile-menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow);
}
.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111;
}

@media (max-width: 560px) {
  .site-header {
    position: relative;
    top: 0;
    gap: 16px;
    padding: 18px 16px;
  }

  .brand {
    width: 100%;
  }

  .header-actions {
    gap: 12px;
    align-items: center;
  }

  .search-box input {
    width: 100%;
    height: 54px;
  }

  .cart-btn {
    min-width: 98px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
  }

  .nav-links {
    justify-content: space-between;
    gap: 0;
  }

  .nav-links a {
    flex: 1 1 25%;
    text-align: center;
  }

  .hero {
    padding-top: 28px;
    gap: 24px;
  }

  .hero-copy,
  .shop-hero,
  .shop-heading,
  .section-heading.compact,
  .sale-banner,
  .checkout-title-row {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .shop-hero .eyebrow,
  .section-heading .eyebrow,
  .checkout-title-row .eyebrow {
    margin-inline: auto;
  }

  .hero-copy h1,
  .shop-hero h1,
  .section-heading h2,
  .checkout-title-row h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy p,
  .shop-hero p,
  .section-heading p,
  .sale-banner p,
  .checkout-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
  }

  .section-heading,
  .section-heading.compact {
    align-items: center;
    margin: 52px 0 22px;
  }

  .shop-heading .filter-pills,
  .section-heading .filter-pills {
    justify-content: center;
  }

  .feature-strip article {
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }

  .sale-banner {
    padding: 28px 22px;
  }

  .sale-banner .btn-dark {
    margin-inline: auto;
  }

  .checkout-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .checkout-header .brand {
    width: auto;
    grid-column: 1 / 2;
  }

  .checkout-header .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 2 / 3;
  }

  .checkout-header .nav-links {
    display: none;
  }

  .checkout-header .back-shop-link {
    grid-column: 1 / -1;
    width: fit-content;
    margin: 2px auto 0;
  }

  .checkout-title-row {
    flex-direction: column;
    align-items: center;
  }

  .checkout-badge {
    margin-inline: auto;
  }
}


/* v11 mobile navigation + alignment fixes */
.site-header { overflow: visible; }
.site-menu-toggle { display: none; }

.section-heading > div:first-child,
.section-heading.compact > div:first-child {
  display: grid;
  gap: 10px;
}

.section-heading h2,
.section-heading.compact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading .eyebrow,
.section-heading.compact .eyebrow {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 24px rgba(17,17,17,0.06);
}

@media (max-width: 560px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    border-radius: 32px;
    padding: 18px 16px 16px;
  }

  .site-header .brand {
    width: auto;
    grid-column: 1 / 2;
  }

  .site-header .site-menu-toggle {
    display: inline-flex;
    grid-column: 2 / 3;
    justify-self: end;
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .site-header .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
  }

  .site-header .search-box { width: 100%; }

  .site-header .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(17,17,17,0.08);
    gap: 8px;
  }

  .site-header.menu-open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    text-align: center;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 600;
  }

  .site-header .nav-links a:hover {
    background: #f9f9fb;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    padding: 14px 18px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
  }

  .hero-stats div {
    text-align: center;
    justify-items: center;
  }

  .categories,
  .products,
  .review-section {
    margin-top: 26px;
  }

  .section-heading,
  .section-heading.compact {
    text-align: center;
    gap: 16px;
    margin: 42px 0 18px;
  }

  .section-heading h2,
  .section-heading.compact h2 {
    font-size: 2.6rem;
  }

  .filter-pills {
    justify-content: center;
  }

  .checkout-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .checkout-header .back-shop-link {
    margin: 0;
    justify-self: start;
  }
}
