:root {
  --ink: #211b18;
  --muted: #746b64;
  --line: #eee4dc;
  --cream: #fffaf4;
  --soft: #fff1e8;
  --pink: #f8b9c8;
  --rose: #d95f7c;
  --mint: #dff4ea;
  --green: #2f7c57;
  --white: #fff;
  --shadow: 0 16px 40px rgba(90, 66, 48, .09);
}

/* TinyTrove-inspired landing theme */
:root {
  --ink: #080706;
  --muted: #5f5a55;
  --line: #efe6de;
  --cream: #fffaf3;
  --soft: #fff3ec;
  --pink: #ffb9b0;
  --rose: #f47f89;
  --mint: #d9f8f0;
  --green: #3b9d91;
  --blue: #97c8ff;
  --yellow: #ffe08a;
  --shadow: 0 18px 48px rgba(86, 59, 38, .12);
}

body {
  background:
    radial-gradient(circle at top left, rgba(217, 248, 240, .9), transparent 34rem),
    radial-gradient(circle at top right, rgba(255, 224, 138, .45), transparent 28rem),
    var(--cream);
}

.site-main {
  padding-top: 20px;
}

.site-header {
  background: rgba(255, 255, 255, .9);
}

.top-strip {
  background: var(--mint);
  color: #1f746b;
}

.brand-logo {
  width: 42px;
  height: 42px;
  max-width: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

.brand-name {
  font-size: 22px;
  font-weight: 950;
}

.nav-links a,
.shop-tabs a,
.pill {
  border-color: rgba(8, 7, 6, .08);
  box-shadow: 0 8px 20px rgba(88, 61, 42, .04);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.rainbow-btn {
  color: var(--ink);
  min-height: 56px;
  padding: 13px 28px;
  background: linear-gradient(90deg, #ff938d 0%, #ffd47a 35%, #b7f0d5 67%, #8ebcff 100%);
  box-shadow: 0 14px 30px rgba(244, 127, 137, .22);
}

.mint-btn {
  width: 100%;
  color: var(--ink);
  background: #bfeee7;
}

.tiny-hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 26px;
  align-items: stretch;
  min-height: 500px;
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(217, 248, 240, .96), rgba(255, 255, 255, .72)),
    var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tiny-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 4vw, 42px);
}

.tiny-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tiny-hero h1 {
  max-width: 680px;
  margin: 10px 0 14px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .95;
  letter-spacing: 0;
}

.tiny-hero p {
  max-width: 540px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.2;
}

.tiny-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tiny-hero-media {
  position: relative;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  background: #f9eee7;
}

