/*
 * HappyOnam 4.1 — premium multi-category commerce.
 * FastAPI + HTMX underneath; polished consumer app on the surface.
 */

:root {
  --premium-ink: #202027;
  --premium-copy: #62636f;
  --premium-cloud: #f6f7fb;
  --premium-white: #ffffff;
  --premium-line: #e8e9f0;
  --premium-coral: #ff4f6d;
  --premium-orange: #ff8a34;
  --premium-plum: #4d2d62;
  --premium-mint: #dff5e9;
  --premium-display: "Outfit", sans-serif;
  --premium-body: "Manrope", sans-serif;
  --premium-beam: linear-gradient(135deg, #ff4f6d 0%, #ff684d 48%, #ff9638 100%);
  --premium-shadow: 0 18px 55px rgba(34, 28, 45, .09);
  --premium-shadow-hover: 0 24px 65px rgba(34, 28, 45, .14);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

body.storefront-body {
  --ink: var(--premium-ink);
  --muted: var(--premium-copy);
  --bg: var(--premium-cloud);
  --border: var(--premium-line);
  --relay: var(--premium-coral);
  --relay-dark: #e83c5b;
  --indigo: var(--premium-ink);
  --indigo-soft: #34343d;
  --pista: #ffd9ab;
  min-width: 0;
  overflow-x: clip;
  background: var(--premium-white);
  color: var(--premium-ink);
  font-family: var(--premium-body);
}

.storefront-body h1,
.storefront-body h2,
.storefront-body h3 {
  font-family: var(--premium-display);
  font-variation-settings: normal;
  font-weight: 700;
  letter-spacing: -.04em;
}

.page-shell,
.storefront-body .container {
  width: min(100%, 1440px);
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.storefront-body :focus-visible {
  outline: 3px solid rgba(255, 79, 109, .55);
  outline-offset: 3px;
}

.store-eyebrow {
  color: var(--premium-coral);
  font-family: var(--premium-body);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.announcement-bar {
  background: #1f1f25;
  color: #fff;
}
.announcement-inner {
  min-height: 2.15rem;
  font-family: var(--premium-body);
  font-size: .58rem;
  letter-spacing: .01em;
}
.market-status i {
  background: #60d394;
  box-shadow: 0 0 0 .25rem rgba(96, 211, 148, .14);
}
.announcement-inner > a b { color: #ff9a55; }

.site-header {
  border-bottom: 1px solid rgba(232, 233, 240, .9);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 30px rgba(32, 32, 39, .055);
  backdrop-filter: blur(20px);
}
.site-header-inner {
  grid-template-columns: auto minmax(18rem, 1fr) auto;
  min-height: 5rem;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.logo { gap: .72rem; }
.logo-mark {
  width: 2.7rem;
  height: 2.7rem;
  overflow: hidden;
  border: 0;
  border-radius: .85rem;
  background: var(--premium-beam);
  color: #fff;
  font-family: var(--premium-display);
  box-shadow: 0 10px 25px rgba(255, 79, 109, .22);
}
.logo-mark::before {
  top: -.45rem;
  right: -.45rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
}
.logo-mark i {
  right: .28rem;
  bottom: .28rem;
  border-radius: 50%;
  background: #fff;
}
.logo strong {
  font-family: var(--premium-display);
  font-size: 1.16rem;
  letter-spacing: -.045em;
}
.logo small {
  color: #8a8994;
  font-family: var(--premium-body);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: none;
}

.header-search {
  max-width: 48rem;
  border: 1px solid transparent;
  border-radius: .9rem;
  background: #f4f5f8;
}
.header-search:focus-within {
  border-color: rgba(255,79,109,.34);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,79,109,.08);
}
.header-search input {
  min-height: 3rem;
  color: var(--premium-ink);
  font-family: var(--premium-body);
  font-size: .78rem;
}
.header-search button {
  min-height: 2.25rem;
  border-radius: .65rem;
  background: #27272f;
  font-family: var(--premium-body);
}
.header-search button:hover { background: var(--premium-plum); }

.header-icon-link,
.account-menu summary {
  border-radius: .75rem;
}
.header-icon-link:hover,
.account-menu summary:hover { background: #f5f4f8; }
.cart-btn {
  min-height: 2.75rem;
  border: 0;
  border-radius: .75rem;
  background: var(--premium-beam);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255,79,109,.2);
}
.cart-btn:hover {
  background: var(--premium-beam);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255,79,109,.28);
}
.cart-btn .badge {
  background: #fff;
  color: var(--premium-coral);
}

.category-nav {
  border-top: 1px solid #f0f0f4;
  background: #fff;
}
.category-nav > div { min-height: 2.7rem; }
.dock-label {
  border: 0;
  border-radius: .55rem;
  background: #fff1f3;
  color: var(--premium-coral);
  font-family: var(--premium-body);
}
.dock-label i { background: var(--premium-coral); }
.category-nav a {
  position: relative;
  color: #5f5e68;
  font-size: .64rem;
  font-weight: 700;
}
.category-nav a::after {
  position: absolute;
  right: .7rem;
  bottom: 0;
  left: .7rem;
  height: 2px;
  border-radius: 999px;
  background: var(--premium-beam);
  content: "";
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .18s ease, transform .18s ease;
}
.category-nav a:hover { color: var(--premium-ink); }
.category-nav a:hover::after { opacity: 1; transform: scaleX(1); }
.category-nav .category-sale { color: var(--premium-coral); }

/* Hero: clean marketplace confidence with one expressive surface. */
.market-hero {
  grid-template-columns: minmax(0, 1.03fr) minmax(28rem, .97fr);
  min-height: 40rem;
  padding-top: clamp(2.2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  gap: clamp(2rem, 6vw, 6rem);
}
.market-hero-copy {
  align-self: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.market-hero-copy::before { display: none; }
.hero-index {
  display: flex;
  justify-content: space-between;
  max-width: 38rem;
  margin-bottom: 1.25rem;
  color: #9795a0;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-chip {
  padding: .42rem .65rem;
  border: 0;
  border-radius: 999px;
  background: #fff0f3;
  color: #9d2843;
  font-family: var(--premium-body);
  font-size: .58rem;
}
.hero-chip span {
  border-radius: 999px;
  background: var(--premium-beam);
}
.market-hero h1 {
  display: block;
  max-width: 13ch;
  margin: 1.15rem 0 1.45rem;
  font-size: clamp(3.25rem, 6vw, 6.7rem);
  line-height: .92;
}
.market-hero h1 span,
.market-hero h1 em { display: inline; }
.market-hero h1 em {
  color: transparent;
  font-style: normal;
  background: var(--premium-beam);
  background-clip: text;
  -webkit-background-clip: text;
}
.market-hero .hero-lede {
  max-width: 39rem;
  color: var(--premium-copy);
  font-size: clamp(.92rem, 1.15vw, 1.04rem);
  line-height: 1.75;
}
.hero-actions { margin-top: 1.8rem; }
.store-btn {
  min-height: 3.25rem;
  border-radius: .85rem;
  font-family: var(--premium-body);
}
.store-btn-primary,
.market-hero .store-btn-primary {
  border: 0;
  background: var(--premium-beam);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255,79,109,.22);
}
.store-btn-primary:hover,
.market-hero .store-btn-primary:hover {
  background: var(--premium-beam);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255,79,109,.3);
}
.text-link { color: var(--premium-ink); }
.text-link span { color: var(--premium-coral); }
.hero-proof {
  margin-top: clamp(2.7rem, 5vw, 4.5rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--premium-line);
}
.hero-proof div { border-right: 1px solid var(--premium-line); }
.hero-proof strong { font-size: .67rem; }
.hero-proof span { font-size: .52rem; }

.market-hero-visual {
  align-self: center;
  min-height: 34rem;
  overflow: hidden;
  border: 0;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 80% 8%, rgba(255,255,255,.8), transparent 28%),
    linear-gradient(145deg, #f2d9f7 0%, #fee4dd 47%, #fff0cf 100%);
  box-shadow: var(--premium-shadow);
}
.market-hero-visual::before {
  top: 3.15rem;
  right: 1.4rem;
  left: 1.4rem;
  height: 1px;
  background: rgba(67,43,77,.12);
}
.hero-board-head {
  color: #5c4663;
  font-family: var(--premium-body);
  font-size: .56rem;
}
.hero-board-head b { color: var(--premium-coral); }
.hero-product { border-radius: 1.15rem; }
.hero-product-main {
  top: 4.5rem;
  right: 7.2rem;
  bottom: 2.8rem;
  left: 1.45rem;
  box-shadow: 0 22px 50px rgba(70,42,72,.16);
}
.hero-product-side {
  top: 5.6rem;
  right: -1rem;
  width: 8.7rem;
  height: 11.5rem;
  border: 5px solid rgba(255,255,255,.8);
  box-shadow: 0 18px 36px rgba(70,42,72,.16);
  transform: rotate(4deg);
}
.hero-product-float {
  right: -.5rem;
  bottom: 4.5rem;
  width: 10.2rem;
  height: 11.5rem;
  border: 5px solid rgba(255,255,255,.8);
  box-shadow: 0 18px 36px rgba(70,42,72,.18);
  transform: rotate(-3deg);
}
.hero-product-caption {
  border-radius: .8rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.hero-sticker {
  right: auto;
  bottom: 1rem;
  left: 1rem;
  border-radius: 1rem;
  background: var(--premium-plum);
  color: #fff;
  box-shadow: 0 10px 25px rgba(77,45,98,.2);
  transform: rotate(-2deg);
}
.hero-market-ribbon { display: none; }

.perks-strip {
  border: 0;
  background: #232229;
  color: #fff;
}
.perks-strip .page-shell {
  min-height: 3.5rem;
  font-size: .58rem;
}
.perks-strip b { color: #ff9a55; }

/* Categories: consistent image-led browsing like a mature commerce app. */
.category-section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section-heading { align-items: end; }
.section-heading h2 {
  max-width: 44rem;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.02;
}
.market-category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.market-category-card,
.market-category-card:nth-child(n) {
  grid-column: auto;
  min-height: 21.5rem;
  padding: .65rem;
  overflow: hidden;
  border: 1px solid var(--premium-line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 30px rgba(32,32,39,.045);
}
.market-category-card:hover {
  border-color: rgba(255,79,109,.22);
  box-shadow: 0 18px 44px rgba(32,32,39,.11);
  transform: translateY(-5px);
}
.category-kicker {
  padding: .3rem .35rem;
  color: #8a8994;
  font-family: var(--premium-body);
  font-size: .5rem;
}
.category-image {
  inset: 2.6rem .65rem 4rem;
  border-radius: .9rem;
}
.category-image::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(24,22,28,.14));
  content: "";
}
.market-category-card:hover .category-image img { transform: scale(1.045); }
.category-card-foot { padding-inline: .3rem; }
.category-card-foot strong { font-size: .8rem; }
.category-card-foot small { color: #888793; }
.category-card-foot b {
  border-radius: .65rem;
  background: #f4f3f7;
  color: var(--premium-coral);
}

.campaign {
  overflow: hidden;
  border: 0;
  border-radius: 2rem;
  background: #272331;
  box-shadow: var(--premium-shadow);
}
.campaign-copy {
  background:
    radial-gradient(circle at 0 100%, rgba(255,138,52,.18), transparent 40%),
    #272331;
  color: #fff;
}
.campaign-copy .store-eyebrow { color: #ffab6f; }
.campaign-copy h2 {
  font-size: clamp(2.4rem, 5vw, 5.1rem);
}
.campaign-art {
  border-left: 0;
  background: var(--premium-beam);
}
.campaign-word {
  color: #fff;
  font-family: var(--premium-display);
  opacity: .95;
}
.campaign-label {
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(30,20,35,.14);
}
.campaign-btn {
  border: 0;
  border-radius: .8rem;
  background: #fff;
  color: var(--premium-ink);
}

/* Product discovery. */
.collection-section { padding-top: clamp(5rem, 9vw, 9rem); }
.shop-filter {
  position: sticky;
  top: 7.8rem;
  z-index: 20;
  gap: .65rem;
  padding: .65rem;
  border: 1px solid var(--premium-line);
  border-radius: 1rem;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 35px rgba(32,32,39,.07);
  backdrop-filter: blur(16px);
}
.shop-filter > * {
  border: 1px solid #ececf1;
  border-radius: .7rem;
  background: #f7f7f9;
}
.shop-filter input,
.shop-filter summary { font-family: var(--premium-body); }
.shop-filter > *:focus-within {
  border-color: rgba(255,79,109,.28);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,79,109,.07);
}
.price-filter > div {
  border: 1px solid var(--premium-line);
  border-radius: .85rem;
  box-shadow: var(--premium-shadow);
}
.quick-occasions {
  gap: .5rem;
  margin-top: 1.2rem;
}
.quick-occasions a {
  border: 1px solid var(--premium-line);
  border-radius: 999px;
  background: #fff;
  color: #6d6b76;
  font-family: var(--premium-body);
  font-size: .55rem;
}
.quick-occasions a:hover,
.quick-occasions a[aria-current="page"] {
  border-color: transparent;
  background: #292830;
  color: #fff;
}
.collection-count {
  margin-top: 2rem;
  color: #8a8994;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  overflow: visible;
  border: 0;
  background: transparent;
}
.product-grid > .product-card:nth-child(n) { grid-column: auto; }
.product-card {
  overflow: hidden;
  border: 1px solid var(--premium-line);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 8px 28px rgba(32,32,39,.045);
}
.product-card::before { display: none; }
.product-card:hover {
  border-color: rgba(255,79,109,.2);
  box-shadow: var(--premium-shadow-hover);
  transform: translateY(-6px);
}
.product-card-media {
  margin: .55rem;
  overflow: hidden;
  border-radius: .85rem;
  background: #f0eff3;
}
.product-image img,
.product-card:nth-child(n) .product-image img {
  aspect-ratio: 1 / 1.08;
  filter: saturate(.94);
}
.product-card:hover .product-image img { transform: scale(1.045); }
.product-ribbon {
  border: 0;
  border-radius: .5rem;
  background: rgba(255,255,255,.92);
  color: #44434c;
  font-family: var(--premium-body);
  box-shadow: 0 6px 18px rgba(28,25,32,.09);
  backdrop-filter: blur(8px);
}
.new-ribbon { background: rgba(255,255,255,.92); }
.wish-button {
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(28,25,32,.09);
}
.product-media-actions {
  border-radius: .7rem;
  background: rgba(255,255,255,.94);
}
.availability { color: #2e7652; }
.quick-add {
  border-radius: .55rem;
  background: #27272f;
  font-family: var(--premium-body);
}
.quick-add:hover { background: var(--premium-coral); }
.product-body {
  min-height: 10rem;
  padding: .75rem 1rem 1rem;
}
.product-kicker {
  color: #938f9b;
  font-family: var(--premium-body);
}
.product-title-row h3 {
  font-family: var(--premium-body);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: -.025em;
}
.product-title-row .price { color: var(--premium-ink); }
.product-seller { border-top-color: #f0eff3; }

/* Inner shopping pages. */
.main-image-wrap,
.detail-tags,
.purchase-panel,
.detail-assurances > div,
.care-details,
.cart-list,
.cart-summary,
.store-empty {
  border-radius: 1.15rem !important;
}
.main-image-wrap {
  border: 0;
  box-shadow: var(--premium-shadow);
}
.detail-info h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.9rem);
  line-height: .98;
}
.purchase-panel {
  border-color: rgba(255,79,109,.16);
  background: #fff8f9;
}
.detail-tags { border-color: var(--premium-line); }
.care-details { border-color: var(--premium-line); }
.reviews-section { border-top-color: var(--premium-line); }

#cart-drawer {
  border-left: 1px solid var(--premium-line);
  background: #fff;
  box-shadow: -18px 0 60px rgba(25,22,31,.15);
}
.drawer-head { border-bottom-color: var(--premium-line); }
.drawer-close {
  border: 0;
  border-radius: .65rem;
  background: #f3f2f6;
}
.promise-band,
.site-footer { background: #232229; }
.promise-band .page-shell > div { border-radius: .9rem; }
.promise-band span {
  border-radius: .65rem;
  background: rgba(255,255,255,.09);
}
.site-footer { border-top: 0; }

.storefront-body.is-ready .market-hero-copy > *,
.storefront-body.is-ready .market-hero-visual {
  animation: premiumArrive .55s cubic-bezier(.2,.75,.2,1) both;
}
.storefront-body.is-ready .market-hero-copy > *:nth-child(2) { animation-delay: .04s; }
.storefront-body.is-ready .market-hero-copy > *:nth-child(3) { animation-delay: .08s; }
.storefront-body.is-ready .market-hero-visual { animation-delay: .12s; }
@keyframes premiumArrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .site-header-inner { gap: 1.2rem; }
  .logo small { display: none; }
  .market-hero {
    grid-template-columns: minmax(0, 1fr) minmax(23rem, .86fr);
    gap: 2rem;
  }
  .market-hero h1 { font-size: clamp(3.2rem, 6vw, 5.4rem); }
  .market-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 7rem; }
  body.storefront-body { padding-bottom: 4.8rem; }
  .announcement-inner { grid-template-columns: 1fr auto; }
  .announcement-inner > p { display: none; }
  .site-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 4.35rem;
  }
  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-bottom: .7rem;
  }
  .header-actions .optional-action,
  .header-actions .login-link span,
  .account-menu summary span,
  .cart-label { display: none; }
  .category-nav { display: none; }
  .market-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 2.2rem;
  }
  .hero-index { margin-bottom: 1rem; }
  .market-hero h1 { font-size: clamp(2.9rem, 11vw, 5rem); }
  .market-hero-visual {
    width: 100%;
    min-height: 30rem;
  }
  .market-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .campaign {
    width: calc(100% - 2rem);
    margin-inline: 1rem;
  }
  .shop-filter { top: .5rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mobile-app-nav {
    border: 1px solid rgba(232,233,240,.92);
    border-bottom: 0;
    border-radius: 1.2rem 1.2rem 0 0;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -10px 35px rgba(32,32,39,.08);
    backdrop-filter: blur(18px);
  }
  .mobile-app-nav a[aria-current="page"],
  .mobile-app-nav button:active { color: var(--premium-coral); }
}

@media (max-width: 560px) {
  .announcement-inner > a { display: none; }
  .announcement-inner { grid-template-columns: 1fr; }
  .site-header-inner { padding-inline: .9rem; }
  .header-search button { display: none; }
  .market-hero { padding-inline: 1rem; }
  .hero-index span:last-child { display: none; }
  .market-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div {
    padding-bottom: .7rem;
    border-right: 0;
    border-bottom: 1px solid var(--premium-line);
  }
  .market-hero-visual { min-height: 25rem; border-radius: 1.35rem; }
  .hero-product-main { right: 4.6rem; }
  .hero-product-side { width: 6.4rem; height: 8.7rem; }
  .hero-product-float { width: 7rem; height: 8.8rem; }
  .market-category-grid { gap: .7rem; }
  .market-category-card,
  .market-category-card:nth-child(n) {
    min-height: 15rem;
    border-radius: 1rem;
  }
  .category-image { bottom: 3.75rem; }
  .campaign { border-radius: 1.35rem; }
  .shop-filter {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
  }
  .product-grid { grid-template-columns: 1fr; }
  .product-image img,
  .product-card:nth-child(n) .product-image img { aspect-ratio: 1.2 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 4.2 marketplace architecture: curated home, departments, then catalogue. */
.category-nav .dock-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .68rem;
}
.category-nav .dock-label::after { display: none; }
.category-nav .category-more {
  color: var(--premium-plum);
  font-weight: 800;
}
.category-nav .category-more b { color: var(--premium-coral); }

.mobile-category-cta { display: none; }
.home-edit {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}
.home-edit .product-grid { margin-top: 2.2rem; }

.shop-page-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 87% 20%, rgba(255, 138, 52, .13), transparent 25%),
    radial-gradient(circle at 72% 90%, rgba(255, 79, 109, .1), transparent 28%);
}
.shop-page-hero h1 {
  max-width: 13ch;
  margin-top: .75rem;
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  line-height: .91;
}
.shop-page-meta {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 0 1rem;
  min-width: 17rem;
  padding: 1.2rem 0 0 1.4rem;
  border-left: 1px solid var(--premium-line);
}
.shop-page-meta > strong {
  grid-row: span 2;
  color: var(--premium-coral);
  font-family: var(--premium-display);
  font-size: 4rem;
  line-height: .8;
}
.shop-page-meta > span {
  color: var(--premium-copy);
  font-size: .67rem;
  font-weight: 700;
  line-height: 1.55;
}
.shop-page-meta a {
  margin-top: .8rem;
  color: var(--premium-ink);
  font-size: .65rem;
  font-weight: 800;
}
.shop-page-meta a b { color: var(--premium-coral); }
.collection-section.shop-catalogue {
  padding-top: 2rem;
  border-top: 1px solid var(--premium-line);
}

.departments-hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(32rem, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  min-height: 43rem;
  padding-top: clamp(3.5rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 79, 109, .1), transparent 24%),
    radial-gradient(circle at 39% 84%, rgba(255, 138, 52, .1), transparent 24%);
}
.departments-hero-copy h1 {
  max-width: 11ch;
  margin: .8rem 0 1.4rem;
  font-size: clamp(3.2rem, 6.5vw, 6.8rem);
  line-height: .9;
}
.departments-hero-copy > p:not(.store-eyebrow) {
  max-width: 35rem;
  color: var(--premium-copy);
  font-size: .95rem;
  line-height: 1.75;
}
.department-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--premium-line);
  color: #85838e;
  font-size: .62rem;
  font-weight: 700;
}
.department-stats strong {
  margin-right: .35rem;
  color: var(--premium-ink);
  font-family: var(--premium-display);
  font-size: 1.2rem;
}

