/* Happy Nails storefront — design tokens aligned with designlang-landing (yubo field) */
:root {
  --background: #fafafa;
  --foreground: #000000;
  --card: #ffffff;
  --brand: #ec4899;
  --brand-foreground: #ffffff;
  --muted: #f4f4f5;
  --muted-foreground: #404040;
  --border: rgba(0, 0, 0, 0.12);
  --radius: 4px;
  --radius-lg: 12px;
  --ring: #ec4899;
  --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.06);
  --shadow-elevated: 0 24px 48px -12px rgb(0 0 0 / 0.12);
  --font-display: "Times New Roman", Times, ui-serif, Georgia, serif;
  --font-body: Arial, Helvetica Neue, Helvetica, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.sf-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

a:hover {
  opacity: 0.92;
}

.sf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.sf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  flex-wrap: wrap;
}

.sf-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.sf-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
}

.sf-nav a {
  color: var(--foreground);
}

.sf-cart-badge {
  background: var(--brand);
  color: var(--brand-foreground);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.sf-main {
  padding: 2.5rem 0 4rem;
}

.sf-stack {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.sf-hero {
  display: grid;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .sf-hero {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem;
  }
}

.sf-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(236, 72, 153, 0.15);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.sf-grid-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sf-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .sf-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sf-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.sf-card:hover {
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
}

.sf-card-media {
  height: 10rem;
  background-size: cover;
  background-position: center;
}

.sf-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin: 0 0 0.35rem;
}

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  background: var(--brand);
  color: var(--brand-foreground);
}

.sf-btn:hover {
  opacity: 0.95;
}

.sf-btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.sf-btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .sf-btn-row {
    flex-direction: row;
    align-items: center;
  }
}

.sf-muted {
  color: var(--muted-foreground);
}

.sf-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sf-feature {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(236, 72, 153, 0.05);
  font-size: 0.875rem;
  font-weight: 500;
}

.sf-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--brand);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.sf-hero-media {
  min-height: 260px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: rgba(236, 72, 153, 0.08);
}

.sf-how {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(236, 72, 153, 0.04);
}

@media (min-width: 640px) {
  .sf-how {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }
}

.sf-sidecard {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.sf-accordion details {
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}

.sf-accordion summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.sf-accordion summary::-webkit-details-marker {
  display: none;
}

.sf-cta {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--brand), #7c3aed);
  color: #fff;
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 640px) {
  .sf-cta {
    padding: 2.5rem;
  }
}

.sf-cta .sf-btn {
  background: #fff;
  color: var(--brand);
}

.sf-cta .sf-btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}

.sf-foot {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.sf-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sf-foot-links a {
  color: var(--muted-foreground);
}

.sf-foot-links a:hover {
  color: var(--foreground);
}

.sf-page-header {
  margin-bottom: 1.5rem;
}

.sf-page-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.sf-page-placeholder {
  color: var(--muted-foreground);
  margin: 0;
}

.sf-standard-page .sf-stack {
  gap: 2.5rem;
}

.sf-prose {
  max-width: 720px;
}

.sf-prose :where(h2, h3, h4) {
  font-family: var(--font-display);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.sf-prose :where(p, ul, ol) {
  margin: 0 0 1rem;
}

.sf-prose :where(ul, ol) {
  padding-left: 1.25rem;
}

.sf-messages {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.sf-messages li {
  list-style: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(236, 72, 153, 0.1);
  margin-bottom: 0.35rem;
}

.sf-price {
  font-weight: 700;
  color: var(--brand);
}

.sf-grid-products {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.sf-product-detail {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sf-product-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.sf-product-hero-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table.sf-table {
  width: 100%;
  border-collapse: collapse;
}

table.sf-table th,
table.sf-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

/* --- Layout shell --- */
.hn-container,
.sf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hn-body {
  margin: 0;
}

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

/* Header (SiteHeader parity) */
/* #hn-nav-open uses .hn-sr-only (see base); no separate .hn-nav-checkbox clip */
/* Stacking: main can use fixed layers up to ~90 (filters). Cart drawer must stay above the header group — see .hn-cart-overlay. */
.hn-site-header-root {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--background) 97%, transparent);
}

.hn-site-header-root--unpinned {
  /* unpins only the header bar; mobile overlay stays viewport-fixed */
}

.hn-site-header-bar {
  transition: transform 0.22s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hn-site-header-root--unpinned .hn-site-header-bar {
  transform: translate3d(0, -100%, 0);
}

.hn-header-topbar {
  background: linear-gradient(
    92deg,
    color-mix(in srgb, var(--brand) 75%, #1c0a12),
    color-mix(in srgb, var(--brand) 55%, #2a0a18) 50%,
    color-mix(in srgb, var(--brand) 70%, #1a0810)
  );
  color: #fff;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, #000);
  transition: transform 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.hn-header-topbar--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.hn-header-topbar-inner {
  padding: 0.45rem 0;
}

/* Mobile: when hidden, collapse height so header row moves up */
@media (max-width: 1023px) {
  .hn-header-topbar {
    max-height: 3rem;
    overflow: hidden;
    transition: max-height 0.22s ease, opacity 0.18s ease;
  }

  .hn-header-topbar--hidden {
    max-height: 0;
    opacity: 0;
    transform: none;
    border-bottom: 0;
  }

  .hn-header-topbar--hidden .hn-header-topbar-inner {
    padding: 0;
  }
}

.hn-header-topbar-text {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

/* Mobile: force single line + marquee when overflowing */
@media (max-width: 1023px) {
  .hn-header-topbar-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hn-header-topbar-marquee {
    display: inline-block;
    padding-left: 100%;
    animation: hn-topbar-marquee 12s linear infinite;
    will-change: transform;
  }
}

@keyframes hn-topbar-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .hn-header-topbar-marquee {
    animation: none !important;
    padding-left: 0 !important;
  }
}

.hn-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 97%, transparent);
}

.hn-header-catnav {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.hn-header-catnav-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem 1.15rem;
  overflow-x: auto;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  scroll-padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hn-header-catnav-scroll::-webkit-scrollbar {
  display: none;
}

.hn-header-catnav-link {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.hn-header-catnav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.22s ease;
}

.hn-header-catnav-link:hover::after,
.hn-header-catnav-link:focus-visible::after {
  width: 100%;
}

.hn-header-catnav-link--all {
  color: var(--brand);
}

.hn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.hn-header-search {
  display: none;
  flex: 1.2;
  min-width: 12rem;
  max-width: 34rem;
}

.hn-header-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.4rem 0.5rem;
  box-shadow: var(--shadow-card);
}

.hn-header-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--muted-foreground);
}

.hn-header-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--foreground);
  min-width: 0;
}

.hn-header-search-input::placeholder {
  color: color-mix(in srgb, var(--muted-foreground) 85%, transparent);
}

.hn-header-search-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem;
}

.hn-header-search-btn:hover {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
}

@media (min-width: 900px) {
  .hn-header-search {
    display: block;
  }
}

.hn-mobile-search {
  padding: 0.75rem 0 0.25rem;
}

.hn-mobile-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 0.85rem;
  padding: 0.6rem 0.65rem;
}

.hn-mobile-search-icon {
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
}

.hn-mobile-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
}

.hn-mobile-search-btn {
  border: none;
  cursor: pointer;
  border-radius: 0.65rem;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
}

.hn-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.hn-logo-wrap {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.hn-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 0.9rem;
  box-shadow: 0 10px 18px -12px rgb(0 0 0 / 0.35);
  background: transparent;
}

.hn-logo-fallback {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.15);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
}

.hn-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  padding-top: 0.1rem;
}

.hn-brand-name {
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hn-brand-tagline {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1024px) {
  .hn-logo-img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.05rem;
    box-shadow: 0 16px 26px -16px rgb(0 0 0 / 0.4);
  }

  .hn-brand-name {
    font-size: 1.25rem;
  }

  .hn-brand-tagline {
    font-size: 0.95rem;
  }
}

.hn-subheading {
  display: none;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1024px) {
  .hn-subheading {
    display: inline;
    max-width: 12rem;
  }
}

.hn-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 0.5rem;
  color: var(--foreground);
  transition: background 0.15s ease, color 0.15s ease;
}

.hn-menu-btn:hover,
.hn-menu-btn:focus-visible {
  background: color-mix(in srgb, var(--muted) 70%, transparent);
  color: var(--brand);
  outline: none;
}

.hn-menu-btn:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
}

@media (min-width: 1024px) {
  .hn-menu-btn {
    display: none;
  }
}

/* Lucide inline SVGs (parity with Next.js lucide-react) */
.hn-lucide {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke: currentColor;
}

.hn-lucide--sm {
  width: 1.125rem;
  height: 1.125rem;
}

.hn-lucide--xs {
  width: 1rem;
  height: 1rem;
}

.hn-menu-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.hn-menu-svg--close {
  display: none;
}

#hn-nav-open:checked ~ .hn-header .hn-header-inner .hn-menu-svg--open {
  display: none;
}

#hn-nav-open:checked ~ .hn-header .hn-header-inner .hn-menu-svg--close {
  display: inline-flex;
}

.hn-menu-icon {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--foreground);
  box-shadow: 0 6px 0 var(--foreground), 0 -6px 0 var(--foreground);
  border-radius: 1px;
}

.hn-nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .hn-nav-desktop {
    display: flex;
  }
}

.hn-nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--foreground);
}

.hn-nav-link:hover {
  color: var(--brand);
}

.hn-dropdown {
  position: relative;
}

