@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,700&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --ink: #27211d;
  --muted: #72675f;
  --line: #e6ded6;
  --paper: #fffaf4;
  --white: #ffffff;
  --rose: #a7354d;
  --brand: #a7354d;
  --marigold: #d28b1f;
  --teal: #176f73;
  --green: #1d7a4d;
  --danger: #8b1e3f;
  --shadow: 0 14px 40px rgba(67, 40, 29, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

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

/* Cover-fit images inside known media containers */
.brand-mark img,
.product-media img,
.cart-item-image img,
.admin-product-image img,
.category-tile img,
.product-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 56px);
  background: #2b2520;
  color: #fff7ed;
  font-size: 13px;
}

.topbar p {
  margin: 0;
}

.premium-offer-strip {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px clamp(16px, 4vw, 56px);
  background: #6f0920;
  color: #fff8eb;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.premium-offer-strip span,
.premium-offer-strip a {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.premium-offer-strip a {
  background: #d8aa72;
  color: #281309;
}

.topbar a {
  color: #ffd48a;
  font-weight: 700;
}

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

.policy-nav,
.department-nav,
.brand-row {
  padding-inline: clamp(16px, 4vw, 56px);
}

.policy-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 480px) auto;
  gap: 18px;
  align-items: center;
  padding-block: 18px;
}

.brand-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-self: end;
  flex-wrap: wrap;
}

.seller-actions,
.customer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.seller-actions {
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(167, 53, 77, 0.08);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.88);
}

.customer-actions {
  gap: 12px;
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

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

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  max-width: 14ch;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.02;
  letter-spacing: 0.015em;
  color: #2a1c19;
  text-transform: capitalize;
  text-wrap: balance;
}

.brand small {
  display: block;
  position: relative;
  padding-left: 18px;
  margin-top: 6px;
  color: #8a6d57;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand small::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: linear-gradient(90deg, #d28b1f, rgba(210, 139, 31, 0.2));
  transform: translateY(-50%);
}

.search,
.newsletter {
  display: flex;
}

.search input,
.newsletter input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
}

button,
.button,
.cart-link,
.account-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.search button,
.newsletter button {
  border-radius: 0 6px 6px 0;
}

.cart-link {
  gap: 8px;
  background: var(--teal);
}

.seller-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(167, 53, 77, 0.18);
  background: #fff4f6;
  color: var(--rose);
  font-weight: 800;
  white-space: nowrap;
  font-size: 14px;
}

.seller-link.secondary {
  background: #f3f7f7;
  color: var(--teal);
  border-color: rgba(23, 111, 115, 0.18);
}

.account-cta {
  background: var(--rose);
  color: white;
}

.policy-nav .account-cta {
  margin-left: auto;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.brand-actions .account-cta {
  min-height: 42px;
}

.admin-name-badge {
  display: inline-flex;
  min-height: 34px;
  max-width: 220px;
  align-items: center;
  border: 1px solid rgba(167, 53, 77, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff7f8;
  color: var(--rose);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.department-nav {
  display: flex;
  gap: 24px;
  min-height: 48px;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  font-weight: 700;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(90deg, rgba(30, 21, 19, 0.82), rgba(30, 21, 19, 0.38), rgba(30, 21, 19, 0.18)),
    url("https://images.pexels.com/photos/27575174/pexels-photo-27575174.jpeg?auto=compress&cs=tinysrgb&w=1600") center 42% / cover;
}

.hero-copy {
  max-width: 640px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 380px);
  gap: 28px;
  width: 100%;
  align-items: end;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--marigold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* === Premium hero/page-hero heading === */
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;

  /* Champagne-gold gradient text — luxe finish over the dark hero gradient */
  background: linear-gradient(135deg,
    #fff7e6 0%,
    #f8e3b8 22%,
    #d4a858 55%,
    #c9a35f 75%,
    #ead0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Subtle warm halo so it stays readable on lighter background patches */
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.18))
          drop-shadow(0 8px 28px rgba(167, 53, 77, 0.18));

  /* Optional: light italic flourish for short page titles */
}

/* If the heading wraps, balance line breaks like a magazine */
@supports (text-wrap: balance) {
  .hero h1,
  .page-hero h1 {
    text-wrap: balance;
  }
}

/* Small flourishes underneath the title (gold filigree line) */
.page-hero h1 + p,
.hero h1 + p {
  position: relative;
}

/* Honour reduced motion — already covered by global rule, no extra anims here */

.hero p:not(.eyebrow) {
  max-width: 530px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.18), rgba(255, 248, 239, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-panel h2,
.catalog-intro-card strong {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-panel p,
.hero-panel li {
  margin: 0;
  color: rgba(255, 247, 239, 0.86);
}

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

.hero-stat-grid article {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stat-grid strong {
  font-size: 24px;
  line-height: 1;
}

.hero-stat-grid span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 247, 239, 0.78);
}

.hero-promise-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
}

.hero-panel-cta {
  width: 100%;
}

.button.primary {
  background: var(--marigold);
  color: #23140a;
}

.button.secondary {
  background: white;
  color: var(--ink);
}

.offer-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 clamp(16px, 4vw, 56px);
  padding: 26px clamp(18px, 4vw, 34px);
  border-radius: 24px;
  background: linear-gradient(120deg, #3e2729, #b07a1b);
  color: #fff7ef;
  box-shadow: var(--shadow);
}

.offer-banner h2,
.cart-summary-card h3,
.cart-item-copy h3 {
  margin: 0;
}

.offer-banner p:not(.eyebrow),
.cart-summary-card p,
.cart-item-copy p {
  margin: 0;
  color: rgba(255, 247, 239, 0.88);
}

.premium-discovery,
.quick-shop-panels,
.customer-proof {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 56px);
}