.department-switchboard {
  overflow: hidden;
  border-radius: 1.8rem;
  background: #25222d;
  color: #fff;
  box-shadow: 0 28px 70px rgba(37, 34, 45, .2);
  transform: rotate(.8deg);
}
.switchboard-head {
  display: flex;
  justify-content: space-between;
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #aaa5b3;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.switchboard-head b { color: #ff9f5d; }
.department-switchboard > a {
  display: grid;
  grid-template-columns: 2.2rem 3.8rem minmax(0,1fr) auto;
  align-items: center;
  gap: .85rem;
  min-height: 4.8rem;
  padding: .65rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  transition: background .2s ease, padding .2s ease;
}
.department-switchboard > a:last-child { border-bottom: 0; }
.department-switchboard > a:hover {
  padding-left: 1.55rem;
  background: linear-gradient(90deg, rgba(255,79,109,.22), rgba(255,138,52,.07));
}
.switchboard-number {
  color: #77717f;
  font-size: .55rem;
  font-weight: 800;
}
.switchboard-image {
  width: 3.4rem;
  height: 3.4rem;
  overflow: hidden;
  border-radius: .7rem;
  background: #3b3742;
}
.switchboard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.department-switchboard > a > span:nth-child(3) {
  display: grid;
  gap: .15rem;
}
.department-switchboard strong {
  font-family: var(--premium-display);
  font-size: .92rem;
}
.department-switchboard small {
  color: #98929f;
  font-size: .53rem;
}
.department-switchboard > a > b {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .6rem;
  background: rgba(255,255,255,.08);
  color: #ff9f5d;
}

.department-directory {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
  border-top: 1px solid var(--premium-line);
}
.department-directory .section-heading > p {
  max-width: 26rem;
  color: var(--premium-copy);
  font-size: .75rem;
  line-height: 1.7;
}
.department-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.5rem;
}
.department-card {
  display: grid;
  min-width: 0;
  padding: .65rem;
  overflow: hidden;
  border: 1px solid var(--premium-line);
  border-radius: 1.25rem;
  background: #fff;
  color: var(--premium-ink);
  box-shadow: 0 8px 30px rgba(32,32,39,.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.department-card:hover {
  border-color: rgba(255,79,109,.22);
  box-shadow: var(--premium-shadow-hover);
  transform: translateY(-5px);
}
.department-card-media {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border-radius: .9rem;
  background: #f0eff3;
}
.department-card-media::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(25,23,29,.35));
  content: "";
}
.department-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.department-card:hover .department-card-media img { transform: scale(1.045); }
.department-card-media i {
  position: absolute;
  right: .7rem;
  bottom: .6rem;
  z-index: 1;
  color: #fff;
  font-family: var(--premium-display);
  font-size: 1.5rem;
  font-style: normal;
}
.department-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem .35rem .55rem;
}
.department-card-body > span { display: grid; gap: .18rem; }
.department-card-body strong {
  font-family: var(--premium-display);
  font-size: 1.02rem;
}
.department-card-body small {
  color: #8b8994;
  font-size: .55rem;
}
.department-card-body > b {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .65rem;
  background: #f4f3f7;
  color: var(--premium-coral);
}
.department-examples {
  min-height: 2.4rem;
  padding: 0 .35rem .55rem;
  overflow: hidden;
  color: #93919b;
  font-size: .55rem;
  line-height: 1.5;
  text-overflow: ellipsis;
}
.category-exit {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: clamp(5rem, 8vw, 8rem);
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 1.5rem;
  background: #fff3f5;
}
.category-exit h2 {
  margin-top: .25rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.category-exit form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  padding: .45rem;
  border: 1px solid rgba(255,79,109,.12);
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 12px 35px rgba(94,45,62,.08);
}
.category-exit input {
  min-width: 0;
  padding: .8rem;
  border: 0;
  outline: 0;
  font: 600 .75rem var(--premium-body);
}
.category-exit button {
  padding: .8rem 1rem;
  border: 0;
  border-radius: .65rem;
  background: #292830;
  color: #fff;
  font: 800 .68rem var(--premium-body);
}
.category-exit button span { color: #ff9f5d; }

@media (max-width: 1120px) {
  .departments-hero {
    grid-template-columns: minmax(0,.8fr) minmax(27rem,1.2fr);
    gap: 3rem;
  }
  .department-directory-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .home-category-preview > :nth-child(n+5) { display: none; }
  .mobile-category-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: .9rem;
    background: #292830;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
  }
  .mobile-category-cta span { color: #ff9f5d; }
  .home-edit .section-heading,
  .department-directory .section-heading { align-items: start; }
  .shop-page-hero {
    align-items: start;
    flex-direction: column;
  }
  .shop-page-meta {
    width: 100%;
    max-width: 25rem;
  }
  .departments-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .department-switchboard {
    width: min(100%, 36rem);
    transform: none;
  }
  .department-directory .section-heading {
    gap: 1rem;
    flex-direction: column;
  }
  .category-exit {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    width: calc(100% - 2rem);
    margin-inline: 1rem;
  }
}

@media (max-width: 580px) {
  .shop-page-hero h1,
  .departments-hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .shop-page-meta > strong { font-size: 3.3rem; }
  .department-switchboard > a {
    grid-template-columns: 1.8rem 3.2rem minmax(0,1fr) auto;
    gap: .6rem;
    padding-inline: .8rem;
  }
  .switchboard-image { width: 3rem; height: 3rem; }
  .department-directory-grid { grid-template-columns: 1fr; }
  .category-exit form { grid-template-columns: 1fr; }
  .category-exit button { min-height: 2.8rem; }
}

/* 4.3 restraint pass: quicker discovery, less editorial furniture. */
.market-hero {
  min-height: 34rem;
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 4.5vw, 4.5rem);
}
.market-hero-copy > .store-eyebrow { margin-bottom: 1rem; }
.market-hero h1 {
  max-width: 10ch;
  margin: 0 0 1.25rem;
  font-size: clamp(3.5rem, 5.8vw, 6.1rem);
  line-height: .9;
}
.market-hero .hero-lede { max-width: 33rem; }
.hero-actions { margin-top: 1.5rem; }
.market-hero-visual {
  min-height: 29rem;
  border-radius: 1.6rem;
}
.hero-product-main {
  top: 4.25rem;
  right: 6.5rem;
  bottom: 2rem;
}
.hero-product-side {
  top: 5.2rem;
  width: 7.7rem;
  height: 10rem;
}
.hero-product-float {
  bottom: 3.4rem;
  width: 8.8rem;
  height: 10rem;
}

