:root {
  --lumi-ink: #252321;
  --lumi-muted: #6f6965;
  --lumi-line: #e6dcd6;
  --lumi-paper: #fffdfa;
  --lumi-peach: #f3cfc4;
  --lumi-peach-deep: #d98f79;
  --lumi-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body, .account-body { margin: 0; background: linear-gradient(125deg, #fffdfa 0%, #fae9e4 26%, #f8f0f4 49%, #f7d9ce 74%, #fffaf5 100%); color: var(--lumi-ink); font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(217, 143, 121, .42); outline-offset: 3px; }

.announcement { background: linear-gradient(90deg, #f5d7cf, #f9eee9 50%, #e4ecdc); color: var(--lumi-ink); border-bottom: 1px solid rgba(111, 105, 101, .14); }
.header, .simple-header { width: 100%; min-width: 0; display: flex; justify-content: space-between; gap: 20px; height: auto; min-height: 70px; padding: 14px max(18px, calc((100vw - var(--lumi-max)) / 2)); background: rgba(255, 253, 250, .98); border-bottom: 1px solid var(--lumi-line); backdrop-filter: none; }
.header, .simple-header { align-items: center; }
.logo, .footer-logo { color: var(--lumi-ink); font-family: inherit; font-size: 27px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.logo span, .footer-logo span { color: var(--lumi-peach-deep); }
.desktop-nav, .catalog-header-links { min-width: 0; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.desktop-nav a, .catalog-header-links a, .quiet-link { color: var(--lumi-ink); text-decoration: none; font-size: 14px; }
.desktop-nav a:hover, .catalog-header-links a:hover, .quiet-link:hover { color: var(--lumi-peach-deep); }
.cart-button { background: var(--lumi-ink); color: #fff; border-color: var(--lumi-ink); border-radius: 8px; }
.cart-button b, .cart-count, #catalog-cart-count { background: var(--lumi-peach); color: var(--lumi-ink); }
.search-bar { inset: auto 0 auto 0; top: calc(100% + 10px); min-height: 72px; padding: 12px max(18px, calc((100vw - var(--lumi-max)) / 2)); border: 1px solid var(--lumi-line); border-radius: 0 0 14px 14px; background: linear-gradient(110deg, rgba(255,253,250,.98), rgba(250,225,218,.96), rgba(249,241,244,.96)); box-shadow: 0 16px 30px rgba(79, 50, 42, .14); transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; z-index: 35; }
.search-bar.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-bar label { color: var(--lumi-ink); }
.search-bar input { min-width: 0; border: 1px solid rgba(37,35,33,.22); border-radius: 8px; background: rgba(255,255,255,.76); padding: 11px 12px; }
.search-close { width: 40px; height: 40px; border-radius: 8px; color: var(--lumi-ink); }

.shop-hero, .catalog-intro, .legal-page, .cart-page, .dashboard, .auth-shell, .admin-shell { width: min(100%, var(--lumi-max)); margin-inline: auto; }
.shop-hero { position: relative; overflow: hidden; border: 1px solid var(--lumi-line); border-top: 0; border-radius: 0 0 18px 18px; background: linear-gradient(120deg, rgba(255,253,250,.98), rgba(248,225,219,.9) 58%, rgba(221,235,211,.85)); }
.shop-hero::after { content: ""; position: absolute; right: -10%; bottom: -48%; width: 340px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(243,207,196,.35) 48%, transparent 70%); pointer-events: none; }
.shop-hero > * { position: relative; z-index: 1; }
.shop-proof div, .shop-cat, .shop-trust article, .product, .catalog-card, .admin-panel, .order-summary, .checkout-box, .profile-card, .address-form, .auth-card { border-color: var(--lumi-line); box-shadow: none; }
.shop-proof div, .shop-trust article { background: rgba(255, 253, 250, .74); }
.shop-cat:nth-child(2n), .shop-trust article:nth-child(2n) { background: linear-gradient(135deg, #fffdfa, #f9e5df); }
.shop-cat:nth-child(3n), .shop-trust article:nth-child(3n) { background: linear-gradient(135deg, #fffdfa, #e9f0e3); }
.shop-cat:hover { background: linear-gradient(135deg, #fbe1d9, #fffdfa); border-color: var(--lumi-peach-deep); }
.products-section { background: transparent; }
.product, .catalog-card { border-radius: 12px; box-shadow: 0 8px 20px rgba(81, 54, 45, .05); }
.product-image, .catalog-card .product-image { background: linear-gradient(145deg, #fbf2ef, #f4e7e2); }
.button, .search-submit { border-radius: 8px; }
.button.dark, .search-submit { background: var(--lumi-ink); color: #fff; border-color: var(--lumi-ink); }
.button.dark:hover, .search-submit:hover { background: var(--lumi-peach-deep); border-color: var(--lumi-peach-deep); color: #fff; }

.catalog-page { padding-top: 42px; }
.catalog-intro { padding: 34px; border-radius: 16px; background: linear-gradient(120deg, rgba(255,253,250,.9), rgba(250,224,217,.78), rgba(228,237,220,.7)); border: 1px solid var(--lumi-line); }
.catalog-layout { grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); }
.catalog-controls { min-width: 0; border-color: var(--lumi-line); border-radius: 12px; background: rgba(255, 253, 250, .88); }
.catalog-summary { display: flex; justify-content: space-between; gap: 16px; }
.catalog-summary div, .catalog-summary span { min-width: 0; }
.catalog-filters button { border-radius: 999px; }
.catalog-filters button.active { background: var(--lumi-peach-deep); border-color: var(--lumi-peach-deep); }
.catalog-card-body h2, .product-info h3 { overflow-wrap: anywhere; }

.legal-page { margin-top: 42px; margin-bottom: 72px; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--lumi-line); border-radius: 16px; background: linear-gradient(135deg, rgba(255,253,250,.94), rgba(248,232,227,.72)); }
.legal-page h1 { letter-spacing: 0; }
.legal-page section { border-color: var(--lumi-line); }
.legal-page li { overflow-wrap: anywhere; }
.offer-document { margin-top: 12px; }
.offer-document .offer-title { margin-top: -10px; color: var(--lumi-muted); font-size: 15px; }
.offer-document h3 { margin: 30px 0 12px; font-size: clamp(18px, 2vw, 23px); line-height: 1.25; }
.offer-document ol, .offer-document ul { padding-left: 24px; }
.offer-document li { margin: 10px 0; line-height: 1.65; }
.offer-document .offer-note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--lumi-line); color: var(--lumi-muted); font-size: 13px; line-height: 1.6; }

.dashboard, .auth-shell, .admin-shell { padding: 42px 20px 72px; }
.dashboard { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
.dashboard > aside, .dashboard-content, .auth-intro, .auth-card { min-width: 0; }
.dashboard > aside, .auth-intro { border-radius: 14px; background: linear-gradient(145deg, #fffdfa, #f7dfd7); }
.dashboard-content, .auth-card { border-radius: 14px; border-color: var(--lumi-line); background: rgba(255, 253, 250, .88); }
.dashboard nav button.active, .auth-tabs button.active { background: var(--lumi-peach-deep); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-shell { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); }
.auth-card { box-shadow: 0 12px 30px rgba(81, 54, 45, .08); }
.admin-shell { max-width: var(--lumi-max); }
.admin-login, .admin-grid { min-width: 0; }
.admin-panel, .admin-dialog { border-radius: 14px; background: rgba(255,253,250,.94); }
.admin-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.role-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid var(--lumi-line); border-radius: 999px; background: rgba(255,253,250,.72); color: var(--lumi-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.role-chip-admin { border-color: rgba(217,143,121,.55); background: rgba(250,225,218,.78); color: #813f30; }
.admin-header { position: sticky; top: 0; z-index: 30; }
.admin-login { min-height: min(620px, calc(100dvh - 140px)); grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); padding: clamp(24px, 5vw, 64px); border: 1px solid var(--lumi-line); border-radius: 16px; background: linear-gradient(135deg, rgba(255,253,250,.92), rgba(250,225,218,.78), rgba(244,238,244,.74)); }
.admin-login > div { align-self: center; max-width: 560px; }
.admin-login h1, .admin-title h1 { font-family: inherit; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: 0; }
.admin-login > div > p:last-child { max-width: 520px; color: var(--lumi-muted); line-height: 1.6; }
.admin-login .admin-panel { align-self: center; padding: 24px; box-shadow: 0 14px 34px rgba(81,54,45,.08); }
.admin-login .admin-panel label, .editor-fields label { color: var(--lumi-muted); font-size: 13px; }
.admin-login .admin-panel input, .editor-fields input, .editor-fields select, .editor-fields textarea { border-color: var(--lumi-line); border-radius: 8px; background: rgba(255,255,255,.86); color: var(--lumi-ink); }
.admin-login .admin-panel input { width: 100%; margin-top: 8px; min-height: 46px; }
.admin-login .admin-panel .button { width: 100%; min-height: 44px; margin-top: 12px; }
.admin-title { padding: 0 0 20px; border-bottom: 1px solid var(--lumi-line); }
.admin-title .button, .admin-panel-head > button { min-height: 40px; }
.admin-panel { padding: 20px; border-color: var(--lumi-line); }
.admin-panel h2 { font-family: inherit; font-size: 20px; }
.admin-panel button, .admin-dialog button { border-color: var(--lumi-line); border-radius: 8px; color: var(--lumi-ink); }
.admin-panel button:hover, .admin-dialog button:hover { border-color: var(--lumi-peach-deep); background: #fff4f0; }
.admin-row { border-color: var(--lumi-line); border-radius: 10px; background: rgba(255,255,255,.72); }
.admin-row:hover { border-color: var(--lumi-peach-deep); }
.product-row img, .image-preview { border-color: var(--lumi-line); border-radius: 8px; }
.status-pill { border-color: rgba(91,112,75,.3); background: #e7f0de; color: #365027; }
.status-pill.off { border-color: var(--lumi-line); background: #f5ece8; color: var(--lumi-muted); }
.admin-dialog { width: min(760px, calc(100vw - 24px)); border-color: var(--lumi-line); box-shadow: 0 24px 60px rgba(49,35,31,.22); }
.admin-dialog form { padding: clamp(18px, 3vw, 28px); }
.admin-dialog footer { background: transparent; padding: 18px 0 0; border-top: 1px solid var(--lumi-line); }

footer { min-width: 0; background: linear-gradient(120deg, #2a2826, #3d302d); }
footer > * { min-width: 0; }

@media (max-width: 900px) {
  .header, .simple-header { padding-inline: 16px; gap: 12px; }
  .desktop-nav { display: none; }
  .catalog-header-links { justify-content: flex-end; gap: 12px; }
  .shop-hero { border-radius: 0; }
  .shop-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-layout, .dashboard, .auth-shell, .cart-layout, .admin-grid { grid-template-columns: 1fr; }
  .catalog-controls { position: static; }
  .catalog-intro { padding: 26px; }
  .dashboard > aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .announcement { min-height: 38px; padding: 8px 14px; line-height: 1.35; }
  .header, .simple-header { min-height: 62px; align-items: center; }
  .catalog-header-links a:not(.catalog-cart-link) { display: none; }
  .header-actions { gap: 1px; }
  .icon-btn { width: 38px; height: 38px; padding: 9px; }
  .cart-button { height: 38px; padding: 0 7px 0 11px; gap: 7px; }
  .search-bar { top: calc(100% + 8px); min-height: 64px; gap: 8px; padding: 10px 12px; border-radius: 0 0 12px 12px; }
  .search-bar input { padding: 10px; }
  .search-close { width: 36px; height: 36px; font-size: 26px; }
  .shop-hero, .shop-section, .products-section, .catalog-page, .dashboard, .auth-shell, .admin-shell { width: 100%; padding-left: 16px; padding-right: 16px; }
  .shop-hero { padding-top: 38px; }
  .shop-hero h1, .catalog-intro h1, .legal-page h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.03; }
  .shop-hero::after { width: 240px; bottom: -30%; right: -30%; }
  .shop-proof, .shop-cats, .shop-trust, .product-grid, .catalog-products { grid-template-columns: 1fr; }
  .shop-proof div { padding: 13px; }
  .shop-section-head, .section-heading, .catalog-summary { align-items: flex-start; flex-direction: column; }
  .product-grid { margin: 0; padding: 0; overflow: visible; }
  .product { min-width: 0; }
  .product-image, .catalog-card .product-image { height: min(72vw, 310px); }
  .catalog-page { padding-top: 22px; padding-bottom: 52px; }
  .catalog-intro, .legal-page { margin-top: 0; padding: 22px; border-radius: 12px; }
  .catalog-controls { padding: 12px; }
  .catalog-options label { align-items: flex-start; flex-direction: column; }
  .catalog-options select { max-width: 100%; width: 100%; }
  .dashboard, .auth-shell, .admin-shell { padding-top: 24px; padding-bottom: 48px; }
  .dashboard > aside { display: block; padding: 22px; }
  .dashboard > aside h1 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .auth-intro { padding: 28px 22px; }
  .auth-intro h1 { font-size: 38px; }
  .admin-login { grid-template-columns: 1fr; }
  .admin-title { align-items: flex-start; flex-direction: column; gap: 14px; }
  .admin-panel { padding: 16px; }
  .admin-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  footer { padding: 38px 20px 24px; grid-template-columns: 1fr; }
}

/* DewLeafe brand layer: botanical, quiet, and high-contrast. */
:root {
  --ink: #202b25;
  --paper: #f4f1e7;
  --white: #fcfbf5;
  --sage: #dfe9d7;
  --peach: #e7efdf;
  --lime: #78a66c;
  --line: #d7dfd1;
  --muted: #607365;
  --lumi-ink: #202b25;
  --lumi-muted: #607365;
  --lumi-line: #d7dfd1;
  --lumi-paper: #f4f1e7;
  --lumi-peach: #e7efdf;
  --lumi-peach-deep: #2f684c;
}

body, .account-body { background: var(--paper); color: var(--ink); }
.announcement { background: var(--ink); color: var(--white); }
.site-header, .header, .simple-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 231, .96); border-color: var(--line); }
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; }
.brand-lockup img { width: 32px; height: 32px; object-fit: contain; }
.logo .brand-lockup > span:last-child, .footer-logo .brand-lockup > span:last-child { color: var(--ink); font-family: inherit; font-style: normal; }
.logo { font-family: Manrope, ui-sans-serif, system-ui, sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
.logo:hover { color: var(--forest, #2f684c); }
.desktop-nav a:hover, .catalog-header-links a:hover, .quiet-link:hover { color: #2f684c; }
.promotion-nav-link { color: #2f684c !important; font-weight: 800; }
.promotion-nav-link[aria-current="page"] { color: var(--white) !important; background: #2f684c; border-radius: 999px; padding: 8px 12px; }
.cart-button { background: var(--ink); border-color: var(--ink); }
.cart-button b, .cart-count, #catalog-cart-count { background: #b7d29f; color: var(--ink); }
.button.dark, .search-submit { background: var(--ink); border-color: var(--ink); }
.button.dark:hover, .search-submit:hover { background: #2f684c; border-color: #2f684c; }
.shop-hero, .catalog-intro, .legal-page, .cart-page, .dashboard, .auth-shell, .admin-shell { border-color: var(--line); }
.shop-hero, .catalog-intro { background: linear-gradient(135deg, rgba(252,251,245,.96), rgba(231,239,223,.94)); }
.product, .catalog-card, .catalog-controls, .dashboard-content, .auth-card, .admin-panel, .order-summary, .checkout-box, .profile-card, .address-form { background: var(--white); border-color: var(--line); }
.product-image, .catalog-card .product-image { background: var(--sage); }
.catalog-filters button.active, .dashboard nav button.active, .auth-tabs button.active { background: #2f684c; border-color: #2f684c; }
.status-pill { background: var(--sage); color: #2f684c; border-color: #a9c39c; }
footer { background: #1d3027; }
.footer-logo .brand-lockup > span:last-child { color: var(--white); }
.footer-logo .brand-lockup img { filter: none; }

@media (max-width: 600px) {
  .brand-lockup img { width: 28px; height: 28px; }
  .logo { font-size: 19px; }
}

/* Dynamic popular-products shelf */
.products-section {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.products-section .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.featured-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.featured-status {
  min-width: 94px;
  color: var(--lumi-muted);
  font-size: 11px;
  letter-spacing: .04em;
  text-align: right;
}

.featured-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--lumi-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: var(--lumi-ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}

.featured-controls button:hover:not(:disabled),
.featured-controls button:focus-visible {
  background: var(--lumi-ink);
  color: #fff;
  transform: translateY(-1px);
}

.featured-controls button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.featured-controls .text-link {
  margin-left: 8px;
}

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

.featured-grid .product {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  animation: lumi-featured-in .42s ease both;
}

.featured-grid .product-image {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
}

.featured-grid .product-info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.featured-grid .product-info > div {
  margin-top: auto;
}

.featured-grid .product-info h3 {
  min-height: 2.5em;
}

.featured-grid .product-info p {
  min-height: 2.8em;
}

@keyframes lumi-featured-in {
  from { opacity: .4; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 600px) {
  .products-section .section-heading {
    align-items: flex-start;
  }

  .featured-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .featured-status {
    margin-right: auto;
    text-align: left;
  }

  .product-grid.featured-grid {
    display: flex;
    gap: 10px;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .featured-grid .product {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .featured-controls .text-link {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-grid .product {
    animation: none;
  }
}

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

/* DewLeafe pearl / peach storefront refresh */
:root {
  --lumi-ink: #302a29;
  --lumi-muted: #756b68;
  --lumi-line: rgba(111, 88, 82, .16);
  --lumi-paper: #fffdfb;
  --lumi-peach: #f2c9bc;
  --lumi-peach-deep: #b96e5b;
  --lumi-max: 1240px;
}

body {
  background:
    radial-gradient(circle at 12% 6%, rgba(255,255,255,.92) 0 13%, transparent 34%),
    radial-gradient(circle at 92% 22%, rgba(245,204,193,.48) 0 10%, transparent 32%),
    linear-gradient(132deg, #fffdfb 0%, #faeee9 42%, #f9f1f3 70%, #fff9f5 100%);
  background-size: auto;
  animation: none;
}

.announcement {
  min-height: 30px;
  padding: 8px 20px;
  background: linear-gradient(90deg, #e4efdf 0%, #f1f6eb 48%, #d9e9d7 100%);
  color: #294c39;
  border-bottom: 1px solid rgba(62, 104, 77, .18);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .015em;
  line-height: 1.35;
  text-align: center;
}

.header, .simple-header {
  min-height: 76px;
  background: rgba(255,253,251,.72);
  border-bottom-color: var(--lumi-line);
}

.logo, .footer-logo { font-size: 25px; letter-spacing: -.045em; }
.logo span, .footer-logo span { color: var(--lumi-peach-deep); }
.desktop-nav a { color: var(--lumi-muted); font-size: 13px; }
.desktop-nav a:hover { color: var(--lumi-ink); }
.cart-button { border-radius: 999px; background: var(--lumi-ink); }
.cart-button:hover { background: var(--lumi-peach-deep); }

.shop-hero {
  min-height: 510px;
  padding: 78px clamp(22px, 6vw, 78px) 58px;
  border: 1px solid var(--lumi-line);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background:
    radial-gradient(circle at 86% 8%, rgba(255,255,255,.95), transparent 29%),
    linear-gradient(118deg, rgba(255,253,251,.96), rgba(248,224,217,.86) 55%, rgba(235,239,228,.8));
  box-shadow: 0 22px 60px rgba(124, 78, 66, .06);
}
.shop-hero h1 { max-width: 700px; font-size: clamp(45px, 6.8vw, 84px); line-height: .98; letter-spacing: -.07em; }
.shop-hero > div:first-child > p:not(.eyebrow) { max-width: 560px; font-size: 16px; line-height: 1.65; }
.shop-hero > div:first-child { position: relative; z-index: 2; }
.shop-hero > div:first-child::before { content: ""; position: absolute; left: -78px; top: -52px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.92), rgba(242,201,188,.34) 52%, transparent 72%); z-index: -1; pointer-events: none; }
.eyebrow { color: var(--lumi-peach-deep); letter-spacing: .14em; }
.shop-actions .button { min-height: 46px; padding-inline: 20px; }
.button { border-radius: 999px; }
.button.dark { background: var(--lumi-ink); }
.button.dark:hover { background: var(--lumi-peach-deep); }
.shop-proof { align-self: end; gap: 8px; }
.shop-proof div { border-radius: 16px; padding: 15px 17px; background: rgba(255,253,251,.92); }
.shop-proof strong { font-size: 20px; letter-spacing: -.04em; }
.shop-proof span { color: var(--lumi-muted); line-height: 1.35; }

.shop-section, .products-section { padding-top: 70px; padding-bottom: 70px; }
.shop-section-head, .section-heading { margin-bottom: 26px; }
.shop-section h2, .section-heading h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.06em; }
.shop-cats, .shop-trust { gap: 10px; }
.shop-cat, .shop-trust article { min-height: 142px; padding: 20px; border-radius: 16px; background: rgba(255,253,251,.58); }
.shop-cat strong, .shop-trust strong { letter-spacing: -.02em; }
.shop-cat span, .shop-trust span { color: var(--lumi-muted); line-height: 1.45; }
.shop-cat:hover { transform: translateY(-2px); border-color: rgba(185,110,91,.48); background: linear-gradient(135deg, #fffdfb, #f7ddd5); }

.product, .catalog-card { border-radius: 16px; background: rgba(255,253,251,.72); box-shadow: 0 12px 26px rgba(115, 78, 68, .055); }
.product-grid, .shop-cats, .shop-trust { grid-auto-flow: dense; }
.product-image, .catalog-card .product-image { height: 330px; border-radius: 14px 14px 0 0; background: linear-gradient(145deg, #fff7f3, #f1ddd7); }
.product-image img, .catalog-card .product-image img { transition: transform .7s cubic-bezier(.2,.75,.25,1), filter .7s ease; }
.product:hover .product-image img, .catalog-card:hover .product-image img { transform: scale(1.045); filter: saturate(.92) contrast(1.03); }
.product:hover, .catalog-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(115, 78, 68, .09); }
.product-info { padding: 18px 16px 17px; }
.product-info h3 { font-size: 17px; letter-spacing: -.025em; }
.add-cart { border-radius: 999px; }
.card-add-controls, .catalog-add-controls { display: inline-flex; align-items: center; gap: 7px; }
.product-qty { width: 48px; height: 38px; padding: 0 7px; border: 1px solid var(--lumi-line); border-radius: 10px; background: rgba(255,255,255,.72); color: var(--lumi-ink); text-align: center; }
.add-cart, .catalog-card footer button { min-height: 38px; padding: 0 13px; border: 1px solid var(--lumi-ink); font-size: 11px; font-weight: 700; }
.catalog-card footer { gap: 12px; align-items: center; }
.catalog-card footer strong { white-space: nowrap; }
.catalog-card footer button { border-radius: 999px; background: var(--lumi-ink); color: #fff; }
.catalog-card footer button:hover { background: var(--lumi-peach-deep); border-color: var(--lumi-peach-deep); }
.product-info > div { gap: 12px; }
@media (max-width: 600px) {
  .card-add-controls, .catalog-add-controls { width: 100%; }
  .card-add-controls .add-cart, .catalog-add-controls button { flex: 1; }
  .product-qty { width: 52px; }
}

footer { background: #332e2c; }

@media (prefers-reduced-motion: no-preference) {
  .shop-hero, .shop-section, .products-section { animation: lumi-rise-in .7s ease both; }
  .shop-section { animation-delay: .08s; }
  .products-section { animation-delay: .14s; }
}

@keyframes lumi-rise-in {
  from { opacity: .72; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .shop-hero { min-height: 0; padding: 52px 18px 30px; border-radius: 0 0 22px 22px; }
  .shop-hero h1 { font-size: clamp(41px, 12vw, 56px); }
  .shop-hero > div:first-child > p:not(.eyebrow) { font-size: 15px; }
  .shop-section, .products-section { padding-top: 54px; padding-bottom: 54px; }
  .shop-cat, .shop-trust article { min-height: 0; }
}

/* Home-page order flow banner: make the payment-after-receipt process the primary reassurance. */
.order-flow-section { padding-top: 62px; }
.order-flow-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .74fr) minmax(0, 1.26fr);
  gap: clamp(28px, 6vw, 88px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--lumi-line);
  border-radius: 24px;
  background: linear-gradient(124deg, #fffdfb 0%, #f9e6df 56%, #edf2e7 100%);
}
.order-flow-banner::after {
  content: "";
  position: absolute;
  right: -94px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(62, 104, 77, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(62, 104, 77, .035), 0 0 0 48px rgba(62, 104, 77, .025);
  pointer-events: none;
}
.order-flow-intro,
.order-flow-steps,
.order-flow-note { position: relative; z-index: 1; }
.order-flow-intro { display: flex; flex-direction: column; align-items: flex-start; }
.order-flow-intro h2 { max-width: 10ch; margin: 14px 0 18px; font-size: clamp(34px, 4.4vw, 62px); line-height: .98; letter-spacing: -.07em; }
.order-flow-lead { max-width: 38ch; margin: 0 0 28px; color: var(--lumi-muted); font-size: 16px; line-height: 1.65; }
.order-flow-intro .button { display: inline-flex; align-items: center; gap: 12px; }
.order-flow-intro .button span { font-size: 18px; line-height: 1; }
.order-flow-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: center; }
.order-flow-step { min-height: 152px; padding: 20px; border: 1px solid rgba(115, 78, 68, .16); border-radius: 16px; background: rgba(255, 253, 251, .7); }
.order-flow-step:nth-child(2) { background: rgba(255, 248, 244, .74); }
.order-flow-step:nth-child(3) { background: rgba(242, 247, 237, .78); }
.order-flow-step:nth-child(4) { background: rgba(255, 250, 247, .76); }
.order-flow-step > span { display: inline-flex; margin-bottom: 18px; color: var(--lumi-peach-deep); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.order-flow-step strong { display: block; color: var(--lumi-ink); font-size: 17px; letter-spacing: -.02em; }
.order-flow-step p { margin: 8px 0 0; color: var(--lumi-muted); font-size: 14px; line-height: 1.45; }
.order-flow-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 4px; padding-top: 20px; border-top: 1px solid rgba(115, 78, 68, .16); }
.order-flow-note > span { display: grid; flex: 0 0 26px; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lumi-ink); color: #fff; font-size: 14px; }
.order-flow-note p { margin: 0; color: var(--lumi-muted); font-size: 14px; line-height: 1.45; }
.order-flow-note strong { color: var(--lumi-ink); }

@media (max-width: 900px) {
  .order-flow-banner { grid-template-columns: 1fr; gap: 30px; }
  .order-flow-intro h2 { max-width: 14ch; }
}

@media (max-width: 600px) {
  .order-flow-section { padding-top: 54px; }
  .order-flow-banner { gap: 26px; padding: 24px 18px; border-radius: 20px; }
  .order-flow-intro h2 { margin-top: 12px; font-size: clamp(36px, 12vw, 52px); }
  .order-flow-lead { margin-bottom: 22px; font-size: 15px; }
  .order-flow-steps { grid-template-columns: 1fr; }
  .order-flow-step { min-height: 0; padding: 17px; }
  .order-flow-step > span { margin-bottom: 10px; }
  .order-flow-note { align-items: flex-start; padding-top: 16px; }
}

/* Skin finder hero: a useful entry point into the catalog instead of a generic promotion. */
.skin-finder-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: 560px;
  padding: clamp(42px, 6vw, 78px) clamp(22px, 6vw, 78px) clamp(42px, 5vw, 62px);
  background:
    radial-gradient(circle at 83% 16%, rgba(255,255,255,.86), transparent 24%),
    linear-gradient(122deg, rgba(255,253,250,.98), rgba(249,225,218,.9) 55%, rgba(230,238,223,.9));
}
.skin-finder-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.skin-finder-copy h1 { max-width: 700px; margin-inline: 0; text-wrap: balance; }
.skin-finder-copy h1 em { color: var(--lumi-peach-deep); font-style: normal; }
.skin-finder { max-width: 650px; margin-top: 24px; padding: 20px; border: 1px solid rgba(111, 105, 101, .14); border-radius: 18px; background: rgba(255, 253, 250, .56); }
.skin-finder fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.skin-finder legend { margin-bottom: 12px; color: var(--lumi-ink); font-size: 13px; font-weight: 800; }
.skin-finder-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.skin-finder-option {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(111, 105, 101, .22);
  border-radius: 10px;
  background: rgba(255, 253, 250, .64);
  color: var(--lumi-ink);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.skin-finder-option:hover { border-color: var(--lumi-peach-deep); background: rgba(255,255,255,.9); transform: translateY(-1px); }
.skin-finder-option:active { transform: translateY(1px) scale(.98); }
.skin-finder-option.is-selected { border-color: var(--lumi-ink); background: var(--lumi-ink); color: #fff; }
.skin-finder-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(111, 105, 101, .14); }
.skin-finder-actions .button { min-height: 46px; }
.skin-finder-status { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 10px; border: 1px solid rgba(111, 105, 101, .14); border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--lumi-muted); font-size: 12px; }
.skin-finder-status::before { content: "✓"; display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 7px; border-radius: 50%; background: rgba(221, 235, 211, .95); color: #53614d; font-size: 11px; font-weight: 800; }
.skin-finder-visual {
  position: relative;
   min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  padding: 24px;
  border: 1px solid rgba(111, 105, 101, .16);
  border-radius: 26px;
  background: rgba(255, 253, 250, .72);
  box-shadow: 0 24px 50px rgba(112, 74, 62, .09);
}
.skin-finder-visual::before { content: ""; position: absolute; z-index: -1; top: -120px; right: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.98), rgba(243,207,196,.45) 48%, transparent 72%); }
.skin-finder-visual-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--lumi-muted); font-size: 10px; letter-spacing: .14em; }
.skin-finder-visual-head b { color: var(--lumi-ink); font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.skin-finder-routine { display: grid; gap: 0; margin: 26px 0 20px; padding: 0; list-style: none; }
.skin-finder-routine li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(111, 105, 101, .16); }
.skin-finder-routine li:last-child { border-bottom: 1px solid rgba(111, 105, 101, .16); }
.skin-finder-routine li > b { color: var(--lumi-peach-deep); font: italic 16px Georgia, serif; }
.skin-finder-routine span { display: grid; gap: 3px; }
.skin-finder-routine strong { font-size: 14px; }
.skin-finder-routine small { color: var(--lumi-muted); font-size: 11px; }
.skin-finder-note { max-width: 250px; margin: 0; color: var(--lumi-muted); font-size: 12px; line-height: 1.5; }
.skin-finder-orbit { position: absolute; right: 26px; bottom: 26px; z-index: -1; width: 105px; height: 105px; border: 1px solid rgba(217, 143, 121, .28); border-radius: 50%; transform: rotate(-18deg); }
.skin-finder-orbit::before, .skin-finder-orbit::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 143, 121, .2); border-radius: 50%; }
.skin-finder-orbit::after { inset: 30px; }
.skin-finder-orbit span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--lumi-peach-deep); }
.skin-finder-orbit span:nth-child(1) { top: 7px; left: 51px; }
.skin-finder-orbit span:nth-child(2) { right: 8px; bottom: 26px; background: #8da37e; }
.skin-finder-orbit span:nth-child(3) { bottom: 9px; left: 27px; background: #d6b6a9; }

@media (max-width: 900px) {
  .skin-finder-hero { grid-template-columns: 1fr; }
  .skin-finder-visual { min-height: 390px; }
  .skin-finder-routine { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .skin-finder-routine li:nth-child(2) { border-top: 0; }
}

@media (max-width: 600px) {
  .skin-finder-hero { padding-top: 42px; padding-bottom: 26px; }
  .skin-finder { margin-top: 22px; padding: 16px; }
  .skin-finder-option { min-height: 44px; text-align: left; }
  .skin-finder-actions { align-items: stretch; flex-direction: column; }
  .skin-finder-actions .button { width: 100%; }
  .skin-finder-visual { min-height: 0; padding: 20px; border-radius: 20px; }
  .skin-finder-routine { display: grid; grid-template-columns: 1fr; margin-top: 20px; }
  .skin-finder-routine li:nth-child(2) { border-top: 1px solid rgba(111, 105, 101, .16); }
  .skin-finder-orbit { right: 12px; bottom: 14px; transform: scale(.75) rotate(-18deg); transform-origin: bottom right; }
}

/* Catalog guide: useful category entry points with a quiet, non-promotional hierarchy. */
.catalog-header .catalog-header-links {
  flex: 0 1 auto;
  justify-content: flex-start;
  margin-left: clamp(22px, 4vw, 72px);
}
.catalog-header .catalog-header-links a[aria-current="page"] { color: var(--lumi-ink); font-weight: 750; }
.catalog-header .catalog-header-links a[aria-current="page"]::after { height: 1px; }
/* Shared utility header for catalog, product, cart, content and account pages. */
.simple-header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  padding-block: 12px;
  box-shadow: 0 8px 24px rgba(81, 54, 45, .035);
  transition: background .2s ease, box-shadow .2s ease;
}

.simple-header.site-header.is-scrolled {
  background: rgba(255, 253, 251, .94);
  box-shadow: 0 12px 30px rgba(81, 54, 45, .08);
}

.simple-header.site-header .site-nav {
  flex: 1;
  justify-content: center;
}

.simple-header.site-header .site-nav a,
.simple-header.site-header .header-account-link,
.simple-header.site-header .header-text-button {
  position: relative;
  color: var(--lumi-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.simple-header.site-header .site-nav a:hover,
.simple-header.site-header .header-account-link:hover,
.simple-header.site-header .header-text-button:hover {
  color: var(--lumi-peach-deep);
}

.simple-header.site-header .site-nav a[aria-current="page"] { color: var(--lumi-ink); }
.simple-header.site-header .site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--lumi-peach-deep);
}

.simple-header.site-header .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: max-content;
}

.header.site-header .header-account-link, .simple-header.site-header .header-account-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 6px;
}

.simple-header.site-header .header-account-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.simple-header.site-header .cart-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 15px;
  border: 1px solid var(--lumi-ink);
  border-radius: 999px;
  background: var(--lumi-ink);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.simple-header.site-header .cart-link:hover { background: var(--lumi-peach-deep); transform: translateY(-1px); }
.simple-header.site-header .cart-link .cart-count { background: var(--lumi-peach); color: var(--lumi-ink); }
.simple-header.site-header .header-text-button { border: 0; background: transparent; cursor: pointer; padding: 9px 6px; }
.simple-header.site-header .menu-toggle { display: none; }

.site-mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  z-index: 39;
  padding: 10px;
  border: 1px solid var(--lumi-line);
  border-radius: 16px;
  background: rgba(255, 253, 251, .98);
  box-shadow: 0 18px 44px rgba(81, 54, 45, .14);
}

.site-mobile-nav[hidden] { display: none !important; }

.site-mobile-nav.open { display: grid; gap: 2px; }
.site-mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 13px; border-radius: 11px; color: var(--lumi-ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.site-mobile-nav a:hover, .site-mobile-nav a:focus-visible { background: #fff1ec; }
.site-mobile-nav .cart-count { margin-left: 8px; }

@media (max-width: 900px) {
  .simple-header.site-header { padding-inline: 16px; }
  .simple-header.site-header .site-nav { display: none; }
  .simple-header.site-header .header-actions { gap: 3px; }
  .simple-header.site-header .menu-toggle { display: grid; place-items: center; }
}

@media (max-width: 600px) {
  .simple-header.site-header { min-height: 62px; }
  .simple-header.site-header .header-action-text { display: none; }
  .simple-header.site-header .header-account-link { padding: 9px; }
  .simple-header.site-header .cart-link { min-height: 38px; padding-left: 11px; gap: 7px; }
  .simple-header.site-header .cart-link > span { display: none; }
  .site-mobile-nav { top: 62px; }
}

/* Catalog search: a calm, editorial control surface instead of a form block. */
.catalog-controls {
  position: sticky;
  top: 92px;
  gap: 22px;
  padding: 20px;
  border: 1px solid rgba(111, 88, 82, .17);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.85), transparent 34%),
    linear-gradient(150deg, rgba(255,253,251,.96), rgba(250,230,223,.72));
  box-shadow: 0 18px 42px rgba(115, 78, 68, .07);
}

.catalog-summary > div { display: grid; gap: 5px; }
.catalog-summary > div span { color: var(--lumi-muted); font-size: 12px; }
.catalog-summary > span { white-space: nowrap; color: var(--lumi-muted); font-size: 12px; }

.catalog-search {
  display: grid;
  gap: 10px;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.catalog-search-label {
  color: var(--lumi-ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.catalog-search-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 8px 0 14px;
  border: 1px solid rgba(111, 88, 82, .2);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.catalog-search-field:focus-within {
  border-color: var(--lumi-peach-deep);
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 4px rgba(217,143,121,.13);
}

.search-glyph {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--lumi-muted);
  border-radius: 50%;
}

.search-glyph::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--lumi-muted);
  transform: rotate(45deg);
  transform-origin: left center;
}

.catalog-search input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0;
  padding: 0 !important;
  background: transparent !important;
  color: var(--lumi-ink);
  font-size: 13px;
}

.catalog-search input::placeholder { color: #9b8f8a; }
.catalog-search input::-webkit-search-cancel-button { display: none; }

#clear-search {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--lumi-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

#clear-search:hover { background: rgba(217,143,121,.14); color: var(--lumi-ink); }

.catalog-filter-block {
  display: grid;
  gap: 12px;
}

.catalog-filter-block + .catalog-filter-block,
.catalog-options {
  border-top: 1px solid rgba(111, 88, 82, .14);
  padding-top: 18px;
}

.catalog-filter-head strong {
  font-size: 12px;
  letter-spacing: .01em;
}

.catalog-filter-head button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--lumi-muted);
  cursor: pointer;
  font-size: 12px;
}

.catalog-filter-head button:hover { color: var(--lumi-peach-deep); }
.catalog-filters { gap: 8px; }

.catalog-filters button {
  padding: 9px 11px;
  border: 1px solid rgba(111, 88, 82, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: var(--lumi-ink);
  font-size: 11px;
  line-height: 1.2;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.catalog-filters button:hover { transform: translateY(-1px); border-color: rgba(185,110,91,.5); background: rgba(255,255,255,.92); }
.catalog-filters button.active { background: var(--lumi-peach-deep); border-color: var(--lumi-peach-deep); color: #fff; }
.catalog-filters button small { margin-left: 5px; color: inherit; opacity: .64; }
.brand-filters button { text-transform: none; letter-spacing: 0; }

.catalog-options {
  display: grid;
  gap: 12px;
}

.catalog-options label { color: var(--lumi-muted); font-size: 12px; }
.stock-toggle, .sort-control { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stock-toggle input { accent-color: var(--lumi-peach-deep); width: 16px; height: 16px; margin: 0; }
.sort-control select { min-width: 0; max-width: 150px; border: 1px solid rgba(111,88,82,.16); border-radius: 9px; padding: 8px 9px; background: rgba(255,255,255,.72); color: var(--lumi-ink); font-size: 11px; }
#reset-catalog { justify-self: start; padding: 4px 0; border: 0; background: transparent; color: var(--lumi-peach-deep); cursor: pointer; font-size: 11px; font-weight: 700; }
#reset-catalog:hover { color: var(--lumi-ink); }

@media (max-width: 900px) {
  .catalog-controls { position: static; }
}

@media (max-width: 600px) {
  .catalog-controls { padding: 16px; border-radius: 18px; gap: 18px; }
  .catalog-search-field { min-height: 48px; }
  .catalog-filters button { padding: 9px 10px; }
  .sort-control { align-items: stretch; flex-direction: column; gap: 7px; }
  .sort-control select { width: 100%; max-width: none; }
}

/* Typography and compact add action for product cards. */
body, button, input, select, textarea {
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.catalog-card-body h2, .product-info h3 {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.035em;
}

.catalog-card-meta small, .catalog-card-meta span, .product-info > small, .product-info p {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.card-add-controls, .catalog-add-controls { gap: 10px; }
.product-qty {
  width: 56px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 600;
}

.product-qty::-webkit-inner-spin-button,
.product-qty::-webkit-outer-spin-button { opacity: .45; }
.product-qty:disabled { cursor: not-allowed; opacity: .5; background: rgba(111,88,82,.06); }
.product-qty:focus { border-color: var(--lumi-peach-deep); outline: 3px solid rgba(217,143,121,.13); outline-offset: 2px; }

.add-cart, .catalog-card footer button {
  display: grid;
  place-items: center;
  flex: 0 0 46px !important;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.add-cart:hover, .catalog-card footer button:hover { transform: translateY(-1px); }
.catalog-card footer button:disabled { width: auto; min-width: 46px; padding-inline: 13px; border-radius: 999px; font-size: 10px; }

@media (max-width: 600px) {
  .card-add-controls, .catalog-add-controls { width: auto; }
  .product-qty { width: 56px; }
}

/* Add-to-cart feedback and a compact out-of-stock state. */
.catalog-card footer button.is-added,
.add-cart.is-added {
  background: #e7f0de !important;
  border-color: #9eb68f !important;
  color: #3e5d35 !important;
  animation: lumi-add-pop .56s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes lumi-add-pop {
  0% { transform: scale(.88) rotate(-6deg); }
  55% { transform: scale(1.14) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

.catalog-card footer button:disabled {
  position: relative;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px;
  padding: 0 !important;
  border-color: rgba(111,88,82,.22);
  background: rgba(111,88,82,.08);
  color: var(--lumi-muted);
  opacity: .78;
  cursor: not-allowed;
}

.catalog-card footer button:disabled:hover::after,
.catalog-card footer button:disabled:focus-visible::after {
  content: "Нет в наличии";
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  z-index: 5;
  width: max-content;
  padding: 7px 9px;
  border: 1px solid var(--lumi-line);
  border-radius: 9px;
  background: var(--lumi-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.stock-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 9px;
  border: 1px solid rgba(111,88,82,.15);
  border-radius: 999px !important;
  background: rgba(255,253,251,.88);
  color: var(--lumi-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}

.cart-confirm {
  position: fixed !important;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(460px, calc(100vw - 28px));
  padding: 12px 14px;
  border: 1px solid rgba(111,88,82,.18) !important;
  border-radius: 18px !important;
  background: rgba(255,253,251,.92);
  box-shadow: 0 18px 42px rgba(115,78,68,.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(.96);
  transition: opacity .24s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility .24s ease;
}

.cart-confirm.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.cart-confirm > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cart-confirm > div > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #e7f0de; color: #3e5d35; font-weight: 800; }
.cart-confirm p { display: grid; gap: 2px; min-width: 0; margin: 0; }
.cart-confirm p b { color: var(--lumi-ink); font-size: 12px; }
.cart-confirm p small { overflow: hidden; color: var(--lumi-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cart-confirm a { flex: 0 0 auto; color: var(--lumi-peach-deep); font-size: 10px; font-weight: 800; text-decoration: none; }
.cart-confirm a:hover { color: var(--lumi-ink); }

.toast { box-shadow: 0 14px 32px rgba(48,42,41,.18); }
.toast.show { animation: lumi-toast-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lumi-toast-in {
  from { opacity: 0; transform: translate(-50%, 16px) scale(.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (max-width: 600px) {
  .cart-confirm { bottom: 14px; gap: 10px; padding: 11px 12px; }
  .cart-confirm a { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card footer button.is-added, .add-cart.is-added, .toast.show { animation: none; }
  .cart-confirm { transition: none; }
}

/* Product-card information hierarchy and readable description disclosure. */
.catalog-card-body {
  display: flex;
  min-height: 252px;
  flex-direction: column;
  gap: 9px;
  padding: 18px 18px 16px;
}

.catalog-card-meta { min-height: 18px; }
.catalog-card-meta small { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.catalog-card-meta span { font-size: 11px; color: var(--lumi-muted); }
.catalog-card-body h2 { margin: 1px 0 0; font-size: 19px; line-height: 1.22; }
.catalog-description { display: grid; gap: 7px; }
.catalog-description-preview { margin: 0; color: var(--lumi-muted); font-size: 13px; line-height: 1.55; }
.catalog-card-body footer { margin-top: auto; padding-top: 8px; }

.catalog-description-details { border-top: 1px solid rgba(111,88,82,.13); padding-top: 7px; }
.catalog-description-details summary { width: fit-content; color: var(--lumi-peach-deep); cursor: pointer; font-size: 11px; font-weight: 800; list-style: none; }
.catalog-description-details summary::-webkit-details-marker { display: none; }
.catalog-description-details summary::after { content: " +"; }
.catalog-description-details[open] summary::after { content: " −"; }
.catalog-description-details > p { margin: 8px 0 0; color: var(--lumi-muted); font-size: 12px; line-height: 1.6; }

.editor-fields textarea[name="description"] { min-height: 150px; line-height: 1.55; }
.editor-help { display: block; margin-top: -7px; color: var(--lumi-muted); font-size: 11px; font-weight: 500; line-height: 1.45; }

@media (max-width: 600px) {
  .catalog-card-body { min-height: 0; padding: 16px 15px 15px; }
  .catalog-card-body h2 { font-size: 18px; }
  .catalog-description-preview { font-size: 12px; }
  .catalog-description-details > p { font-size: 12px; }
}

/* Final readable card treatment: content has its own visual reading lane. */
.catalog-card-body {
  gap: 11px;
  padding: 20px 18px 17px;
}

.catalog-card-meta {
  align-items: baseline;
  padding-bottom: 2px;
}

.catalog-card-meta small {
  color: var(--lumi-peach-deep);
  font-size: 10px;
  letter-spacing: .12em;
}

.catalog-card-meta span {
  font-size: 11px;
  letter-spacing: -.01em;
}

.catalog-card-body h2 {
  max-width: 28ch;
  margin: 0;
  color: var(--lumi-ink);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.18;
}

.catalog-description {
  position: relative;
  gap: 8px;
  padding: 11px 12px 12px;
  border: 1px solid rgba(111,88,82,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.42);
}

.catalog-description::before {
  content: "О товаре";
  display: block;
  margin-bottom: 5px;
  color: var(--lumi-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.catalog-description-preview {
  color: #554c49;
  font-size: 12px;
  line-height: 1.55;
}

.catalog-card-body footer {
  gap: 14px;
  padding-top: 4px;
}

.catalog-card-body footer strong {
  font-size: 15px;
  letter-spacing: -.02em;
}

.editor-fields textarea[name="description"] {
  min-height: 170px;
  padding: 13px 14px;
  font-size: 13px;
}

.editor-help {
  max-width: 58ch;
  padding: 0 2px;
}

@media (max-width: 600px) {
  .catalog-card-body { padding: 17px 15px 15px; }
  .catalog-card-body h2 { max-width: none; font-size: 19px; }
  .catalog-description { padding: 10px 11px 11px; }
  .catalog-card-body footer strong { font-size: 14px; }
}

/* One header geometry for every public page. */
.header.site-header,
.simple-header.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 76px;
  min-height: 76px;
  padding-block: 0;
}

.header.site-header > .logo,
.simple-header.site-header > .logo { justify-self: start; }

.header.site-header > .site-nav,
.simple-header.site-header > .site-nav {
  position: static;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: auto;
  max-width: 100%;
  min-width: 0;
  transform: none;
  flex: none;
  flex-wrap: nowrap;
  gap: 30px;
}

.catalog-header.site-header > .site-nav { margin-left: 0; }

.header.site-header > .header-actions,
.simple-header.site-header > .header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.header.site-header .site-nav a,
.simple-header.site-header .site-nav a {
  color: #514945;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.012em;
  text-rendering: optimizeLegibility;
}

.header.site-header .site-nav a:hover,
.simple-header.site-header .site-nav a:hover,
.header.site-header .site-nav a[aria-current="page"],
.simple-header.site-header .site-nav a[aria-current="page"] {
  color: var(--lumi-ink);
}

/* Keep the admin header usable even though it has no mobile menu trigger. */
.admin-header > .site-nav {
  grid-column: 2;
  grid-row: 1;
  position: static;
  width: auto;
  max-width: none;
  transform: none;
  justify-self: end;
  gap: 14px;
}

body, button, input, select, textarea {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 980px) {
  .header.site-header,
  .simple-header.site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header.site-header > .site-nav,
  .simple-header.site-header:not(.admin-header) > .site-nav {
    display: none;
  }

    .simple-header.site-header.admin-header > .site-nav {
      display: flex;
    }

  .header.site-header > .header-actions,
  .simple-header.site-header > .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .simple-header.site-header:not(.admin-header) .menu-toggle {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 760px) {
  .header.site-header .header-action-text,
  .simple-header.site-header .header-action-text {
    display: none;
  }

  .header.site-header .header-account-link,
  .simple-header.site-header .header-account-link {
    padding: 9px;
  }

  .header.site-header .cart-link > span,
  .simple-header.site-header .cart-link > span {
    display: none;
  }
}

@media (max-width: 600px) {
  .header.site-header,
  .simple-header.site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    height: 62px;
    min-height: 62px;
  }

  .header.site-header > .site-nav,
  .simple-header.site-header > .site-nav {
    display: none;
  }

    .simple-header.site-header.admin-header > .site-nav,
    .simple-header.site-header.admin-header .site-nav a {
      display: flex;
    }
}

/* Featured shelf: a consistent inset reading lane for desktop cards. */
.featured-grid .product-info {
  padding: 20px 22px 21px;
}

.featured-grid .product-info > small,
.featured-grid .product-info h3,
.featured-grid .product-info p {
  width: 100%;
}

.featured-grid .product-info h3 {
  margin: 7px 0 6px;
  padding-right: 8px;
}

.featured-grid .product-info p {
  padding-right: 8px;
}

.featured-grid .product-info > div {
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(111, 88, 82, .12);
}

.featured-grid .product-info > div > strong {
  color: var(--lumi-ink);
  font-size: 15px;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.featured-grid .card-add-controls {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .featured-grid .product-info {
    padding: 18px 18px 19px;
  }
}
/* Product state controls */
.product-favorite{position:absolute;right:14px;top:14px;z-index:2;width:36px;height:36px;border:1px solid rgba(48,42,40,.16);border-radius:50%;background:rgba(255,252,249,.9);color:var(--ink,#302a28);font-size:21px;line-height:1;cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease}.product-favorite:hover,.product-favorite:focus-visible{transform:scale(1.06);background:#fff;color:#a96556;outline:2px solid rgba(169,101,86,.2);outline-offset:2px}.product-favorite.is-favorite{background:#302a28;color:#fff;border-color:#302a28}

/* Promotions: a warm red accent reserved for the high-intent offer path. */
.simple-header.site-header .promotion-nav-link,
.site-mobile-nav .promotion-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(169, 101, 86, .42);
  border-radius: 999px;
  background: #f4d4cc;
  color: #8f493d !important;
  font-weight: 850;
  white-space: nowrap;
}

.simple-header.site-header .promotion-nav-link { padding: 7px 11px; }
.simple-header.site-header .promotion-nav-link::before { content: "•"; font-size: 15px; line-height: 0; }
.simple-header.site-header .promotion-nav-link:hover,
.site-mobile-nav .promotion-nav-link:hover,
.site-mobile-nav .promotion-nav-link:focus-visible { background: #e9b9ad; border-color: #c98576; color: #713a32 !important; }
.site-mobile-nav .promotion-nav-link { padding: 13px; }

.promotion-filter {
  justify-self: start;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(169, 101, 86, .42);
  border-radius: 999px;
  background: #fff5f1;
  color: #8f493d;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.promotion-filter:hover,
.promotion-filter.active { background: #b96554; border-color: #b96554; color: #fff; }

/* Multi-select catalog controls: clear grouping and a compact price interval. */
.catalog-controls {
  background: linear-gradient(150deg, rgba(255,253,250,.98), rgba(250,235,230,.8));
  box-shadow: 0 14px 32px rgba(81,54,45,.06);
}

.catalog-filters button[aria-pressed="true"] { box-shadow: 0 5px 12px rgba(185,110,91,.16); }

.price-filter-block { gap: 10px; }
.price-range-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.price-range-grid label { display: grid; gap: 5px; color: var(--lumi-muted); font-size: 11px; }
.price-range-grid input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(111,88,82,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.68);
  color: var(--lumi-ink);
  appearance: textfield;
}
.price-range-grid input::-webkit-outer-spin-button,
.price-range-grid input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.price-range-grid input:focus { border-color: rgba(185,110,91,.65); background: #fff; }
.price-range-status { margin: 0; color: var(--lumi-peach-deep); font-size: 11px; font-weight: 700; }
#clear-price { color: var(--lumi-muted); }
#clear-price:hover { color: var(--lumi-peach-deep); }

.catalog-card .badge.promotion,
.product .badge.promotion {
  background: #b96554;
  color: #fff;
  box-shadow: 0 5px 12px rgba(169, 101, 86, .2);
}

.catalog-card .badge.promotion-offset,
.product .badge.promotion-offset { top: 52px; }

@media (max-width: 600px) {
  .price-range-grid { gap: 10px; }
  .price-range-grid input { min-height: 42px; }
}

/* Shared header polish: preserve one stable action row across every public route. */
.simple-header.site-header .header-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.simple-header.site-header .header-account-link {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}
.simple-header.site-header .header-account-link .header-action-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.simple-header.site-header .cart-link { flex: 0 0 auto; }
.simple-header.site-header .site-nav,
.simple-header.site-header .site-nav a { flex-shrink: 0; }
@media (max-width: 980px) {
  .simple-header.site-header .header-actions { gap: 5px; }
}
@media (max-width: 760px) {
  .simple-header.site-header .header-actions { gap: 2px; }
  .simple-header.site-header .header-account-link { padding-inline: 7px; }
}

/* Final DewLeafe overrides: keep every route on the same botanical surface. */
body, .account-body { background: #f4f1e7; color: #202b25; }
.header.site-header, .simple-header.site-header { background: rgba(244, 241, 231, .97); border-bottom-color: #d7dfd1; }
.header.site-header .site-nav a, .simple-header.site-header .site-nav a { color: #202b25; }
.header.site-header .site-nav a:hover, .simple-header.site-header .site-nav a:hover { color: #2f684c; }
.simple-header.site-header .promotion-nav-link { color: #2f684c !important; background: #e7efdf; border-color: #a9c39c; }
.simple-header.site-header .promotion-nav-link:hover, .simple-header.site-header .promotion-nav-link:focus-visible { color: #fcfbf5 !important; background: #2f684c; border-color: #2f684c; }
.simple-header.site-header .promotion-nav-link[aria-current="page"] { color: #fcfbf5 !important; background: #2f684c; }
.shop-hero, .catalog-intro, .legal-page, .cart-page, .dashboard-content, .auth-card, .admin-panel { background: #fcfbf5; border-color: #d7dfd1; }
.shop-hero, .catalog-intro { background: linear-gradient(135deg, #fcfbf5 0%, #e7efdf 100%); }
.catalog-controls, .order-summary, .checkout-box, .profile-card, .address-form { background: #fcfbf5; border-color: #d7dfd1; }
.product, .catalog-card { background: #fcfbf5; border-color: #d7dfd1; box-shadow: 0 10px 24px rgba(32, 43, 37, .06); }
.product-image, .catalog-card .product-image { background: #dfe9d7; }
.button.dark, .search-submit, .cart-button { background: #202b25; border-color: #202b25; }
.button.dark:hover, .search-submit:hover, .cart-button:hover { background: #2f684c; border-color: #2f684c; }
.cart-button b, .cart-count, #catalog-cart-count { background: #b7d29f; color: #202b25; }
.catalog-filters button.active, .dashboard nav button.active, .auth-tabs button.active { background: #2f684c; border-color: #2f684c; }
footer.site-footer { background: #1d3027; }

/* Header composition: logo, quiet search, right-aligned navigation, actions. */
.header.site-header, .simple-header.site-header {
  grid-template-columns: auto minmax(150px, 1fr) auto auto;
  column-gap: clamp(18px, 3vw, 44px);
}
.header.site-header > .logo, .simple-header.site-header > .logo { grid-column: 1; }
.header-quick-search {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  width: min(100%, 250px);
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #a9b9a7;
  color: #607365;
}
.header-quick-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 8px 0 9px;
  background: transparent;
  color: #202b25;
  font: 600 12px/1.2 Manrope, ui-sans-serif, system-ui, sans-serif;
}
.header-quick-search input::placeholder { color: #7b8b7b; opacity: 1; }
.header-quick-search-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1.7px solid #2f684c;
  border-radius: 50%;
  position: relative;
}
.header-quick-search-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.7px;
  right: -5px;
  bottom: -2px;
  background: #2f684c;
  transform: rotate(45deg);
  transform-origin: left center;
}
.header.site-header > .site-nav, .simple-header.site-header > .site-nav {
  grid-column: 3;
  justify-self: end;
  justify-content: flex-end;
}
.header.site-header > .header-actions, .simple-header.site-header > .header-actions {
  grid-column: 4;
  justify-self: end;
}
.simple-header.site-header .header-account-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  overflow: visible;
  padding: 8px 10px;
}
.header.site-header .header-account-link svg, .simple-header.site-header .header-account-link svg { width: 18px; height: 18px; flex: 0 0 18px; }
.header.site-header .header-account-link .header-action-text, .simple-header.site-header .header-account-link .header-action-text { display: inline-block; max-width: none; overflow: visible; text-overflow: clip; }
.simple-header.site-header .promotion-nav-link { order: -1; }
.admin-header .admin-link-button { color: #2f684c; font-weight: 750; white-space: nowrap; }

/* DewLeafe typography system: one UI family, one intentional display role. */
:root {
  --dewleafe-font-ui: "Manrope", "Segoe UI", Arial, sans-serif;
  --dewleafe-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--dewleafe-font-ui);
}

/* Display serif is reserved for editorial section headlines, never product links or controls. */
:where(
  .shop-hero h1,
  .shop-section h2,
  .section-heading h2,
  .catalog-title h1,
  .legal-page h1,
  .cart-page-title h1,
  .cart-empty-page h2,
  .product-detail-copy h1,
  .auth-intro h1,
  .dashboard aside h1,
  .panel h2,
  .account-note h3,
  .overview-grid strong,
  .guide h2,
  .manifesto blockquote,
  .newsletter h2,
  .drawer-head h2
) {
  font-family: var(--dewleafe-font-display);
  font-weight: 500;
  text-wrap: balance;
}

/* Product names stay sans-serif for fast scanning and never inherit browser link styling. */
:where(.catalog-card-body h2, .catalog-card-body h2 a, .product-info h3, .product-title-link) {
  color: inherit;
  font-family: var(--dewleafe-font-ui);
  text-decoration: none;
}

:where(.catalog-card-body h2 a, .product-title-link):hover,
:where(.catalog-card-body h2 a, .product-title-link):focus-visible {
  color: #2f684c;
  text-decoration: none;
}

.header-quick-search input,
.search-submit,
.catalog-card-meta,
.catalog-card footer,
.product-info,
.product-detail-price,
.cart-total,
.grand-total {
  font-family: var(--dewleafe-font-ui);
}

.catalog-card-body h2,
.product-info h3 {
  line-height: 1.28;
  letter-spacing: -.025em;
}

/* Promotion shelf: a compact sale carousel in the former quick-category slot. */
.promotion-showcase {
  border-top: 1px solid #d8dfd2;
  border-bottom: 1px solid #d8dfd2;
  background: linear-gradient(135deg, #f1f6ec 0%, #fcfbf5 48%, #fae9e2 100%);
}

.promotion-showcase .product-grid.featured-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.promotion-showcase .featured-grid .product-image {
  aspect-ratio: 4 / 3;
}

.promotion-showcase .eyebrow,
.promotion-showcase .featured-status {
  color: #a85f4d;
}

.promotion-showcase .product {
  border-color: #ddcec7;
  background: rgba(255, 253, 251, .84);
}

.promotion-showcase .featured-controls button {
  border-color: #d9b1a7;
  background: rgba(255, 248, 244, .9);
  color: #8f493e;
}

.promotion-showcase .featured-controls button:hover:not(:disabled),
.promotion-showcase .featured-controls button:focus-visible {
  border-color: #b96554;
  background: #b96554;
  color: #fff;
}

.promotion-showcase .badge.promotion {
  background: #b96554;
}

.new-showcase {
  border-top: 1px solid #d7dfd1;
  border-bottom: 1px solid #d7dfd1;
  background: linear-gradient(135deg, #edf5e9 0%, #fbfcf6 54%, #f4ebe2 100%);
}

.new-showcase .eyebrow,
.new-showcase .featured-status {
  color: #4e765d;
}

.new-showcase .product {
  border-color: #d4dfd0;
  background: rgba(255, 253, 251, .86);
}

.new-showcase .featured-controls button:hover:not(:disabled),
.new-showcase .featured-controls button:focus-visible {
  border-color: #5b8668;
  background: #5b8668;
  color: #fff;
}

.featured-empty {
  display: grid;
  min-height: 180px;
  grid-column: 1 / -1;
  place-items: center;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--lumi-line);
  border-radius: 16px;
  color: var(--lumi-muted);
  text-align: center;
}

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

/* Catalog shelf: dense enough for comparison on desktop, still readable at every breakpoint. */
.catalog-results .catalog-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.catalog-results .catalog-card .product-image {
  height: auto;
  aspect-ratio: 1 / 1.08;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -2px 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid #d7dfd1;
}

.catalog-toolbar-heading {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
}

.catalog-toolbar-heading span {
  color: #718074;
  font-size: 11px;
}

.catalog-toolbar-heading strong {
  color: #202b25;
  font-size: 13px;
}

.catalog-toolbar-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
  flex-wrap: wrap;
}

.catalog-toolbar-chip {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid #d7dfd1;
  border-radius: 999px;
  background: #fcfbf5;
  color: #536257;
  cursor: pointer;
  font: 700 11px/1.1 var(--dewleafe-font-ui);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.catalog-toolbar-chip:hover,
.catalog-toolbar-chip:focus-visible {
  border-color: #2f684c;
  color: #2f684c;
  transform: translateY(-1px);
}

.catalog-toolbar-chip.is-active {
  border-color: #2f684c;
  background: #2f684c;
  color: #fcfbf5;
}

.catalog-toolbar-chip-sale.is-active,
.catalog-toolbar-chip-sale:hover,
.catalog-toolbar-chip-sale:focus-visible {
  border-color: #bc705b;
  background: #bc705b;
  color: #fffaf7;
}

@media (max-width: 1240px) {
  .catalog-results .catalog-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .catalog-results .catalog-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-toolbar-actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .catalog-results .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catalog-toolbar-actions { flex-wrap: nowrap; width: 100%; overflow-x: auto; justify-content: flex-start; padding-bottom: 3px; scrollbar-width: thin; }
  .catalog-toolbar-chip { flex: 0 0 auto; }
  .catalog-results .catalog-card .product-image { aspect-ratio: 1 / 1.12; }
}

@media (max-width: 430px) {
  .catalog-results .catalog-products { grid-template-columns: 1fr; }
}

/* Compact catalog cards: the image carries the visual weight, the body stays scannable. */
.catalog-results .catalog-card .product-image {
  aspect-ratio: 1 / .82;
}

.catalog-results .catalog-card-body {
  min-height: 142px;
  gap: 7px;
  padding: 13px 14px 12px;
}

.catalog-results .catalog-card-meta {
  min-height: 0;
  padding-bottom: 0;
}

.catalog-results .catalog-card-body h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.36em;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.18;
}

.catalog-results .catalog-card-body footer {
  padding-top: 5px;
}

@media (max-width: 600px) {
  .catalog-results .catalog-card .product-image { aspect-ratio: 1 / .94; }
  .catalog-results .catalog-card-body { min-height: 128px; padding: 12px 13px 11px; }
  .catalog-results .catalog-card-body h2 { font-size: 17px; }
}

/* Delivery and payment details are presented as scannable service cards. */
.delivery-page .legal-lead {
  max-width: 62ch;
  margin: -8px 0 38px;
  color: var(--lumi-muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.delivery-page section + section { margin-top: 48px; }

.delivery-page .delivery-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #d7dfd1;
  border-radius: 16px;
  background: linear-gradient(145deg, #fcfbf5, #f3f7ed);
}

.delivery-page .delivery-card .eyebrow {
  margin-bottom: 12px;
  color: #a85f4d;
}

.delivery-page .delivery-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.delivery-page .payment-grid { align-items: stretch; }
.delivery-page .payment-card { min-height: 230px; }

.delivery-page .delivery-card > p:not(.eyebrow) { margin-bottom: 0; }

.delivery-page .delivery-card .delivery-description {
  min-height: 52px;
  margin: 0 0 4px;
  color: var(--lumi-muted);
  font-size: 14px;
  line-height: 1.55;
}

.delivery-page .delivery-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px !important;
}

.delivery-page .delivery-price strong {
  color: var(--lumi-ink);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.05em;
}

.delivery-page .delivery-price span {
  color: var(--lumi-muted);
  font-size: 12px;
}

.delivery-page .delivery-free {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto !important;
  padding-top: 20px;
  border-top: 0;
  padding: 8px 11px;
  border: 1px solid #b8cda9;
  border-radius: 999px;
  background: #eaf2e4;
  color: #356044 !important;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.3 !important;
}

.delivery-page .delivery-card p,
.delivery-page .delivery-card li,
.delivery-page .delivery-card small {
  color: var(--lumi-muted);
  font-size: 13px;
  line-height: 1.65;
}

.delivery-page .delivery-card p {
  margin: 0 0 12px;
}

.delivery-page .delivery-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.delivery-page .delivery-card li + li {
  margin-top: 6px;
}

.delivery-page .delivery-card small {
  display: block;
  margin-top: 16px;
  color: #a85f4d;
}

.delivery-page .payment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .delivery-page .delivery-grid,
  .delivery-page .payment-grid {
    grid-template-columns: 1fr;
  }

  .delivery-page .legal-lead {
    margin-bottom: 28px;
    font-size: 15px;
  }
}

@media (max-width: 1120px) {
  .header.site-header, .simple-header.site-header { column-gap: 18px; }
  .header-quick-search { width: min(100%, 190px); }
  .header.site-header > .site-nav, .simple-header.site-header > .site-nav { gap: 18px; }
}
@media (max-width: 980px) {
  .header.site-header, .simple-header.site-header { grid-template-columns: auto minmax(120px, 1fr) auto; }
  .header.site-header > .site-nav, .simple-header.site-header > .site-nav { display: none; }
  .header.site-header > .header-actions, .simple-header.site-header > .header-actions { grid-column: 3; }
  .header-quick-search { grid-column: 2; width: min(100%, 220px); justify-self: end; }
}
@media (max-width: 600px) {
  .header-quick-search { width: min(100%, 145px); }
  .header-quick-search input { font-size: 11px; }
  .header.site-header .header-account-link, .simple-header.site-header .header-account-link { padding-inline: 7px; }
  .header.site-header .header-account-link .header-action-text, .simple-header.site-header .header-account-link .header-action-text { display: none; }
}
@media (max-width: 430px) {
  .header-quick-search { width: 118px; }
  .header-quick-search input::placeholder { font-size: 0; }
  .header-quick-search input::placeholder::after { content: "Поиск"; font-size: 11px; }
}

/* Final green brand palette for every shared storefront surface. */
:root {
  --lumi-peach: #e7efdf;
  --lumi-peach-deep: #2f684c;
  --peach: #e7efdf;
  --shop-blush: #e7efdf;
}
body, .account-body { background: #f4f1e7; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: rgba(47, 104, 76, .42); }
.announcement, .shop-hero, .catalog-intro, .legal-page, .dashboard > aside, .auth-intro, .admin-login { background: linear-gradient(135deg, #fcfbf5 0%, #e7efdf 100%); }
.announcement { color: #294c39; }
.logo span, .footer-logo span, .desktop-nav a:hover, .catalog-header-links a:hover, .quiet-link:hover, .eyebrow, .feedback-form-message, .feedback-auth-prompt a, .cart-product button:hover, .cart-empty-page > span { color: #2f684c; }
.button.dark:hover, .search-submit:hover, .catalog-filters button.active, .dashboard nav button.active, .auth-tabs button.active { background: #2f684c; border-color: #2f684c; color: #fff; }
.cart-button b, .cart-count, #catalog-cart-count, .promotion-pill, .promotion-toggle, .account-note, .newsletter { background: #e7efdf; }
.shop-cat:hover { background: linear-gradient(135deg, #e7efdf, #fcfbf5); border-color: #2f684c; }
.product-image, .catalog-card .product-image { background: linear-gradient(145deg, #f1f6ec, #e1eddc); }
.shop-cat:nth-child(2n), .shop-trust article:nth-child(2n) { background: linear-gradient(135deg, #fcfbf5, #e7efdf); }
.role-chip-admin { border-color: rgba(47,104,76,.55); background: rgba(231,239,223,.78); color: #24533c; }
.status-pill.off { background: #eef3e9; }
.feedback-answer { border-left-color: #2f684c; background: #eaf2e4; }
.promotion-pill, .promotion-toggle { border-color: rgba(47,104,76,.42); color: #24533c; }
.insight-row > span { background: #e7efdf; color: #24533c; }
.insight-row .stock-dot.empty { background: #78a66c; }
.free-delivery-track span { background: #2f684c; }
.avatars span { background: #b8d2b4; }
.avatars span:nth-child(2) { background: #c7ddc1; }
.avatars span:nth-child(3) { background: #dcebd7; }
.promotion-nav-link:focus-visible { background: #cfe4ca !important; border-color: #5a9167 !important; color: #24533c !important; }
.promotion-filter.active { background: #2f684c; border-color: #2f684c; color: #fff; }
.product-favorite:hover, .product-favorite:focus-visible { color: #2f684c; outline-color: rgba(47,104,76,.2); }
.admin-tabs button:hover, .admin-metrics article, .admin-row:hover { border-color: #b8cda9; }
.admin-panel button:hover, .admin-dialog button:hover { background: #eef5e9; }
.simple-header.site-header .promotion-nav-link,
.header.site-header .promotion-nav-link,
.site-mobile-nav .promotion-nav-link { border-color: rgba(47,104,76,.42); background: #e7efdf; color: #24533c !important; outline-color: #2f684c; }
.simple-header.site-header .promotion-nav-link:hover,
.simple-header.site-header .promotion-nav-link:focus-visible,
.header.site-header .promotion-nav-link:hover,
.header.site-header .promotion-nav-link:focus-visible,
.site-mobile-nav .promotion-nav-link:hover,
.site-mobile-nav .promotion-nav-link:focus-visible { border-color: #5a9167; background: #cfe4ca; color: #173f2c !important; }
.promotion-filter { border-color: rgba(47,104,76,.42); background: #f1f6ec; color: #24533c; }
.promotion-filter:hover, .promotion-filter.active { border-color: #2f684c; background: #2f684c; color: #fff; }
.catalog-card .badge.promotion, .product .badge.promotion { background: #2f684c; box-shadow: 0 5px 12px rgba(47,104,76,.2); }
.promotion-showcase { background: linear-gradient(135deg, #edf5e9 0%, #fcfbf5 48%, #e1eddc 100%); }
.promotion-showcase .eyebrow, .promotion-showcase .featured-status { color: #2f684c; }
.promotion-showcase .product { border-color: #c3d5bc; background: rgba(252,251,245,.9); }
.promotion-showcase .featured-controls button { border-color: #a9c39c; background: rgba(241,246,236,.94); color: #24533c; }
.promotion-showcase .featured-controls button:hover:not(:disabled),
.promotion-showcase .featured-controls button:focus-visible { border-color: #2f684c; background: #2f684c; color: #fff; }
.promotion-showcase .badge.promotion { background: #2f684c; }
.skin-finder-orbit span:nth-child(3) { background: #b8d2b4; }
.delivery-page .delivery-card .eyebrow,
.delivery-page .delivery-card small { color: #2f684c; }
.form-error { color: #a34b45; }
.skin-finder-orbit, .skin-finder-orbit::before, .skin-finder-orbit::after { border-color: rgba(47,104,76,.28); }

/* Direct social links shared by the storefront footer and Help page. */
.social-links-footer { display: grid; align-content: start; gap: 8px; }
.social-links-footer > b { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.social-links-footer > p { margin: 0 0 3px; color: #aeb7ad; font-size: 10px; line-height: 1.45; }
.social-links-list { display: flex; align-items: center; gap: 10px; }
.social-link { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; padding: 0; border: 1px solid #a9c39c; border-radius: 50%; background: #e7efdf; color: #24533c; text-decoration: none; box-shadow: 0 6px 14px rgba(16,56,34,.12); transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.social-link:hover, .social-link:focus-visible { transform: translateY(-3px); border-color: #5a9167; background: #cfe4ca; color: #173f2c; box-shadow: 0 9px 18px rgba(16,56,34,.18); }
.social-link:active { transform: translateY(0); }
.social-mark { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 50%; background: transparent; }
.social-mark img { display: block; width: 21px; height: 21px; object-fit: contain; }
.social-link-copy, .social-link-arrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help-socials { margin-top: 28px; padding: 25px; border: 1px solid #d7dfd1; border-radius: 14px; background: linear-gradient(135deg, #edf5e9 0%, #fcfbf5 100%); }
.help-socials h2 { margin: 0 0 9px; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.035em; }
.help-socials > p:not(.eyebrow) { max-width: 580px; margin: 0 0 18px; color: #4d514b; line-height: 1.6; }
.social-links-list-help { max-width: 560px; }
.social-links-list-help .social-link { flex-basis: 56px; width: 56px; height: 56px; background: #fcfbf5; color: #202b25; }
.social-links-list-help .social-link:hover, .social-links-list-help .social-link:focus-visible { background: #cfe4ca; color: #173f2c; }
.social-links-list-help .social-mark img { width: 25px; height: 25px; }
@media (max-width: 600px) {
  .social-links-footer { margin-top: 4px; }
  .help-socials { padding: 20px 17px; }
}