.hn-dropdown-trigger {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hn-dropdown-trigger::-webkit-details-marker {
  display: none;
}

.hn-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.hn-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 14rem;
  margin-top: 0.25rem;
  padding: 0.35rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hn-dropdown-label {
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  margin: 0;
}

.hn-dropdown-item {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.hn-dropdown-item:hover {
  background: var(--muted);
  color: var(--brand);
}

.hn-dropdown-item--emph {
  font-weight: 600;
  color: var(--brand);
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}

.hn-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .hn-header-actions {
    gap: 0.75rem;
  }
}

.hn-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  text-decoration: none;
  box-sizing: border-box;
}

.hn-profile-btn:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  color: var(--brand);
}

.hn-profile-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
}

.hn-profile-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.hn-profile-btn-icon .hn-lucide {
  display: block;
}

.hn-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
}

.hn-cart-btn:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  color: var(--brand);
}

.hn-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.hn-cart-icon .hn-lucide {
  display: block;
}

.hn-cart-label {
  display: none;
}

@media (min-width: 640px) {
  .hn-cart-label {
    display: inline;
  }
}

.hn-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-foreground);
}

button.hn-cart-btn {
  font: inherit;
  cursor: pointer;
}

body.hn-cart-open {
  overflow: hidden;
}

.hn-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.hn-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  display: flex;
  flex-direction: column;
  width: min(100vw - 1rem, 26rem);
  max-width: 100%;
  height: 100%;
  background: var(--card);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
}

.hn-cart-drawer[hidden] {
  display: none !important;
}

.hn-cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.hn-cart-drawer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.hn-cart-drawer-close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0.25rem;
}

.hn-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.hn-cart-drawer-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.hn-cart-drawer-meta {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.hn-btn--ghost {
  border: 1px solid var(--border);
  background: transparent;
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.hn-cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.hn-cart-drawer-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0.5rem 0 0;
}

.hn-cart-drawer-foot {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.hn-cart-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
}

.hn-cart-drawer-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.hn-cart-drawer-line:not(:has(.hn-cart-drawer-thumb-wrap)) {
  grid-template-columns: 1fr auto;
}

.hn-cart-drawer-thumb-wrap {
  display: block;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  align-self: start;
}

.hn-cart-drawer-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}

.hn-cart-drawer-line-main {
  min-width: 0;
}

.hn-cart-drawer-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.4rem;
}

.hn-cart-drawer-line-total {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

.hn-cart-drawer-remove {
  margin: 0;
  align-self: center;
}

.hn-cart-drawer-remove-btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  white-space: nowrap;
}

.hn-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--background);
}

.hn-qty-stepper__form {
  margin: 0;
  display: flex;
}

.hn-qty-stepper__btn {
  width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  color: var(--foreground);
}

.hn-qty-stepper__btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--muted) 85%, transparent);
}

.hn-qty-stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hn-qty-stepper__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-inline: 1px solid var(--border);
  background: var(--card);
}

/* Checkout: review + summary (session cart) */
.hn-checkout-page {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hn-checkout-steps {
  margin-bottom: 1.25rem;
}

.hn-checkout-steps__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: color-mix(in srgb, var(--muted) 40%, var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hn-checkout-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hn-checkout-steps__item--current {
  color: var(--foreground);
}

.hn-checkout-steps__item--done {
  color: var(--foreground);
}

.hn-checkout-steps__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: var(--border);
  color: var(--muted-foreground);
}

.hn-checkout-steps__item--done .hn-checkout-steps__dot {
  background: color-mix(in srgb, var(--brand) 22%, var(--border));
  color: var(--brand);
}

.hn-checkout-steps__item--current .hn-checkout-steps__dot {
  background: var(--brand);
  color: var(--brand-foreground);
}

.hn-checkout-hero {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.hn-checkout-hero__lead {
  margin-bottom: 0;
}

.hn-checkout-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hn-checkout-grid {
    grid-template-columns: 1fr min(22rem, 34vw);
    gap: 2rem;
  }
}

.hn-checkout-section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hn-checkout-line-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hn-checkout-line-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--card);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--foreground) 4%, transparent);
}

.hn-checkout-line-card__media {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  align-self: flex-start;
}

.hn-checkout-line-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hn-checkout-line-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hn-checkout-line-card__title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
  text-decoration: none;
}

.hn-checkout-line-card__title:hover {
  color: var(--brand);
}

.hn-checkout-line-card__unit {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.hn-checkout-line-card__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.25rem;
}

.hn-checkout-line-card__line-total {
  font-weight: 700;
  font-size: 1rem;
  margin-left: auto;
}

.hn-checkout-line-card__remove-form {
  margin: 0;
}

.hn-checkout-line-card__remove {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: underline;
  cursor: pointer;
  text-underline-offset: 2px;
}

.hn-checkout-line-card__remove:hover {
  color: var(--foreground);
}

.hn-checkout-summary-card {
  position: sticky;
  top: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--card) 92%, var(--brand) 4%) 0%,
    var(--card) 55%
  );
  box-shadow: var(--shadow-elevated);
}

.hn-checkout-summary-card__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.hn-checkout-summary-rows {
  margin: 0;
}

.hn-checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

.hn-checkout-summary-row:last-of-type {
  border-bottom: none;
}

.hn-checkout-summary-row dt {
  margin: 0;
  font-weight: 500;
  color: var(--muted-foreground);
}

.hn-checkout-summary-row dd {
  margin: 0;
  font-weight: 700;
}

.hn-checkout-summary-row--muted dd,
.hn-checkout-summary-row--muted dt {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hn-checkout-summary-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted-foreground);
}

.hn-checkout-summary-note a {
  color: var(--brand);
  font-weight: 500;
}

.hn-checkout-summary-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.hn-checkout-back-link {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.hn-checkout-back-link:hover {
  color: var(--brand);
}

.hn-checkout-trust {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hn-checkout-trust__item {
  padding-left: 1rem;
  position: relative;
}

.hn-checkout-trust__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 65%, var(--border));
}

.hn-checkout-empty {
  text-align: center;
  padding: 2rem 1rem 3rem;
}

/* —— Mobile nav: full-screen overlay + bottom sheet (simplified retail pattern) —— */
.hn-nav-mobile-overlay {
  display: none;
}

@media (max-width: 1023px) {
  .hn-nav-mobile-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    inset: 0;
    z-index: 300;
    padding: 0;
    padding-top: env(safe-area-inset-top, 0px);
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  #hn-nav-open:checked ~ .hn-nav-mobile-overlay {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
  }

  body.hn-body:has(#hn-nav-open:checked) {
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .hn-nav-mobile-overlay {
    display: none !important;
  }
}

.hn-nav-mobile-scrim {
  position: absolute;
  inset: 0;
  z-index: 300;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(3px);
}

.hn-nav-mobile-panel {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  bottom: 0;
  z-index: 310;
  display: flex;
  flex-direction: column;
  width: min(86vw, 22rem);
  max-width: 100%;
  height: calc(100dvh - env(safe-area-inset-top, 0px));
  margin: 0;
  background: var(--card);
  border-right: 1px solid var(--border);
  box-shadow: 18px 0 48px rgb(0 0 0 / 0.18);
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

#hn-nav-open:checked ~ .hn-nav-mobile-overlay .hn-nav-mobile-panel {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .hn-nav-mobile-overlay,
  .hn-nav-mobile-panel {
    transition: none;
  }
}

.hn-nav-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid var(--border);
}

.hn-nav-mobile-panel-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hn-nav-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: -0.35rem -0.5rem -0.35rem 0;
  padding: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
  transition: background 0.15s ease, color 0.15s ease;
}

.hn-nav-mobile-close:hover,
.hn-nav-mobile-close:focus-visible {
  background: var(--muted);
  color: var(--brand);
  outline: none;
}

.hn-nav-mobile-close:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent);
}

.hn-nav-mobile-close-icon {
  display: inline-flex;
  line-height: 0;
}

.hn-nav-mobile-inner {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.65rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hn-mobile-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--background);
}

.hn-mobile-link--primary {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  transition: background 0.12s ease, color 0.12s ease;
}

.hn-mobile-link--primary:last-child {
  border-bottom: none;
}

.hn-mobile-link--primary:hover,
.hn-mobile-link--primary:focus-visible {
  background: color-mix(in srgb, var(--brand) 6%, var(--card));
  color: var(--brand);
  outline: none;
}

.hn-mobile-group {
  margin: 0;
  padding: 0;
}

.hn-mobile-group--card {
  padding: 0.65rem 0.75rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 92%, var(--muted));
}

.hn-mobile-group-title {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin: 0 0 0.4rem;
  padding: 0 0.25rem;
}

.hn-mobile-group-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hn-mobile-sublink {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.45rem;
  transition: background 0.12s ease, color 0.12s ease;
}

.hn-mobile-sublink:hover,
.hn-mobile-sublink:focus-visible {
  background: color-mix(in srgb, var(--muted) 55%, transparent);
  color: var(--brand);
  outline: none;
}

.hn-mobile-sublink--emph {
  margin-top: 0.15rem;
  font-weight: 700;
  color: var(--brand);
}

.hn-mobile-sublink--emph:hover,
.hn-mobile-sublink--emph:focus-visible {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.hn-body > main {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2.5rem, 6vw, 4rem);
  min-height: 40vh;
}

.hn-body > main:has(> .hn-account-page) {
  padding-top: clamp(0.75rem, 2.5vw, 1.5rem);
}

/* Listing shell is flush under sticky header (avoid double top padding) */
.hn-body > main:has(> .hn-products-shell) {
  padding-top: 0;
  min-height: 0;
}