.tiny-hero-media img { aspect-ratio: 1072 / 1920;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.hero-float-card strong {
  font-size: 16px;
}

.hero-float-card span {
  color: var(--green);
  font-weight: 850;
  font-size: 13px;
}

.tiny-section {
  margin-top: 40px;
}

.tiny-section-title {
  text-align: center;
  margin-bottom: 18px;
}

.tiny-section-title h2,
.how-card h2 {
  margin: 4px 0 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.tiny-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tiny-design-card {
  min-width: 0;
  text-align: center;
}

.tiny-design-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(86, 59, 38, .08);
}

.tiny-design-card h3 {
  margin: 12px 0 2px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.05;
}

.tiny-design-card p {
  margin: 0 0 12px;
  font-size: 22px;
}

.how-card {
  margin-top: 42px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(180deg, #def9f3, #cbf1ea);
  box-shadow: var(--shadow);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.steps-grid div {
  display: grid;
  gap: 8px;
  justify-items: center;
  font-size: clamp(16px, 2.4vw, 26px);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.review-strip {
  margin: 38px auto 0;
  text-align: center;
  font-size: clamp(20px, 3vw, 32px);
}

.instagram-section {
  margin-top: 40px;
  padding: clamp(18px, 4vw, 32px);
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(8, 7, 6, .08);
  box-shadow: var(--shadow);
}

.instagram-embed {
  overflow: hidden;
  border-radius: 22px;
}

.instagram-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(217, 248, 240, .9), rgba(255, 243, 236, .95));
}

.instagram-fallback strong {
  display: block;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.1;
}

.instagram-fallback p {
  margin: 8px 0 0;
  color: var(--muted);
}

.compact-coupon {
  margin: 12px 0;
}

.coupon-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 900;
  font-size: 13px;
}

.coupon-fields {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.coupon-fields label {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}

.coupon-fields input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  outline: 0;
}

.review-strip p {
  margin: 2px 0;
}

.review-strip span {
  color: var(--muted);
  font-size: .72em;
}

.seo-strip {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(8, 7, 6, .08);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 10px 28px rgba(86, 59, 38, .06);
}

.seo-strip p {
  margin: 0;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.35;
}

.stars {
  color: #ffc43d;
  letter-spacing: 2px;
  font-size: .9em;
}

.tiny-category-grid .category-tile {
  border-radius: 20px;
}

.product-card,
.category-tile,
.summary-card,
.checkout-panel,
.info-card {
  border-color: rgba(8, 7, 6, .08);
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 78px;
  }

  .header-search,
  .nav-links,
  .menu-toggle {
    display: none;
  }

  .nav-shell {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .tiny-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
    border-radius: 28px;
  }

  .tiny-hero-copy {
    padding: 18px 12px 4px;
  }

  .tiny-hero-media {
    min-height: 360px;
    order: -1;
  }

  .tiny-actions .btn {
    width: 100%;
  }

  .tiny-feature-grid,
  .steps-grid,
  .product-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .tiny-feature-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .tiny-design-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .steps-grid {
    gap: 18px;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 8px 10px 12px;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 32px rgba(86, 59, 38, .08);
    backdrop-filter: blur(14px);
  }

  .mobile-tabbar a {
    display: grid;
    justify-items: center;
    gap: 2px;
    color: #4c4a47;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-tabbar span {
    font-size: 25px;
    line-height: 1;
  }

  .mobile-tabbar a.active {
    color: var(--green);
  }

  .instagram-fallback {
    display: grid;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }

.site-main {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 44px;
}

.top-strip {
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 244, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--pink);
  color: #7d2439;
  font-size: 12px;
}

.brand-name { font-size: 19px; letter-spacing: 0; font-weight: 900; }

.brand-logo {
  width: auto;
  height: 32px;
  max-width: 120px;
  object-fit: contain;
}

.header-search,
.page-search,
.coupon-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}

.header-search input,
.page-search input,
.coupon-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--ink);
}

.header-search button {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 9px 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 12px;
  font-weight: 700;
}

.nav-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
  padding-bottom: 2px;
  flex-wrap: wrap;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 700;
}

.cart-link { position: relative; display: inline-flex; align-items: center; }
.cart-link svg { display: block; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  padding: 0 3px;
  line-height: 1;
}

/* Mobile tab bar cart badge */
.cart-tab-wrap { position: relative; display: inline-flex; }
.tab-cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 0 3px;
  line-height: 1;
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 800;
  text-align: center;
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-soft { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.btn.full { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: center;
  min-height: 420px;
  padding: 24px 0 10px;
}

.hero-copy h1,
.page-head h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 7vw, 68px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy p,
.page-head p,
.site-footer p,
.muted {
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.hero-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.hero-panel img,
.product-image img,
.detail-gallery > img,
.cart-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  padding: 9px 13px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.section { margin-top: 34px; }
.section-head { margin-bottom: 14px; }
.section-head h2,
.summary-card h2,
.checkout-panel h2,
.info-card h2 {
  margin: 4px 0 0;
  font-size: 24px;
  letter-spacing: 0;
}

.row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.text-link,
.text-button {
  color: var(--rose);
  font-weight: 800;
  background: none;
  border: 0;
  padding: 0;
}

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

.category-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 26px rgba(90, 66, 48, .05);
  font-weight: 800;
}

.category-tile img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 14px;
  background: var(--soft);
  margin-bottom: 10px;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(90, 66, 48, .06);
}

.product-image-wrap {
  position: relative;
  background: var(--soft);
}

.product-image {
  display: block;
  position: relative;
  background: var(--soft);
  aspect-ratio: 1 / 1.08;
}

.wishlist-heart-form {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
}

.wish-heart {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #f47f89;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.wish-heart:hover {
  color: #d9235f;
  transform: translateY(-1px);
}