.premium-discovery {
  background: #fffaf4;
}

.premium-tile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(220px, 1fr);
  gap: 16px;
}

.premium-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
  box-shadow: 0 16px 34px rgba(67, 40, 29, 0.12);
  isolation: isolate;
}

.premium-tile.tall {
  grid-row: span 2;
}

.premium-tile.wide {
  grid-column: span 2;
}

.premium-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.premium-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 21, 19, 0.02), rgba(30, 21, 19, 0.72));
  z-index: 0;
}

.premium-tile span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff8eb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.premium-tile:hover img {
  transform: scale(1.04);
}

.quick-shop-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: linear-gradient(180deg, #fffaf4, #f5ece1);
}

.quick-shop-panels article,
.customer-proof {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(67, 40, 29, 0.08);
}

.quick-shop-panels article {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.quick-shop-panels h2,
.customer-proof h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.5vw, 34px);
}

.quick-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-chip-row a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(167, 53, 77, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff7f8;
  color: var(--rose);
  font-weight: 800;
}

.customer-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.35fr;
  gap: 26px;
  align-items: center;
  margin: clamp(24px, 4vw, 54px) clamp(16px, 4vw, 56px);
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(120deg, #2b1f1c, #702038);
  color: #fff8eb;
}

.customer-proof p {
  max-width: 560px;
  color: rgba(255, 248, 235, 0.82);
  line-height: 1.7;
}

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

.proof-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(216, 170, 114, 0.18);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-grid strong {
  color: #d8aa72;
  font-size: 30px;
  line-height: 1;
}

.proof-grid span {
  color: rgba(255, 248, 235, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.category-band,
.shop-layout,
.service-strip,
.trust-ribbon,
.policy-page,
.tracking-page,
.subcategory-section {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 56px);
}

.subcategory-section {
  padding-top: 24px;
}

.subcategory-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 22px;
}

.subcategory-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subcategory-chip,
.tag.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f6efe6;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 700;
}

.subcategory-chip {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.subcategory-chip:hover,
.subcategory-chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-1px);
}

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

.section-head h2,
.filters h2,
.site-footer h2,
.policy-card h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
}

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

.category-tile {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #ddd;
  isolation: isolate;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 18, 16, 0.02), rgba(28, 18, 16, 0.7));
}

.category-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  z-index: 1;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  background: white;
}

.filters {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.filters label,
.filters fieldset {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.filters select {
  border-radius: 6px;
}

.filters fieldset {
  border: 0;
  padding: 0;
}

.filters legend {
  color: var(--ink);
  font-weight: 800;
}

.filters span {
  display: inline-block;
  color: var(--muted);
  font-weight: 400;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf9, #fff7ef);
  box-shadow: 0 12px 28px rgba(67, 40, 29, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(67, 40, 29, 0.12);
}

.empty-state {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fffaf7;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.product-media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 3 / 4;
  background: #eee;
  overflow: hidden;
}

.product-badge,
.wishlist-button {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(39, 33, 29, 0.16);
}

.product-badge {
  left: 12px;
  top: 12px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff8eb;
  color: #6f0920;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.wishlist-button {
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(167, 53, 77, 0.14);
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rose);
  font-size: 22px;
  line-height: 1;
}

.wishlist-button.active {
  background: var(--rose);
  color: #fff;
}

.product-media img.image-fallback,
.cart-item-image img.image-fallback,
.admin-product-image img.image-fallback,
.product-modal-image-wrap img.image-fallback {
  object-fit: contain;
  padding: 22px;
  background: #fff;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.product-body h3 {
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.product-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 6px;
  color: #7a5216;
  font-size: 12px;
  font-weight: 800;
}

.product-rating span {
  color: #d28b1f;
  letter-spacing: 0.08em;
}

.price {
  color: var(--rose);
  font-weight: 900;
}

.price-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 30px;
}

.compare-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 14px;
}