/* Collections + product detail should start closer to header */
.hn-body > main:has(> .hn-collections-page),
.hn-body > main:has(> .hn-product-page) {
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
}

.hn-messages {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.25rem;
}

.hn-message {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.hn-message--success {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

.hn-message--error {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.hn-message--info,
.hn-message--debug {
  background: rgba(236, 72, 153, 0.1);
}

/* Footer (SiteFooter parity) */
.hn-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 92%, transparent);
  padding: 2.5rem 0 0;
  color: var(--foreground);
}

.hn-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  text-decoration: none;
}

.hn-footer-brand-link img {
  display: block;
  border-radius: 0.75rem;
}

.hn-footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

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

@media (min-width: 1024px) {
  .hn-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hn-footer-brand {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 0.5rem;
}

.hn-footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 0.5rem;
}

.hn-footer-text,
.hn-footer-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 0.35rem;
}

.hn-footer-note {
  font-size: 0.75rem;
}

.hn-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hn-footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hn-footer-links a:hover {
  color: var(--brand);
}

.hn-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hn-input {
  width: 100%;
  height: 2.25rem;
  padding: 0 0.65rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.hn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}

.hn-btn--primary {
  background: var(--brand);
  color: var(--brand-foreground);
}

.hn-btn--primary:hover {
  opacity: 0.95;
}

.hn-btn--secondary {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.hn-btn--secondary:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  color: var(--brand);
}

.hn-btn--block,
.hn-btn--full {
  width: 100%;
}

.hn-btn--next {
  border-radius: 9999px;
  min-height: 2.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Support & policy pages: outer shell + responsive inner column */
.hn-support-page {
  width: 100%;
  max-width: min(72rem, 100%);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.hn-support-page--contact {
  max-width: min(68rem, 100%);
}

.hn-support-header {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hn-support-header--full {
  width: 100%;
}

.hn-support-lead {
  margin: 0.5rem 0 0;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.55;
  max-width: 40rem;
}

.hn-support-stack {
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

.hn-support-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .hn-support-card:hover {
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.06);
  }
}

.hn-support-prose {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--foreground);
}

.hn-support-prose--custom > *:first-child {
  margin-top: 0;
}

.hn-support-prose h2,
.hn-support-prose h3 {
  font-family: var(--font-display);
  margin: 1.35rem 0 0.5rem;
  font-weight: 700;
}

.hn-support-prose h2 {
  font-size: 1.125rem;
}

.hn-support-prose h3 {
  font-size: 0.9375rem;
  color: #e11d48;
}

.hn-support-prose p,
.hn-support-prose ul,
.hn-support-prose ol {
  margin: 0.65rem 0 0;
}

.hn-support-prose ul,
.hn-support-prose ol {
  padding-left: 1.25rem;
}

.hn-support-prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hn-contact-faq p + p {
  margin-top: 0.85rem;
}

.hn-contact-faq-body {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Next.js marketing page layout (support, privacy, terms) */
.hn-next-page {
  max-width: min(48rem, 100%);
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.hn-next-page--wide {
  max-width: min(56rem, 100%);
}

.hn-next-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hn-next-muted {
  color: var(--muted-foreground);
}

.hn-next-small {
  font-size: 0.875rem;
}

.hn-next-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hn-next-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hn-next-card-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 40%, var(--card));
}

.hn-next-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.hn-next-card-body {
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.5rem);
}

.hn-next-card-body > * + * {
  margin-top: 1rem;
}

.hn-next-accent {
  color: #e11d48;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.hn-next-ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.hn-next-ol {
  margin: 0.5rem 0 0;
  padding-left: 1.35rem;
  list-style: decimal;
}

.hn-next-ol li {
  padding-left: 0.35rem;
  margin-bottom: 0.65rem;
}

.hn-next-ol li:last-child {
  margin-bottom: 0;
}

.hn-next-ul--disc {
  list-style: disc;
}

.hn-next-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hn-next-page--grid .hn-next-contact-grid,
.hn-support-contact-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  width: 100%;
}

@media (min-width: 768px) {
  .hn-next-page--grid .hn-next-contact-grid,
  .hn-support-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

}

@media (min-width: 900px) {
  .hn-support-page--contact .hn-next-page--wide {
    max-width: min(64rem, 100%);
  }
}

@media (max-width: 767px) {
  .hn-support-sidebar-stack,
  .hn-support-sidebar--custom {
    order: 2;
  }

  .hn-support-card--form {
    order: 1;
  }
}

.hn-next-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hn-next-form .hn-input {
  min-height: 2.75rem;
  box-sizing: border-box;
}

.hn-next-form .hn-next-textarea {
  min-height: 7rem;
}

.hn-next-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.hn-next-textarea {
  min-height: 6rem;
  resize: vertical;
  font-family: inherit;
}

.hn-footer-bottom {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  justify-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .hn-footer-bottom {
    grid-template-columns: 1fr auto;
    justify-items: start;
    text-align: left;
    align-items: center;
  }

  .hn-footer-legal {
    justify-self: end;
  }
}

.hn-footer-copy {
  margin: 0;
}

.hn-footer-legal {
  display: flex;
  gap: 1rem;
}

.hn-footer-legal a:hover {
  color: var(--brand);
}

.hn-footer-credits {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
  margin-top: 0.15rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  width: 100%;
}

/* Single row: label + logo share one flex cross-axis so baselines don’t drift */
.hn-footer-credits-inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  max-width: 100%;
}

.hn-footer-credits-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.hn-footer-credits-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  /* Shadow on the link so the whole mark (red + white) gets one halo; reads on light backgrounds */
  -webkit-filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.65)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.65)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
}

.hn-footer-credits-link:hover {
  opacity: 0.92;
}

.hn-footer-credits-logo {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
}

/* WhatsApp float */
.hn-wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hn-wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.25);
}

.hn-wa-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 2px solid #fff;
  position: relative;
}

.hn-wa-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-left-color: transparent;
}

/* Page shells */
.hn-page {
  padding: 2.5rem 0;
}

/* Reduce perceived “blank band” on key commerce pages */
.hn-page.hn-collections-page,
.hn-page.hn-product-page {
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
}

.hn-page-intro {
  margin-bottom: 2rem;
}

.hn-page-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin: 0 0 0.35rem;
}

.hn-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.hn-page-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  max-width: 42rem;
}

.hn-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hn-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
}

.hn-filter-pill:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  color: var(--brand);
}

.hn-filter-pill--active {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.35);
  color: var(--brand);
}

.hn-product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Collections index (/collections/) */
.hn-collections-page .hn-page-intro {
  margin-bottom: 1.25rem;
}

.hn-collections-hero {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 10%, var(--card)),
    color-mix(in srgb, var(--muted) 55%, var(--card))
  );
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .hn-collections-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

.hn-collections-toolbar {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .hn-collections-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
  }
}

.hn-collections-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.45rem 0.55rem;
}

.hn-collections-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--muted-foreground);
}

.hn-collections-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  color: var(--foreground);
}

.hn-collections-search-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.55rem 0.9rem;
}

.hn-collections-count {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.hn-collections-count strong {
  color: var(--foreground);
}

.hn-collections-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hn-collections-quick {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 0.75);
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 0.9rem;
}

.hn-collections-quick:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  color: var(--brand);
}

.hn-collections-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.hn-collections-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.hn-collections-card:hover {
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.08);
  transform: translateY(-2px);
}

.hn-collections-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.hn-collections-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.hn-collections-card-count {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hn-collections-card-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.hn-collections-card-cta {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--brand);
}

.hn-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.hn-product-card:hover {
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.1);
}

.hn-product-card-media {
  height: 10rem;
  background-size: cover;
  background-position: center;
}

.hn-product-card-body {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.hn-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.15);
  color: var(--brand);
}

.hn-product-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: var(--foreground);
}

.hn-price {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95rem;
}

/* --- Products listing (/products/): shell, sidebar, grid --- */
.hn-products-top-search-wrap {
  position: sticky;
  top: var(--hn-products-header-sticky);
  z-index: 44;
  padding: 0.65rem 0 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, var(--brand));
  background: linear-gradient(
    105deg,
    color-mix(in srgb, var(--card) 75%, var(--brand) 12%) 0%,
    var(--card) 45%,
    color-mix(in srgb, var(--background) 90%, var(--brand) 6%) 100%
  );
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.06);
}

/* Listing sticky search band is no longer used (navbar search is canonical). */
.hn-products-shell {
  --hn-products-search-sticky: 0rem;
}

.hn-products-top-search-wrap {
  display: none;
}