.delivery-badge,
.stock-badge,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.delivery-badge {
  position: absolute;
  left: 9px;
  top: 9px;
  background: var(--mint);
  color: var(--green);
}

.delivery-badge.inline {
  position: static;
  width: max-content;
}

.stock-badge {
  position: absolute;
  right: 9px;
  top: 9px;
  background: #fff0f0;
  color: #b42335;
}

.stock-badge.low {
  background: #fff7d6;
  color: #946200;
}

.product-info { padding: 12px; }
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.product-meta span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 8px;
}

.product-title {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 11px;
}

.product-price strong,
.detail-price strong { font-size: 20px; }
.product-price span,
.detail-price span {
  color: var(--muted);
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.product-actions form { min-width: 0; }
.product-actions .btn {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding: 22px 0;
}

.page-head.compact { align-items: center; }
.page-search {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  background: var(--white);
}

.shop-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 8px;
  scrollbar-width: none;
}

.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs a,
.pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  white-space: nowrap;
  font-weight: 800;
}

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

.pagination a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
}

.pagination a.active { background: var(--ink); color: var(--white); }

.empty-state,
.notice {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}

.empty-state p,
.notice { color: var(--muted); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.detail-gallery > img {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.thumb-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

.thumb {
  flex: 0 0 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

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

.detail-info h1 {
  margin: 8px 0 8px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.detail-price {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge-row span {
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  padding: 7px 10px;
  font-weight: 900;
  font-size: 13px;
}

.badge-row .danger {
  background: #fff0f0;
  color: #b42335;
}

.badge-row .warning {
  background: #fff7d6;
  color: #946200;
}

.detail-summary { color: var(--muted); }

.buy-box {
  margin: 18px 0 10px;
  display: grid;
  gap: 12px;
}

.buy-box label,
.coupon-box label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.buy-box input,
.qty-form input {
  width: 84px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: var(--white);
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wishlist-line button {
  border: 0;
  background: transparent;
  color: var(--rose);
  font-weight: 900;
  padding: 6px 0 0;
}

.info-card,
.summary-card,
.checkout-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(90, 66, 48, .05);
}

.info-card { margin-top: 20px; }

.spec-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 12px;
}

.spec-list dt { color: var(--muted); font-weight: 800; }
.spec-list dd { margin: 0; }

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.cart-list { display: grid; gap: 12px; }

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}

.cart-item > a {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
}

.cart-item-info {
  display: grid;
  gap: 8px;
}

.cart-title { font-weight: 900; }
.cart-price { font-weight: 900; }

.qty-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-line-total {
  display: grid;
  justify-items: end;
  align-content: space-between;
  gap: 12px;
}

.summary-card {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 14px;
}

.coupon-row {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  padding: 5px;
}

.summary-line,
.summary-total,
.mini-items div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-line { color: var(--muted); }
.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 20px;
  font-weight: 900;
}

.checkout-panel {
  display: grid;
  gap: 16px;
}

.guest-checkout .checkout-panel,
.guest-checkout .summary-card {
  border-radius: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.field.full { grid-column: 1 / -1; }
.field span:not(.phone-input) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.field input,
.custom-name-row input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
  font-size: 16px;
}

.phone-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  padding-left: 12px;
}

.phone-input b {
  color: var(--green);
  font-size: 16px;
}

.phone-input input {
  border: 0;
  background: transparent;
  padding-left: 0;
}

.custom-name-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  padding: 14px;
}

.custom-name-panel p {
  margin: -4px 0 2px;
  color: var(--muted);
}

.custom-name-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
}

.custom-name-row img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--soft);
}

.custom-name-row span {
  display: grid;
  gap: 7px;
}

.amazon-summary .mini-items {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.mini-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
}

.mini-item img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--soft);
}

.free-delivery-line {
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.place-order-btn {
  min-height: 54px;
  font-size: 17px;
}

.order-success {
  max-width: 620px;
  margin: 24px auto;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 42px;
  font-weight: 900;
}

.payment-page {
  display: grid;
  place-items: center;
  padding: 20px 0 40px;
}

.payment-card {
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: center;
}

.payment-card h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1;
}