.category-section {
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}
.section-heading h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.market-category-card,
.market-category-card:nth-child(n) { min-height: 16rem; }
.market-category-card .category-image { inset: .65rem .65rem 4rem; }
.home-edit {
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--premium-line);
}
.home-edit .product-grid { margin-top: 1.7rem; }

.product-body {
  min-height: 7.1rem;
  padding: .7rem .9rem .9rem;
}
.product-kicker { margin-bottom: .45rem; }
.product-seller {
  margin-top: .75rem;
  padding-top: .55rem;
}

.departments-hero.departments-hero-compact {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 3rem;
  min-height: 0;
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--premium-line);
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,109,.09), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(255,138,52,.08), transparent 25%);
}
.departments-hero-compact .departments-hero-copy h1 {
  max-width: none;
  margin: .55rem 0 .7rem;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: .94;
}
.departments-hero-compact .departments-hero-copy > p:not(.store-eyebrow) {
  font-size: .85rem;
}
.departments-hero-compact .department-stats {
  align-items: center;
  justify-content: end;
  margin: 0;
  padding: .7rem 0 .7rem 1.5rem;
  border-top: 0;
  border-left: 1px solid var(--premium-line);
}
.departments-hero-compact .department-stats a {
  margin-left: .5rem;
  color: var(--premium-ink);
  font-size: .65rem;
  font-weight: 800;
}
.departments-hero-compact .department-stats a b { color: var(--premium-coral); }
.department-directory {
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: clamp(5rem, 7vw, 7rem);
  border-top: 0;
}
.department-directory-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}
.department-card-media { aspect-ratio: 1.25 / 1; }
.department-card-body { padding-top: .8rem; }
.department-examples {
  min-height: 2.2rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.collection-section.shop-catalogue {
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: clamp(5rem, 7vw, 7rem);
  border-top: 0;
}
.shop-catalogue .collection-intro h1 {
  margin-top: .25rem;
  font-family: var(--premium-display);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.catalogue-heading-meta {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #8a8994;
  font-size: .6rem;
  font-weight: 700;
}
.catalogue-heading-meta strong {
  color: var(--premium-coral);
  font-family: var(--premium-display);
  font-size: 1.4rem;
}
.catalogue-heading-meta a {
  margin-left: .6rem;
  padding-left: 1rem;
  border-left: 1px solid var(--premium-line);
  color: var(--premium-ink);
  font-weight: 800;
}
.catalogue-heading-meta a b { color: var(--premium-coral); }

@media (max-width: 1120px) {
  .department-directory-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .market-hero {
    padding-top: 2.6rem;
    padding-bottom: 3rem;
  }
  .market-hero h1 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .market-hero-visual { min-height: 25rem; }
  .departments-hero.departments-hero-compact {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .departments-hero-compact .department-stats {
    justify-content: start;
    padding: .9rem 0 0;
    border-top: 1px solid var(--premium-line);
    border-left: 0;
  }
  .department-directory-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shop-catalogue .collection-intro {
    align-items: start;
    gap: 1rem;
  }
}

.india-phone-input > span,
.india-phone-input > b {
  flex: 0 0 auto;
  padding-inline: .8rem;
  border-right: 1px solid var(--premium-line);
  color: var(--premium-ink);
  font-size: .75rem;
  font-weight: 800;
}
.india-phone-input > input { min-width: 0; }
.store-field .india-phone-input > input {
  border: 0;
  outline: 0;
  box-shadow: none;
}

@media (max-width: 580px) {
  .market-hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .market-hero-visual { min-height: 22rem; }
  .hero-product-main { right: 4rem; }
  .hero-product-side { width: 5.8rem; height: 7.7rem; }
  .hero-product-float { width: 6.3rem; height: 7.8rem; }
  .market-category-card,
  .market-category-card:nth-child(n) { min-height: 13rem; }
  .department-directory-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .65rem;
  }
  .department-card { padding: .42rem; border-radius: .9rem; }
  .department-card-media { aspect-ratio: 1 / 1; border-radius: .7rem; }
  .department-card-body {
    align-items: start;
    padding: .7rem .2rem .35rem;
  }
  .department-card-body strong { font-size: .76rem; line-height: 1.15; }
  .department-card-body > b {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: .5rem;
  }
  .department-examples { display: none; }
  .product-grid,
  .related-section .product-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .6rem;
  }
  .product-body { min-height: 6.6rem; }
  .catalogue-heading-meta {
    align-items: start;
    flex-wrap: wrap;
  }
}

/* 4.4 home: dense marketplace browsing, expressed in HappyOnam's own language. */
.market-home {
  padding-top: 1rem;
  padding-bottom: clamp(4rem, 7vw, 7rem);
  background:
    linear-gradient(180deg, #fff 0, #fff 23rem, #f4f5f8 23rem, #f4f5f8 100%);
}

.home-promo {
  position: relative;
  min-height: 21rem;
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 30% 110%, rgba(255, 255, 255, .28), transparent 34%),
    linear-gradient(112deg, #ffedf1 0%, #ffdfd7 51%, #ffd5ad 100%);
  box-shadow: 0 20px 55px rgba(43, 33, 49, .1);
  isolation: isolate;
}
.home-promo::before {
  position: absolute;
  z-index: -1;
  top: -10rem;
  left: 36%;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow:
    0 0 0 3.5rem rgba(255,255,255,.13),
    0 0 0 7rem rgba(255,255,255,.08);
  content: "";
}
.home-promo-copy {
  position: relative;
  z-index: 3;
  width: 49%;
  padding: 2.45rem 0 5.1rem;
}
.home-promo-copy .store-eyebrow {
  margin-bottom: .65rem;
  color: #b62e4a;
}
.home-promo-copy h1 {
  max-width: 12ch;
  margin: 0 0 .8rem;
  font-size: clamp(2.55rem, 4.2vw, 4.25rem);
  line-height: .92;
}
.home-promo-copy h1 em {
  color: var(--premium-coral);
  font-style: normal;
}
.home-promo-copy > p:not(.store-eyebrow) {
  max-width: 31rem;
  margin: 0 0 1.25rem;
  color: #5c5561;
  font-size: .84rem;
  line-height: 1.7;
}
.home-promo-copy .store-btn { min-height: 2.9rem; }

.home-promo-product {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 50%;
  overflow: hidden;
  color: var(--premium-ink);
}
.home-promo-product::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(90deg, #ffe1d8, transparent);
  content: "";
  pointer-events: none;
}
.home-promo-product > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.75,.2,1);
}
.home-promo-product:hover > img { transform: scale(1.025); }
.home-promo-product-meta {
  position: absolute;
  z-index: 3;
  right: 1.4rem;
  bottom: 4.8rem;
  display: grid;
  min-width: 13rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: .8rem;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 30px rgba(32,32,39,.14);
  backdrop-filter: blur(14px);
}
.home-promo-product-meta small {
  color: var(--premium-coral);
  font-size: .49rem;
  font-weight: 800;
  text-transform: uppercase;
}
.home-promo-product-meta strong {
  max-width: 18rem;
  margin-top: .22rem;
  overflow: hidden;
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-promo-product-meta b {
  margin-top: .18rem;
  color: var(--premium-ink);
  font-size: .72rem;
}
.home-promo-count {
  position: absolute;
  z-index: 4;
  left: clamp(1rem, 4vw, 4rem);
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.home-promo-count strong {
  color: var(--premium-coral);
  font-family: var(--premium-display);
  font-size: 1.55rem;
  line-height: 1;
}
.home-promo-count span {
  color: #645c67;
  font-size: .48rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-shopping-deck {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -3.45rem;
}
.home-shopping-card {
  display: flex;
  min-width: 0;
  min-height: 22rem;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid rgba(226,227,234,.9);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(35,32,42,.08);
}
.home-shopping-card-head {
  display: flex;
  min-height: 2.8rem;
  align-items: start;
  justify-content: space-between;
  gap: .5rem;
}
.home-shopping-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.05;
}
.home-shopping-card-head > span {
  flex: 0 0 auto;
  color: #96939d;
  font-size: .48rem;
  font-weight: 800;
  text-transform: uppercase;
}
.home-shopping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .75rem .6rem;
}
.home-shopping-grid > a {
  min-width: 0;
  color: var(--premium-ink);
}
.home-shopping-grid > a > span {
  display: block;
  aspect-ratio: 1.24 / 1;
  overflow: hidden;
  border-radius: .65rem;
  background: #f1f2f5;
}
.home-shopping-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}
.home-shopping-grid a:hover img { transform: scale(1.045); }
.home-shopping-grid strong {
  display: block;
  margin-top: .32rem;
  overflow: hidden;
  font-size: .59rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-shopping-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--premium-line);
  color: var(--premium-ink);
  font-size: .6rem;
  font-weight: 800;
}
.home-shopping-more span { color: var(--premium-coral); }