.hn-products-top-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.hn-products-top-search-submit-icon {
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.hn-products-top-search-submit-icon .hn-lucide {
  display: block;
}

.hn-products-top-search-input {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hn-products-top-search-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}

.hn-products-top-search-submit {
  flex-shrink: 0;
  min-height: 2.5rem;
  padding-inline: 1.15rem;
}

.hn-products-top-search-clear {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 0.35rem 0.25rem;
}

.hn-products-top-search-clear:hover {
  color: var(--brand);
}

.hn-products-shell {
  --hn-products-header-sticky: max(4.25rem, calc(env(safe-area-inset-top, 0px) + 4rem));
  /* Listing page search lives in the global header — no extra sticky band here */
  --hn-products-search-sticky: 0rem;
  position: relative;
  /* overflow:hidden breaks position:sticky for descendants */
  overflow-x: clip;
  overflow-y: visible;
}

@media (max-width: 1023px) {
  .hn-products-shell {
    --hn-products-search-sticky: 0rem;
  }

  .hn-products-top-search-wrap {
    padding: 0.5rem 0 0.65rem;
  }

  .hn-products-top-search-form {
    flex-wrap: nowrap;
    gap: 0.4rem;
    align-items: stretch;
  }

  .hn-products-top-search-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.75rem;
  }

  .hn-products-top-search-form .hn-products-top-search-submit.hn-btn--primary {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border-color: var(--border);
    background: var(--card);
    color: var(--foreground);
    box-shadow: none;
    opacity: 1;
  }

  .hn-products-top-search-form .hn-products-top-search-submit.hn-btn--primary:hover {
    opacity: 1;
    border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
    color: var(--brand);
    background: color-mix(in srgb, var(--muted) 45%, var(--card));
  }

  .hn-products-top-search-submit-icon {
    display: inline-flex;
  }

  .hn-products-top-search-submit-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hn-products-top-search-clear {
    flex-shrink: 0;
    align-self: center;
    padding: 0.35rem 0.45rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .hn-products-top-search-submit-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}

@media (max-width: 959px) {
  .hn-products-shell {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile filter bottom bar + sheet (Myntra-style) */
.hn-hide-desktop {
  display: none !important;
}

@media (max-width: 959px) {
  .hn-hide-desktop {
    display: flex !important;
  }
}

@media (min-width: 960px) {
  .hn-filter-sheet-state,
  .hn-filter-sheet-scrim,
  .hn-filter-sheet-panel {
    display: none !important;
  }
}

.hn-filter-sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  cursor: pointer;
}

.hn-filter-sheet-state:checked ~ .hn-filter-sheet-scrim {
  opacity: 1;
  pointer-events: auto;
}

.hn-filter-sheet-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 36rem);
  background: var(--card);
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -12px 40px rgb(0 0 0 / 0.18);
  transform: translateY(105%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

.hn-filter-sheet-state:checked ~ .hn-filter-sheet-panel {
  transform: translateY(0);
  pointer-events: auto;
}

.hn-filter-sheet-state:checked ~ .hn-mobile-filter-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.15s ease, transform 0.2s ease;
}

.hn-filter-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.hn-filter-sheet-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foreground);
}

.hn-filter-sheet-close {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.hn-filter-sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.65rem 1rem 1rem;
}

.hn-filter-sheet-blocks .hn-products-sidebar-card {
  margin-bottom: 0.65rem;
}

.hn-filter-sheet-blocks .hn-products-sidebar-card:last-of-type {
  margin-bottom: 0;
}

.hn-filter-sheet-foot {
  flex-shrink: 0;
  padding: 0.65rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 96%, var(--muted));
}

.hn-filter-sheet-done {
  width: 100%;
  min-height: 2.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}

.hn-mobile-filter-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 100%), var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgb(0 0 0 / 0.08);
}

.hn-mobile-filter-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
  max-width: 22rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.35rem;
  border: 1px solid var(--border);
  background: var(--background);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
  cursor: pointer;
}

.hn-mobile-filter-bar__btn:active {
  transform: scale(0.99);
}

.hn-mobile-filter-bar__icon {
  display: inline-flex;
  color: var(--brand);
}

body.hn-body:has(#hn-plist-filter-sheet:checked) {
  overflow: hidden;
}

.hn-products-shell::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -30%;
  height: min(55vh, 28rem);
  background: radial-gradient(
    ellipse 80% 70% at 70% 0%,
    color-mix(in srgb, var(--brand) 18%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hn-products-shell > .hn-container.hn-page.hn-products-page {
  padding-top: 0;
  padding-bottom: 0;
}

.hn-products-page {
  position: relative;
  z-index: 1;
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hn-products-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .hn-products-layout {
    display: grid;
    grid-template-columns: min(17.5rem, 28vw) 1fr;
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    /* stretch so the filter column is as tall as the main column — required for sidebar position:sticky */
    align-items: stretch;
  }
}

.hn-products-sidebar {
  order: 0;
  min-height: 0;
}

@media (min-width: 960px) {
  .hn-products-sidebar--desktop {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }
}

@media (max-width: 959px) {
  .hn-products-sidebar--desktop {
    display: none !important;
  }
}

.hn-products-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 960px) {
  .hn-products-sidebar-inner {
    position: sticky;
    /* Navbar search removed from listing — offset is header + small gap only */
    top: calc(var(--hn-products-header-sticky, 4.25rem) + 0.75rem);
    max-height: calc(100vh - var(--hn-products-header-sticky, 4.25rem) - 1.5rem);
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.35rem;
    scrollbar-gutter: stable;
  }
}

.hn-products-sidebar-card {
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--card) 88%, var(--brand) 5%) 0%,
    var(--card) 55%
  );
  box-shadow: 0 1px 0 color-mix(in srgb, var(--foreground) 5%, transparent),
    0 12px 32px rgb(0 0 0 / 0.04);
}

.hn-products-sidebar-heading {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hn-products-filter-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hn-products-filter-link {
  display: block;
  padding: 0.45rem 0.55rem;
  margin: 0 -0.35rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.hn-products-filter-link:hover {
  color: var(--foreground);
  background: color-mix(in srgb, var(--muted) 55%, transparent);
}

.hn-products-filter-link--active {
  color: var(--brand);
  font-weight: 600;
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
}

.hn-products-sidebar-reset {
  margin: 0.25rem 0 0;
  padding-top: 0.35rem;
}

.hn-products-reset-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: none;
}

.hn-products-reset-link:hover {
  color: var(--brand);
}

.hn-products-main {
  min-width: 0;
}

.hn-products-main-header {
  margin-bottom: 1.25rem;
}

.hn-products-main-title {
  margin-bottom: 0.35rem;
}

.hn-products-main-desc {
  max-width: 40rem;
}

.hn-products-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 92%, var(--muted));
}

@media (min-width: 640px) {
  .hn-products-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.hn-products-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.hn-products-count__num {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

.hn-products-count__for {
  font-weight: 500;
  color: var(--brand);
}

.hn-product-grid--listing {
  gap: clamp(0.85rem, 2vw, 1.15rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

/* Phones / small tablets: always ≥2 products per row (collections, /products/, kits) */
@media (max-width: 767px) {
  .hn-product-grid--listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.4rem;
  }
}

@media (min-width: 768px) {
  .hn-product-grid--listing {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: clamp(0.85rem, 2vw, 1.15rem);
  }
}

.hn-product-card--listing {
  border-radius: calc(var(--radius-lg) + 2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hn-product-card--listing:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 25%, var(--border));
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.12);
}

.hn-product-card-media--listing {
  position: relative;
  height: auto;
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, var(--muted) 65%, var(--card));
  overflow: hidden;
}

.hn-product-card-media--listing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.hn-products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 1rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--muted) 35%, var(--card));
}

.hn-products-listing-extra {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.hn-collection-back {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.hn-collection-back a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.hn-collection-back a:hover {
  color: var(--brand);
}

.hn-cart-layout {
  max-width: 720px;
}

.hn-cart-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* —— Blog: list + article (responsive shell) —— */
.hn-blog-wrap {
  width: 100%;
  max-width: min(80rem, 100%);
  margin-inline: auto;
  padding-inline: clamp(0.875rem, 4.5vw, 1.75rem);
  box-sizing: border-box;
  /* Sticky sidebar sits below sticky .hn-header (min-height 4rem + bar) */
  --hn-blog-sticky-top: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 4.25rem));
}

.hn-blog-page {
  padding-block: clamp(1.25rem, 4vw, 2.75rem) clamp(2rem, 6vw, 3.5rem);
}

.hn-blog-index {
  width: 100%;
  max-width: 100%;
}

.hn-blog-index-header {
  margin-bottom: clamp(1.25rem, 3.5vw, 2.25rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
}

.hn-blog-index-layout {
  display: grid;
  gap: clamp(1.35rem, 3.5vw, 2.75rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .hn-blog-index-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.hn-blog-index-main {
  min-width: 0;
}

.hn-blog-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: clamp(0.65rem, 2vw, 0.85rem) clamp(0.75rem, 2.5vw, 1rem);
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 35%, var(--card));
}

.hn-blog-active-filters-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.hn-blog-active-filters-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.hn-blog-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  text-decoration: none;
}

.hn-blog-filter-chip--active {
  border-color: var(--brand);
  color: var(--brand);
}

.hn-blog-filter-chip-x {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.75;
}

.hn-blog-filter-chip--text {
  cursor: default;
}

.hn-blog-filter-clear {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.25rem;
}

.hn-blog-toolbar-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

@media (max-width: 479px) {
  .hn-blog-toolbar-search {
    flex-direction: column;
  }

  .hn-blog-toolbar-search .hn-blog-toolbar-input,
  .hn-blog-toolbar-search .hn-blog-toolbar-btn {
    width: 100%;
  }
}

.hn-blog-toolbar-input {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  box-sizing: border-box;
}

.hn-blog-toolbar-btn {
  min-height: 2.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

.hn-blog-search-hint {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hn-blog-tag-strip {
  margin-bottom: 1.5rem;
}

.hn-blog-tag-strip-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.hn-blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

@media (max-width: 639px) {
  .hn-blog-tag-strip .hn-blog-tag-cloud {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .hn-blog-tag-strip .hn-blog-tag {
    flex-shrink: 0;
  }
}

.hn-blog-tag-cloud--sidebar {
  gap: 0.4rem;
}

.hn-blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hn-blog-tag--sm {
  font-size: 0.75rem;
  padding: 0.28rem 0.55rem;
}

.hn-blog-tag:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
}

.hn-blog-tag--active {
  background: rgba(236, 72, 153, 0.12);
  border-color: var(--brand);
  color: var(--brand);
}

.hn-blog-tag-count {
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.75;
}

.hn-blog-list {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  grid-template-columns: 1fr;
}

.hn-blog-list--cards {
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

@media (min-width: 768px) {
  .hn-blog-list:not(.hn-blog-list--cards) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hn-blog-list--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hn-blog-card {
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease;
}

.hn-blog-card--rich {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.hn-blog-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--muted) 45%, var(--card));
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}

.hn-blog-card-media:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.hn-blog-card-media--placeholder {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 18%, var(--card)),
    color-mix(in srgb, var(--muted) 55%, var(--card))
  );
}