.payment-amount {
  border-radius: 18px;
  background: var(--mint);
  color: var(--green);
  padding: 16px;
  font-size: 34px;
  font-weight: 900;
}

.upi-qr {
  width: min(280px, 100%);
  margin: 0 auto;
  border: 10px solid var(--cream);
  border-radius: 18px;
}

.payment-steps {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.payment-steps h2,
.payment-steps p {
  margin: 0;
}

.orders-lookup {
  display: grid;
  gap: 22px;
}

.lookup-card {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.form-error {
  margin: 0;
  color: #b42335;
  font-weight: 800;
}

.orders-results {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(90, 66, 48, .05);
  padding: 14px;
}

.order-card > div,
.order-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.order-card span {
  color: var(--muted);
}

.order-card-items {
  display: grid !important;
  justify-content: stretch !important;
}

.order-badge {
  display: inline-flex;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.order-badge.paid {
  background: var(--mint);
  color: var(--green);
}

.order-badge.pending {
  background: #fff7d6;
  color: #946200;
}

.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.order-main {
  display: grid;
  gap: 16px;
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
}

.progress-step {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.progress-step span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
}

.progress-step.done {
  color: var(--green);
}

.progress-step.done span {
  background: var(--mint);
  color: var(--green);
}

.payment-reminder,
.amazon-order-box,
.invoice-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(90, 66, 48, .05);
}

.payment-reminder {
  display: grid;
  gap: 10px;
}

.payment-reminder img {
  width: 180px;
  border-radius: 16px;
  border: 8px solid var(--cream);
}

.amazon-order-box {
  display: grid;
  gap: 12px;
}

.amazon-order-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.amazon-order-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.amazon-order-item img {
  width: 82px;
  height: 82px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--soft);
}

.amazon-order-item div {
  display: grid;
  gap: 4px;
}

.amazon-order-item span,
.invoice-note {
  color: var(--muted);
}

.address-list,
.payment-list,
.mini-items {
  display: grid;
  gap: 10px;
}

.address-card,
.payment-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: var(--cream);
}

.address-card span {
  display: grid;
  gap: 3px;
}

.address-card small,
.address-card em,
.mini-items span {
  color: var(--muted);
  font-style: normal;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(217, 248, 240, .42), rgba(255, 255, 255, .96)),
    var(--white);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.footer-grid {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1.1fr 1.8fr 1fr;
  gap: 22px;
  padding: 38px 0 30px;
}