.discount-pill,
.stock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.discount-pill {
  background: #fbe3b4;
  color: #6b4600;
}

.stock-badge {
  background: #e2f6ea;
  color: #17633b;
}

.stock-badge.low-stock {
  background: #fff0cf;
  color: #8a5a00;
}

.stock-badge.sold-out {
  background: #f7d6de;
  color: #8b1e3f;
}

.tag {
  color: var(--muted);
  font-size: 12px;
}

.tag:not(.alt) {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.add-cart {
  width: 100%;
  min-height: 48px;
  background: var(--green);
}

.product-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.product-actions .button,
.product-actions button {
  min-height: 48px;
  text-align: center;
}

.buy-whatsapp-button {
  width: 100%;
}

.size-guide-box {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(167, 53, 77, 0.14);
  border-radius: 10px;
  padding: 14px;
  background: #fff8f1;
}

.size-guide-box strong,
.size-guide-box p {
  margin: 0;
}

.size-guide-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background:
    radial-gradient(circle at top left, rgba(210, 139, 31, 0.12), transparent 34%),
    #f3eadf;
}

.service-strip div {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(210, 139, 31, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.trust-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 10px;
}

.trust-ribbon article,
.catalog-intro-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf9, #fff4e7);
  box-shadow: 0 10px 24px rgba(67, 40, 29, 0.08);
}

.trust-ribbon strong {
  font-size: 18px;
}

.trust-ribbon span,
.catalog-intro-card p {
  color: var(--muted);
  line-height: 1.7;
}

.inline-link {
  color: var(--rose);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-intro-card {
  margin-bottom: 18px;
}

.catalog-intro-card p {
  margin: 0;
}

.service-strip span,
.site-footer p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.6;
}

/* === Premium site footer === */
.site-footer {
  position: relative;
  padding: 56px clamp(16px, 4vw, 56px) 24px;
  background: linear-gradient(180deg, #2b2520 0%, #1f1a16 100%);
  color: #f6e7d3;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(16px, 4vw, 56px);
  right: clamp(16px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(216, 170, 114, 0.5) 20%,
    rgba(216, 170, 114, 0.5) 80%,
    transparent);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.9fr 0.95fr 1.05fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(216, 170, 114, 0.18);
}

.site-footer-brand p {
  margin: 14px 0 0;
  max-width: 360px;
  color: rgba(246, 231, 211, 0.74);
  line-height: 1.65;
  font-size: 14px;
}

.site-footer-contact {
  font-size: 13px !important;
  color: rgba(246, 231, 211, 0.6) !important;
  letter-spacing: 0.01em;
}

.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-col h2 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d8aa72;
}

.site-footer-col a {
  display: inline-block;
  margin: 0;
  padding: 2px 0;
  color: rgba(246, 231, 211, 0.86);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.site-footer-baseline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(246, 231, 211, 0.55);
  letter-spacing: 0.04em;
}

.site-footer-baseline small {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site-footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer-legal a {
  color: rgba(246, 231, 211, 0.7);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.site-footer-legal a:hover {
  color: #d8aa72;
}

/* Footer brand link inherits from .brand but with white text and warm accents */
.footer-brand {
  color: #fff6ec;
  align-items: flex-start;
}

.footer-brand .brand-mark {
  width: 52px;
  height: 52px;
  border-color: rgba(216, 170, 114, 0.28);
  background: rgba(255, 255, 255, 0.96);
}

.footer-brand strong {
  max-width: none;
  color: #fff6ec;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.1;
}

.footer-brand .brand-tagline {
  color: #d8aa72;
}

.footer-brand .brand-tagline::before {
  background: linear-gradient(90deg, #d8aa72, rgba(216, 170, 114, 0.18));
}

@media (max-width: 980px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 40px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer-baseline {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 13px 18px;
  border-radius: 999px;
  background: #21a85b;
  color: white;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.cart-section {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 56px);
  background: #fff;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: 22px;
}

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

.cart-item-card,
.cart-summary-card,
.image-preview-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf7;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.cart-item-image {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #efe7df;
}

.cart-item-copy {
  display: grid;
  gap: 6px;
}

.cart-item-copy p {
  color: var(--muted);
}

.cart-item-copy strong,
.cart-summary-line strong {
  color: var(--rose);
}

.cart-item-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.cart-qty-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: #fff;
}

.qty-button {
  min-height: 34px;
  min-width: 34px;
  padding: 0;
  border-radius: 50%;
  background: var(--ink);
}

.cart-remove-button {
  min-height: 38px;
}

.cart-summary-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.cart-summary-card p {
  color: var(--muted);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-hero {
  padding: clamp(42px, 7vw, 86px) clamp(16px, 4vw, 56px);
  color: white;
  background: linear-gradient(115deg, #3a2528, #176f73);
}

.page-hero p {
  max-width: 720px;
  line-height: 1.7;
}

.policy-page,
.tracking-page {
  background: white;
}

.policy-card,
.tracking-card {
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 42px);
  background: white;
  box-shadow: var(--shadow);
}

.policy-card li + li {
  margin-top: 10px;
}

.tracking-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}

.tracking-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
}

.account-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 56px);
  background: white;
}