.hn-blog-card-placeholder {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand) 75%, var(--muted-foreground));
}

.hn-blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hn-blog-card-body {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.hn-blog-card-meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.hn-blog-card-meta-dot {
  opacity: 0.45;
}

.hn-blog-pill {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hn-blog-lang {
  font-weight: 600;
}

.hn-blog-card:hover {
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.08);
}

.hn-blog-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0;
}

.hn-blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.hn-blog-card-title a:hover {
  color: var(--brand);
}

.hn-blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.55;
}

.hn-blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.hn-blog-mini-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--muted) 40%, transparent);
  color: var(--foreground);
  text-decoration: none;
}

.hn-blog-mini-tag:hover {
  color: var(--brand);
}

.hn-blog-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--muted-foreground);
}

.hn-blog-stream-below {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: clamp(0.5rem, 2vw, 1rem);
}

/* Sidebar: desktop = sticky “rail” (main feed scrolls; rail stays in view — news layout) */
.hn-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.1rem);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 1024px) {
  .hn-blog-sidebar {
    position: sticky;
    top: var(--hn-blog-sticky-top);
    align-self: start;
    z-index: 2;
    max-height: calc(100dvh - var(--hn-blog-sticky-top) - 1.25rem);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    padding-right: 0.2rem;
    margin-right: -0.15rem;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .hn-blog-sidebar {
    scroll-behavior: auto;
  }
}

.hn-blog-sidebar-card {
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(1rem, 2.5vw, 1.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

/* UX: avoid duplicate blog search (toolbar already provides search). */
@media (min-width: 1024px) {
  .hn-blog-sidebar-card--search {
    display: none;
  }
}

.hn-blog-sidebar-card--accent {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--brand) 8%, var(--card)),
    var(--card)
  );
}

.hn-blog-sidebar-title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.hn-blog-sidebar-text {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.hn-blog-sidebar-kicker {
  margin-top: -0.35rem;
}

.hn-blog-sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hn-blog-sidebar-form .hn-input {
  min-height: 2.5rem;
}

.hn-blog-newsletter-form .hn-input {
  min-height: 2.5rem;
}

.hn-blog-sidebar-list,
.hn-blog-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hn-blog-sidebar-list li + li,
.hn-blog-sidebar-nav li + li {
  margin-top: 0.45rem;
}

.hn-blog-sidebar-list a,
.hn-blog-sidebar-nav a {
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  line-height: 1.35;
}

.hn-blog-sidebar-list a:hover,
.hn-blog-sidebar-nav a:hover {
  color: var(--brand);
}

.hn-blog-sidebar-list--compact a {
  font-size: 0.8125rem;
}

.hn-blog-sidebar-nav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.hn-blog-sidebar-nav li:last-child a {
  border-bottom: none;
}

.hn-blog-sidebar-nav-active {
  color: var(--brand);
  font-weight: 600;
}

.hn-blog-sidebar-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.hn-blog-sidebar-muted {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.hn-blog-sidebar-cta {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.hn-blog-sidebar-cta:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hn-blog-sidebar-ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
}

.hn-blog-sidebar-ol li + li {
  margin-top: 0.4rem;
}

.hn-blog-lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hn-blog-lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 25%, var(--card));
  color: var(--foreground);
  text-decoration: none;
}

.hn-blog-lang-chip--active {
  border-color: var(--brand);
  color: var(--brand);
}

.hn-blog-detail-wrap {
  max-width: min(52rem, 100%);
}

.hn-blog-article-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.hn-blog-hero {
  position: relative;
  display: block;
  margin: 0 0 clamp(1.25rem, 4vw, 2rem);
  border-radius: clamp(0.65rem, 2vw, var(--radius-lg));
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 40%, var(--card));
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  max-height: min(56vh, 22rem);
}

@media (min-width: 768px) {
  .hn-blog-hero {
    aspect-ratio: 21 / 9;
    max-height: min(50vh, 26rem);
  }
}

.hn-blog-hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hn-blog-article-body {
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: clamp(0, 1.5vw, 0.5rem);
}

.hn-blog-article-header {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hn-blog-article-kicker {
  margin: 0 0 0.65rem;
}

.hn-blog-article-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.hn-blog-meta {
  font-size: clamp(0.8125rem, 2vw, 0.9rem);
  color: var(--muted-foreground);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.hn-blog-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
}

.hn-blog-detail-tags a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--foreground);
  text-decoration: none;
}

.hn-blog-detail-tags a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hn-blog-content {
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.75;
}

.hn-blog-content > *:first-child {
  margin-top: 0;
}

.hn-blog-content :where(h2, h3) {
  margin-top: 1.65rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.hn-blog-content :where(p, ul, ol) {
  margin: 0.75rem 0 0;
}

.hn-blog-content :where(img) {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.hn-blog-content :where(a) {
  color: var(--brand);
  text-underline-offset: 2px;
}

.hn-collection-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: box-shadow 0.15s ease;
}

.hn-collection-card:hover {
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.08);
}

.hn-collection-accent-0 { background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), transparent); }
.hn-collection-accent-1 { background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent); }
.hn-collection-accent-2 { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
.hn-collection-accent-3 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), transparent); }

/* Product detail — base shell; width in PDP block section below */
.hn-product-page-shell {
  padding: clamp(1rem, 2.5vw, 1.35rem) 0 clamp(2.25rem, 5vw, 3rem);
}

.hn-breadcrumb {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.1rem;
}

.hn-breadcrumb a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hn-breadcrumb-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

.hn-breadcrumb-current {
  color: var(--foreground);
}

.hn-product-layout {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hn-product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.hn-product-hero {
  min-height: 380px;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  background-color: rgba(236, 72, 153, 0.06);
}

.hn-product-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.hn-product-thumb {
  flex: 0 0 5rem;
  height: 5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
}

.hn-product-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.15);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hn-product-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hn-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hn-stars {
  display: flex;
  gap: 0.1rem;
  line-height: 1;
}

.hn-stars--sm {
  font-size: 0.85rem;
}

.hn-star {
  color: #cbd5e1;
}

.hn-star--on {
  color: #fbbf24;
}

.hn-rating-meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hn-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 1rem;
}

.hn-product-mrp {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.hn-product-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  white-space: pre-wrap;
}

.hn-product-bullets {
  font-size: 0.875rem;
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.hn-product-cart-form {
  margin-bottom: 1.25rem;
}

.hn-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted-foreground);
}

.hn-product-cart-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hn-input--qty {
  width: 4.5rem;
}

.hn-textarea {
  resize: vertical;
  min-height: 6rem;
  font-family: inherit;
}

.hn-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.hn-share-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-right: 0.25rem;
}

.hn-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  color: var(--foreground);
}

.hn-share-btn:hover {
  background: var(--muted);
}

.hn-share-btn--wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.4);
  color: #128c4b;
}

.hn-share-btn--x {
  font-size: 0.65rem;
}

.hn-share-btn--in {
  font-size: 0.55rem;
}

.hn-back-link {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

.hn-section-title {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.hn-reviews-section {
  margin-bottom: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hn-review-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hn-review-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.hn-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.hn-review-name {
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
}

.hn-review-title {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0.25rem 0 0;
}

.hn-verified-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 0 0 0.5rem;
}

.hn-review-body {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.hn-review-date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0.75rem 0 0;
}

.hn-review-empty {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.hn-review-form-wrap {
  max-width: 32rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 40%, var(--card));
}

.hn-review-form-title {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.hn-review-form-note {
  font-size: 0.8rem;
  margin: 0 0 1rem;
}

.hn-review-form .hn-field {
  margin-bottom: 0.85rem;
}

.hn-related-section {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* —— Product detail (PDP) — block layout, real share icons, HTML description —— */
.hn-product-page {
  max-width: 1180px;
}

.hn-pdp-breadcrumb {
  margin-bottom: 1.25rem;
}

.hn-pdp-layout {
  align-items: stretch;
}

.hn-pdp-block--gallery {
  min-width: 0;
}

.hn-pdp-gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hn-pdp-hero {
  min-height: min(72vw, 28rem);
  border: none;
  border-radius: 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .hn-pdp-hero {
    min-height: 26rem;
  }
}

.hn-pdp-discount-ribbon {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--foreground);
  color: #fef08a;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
}

.hn-pdp-thumbs {
  padding: 0.65rem 0.75rem 0.85rem;
  gap: 0.55rem;
  scroll-snap-type: x mandatory;
}

.hn-pdp-thumb {
  flex: 0 0 4.25rem;
  height: 4.25rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  background-color: var(--muted);
}

.hn-pdp-thumb:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
}

.hn-pdp-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent);
}

.hn-pdp-buy-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.1rem, 2.8vw, 1.65rem);
  height: 100%;
}

.hn-pdp-badge {
  margin-bottom: 0.65rem;
}

.hn-pdp-title {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

.hn-pdp-rating {
  margin-bottom: 0.85rem;
}

.hn-pdp-price-block {
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hn-pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}

.hn-pdp-price-sale {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.hn-pdp-price-mrp {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.hn-pdp-discount-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--foreground);
  color: #fef9c3;
}

.hn-pdp-tax-note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

.hn-pdp-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}