.seo-footer > section,
.seo-footer > nav {
  min-width: 0;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-about p {
  max-width: 420px;
  color: var(--muted);
  margin: 0 0 16px;
}

.footer-about address {
  display: grid;
  gap: 4px;
  max-width: 360px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(8, 7, 6, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font-style: normal;
  box-shadow: 0 10px 28px rgba(86, 59, 38, .06);
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--ink);
}

.site-footer a:not(.brand) {
  display: block;
  color: var(--muted);
  margin: 8px 0;
  font-weight: 750;
}

.site-footer a:not(.brand):hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-only {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

.footer-social {
  display: block;
}

.footer-map h3 {
  margin-bottom: 10px;
}

.map-embed {
  overflow: hidden;
  border: 1px solid rgba(8, 7, 6, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 10px 28px rgba(86, 59, 38, .06);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.map-placeholder {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(8, 7, 6, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
}

.map-placeholder p {
  margin: 0;
  color: var(--muted);
}

.map-placeholder a {
  width: max-content;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(8, 7, 6, .08);
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 850;
}

.footer-social a {
  width: max-content;
  border: 1px solid rgba(8, 7, 6, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  padding: 8px 13px;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(37, 211, 102, .35);
}

.alert {
  width: min(1180px, calc(100% - 28px));
  margin: 12px auto 0;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.alert-success { color: var(--green); }
.alert-danger,
.alert-error { color: #b42335; }
.btn-close {
  float: right;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
}

.btn-close::before { content: "×"; }
.text-center { text-align: center; }

@media (max-width: 920px) {
  .hero,
  .product-detail,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .summary-card { position: static; }
  .order-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-main {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .nav-shell {
    width: min(100% - 20px, 1180px);
    grid-template-columns: 1fr auto;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .menu-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    overflow: visible;
  }

  .nav-links.is-open { display: flex; }

  .hero {
    min-height: 0;
    padding-top: 14px;
  }

  .hero-panel { order: -1; border-radius: 20px; }
  .hero-copy h1,
  .page-head h1 { font-size: 38px; }

  .page-head {
    display: grid;
    align-items: start;
  }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }

  .product-card { border-radius: 14px; }
  .product-info { padding: 10px; }
  .product-title { font-size: 14px; min-height: 40px; }
  .product-actions { grid-template-columns: 1fr; }

  .detail-actions { grid-template-columns: 1fr; }

  .cart-item {
    grid-template-columns: 82px 1fr;
  }

  .cart-line-total {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    justify-items: start;
    align-items: center;
  }

  .coupon-row { border-radius: 16px; }
  .coupon-row .btn { min-width: 82px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-map iframe { height: 160px; }
  .footer-bottom { display: grid; gap: 6px; padding-bottom: 88px; }
  .field-grid { grid-template-columns: 1fr; }
  .mini-item { grid-template-columns: 46px 1fr; }
  .mini-item strong { grid-column: 2; }
  .order-progress {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .progress-step {
    grid-template-columns: 32px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
  }
  .amazon-order-item {
    grid-template-columns: 70px 1fr;
  }
  .amazon-order-item > strong {
    grid-column: 2;
  }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Final landing-theme overrides must stay after legacy responsive rules. */
.tiny-hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 26px;
  align-items: stretch;
}

.mobile-tabbar { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: 78px; }
  .header-search,
  .nav-links,
  .menu-toggle { display: none; }
  .nav-shell {
    display: flex;
    justify-content: space-between;
    width: min(100% - 20px, 1180px);
    padding: 14px 0;
  }
  .tiny-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
    border-radius: 28px;
  }
  .tiny-hero-media {
    min-height: 360px;
    order: -1;
  }
  .tiny-actions .btn { width: 100%; }
  .steps-grid,
  .product-grid,
  .category-grid { grid-template-columns: 1fr; }
  .tiny-feature-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .tiny-design-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 8px 10px 12px;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 32px rgba(86, 59, 38, .08);
    backdrop-filter: blur(14px);
  }
  .mobile-tabbar a {
    display: grid;
    justify-items: center;
    gap: 2px;
    color: #4c4a47;
    font-size: 12px;
    font-weight: 850;
  }
  .mobile-tabbar span {
    font-size: 25px;
    line-height: 1;
  }
  .mobile-tabbar a.active { color: var(--green); }
}

/* ── Flash messages ─────────────────────────────── */
.flash-bar {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 16px 0;
}

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.flash-success { background: #e6f9f0; color: #145c38; border: 1px solid #9fe8c0; }
.flash-error   { background: #fde8ea; color: #8b1c2c; border: 1px solid #f8b4bc; }
.flash-info    { background: #e8f3fd; color: #1a4a7c; border: 1px solid #a8d4f8; }

.flash-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: .45;
  flex-shrink: 0;
  padding: 0 4px;
}
.flash-close:hover { opacity: 1; }

/* ── Auth forms ─────────────────────────────────── */
.auth-wrap {
  width: min(440px, 100%);
  margin: 36px auto 60px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  display: grid;
  gap: 14px;
}

.auth-card h2 { margin: 0; font-size: 20px; }

.auth-section { display: grid; gap: 12px; }

.auth-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 4px 0;
}

.auth-links {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.auth-links a { color: var(--green); }

/* ── Footer nav group ───────────────────────────── */
.footer-nav-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  min-width: 0;
}

/* ── Map link ────────────────────────────────────── */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  width: max-content;
}

.map-link:hover { color: var(--ink); }

/* ── Modern Mobile Overrides ────────────────────── */
@media (max-width: 760px) {
  /* Bottom tab bar — pill active state */
  .mobile-tabbar {
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    gap: 0;
  }

  .mobile-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 16px;
    padding: 6px 4px 8px;
    color: #9a9490;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.03em;
    transition: background 0.18s, color 0.18s;
    position: relative;
  }

  .mobile-tabbar a span {
    font-size: 22px;
    line-height: 1.1;
    transition: transform 0.18s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-tabbar a span svg { width: 22px; height: 22px; }

  .mobile-tabbar a.active {
    background: var(--soft);
    color: var(--rose);
  }

  .mobile-tabbar a.active span {
    transform: scale(1.12);
  }

  /* Smooth card interactions */
  .product-card,
  .category-tile,
  .info-card {
    transition: box-shadow 0.2s, transform 0.2s;
  }

  /* Better 2-col product grid on mobile */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

/* ── Mobile footer layout ───────────────────────── */
@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
    padding: 28px 0 20px;
  }

  .footer-about {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .site-footer h3 {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 900;
  }

  .site-footer a:not(.brand),
  .site-footer a:not(.brand):not(.map-link):not(.btn) {
    color: var(--ink);
    font-size: 15px;
    border-left: 2px solid var(--line);
    padding: 4px 0 4px 10px;
  }

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

  .footer-nav-group > * {
    min-width: 0;
    box-sizing: border-box;
  }

  .footer-nav-group > *:first-child {
    padding: 0 12px 0 0;
  }

  .footer-nav-group > *:last-child {
    padding: 0 0 0 12px;
    border-left: 1px solid var(--line);
  }

  .footer-map {
    margin-bottom: 4px;
  }

  .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-social h3 {
    width: 100%;
  }

  .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
  }

  .map-embed iframe {
    height: 160px;
  }

  .footer-bottom {
    display: grid;
    justify-items: center;
    gap: 6px;
    text-align: center;
    font-size: 12px;
    padding-bottom: 96px;
  }
}

/* ── Mobile: bigger fonts & proper clickable styles ─ */
@media (max-width: 760px) {
  /* Base font size bump for mobile readability */
  body { font-size: 16px; }

  /* Product card text */
  .product-title { font-size: 15px; }
  .product-price strong { font-size: 17px; }
  .product-meta span { font-size: 12px; }

  /* Buttons — taller touch targets */
  .btn { min-height: 48px; font-size: 15px; padding: 12px 18px; }
  .product-actions .btn { min-height: 44px; font-size: 14px; }

  /* Nav links — pill style, clearly tappable */
  .nav-links a {
    font-size: 15px;
    padding: 11px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Mobile tabbar text size */
  .mobile-tabbar a { font-size: 11px; }
  .mobile-tabbar a span { font-size: 24px; }

  /* Section headings */
  .section-head h2 { font-size: 22px; }
  .tiny-section-title h2 { font-size: 26px; }

  /* Shop filter tabs */
  .shop-tabs a { font-size: 14px; padding: 11px 16px; min-height: 44px; }

  /* Pagination */
  .pagination a { width: 44px; height: 44px; font-size: 15px; }

  /* Order & cart text */
  .cart-title { font-size: 15px; }
  .cart-price { font-size: 16px; }
  .summary-total { font-size: 18px; }

  /* Footer links — look clickable, not plain text */
  .site-footer a:not(.brand):not(.map-link):not(.btn) {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    display: block;
  }
  .site-footer a:not(.brand):not(.map-link):not(.btn):hover {
    color: var(--rose);
    border-bottom-color: var(--rose);
  }

  .site-footer h3 { font-size: 14px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

  /* Footer about - clear separator */
  .footer-about { border-bottom: 1px solid var(--line); padding-bottom: 22px; }

  /* Footer map */
  .footer-map { border-bottom: 1px solid var(--line); padding-bottom: 22px; }

  /* Footer social — pill buttons */
  .footer-social a {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    width: auto;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-flex;
    border-bottom: 1px solid var(--line) !important;
  }

  /* Footer bottom bar */
  .footer-bottom {
    text-align: center;
    font-size: 13px;
    padding-bottom: 100px;
  }

  /* Map link */
  .map-link { font-size: 14px; }

  /* Detail page */
  .detail-info h1 { font-size: 26px; }
  .detail-price strong { font-size: 22px; }

  /* Auth cards */
  .auth-card h2 { font-size: 22px; }
  .field input { font-size: 16px; }

  /* Page headings */
  .page-head h1 { font-size: 28px; }
}

/* ── Mobile footer polish ───────────────────────── */
@media (max-width: 680px) {
  .footer-about {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .site-footer h3 {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 900;
  }

  .site-footer a:not(.brand),
  .site-footer a:not(.brand):not(.map-link):not(.btn) {
    color: var(--ink);
    font-size: 15px;
    border-left: 2px solid var(--line);
    padding: 4px 0 4px 10px;
  }

  .footer-nav-group > *:first-child {
    padding: 0 12px 0 0;
  }

  .footer-nav-group > *:last-child {
    padding: 0 0 0 12px;
    border-left: 1px solid var(--line);
  }

  .footer-map {
    margin-bottom: 4px;
  }

  .site-footer .footer-social a,
  .site-footer .footer-social a:not(.brand):not(.map-link):not(.btn) {
    margin: 0;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
  }

  .footer-bottom {
    display: grid;
    justify-items: center;
    gap: 6px;
    text-align: center;
    font-size: 12px;
  }
}

/* ── Tablet footer: about + map on top row ──────── */
@media (max-width: 920px) and (min-width: 681px) {
  .footer-nav-group {
    grid-column: 1 / -1;
  }

  .footer-social {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-social h3 {
    width: 100%;
    margin-bottom: 4px;
  }

  .footer-social a {
    width: auto;
  }
}

@media (max-width: 760px) {
  .footer-nav-group nav { padding-bottom: 4px; }
  .footer-nav-group nav:first-child { padding-right: 16px; border-right: 1px solid var(--line); }
  .footer-nav-group nav:last-child { padding-left: 16px; }
  .footer-bottom { text-align: center; display: grid; gap: 4px; }
}

/* ── Premium Desktop Footer Layout ──────────────── */
.footer-shell-2col {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 60px;
  padding: 48px 0 40px;
}

.footer-links-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.footer-nav-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-about p {
  max-width: 380px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer-contact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-contact-chip {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink) !important;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-contact-chip:hover {
  background: var(--white);
  border-color: var(--green);
  color: var(--green) !important;
}

.footer-social-list {
  display: grid;
  gap: 10px;
}

/* Responsive adjustments for the new footer structure */
@media (max-width: 920px) {
  .footer-shell-2col {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px 16px;
  }
  
  .footer-links-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .footer-nav-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .footer-nav-group nav {
    padding: 0 !important;
    border: 0 !important;
  }
}

/* ── Trust badge strip (Optimized 3 Columns) ──────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 12px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(8, 7, 6, 0.08);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(86, 59, 38, 0.06);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.trust-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.trust-item small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 680px) {
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 20px;
  }
}

/* Sort dropdown styling */
.sort-select {
  background: var(--soft, #fff3ec);
  border: 1px solid var(--line, #efe6de);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #080706);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23080706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 32px;
}

.sort-select:focus {
  outline: 2px solid var(--mint, #d9f8f0);
  outline-offset: 2px;
}

.sort-select option {
  background: white;
  color: var(--ink);
}

/* Responsive repair layer: keep this last so older duplicated rules cannot hide content. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-main,
.nav-shell,
.footer-shell-2col,
.footer-bottom {
  width: min(1180px, calc(100% - 28px));
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 800;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: none;
  min-width: 220px;
  max-height: min(420px, calc(100vh - 170px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-dropdown[data-open="true"] .nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown-menu a {
  border: 0;
  box-shadow: none;
  border-radius: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--green);
}

.qty-stepper,
.coupon-apply-row,
.share-row,
.product-bottom-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qty-stepper {
  flex-wrap: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 4px;
}

.qty-stepper input {
  width: 48px;
  min-height: 34px;
  border: 0;
  padding: 4px;
  text-align: center;
  background: transparent;
}

.qty-arrow {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}

.coupon-apply-row {
  flex-wrap: nowrap;
}

.coupon-apply-row input {
  min-width: 0;
}

.share-row {
  justify-content: flex-end;
}

.share-label {
  color: var(--muted);
  font-weight: 900;
}

.share-wa {
  background: #25d366;
  color: var(--white);
}

.sticky-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 34px rgba(86, 59, 38, .12);
}

.sticky-buy-bar.visible {
  display: block;
}

.sticky-buy-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.sticky-product-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.sticky-product-price {
  color: var(--green);
  font-weight: 900;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer .social-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.site-footer .social-icon svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 921px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 1100px) {
  .tiny-hero {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .tiny-hero h1 {
    font-size: clamp(38px, 6vw, 66px);
  }

  .shop-layout {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 920px) {
  .product-detail,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-shell-2col,
  .footer-links-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 78px;
  }

  .site-main,
  .nav-shell,
  .footer-shell-2col,
  .footer-bottom {
    width: min(100% - 20px, 1180px);
  }

  .site-main {
    padding-top: 12px;
  }

  .nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(18px, 6vw, 24px);
  }

  .brand-logo {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
  }

  .header-search,
  .nav-links {
    display: none;
  }

  .mobile-menu {
    z-index: 1000;
  }

  .mobile-menu-overlay {
    z-index: 999;
  }

  .tiny-hero {
    gap: 14px;
    padding: 12px;
    border-radius: 24px;
  }

  .tiny-hero-copy {
    padding: 12px 4px 4px;
  }

  .tiny-hero h1 {
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1;
  }

  .tiny-hero p {
    font-size: 18px;
  }

  .tiny-hero-media {
    border-radius: 20px;
    aspect-ratio: 4 / 5;
  }

  .hero-float-card {
    left: 10px;
    bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-head,
  .page-head.compact {
    display: grid;
    align-items: start;
    gap: 12px;
    padding: 16px 0;
  }

  .page-head h1 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .page-search {
    width: 100%;
  }

  .shop-tabs {
    margin-left: -10px;
    margin-right: -10px;
    padding: 0 10px 12px;
  }

  .shop-sort-bar {
    gap: 12px;
    align-items: stretch;
  }

  .sort-form,
  .sort-select {
    width: 100%;
  }

  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tiny-feature-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .tiny-design-card {
    flex: 0 0 78%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .tiny-design-card h3 {
    font-size: 17px;
  }

  .tiny-design-card p {
    font-size: 18px;
  }

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

  .product-info {
    display: grid;
    min-width: 0;
  }

  .product-title {
    min-height: 38px;
    font-size: 14px;
  }

  .product-price {
    flex-wrap: wrap;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-actions .btn {
    min-height: 42px;
    padding: 8px;
    font-size: 13px;
  }

  .delivery-badge,
  .stock-badge,
  .product-meta span {
    font-size: 10px;
    padding: 5px 7px;
  }

  .wish-heart {
    width: 38px;
    height: 38px;
  }

  .product-detail {
    gap: 18px;
  }

  .detail-actions,
  .product-bottom-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .share-row {
    justify-content: stretch;
  }

  .share-row .btn {
    flex: 1 1 130px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .cart-line-total {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    justify-items: start;
    align-items: center;
  }

  .field-grid,
  .custom-name-row {
    grid-template-columns: 1fr;
  }

  .custom-name-row img {
    width: 72px;
    height: 72px;
  }

  .coupon-apply-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mini-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .mini-item strong {
    grid-column: 2;
  }

  .instagram-fallback {
    grid-template-columns: 1fr;
  }

  .footer-contact-row,
  .footer-nav-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-links-panel {
    gap: 24px;
  }

  .footer-bottom {
    padding-bottom: 96px;
  }

  .whatsapp-float {
    bottom: 88px;
  }

  .sticky-buy-bar {
    bottom: 64px;
  }
}

@media (max-width: 390px) {
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-meta {
    display: none;
  }

  .product-actions .btn {
    font-size: 12px;
  }

  .footer-contact-row,
  .footer-nav-group {
    grid-template-columns: 1fr;
  }
}

/* ── Shop Banner ── */
.shop-banner {
  background: linear-gradient(135deg, #fff0f6 0%, #ffebd4 50%, #e8f8f5 100%);
  border-radius: 28px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.shop-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
}
.shop-banner-text .kicker {
  display: block;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 4px;
}
.shop-banner-text h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 950;
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1.15;
}
.shop-banner-text p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.shop-banner-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.shop-tab-btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
}
.shop-tab-btn:hover,
.shop-tab-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
@media (max-width: 600px) {
  .shop-banner-inner { padding: 1.25rem; }
  .shop-banner-text h1 { font-size: 1.4rem; }
  .shop-banner { border-radius: 20px; }
}