.account-menu,
.form-card,
.data-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.account-menu {
  align-self: start;
  padding: 16px;
}

.account-menu a {
  display: block;
  padding: 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.account-menu a:hover,
.account-menu a.active {
  background: #f7eee6;
  color: var(--ink);
}

.form-card,
.data-card {
  padding: clamp(20px, 4vw, 36px);
}

.review-status-block {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.auth-stack {
  display: grid;
  gap: 24px;
}

.auth-choice-card {
  display: grid;
  gap: 18px;
}

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

.auth-choice-button {
  min-height: 54px;
  font-size: 16px;
}

.auth-helper-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-note {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff8ef;
}

.info-note details {
  display: grid;
  gap: 10px;
}

.info-note summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 700;
}

.info-note summary::-webkit-details-marker {
  display: none;
}

.info-dot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--marigold);
  color: #23140a;
  font-size: 13px;
  font-weight: 800;
}

.info-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-highlight {
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 111, 115, 0.16);
  border-radius: 16px;
  background: #f2f9f8;
}

.privacy-highlight strong,
.privacy-highlight p {
  margin: 0;
}

.privacy-highlight p {
  color: var(--muted);
  line-height: 1.7;
}

.safety-page {
  display: grid;
  gap: 24px;
}

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

.safety-card {
  max-width: none;
}

.safety-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

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

.safety-steps.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-steps article,
.safety-inline-box,
.checkout-note {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff8ef;
}

.safety-steps strong,
.safety-inline-box strong,
.checkout-note strong {
  color: var(--ink);
}

.safety-steps span,
.safety-inline-box p,
.checkout-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.safety-helper-card {
  background: linear-gradient(180deg, #fffdf9, #f7fbfb);
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent-check input {
  margin-top: 4px;
}

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

.form-grid label,
.full-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.form-grid h2,
.full-field {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.full-field input,
.full-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

.form-grid textarea,
.full-field textarea {
  min-height: 110px;
  padding-block: 12px;
}

.form-grid input[type="checkbox"],
.form-grid input[type="radio"],
.full-field input[type="checkbox"],
.full-field input[type="radio"] {
  width: auto;
  min-height: auto;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

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

.table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row p {
  margin: 5px 0 0;
  color: var(--muted);
}

.seller-cta-card,
.vendor-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf7;
  box-shadow: var(--shadow);
}

.seller-cta-card {
  margin-top: 24px;
  padding: 22px;
}

.seller-cta-card h3,
.seller-cta-card p,
.vendor-card h3,
.vendor-card p {
  margin: 0;
}

.seller-cta-card {
  display: grid;
  gap: 12px;
}

.vendor-form-shell,
.vendor-dashboard-shell {
  max-width: 1080px;
  margin: 0 auto;
}

.vendor-application-list {
  display: grid;
  gap: 18px;
}

.vendor-report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.report-summary-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf7;
}

.report-summary-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.report-summary-card strong {
  font-size: 26px;
  font-family: Georgia, "Times New Roman", serif;
}

.report-section {
  display: grid;
  gap: 18px;
}

.report-table-wrap {
  overflow-x: auto;
}

.report-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: #fff;
}

.report-table th,
.report-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.report-table th {
  position: sticky;
  top: 0;
  background: #fbf2e7;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.report-table tbody tr:nth-child(even) {
  background: #fffcf8;
}

.vendor-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.vendor-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.vendor-details-grid,
.vendor-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vendor-details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vendor-status-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.checkout-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf5ef;
}

.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.checkout-summary strong:last-child {
  color: var(--rose);
}

.admin-shell {
  display: grid;
  gap: 28px;
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 56px);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.admin-panel,
.admin-summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.admin-panel h2,
.admin-summary-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

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

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field.full-width,
.admin-actions,
.admin-list-toolbar,
.admin-product-list,
.admin-message {
  grid-column: 1 / -1;
}