@media (max-width: 640px) {
  .hn-pdp-trust {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.hn-pdp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--muted) 55%, var(--card));
}

.hn-pdp-trust-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, var(--card));
  color: var(--brand);
}

.hn-pdp-trust-icon svg {
  display: block;
}

.hn-pdp-trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--foreground);
}

.hn-pdp-trust-text strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.hn-pdp-trust-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.hn-pdp-desc {
  white-space: normal;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--foreground);
}

.hn-pdp-desc--html :where(p, ul, ol) {
  margin: 0 0 0.75rem;
}

.hn-pdp-desc--html :where(ul, ol) {
  padding-left: 1.2rem;
}

.hn-pdp-desc--html :where(li + li) {
  margin-top: 0.25rem;
}

.hn-pdp-desc--html :where(p:last-child, ul:last-child, ol:last-child) {
  margin-bottom: 0;
}

.hn-pdp-highlights {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--border));
  background: color-mix(in srgb, var(--brand) 5%, var(--card));
}

.hn-pdp-highlights-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hn-pdp-bullets {
  margin: 0;
}

.hn-pdp-cart {
  margin-bottom: 0.85rem;
}

.hn-pdp-cart-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.hn-pdp-qty {
  flex: 0 0 auto;
}

.hn-pdp-add-btn {
  flex: 1 1 12rem;
  min-height: 3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hn-share--icons {
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.hn-share--icons .hn-share-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0;
}

.hn-share-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.hn-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border: none;
  border-radius: 0.65rem;
  padding: 0.2rem;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
  transition: transform 0.12s ease, box-shadow 0.15s ease;
  background: transparent;
}

.hn-share-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.12);
}

.hn-share-icon svg {
  display: block;
}

.hn-share-icon--asset {
  line-height: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}

.hn-share-icon-img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.hn-share-ig.is-copied {
  box-shadow: 0 0 0 2px #22c55e, 0 8px 20px rgb(0 0 0 / 0.12);
}

.hn-share-icon--copy {
  background: var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.hn-share-copy__ok {
  line-height: 0;
  color: #16a34a;
}

.hn-pdp-back {
  margin-top: 1.15rem;
}

.hn-pdp-section-title {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.hn-pdp-block--reviews {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
}

.hn-pdp-related-grid {
  gap: 1rem;
}

.hn-pdp-related-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease, transform 0.12s ease;
}

.hn-pdp-related-card:hover {
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

/* —— Default homepage landing (Wagtail empty StreamField) —— */
.hn-landing {
  overflow-x: hidden;
}

/* (moved to base header: .hn-header-topbar + .hn-header-catnav) */

.hn-landing-hero-swiper-wrap {
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hn-landing-hero-swiper {
  overflow: hidden;
}

.hn-landing-hero-swiper .swiper-slide {
  height: auto;
}

.hn-landing-hero--carousel {
  padding: clamp(0.75rem, 3vw, 1.6rem) 0 clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--brand) 10%, var(--background)) 0%,
    var(--background) 38%,
    color-mix(in srgb, var(--muted) 24%, var(--background)) 100%
  );
}

.hn-landing-hero-nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(0.25rem, 2vw, 0.75rem);
  pointer-events: none;
}

.hn-landing-hero-prev,
.hn-landing-hero-next {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
  cursor: pointer;
  color: var(--foreground);
  font-size: 1.35rem;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}

.hn-landing-hero-prev:hover,
.hn-landing-hero-next:hover {
  background: var(--card);
  transform: scale(1.04);
}

.hn-landing-hero-prev::after {
  content: "‹";
  margin-bottom: 2px;
}

.hn-landing-hero-next::after {
  content: "›";
  margin-bottom: 2px;
}

.hn-landing-hero-pagination.swiper-pagination-bullets {
  position: relative;
  padding: 0.5rem 0 1.1rem;
}

.hn-landing-hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--brand);
  opacity: 0.35;
}

.hn-landing-hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.hn-landing-hero {
  padding: clamp(0.75rem, 3vw, 1.6rem) 0 clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--brand) 6%, var(--background)) 0%,
    var(--background) 42%,
    color-mix(in srgb, var(--muted) 22%, var(--background)) 100%
  );
  border-bottom: 1px solid var(--border);
}

.hn-landing-hero-inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  max-width: min(72rem, 100%);
}

@media (min-width: 900px) {
  .hn-landing-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hn-landing-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border));
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin: 0 0 0.85rem;
}

.hn-landing-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hn-landing-hero-lead {
  margin: 0 0 1.1rem;
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 38rem;
}

.hn-landing-hero-bullets {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--foreground);
}

.hn-landing-hero-bullets li + li {
  margin-top: 0.35rem;
}

.hn-landing-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hn-landing-hero-cta--footer {
  justify-content: center;
}

.hn-landing-cta-primary {
  min-height: 2.75rem;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.hn-landing-cta-secondary {
  min-height: 2.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.hn-landing-cta-ghost {
  min-height: 2.75rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hn-landing-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hn-landing-hero-frame {
  border-radius: clamp(0.75rem, 2vw, var(--radius-lg));
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.1);
  background: var(--card);
}

.hn-landing-hero-media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  min-height: 12rem;
}

@media (min-width: 900px) {
  .hn-landing-hero-media {
    aspect-ratio: 1 / 1;
    min-height: 18rem;
  }
}

.hn-landing-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.hn-landing-stat {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
}

.hn-landing-stat-value {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.hn-landing-stat-label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted-foreground);
  margin-top: 0.2rem;
}

.hn-landing-trust {
  padding: clamp(0.85rem, 2vw, 1.1rem) 0;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 18%, var(--background));
}

.hn-landing-trust-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hn-landing-trust-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hn-landing-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.hn-landing-section:nth-of-type(even) {
  background: color-mix(in srgb, var(--muted) 12%, var(--background));
}

.hn-landing-section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hn-landing-section-head--compact {
  margin-bottom: 1rem;
}

.hn-landing-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin: 0 0 0.4rem;
}

.hn-landing-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.hn-landing-section-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.hn-landing-text-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.hn-landing-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hn-landing-collection-grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .hn-landing-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hn-landing-collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hn-landing-collection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.1rem, 2.5vw, 1.35rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.hn-landing-collection-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.08);
  transform: translateY(-2px);
}

.hn-landing-collection-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 40%, #a855f7));
}

.hn-landing-collection-body {
  padding-left: 0.35rem;
  flex: 1;
}

.hn-landing-collection-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: var(--foreground);
}

.hn-landing-collection-desc {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.hn-landing-collection-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}

.hn-landing-collection-go {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
}

.hn-landing-empty {
  grid-column: 1 / -1;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.hn-landing-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hn-landing-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  text-decoration: none;
}

.hn-landing-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hn-landing-pill--emph {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  color: var(--brand);
}

.hn-landing-muted {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hn-landing-product-grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.hn-landing-product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}

.hn-landing-product-card:hover {
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.08);
}

.hn-landing-product-media-wrap {
  aspect-ratio: 4 / 5;
  background-color: color-mix(in srgb, var(--muted) 45%, var(--card));
  overflow: hidden;
}

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

.hn-landing-product-body {
  padding: 0.75rem 0.85rem 1rem;
}

.hn-landing-product-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.14);
  color: var(--brand);
}

.hn-landing-product-name {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0.4rem 0 0.25rem;
  line-height: 1.3;
}

.hn-landing-product-price {
  margin: 0;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
}

.hn-landing-product-media-wrap {
  position: relative;
}

.hn-landing-product-off {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: #dc2626;
  color: #fff;
}

.hn-landing-product-price-row {
  margin: 0.3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.hn-landing-product-price-sale {
  margin: 0;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
}

.hn-landing-product-price-mrp {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.hn-landing-product-cta {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
}

.hn-landing-split-inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  max-width: min(72rem, 100%);
}

@media (min-width: 900px) {
  .hn-landing-split-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

.hn-landing-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--foreground);
}

.hn-landing-steps li + li {
  margin-top: 0.5rem;
}

.hn-landing-split-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hn-landing-aside-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
}

.hn-landing-aside-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand);
}

.hn-landing-aside-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.hn-landing-faq-grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.1rem);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hn-landing-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hn-landing-faq-item {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.hn-landing-faq-q {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.65rem;
  color: var(--foreground);
}

.hn-landing-faq-a {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.hn-landing-cta {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, #ec4899 0%, #be185d 48%, #9d174d 100%);
  color: #fff;
}

.hn-landing-cta-inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.hn-landing-cta-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hn-landing-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0.65rem 0;
  letter-spacing: -0.02em;
}

.hn-landing-cta-desc {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.94;
}

.hn-landing-cta .hn-btn--primary {
  background: #fff;
  color: #be185d;
  border: none;
}

.hn-landing-cta .hn-btn--primary:hover {
  opacity: 0.95;
}

.hn-landing-cta .hn-landing-cta-secondary {
  background: transparent;
  border: 2px solid rgb(255 255 255 / 0.85);
  color: #fff;
}

.hn-landing-cta .hn-landing-cta-secondary:hover {
  background: rgb(255 255 255 / 0.12);
}

/* —— Wagtail homepage: campaign / occasion preset blocks —— */
.hn-campaign-hero {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--border);
}

.hn-campaign-hero--festival {
  background: linear-gradient(145deg, color-mix(in srgb, #f59e0b 12%, var(--background)), var(--background));
}

.hn-campaign-hero--sale {
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 14%, var(--background)), var(--background));
}