.home-product-rail-section {
  margin-top: 2rem;
  padding-top: 1.4rem;
  padding-bottom: 1.5rem;
  border: 1px solid var(--premium-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 14px 35px rgba(35,32,42,.055);
}
.home-rail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.home-rail-heading .store-eyebrow { margin-bottom: .2rem; }
.home-rail-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
}
.home-product-rail {
  display: grid;
  grid-auto-columns: minmax(9.7rem, 1fr);
  grid-auto-flow: column;
  gap: .8rem;
  overflow-x: auto;
  padding-bottom: .4rem;
  scrollbar-color: #d8d8df transparent;
  scrollbar-width: thin;
}
.home-product-pick {
  min-width: 0;
  color: var(--premium-ink);
}
.home-product-pick-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: .8rem;
  background: #f0f1f4;
}
.home-product-pick-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.home-product-pick:hover img { transform: scale(1.035); }
.home-product-pick-meta { display: grid; padding: .55rem .15rem .15rem; }
.home-product-pick-meta small {
  overflow: hidden;
  color: #8c8994;
  font-size: .46rem;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-product-pick-meta strong {
  margin-top: .25rem;
  overflow: hidden;
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-product-pick-meta b {
  margin-top: .2rem;
  color: var(--premium-coral);
  font-size: .67rem;
}

.home-category-exit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.65rem;
  padding-bottom: 1.65rem;
  border-radius: 1rem;
  background: var(--premium-ink);
  color: #fff;
}
.home-category-exit h2 {
  max-width: 26ch;
  margin: .25rem 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1;
}
.home-category-exit .store-eyebrow { color: #ff9f69; }
.store-btn-dark {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  background: #fff;
  color: var(--premium-ink);
}

.storefront-body.is-ready .home-promo-copy > *,
.storefront-body.is-ready .home-promo-product {
  animation: premiumArrive .5s cubic-bezier(.2,.75,.2,1) both;
}
.storefront-body.is-ready .home-promo-product { animation-delay: .08s; }

@media (max-width: 1120px) {
  .home-shopping-deck { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-shopping-card { min-height: 21rem; }
  .home-promo-copy { width: 54%; }
  .home-promo-product { width: 48%; }
}

@media (max-width: 820px) {
  .market-home {
    background: linear-gradient(180deg, #fff 0, #fff 21rem, #f4f5f8 21rem, #f4f5f8 100%);
  }
  .home-promo {
    min-height: 19rem;
    border-radius: 1.15rem;
  }
  .home-promo-copy {
    width: 59%;
    padding-top: 1.8rem;
    padding-bottom: 4.2rem;
  }
  .home-promo-copy h1 { font-size: clamp(2.2rem, 7vw, 3.25rem); }
  .home-promo-copy > p:not(.store-eyebrow) {
    max-width: 25rem;
    font-size: .74rem;
  }
  .home-promo-product { width: 45%; }
  .home-promo-product-meta {
    right: .8rem;
    bottom: 3.8rem;
    min-width: 10rem;
  }
  .home-shopping-deck { margin-top: -2.4rem; }
  .home-category-exit { align-items: start; flex-direction: column; }
}

@media (max-width: 580px) {
  .market-home {
    padding-top: .55rem;
    background: linear-gradient(180deg, #fff 0, #fff 18rem, #f4f5f8 18rem, #f4f5f8 100%);
  }
  .home-promo {
    min-height: 20rem;
    padding-inline: 1.1rem;
    border-radius: 1rem;
  }
  .home-promo-copy {
    width: 69%;
    padding-top: 1.35rem;
    padding-bottom: 4rem;
  }
  .home-promo-copy h1 {
    max-width: 10ch;
    font-size: clamp(2rem, 10.6vw, 2.8rem);
  }
  .home-promo-copy > p:not(.store-eyebrow) {
    display: -webkit-box;
    max-width: 17rem;
    overflow: hidden;
    font-size: .66rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .home-promo-copy .store-btn {
    min-height: 2.55rem;
    padding-inline: .9rem;
    font-size: .65rem;
  }
  .home-promo-product {
    width: 45%;
    opacity: .82;
  }
  .home-promo-product::before { width: 60%; }
  .home-promo-product-meta { display: none; }
  .home-promo-count { left: 1.1rem; bottom: .8rem; }
  .home-shopping-deck {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .55rem;
    margin-top: -1.6rem;
    padding-inline: .8rem;
  }
  .home-shopping-card {
    min-height: 13.5rem;
    padding: .7rem;
    border-radius: .8rem;
  }
  .home-shopping-card-head { min-height: 2.35rem; }
  .home-shopping-card h2 { font-size: .8rem; }
  .home-shopping-card-head > span { display: none; }
  .home-shopping-grid { gap: .4rem; }
  .home-shopping-grid > a:nth-child(n+3) { display: none; }
  .home-shopping-grid > a > span { aspect-ratio: 1 / 1; border-radius: .5rem; }
  .home-shopping-grid strong { font-size: .49rem; }
  .home-shopping-more {
    padding-top: .55rem;
    font-size: .49rem;
  }
  .home-product-rail-section {
    margin-top: 1rem;
    padding-inline: .8rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .home-rail-heading .text-link { font-size: .55rem; }
  .home-product-rail { grid-auto-columns: 8.7rem; }
  .home-category-exit {
    width: calc(100% - 1.6rem);
    margin: 1rem .8rem 0;
    padding: 1.2rem;
  }
  .home-category-exit .store-btn {
    width: 100%;
    min-height: 2.8rem;
  }
}

/* 4.5 public seller storefront and connected catalogue navigation. */
.detail-category-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.detail-category-link span {
  transition: transform .18s ease;
}
.detail-category-link:hover span { transform: translateX(.18rem); }
.detail-tags > a {
  position: relative;
  display: grid;
  min-width: 0;
  padding: .8rem .5rem;
  border-right: 1px solid var(--premium-line);
  color: var(--premium-ink);
  transition: background .18s ease, color .18s ease;
}
.detail-tags > a:last-child { border-right: 0; }
.detail-tags > a:hover {
  background: #fff4f6;
  color: var(--premium-coral);
}
.detail-tags > a small {
  color: var(--premium-copy);
  font-size: .48rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.detail-tags > a strong {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  overflow: hidden;
  font-size: .67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-tags > a strong b {
  color: var(--premium-coral);
  font-size: .62rem;
}
.product-kicker a {
  color: inherit;
  transition: color .18s ease;
}
.product-kicker a:hover { color: var(--premium-coral); }
.product-seller a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .28rem;
  overflow: hidden;
  color: var(--premium-ink);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-seller a:hover { color: var(--premium-coral); }
.product-seller a b {
  color: var(--premium-coral);
  font-size: .56rem;
}

.seller-storefront {
  padding: 1.15rem 0 clamp(5rem, 7vw, 7rem);
  background:
    linear-gradient(180deg, #fff 0, #fff 27rem, #f5f6f8 27rem, #f5f6f8 100%);
}
.seller-breadcrumbs { margin-bottom: .8rem; }
.seller-store-hero {
  display: grid;
  min-height: 22rem;
  grid-template-columns: minmax(0, .9fr) minmax(25rem, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #eeeef2;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 0 100%, rgba(255,79,109,.1), transparent 31%),
    #fff;
  box-shadow: 0 20px 55px rgba(35,32,42,.08);
}
.seller-store-identity {
  display: grid;
  align-content: center;
  grid-template-columns: auto minmax(0,1fr);
  gap: 1rem 1.2rem;
  padding-block: 2rem;
}
.seller-store-monogram {
  position: relative;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--premium-beam);
  color: #fff;
  font-family: var(--premium-display);
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255,79,109,.24);
}
.seller-store-monogram::before {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  content: "";
}
.seller-store-monogram i {
  position: absolute;
  right: .4rem;
  bottom: .4rem;
  width: .45rem;
  height: .45rem;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 50%;
}
.seller-store-identity .store-eyebrow {
  display: flex;
  align-items: center;
  gap: .38rem;
  margin-bottom: .5rem;
}
.seller-store-identity .store-eyebrow span {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  background: #dff5e9;
  color: #238458;
  font-size: .53rem;
}
.seller-store-identity h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.2vw, 4.35rem);
  line-height: .9;
}
.seller-store-identity > div > p:last-child {
  max-width: 28rem;
  margin: .9rem 0 0;
  color: var(--premium-copy);
  font-size: .75rem;
  line-height: 1.65;
}
.seller-store-stats {
  display: flex;
  grid-column: 2;
  gap: 1.8rem;
  margin: .35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--premium-line);
}
.seller-store-stats div { display: grid; }
.seller-store-stats dt {
  color: #92909a;
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.seller-store-stats dd {
  margin: .15rem 0 0;
  font-family: var(--premium-display);
  font-size: 1.4rem;
  font-weight: 700;
}
.seller-store-window {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: #ffe1d1;
}
.seller-store-window::after {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, #fff, transparent);
  content: "";
  pointer-events: none;
}
.seller-window-item {
  position: absolute;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.88);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 35px rgba(41,31,47,.16);
  transition: transform .3s cubic-bezier(.2,.75,.2,1);
}
.seller-window-item:hover { z-index: 4; transform: translateY(-.3rem) rotate(0); }
.seller-window-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.seller-window-item span {
  position: absolute;
  right: .4rem;
  bottom: .4rem;
  left: .4rem;
  overflow: hidden;
  padding: .45rem .55rem;
  border-radius: .5rem;
  background: rgba(255,255,255,.91);
  color: var(--premium-ink);
  font-size: .53rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.seller-window-item-1 {
  z-index: 2;
  top: 1.7rem;
  right: 16%;
  width: 44%;
  height: 78%;
  transform: rotate(2deg);
}
.seller-window-item-2 {
  top: 3.4rem;
  left: 4%;
  width: 32%;
  height: 54%;
  transform: rotate(-4deg);
}
.seller-window-item-3 {
  right: -5%;
  bottom: 1.3rem;
  width: 32%;
  height: 48%;
  transform: rotate(5deg);
}
.seller-window-label {
  position: absolute;
  z-index: 5;
  right: 1rem;
  bottom: .8rem;
  padding: .45rem .65rem;
  border-radius: 999px;
  background: var(--premium-plum);
  color: #fff;
  font-size: .48rem;
  font-weight: 800;
  text-transform: uppercase;
}

.seller-catalogue {
  margin-top: 2rem;
  padding-top: 1.7rem;
  padding-bottom: 2rem;
  border: 1px solid var(--premium-line);
  border-radius: 1.2rem;
  background: #fff;
}
.seller-catalogue-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.seller-catalogue-head .store-eyebrow { margin-bottom: .2rem; }
.seller-catalogue-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}
.seller-catalogue-head > strong {
  color: #8f8c96;
  font-size: .58rem;
  text-transform: uppercase;
}
.seller-category-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  margin: 1.3rem 0 1.6rem;
  padding-bottom: .25rem;
  scrollbar-width: thin;
}
.seller-category-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .5rem;
  min-height: 2.35rem;
  padding: .45rem .7rem .45rem .85rem;
  border: 1px solid var(--premium-line);
  border-radius: .7rem;
  color: var(--premium-ink);
  font-size: .58rem;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.seller-category-tabs a span {
  display: grid;
  min-width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: .4rem;
  background: #f0f1f4;
  color: #777580;
  font-size: .49rem;
}
.seller-category-tabs a:hover,
.seller-category-tabs a[aria-current="page"] {
  border-color: var(--premium-ink);
  background: var(--premium-ink);
  color: #fff;
}
.seller-category-tabs a[aria-current="page"] span {
  background: var(--premium-coral);
  color: #fff;
}
.seller-catalogue .collection-count { display: none; }

@media (max-width: 900px) {
  .seller-store-hero {
    min-height: 20rem;
    grid-template-columns: minmax(0,1fr) minmax(18rem,.85fr);
    gap: 1rem;
  }
  .seller-store-identity { padding-block: 1.5rem; }
  .seller-store-identity h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); }
  .seller-store-window { min-height: 20rem; }
}

@media (max-width: 680px) {
  .detail-tags > a:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--premium-line);
    border-right: 0;
  }
  .seller-storefront {
    padding-top: .8rem;
    background: linear-gradient(180deg, #fff 0, #fff 33rem, #f5f6f8 33rem);
  }
  .seller-breadcrumbs {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .seller-store-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-inline: 0;
    border-radius: 1rem;
  }
  .seller-store-identity {
    grid-template-columns: 3rem minmax(0,1fr);
    padding: 1.4rem;
  }
  .seller-store-monogram {
    width: 3rem;
    height: 3rem;
    border-radius: .85rem;
    font-size: 1.3rem;
  }
  .seller-store-identity h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .seller-store-stats { grid-column: 1 / -1; }
  .seller-store-window { min-height: 14rem; }
  .seller-window-item span { display: none; }
  .seller-catalogue {
    margin-top: 1rem;
    padding-inline: .8rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .seller-catalogue-head > strong { display: none; }
  .seller-category-tabs { margin-inline: -.8rem; padding-inline: .8rem; }
}

/* 4.6 featured carousel: Amazon-like interaction, HappyOnam visual language. */
.home-promo::before { display: none; }
.home-promo-track { position: absolute; inset: 0; }
.home-promo-slide {
  --hero-bridge: #ffe2db;
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(1.2%);
  transition:
    opacity .38s ease,
    transform .48s cubic-bezier(.2,.75,.2,1);
}
.home-promo-slide::after {
  position: absolute;
  z-index: 0;
  top: -11rem;
  left: 35%;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255,255,255,.11),
    0 0 0 8rem rgba(255,255,255,.06);
  content: "";
  pointer-events: none;
}
.home-promo-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.home-promo-slide.home-promo-tone-1 {
  --hero-bridge: #ffe2db;
  background:
    radial-gradient(circle at 30% 110%, rgba(255,255,255,.3), transparent 34%),
    linear-gradient(112deg, #ffedf1 0%, #ffdfd7 51%, #ffd5ad 100%);
}
.home-promo-slide.home-promo-tone-2 {
  --hero-bridge: #e9e3ff;
  background:
    radial-gradient(circle at 28% 100%, rgba(255,255,255,.32), transparent 35%),
    linear-gradient(112deg, #f4efff 0%, #e8e2ff 51%, #d8e9ff 100%);
}
.home-promo-slide.home-promo-tone-3 {
  --hero-bridge: #e0f1e5;
  background:
    radial-gradient(circle at 27% 110%, rgba(255,255,255,.34), transparent 36%),
    linear-gradient(112deg, #eef9f1 0%, #ddf0e3 51%, #ffedb7 100%);
}
.home-promo-slide.home-promo-tone-4 {
  --hero-bridge: #ffe6d7;
  background:
    radial-gradient(circle at 30% 110%, rgba(255,255,255,.3), transparent 34%),
    linear-gradient(112deg, #fff0e8 0%, #ffe4d4 51%, #f5dff1 100%);
}
.home-promo-slide .home-promo-copy {
  box-sizing: border-box;
  width: 49%;
  padding-right: 1rem;
  padding-left: clamp(2.8rem, 5.2vw, 5.4rem);
}
.home-promo-slide .home-promo-product::before {
  background: linear-gradient(90deg, var(--hero-bridge), transparent);
}
.home-promo-arrow {
  position: absolute;
  z-index: 8;
  top: calc(50% - 3.2rem);
  display: grid;
  width: 4.2rem;
  height: 6.4rem;
  place-items: center;
  border: 0;
  border-radius: .8rem;
  background: transparent;
  color: var(--premium-ink);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.home-promo-arrow:hover {
  background: rgba(255,255,255,.74);
  box-shadow: 0 10px 28px rgba(35,32,42,.1);
  backdrop-filter: blur(9px);
}
.home-promo-arrow:active { transform: scale(.96); }
.home-promo-arrow svg {
  width: 1.25rem;
  height: 2.45rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.home-promo-arrow-prev { left: .25rem; }
.home-promo-arrow-next { right: .25rem; }
.home-promo-dots {
  position: absolute;
  z-index: 9;
  bottom: 4rem;
  left: 50%;
  display: flex;
  gap: .38rem;
  padding: .35rem .45rem;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 20px rgba(35,32,42,.09);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}
.home-promo-dots button {
  width: .42rem;
  height: .42rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b8b5bd;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.home-promo-dots button[aria-current="true"] {
  width: 1.2rem;
  background: var(--premium-coral);
}

@media (max-width: 1120px) {
  .home-promo-slide .home-promo-copy { width: 54%; }
}

@media (max-width: 820px) {
  .home-promo-slide .home-promo-copy {
    width: 59%;
    padding-left: 3rem;
  }
  .home-promo-arrow {
    top: calc(50% - 2.5rem);
    width: 3rem;
    height: 5rem;
  }
  .home-promo-arrow svg { width: 1rem; height: 2rem; }
  .home-promo-dots { bottom: 3rem; }
}

@media (max-width: 580px) {
  .home-promo-slide .home-promo-copy {
    width: 69%;
    padding-right: .4rem;
    padding-left: 2.1rem;
  }
  .home-promo-slide::after {
    left: 22%;
    width: 18rem;
    height: 18rem;
  }
  .home-promo-arrow {
    top: calc(50% - 2.25rem);
    width: 2.2rem;
    height: 4.5rem;
    border-radius: .55rem;
  }
  .home-promo-arrow-prev { left: 0; }
  .home-promo-arrow-next { right: 0; }
  .home-promo-arrow svg { width: .72rem; height: 1.6rem; stroke-width: 2; }
  .home-promo-dots { bottom: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-promo-slide,
  .home-promo-product > img,
  .home-promo-arrow {
    transition: none;
  }
}

/* 4.6.1 keep every featured product fully inside its banner stage. */
.home-promo-slide .home-promo-product > img {
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  padding: .35rem 2.75rem 3.25rem 4.25rem;
}

@media (max-width: 820px) {
  .home-promo-slide .home-promo-product > img {
    padding: .5rem 1.35rem 3rem 2.75rem;
  }
}

@media (max-width: 580px) {
  .home-promo-slide .home-promo-product > img {
    padding: .7rem .65rem 2.35rem 1.2rem;
  }
}

/* 4.6.2 concise carousel copy that stays clear of the shopping deck. */
.home-promo-slide .home-promo-copy h1 {
  max-width: none;
  margin-bottom: .7rem;
  font-size: clamp(2.7rem, 3.7vw, 3.9rem);
  line-height: .94;
}
.home-promo-slide .home-promo-copy > p:not(.store-eyebrow) {
  max-width: 28rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .home-promo-slide .home-promo-copy h1 {
    font-size: clamp(2.15rem, 6vw, 3rem);
  }
}

@media (max-width: 580px) {
  .home-promo-slide .home-promo-copy h1 {
    font-size: clamp(1.85rem, 9.2vw, 2.45rem);
    line-height: .95;
  }
}

/* 4.7 marketplace offers: clear MRP, selling price and savings. */
.product-offer-badge {
  position: absolute;
  z-index: 4;
  top: .65rem;
  left: .65rem;
  padding: .35rem .55rem;
  border-radius: .45rem;
  background: var(--premium-beam);
  color: #fff;
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 7px 18px rgba(255,79,109,.24);
}
.product-ribbon:has(~ .product-offer-badge) { top: 2.65rem; }
.product-card-price {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  line-height: 1.05;
}
.product-card-price del {
  margin-top: .22rem;
  color: #9a97a1;
  font-size: .52rem;
  font-weight: 600;
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-top: 1.15rem;
}
.detail-price-row .price.big { margin: 0; }
.detail-price-row del {
  color: #96939d;
  font-size: .7rem;
}
.detail-price-row > span {
  color: #17835a;
  font-size: .68rem;
  font-weight: 800;
}
.offer-saving {
  margin: .2rem 0 0;
  color: #17835a;
  font-size: .62rem;
  font-weight: 700;
}
.home-promo-product-meta b {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.home-promo-product-meta b del {
  color: #96939d;
  font-size: .55rem;
  font-weight: 600;
}
.home-pick-offer {
  margin-top: .15rem;
  color: #17835a;
  font-size: .49rem;
  font-weight: 800;
}
.home-pick-offer del {
  margin-right: .2rem;
  color: #9a97a1;
  font-weight: 600;
}
.drawer-unit-price del,
.upsell-info del,
.cart-line-copy del {
  color: #9996a0;
}

@media (max-width: 580px) {
  .product-offer-badge {
    top: .45rem;
    left: .45rem;
    padding: .28rem .4rem;
    font-size: .42rem;
  }
  .product-ribbon:has(~ .product-offer-badge) { top: 2.15rem; }
  .detail-price-row { flex-wrap: wrap; gap: .35rem .55rem; }
}

/* 4.8 seller discovery: storefronts presented as browsable shelves. */
.category-nav .dock-sellers {
  color: var(--premium-plum);
  font-weight: 800;
}
.home-sellers {
  margin-top: 2rem;
  padding-top: 1.4rem;
  padding-bottom: 1.5rem;
  border: 1px solid var(--premium-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 14px 35px rgba(35,32,42,.055);
}
.home-seller-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: .8rem;
}
.home-seller-card {
  display: grid;
  min-width: 0;
  padding: .8rem;
  border: 1px solid var(--premium-line);
  border-radius: .9rem;
  color: var(--premium-ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-seller-card:hover {
  border-color: rgba(255,79,109,.28);
  box-shadow: 0 14px 30px rgba(35,32,42,.09);
  transform: translateY(-3px);
}
.home-seller-card-head {
  display: grid;
  grid-template-columns: 2.2rem minmax(0,1fr) auto;
  gap: .6rem;
  align-items: center;
}
.home-seller-avatar,
.seller-directory-avatar {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: .65rem;
  background: var(--premium-beam);
  color: #fff;
  font-family: var(--premium-display);
  font-weight: 800;
}
.home-seller-avatar {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1rem;
}
.home-seller-avatar i,
.seller-directory-avatar i {
  position: absolute;
  right: .2rem;
  bottom: .2rem;
  width: .38rem;
  height: .38rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2fb17d;
}
.home-seller-card-head > span:nth-child(2) {
  display: grid;
  min-width: 0;
}
.home-seller-card-head strong {
  overflow: hidden;
  font-size: .64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-seller-card-head small {
  margin-top: .15rem;
  color: #8f8c96;
  font-size: .45rem;
}
.home-seller-card-head > b { color: var(--premium-coral); font-size: .62rem; }
.home-seller-shelf {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .28rem;
  margin-top: .7rem;
}
.home-seller-shelf img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: .48rem;
  object-fit: cover;
  background: #f0f1f4;
}
.home-seller-categories {
  margin-top: .55rem;
  overflow: hidden;
  color: #777580;
  font-size: .46rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-exit-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
}
.home-exit-actions > a:first-child {
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
}
.home-exit-actions > a:first-child:hover { color: #ff9f69; }

.seller-directory-page {
  padding-bottom: clamp(5rem,7vw,7rem);
  background:
    radial-gradient(circle at 9% 5%, rgba(255,79,109,.08), transparent 24rem),
    linear-gradient(180deg,#fff 0,#fff 22rem,#f5f6f8 22rem);
}
.seller-directory-hero {
  display: flex;
  min-height: 18rem;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 3.8rem;
  padding-bottom: 3rem;
}
.seller-directory-hero h1 {
  margin: .45rem 0 .65rem;
  font-size: clamp(3rem,5.2vw,5.5rem);
  line-height: .9;
}
.seller-directory-hero > div > p:last-child {
  max-width: 38rem;
  margin: 0;
  color: var(--premium-copy);
  font-size: .82rem;
  line-height: 1.65;
}
.seller-directory-hero dl {
  display: flex;
  flex: 0 0 auto;
  gap: 2rem;
  margin: 0;
  padding: 1rem 0 1rem 1.8rem;
  border-left: 1px solid var(--premium-line);
}
.seller-directory-hero dl div { display: grid; }
.seller-directory-hero dt {
  color: #92909a;
  font-size: .48rem;
  font-weight: 800;
  text-transform: uppercase;
}
.seller-directory-hero dd {
  margin: .15rem 0 0;
  font-family: var(--premium-display);
  font-size: 2rem;
  font-weight: 700;
}
.seller-directory {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}
.seller-directory-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.seller-directory-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--premium-line);
  border-radius: 1rem;
  background: #fff;
  color: var(--premium-ink);
  box-shadow: 0 12px 30px rgba(35,32,42,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.seller-directory-card:hover {
  border-color: rgba(255,79,109,.25);
  box-shadow: var(--premium-shadow);
  transform: translateY(-4px);
}
.seller-directory-card-head {
  display: grid;
  grid-template-columns: 3rem minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
}
.seller-directory-avatar {
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
}
.seller-directory-card-head > span:nth-child(2) {
  display: grid;
  min-width: 0;
}
.seller-directory-card-head small {
  color: #8a8792;
  font-size: .44rem;
  font-weight: 800;
  text-transform: uppercase;
}
.seller-directory-card-head small b { color: #23936a; }
.seller-directory-card-head strong {
  margin-top: .18rem;
  overflow: hidden;
  font-size: .84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seller-directory-card-head > b { color: var(--premium-coral); }
.seller-directory-shelf {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: .4rem;
  margin-top: .9rem;
}
.seller-directory-shelf img {
  width: 100%;
  height: 8.5rem;
  border-radius: .7rem;
  object-fit: cover;
  background: #f0f1f4;
}
.seller-directory-card-foot {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: end;
  gap: .8rem;
  margin-top: .8rem;
  padding-top: .7rem;
  border-top: 1px solid var(--premium-line);
}
.seller-directory-card-foot > span:first-child { display: grid; }
.seller-directory-card-foot strong { font-size: .58rem; }
.seller-directory-card-foot small { color: #92909a; font-size: .46rem; }
.seller-directory-card-foot > span:last-child {
  overflow: hidden;
  color: #777580;
  font-size: .46rem;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .home-seller-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .seller-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .seller-directory-hero {
    min-height: 0;
    align-items: start;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  .seller-directory-hero dl {
    width: 100%;
    padding: 1rem 0 0;
    border-top: 1px solid var(--premium-line);
    border-left: 0;
  }
  .seller-directory-grid { grid-template-columns: 1fr; }
  .home-exit-actions {
    width: 100%;
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .home-sellers {
    margin-top: 1rem;
    padding-inline: .8rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .home-seller-grid { gap: .55rem; }
  .home-seller-card { padding: .65rem; }
  .home-seller-card-head {
    grid-template-columns: 1.8rem minmax(0,1fr);
    gap: .45rem;
  }
  .home-seller-avatar { width: 1.8rem; height: 1.8rem; font-size: .8rem; }
  .home-seller-card-head > b,
  .home-seller-card-head small { display: none; }
  .home-seller-shelf { grid-template-columns: repeat(2,1fr); }
  .home-seller-shelf img:nth-child(3) { display: none; }
  .seller-directory-shelf img { height: 6.7rem; }
}

/* 4.9 — use the real HappyOnam emblem across the public storefront. */
.logo-mark.brand-logo-mark {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 3.15rem;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 9px 24px rgba(134, 88, 12, .16);
  transform: none;
}
.logo-mark.brand-logo-mark::before,
.logo-mark.brand-logo-mark::after,
.logo-mark.brand-logo-mark i { display: none; }
.brand-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-logo .logo-mark.brand-logo-mark {
  background: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

@media (max-width: 580px) {
  .logo-mark.brand-logo-mark {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }
}