.admin-field label {
  font-weight: 700;
  color: var(--muted);
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.admin-field textarea {
  min-height: 110px;
  resize: vertical;
}

.image-preview-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.image-preview-card img {
  display: none;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  background: #efe7df;
}

.image-preview-card p {
  margin: 0;
  color: var(--muted);
}

.product-review-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 4px;
}

.product-review-list h3 {
  margin: 0;
  font-size: 16px;
}

.product-review-list article {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-review-list p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 17, 16, 0.72);
}

.product-modal-overlay[hidden] {
  display: none !important;
}

.product-modal-card {
  position: relative;
  width: min(920px, 100%);
  border-radius: 24px;
  background: #fffaf7;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 2;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.product-modal-image-wrap {
  background: #f0e6dc;
  min-height: 480px;
}

.product-modal-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(39, 33, 29, 0.88);
  z-index: 3;
}

.modal-stock,
.modal-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.modal-open {
  overflow: hidden;
}

.admin-actions,
.admin-list-toolbar,
.admin-summary-grid,
.admin-product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.secondary-button {
  background: #f5ede4;
  color: var(--ink);
  border: 1px solid var(--line);
}

.danger-button {
  background: var(--danger);
}

.admin-message {
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-summary-card strong {
  display: block;
  font-size: 36px;
  font-family: Georgia, "Times New Roman", serif;
}

.admin-summary-card span {
  color: var(--muted);
  font-weight: 700;
}

.admin-overview-grid {
  align-items: start;
}

.admin-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-mini-stat,
.admin-action-card,
.admin-insight-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf7;
}

.admin-mini-stat {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.admin-mini-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-mini-stat strong {
  font-size: 26px;
  font-family: Georgia, "Times New Roman", serif;
}

.admin-action-list,
.admin-insight-list {
  display: grid;
  gap: 14px;
}

.admin-action-card,
.admin-insight-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.admin-action-card strong {
  min-width: 56px;
  font-size: 28px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand);
}

.admin-action-card h3,
.admin-action-card p,
.admin-insight-card h3,
.admin-insight-card p {
  margin: 0;
}

.admin-action-card h3,
.admin-insight-card h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.admin-action-card p,
.admin-insight-card p {
  color: var(--muted);
  line-height: 1.5;
}

.empty-state.compact {
  padding: 18px;
}

.admin-product-list {
  display: grid;
  gap: 16px;
}

.admin-product-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fffaf7;
}

.admin-product-image {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f0ece7;
}

.admin-product-copy h3,
.admin-product-copy p {
  margin: 0;
}

.admin-product-copy h3 {
  margin-bottom: 6px;
}