.hn-campaign-hero--wedding {
  background: linear-gradient(145deg, color-mix(in srgb, #fda4af 18%, var(--background)), var(--background));
}

.hn-campaign-hero--christmas {
  background: linear-gradient(145deg, color-mix(in srgb, #15803d 10%, var(--background)), color-mix(in srgb, #991b1b 8%, var(--background)));
}

.hn-campaign-hero--summer {
  background: linear-gradient(145deg, color-mix(in srgb, #38bdf8 12%, var(--background)), var(--background));
}

.hn-campaign-hero--minimal {
  background: linear-gradient(180deg, color-mix(in srgb, var(--muted) 20%, var(--background)), var(--background));
}

.hn-campaign-hero-inner {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  max-width: min(72rem, 100%);
}

@media (min-width: 900px) {
  .hn-campaign-hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.hn-campaign-hero-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.65rem;
}

.hn-campaign-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.65rem;
}

.hn-campaign-hero-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.hn-campaign-hero-bullets {
  margin: 0 0 1.15rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hn-campaign-hero-bullets li + li {
  margin-top: 0.3rem;
}

.hn-campaign-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hn-campaign-hero-cta-secondary {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.hn-campaign-hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.hn-campaign-hero-media {
  aspect-ratio: 1 / 1;
  min-height: 14rem;
  background-size: cover;
  background-position: center;
}

.hn-campaign-ribbon {
  padding: 0.55rem 0;
  font-size: 0.8125rem;
  font-weight: 700;
}

.hn-campaign-ribbon--magenta {
  background: linear-gradient(90deg, #be185d, #ec4899);
  color: #fff;
}

.hn-campaign-ribbon--gold {
  background: linear-gradient(90deg, #92400e, #f59e0b);
  color: #fff;
}

.hn-campaign-ribbon--ink {
  background: linear-gradient(90deg, #1e1b4b, #312e81);
  color: #fff;
}

.hn-campaign-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  text-align: center;
}

.hn-campaign-ribbon-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 800;
}

.hn-campaign-flash {
  padding: clamp(1rem, 2.5vw, 1.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.hn-campaign-flash--magenta {
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
}

.hn-campaign-flash--gold {
  background: color-mix(in srgb, #f59e0b 12%, var(--card));
}

.hn-campaign-flash--ink {
  background: color-mix(in srgb, #312e81 14%, var(--card));
  color: #fff;
}

.hn-campaign-flash-inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.hn-campaign-flash-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.hn-campaign-flash-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  margin: 0.4rem 0;
}

.hn-campaign-flash-deadline {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.hn-campaign-flash-cta {
  display: inline-flex;
}

.hn-campaign-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin: 0 0 0.35rem;
}

.hn-campaign-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.hn-campaign-section-desc {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.hn-campaign-testimonials {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--border);
}

.hn-campaign-testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hn-campaign-testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hn-campaign-testimonial-card {
  margin: 0;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.hn-campaign-testimonial-quote {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--foreground);
}

.hn-campaign-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8rem;
}

.hn-campaign-testimonial-name {
  font-weight: 800;
  color: var(--brand);
}

.hn-campaign-testimonial-role {
  color: var(--muted-foreground);
}

.hn-campaign-reviews {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  background: color-mix(in srgb, var(--muted) 15%, var(--background));
  border-bottom: 1px solid var(--border);
}

.hn-campaign-reviews-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.hn-campaign-reviews-score {
  flex: 1 1 12rem;
}

.hn-campaign-reviews-rating {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--brand);
  display: block;
}

.hn-campaign-reviews-summary {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.hn-campaign-reviews-bullets {
  margin: 0;
  padding-left: 1.1rem;
  flex: 1 1 16rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hn-campaign-trust {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid var(--border);
}

.hn-campaign-trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .hn-campaign-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hn-campaign-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
  font-size: 0.78rem;
}

.hn-campaign-trust-emoji {
  font-size: 1.25rem;
}

.hn-campaign-trust-title {
  font-weight: 800;
  color: var(--foreground);
}

.hn-campaign-trust-body {
  color: var(--muted-foreground);
  line-height: 1.35;
}

.hn-campaign-dual {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.hn-campaign-dual-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hn-campaign-dual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hn-campaign-dual-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, var(--card)), var(--card));
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hn-campaign-dual-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.08);
}

.hn-campaign-dual-card--alt {
  background: linear-gradient(135deg, color-mix(in srgb, #a855f7 10%, var(--card)), var(--card));
}

.hn-campaign-dual-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.hn-campaign-dual-body {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
  flex: 1;
}

.hn-campaign-dual-cta {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--brand);
}

.hn-campaign-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 25%, var(--background));
}

.hn-campaign-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--foreground);
  animation: hn-marquee-scroll 28s linear infinite;
}

.hn-campaign-marquee--slow .hn-campaign-marquee-track {
  animation-duration: 42s;
}

.hn-campaign-marquee--fast .hn-campaign-marquee-track {
  animation-duration: 18s;
}

@media (prefers-reduced-motion: reduce) {
  .hn-campaign-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@keyframes hn-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hn-campaign-marquee-seg {
  white-space: nowrap;
}

.hn-campaign-marquee-dot {
  opacity: 0.45;
}

.hn-campaign-trending {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--border);
}

.hn-campaign-product-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.hn-campaign-product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
}

.hn-campaign-product-media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: color-mix(in srgb, var(--muted) 40%, var(--card));
}

.hn-campaign-product-body {
  padding: 0.65rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hn-campaign-product-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.14);
  color: var(--brand);
  width: fit-content;
}

.hn-campaign-product-name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.hn-campaign-product-price {
  font-weight: 800;
  color: var(--brand);
  font-size: 0.9rem;
}

.hn-campaign-muted {
  color: var(--muted-foreground);
  grid-column: 1 / -1;
}

/* -------------------------------------------------------------------------- */
/* Mobile typography (≤767px): compact retail rhythm inspired by Myntra app   */
/* 14px body, 12–13px secondary, uppercase labels, slightly tighter headings  */
/* -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --hn-mobile-base: 0.875rem;
    --hn-mobile-sm: 0.8125rem;
    --hn-mobile-xs: 0.6875rem;
    --hn-mobile-lead: 1.45;
    --hn-mobile-lead-tight: 1.32;
  }

  body,
  .hn-body {
    font-size: var(--hn-mobile-base);
    line-height: var(--hn-mobile-lead);
  }

  .hn-container,
  .sf-container {
    padding-inline: 1rem;
  }

  .hn-header-inner {
    min-height: 3.5rem;
  }

  .hn-nav-desktop .hn-nav-link,
  .hn-nav-desktop .hn-dropdown-trigger {
    font-size: var(--hn-mobile-sm);
  }

  .hn-cart-btn {
    font-size: var(--hn-mobile-xs);
    padding: 0.4rem 0.6rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
  }

  .hn-mobile-link--primary {
    font-size: 0.9375rem;
  }

  .hn-mobile-sublink {
    font-size: 0.8125rem;
  }

  .hn-mobile-group-title {
    font-size: 0.625rem;
    letter-spacing: 0.09em;
  }

  .hn-nav-mobile-panel-title {
    font-size: 0.625rem;
    letter-spacing: 0.12em;
  }

  .hn-page {
    padding: 1.5rem 0;
  }

  .hn-page-eyebrow {
    font-size: var(--hn-mobile-xs);
    letter-spacing: 0.07em;
  }

  .hn-page-title {
    font-size: 1.25rem;
    line-height: var(--hn-mobile-lead-tight);
  }

  .hn-page-desc {
    font-size: var(--hn-mobile-sm);
    line-height: var(--hn-mobile-lead);
  }

  .hn-btn {
    font-size: var(--hn-mobile-sm);
    min-height: 2.5rem;
  }

  .hn-btn--next {
    min-height: 2.65rem;
  }

  .hn-product-card-title {
    font-size: var(--hn-mobile-sm);
    line-height: var(--hn-mobile-lead-tight);
  }

  .hn-price {
    font-size: var(--hn-mobile-base);
  }

  .hn-badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.38rem;
  }

  .hn-product-card-body {
    padding: 0.65rem 0.85rem 0.85rem;
  }

  /* 2-col listing rows: tighter copy so names read cleanly in half width */
  .hn-product-card--listing .hn-product-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hn-product-card--listing .hn-price {
    font-size: 0.8125rem;
    font-weight: 800;
  }

  .hn-product-card--listing .hn-product-card-body {
    padding: 0.4rem 0.45rem 0.55rem;
    gap: 0.2rem;
  }

  .hn-product-card--listing .hn-badge {
    font-size: 0.55rem;
    padding: 0.08rem 0.32rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hn-footer,
  .hn-footer-links a {
    font-size: var(--hn-mobile-sm);
  }

  .hn-input,
  .hn-products-top-search-input {
    font-size: var(--hn-mobile-base);
  }

  .hn-messages {
    font-size: var(--hn-mobile-sm);
  }

  .hn-cart-drawer-title {
    font-size: 1rem;
  }

  .hn-cart-drawer-name {
    font-size: var(--hn-mobile-sm);
  }

  .hn-cart-drawer-meta,
  .hn-cart-drawer-note {
    font-size: var(--hn-mobile-xs);
  }

  .hn-checkout-steps__list {
    font-size: var(--hn-mobile-xs);
    padding: 0.55rem 0.75rem;
  }

  .hn-checkout-section-title {
    font-size: var(--hn-mobile-base);
  }

  .hn-checkout-line-card__title {
    font-size: var(--hn-mobile-sm);
  }

  .hn-checkout-line-card__unit,
  .hn-checkout-summary-note {
    font-size: var(--hn-mobile-xs);
  }

  .hn-checkout-summary-card__title {
    font-size: var(--hn-mobile-base);
  }

  .hn-blog-index-header .hn-page-title,
  .hn-blog-article-header h1 {
    font-size: 1.2rem;
    line-height: var(--hn-mobile-lead-tight);
  }

  .hn-blog-card-title {
    font-size: var(--hn-mobile-sm);
  }

  .hn-blog-tag,
  .hn-blog-detail-tags a {
    font-size: var(--hn-mobile-xs);
  }

  .hn-blog-card-excerpt,
  .hn-blog-meta,
  .hn-blog-card-meta {
    font-size: var(--hn-mobile-xs);
  }

  .hn-product-title {
    font-size: 1.2rem;
    line-height: var(--hn-mobile-lead-tight);
  }

  .hn-support-lead {
    font-size: var(--hn-mobile-sm);
  }

  .hn-support-prose p,
  .hn-support-prose li {
    font-size: var(--hn-mobile-sm);
  }

  .hn-filter-pill {
    font-size: var(--hn-mobile-xs);
    padding: 0.3rem 0.65rem;
  }

  .hn-products-count {
    font-size: var(--hn-mobile-sm);
  }

  .hn-products-count__num {
    font-size: var(--hn-mobile-base);
  }

  .hn-products-sidebar-heading {
    font-size: var(--hn-mobile-xs);
  }

  .hn-products-filter-link {
    font-size: var(--hn-mobile-sm);
    padding: 0.5rem 0.55rem;
  }

  .hn-products-reset-link {
    font-size: var(--hn-mobile-xs);
  }

  .hn-campaign-product-name {
    font-size: var(--hn-mobile-sm);
  }

  .hn-campaign-product-price {
    font-size: var(--hn-mobile-base);
  }
}

/* Account + session auth (header) */
.hn-header-logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.hn-header-logout-form--desktop {
  display: none;
}

@media (min-width: 1024px) {
  .hn-header-logout-form--desktop {
    display: inline;
  }
}

.hn-header-logout {
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius);
}