@media (max-width: 980px) {
  .hero-layout,
  .brand-row,
  .shop-layout,
  .site-footer,
  .account-shell,
  .checkout-steps,
  .admin-grid,
  .cart-layout,
  .offer-banner,
  .product-modal-grid,
  .vendor-details-grid,
  .vendor-status-grid {
    grid-template-columns: 1fr;
  }

  .brand-actions {
    justify-self: stretch;
    justify-content: space-between;
  }

  .category-grid,
  .premium-tile-grid,
  .quick-shop-panels,
  .customer-proof,
  .proof-grid,
  .product-grid,
  .admin-summary-grid,
  .admin-settings-grid,
  .admin-product-grid,
  .admin-overview-stats,
   .vendor-report-summary,
   .hero-stat-grid,
   .trust-ribbon,
   .safety-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-tile.tall,
  .premium-tile.wide,
  .customer-proof > div {
    grid-column: auto;
    grid-row: auto;
  }

  .safety-grid,
  .safety-steps.compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar,
  .section-head,
  .service-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .category-grid,
  .premium-tile-grid,
  .quick-shop-panels,
  .customer-proof,
  .proof-grid,
  .product-grid,
  .tracking-form,
  .form-grid,
  .auth-choice-grid,
  .admin-summary-grid,
   .admin-settings-grid,
   .admin-product-grid,
   .admin-overview-stats,
   .vendor-report-summary,
   .hero-stat-grid,
   .trust-ribbon,
   .safety-grid,
   .safety-steps,
   .safety-steps.compact {
    grid-template-columns: 1fr;
  }

  .premium-offer-strip {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .brand-row {
    gap: 14px;
    padding-block: 14px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand strong {
    max-width: 100%;
    font-size: clamp(20px, 7vw, 28px);
  }

  .brand small {
    padding-left: 0;
    letter-spacing: 0.1em;
  }

  .brand small::before {
    display: none;
  }

  .search {
    order: 3;
  }

  .search input,
  .search button {
    min-height: 46px;
  }

  .brand-actions {
    gap: 12px;
    justify-content: stretch;
  }

  .seller-actions,
  .customer-actions {
    width: 100%;
  }

  .seller-actions,
  .customer-actions {
    justify-content: space-between;
  }

  .seller-link,
  .cart-link,
  .account-cta {
    flex: 1 1 0;
  }

  .hero-panel,
  .catalog-intro-card,
  .trust-ribbon article,
  .service-strip div,
  .product-card {
    border-radius: 18px;
  }

  .hero-panel {
    padding: 22px;
  }

  .product-body {
    padding: 16px;
  }

  .admin-product-card,
  .cart-item-card {
    grid-template-columns: 1fr;
  }
}


/* === Accessibility & UX additions === */

/* Brand tagline (replacement for the previous <small> hack) */
.brand-tagline {
  display: block;
  position: relative;
  padding-left: 18px;
  margin-top: 6px;
  color: #8a6d57;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: linear-gradient(90deg, #d28b1f, rgba(210, 139, 31, 0.2));
  transform: translateY(-50%);
}

.footer-brand .brand-tagline {
  color: #d8aa72;
}

.footer-brand .brand-tagline::before {
  background: linear-gradient(90deg, #d8aa72, rgba(216, 170, 114, 0.18));
}

@media (max-width: 640px) {
  .brand-tagline {
    padding-left: 0;
    letter-spacing: 0.1em;
  }
  .brand-tagline::before {
    display: none;
  }
}

/* Visible focus ring for keyboard users */
:focus-visible {
  outline: 3px solid #176f73;
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #176f73;
  outline-offset: 2px;
}

/* Skip-to-content link for screen-reader/keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .product-card:hover {
    transform: none;
  }

  .subcategory-chip:hover,
  .subcategory-chip.active {
    transform: none;
  }
}

/* Improve tap targets on small screens */
@media (max-width: 640px) {
  button,
  .button,
  .cart-link,
  .account-cta,
  .seller-link {
    min-height: 46px;
  }

  .policy-nav a,
  .department-nav a {
    padding: 6px 4px;
  }
}

/* === Checkout payment page === */
.checkout-steps-pay {
  grid-template-columns: minmax(0, 1.4fr) 360px;
}

.pay-stack {
  display: grid;
  gap: 18px;
}

.pay-test-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff0cf;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pay-method-card {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf7;
  box-shadow: 0 8px 20px rgba(67, 40, 29, 0.06);
  display: grid;
  gap: 12px;
}

.pay-method-card--primary {
  border-color: rgba(167, 53, 77, 0.32);
  background:
    linear-gradient(135deg, rgba(167, 53, 77, 0.06), rgba(210, 139, 31, 0.06)),
    #fffaf7;
  box-shadow: 0 16px 36px rgba(167, 53, 77, 0.12);
}

.pay-method-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}

.pay-method-card h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  /* override the gold gradient applied to page-hero h1 — keep card heading inky */
  background: none;
  -webkit-text-fill-color: currentColor;
}

.pay-method-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-method-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pay-method-button {
  justify-self: start;
  min-width: 220px;
}

.pay-method-card--primary .pay-method-button {
  background: linear-gradient(135deg, var(--rose), #c2466a);
  color: #fff;
}

.pay-method-card--primary .pay-method-button:hover {
  filter: brightness(1.06);
}

.pay-safety-note {
  margin-top: 6px;
}

.pay-message {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  line-height: 1.6;
}

.pay-message--success {
  background: #e9f9ef;
  border-color: rgba(29, 122, 77, 0.32);
  color: #114d2e;
}

.pay-message--error {
  background: #fdecef;
  border-color: rgba(139, 30, 63, 0.32);
  color: #5a0e21;
}

.pay-message--info {
  background: #fff8ef;
  border-color: rgba(210, 139, 31, 0.32);
  color: #5a3a00;
}

.pay-summary {
  align-self: start;
  position: sticky;
  top: 110px;
}

.pay-summary-meta {
  margin: -6px 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pay-summary-items {
  list-style: none;
  margin: 0 0 6px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--muted);
}

.pay-summary-items .pay-empty {
  color: var(--muted);
  font-style: italic;
}

.pay-summary-total {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.pay-summary-total strong {
  color: var(--rose);
}

body.pay-busy .pay-method-button {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .checkout-steps-pay {
    grid-template-columns: 1fr;
  }
  .pay-summary {
    position: static;
  }
}

/* === Auth-required banner on create-account.html === */
.auth-required-banner {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(167, 53, 77, 0.32);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(167, 53, 77, 0.08), rgba(210, 139, 31, 0.08));
  color: var(--ink);
  line-height: 1.6;
}

.auth-required-banner strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--rose);
}

.auth-required-banner p {
  margin: 0;
  color: var(--muted);
}

[data-form-message].auth-error {
  color: #8b1e3f;
  font-weight: 700;
}

[data-form-message].auth-success {
  color: #1d7a4d;
  font-weight: 700;
}

/* === Bulk inventory import / export panel === */
#bulkInventoryPanel {
  display: grid;
  gap: 18px;
}

.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bulk-drop-zone {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 36px 22px;
  border: 2px dashed rgba(167, 53, 77, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8ef, #fffaf7);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.bulk-drop-zone:hover,
.bulk-drop-zone.dragover {
  border-color: var(--rose);
  background: linear-gradient(180deg, #fff1e7, #fff7ef);
}

.bulk-drop-zone strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  color: var(--ink);
}

.bulk-drop-zone span {
  color: var(--muted);
  font-size: 14px;
}

.bulk-status {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  line-height: 1.6;
}
.bulk-status--info    { background: #fff8ef; border-color: rgba(210, 139, 31, 0.32); color: #5a3a00; }
.bulk-status--success { background: #e9f9ef; border-color: rgba(29, 122, 77, 0.32); color: #114d2e; }
.bulk-status--error   { background: #fdecef; border-color: rgba(139, 30, 63, 0.32); color: #5a0e21; }

/* === Admin order management === */
.order-management-page {
  box-sizing: border-box;
  gap: 1rem;
  margin: 0 auto;
  max-width: 1320px;
  width: 100%;
}

.order-management-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.order-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}

.order-panel-head h1 {
  margin: .1rem 0 0;
  font-size: 2rem;
  line-height: 1.1;
}

.order-tabs {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0 1.15rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.order-tab {
  appearance: none;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #5e514b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 54px;
  padding: 0 .25rem;
  white-space: nowrap;
}

.order-tab.active {
  border-bottom-color: var(--brand);
  color: var(--brand);
}

.order-toolbar {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(150px, 190px) minmax(260px, 1fr);
  gap: 1rem;
  align-items: end;
  padding: 1rem 1.15rem;
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
}

.order-search-field {
  min-width: 0;
}

.order-selection-bar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  padding: .75rem 1.15rem;
}

.order-selection-bar label {
  align-items: center;
  color: #3d2b25;
  display: inline-flex;
  font-weight: 800;
  gap: .5rem;
}

.order-selection-bar input,
.order-select-cell input {
  accent-color: var(--brand);
  height: 18px;
  width: 18px;
}

.order-selection-count {
  color: #5f6b7a;
  font-size: .9rem;
}

.order-selection-bar .button {
  min-height: 34px;
  padding: .35rem .75rem;
}

.order-bulk-actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.order-bulk-actions[hidden] {
  display: none;
}

.order-management-panel > .admin-message {
  margin: 1rem 1.15rem;
}

.order-board {
  min-height: 360px;
  background: #f5f7fb;
}

.order-table-wrap {
  overflow-x: auto;
}

.order-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: #fff;
}

.order-table th,
.order-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid #dfe5ee;
  border-right: 1px solid #e5eaf1;
  text-align: left;
  vertical-align: top;
}

.order-table th:last-child,
.order-table td:last-child {
  border-right: 0;
}

.order-table th {
  background: #e9edf4;
  color: #111827;
  font-size: .82rem;
  font-weight: 800;
}

.order-select-cell {
  text-align: center;
  width: 44px;
}

.order-product-summary {
  display: flex;
  gap: .75rem;
  min-width: 0;
}

.order-product-thumb {
  align-items: center;
  background: #f8f2ee;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand);
  display: inline-flex;
  flex: 0 0 56px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: .82rem;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 56px;
}

.order-product-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.order-product-name {
  color: #241914;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  max-width: 360px;
}

.order-product-sub,
.order-status-text,
.order-customer-cell span {
  color: #5f6b7a;
  display: block;
  font-size: .82rem;
  line-height: 1.45;
  margin: .18rem 0 0;
}

.order-dispatch-cell strong {
  display: block;
  margin-bottom: .45rem;
}

.order-sla,
.order-awb-chip,
.order-label-state,
.order-alert-chip {
  border-radius: 6px;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  margin: .15rem .2rem .15rem 0;
  padding: .35rem .55rem;
}

.order-sla {
  background: #fff1df;
  color: #b45309;
}

.order-awb-chip,
.order-label-state {
  background: #e9f9ef;
  color: #115e3b;
}

.order-alert-chip {
  background: #fdecef;
  color: #8b1e3f;
}

.order-action-stack {
  display: grid;
  gap: .45rem;
  min-width: 138px;
}

.order-action-stack .button {
  min-height: 38px;
  padding: .55rem .8rem;
  width: 100%;
}

.order-empty-state {
  align-items: center;
  color: #6b7280;
  display: grid;
  gap: .4rem;
  justify-items: center;
  min-height: 360px;
  text-align: center;
}

.order-empty-state strong {
  color: #374151;
  font-size: 1.1rem;
}

@media (max-width: 760px) {
  .order-panel-head,
  .order-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .order-panel-head {
    display: grid;
  }

  .order-tabs {
    gap: 1rem;
  }
}

.bulk-preview {
  overflow-x: auto;
}

.bulk-preview-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}
.bulk-preview-table th,
.bulk-preview-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}
.bulk-preview-table th {
  background: #fbf2e7;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.bulk-preview-errors {
  background: #fdecef;
  border: 1px solid rgba(139, 30, 63, 0.32);
  border-radius: 12px;
  padding: 14px 18px;
  color: #5a0e21;
  line-height: 1.55;
}
.bulk-preview-errors ol {
  margin: 10px 0 0 18px;
  padding: 0;
  font-size: 13px;
}