.hn-header-logout:hover {
  color: var(--brand);
}

.hn-mobile-logout-form {
  margin: 0;
  padding: 0;
}

.hn-mobile-logout-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* —— Account dashboard (/account/, /account/login/) —— */
.hn-account-page {
  --hn-account-scroll-top: calc(env(safe-area-inset-top, 0px) + 5.5rem);
  width: 100%;
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 6%, var(--background)) 0%,
    var(--background) 14rem,
    var(--background) 100%
  );
}

.hn-account-page__inner {
  max-width: min(44rem, 100%);
}

.hn-account-page__inner--narrow {
  max-width: min(26rem, 100%);
}

.hn-account-hero {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: clamp(1rem, 2.5vw, 1.35rem);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 85%, var(--brand));
}

.hn-account-hero--login {
  border-bottom: none;
  margin-bottom: 1rem;
  padding-bottom: 0;
}

.hn-account-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.5rem;
  color: var(--foreground);
}

.hn-account-hero__lead {
  margin: 0 0 1rem;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  line-height: 1.55;
  color: var(--muted-foreground);
  max-width: 36rem;
}

.hn-account-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.hn-account-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hn-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  max-width: 100%;
}

.hn-account-pill__icon {
  display: inline-flex;
  opacity: 0.85;
}

.hn-account-pill--muted {
  color: var(--muted-foreground);
  background: color-mix(in srgb, var(--muted) 35%, var(--card));
}

.hn-account-pill--brand {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
}

.hn-account-subnav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding: 0.2rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  mask-image: linear-gradient(to right, transparent, #000 0.75rem, #000 calc(100% - 0.75rem), transparent);
}

.hn-account-subnav__link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--foreground);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hn-account-subnav__link:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  color: var(--brand);
}

.hn-account-subnav__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
}

.hn-account-layout.hn-next-stack {
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

.hn-account-section[id] {
  scroll-margin-top: var(--hn-account-scroll-top);
}

.hn-account-page .hn-next-card {
  border-radius: 1rem;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 80%, transparent), 0 14px 40px rgb(0 0 0 / 0.06);
  border-color: color-mix(in srgb, var(--border) 92%, var(--brand));
}

.hn-account-page .hn-next-card-head {
  padding: 0.85rem 1.1rem;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--card) 88%, var(--brand) 12%) 0%,
    color-mix(in srgb, var(--muted) 38%, var(--card)) 100%
  );
}

.hn-account-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hn-account-card-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--brand) 12%, var(--card));
  color: var(--brand);
  flex-shrink: 0;
}

.hn-account-card-head .hn-next-card-title {
  font-size: 1.05rem;
}

.hn-account-form__grid {
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .hn-account-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hn-account-field--full {
    grid-column: 1 / -1;
  }
}

.hn-account-field--checkbox .hn-checkbox-label {
  margin-top: 0.15rem;
}

.hn-account-field-hint {
  margin: 0.35rem 0 0;
}

.hn-account-form__actions {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

.hn-account-btn-primary {
  width: 100%;
}

@media (min-width: 640px) {
  .hn-account-btn-primary {
    width: auto;
    min-width: 10rem;
  }
}

.hn-account-orders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hn-account-order {
  margin: 0;
  padding: 0;
  border: none;
}

.hn-account-order-card {
  padding: 1rem 1.05rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 55%, var(--card));
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hn-account-order-card:hover {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.05);
}

.hn-account-order-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.hn-account-order-card__ids {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hn-account-order-id {
  font-weight: 700;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

.hn-account-order-date {
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

.hn-account-status {
  flex-shrink: 0;
  padding: 0.22rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--muted-foreground);
}

.hn-account-status--paid,
.hn-account-status--shipped {
  border-color: color-mix(in srgb, #10b981 45%, var(--border));
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.hn-account-status--created,
.hn-account-status--pending_payment,
.hn-account-status--cod_pending {
  border-color: color-mix(in srgb, #f59e0b 45%, var(--border));
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.hn-account-status--cancelled,
.hn-account-status--failed {
  border-color: color-mix(in srgb, #ef4444 40%, var(--border));
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.hn-account-order-total {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand);
  margin: 0.65rem 0 0.45rem;
  letter-spacing: -0.02em;
}

.hn-account-order-lines {
  margin: 0;
  padding: 0.5rem 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted-foreground);
  border-top: 1px dashed color-mix(in srgb, var(--border) 90%, transparent);
}

.hn-account-order-lines li {
  margin-bottom: 0.25rem;
}

.hn-account-empty {
  text-align: center;
  padding: 1.5rem 1rem 1.75rem;
  border-radius: 0.75rem;
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--muted) 22%, var(--card));
}

.hn-account-empty--compact {
  padding: 1.1rem 0.85rem;
  text-align: left;
}

.hn-account-empty__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 1rem;
}

.hn-account-empty__text {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.hn-account-empty--compact .hn-account-empty__text {
  margin-bottom: 0;
}

.hn-account-reviews {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hn-account-review {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.hn-account-review:first-child {
  padding-top: 0;
}

.hn-account-review:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hn-account-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.hn-account-review__product {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
  text-decoration: none;
}

.hn-account-review__product:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hn-account-review-stars {
  font-weight: 700;
  font-size: 0.85rem;
  color: #d97706;
}

.hn-account-review-comment {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--foreground);
}

.hn-account-review__meta {
  margin: 0.45rem 0 0;
}

.hn-account-address {
  padding: 1.05rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 40%, var(--card));
}

.hn-account-address__head {
  margin-bottom: 0.25rem;
}

.hn-account-address__label {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.hn-account-address__badge {
  vertical-align: middle;
  margin-left: 0.25rem;
}

.hn-account-address__contact {
  margin: 0 0 0.5rem;
}

.hn-account-address__line {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hn-account-address__line--muted {
  color: var(--muted-foreground);
  font-size: 0.84rem;
}

.hn-account-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hn-account-address-btn {
  min-height: 2.5rem;
}

.hn-account-address-btn--danger:hover {
  color: #b91c1c;
  border-color: color-mix(in srgb, #ef4444 35%, var(--border));
}

.hn-account-add-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hn-account-add-block__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.hn-account-add-block__hint {
  margin: 0 0 1rem;
}

.hn-account-steps {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.hn-account-steps__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.65;
}

.hn-account-steps__item--active {
  opacity: 1;
  color: var(--foreground);
}

.hn-account-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: var(--muted);
  border: 1px solid var(--border);
}

.hn-account-steps__item--active .hn-account-steps__num {
  background: color-mix(in srgb, var(--brand) 18%, var(--card));
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  color: var(--brand);
}

.hn-account-login-trust {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted-foreground);
  border-radius: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--border) 90%, var(--brand));
  background: color-mix(in srgb, var(--brand) 5%, var(--card));
}

.hn-account-login-trust__icon {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 0.05rem;
}

.hn-account-login-card .hn-next-card-body {
  padding-top: 1.1rem;
}

.hn-account-login-foot {
  margin: 1rem 0 0;
  text-align: center;
}

.hn-account-otp-input {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 479px) {
  .hn-account-subnav {
    margin-left: -0.15rem;
    margin-right: -0.15rem;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .hn-account-page .hn-next-card-body {
    padding-inline: clamp(0.85rem, 3vw, 1.15rem);
  }

  .hn-account-order-card {
    padding: 0.85rem 0.9rem;
  }
}

.hn-inline-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.hn-btn--small {
  min-height: auto;
  padding: 0.3rem 0.55rem;
  font-size: 0.8rem;
}

.hn-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}