.bulk-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

#bulkApplyButton:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


/* === Delhivery pincode + tracking widgets === */
.pincode-widget {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.pincode-widget-label {
  font-weight: 700;
  color: var(--ink);
}
.pincode-widget-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.pincode-widget-row input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
.pincode-widget-result {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fffaf7;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.pincode-widget-result--ok {
  background: #e9f9ef;
  border-color: rgba(29, 122, 77, 0.32);
  color: #114d2e;
}
.pincode-widget-result--error {
  background: #fdecef;
  border-color: rgba(139, 30, 63, 0.32);
  color: #5a0e21;
}
.pincode-widget-demo {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff0cf;
  color: #8a5a00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ship-estimate {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
}
.ship-estimate strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  color: var(--ink);
}
.ship-estimate p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.tracking-timeline {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tracking-timeline li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--rose);
  background: #fffaf7;
  border-radius: 0 12px 12px 0;
}
.tracking-timeline li strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  color: var(--ink);
}
.tracking-timeline li span {
  font-size: 13px;
  color: var(--muted);
}

/* === Reports page === */
.report-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}
.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.report-tab {
  min-height: 40px;
  padding: 0 18px;
  background: transparent;
  color: var(--muted);
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.report-tab.active {
  color: var(--ink);
  border-bottom-color: var(--rose);
}
.report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.report-kpi {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fffaf7);
}
.report-kpi span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.report-kpi strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: var(--ink);
}
.report-table-wrap { overflow-x: auto; }
.report-json {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  background: #fffaf7;
}
.report-json pre {
  margin: 12px 0 0;
  max-height: 360px;
  overflow: auto;
  font-size: 12px;
  font-family: Consolas, "Courier New", monospace;
  white-space: pre-wrap;
}
.report-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.report-chart {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf7;
}
.report-chart h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
}
.top-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.top-products li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
}
.top-products .rank {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-weight: 800;
}
.top-products .name { color: var(--ink); font-weight: 700; }
.top-products .rev { color: var(--muted); text-align: right; }
.top-products em { color: var(--muted); font-style: normal; font-size: 12px; }

@media (max-width: 800px) {
  .report-chart-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Floating cart button — visible on every page when cart has items
   ============================================================ */
.mfh-floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--rose, #a7354d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px 13px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(167,53,77,.38);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  outline: none;
}
.mfh-floating-cart:hover,
.mfh-floating-cart:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(167,53,77,.48);
  color: #fff;
  text-decoration: none;
}
.mfh-floating-cart svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.mfh-floating-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--rose, #a7354d);
  border-radius: 50px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.mfh-floating-cart[hidden] { display: none !important; }

/* pop animation when count changes */
.mfh-floating-cart.mfh-cart-pop .mfh-floating-cart-badge {
  animation: mfhPop .3s ease;
}
@keyframes mfhPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
@media (max-width: 600px) {
  .mfh-floating-cart { bottom: 16px; right: 16px; padding: 11px 16px 11px 14px; font-size: 14px; }
}

/* ============================================================
   Floating cart button — visible on every page when cart has items
   ============================================================ */
.mfh-floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--rose, #a7354d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px 13px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(167,53,77,.38);
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  outline: none;
}
.mfh-floating-cart:hover,
.mfh-floating-cart:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(167,53,77,.48);
  color: #fff;
  text-decoration: none;
}
.mfh-floating-cart svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.mfh-floating-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--rose, #a7354d);
  border-radius: 50px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.mfh-floating-cart[hidden] { display: none !important; }
.mfh-floating-cart.mfh-cart-pop .mfh-floating-cart-badge {
  animation: mfhPop .3s ease;
}
@keyframes mfhPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
@media (max-width: 600px) {
  .mfh-floating-cart { bottom: 16px; right: 16px; padding: 11px 16px 11px 14px; font-size: 14px; }
}
