/* ==========================================================================
   LATIVA Skincare — Production Quality Design & Usability Enhancements
   Strict 1150px Container, Skincare Aesthetics, Gallery Zoom Modal, Cart Drawer,
   Catalogue Facets, Customer Portal, and Responsive Refinements
   ========================================================================== */

:root {
  --container: 1150px !important;
  --section-pad-y: clamp(56px, 7vw, 84px);
  --paper: #FAF8F5;
  --peach: #F2ECE4;
  --coral: #242220;
  --accent: #7D5C45;
  --ink: #242220;
  --muted: #736B63;
  --line: #E4DED5;
  --sage: #E1E6DE;
  --lilac: #E7E2DC;
  --radius: 10px;
}

/* Strict Container Max Width */
.container,
.site-header .container,
.header .container,
.hero .container,
.section .container,
.service-strip.container,
.routine.container,
.brand-note.container,
.duo-banners.container,
.footer .container,
.cart-layout.container,
.checkout-layout.container,
.account-shell.container,
.collection-section.container,
.product-detail.container,
.page-banner .container,
.newsletter-inner.container {
  width: min(1150px, calc(100% - 96px)) !important;
  max-width: 1150px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 1150px) {
  .container,
  .site-header .container,
  .header .container,
  .hero .container,
  .section .container,
  .service-strip.container,
  .routine.container,
  .brand-note.container,
  .duo-banners.container,
  .footer .container,
  .cart-layout.container,
  .checkout-layout.container,
  .account-shell.container,
  .collection-section.container,
  .product-detail.container,
  .page-banner .container,
  .newsletter-inner.container {
    width: calc(100% - 64px) !important;
  }
}

@media (max-width: 600px) {
  .container,
  .site-header .container,
  .header .container,
  .hero .container,
  .section .container,
  .service-strip.container,
  .routine.container,
  .brand-note.container,
  .duo-banners.container,
  .footer .container,
  .cart-layout.container,
  .checkout-layout.container,
  .account-shell.container,
  .collection-section.container,
  .product-detail.container,
  .page-banner .container,
  .newsletter-inner.container {
    width: calc(100% - 36px) !important;
  }
}

/* Consistent Section Vertical Spacing */
.section {
  padding-block: var(--section-pad-y, 84px) !important;
}

.section-sm {
  padding-block: clamp(32px, 4vw, 48px) !important;
}

/* Sticky Header with Smooth Elevate */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  background: rgba(250, 248, 245, 0.98);
  border-bottom: 1px solid var(--line);
}

.header.is-sticky {
  box-shadow: 0 4px 20px rgba(36, 34, 32, 0.08);
}

/* Compact Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
  padding: 2px;
  margin-right: 0.35rem;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--body, 'DM Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--coral);
}

.lang-btn.active {
  background: var(--coral);
  color: #fff;
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--coral);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(36, 34, 32, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

/* Modern Image Gallery & Zoom Modal */
.detail-photo {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}

.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(36, 34, 32, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.zoom-hint svg {
  width: 14px;
  height: 14px;
}

/* Fullscreen Gallery Zoom Modal Dialog */
.gallery-zoom-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(36, 34, 32, 0.92);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border: none;
}

.gallery-zoom-dialog.is-active {
  display: flex;
}

.gallery-zoom-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-zoom-container img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  cursor: zoom-out;
  border-radius: 8px;
}

.gallery-zoom-close {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 44px;
  height: 44px;
  background: var(--coral);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.gallery-zoom-close:hover {
  transform: scale(1.1);
}

/* Product Tabs for Extra Descriptions */
.product-tabs-wrapper,
.product-tabs[data-tabs] {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.product-tab-buttons,
.product-tabs[data-tabs] .product-tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-family: var(--body, 'Manrope', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.product-tab-btn:hover {
  color: var(--moss);
}

.product-tab-btn.is-active,
.product-tab-btn[aria-selected="true"] {
  color: var(--moss);
}

.product-tab-btn.is-active::after,
.product-tab-btn[aria-selected="true"]::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--moss);
}

.product-tab-panel {
  display: none;
  line-height: 1.7;
  font-size: 13.5px;
  color: #383431;
}

.product-tab-panel.is-active,
.product-tab-panel:not([hidden]) {
  display: block;
  animation: fadeIn 0.2s ease;
}

.product-tab-body.rte p {
  margin: 0 0 10px;
}
.product-tab-body.rte p:last-child {
  margin-bottom: 0;
}
.product-tab-body.rte ul,
.product-tab-body.rte ol {
  margin: 6px 0 10px 18px;
  padding: 0;
}
.product-tab-body.rte li {
  margin-bottom: 4px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Category Catalogue Top Toolbar & Sort */
.catalog-toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.per-page-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.per-page-select-wrap select {
  padding: 8px 12px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
}

/* Blog Article Sticky Sidebar */
.article-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .article-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.article-sidebar {
  position: sticky;
  top: 115px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--peach);
  padding: 28px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.article-sidebar h3 {
  font-size: 17px;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--coral);
}

.article-sidebar-search form {
  display: flex;
  gap: 8px;
}

.article-sidebar-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.article-sidebar-search button {
  padding: 10px 16px;
  background: var(--coral);
  color: #fff;
  border: 1px solid var(--coral);
  border-radius: 4px;
  cursor: pointer;
}

.sidebar-articles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-article-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.sidebar-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article-item a {
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  line-height: 1.4;
  transition: color 0.2s;
}

.sidebar-article-item a:hover {
  color: var(--accent);
}

.sidebar-article-item time {
  font-size: 11px;
  color: var(--muted);
}

.article-sidebar-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-sidebar-categories a {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  transition: color 0.2s;
}

.article-sidebar-categories a:hover {
  color: var(--coral);
  font-weight: 600;
}

.article-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag-pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}

.article-tag-pill:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

/* 500 Error Page Style */
.error-page-wrapper {
  padding-block: clamp(60px, 8vw, 100px);
  text-align: center;
}

.error-card {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px);
  background: var(--peach);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.error-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.error-card h1 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 14px;
}

.error-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Order Note Textarea */
.cart-note-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--peach);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.cart-note-box label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--coral);
}

.cart-note-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  font-size: 13px;
  background: var(--paper);
  resize: vertical;
}

/* Product Card Aspect Ratio & Quick Add Button */
.product-card .add-small {
  transition: transform 0.2s, background-color 0.2s;
}

.product-card .add-small:hover {
  transform: scale(1.08);
}

/* Native storefront additions use the reference's restrained skincare styling. */
.lativa-section-shell{display:block;width:100%;max-width:100%;margin-inline:0;box-sizing:border-box;transition:background-color .2s ease}.lativa-section-shell:has(.header-wrap){position:sticky;top:0;z-index:10001}.lativa-section-shell:has(.header-wrap[data-sticky-off]){position:relative;top:auto;z-index:60}.lativa-section-shell:has(.page-hero),.lativa-section-shell:has(.journal-heading),.lativa-section-shell:has(.article-heading),.lativa-section-shell:has(.cart-heading){background:transparent!important}.blog-main-content,.article-layout{background:transparent}[hidden]{display:none!important}.header[data-sticky-off]{position:relative}.header .logo img{max-height:64px;object-fit:contain}.logo{min-width:0}.nav-submenu{position:relative}.nav-submenu>summary{list-style:none;cursor:pointer}.nav-submenu-items{position:absolute;top:100%;left:0;display:grid;gap:12px;min-width:190px;padding:20px;background:var(--paper);border:1px solid var(--line);z-index:50}.nav-submenu-items .nav-submenu-items,#menu-dialog .nav-submenu-items,.footer .nav-submenu-items{position:static;border:0;background:transparent}.footer-menu-block a{display:block;font-size:13px;margin:10px 0}.product-grid,.related-grid{display:grid;grid-template-columns:repeat(var(--prow,4),minmax(0,1fr));gap:26px}.product-media{aspect-ratio:var(--card-ratio)}.product-media img{height:100%;width:100%;object-fit:contain}.favorite-btn.is-saved svg,.save-round.is-saved svg{fill:currentColor}.filter-tabs{overflow:auto}.filter-tabs a{white-space:nowrap;font-size:13px;padding:10px 16px;border:1px solid var(--line);border-radius:50px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 24px;border:1px solid transparent;border-radius:8px;font:600 14px var(--body);text-decoration:none;cursor:pointer}.button .icon{width:20px;height:20px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.icon{fill:none;stroke:currentColor;stroke-width:1.6}.icon use{stroke:inherit}.search-suggestions{display:grid;gap:12px;margin-top:20px}.search-suggestions a{display:flex;align-items:center;gap:15px;padding:10px;border-bottom:1px solid var(--line)}.search-suggestions img{object-fit:contain}.search-suggestions small{display:block}.lang-switcher{gap:2px;font-size:11px}.lang-switcher a{padding:4px 6px;line-height:1}.quiz-options{display:grid;gap:12px;margin-block:24px}.quiz-options button{padding:14px;text-align:left;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}.quiz-recommendations{display:flex;flex-wrap:wrap;gap:12px;margin-block:20px}.quiz-dialog h2{font-size:28px}.quiz-progress{font-size:12px}
/* Supporting page headings follow the reference page banners. */
.page-hero,.cart-heading,.journal-heading,.article-heading{background:var(--banner-bg);color:var(--ink);padding:48px 0;}.page-hero::after{display:none}.page-hero h1,.journal-heading h1,.cart-heading h1,.article-heading h1{font-size:clamp(32px,4vw,52px);letter-spacing:-1.8px;text-transform:none;max-width:none;line-height:1.1}.page-hero p,.page-hero .section-note{color:var(--muted)}.page-hero .container{padding-inline:0}.breadcrumbs,.breadcrumb{font-size:12px;letter-spacing:0;display:flex;flex-wrap:wrap;gap:8px}.section-note{font-size:12px;color:var(--muted);letter-spacing:.02em}.collection-page,.cart-page,.search-page{padding-block:48px}.collection-controls,.toolbar-selects{display:flex;justify-content:space-between;gap:24px;align-items:center}.collection-controls{margin-bottom:24px}.collection-controls .filter-tabs{display:flex;gap:8px}.collection-controls>p{white-space:nowrap;font-size:12px}.catalog-sort{margin-left:auto}.catalog-filter-form{background:var(--peach);padding:24px;border-radius:10px}.catalog-filter-form select,.catalog-filter-form input{border-radius:5px}.catalog-sort .button{min-height:40px}.empty-page,.empty-state,.cart-empty{text-align:center;padding:48px 20px;grid-column:1/-1}.empty-page h1,.empty-page h2{font-size:30px}.empty-page p{margin:14px auto 24px;max-width:500px}
/* Cart drawer uses server totals; shipping progress appears only when configured. */
#cart-dialog{width:min(480px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;margin:0 0 0 auto;padding:0;background:var(--paper);border:0;border-radius:0}.cart-head{display:flex;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line)}.cart-head h2{font-size:26px}.cart-head>button{border:0;background:transparent}.cart-items{padding:0 24px}.cart-item{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:14px;padding:22px 0;border-bottom:1px solid var(--line)}.cart-item>img{width:74px;height:99px;object-fit:contain;background:var(--peach);border-radius:8px}.cart-item h3{font-size:15px;margin:0 0 6px}.ci-meta{font-size:12px}.ci-right{text-align:right;font-size:12px}.ci-remove{display:block;border:0;background:transparent;color:var(--muted);font-size:11px;text-decoration:underline;margin:16px 0 0 auto}.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:6px;overflow:hidden}.qty button{width:30px;height:32px;border:0;background:var(--paper)}.qty input{width:40px;padding:4px;border:0;text-align:center}.qty>span{padding:5px}.cart-foot{padding:24px}.cart-foot .button{width:100%;margin-top:18px}.cart-foot textarea,.cart-note-field textarea{width:100%;min-height:76px;border:1px solid var(--line);border-radius:5px;padding:10px;background:var(--paper)}.cart-foot label{font-size:13px;display:block;margin-bottom:8px}.cart-foot .cart-note{display:block;text-align:center;font-size:12px;margin-top:16px}.cart-total{display:flex;justify-content:space-between;margin-top:20px}.cart-progress{font-size:12px;background:var(--sage);padding:14px;border-radius:6px;margin-bottom:20px}.cart-progress progress{display:block;width:100%;margin-top:10px}.cart-empty .icon{height:48px;width:48px;display:block;margin:0 auto 20px}.cart-empty h2{font-size:28px}.cart-summary{padding:28px;background:var(--peach);border-radius:10px}.cart-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:40px}.cart-page .cart-items{padding:0}.cart-summary .button{width:100%;margin-block:18px}.cart-note-field{margin-block:24px}.cart-note-field label{display:block;margin-bottom:8px}.summary-lines>div{display:flex;justify-content:space-between;gap:12px;margin:12px 0}.secure-note,.note-hint{font-size:12px;color:var(--muted)}
/* Gallery, purchase panel, specification tabs. */
 .lativa-product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;padding-block:24px 64px} .lativa-product-detail>.container{width:100%} .lativa-product-detail>div:first-child:not(.product-gallery):not(.product-purchase){grid-column:1/-1}.product-purchase h1{font-size:clamp(30px,3vw,44px);text-transform:none;letter-spacing:-1.5px}.gallery-main{height:auto;aspect-ratio:1/1.13;background:var(--peach);border-radius:10px}.gallery-main img{object-fit:contain}.gallery-thumbnails{display:flex;gap:10px;overflow:auto}.thumbnail{width:70px;height:70px;padding:4px;border:1px solid var(--line);background:var(--paper);border-radius:6px;flex:none}.thumbnail.active{border-color:var(--accent)}.thumbnail img{width:100%;height:100%;object-fit:contain}.gallery-note{font-size:12px}.product-purchase .title-row{display:flex;align-items:start;justify-content:space-between;gap:15px}.save-round{border:1px solid var(--line);background:var(--paper);border-radius:50%;width:40px;height:40px;flex:none}.variant-native-select{max-width:100%;padding:10px;margin:8px 0 20px;border:1px solid var(--line);border-radius:6px}.variant-native-label{display:block;font-size:12px}.size-options,.color-options{display:flex;flex-wrap:wrap;gap:8px}.size-choice,.color-choice{min-width:42px;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:var(--paper)}.size-choice.active,.color-choice.active{background:var(--ink);color:var(--paper);border-color:var(--ink)}.purchase-row{display:flex;gap:12px;margin-top:24px}.purchase-row .add-button{flex:1}.quantity-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px}.quantity-control button{width:32px;height:44px;background:transparent;border:0}.quantity-control input{width:42px;text-align:center;border:0;background:transparent;appearance:textfield}.choice-heading h2{font-size:14px;text-transform:none}.product-divider{margin:24px 0;border-top:1px solid var(--line)}.stock-note{font-size:12px}.product-intro{font-size:14px;color:var(--muted)}.related-section{padding-block:48px}.related-section .title-row{display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.related-section h2{font-size:28px}.gallery-zoom{background:var(--paper);padding:45px;width:min(96vw,1100px);height:90dvh;border-radius:10px;border:0;overflow:auto}.gallery-zoom[open]{display:block}.gallery-zoom>img{max-width:100%;height:100%;max-height:75dvh;object-fit:contain;margin:auto;transition:transform .2s}.zoom-tools{position:sticky;bottom:10px;display:flex;justify-content:center;gap:8px}.zoom-tools button,.zoom-close{padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:6px}.zoom-close{position:absolute;right:12px;top:12px}.product-tab-panel{color:var(--ink)}
/* Native customer, contact and checkout forms. */
.account-layout{padding-block:40px 64px;grid-template-columns:240px minmax(0,1fr);gap:40px}.customer-dashboard-header h1{font-size:clamp(30px,4vw,44px);line-height:1.15;text-transform:none;overflow-wrap:anywhere;letter-spacing:-1px}.customer-dashboard-header{margin-bottom:28px}.account-content{min-width:0}.account-nav a{white-space:normal}.portal-card,.account-panel{background:var(--peach);border:1px solid var(--line);border-radius:10px;padding:24px}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--paper)}.field{display:grid;gap:7px}.form-grid{display:grid;gap:18px}.form-error,.form-status--error{padding:14px;background:#f4d9d4;border-radius:6px}.form-success{padding:14px;background:var(--sage);border-radius:6px}.auth-shell,.password-card{max-width:520px;margin:64px auto;padding:0 20px;width:100%}.auth-shell.auth-shell-wide,.auth-shell-wide{max-width:660px}.password-shell{padding:40px 18px}.checkout-main{padding-block:40px 64px}.checkout-head h1{font-size:36px;line-height:1.1}.checkout-panel{background:var(--peach);border:1px solid var(--line);padding:24px;border-radius:10px}.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.checkout-field{min-width:0}.checkout-field--wide{grid-column:1/-1}.checkout-field label{font-size:13px;display:block;margin-bottom:6px}.checkout-field input,.checkout-field select,.checkout-field textarea{width:100%;min-width:0;padding:11px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.checkout-form{display:grid;gap:22px}.checkout-panel__head{display:flex;align-items:center;gap:12px;margin-bottom:22px}.checkout-panel__head h2{font-size:20px}.checkout-field__status,.checkout-field__error{font-size:12px}.checkout-ajax-status,.checkout-notice{padding:14px;background:var(--sage);border-radius:6px;margin-bottom:20px}.checkout-option{display:flex;gap:12px;padding:14px;border:1px solid var(--line);border-radius:6px;margin:12px 0}.checkout-summary{background:var(--peach);padding:24px;border-radius:10px}.contact-layout{padding-block:48px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:48px;align-items:start}.contact-details{display:flex;flex-direction:column;gap:24px}.contact-image-wrap{overflow:hidden;border-radius:10px}.contact-image-wrap img,.contact-image{width:100%;height:auto;max-height:380px;object-fit:cover;display:block;border-radius:10px}.contact-custom-info{font-size:15px;line-height:1.6;color:var(--ink,#141414);word-break:break-word}.contact-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}.contact-list li{display:flex;flex-direction:column;gap:4px}.contact-label{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600}.contact-value{font-size:15px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}.contact-value a{color:inherit;text-decoration:underline;text-underline-offset:3px}.contact-value a:hover{color:var(--color-coral,#b2533e)}.contact-hours{font-size:13px;color:var(--muted);margin-top:4px}.contact-map-left,.contact-map-widget,.contact-map-responsive{position:relative;width:100%;border-radius:10px;overflow:hidden}.contact-map-widget iframe,.contact-map-responsive iframe{width:100%!important;max-width:100%!important;border:0!important;border-radius:10px;display:block}.contact-map-wrap{padding-bottom:48px;margin-top:32px}.contact-map-wrap iframe{width:100%;height:360px;border:0;border-radius:10px;display:block}.article-layout{grid-template-columns:minmax(0,1fr) 300px;gap:40px}.article-heading h1{max-width:800px}.article-aside{position:sticky;top:110px;min-width:0;background:var(--peach);padding:24px;border-radius:10px}.article-aside h2{font-size:17px}.article-image{border-radius:10px}.blog-search-box{max-width:600px;margin:24px auto 0;display:flex;gap:10px}.blog-search-box input{min-width:0;flex:1;padding:12px;border:1px solid var(--line);border-radius:6px}.newsletter-form .field-row{display:flex;align-items:center;gap:8px}.newsletter-form input{flex:1;min-width:0}.newsletter-form label{display:block;font-size:13px;margin-bottom:10px}.newsletter-form [data-newsletter-status]{font-size:11px}.newsletter-form .field-row button{border:0;background:var(--paper);color:var(--ink);padding:14px;border-radius:6px}.newsletter-form .field-row button svg{width:20px;height:20px}.newsletter p,.newsletter h2,.newsletter label{color:var(--paper)}.rte img{max-width:100%;height:auto}.rte{overflow-wrap:anywhere}.aside-search-row{display:flex;gap:8px}.aside-search-row input{min-width:0;flex:1;padding:10px;border:1px solid var(--line);border-radius:5px}.aside-list{display:grid;gap:16px}.aside-list a strong,.aside-list a small{display:block}.aside-list a{font-size:13px}.aside-list a small{font-size:11px;color:var(--muted)}
@media(max-width:900px){.account-layout,.cart-page-layout,.article-layout,.checkout-layout,.contact-layout{grid-template-columns:minmax(0,1fr)!important;gap:28px}.account-nav,.article-aside{position:static} .lativa-product-detail{gap:28px}.cart-summary{position:static}.account-layout{padding-top:24px}.catalog-filters{flex-direction:column}.catalog-sort{max-width:none;margin-left:0;width:100%}.catalog-facets{width:100%}.collection-controls{align-items:start;flex-wrap:wrap}}
@media(max-width:600px){.product-grid,.related-grid{grid-template-columns:repeat(var(--prow-m,2),minmax(0,1fr))!important;gap:18px 12px}.header-inner{gap:10px}.header-tools{gap:5px}.header-tools .account-link{display:none}.header .logo{max-width:calc(100vw - 205px)}.logo img{max-width:100%!important}.lang-switcher{margin-right:0}.lang-switcher a{padding:4px;font-size:10px} .lativa-product-detail{grid-template-columns:minmax(0,1fr)}.product-purchase h1{font-size:32px}.purchase-row{gap:8px}.purchase-row .button{padding-inline:12px}.checkout-fields{grid-template-columns:minmax(0,1fr)}.checkout-panel{padding:18px}.article-aside{padding:20px}.blog-search-box{flex-wrap:wrap}.cart-item{gap:10px;grid-template-columns:60px minmax(0,1fr) auto}.cart-item>img{width:60px;height:82px}.cart-item h3{font-size:13px}.cart-items{padding-inline:18px}.cart-page-layout{gap:24px}.cart-summary{padding:20px}.gallery-zoom{padding:40px 15px}.collection-controls .filter-tabs{flex-wrap:wrap}.catalog-filter-form{padding:18px}.back-to-top{right:18px;bottom:18px}.newsletter-form .field-row{flex-wrap:nowrap}.auth-shell{margin:32px auto;padding:18px}.footer-menu-block a{font-size:11px}.contact-layout{padding-block:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
 .lativa-product-detail{grid-template-columns:1.05fr 1fr;gap:75px}.gallery-main{aspect-ratio:1/1.05}.lang-switch a[aria-current]{background:var(--ink);color:var(--paper);border-radius:3px}.category-grid .collection-banner{min-height:180px;padding:24px}.category-grid h3{font-size:22px;margin-block:8px 12px}.category-grid .text-link{font-size:12px}.cart-dialog>.dialog-head{padding:24px;border-bottom:1px solid var(--line)}.cart-dialog>.dialog-head button{background:transparent;border:0}.cart-dialog .dialog-head small{font-size:12px;color:var(--muted)}.footer .social-links{display:flex;align-items:center;gap:10px}
@media(min-width:901px){.collection-page{display:grid;grid-template-columns:185px minmax(0,1fr);gap:24px 45px;align-items:start}.collection-controls{grid-column:1/-1}.catalog-filter-form,.catalog-filters{display:contents}.catalog-facets{grid-column:1;grid-row:3;display:grid;gap:20px;min-width:0}.catalog-sort{grid-column:2;grid-row:2;max-width:none;margin:0;justify-content:flex-end}.catalog-filter-form>.text-link{grid-column:1;grid-row:4;align-self:start}.collection-page>#collection-grid{grid-column:2;grid-row:3}.collection-page>.pagination,.collection-page>#collection-empty{grid-column:2}.price-range-form{display:grid;gap:6px}.price-range-form input{width:100%}.collection-page .facet-group{font-size:13px}.collection-page select{background:var(--paper)}.collection-page .catalog-sort label{display:flex;align-items:center;gap:12px}.collection-page .catalog-sort .button{min-height:40px}.collection-page .catalog-facets>label select{width:100%}.collection-page .catalog-facets{padding:0}.collection-page .catalog-sort select{padding:8px}}
@media(max-width:1100px){ .lativa-product-detail{gap:40px}}@media(max-width:900px){ .lativa-product-detail{gap:30px}}@media(max-width:600px){ .lativa-product-detail{grid-template-columns:minmax(0,1fr);gap:27px}.gallery-main{aspect-ratio:1/1}.header .lang-switch{margin:0}}

/* ==========================================================================
   Production refinements — banner band, top whitespace, navigation, cart,
   catalog, customer, article, homepage, password, contact, product swatches.
   ========================================================================== */

/* Sub-page banner: breadcrumb + title + description sit in one colored band. */
.page-hero,.cart-heading,.journal-heading,.article-heading,.contact-hero{background:var(--banner-bg);color:var(--banner-text);padding:clamp(1.9rem,3.4vw,2.6rem) 0;border-bottom:1px solid var(--line)}.page-hero .container,.journal-heading .container,.article-heading .container,.cart-heading .container,.contact-hero .container{position:relative;z-index:2}.page-hero::after{display:none}.page-hero h1,.journal-heading h1,.cart-heading h1,.article-heading h1,.contact-hero h1{color:var(--banner-text)}.page-hero p,.journal-heading p,.cart-heading p,.article-heading p,.contact-hero p,.page-hero .section-note,.journal-heading .section-note,.cart-heading .section-note,.article-heading .section-note,.contact-hero .section-note{color:var(--banner-muted)}.page-breadcrumb,.breadcrumbs,.breadcrumb{color:var(--banner-muted)}.page-breadcrumb a,.breadcrumbs a,.breadcrumb a{color:var(--banner-muted)}.page-breadcrumb span.current,.breadcrumbs .current,.breadcrumb span:last-child{color:var(--banner-text)}.contact-hero .hero-lede{color:var(--banner-muted)}

/* Trim the top gap so the first band sits directly under the header. */
main>.lativa-section-shell:first-child .page-hero,main>.lativa-section-shell:first-child .cart-heading,main>.lativa-section-shell:first-child .journal-heading,main>.lativa-section-shell:first-child .article-heading,main>.lativa-section-shell:first-child .contact-hero{padding-top:clamp(1.6rem,2.6vw,2.1rem)}.hero{padding-top:clamp(1.5rem,3.5vw,2.75rem)}.collection-page,.cart-page,.search-page{padding-top:36px}

/* Header navigation: caret alignment + hover dropdowns. */
.main-nav .nav-submenu{display:flex;align-items:center}
.main-nav .nav-submenu>summary{display:inline-flex;align-items:center;gap:.4rem;list-style:none;cursor:pointer;padding:.3rem 0;font-size:.9rem;font-weight:500;line-height:1}
.main-nav .nav-submenu>summary::-webkit-details-marker{display:none}
.main-nav .nav-submenu>summary>a{color:inherit;text-decoration:none;font-size:.9rem;font-weight:500;line-height:1}
.main-nav .nav-submenu>summary:hover>a,.main-nav .nav-submenu[open]>summary>a{color:var(--ink)}
.nav-caret{width:15px;height:15px;flex:none;transition:transform .2s var(--ease)}
.nav-submenu[open]>.summary .nav-caret,.nav-submenu[open]>summary .nav-caret{transform:rotate(180deg)}
.main-nav .nav-submenu-items{top:100%;left:50%;transform:translateX(-50%);min-width:210px;background:var(--porcelain);border:1px solid var(--line);border-radius:10px;box-shadow:0 26px 50px -34px rgba(24,21,19,.7);padding:14px;gap:2px}
.main-nav .nav-submenu-items>a{display:block;padding:9px 12px;border-radius:6px;font-size:.86rem;color:var(--ink);text-decoration:none;line-height:1.2}
.main-nav .nav-submenu-items>a:hover{background:var(--sand);color:var(--ink)}
.main-nav .nav-submenu-items .nav-submenu>summary{padding:9px 12px;font-size:.86rem}
.main-nav .nav-submenu-items .nav-submenu-items{top:0;left:100%;transform:none;position:static;box-shadow:none;border:0;background:transparent;padding:0 0 0 12px;min-width:0}
@media(hover:hover) and (pointer:fine){.main-nav .nav-submenu:hover>.nav-submenu-items{display:grid}}

/* Cart drawer: opaque surface, solid backdrop, prominent footer buttons. */
#cart-dialog,.cart-dialog,.side-dialog{background:var(--paper);color:var(--ink)}
dialog::backdrop{background:rgba(24,21,19,.55)}
.cart-foot{display:grid;gap:10px}
.cart-foot .button{width:100%;margin-top:0}
.cart-foot .button-amber,.cart-foot [data-checkout]{background:var(--amber);color:#fff;border:1px solid var(--amber)}
.cart-foot .button-secondary,.cart-foot .cart-view-btn{background:var(--moss);color:var(--porcelain);border:1px solid var(--moss);margin-top:2px;font-weight:700}
.cart-foot .button-secondary:hover,.cart-foot .cart-view-btn:hover{background:var(--ink);color:var(--paper)}

/* Lativa reference defaults take precedence over shared control dimensions. */
.container{width:min(1150px,calc(100% - 80px))!important;max-width:1150px!important;margin-inline:auto;padding-inline:0;box-sizing:border-box}.lativa-section-shell{display:block;width:100%;max-width:100%;margin-inline:0;box-sizing:border-box;transition:background-color .2s ease}.lativa-section-shell:has(.header-wrap){position:sticky;top:0;z-index:10001}.lativa-section-shell:has(.header-wrap[data-sticky-off]){position:relative;top:auto;z-index:60}.header-wrap{position:sticky;top:0;z-index:10001!important;background:var(--paper)}.header-wrap[data-sticky-off]{position:relative}.site-header{max-width:1150px;margin-inline:auto}.brand img{height:auto;object-fit:contain}.main-nav .nav-submenu{margin:0}.main-nav .nav-submenu summary{font-size:inherit}.header-wrap.is-sticky{box-shadow:0 2px 10px #18151312}.side-dialog nav .nav-submenu-items{position:static;border:0;background:transparent}.footer .nav-submenu-items{position:static;background:transparent}.product-grid,.related-grid{grid-template-columns:repeat(var(--prow,3),minmax(0,1fr));gap:34px 24px}.product-media{aspect-ratio:var(--card-ratio)}.product-media img{width:100%;height:100%;object-fit:cover}.product-card .product-info h3{font-family:var(--display)}.shelf-track{display:flex;gap:24px;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:20px}.shelf-track>.product-card{flex:0 0 320px;scroll-snap-align:start}.product-rating{align-items:center;gap:6px}.product-rating .stars .icon{width:14px;height:14px;fill:var(--amber);stroke:var(--amber)}.fav-toggle.is-saved svg,.save-round.is-saved svg{fill:currentColor}.product-actions .add-btn{min-height:40px;display:flex;align-items:center;justify-content:center;padding:10px;font:600 12px var(--body);text-decoration:none}.product-actions .quick-btn{font:600 12px var(--body)}.no-products{padding:36px 0}.quick-dialog .quick-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;padding:20px}.quick-dialog [data-quick-img]{width:100%;max-height:500px;object-fit:contain}.quick-dialog h2{font-size:32px}.footer a,.footer h3{color:inherit}.footer .social-links{display:flex;gap:10px;margin-top:18px}.footer .social-links a{width:32px;height:32px;border:1px solid #ffffff40;display:grid;place-items:center}.footer .social-links svg{width:16px;height:16px}.footer p{color:#f7f5efab}.newsletter{border:1px solid var(--line);margin-block:0 64px}.newsletter h2,.newsletter p,.newsletter label{color:var(--ink)}.newsletter form{display:block}.newsletter .field-row{display:flex;gap:8px}.newsletter .field-row input{width:100%;min-width:0;padding:14px;background:var(--paper);border:1px solid var(--line)}.newsletter .field-row button{background:var(--moss);color:var(--porcelain);border-radius:0}.newsletter .field-row button .icon{height:20px;width:20px}.science h2,.science p,.science .head-note{color:inherit}.science .clinical-stats strong,.science .clinical-stats b{color:var(--amber)}.section{padding-block:72px!important}.hero.container{padding-inline:0}.product-tabs{margin:0}.back-to-top{border-radius:2px;background:var(--paper);color:var(--moss)}.back-to-top svg{fill:none;stroke:currentColor;stroke-width:1.6}.lang-switch{display:flex;gap:3px;align-items:center;border:1px solid var(--line);padding:2px}.lang-switch a{font:600 10px var(--body);padding:4px}.lang-switch a[aria-current]{background:var(--moss);color:var(--porcelain)}.product-layout .gallery-main{border-radius:0;aspect-ratio:4/5}.product-purchase h1{text-transform:none;font-weight:400;letter-spacing:-1px}.product-layout .gallery-main img{object-fit:contain}.customer-dashboard-header h1{font-family:var(--display);font-weight:400}.button{border-radius:2px}.cart-summary,.checkout-panel,.checkout-summary,.portal-card,.article-aside,.catalog-filter-form{border-radius:2px;background:var(--porcelain)}.cart-progress{background:var(--sand);border-radius:0}.cart-foot textarea,.cart-note-field textarea,.thumbnail{border-radius:0}.gallery-zoom{border-radius:0}.side-dialog>.dialog-head{padding:24px}.site-header .icon-button .icon{width:20px;height:20px}.product-divider{background:transparent}.aside-chips a{color:var(--ink)}
@media(max-width:900px){.container{width:calc(100% - 48px)!important}.site-header{width:calc(100% - 48px)!important}.main-nav{display:none}.header-actions{gap:8px}.collection-controls{align-items:start}.hero.container{padding-inline:0}.product-grid,.related-grid{gap:24px 18px}}
@media(max-width:600px){.container{width:calc(100% - 36px)!important}.site-header{width:calc(100% - 36px)!important;gap:10px}.header-actions{gap:4px}.header-actions .icon-button{min-width:36px;width:36px;height:40px}.brand{max-width:min(100%,var(--header-logo-width,130px),calc(100vw - 200px))!important}.brand img{max-width:100%!important}.product-grid,.related-grid{grid-template-columns:repeat(var(--prow-m,2),minmax(0,1fr))!important}.section{padding-block:48px!important}.shelf-track>.product-card{flex-basis:270px}.quick-dialog .quick-layout{grid-template-columns:minmax(0,1fr)}.newsletter{margin-bottom:48px}.newsletter .field-row{display:flex;flex-wrap:nowrap}.newsletter form button{flex:none}.header-actions .lang-switch{margin:0}.hero.container{width:calc(100% - 36px)!important}.footer-top{gap:30px}.footer-bottom{display:flex;gap:12px;flex-wrap:wrap}.product-actions{opacity:1;transform:none;visibility:visible}.product-layout .gallery-main{aspect-ratio:1/1}}
/* Editorial rows retain the reference spacing and dark clinical band. */
.lativa-section-shell:has(> #ritual),.lativa-section-shell:has(> .ritual),.ritual{background:var(--porcelain)}.lativa-section-shell:has(> #spotlight),.lativa-section-shell:has(> .spotlight),.spotlight{background:var(--sand)}.ritual-action{margin-top:32px;text-align:left}.science{padding-block:clamp(4.5rem,10vw,8rem);grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.science .stat-list>div{display:flex;align-items:baseline;gap:22px}.science .stat-list dd{color:var(--amber-lift)}.science .stat-list dt{color:var(--porcelain)}.science .science-lede,.science .science-note{color:var(--porcelain)}.newsletter.container{margin-top:clamp(4rem,9vw,7rem);margin-bottom:clamp(4rem,9vw,7rem)}.shelf-track .product-actions{position:static;opacity:1;transform:none}.product-actions{opacity:0;visibility:hidden}.product-media:hover .product-actions,.product-media:focus-within .product-actions{opacity:1;visibility:visible}.product-actions a.add-btn{display:flex}.footer .footer-brand{color:var(--paper)}
@media(max-width:900px){.science{grid-template-columns:minmax(0,1fr);padding-inline:24px}.science .science-media{max-width:100%}}@media(max-width:600px){.product-actions{opacity:1;visibility:visible}.science{padding-inline:18px}.newsletter.container{margin-block:48px}.science .stat-list>div{gap:15px}}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Cart page — professional layout. */
.cart-page{padding-bottom:72px}
.cart-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start}
.cart-page .cart-items{border:1px solid var(--line);border-radius:2px;background:var(--porcelain);padding:8px 24px}
.cart-page .cart-item{grid-template-columns:96px minmax(0,1fr) auto;gap:20px;padding:24px 0}
.cart-page .cart-item>img{width:96px;height:128px;border-radius:2px;background:var(--sand)}
.cart-page .cart-item:first-child{padding-top:18px}
.cart-page .cart-item h3{font-family:var(--display);font-size:18px}
.cart-page .cart-item h3 a{text-decoration:none;color:var(--ink)}
.cart-page .cart-item h3 a:hover{color:var(--moss)}
.cart-page .qty button{width:36px;height:38px;font-size:16px}
.cart-page .qty input{width:48px}
.cart-page .ci-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.cart-page .ci-right strong{font-size:15px}
.cart-page .ci-remove{margin:0;text-decoration:none;color:var(--muted);font-size:12px;border-bottom:1px solid transparent}
.cart-page .ci-remove:hover{color:var(--amber);border-bottom-color:var(--amber)}
.cart-page .cart-summary{position:sticky;top:100px;border:1px solid var(--line)}
.cart-page .cart-summary h2{font-family:var(--display);font-size:22px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:6px}
.cart-page .cart-summary .checkout-button{margin-top:22px}
.cart-items-actions{display:flex;justify-content:flex-end;align-items:center;margin-top:14px;margin-bottom:20px}
.cart-update-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 22px;font-family:var(--body,'Manrope',sans-serif);font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--ink);background:var(--paper);border:1.5px solid var(--ink);border-radius:2px;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px rgba(0,0,0,0.04)}
.cart-update-btn .icon{width:15px;height:15px;stroke:currentColor;fill:none;transition:transform .3s ease}
.cart-update-btn:hover{background:var(--moss);color:#fff;border-color:var(--moss);box-shadow:0 3px 10px rgba(0,0,0,0.1);transform:translateY(-1px)}
.cart-update-btn:hover .icon{transform:rotate(180deg)}
.cart-update-btn:active{transform:translateY(0)}
.cart-update-btn[disabled]{opacity:.6;cursor:not-allowed;transform:none}
@media(max-width:900px){.cart-page-layout{grid-template-columns:minmax(0,1fr)}.cart-page .cart-summary{position:static}.cart-items-actions{justify-content:stretch}.cart-update-btn{width:100%}}

/* Wishlist: compact grid + prominent remove control */
.wishlist-grid{gap:24px 18px}
.wishlist-grid .product-card{padding-bottom:18px}
.wishlist-remove{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:6px 12px;font:600 11px var(--body);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:2px;cursor:pointer;transition:.18s}
.wishlist-remove:hover{color:#fff;background:var(--amber);border-color:var(--amber)}
.wishlist-remove .icon{width:14px;height:14px}
.account-nav{padding:.7rem;gap:2px}
.account-nav-links{display:flex;flex-direction:column;gap:2px}
.account-nav a{padding:8px 12px;font-size:12.5px;display:flex;align-items:center;gap:9px;color:var(--muted)}
.account-nav a .icon{width:16px;height:16px;flex:none}
.account-nav a:hover{background:var(--paper);color:var(--ink)}
.account-nav a.is-active,.account-nav a.active{background:var(--moss);color:var(--porcelain);font-weight:600}
.account-nav-logout{margin-top:6px;border-top:1px solid var(--line);padding-top:14px}
@media(max-width:900px){.account-layout{gap:28px}}

/* Product color swatches */
.product-swatches{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin-top:6px;padding:2px 0;width:100%;flex-wrap:wrap}
.product-swatches .swatch{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--swatch,#c9ab72);outline:1px solid #b6b7aa;outline-offset:2px;flex-shrink:0;box-sizing:border-box}
.product-swatches .swatch-more{font:600 11px var(--body);color:var(--muted);margin-left:2px}

/* Blog & article polish */
.journal-heading .section-note,.journal-heading p{max-width:640px}
.journal-grid{gap:32px 24px}
.journal-card{background:var(--porcelain);border:1px solid var(--line);border-radius:2px;overflow:hidden;display:flex;flex-direction:column;padding-bottom:20px}
.journal-card>.journal-image{margin-bottom:0}
.journal-image img{width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--sand);display:block}
.journal-card>div,.journal-card>span,.journal-card>h2,.journal-card>p{padding-inline:20px}
.journal-card>div{display:flex;flex-direction:column;flex:1}
.journal-card .small-note{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-top:16px}
.journal-card h2{font-family:var(--display);font-weight:400;line-height:1.25}
.journal-card h2 a{text-decoration:none;color:var(--ink)}
.journal-card h2 a:hover{color:var(--moss)}
.journal-card p{color:var(--muted);font-size:14px;line-height:1.6}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;align-items:start}
.article-layout>article{min-width:0}
.article-image{margin-bottom:28px;border-radius:2px;overflow:hidden;background:var(--sand)}
.article-image img{width:100%;height:auto;max-height:460px;object-fit:cover;display:block}
.article-main-body{font-size:1.04rem;line-height:1.8;color:var(--ink)}
.article-main-body h2{font-family:var(--display);font-size:1.7rem;margin:2rem 0 .9rem}
.article-main-body p{margin-bottom:1.6rem}
.article-main-body img{border-radius:2px}
.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.article-tags span{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:50px;padding:5px 12px;background:var(--porcelain)}
.aside-block+.aside-block{margin-top:26px;padding-top:26px;border-top:1px solid var(--line)}
.aside-related a{display:flex;flex-direction:column;gap:3px;padding:8px 0}
.aside-related a strong{font-family:var(--display);font-weight:400;font-size:15px;line-height:1.3}
.aside-related a small{font-size:11px;color:var(--muted)}
.article-comments__submit-btn{background:var(--btn-primary-bg,var(--moss,#27382b))!important;color:var(--btn-primary-text,var(--porcelain,#fcfbf8))!important;border:1px solid transparent!important;border-radius:var(--radius,8px)!important;padding:12px 24px!important;font-weight:600!important;cursor:pointer}
.article-comments__submit-btn:hover{background:var(--btn-primary-hover,var(--moss-deep,#1a261d))!important;color:var(--btn-primary-text,var(--porcelain,#fcfbf8))!important}
.article-comments__login-btn{background:var(--btn-primary-bg,var(--moss,#27382b))!important;color:var(--btn-primary-text,var(--porcelain,#fcfbf8))!important;border:1px solid transparent!important}
.article-comments__login-btn:hover{background:var(--btn-primary-hover,var(--moss-deep,#1a261d))!important;color:var(--btn-primary-text,var(--porcelain,#fcfbf8))!important}

/* Password gate: solid themed panel, readable text on any page background */
.template-password body,body.template-password{background:var(--paper)}
.password-shell{min-height:100dvh;display:grid;place-items:center;padding:56px 18px;background:var(--paper)}
.password-main-section{width:100%}
.password-card{width:min(520px,100%);margin:0 auto;background:var(--porcelain);color:var(--ink);border:1px solid var(--line);border-radius:2px;padding:clamp(28px,5vw,44px);text-align:center;box-shadow:0 30px 60px -40px rgba(24,21,19,.5)}
.password-card .section-note{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.password-card>img{margin:18px auto 10px;display:block}
.password-card h1{font-family:var(--display);font-weight:400;color:var(--ink);font-size:clamp(28px,4vw,40px);letter-spacing:-1px;margin:6px 0 14px}
.password-card .muted,.password-card .password-content,.password-card .password-content p,.password-card .secure-note{color:var(--muted);font-size:15px;line-height:1.6}
.password-card .password-content{margin:0 0 22px;text-align:left}
.password-form{margin-top:24px}
.password-form .search-dialog-row{display:flex;gap:8px}
.password-form input{flex:1;min-width:0;padding:14px;border:1px solid var(--line);border-radius:2px;background:var(--paper);color:var(--ink);font-size:15px}
.password-card .secure-note{margin-top:22px;font-size:12px}
.password-card .hero-countdown{margin:22px 0}

/* Hero image animation (global theme setting, per-section override) */
@keyframes lativaHeroFade{0%{opacity:.15}100%{opacity:1}}
@keyframes lativaHeroKenburns{0%{transform:scale(1.06);transform-origin:50% 40%}100%{transform:scale(1.16);transform-origin:60% 60%}}
@keyframes lativaHeroSlide{0%{opacity:0;transform:translateY(28px)}100%{opacity:1;transform:translateY(0)}}
.hero-visual img{will-change:opacity,transform}
[data-hero-anim="fade"] .hero-visual img{animation:lativaHeroFade 1.4s var(--ease) both}
[data-hero-anim="kenburns"] .hero-visual img{animation:lativaHeroKenburns 18s ease-in-out infinite alternate}
[data-hero-anim="slide"] .hero-visual img{animation:lativaHeroSlide 1s var(--ease) both}
[data-hero-anim="none"] .hero-visual img{animation:none}

/* Newsletter: reference light panel with readable ink copy (fixes --paper-on-light bug) */
.newsletter{background:var(--sand);border:1px solid var(--line);border-radius:2px;width:min(var(--maxw,1150px),calc(100% - 40px));margin:clamp(3rem,7vw,5rem) auto;overflow:hidden}
.newsletter h2,.newsletter h2 *{color:var(--ink)}
.newsletter p,.newsletter label,.newsletter .section-note{color:var(--muted)}
.newsletter-media{background:var(--sand);overflow:hidden}
.newsletter-media img{width:100%;height:100%;min-height:15rem;object-fit:cover;display:block}
.newsletter-copy{padding:clamp(1.85rem,4vw,3.25rem)}
.newsletter .field-row input{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:2px;padding:12px 14px}
.newsletter .field-row button,.newsletter [data-newsletter-submit]{background:var(--moss);color:var(--porcelain);border:1px solid var(--moss);border-radius:2px}
.newsletter .field-row button:hover,.newsletter [data-newsletter-submit]:hover{background:var(--moss-deep);color:var(--porcelain)}
.newsletter [data-newsletter-status]{color:var(--muted)}

/* Product grid — follows the reference card treatment */
.product-grid,.shelf-track{--card-r:2px}
.product-grid .product-card,.shelf-track .product-card{min-width:0}
.product-grid .product-media,.shelf-track .product-media{position:relative;overflow:hidden;aspect-ratio:var(--card-ratio,4/5);border-radius:var(--card-r);background:var(--sand)}
.product-grid .product-media>a,.shelf-track .product-media>a{display:block;width:100%;height:100%}
.product-grid .product-media>a>img,.shelf-track .product-media>a>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.product-grid .product-media>img,.shelf-track .product-media>img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.product-grid .product-card:hover .product-media>img,.shelf-track .product-card:hover .product-media>img{transform:scale(1.035)}
.product-grid .badge,.shelf-track .badge{position:absolute;top:.7rem;left:.7rem;z-index:2;padding:.3rem .55rem;border:1px solid var(--line);border-radius:var(--card-r);background:var(--porcelain);font-size:.68rem;font-weight:700;letter-spacing:.02em;line-height:1.2}
.badge-new{background:var(--moss);border-color:var(--moss);color:var(--porcelain)}
.badge-sale{background:var(--amber);border-color:var(--amber);color:#fff8ea}
.badge-best{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.product-grid .fav-toggle,.shelf-track .fav-toggle{position:absolute;top:.7rem;right:.7rem;z-index:2;display:grid;place-items:center;width:2.1rem;height:2.1rem;border:1px solid var(--line);border-radius:var(--card-r);background:color-mix(in srgb,var(--porcelain) 88%,transparent);color:var(--ink);transition:.25s var(--ease)}
.product-grid .fav-toggle:hover{border-color:var(--amber);color:var(--amber)}
.product-grid .fav-toggle.is-saved{color:var(--amber);border-color:var(--amber)}
.product-grid .fav-toggle.is-saved .icon,.shelf-track .fav-toggle.is-saved .icon{fill:currentColor}
.product-grid .product-actions,.shelf-track .product-actions{position:absolute;left:.65rem;right:.65rem;bottom:.65rem;z-index:2;display:flex;gap:.5rem;opacity:1;visibility:visible;transform:none}
.product-grid .product-actions button,.product-grid .product-actions a,.shelf-track .product-actions button,.shelf-track .product-actions a{flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:0;padding:.68rem .5rem;border-radius:var(--card-r);font-size:.78rem;font-weight:600;line-height:1;text-decoration:none;transition:.25s var(--ease)}
.quick-btn{background:var(--porcelain);border:1px solid var(--line);color:var(--ink)}
.quick-btn:hover{border-color:var(--ink)}
.add-btn{background:var(--ink);color:var(--paper)}
.add-btn:hover{background:var(--moss-deep);color:var(--paper)}
@media(hover:hover) and (pointer:fine){.product-grid .product-actions{opacity:0;transform:translateY(8px);visibility:hidden;transition:opacity .35s var(--ease),transform .35s var(--ease),visibility .35s}.product-grid .product-card:hover .product-actions,.product-grid .product-card:focus-within .product-actions{opacity:1;transform:none;visibility:visible}}

/* FAQ accordion */
.faq{padding-block:clamp(3rem,7vw,5.5rem)}
.faq-head{max-width:640px;margin-bottom:32px}
.faq-head h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,4vw,44px);letter-spacing:-1px}
.faq-head .head-note{color:var(--muted);font-size:15px;margin-top:10px}
.faq-list{max-width:820px;margin-inline:auto;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 4px;font-family:var(--display);font-size:19px;color:var(--ink)}
.faq-item>summary::-webkit-details-marker{display:none}
.faq-item>summary:hover .faq-q{color:var(--moss)}
.faq-caret{width:18px;height:18px;flex:none;color:var(--muted);transition:transform .25s var(--ease)}
.faq-item[open]>summary .faq-caret{transform:rotate(180deg)}
.faq-a{padding:0 4px 22px;color:var(--muted);font-size:15px;line-height:1.7;max-width:70ch}

/* Contact form polish */
.contact-form-wrap{background:var(--porcelain);border:1px solid var(--line);border-radius:2px;padding:clamp(22px,3vw,34px)}
.contact-form-title{font-family:var(--display);font-weight:400;font-size:24px;letter-spacing:-.5px;margin-bottom:20px}
.contact-form .field label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-weight:600}
.contact-form .field input,.contact-form .field textarea{background:var(--paper);border:1px solid var(--line);border-radius:2px;padding:12px 14px;font-size:15px;color:var(--ink);transition:border-color .2s}
.contact-form .field input:focus,.contact-form .field textarea:focus{border-color:var(--moss);outline:none}
.contact-form .field textarea{min-height:140px;resize:vertical}
.contact-form-wrap .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form-wrap .field:not(.contact-half){grid-column:1/-1}
.contact-submit{grid-column:1/-1;justify-self:start}
@media(max-width:600px){.contact-form-wrap .form-grid{grid-template-columns:1fr}}

/* Password gate mobile fit */
.password-shell,.password-main-section,.password-card,.password-card *,.password-form,.password-form .search-dialog-row{box-sizing:border-box}
@media(max-width:600px){.password-shell{padding:32px 14px}.password-card{padding:26px 20px}.password-form .search-dialog-row{flex-wrap:wrap}.password-form input{flex:1 1 100%}.password-card h1{letter-spacing:-.5px}.password-card .secure-note{overflow-wrap:anywhere}}

/* Production form, navigation and narrow-cart safeguards. */
.page-hero .page-breadcrumb,.journal-heading .page-breadcrumb,.article-heading .page-breadcrumb,.cart-heading .page-breadcrumb{width:100%;max-width:none;margin:0 0 12px;padding:0;text-align:var(--sf-align,left);justify-content:var(--sf-flex,flex-start)}
.product-hero .page-breadcrumb{margin-bottom:0}
.contact-form .captcha-container{grid-column:1/-1;max-width:100%;overflow-x:auto}
.main-nav .nav-submenu-items::before{content:"";position:absolute;inset:-8px 0 auto;height:8px}
.main-nav .nav-submenu-items .nav-submenu{display:block}
.main-nav .nav-submenu-items .nav-submenu-items{transform:none;left:auto}
.header-actions .account-button{display:inline-grid;flex:none}
@media(min-width:901px){.collection-page .catalog-facets{padding:20px;border:1px solid var(--line);background:var(--porcelain)}.collection-page .price-range-form{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.collection-page .catalog-facets input,.collection-page .catalog-facets select{width:100%;min-width:0}.collection-page .catalog-filter-form>.text-link{margin-top:-8px}.collection-page>.pagination{grid-row:auto}.collection-page .product-grid{min-width:0}}
@media(max-width:600px){.cart-page .cart-item{grid-template-columns:64px minmax(0,1fr);gap:14px}.cart-page .cart-item>img{width:64px;height:86px}.cart-page .ci-right{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.cart-page .cart-items{padding-inline:16px}.header-actions .account-button{display:inline-grid}}

.customer-hero .customer-dashboard-header{margin:0}.customer-hero .customer-dashboard-header p{max-width:70ch}.customer-hero .section-note{color:var(--banner-muted)}

/* Native editorial helpers and dense catalogue details. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.article-aside{min-width:0;border:1px solid var(--line)}
.article-aside .aside-block h2{font-size:21px;line-height:1.25;margin:0 0 14px}
.article-aside .aside-search-row{display:flex;align-items:center;gap:8px}
.article-aside .aside-search-row input{width:100%;min-width:0;flex:1;font:13px var(--body);background:var(--paper);color:var(--ink)}
.article-aside .aside-search-row button{display:grid;place-items:center;width:38px;height:40px;flex:none;background:var(--moss);color:var(--porcelain);border-radius:2px}
.article-aside .aside-search-row button .icon{width:18px;height:18px}
.article-aside .aside-chips{display:flex;flex-wrap:wrap;gap:8px}
.article-aside .aside-chips a{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--line);border-radius:20px;text-decoration:none;font:12px var(--body);line-height:1.4;background:var(--paper)}
.article-aside .aside-chips a:hover,.article-aside .aside-chips a.is-active{border-color:var(--moss);color:var(--moss)}
.article-aside .aside-related a{text-decoration:none;padding:12px 0;border-bottom:1px solid var(--line)}
.article-aside .aside-related a:last-child{border-bottom:0;padding-bottom:0}
.article-aside .aside-related a strong{font-size:17px}
.article-aside .aside-related a:hover strong{color:var(--moss);text-decoration:underline;text-underline-offset:3px}
.article-aside .aside-block>p{line-height:1.6;margin-bottom:14px}
.collection-page #collection-grid{margin-top:0}
.collection-page .catalog-sort .button{background:var(--moss);color:var(--porcelain);border:1px solid var(--moss)}
.product-card[data-product-id] .product-info .product-price{display:grid;justify-items:end;gap:3px;margin:0;font:600 13px var(--body);white-space:normal;text-align:right}
.product-card[data-product-id] .product-info .product-price s{font:400 12px var(--body);margin:0}
.product-card[data-product-id] .product-info .product-size{font:400 11px var(--body);max-width:12ch;overflow-wrap:anywhere}
.product-grid .badge-sale,.shelf-track .badge-sale{background:var(--amber);border-color:var(--amber);color:var(--porcelain)}
.product-grid .badge-new,.shelf-track .badge-new{background:var(--moss);border-color:var(--moss);color:var(--porcelain)}
.product-grid .badge-best,.shelf-track .badge-best{background:var(--ink);border-color:var(--ink);color:var(--porcelain)}
.pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block:24px;font:13px var(--body)}
.pagination a,.pagination>span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid var(--line);background:var(--porcelain);text-decoration:none}
.pagination a:hover{border-color:var(--moss);color:var(--moss)}
.cart-page .text-link{display:inline-flex;align-items:center;gap:8px}
@media(max-width:600px){.product-card[data-product-id] .product-info .product-price{justify-items:start;text-align:left}}

/* Reference homepage native product and quick-view treatment. */
.header-actions .fav-button,.header-actions .bag-button{position:relative;display:inline-grid;place-items:center}
.header-actions .wishlist-count-badge,.header-actions .cart-count-badge{position:absolute;top:0;right:-2px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border-radius:50%;background:var(--moss);color:var(--porcelain);font:700 9px var(--body);line-height:1}
.header-actions .cart-count-badge[hidden]{display:none!important}
.product-card .product-title-link{font-family:var(--display);font-size:1.14rem;font-weight:400;letter-spacing:-.012em;line-height:1.3;color:var(--ink);text-decoration:none}
.product-card .product-title-link:hover{color:var(--moss)}
.product-grid .fav-toggle,.shelf-track .fav-toggle{border:1px solid var(--line);border-radius:var(--radius-sm,2px);background:color-mix(in srgb,var(--porcelain) 88%,transparent);color:var(--ink);width:2.1rem;height:2.1rem}
.product-grid .fav-toggle:hover,.product-grid .fav-toggle.is-saved,.shelf-track .fav-toggle.is-saved{color:var(--amber);border-color:var(--amber)}
.quick-dialog .quick-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:0;padding:0}
.quick-dialog [data-quick-img]{width:100%;height:100%;min-height:18rem;max-height:none;object-fit:cover;background:var(--sand)}
.quick-dialog .quick-body{padding:clamp(1.5rem,3.5vw,2.5rem);min-width:0}
.quick-dialog .quick-body h2{margin-top:.4rem;font-family:var(--display);font-size:clamp(1.6rem,3vw,2.1rem);font-weight:400;line-height:1.15}
.quick-dialog .quick-buy{margin-top:1.6rem}
.quick-dialog .quick-buy .product-price{margin:0;font-family:var(--display);font-size:1.6rem;font-weight:400}
.quick-buy-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.quick-dialog .desc{line-height:1.7}
.quick-dialog .size-row{margin-top:.55rem}
.quick-dialog .quick-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:1.1rem 0}
.quick-dialog .quick-option-group{display:flex;flex-direction:column;gap:5px;min-width:0}
.quick-dialog .quick-option-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.quick-dialog .quick-select-wrap{position:relative;display:flex;align-items:center}
.quick-dialog .quick-select-wrap::after{content:"";position:absolute;right:14px;pointer-events:none;width:7px;height:7px;border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:rotate(45deg) translateY(-2px);opacity:.7}
.quick-dialog .quick-option-select{width:100%;min-height:42px;padding:8px 30px 8px 12px;font-family:var(--body);font-size:13px;font-weight:500;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:4px;appearance:none;-webkit-appearance:none;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}
.quick-dialog .quick-option-select:focus{outline:none;border-color:var(--moss);box-shadow:0 0 0 2px color-mix(in srgb,var(--moss) 18%,transparent)}
@media(max-width:600px){.brand{max-width:min(100%,var(--header-logo-width,130px),calc(100vw - 210px))!important}.header-actions .icon-button{min-width:36px;width:36px;height:40px}.quick-dialog .quick-layout{grid-template-columns:minmax(0,1fr)}.quick-dialog [data-quick-img]{aspect-ratio:16/10;height:auto;min-height:0;max-height:260px}.quick-dialog .quick-buy{align-items:flex-start;gap:16px;flex-wrap:wrap}.quick-dialog .quick-options{grid-template-columns:1fr;gap:10px}}

/* Article and Product sharing */
.article-share, .product-share{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.article-share h2, .product-share-title{margin:0 0 12px;font:600 12px var(--body);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.article-share-actions, .product-share-actions{display:flex;flex-wrap:wrap;gap:8px}
.article-share-actions a,.article-share-actions button,
.product-share-actions a,.product-share-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 12px;border:1px solid var(--line);border-radius:3px;background:var(--porcelain);color:var(--ink);font:500 12px var(--body);text-decoration:none;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.article-share-actions a:hover,.article-share-actions button:hover,
.product-share-actions a:hover,.product-share-actions button:hover{border-color:var(--moss);background:var(--sand);color:var(--moss)}
.article-share-actions .icon, .product-share-actions .icon{width:15px;height:15px}
.article-share-status, .product-share-status{margin-top:8px;font-size:12px;color:var(--moss)}
.article-share-status:empty, .product-share-status:empty{display:none}

/* Compact catalogue ledger and a wider, interactive filter rail. */
.collection-page>.catalog-filter-form{display:block;padding:20px;border:1px solid var(--line);border-radius:4px;background:var(--porcelain);margin:0}
.catalog-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px}
.catalog-filter-heading h2{display:flex;align-items:center;gap:8px;font:700 14px var(--body);letter-spacing:0}
.catalog-filter-heading a{font:500 11px var(--body);color:var(--muted);text-underline-offset:3px}
[data-filter-count]{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:50%;background:var(--moss);color:var(--porcelain);font-size:10px}
.catalog-facet{border-top:1px solid var(--line)}
.catalog-facet>summary{display:flex;align-items:center;gap:8px;padding:16px 0;list-style:none;cursor:pointer;font:600 12px var(--body)}
.catalog-facet>summary::-webkit-details-marker{display:none}
.catalog-facet>summary>.icon{width:14px;height:14px;margin-left:auto;transition:transform .2s var(--ease)}
.catalog-facet[open]>summary>.icon{transform:rotate(180deg)}
.catalog-facet .facet-selection{min-width:0;margin-left:auto;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500;color:var(--muted)}
.catalog-facet .facet-selection:empty{display:none}
.catalog-facet .facet-selection:not(:empty)+.icon{margin-left:0}
.collection-page .price-range-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 0 18px}
.price-range-form>label{display:grid;gap:7px;min-width:0;font-size:10px;color:var(--muted)}
.catalog-price-input{display:flex;align-items:center;gap:5px;padding:0 9px;border:1px solid var(--line);border-radius:3px;background:var(--paper)}
.catalog-price-input:focus-within{outline:2px solid var(--moss);outline-offset:2px}
.catalog-price-input>span{flex:none;font-size:10px}
.collection-page .catalog-price-input>input{width:100%;min-width:0;height:38px;padding:0;border:0;background:transparent;font-size:12px;appearance:textfield;outline:0}
.catalog-price-input>input::-webkit-inner-spin-button{appearance:none}
.catalog-facet-values{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:18px}
.facet-choice{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 9px;border:1px solid var(--line);border-radius:3px;font-size:11px;line-height:1.4;cursor:pointer;background:var(--paper)}
.facet-choice:hover{border-color:var(--moss)}
.facet-choice:has(input:checked){border-color:var(--moss);background:var(--moss);color:var(--porcelain)}
.facet-choice input{flex:none;width:12px;height:12px;margin:0;accent-color:var(--moss)}
.facet-choice span{overflow-wrap:anywhere}
.collection-page .catalog-apply{width:100%;min-height:42px;margin-top:6px;font-size:12px}
.collection-page>.catalog-sort{display:flex;align-items:end;justify-content:flex-end;gap:12px;max-width:none;margin:0;width:auto}
.collection-page>.catalog-sort label{display:grid;gap:7px;font-size:11px;color:var(--muted)}
.collection-page>.catalog-sort select{min-width:0;max-width:100%;height:40px;padding:8px 30px 8px 12px;border:1px solid var(--line);border-radius:3px;background:var(--porcelain);color:var(--ink);font-size:12px}
.collection-page .filter-tabs{display:flex;flex-wrap:wrap;gap:7px}
.collection-page .filter-tabs a{padding:7px 12px;font-size:11px;text-decoration:none}
.collection-page .filter-tabs a[aria-current]{background:var(--moss);border-color:var(--moss);color:var(--porcelain)}
.collection-page>.collection-controls>p{flex:none;font-size:12px;color:var(--muted)}
.collection-page .product-info{display:flex;flex-direction:column;gap:6px;margin-top:0;padding:14px 16px 18px!important}
.collection-page .product-info h3{min-height:2.55em;line-height:1.28}
.collection-page .product-title-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:17px;line-height:1.28}
.collection-page .product-info .product-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:13px;white-space:normal}
.collection-page .price-current{white-space:nowrap}
.collection-page .product-price s,.collection-page .product-size{margin-left:0;font-size:11px}
.collection-page .product-actions{gap:5px;left:8px;right:8px;bottom:8px}
.collection-page .product-actions .quick-btn,.collection-page .product-actions .add-btn{min-height:36px;padding:8px 6px;font-size:10px}
.product-swatches{grid-column:1/-1;gap:6px;margin-top:6px;padding:2px 0}
.product-swatches .swatch{display:inline-block;flex:none;width:10px;height:10px;border-radius:50%;background:var(--swatch,#c9ab72);outline:1px solid #b6b7aa;outline-offset:2px;border:0;box-shadow:none}
@media(min-width:901px){
  .collection-page{grid-template-columns:300px minmax(0,1fr);grid-template-areas:"tabs tabs" "filters sort" "filters products" "filters pages";gap:20px 28px}
  .collection-page>.collection-controls{grid-area:tabs}
  .collection-page>.catalog-filter-form{grid-area:filters;position:sticky;top:96px;max-height:calc(100dvh - 120px);overflow-y:auto}
  .collection-page>.catalog-sort{grid-area:sort}
  .collection-page>#collection-grid,.collection-page>#collection-empty{grid-area:products}
  .collection-page>.pagination{grid-area:pages}
}
@media(min-width:901px) and (max-width:1100px){.collection-page{grid-template-columns:280px minmax(0,1fr);column-gap:24px}.collection-page>#collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.collection-page>.catalog-sort{margin:20px 0}.collection-page .catalog-filter-form{margin-bottom:0}.collection-page .catalog-facet-values{gap:8px}}
@media(max-width:600px){.collection-page>.catalog-filter-form{padding:16px}.collection-page>.catalog-sort{justify-content:space-between}.collection-page>.catalog-sort label:first-child{flex:1}.collection-page>.catalog-sort select{width:100%}}
@media(min-width:601px) and (max-width:900px){.product-grid,.related-grid,.collection-page #collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(hover:none),(pointer:coarse){.product-actions{opacity:1;visibility:visible;transform:none}}

/* Let contained homepage rows use the reference layout without double gutters. */
.site-header{width:min(1150px,calc(100% - 80px));padding-inline:0}
.template-index .products-section.container,.template-index .ritual.container,.template-index .concerns-section.container,.template-index .spotlight.container,.template-index .reviews.container{padding-inline:0}
.template-index .section.container{padding-block:clamp(4rem,9vw,7rem)!important}
.template-index .trust-strip.container,.template-index .press.container{width:100%!important;max-width:none!important;padding-inline:max(40px,calc((100% - var(--maxw,1150px))/2))}
.footer>.container{width:100%!important}
.template-index .button{border-radius:var(--radius)}
.template-index .product-grid{--card-r:var(--radius)}
.template-index .product-info .product-price{white-space:normal;text-align:right}
.template-index .science .stat-list>div{display:grid;grid-template-columns:auto minmax(0,1fr)}
@media(max-width:1080px){.template-index .science{grid-template-columns:minmax(0,1fr)}.template-index .science-media{max-width:34rem}}
@media(max-width:900px){.template-index .trust-strip.container,.template-index .press.container{padding-inline:24px}}
@media(max-width:600px){.template-index .trust-strip.container,.template-index .press.container{padding-inline:18px}}

/* Compact tablet header: logo left, actions and menu pinned right. */
@media (max-width:1080px){
  .site-header{grid-template-columns:minmax(0,1fr) auto;gap:24px;padding-inline:0}
  .site-header>.main-nav{display:none}
  .site-header>.brand{min-width:0;max-width:var(--header-logo-width,130px)!important}
  .site-header>.brand img{max-width:100%!important;max-height:48px;object-fit:contain}
  .site-header>.header-actions{justify-self:end;flex-wrap:nowrap;gap:6px}
  .site-header .menu-button{display:inline-grid;place-items:center;order:10;flex-shrink:0}
}
@media (min-width:901px) and (max-width:1080px){
  .site-header{width:calc(100% - 48px)!important}
}
@media (max-width:600px){
  .site-header{gap:12px}
  .site-header>.header-actions{gap:2px}
}
#menu-dialog{inset:0 0 0 auto;margin:0;overflow-x:hidden;overflow-y:auto}

/* Keep the drawer compact while its items scroll above the action footer. */
#cart-dialog>.dialog-head{display:flex;align-items:center;justify-content:space-between;flex:none;padding:12px 18px;border-bottom:1px solid var(--line)}
#cart-dialog>.dialog-head h2{margin:0;font-size:17px;font-family:var(--display);font-weight:600;display:flex;align-items:center;gap:6px;line-height:1.25}
#cart-dialog .cart-title-view-link{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:12.5px!important;font-weight:500!important;color:var(--amber,#9c6c39)!important;text-decoration:none!important;padding:3px 8px!important;border-radius:3px!important;background:rgba(156,108,57,.08)!important;transition:all .2s ease!important;line-height:1.25!important;margin-left:auto!important}
#cart-dialog .cart-title-view-link .icon{width:11px!important;height:11px!important;transition:transform .2s ease!important}
#cart-dialog .cart-title-view-link:hover{color:var(--ink,#111)!important;background:rgba(156,108,57,.16)!important}
#cart-dialog .cart-title-view-link:hover .icon{transform:translateX(2px)!important}
#cart-dialog>.dialog-head button{border:0;background:transparent;padding:0;width:28px;height:28px;cursor:pointer;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;transition:opacity .15s}
#cart-dialog>.dialog-head button:hover{opacity:.7}
#cart-dialog>.dialog-head button .icon{width:15px;height:15px}
#cart-dialog #cart-content{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;padding-bottom:0}
#cart-dialog .cart-items{flex:1;min-height:0;overflow-y:auto;padding:0 18px;scrollbar-width:thin}
#cart-dialog .cart-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:flex-start}
#cart-dialog .cart-item>img{width:56px;height:70px;object-fit:cover;background:var(--sand,#f4ede4);border-radius:3px;flex-shrink:0}
#cart-dialog .cart-item h3{font-size:14px;font-weight:500;line-height:1.35;margin:0 0 3px}
#cart-dialog .ci-meta{font-size:12px;color:var(--muted);margin:0 0 5px;line-height:1.3}
#cart-dialog .qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:3px;overflow:hidden;height:26px}
#cart-dialog .qty button{width:24px;height:24px;border:0;background:var(--paper);font-size:14px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink);padding:0}
#cart-dialog .qty>span{padding:0 6px;font-size:13px;font-weight:600;min-width:22px;text-align:center}
#cart-dialog .ci-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;text-align:right;min-height:68px}
#cart-dialog .ci-right strong{font-size:14px;font-weight:700;color:var(--ink)}
#cart-dialog .ci-remove{border:0;background:transparent;color:var(--muted);font-size:11.5px;cursor:pointer;padding:0;text-decoration:underline;margin:0;transition:color .15s}
#cart-dialog .ci-remove:hover{color:var(--danger,#c53030)}
#cart-dialog .cart-foot{flex:none;position:static;margin-top:0;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);display:grid;gap:8px}
#cart-dialog .cart-progress{background:var(--sand,#f4ede4);border-radius:3px;padding:8px 10px;font-size:12.5px;margin-bottom:0;line-height:1.35}
#cart-dialog .cart-progress progress{margin-top:6px;height:4px;width:100%}
#cart-dialog .cart-total{display:flex;justify-content:space-between;align-items:center;margin-top:0;padding-block:2px;font-size:14px}
#cart-dialog .cart-total strong{font-size:16px;font-weight:700}
#cart-dialog .button-amber{min-height:42px;padding:10px 16px;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:0;border-radius:3px}
#cart-dialog .button-amber .icon{width:14px;height:14px}
#cart-dialog .cart-view-btn,#cart-dialog .cart-foot .cart-view-btn{display:none!important}
@media(max-width:600px){#cart-dialog>.dialog-head{padding:10px 14px}#cart-dialog .cart-items{padding:0 14px}#cart-dialog .cart-foot{padding:10px 14px max(10px,env(safe-area-inset-bottom))}}

/* Product Grid: Hide Add to Cart and Pilih Opsi buttons */
.product-card .add-btn,
.product-card [data-quick-add],
.product-card a.add-btn,
.product-card button.add-btn,
.product-actions .add-btn,
.shelf-track .product-actions .add-btn,
.collection-page .product-actions .add-btn {
  display: none !important;
}
.product-actions {
  grid-template-columns: 1fr !important;
  display: flex !important;
}
.product-actions .quick-btn {
  width: 100% !important;
  flex: 1 1 auto !important;
}

/* Give tablet assurances two equal columns and consistent row dividers. */
@media (min-width:561px) and (max-width:1080px){
  .trust-strip.container{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0 24px}
  .trust-strip.container>article{min-width:0;align-items:flex-start;gap:14px;padding:24px 20px;border-left:0}
  .trust-strip.container>article:nth-child(even){border-left:1px solid var(--line-soft)}
  .trust-strip.container>article:nth-child(n+3){border-top:1px solid var(--line-soft)}
  .trust-strip.container>article>div{min-width:0}
  .trust-strip.container .icon{flex:0 0 24px;width:24px;height:24px;margin-top:2px}
  .trust-strip.container h3{margin:0 0 6px;line-height:1.4;overflow-wrap:anywhere}
  .trust-strip.container span{line-height:1.6;overflow-wrap:anywhere}
}

/* Subtle image loader overlay; native lazy loading remains the default. */
@property --lativa-image-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes lativa-image-spin{to{--lativa-image-angle:360deg}}
@keyframes lativa-image-soft-pulse{from{opacity:.58}to{opacity:.92}}
.lativa-image-spinner{position:fixed;z-index:9999;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;pointer-events:none;background:conic-gradient(from var(--lativa-image-angle),transparent 0deg 270deg,color-mix(in srgb,var(--moss) 78%,var(--amber)) 320deg 360deg);animation:lativa-image-spin 1.35s linear infinite,lativa-image-soft-pulse 1.4s ease-in-out infinite alternate}
.lativa-image-spinner::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--porcelain,#fff)}
@media(prefers-reduced-motion:reduce){.lativa-image-spinner{animation:lativa-image-soft-pulse 2s ease-in-out infinite alternate}}

/* Semua-produk container and product-card adjustments */
.collection-page.container,
.collection-page {
  width: min(1150px, calc(100% - 80px)) !important;
  max-width: 1150px !important;
  padding-inline: 0 !important;
}
.collection-page .product-card {
  overflow: hidden;
  border-radius: var(--radius);
}

/* Blog page content toolbar, category tabs, and right-aligned search */
.blog-content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.blog-category-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}
.blog-category-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 12.5px var(--body);
  color: var(--muted);
  background: var(--porcelain);
  text-decoration: none;
  transition: all .2s ease;
}
.blog-category-link:hover,
.blog-category-link.is-active {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--porcelain);
}
.blog-search-box {
  margin: 0 0 0 auto;
  max-width: 340px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.blog-search-box form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.blog-search-box input {
  height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.blog-search-box button {
  height: 40px;
  padding: 8px 16px;
  background: var(--moss);
  color: var(--porcelain);
  border: 1px solid var(--moss);
  border-radius: 3px;
  font: 600 12px var(--body);
  cursor: pointer;
  white-space: nowrap;
}
.blog-main-content.container {
  width: min(1150px, calc(100% - 80px)) !important;
  max-width: 1150px !important;
  margin-inline: auto;
  padding-inline: 0 !important;
}

/* Customer dashboard pages: full width, clean compact layout, left-aligned nav */
.account-layout {
  width: 100% !important;
  max-width: 1150px !important;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  padding-block: 32px 64px;
  align-items: start;
  box-sizing: border-box;
}
.account-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  display: grid;
  gap: 24px;
}
.account-nav {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.account-nav a,
.account-nav-links a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 10px !important;
  padding: 12px 16px !important;
  font: 600 12.5px var(--body) !important;
  color: var(--muted) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--line) !important;
  transition: background .2s, color .2s;
}
.account-nav a:last-child,
.account-nav-links a:last-child {
  border-bottom: 0 !important;
}
.account-nav a:hover,
.account-nav-links a:hover {
  background: var(--sand) !important;
  color: var(--ink) !important;
}
.account-nav a.is-active,
.account-nav a.active,
.account-nav-links a.is-active {
  background: var(--moss) !important;
  color: var(--porcelain) !important;
}
.account-nav a.is-active .icon,
.account-nav a.active .icon,
.account-nav-links a.is-active .icon {
  stroke: var(--porcelain) !important;
}
.account-nav .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.account-nav-count {
  margin-left: auto !important;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
}
.account-nav a.is-active .account-nav-count {
  background: var(--paper);
  color: var(--moss);
}
.account-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.account-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--porcelain);
  display: grid;
  place-items: center;
  font: 700 13px var(--body);
  flex-shrink: 0;
}
.account-user-badge strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.3;
}
.account-user-badge span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}
.account-user-badge .user-tier {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--sand);
  color: var(--ink);
  font: 600 9.5px var(--body);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--porcelain);
  display: grid;
  gap: 6px;
}
.stat-card span {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stat-card strong {
  font: 600 22px var(--display);
  color: var(--ink);
}
.stat-card .stat-place {
  font-size: 13.5px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stat-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 600 11.5px var(--body);
  color: var(--moss);
  text-decoration: none;
  margin-top: 4px;
}
.stat-card .text-link:hover {
  text-decoration: underline;
}
.portal-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--porcelain);
  padding: 24px;
}
.portal-card .card-head,
.portal-card .account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.portal-card h2,
.portal-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}
.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.status-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font: 600 10.5px var(--body);
  text-transform: uppercase;
  background: var(--sand);
  color: var(--ink);
}
.status-chip.is-fulfilled, .status-chip.is-paid, .status-chip.is-completed {
  background: #e8f5e9;
  color: #2e7d32;
}
.status-chip.is-pending {
  background: #fff8e1;
  color: #f57f17;
}
.status-chip.is-cancelled {
  background: #ffebee;
  color: #c62828;
}
@media(max-width: 900px) {
  .account-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
  }
}

/* Cart drawer: remove underline and text-transform on product titles */
#cart-dialog .cart-item h3,
#cart-dialog .cart-item h3 a,
.cart-dialog .cart-item h3,
.cart-dialog .cart-item h3 a,
.cart-items .cart-item h3,
.cart-items .cart-item h3 a {
  text-decoration: none !important;
  text-transform: none !important;
  color: var(--ink);
  font-weight: 500;
}
#cart-dialog .cart-item h3 a:hover,
.cart-dialog .cart-item h3 a:hover,
.cart-items .cart-item h3 a:hover {
  text-decoration: none !important;
  color: var(--moss);
}

/* Product page: collapsible description, extra descriptions, and shipping details */
.product-accordion {
  width: 100% !important;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}
.product-accordion .product-accordion-item {
  width: 100% !important;
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}
.product-accordion .product-accordion-item > summary {
  width: 100% !important;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 2px;
  font-family: var(--display, var(--body, 'Manrope', sans-serif));
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
  transition: color .15s ease;
}
.product-accordion .product-accordion-item > summary::-webkit-details-marker {
  display: none;
}
.product-accordion .product-accordion-item > summary:hover .faq-q {
  color: var(--moss);
}
.product-accordion .product-accordion-item .faq-caret {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted);
  transition: transform .25s var(--ease);
}
.product-accordion .product-accordion-item[open] > summary .faq-caret {
  transform: rotate(180deg);
}
.product-accordion .product-accordion-item .faq-a {
  padding: 0 2px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #383431;
  max-width: none;
}
.product-accordion .product-accordion-item .faq-a p {
  margin: 0 0 10px;
}
.product-accordion .product-accordion-item .faq-a p:last-child {
  margin-bottom: 0;
}
.product-accordion .product-accordion-item .faq-a ul,
.product-accordion .product-accordion-item .faq-a ol {
  margin: 6px 0 10px 18px;
  padding: 0;
}
.product-accordion .product-accordion-item .faq-a li {
  margin-bottom: 4px;
}

/* Product page: related products 4 columns per row */
.related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px 18px !important;
}
@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 14px !important;
  }
}
@media (max-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(var(--prow-m, 2), minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
  }
}

/* Cart drawer empty state: centered modern presentation */
#cart-dialog .cart-empty,
.cart-dialog .cart-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 56px 24px !important;
  min-height: 320px;
}
.cart-empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--porcelain, #f4f1ea);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--muted);
}
.cart-empty-icon-wrap .icon {
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
}
#cart-dialog .cart-empty h2,
.cart-dialog .cart-empty h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink);
}
#cart-dialog .cart-empty p,
.cart-dialog .cart-empty p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 280px;
  margin: 0 auto 22px;
}
.cart-empty-cta {
  border-radius: 9999px !important;
  padding: 12px 28px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(184, 91, 53, 0.18);
  transition: all .2s ease;
}
.cart-empty-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184, 91, 53, 0.28);
}

/* Cart drawer checkout button: pill rounded design, lock icon, and elevated feel */
.cart-foot .cart-checkout-btn,
.cart-foot [data-checkout] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: .02em !important;
  padding: 14px 24px !important;
  box-shadow: 0 4px 12px rgba(184, 91, 53, 0.22) !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}
.cart-foot .cart-checkout-btn:hover,
.cart-foot [data-checkout]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(184, 91, 53, 0.32) !important;
}
.cart-foot .cart-checkout-btn .icon,
.cart-foot [data-checkout] .icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}
.cart-foot .cart-view-btn {
  border-radius: 9999px !important;
  text-align: center !important;
  padding: 12px 20px !important;
  font-size: 13px !important;
  display: block !important;
}

/* Customer portal & account form alignment & spacing */
.portal-card .form-grid,
.account-content .form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 16px 20px !important;
}
.portal-card .form-grid .field,
.account-content .form-grid .field {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}
.portal-card .form-grid .field input[type="text"],
.portal-card .form-grid .field input[type="email"],
.portal-card .form-grid .field input[type="tel"],
.portal-card .form-grid .field input[type="password"],
.portal-card .form-grid .field select,
.account-content .form-grid .field input[type="text"],
.account-content .form-grid .field input[type="email"],
.account-content .form-grid .field input[type="tel"],
.account-content .form-grid .field input[type="password"],
.account-content .form-grid .field select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 46px;
  margin: 0;
}
.portal-card .form-grid .field input[readonly],
.account-content .form-grid .field input[readonly] {
  background: var(--sand, #ebe6dc);
  color: var(--muted, #6f6962);
  cursor: default;
}
.portal-card .form-grid .profile-address,
.portal-card .form-grid .form-actions,
.portal-card .form-grid .field:not(.field-half):has(textarea),
.portal-card .form-grid .field:has(input[type="file"]) {
  grid-column: 1 / -1 !important;
}
.portal-card .form-actions {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 8px !important;
  flex-wrap: wrap !important;
}
.portal-card .form-actions .button {
  border-radius: 4px !important;
  padding: 11px 22px !important;
  font-size: 13px !important;
}
@media (max-width: 600px) {
  .portal-card .form-grid,
  .account-content .form-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Single global payment asset row between footer navigation and legal details. */
.footer .footer-top{grid-template-columns:1.4fr repeat(3,minmax(0,1fr))}
.footer-payments{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-top:clamp(2rem,4vw,3rem);padding:0 0 12px;border-top:none}
.footer-payments>span{font:500 13px/1.6 var(--body)}
.footer-payments .payment-methods-grid{display:flex;align-items:center;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.footer-payments .payment-method-badge{display:block;width:38px;height:24px;object-fit:contain;background:#fff;border-radius:3px;padding:2px 3px}
@media(max-width:760px){.footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.footer .footer-brand-col{grid-column:1/-1}.footer-payments{align-items:flex-start;flex-direction:column}.footer-payments .payment-method-badge{width:32px;height:20px}}

/* ==========================================================================
   Lativa Dark Mode: Global, Blog, Blog Categories & Article Pages
   ========================================================================== */
:root[data-theme="dark"],
html[data-theme="dark"],
html.dark,
body[data-theme="dark"],
body.dark {
  color-scheme: dark;
  --paper: #121815;
  --porcelain: #19221d;
  --sand: #222f28;
  --ink: #f4f6f4;
  --muted: #a3b2a7;
  --line: rgba(255, 255, 255, 0.12);
  --header-bg: #121815;
  --banner-bg: #19221d;
  --banner-text: #f4f6f4;
  --banner-muted: #a3b2a7;
  --surface: #19221d;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f6f4;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not(.light) {
    color-scheme: dark;
    --paper: #121815;
    --porcelain: #19221d;
    --sand: #222f28;
    --ink: #f4f6f4;
    --muted: #a3b2a7;
    --line: rgba(255, 255, 255, 0.12);
    --header-bg: #121815;
    --banner-bg: #19221d;
    --banner-text: #f4f6f4;
    --banner-muted: #a3b2a7;
    --surface: #19221d;
    --border: rgba(255, 255, 255, 0.12);
    --text: #f4f6f4;
  }
}

/* Blog Heading & Banner */
html[data-theme="dark"] .journal-heading,
html[data-theme="dark"] .article-heading,
html.dark .journal-heading,
html.dark .article-heading,
[data-theme="dark"] .journal-heading,
[data-theme="dark"] .article-heading {
  background: #19221d !important;
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .journal-heading h1,
html[data-theme="dark"] .article-heading h1,
html.dark .journal-heading h1,
html.dark .article-heading h1,
[data-theme="dark"] .journal-heading h1,
[data-theme="dark"] .article-heading h1 {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .journal-heading p,
html[data-theme="dark"] .journal-heading .section-note,
html[data-theme="dark"] .article-heading p,
html[data-theme="dark"] .article-heading .section-note,
html.dark .journal-heading p,
html.dark .journal-heading .section-note,
html.dark .article-heading p,
html.dark .article-heading .section-note,
[data-theme="dark"] .journal-heading p,
[data-theme="dark"] .journal-heading .section-note,
[data-theme="dark"] .article-heading p,
[data-theme="dark"] .article-heading .section-note {
  color: #a3b2a7 !important;
}
html[data-theme="dark"] .journal-heading .page-breadcrumb,
html[data-theme="dark"] .article-heading .page-breadcrumb,
html.dark .journal-heading .page-breadcrumb,
html.dark .article-heading .page-breadcrumb,
[data-theme="dark"] .journal-heading .page-breadcrumb,
[data-theme="dark"] .article-heading .page-breadcrumb {
  color: #a3b2a7 !important;
}
html[data-theme="dark"] .journal-heading .page-breadcrumb a,
html[data-theme="dark"] .article-heading .page-breadcrumb a,
html.dark .journal-heading .page-breadcrumb a,
html.dark .article-heading .page-breadcrumb a,
[data-theme="dark"] .journal-heading .page-breadcrumb a,
[data-theme="dark"] .article-heading .page-breadcrumb a {
  color: #a3b2a7 !important;
}
html[data-theme="dark"] .journal-heading .page-breadcrumb span.current,
html[data-theme="dark"] .article-heading .page-breadcrumb span.current,
html.dark .journal-heading .page-breadcrumb span.current,
html.dark .article-heading .page-breadcrumb span.current,
[data-theme="dark"] .journal-heading .page-breadcrumb span.current,
[data-theme="dark"] .article-heading .page-breadcrumb span.current {
  color: #f4f6f4 !important;
}

/* Category Filter Tabs & Search Bar */
html[data-theme="dark"] .blog-category-bar .blog-category-link,
html.dark .blog-category-bar .blog-category-link,
[data-theme="dark"] .blog-category-bar .blog-category-link {
  background: #19221d !important;
  color: #c5d3c8 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] .blog-category-bar .blog-category-link:hover,
html.dark .blog-category-bar .blog-category-link:hover,
[data-theme="dark"] .blog-category-bar .blog-category-link:hover {
  color: #f4f6f4 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
html[data-theme="dark"] .blog-category-bar .blog-category-link.is-active,
html.dark .blog-category-bar .blog-category-link.is-active,
[data-theme="dark"] .blog-category-bar .blog-category-link.is-active {
  background: #27382b !important;
  color: #ffffff !important;
  border-color: #3d5644 !important;
}
html[data-theme="dark"] .blog-search-box input[type="search"],
html.dark .blog-search-box input[type="search"],
[data-theme="dark"] .blog-search-box input[type="search"] {
  background: #19221d !important;
  color: #f4f6f4 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
html[data-theme="dark"] .blog-search-box input[type="search"]::placeholder,
html.dark .blog-search-box input[type="search"]::placeholder,
[data-theme="dark"] .blog-search-box input[type="search"]::placeholder {
  color: #a3b2a7 !important;
}

/* Journal Cards (Blog & Category Lists) */
html[data-theme="dark"] .journal-card,
html.dark .journal-card,
[data-theme="dark"] .journal-card {
  background: #19221d !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #c5d3c8 !important;
}
html[data-theme="dark"] .journal-card .journal-image,
html.dark .journal-card .journal-image,
[data-theme="dark"] .journal-card .journal-image {
  background: #121815 !important;
}
html[data-theme="dark"] .journal-card .small-note,
html[data-theme="dark"] .journal-card .small-note time,
html.dark .journal-card .small-note,
html.dark .journal-card .small-note time,
[data-theme="dark"] .journal-card .small-note,
[data-theme="dark"] .journal-card .small-note time {
  color: #db7d48 !important;
}
html[data-theme="dark"] .journal-card h2,
html[data-theme="dark"] .journal-card h2 a,
html[data-theme="dark"] .journal-card h3,
html[data-theme="dark"] .journal-card h3 a,
html.dark .journal-card h2,
html.dark .journal-card h2 a,
html.dark .journal-card h3,
html.dark .journal-card h3 a,
[data-theme="dark"] .journal-card h2,
[data-theme="dark"] .journal-card h2 a,
[data-theme="dark"] .journal-card h3,
[data-theme="dark"] .journal-card h3 a {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .journal-card p,
html.dark .journal-card p,
[data-theme="dark"] .journal-card p {
  color: #c5d3c8 !important;
}
html[data-theme="dark"] .journal-card .text-link,
html.dark .journal-card .text-link,
[data-theme="dark"] .journal-card .text-link {
  color: #db7d48 !important;
}

/* Article Page Content & Details */
html[data-theme="dark"] .article-image,
html.dark .article-image,
[data-theme="dark"] .article-image {
  background: #121815 !important;
}
html[data-theme="dark"] .article-main-body,
html.dark .article-main-body,
[data-theme="dark"] .article-main-body {
  color: #c5d3c8 !important;
}
html[data-theme="dark"] .article-main-body h1,
html[data-theme="dark"] .article-main-body h2,
html[data-theme="dark"] .article-main-body h3,
html[data-theme="dark"] .article-main-body h4,
html[data-theme="dark"] .article-main-body h5,
html[data-theme="dark"] .article-main-body h6,
html.dark .article-main-body h1,
html.dark .article-main-body h2,
html.dark .article-main-body h3,
html.dark .article-main-body h4,
html.dark .article-main-body h5,
html.dark .article-main-body h6,
[data-theme="dark"] .article-main-body h1,
[data-theme="dark"] .article-main-body h2,
[data-theme="dark"] .article-main-body h3,
[data-theme="dark"] .article-main-body h4,
[data-theme="dark"] .article-main-body h5,
[data-theme="dark"] .article-main-body h6 {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .article-main-body p,
html[data-theme="dark"] .article-main-body li,
html[data-theme="dark"] .article-main-body span,
html.dark .article-main-body p,
html.dark .article-main-body li,
html.dark .article-main-body span,
[data-theme="dark"] .article-main-body p,
[data-theme="dark"] .article-main-body li,
[data-theme="dark"] .article-main-body span {
  color: #c5d3c8 !important;
}
html[data-theme="dark"] .article-main-body strong,
html[data-theme="dark"] .article-main-body b,
html.dark .article-main-body strong,
html.dark .article-main-body b,
[data-theme="dark"] .article-main-body strong,
[data-theme="dark"] .article-main-body b {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .article-main-body a,
html.dark .article-main-body a,
[data-theme="dark"] .article-main-body a {
  color: #db7d48 !important;
}
html[data-theme="dark"] .article-main-body blockquote,
html.dark .article-main-body blockquote,
[data-theme="dark"] .article-main-body blockquote {
  background: #19221d !important;
  color: #f4f6f4 !important;
  border-left: 3px solid #db7d48 !important;
}
html[data-theme="dark"] .article-tags span,
html.dark .article-tags span,
[data-theme="dark"] .article-tags span {
  background: #19221d !important;
  color: #c5d3c8 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Article Share Section */
html[data-theme="dark"] .article-share,
html.dark .article-share,
[data-theme="dark"] .article-share {
  background: #19221d !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px;
  padding: 20px;
}
html[data-theme="dark"] .article-share h2,
html.dark .article-share h2,
[data-theme="dark"] .article-share h2 {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .article-share-actions a,
html[data-theme="dark"] .article-share-actions button,
html.dark .article-share-actions a,
html.dark .article-share-actions button,
[data-theme="dark"] .article-share-actions a,
[data-theme="dark"] .article-share-actions button {
  background: #222f28 !important;
  color: #f4f6f4 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] .article-share-actions a:hover,
html[data-theme="dark"] .article-share-actions button:hover,
html.dark .article-share-actions a:hover,
html.dark .article-share-actions button:hover,
[data-theme="dark"] .article-share-actions a:hover,
[data-theme="dark"] .article-share-actions button:hover {
  background: #27382b !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Article Sidebar */
html[data-theme="dark"] .article-aside .aside-block h2,
html.dark .article-aside .aside-block h2,
[data-theme="dark"] .article-aside .aside-block h2 {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .article-aside .aside-search-row input,
html.dark .article-aside .aside-search-row input,
[data-theme="dark"] .article-aside .aside-search-row input {
  background: #19221d !important;
  color: #f4f6f4 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
html[data-theme="dark"] .article-aside .aside-search-row input::placeholder,
html.dark .article-aside .aside-search-row input::placeholder,
[data-theme="dark"] .article-aside .aside-search-row input::placeholder {
  color: #a3b2a7 !important;
}
html[data-theme="dark"] .article-aside .aside-search-row button,
html.dark .article-aside .aside-search-row button,
[data-theme="dark"] .article-aside .aside-search-row button {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .article-aside .aside-chips a,
html.dark .article-aside .aside-chips a,
[data-theme="dark"] .article-aside .aside-chips a {
  background: #19221d !important;
  color: #c5d3c8 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] .article-aside .aside-chips a.is-active,
html.dark .article-aside .aside-chips a.is-active,
[data-theme="dark"] .article-aside .aside-chips a.is-active {
  background: #27382b !important;
  color: #ffffff !important;
  border-color: #3d5644 !important;
}
html[data-theme="dark"] .article-aside .aside-related a strong,
html.dark .article-aside .aside-related a strong,
[data-theme="dark"] .article-aside .aside-related a strong {
  color: #f4f6f4 !important;
}
html[data-theme="dark"] .article-aside .aside-related a small,
html.dark .article-aside .aside-related a small,
[data-theme="dark"] .article-aside .aside-related a small {
  color: #a3b2a7 !important;
}
html[data-theme="dark"] .article-aside .aside-block p.muted,
html.dark .article-aside .aside-block p.muted,
[data-theme="dark"] .article-aside .aside-block p.muted {
  color: #a3b2a7 !important;
}

/* Prefers-color-scheme media query for Lativa */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]):not(.light) .journal-heading,
  html:not([data-theme="light"]):not(.light) .article-heading {
    background: #19221d !important;
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-heading h1,
  html:not([data-theme="light"]):not(.light) .article-heading h1 {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-heading p,
  html:not([data-theme="light"]):not(.light) .journal-heading .section-note,
  html:not([data-theme="light"]):not(.light) .article-heading p,
  html:not([data-theme="light"]):not(.light) .article-heading .section-note,
  html:not([data-theme="light"]):not(.light) .journal-heading .page-breadcrumb,
  html:not([data-theme="light"]):not(.light) .article-heading .page-breadcrumb,
  html:not([data-theme="light"]):not(.light) .journal-heading .page-breadcrumb a,
  html:not([data-theme="light"]):not(.light) .article-heading .page-breadcrumb a {
    color: #a3b2a7 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-heading .page-breadcrumb span.current,
  html:not([data-theme="light"]):not(.light) .article-heading .page-breadcrumb span.current {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .blog-category-bar .blog-category-link {
    background: #19221d !important;
    color: #c5d3c8 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }
  html:not([data-theme="light"]):not(.light) .blog-category-bar .blog-category-link.is-active {
    background: #27382b !important;
    color: #ffffff !important;
    border-color: #3d5644 !important;
  }
  html:not([data-theme="light"]):not(.light) .blog-search-box input[type="search"] {
    background: #19221d !important;
    color: #f4f6f4 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
  }
  html:not([data-theme="light"]):not(.light) .blog-search-box input[type="search"]::placeholder {
    color: #a3b2a7 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-card {
    background: #19221d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #c5d3c8 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-card .journal-image {
    background: #121815 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-card .small-note,
  html:not([data-theme="light"]):not(.light) .journal-card .small-note time {
    color: #db7d48 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-card h2,
  html:not([data-theme="light"]):not(.light) .journal-card h2 a,
  html:not([data-theme="light"]):not(.light) .journal-card h3,
  html:not([data-theme="light"]):not(.light) .journal-card h3 a {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-card p {
    color: #c5d3c8 !important;
  }
  html:not([data-theme="light"]):not(.light) .journal-card .text-link {
    color: #db7d48 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-image {
    background: #121815 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-main-body {
    color: #c5d3c8 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-main-body h1,
  html:not([data-theme="light"]):not(.light) .article-main-body h2,
  html:not([data-theme="light"]):not(.light) .article-main-body h3,
  html:not([data-theme="light"]):not(.light) .article-main-body h4 {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-main-body p,
  html:not([data-theme="light"]):not(.light) .article-main-body li,
  html:not([data-theme="light"]):not(.light) .article-main-body span {
    color: #c5d3c8 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-main-body strong,
  html:not([data-theme="light"]):not(.light) .article-main-body b {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-main-body a {
    color: #db7d48 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-main-body blockquote {
    background: #19221d !important;
    color: #f4f6f4 !important;
    border-left: 3px solid #db7d48 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-tags span {
    background: #19221d !important;
    color: #c5d3c8 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }
  html:not([data-theme="light"]):not(.light) .article-share {
    background: #19221d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  html:not([data-theme="light"]):not(.light) .article-share h2 {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-share-actions a,
  html:not([data-theme="light"]):not(.light) .article-share-actions button {
    background: #222f28 !important;
    color: #f4f6f4 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  html:not([data-theme="light"]):not(.light) .article-aside .aside-block h2 {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-aside .aside-search-row input {
    background: #19221d !important;
    color: #f4f6f4 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
  }
  html:not([data-theme="light"]):not(.light) .article-aside .aside-chips a {
    background: #19221d !important;
    color: #c5d3c8 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  html:not([data-theme="light"]):not(.light) .article-aside .aside-chips a.is-active {
    background: #27382b !important;
    color: #ffffff !important;
  }
  html:not([data-theme="light"]):not(.light) .article-aside .aside-related a strong {
    color: #f4f6f4 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-aside .aside-related a small {
    color: #a3b2a7 !important;
  }
  html:not([data-theme="light"]):not(.light) .article-aside .aside-block p.muted {
    color: #a3b2a7 !important;
  }
}



/* ---- Lativa Custom Content Page & Rich Text ---- */
.page-hero { padding: clamp(1.35rem, 2.6vw, 2.1rem) 0 clamp(1.25rem, 2.4vw, 1.85rem); background: var(--banner-bg, var(--sand, #ebe6dc)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--display, "Newsreader", serif); font-size: clamp(1.95rem, 3.6vw, 2.85rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; color: var(--banner-text, var(--ink, #181513)); margin: 0.25rem 0 0; }
.page-content-wrap { display: block; width: 100%; max-width: var(--maxw, 1150px); margin-inline: auto; padding: clamp(3.5rem, 6.5vw, 6rem) clamp(1.5rem, 4vw, 3rem) clamp(4.5rem, 8vw, 7rem); background: transparent; box-sizing: border-box; }
.page-content, .page-content.rte, .page-content.prose, .rte, .prose { max-width: 820px; margin-inline: auto; font-family: var(--body, "Manrope", sans-serif); font-size: 16.5px; line-height: 1.85; color: var(--ink, #181513); letter-spacing: -0.005em; word-break: break-word; }
.page-aside { display: none !important; }
.page-content > *:first-child, .rte > *:first-child, .prose > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.page-content > *:last-child, .rte > *:last-child, .prose > *:last-child { margin-bottom: 0 !important; }
.page-content h1, .rte h1, .prose h1 { font-family: var(--display, serif); font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.2; font-weight: 400; color: var(--ink, #181513); letter-spacing: -0.02em; margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.page-content h2, .rte h2, .prose h2 { font-family: var(--display, serif); font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.25; font-weight: 400; color: var(--ink, #181513); letter-spacing: -0.015em; margin-top: clamp(2rem, 3.8vw, 2.75rem); margin-bottom: 0.95rem; }
.page-content h3, .rte h3, .prose h3 { font-family: var(--display, serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.35; font-weight: 500; color: var(--ink, #181513); letter-spacing: -0.01em; margin-top: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; }
.page-content h4, .rte h4, .prose h4 { font-family: var(--body, sans-serif); font-size: 1.05rem; line-height: 1.45; font-weight: 700; color: var(--ink, #181513); margin-top: 1.5rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.page-content p, .rte p, .prose p { margin-top: 0; margin-bottom: 1.5rem; line-height: 1.85; }
.page-content ul, .page-content ol, .rte ul, .rte ol, .prose ul, .prose ol { margin-top: 0; margin-bottom: 1.75rem; padding-left: 1.75rem; }
.page-content li, .rte li, .prose li { margin-bottom: 0.65rem; line-height: 1.8; }
.page-content li:last-child, .rte li:last-child, .prose li:last-child { margin-bottom: 0; }
.page-content blockquote, .rte blockquote, .prose blockquote { margin: 2rem 0; padding: 1.25rem 1.75rem; border-left: 3px solid var(--amber, #c2673a); background: var(--paper, #f7f5ef); border-radius: 0 var(--radius, 6px) var(--radius, 6px) 0; font-family: var(--display, serif); font-style: italic; font-size: 1.12rem; line-height: 1.65; color: var(--moss, #27382b); }
.page-content blockquote p:last-child, .rte blockquote p:last-child, .prose blockquote p:last-child { margin-bottom: 0; }
.page-content img, .rte img, .prose img { max-width: 100%; height: auto; border-radius: var(--radius, 6px); margin-block: 1.75rem; display: block; }
.page-content hr, .rte hr, .prose hr { border: 0; height: 1px; background: var(--line, rgba(24, 21, 19, .13)); margin: 2.5rem 0; }
.page-content a, .rte a, .prose a { color: var(--amber, #c2673a); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.page-content a:hover, .rte a:hover, .prose a:hover { color: var(--moss, #27382b); }
.page-content table, .rte table, .prose table { width: 100%; border-collapse: collapse; margin-block: 2rem; font-size: 0.95rem; }
.page-content th, .page-content td, .rte th, .rte td, .prose th, .prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line, rgba(24, 21, 19, .13)); text-align: left; }
.page-content th, .rte th, .prose th { font-family: var(--display, serif); font-weight: 600; color: var(--ink, #181513); border-bottom: 2px solid var(--line, rgba(24, 21, 19, .25)); }
.page-aside .aside-block { background: var(--paper, #f7f5ef); border: 1px solid var(--line, rgba(24, 21, 19, .13)); border-radius: var(--radius, 6px); padding: 24px; position: sticky; top: 110px; }
.page-aside .aside-block h2 { font-family: var(--display, serif); font-size: 1.35rem; line-height: 1.25; margin-bottom: 0.75rem; color: var(--ink, #181513); }
@media (max-width: 900px) { .page-content-wrap { grid-template-columns: 1fr; gap: 32px; } }



.page-hero { text-align: var(--sf-align, left); }
.page-hero .container { display: flex; flex-direction: column; align-items: var(--sf-flex, flex-start); text-align: var(--sf-align, left); gap: 0.45rem; }
.page-hero .page-breadcrumb, .page-hero .breadcrumb, .page-hero .breadcrumbs { display: flex; flex-wrap: wrap; justify-content: var(--sf-flex, flex-start); align-items: center; text-align: var(--sf-align, left); margin: 0 0 0.35rem; margin-inline: 0; }
.page-hero h1 { text-align: var(--sf-align, left); margin-inline: 0; }
.page-hero .section-note, .page-hero p { text-align: var(--sf-align, left); margin-inline: 0; max-width: 68ch; }
.page-hero .search-dialog-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: var(--sf-flex, flex-start); width: 100%; max-width: 560px; margin-top: 0.45rem; }
.page-hero.customer-hero, .page-hero[data-sf-page-hero="customer"], .page-hero[data-sf-page-hero="information"], [data-sf-page-hero="customer"] .page-hero, [data-sf-page-hero="information"] .page-hero { --sf-align: center; --sf-flex: center; }


/* ---------- Lativa Before & After Section ---------- */
.lativa-before-after {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}
.lativa-ba__folio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lativa-ba__batch-tag {
  background: var(--sand);
  color: var(--ink);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.7rem;
}
.lativa-ba__eyebrow {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.lativa-ba__header h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}
.lativa-ba__lead {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* Tabs */
.lativa-ba__tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
  overflow-x: auto;
}
.lativa-ba__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--porcelain);
  color: var(--muted);
  border-radius: var(--radius-sm);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.lativa-ba__tab:hover {
  background: var(--sand);
  color: var(--ink);
}
.lativa-ba__tab.is-active {
  background: var(--moss);
  color: var(--porcelain);
  border-color: var(--moss);
}
.lativa-ba__tab-num {
  font-family: var(--display);
  font-style: italic;
  opacity: 0.8;
}

/* Cases */
.lativa-ba__case {
  display: block;
}
.lativa-ba__case + .lativa-ba__case {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line);
}
.lativa-ba__case-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.lativa-ba__case-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--amber);
}
.lativa-ba__case-tag {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Grid */
.lativa-ba__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* Slider */
.lativa-ba__slider-wrap {
  position: relative;
  border: 1px solid var(--line);
  background: var(--porcelain);
  padding: 0.75rem;
  border-radius: var(--radius);
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #ebe6dc;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ba-slider__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-slider__layer--after {
  z-index: 1;
}
.ba-slider__layer--before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.ba-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lativa-ba__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lativa-ba__fallback-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-slider__badge {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  border: 1px solid rgba(24, 21, 19, 0.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ba-slider__badge--before {
  left: 1rem;
  background: rgba(247, 245, 239, 0.95);
  color: var(--amber);
}
.ba-slider__badge--after {
  right: 1rem;
  background: rgba(39, 56, 43, 0.92);
  color: var(--porcelain);
}
.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--moss);
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--porcelain);
  border: 2px solid var(--porcelain);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(24, 21, 19, 0.25);
}
.ba-slider__handle .icon {
  width: 18px;
  height: 18px;
}
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  -webkit-appearance: none;
  appearance: none;
}
.ba-slider__range:focus-visible ~ .ba-slider__divider .ba-slider__handle {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.lativa-ba__figure-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  padding-inline: 0.35rem;
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--muted);
}
.lativa-ba__plate-tag {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
}

/* Narrative */
.lativa-ba__concern-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--sand);
  color: var(--moss-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.lativa-ba__case-heading {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
}
.lativa-ba__case-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Stats Ledger */
.lativa-ba__stats-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
}
.lativa-ba__stat-item {
  display: flex;
  flex-direction: column;
}
.lativa-ba__stat-value {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.lativa-ba__stat-label {
  font-family: var(--body);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Quote */
.lativa-ba__quote {
  border-left: 2px solid var(--moss);
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
}
.lativa-ba__quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.lativa-ba__quote cite {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Recommendation */
.lativa-ba__recommendation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  background: var(--sand);
  border-radius: var(--radius-sm);
}
.lativa-ba__rec-info {
  display: flex;
  flex-direction: column;
}
.lativa-ba__rec-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.lativa-ba__rec-title {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.lativa-ba__disclaimer {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .lativa-ba__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .lativa-ba__stats-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 1rem;
  }
  .lativa-ba__recommendation {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .lativa-ba__stats-ledger {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .lativa-ba__folio-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Lativa Mobile Optimization, Accessibility & Functional Parity (v1.2.0)
   ========================================================================== */

/* Header link color binding & mobile logo clamp */
.site-header .main-nav a,
.site-header .main-nav summary,
.site-header .header-actions .icon-button,
.site-header .brand {
  color: var(--header-link, var(--ink));
}
.site-header .brand {
  max-width: min(100%, var(--header-logo-width, 130px));
}
@media (max-width: 600px) {
  .site-header .brand {
    max-width: min(100%, var(--header-logo-width, 130px), calc(100vw - 200px)) !important;
  }
}

/* Mobile Menu Drawer (.side-dialog / #menu-dialog) */
#menu-dialog {
  width: min(380px, 92vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  flex-direction: column;
}
#menu-dialog[open] {
  display: flex;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav > a,
.mobile-nav details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  font: 500 15px/1.35 var(--body);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.mobile-nav details > summary::-webkit-details-marker {
  display: none;
}
.mobile-nav .nav-submenu-items {
  position: static;
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--porcelain);
}
.mobile-nav .nav-submenu-items a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 24px 10px 38px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav .nav-submenu-items a:hover {
  background: var(--sand);
}
.mobile-nav-actions {
  display: grid;
  gap: 10px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-actions .button {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--porcelain);
  color: var(--ink);
  font-size: 14px;
}
.mobile-nav-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}
#menu-dialog .side-note {
  padding: 18px 24px 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Categories Showcase Grid (.lativa-category-card) */
.lativa-category-section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.lativa-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.lativa-category-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 2px);
  background: var(--porcelain);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lativa-category-card:hover {
  border-color: var(--moss);
  transform: translateY(-2px);
}
.lativa-category-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.lativa-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lativa-category-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 20px;
}
.lativa-category-count {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lativa-category-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.lativa-category-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.lativa-category-link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Product Gallery Thumbnail Carousel & Image Wishlist Host */
.product-gallery .gallery-thumbnails {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.product-gallery .gallery-thumbnails::-webkit-scrollbar {
  display: none;
}
.gallery-thumbnail-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
}
.gallery-thumbnail-nav[hidden] {
  display: none !important;
}
.gallery-thumbnail-nav button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 2px);
  background: var(--porcelain);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.gallery-thumbnail-nav button:hover:not(:disabled) {
  border-color: var(--moss);
  background: var(--sand);
}
.gallery-thumbnail-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}
.gallery-thumbnail-nav button[data-thumbnail-prev] .icon {
  transform: rotate(180deg);
}
.gallery-thumbnail-nav button .icon {
  width: 15px;
  height: 15px;
}
.product-gallery .gallery-main {
  position: relative;
}
.product-image-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}
.product-reviews-section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}
.reviews-box-header {
  padding: clamp(18px, 3vw, 28px);
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 2px);
}
.product-inventory {
  margin: 12px 0 4px;
  font-size: 13px;
  color: var(--muted);
}
.product-inventory:empty {
  display: none;
}
.quick-dialog .quick-body .product-inventory {
  margin: 1.15rem 0 0;
}
.quick-dialog .quick-body .product-inventory + .quick-buy {
  margin-top: 0.75rem;
}

/* Catalog Filter Mobile Drawer & Horizontal Pill Tabs */
.catalog-mobile-filter-toggle {
  display: none;
}
@media (max-width: 900px) {
  .lativa-product-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-block: 16px 48px;
  }
  .collection-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .collection-controls .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .collection-controls .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .collection-controls .filter-tabs a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .catalog-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm, 2px);
    background: var(--porcelain);
    color: var(--ink);
    font: 600 13px/1.2 var(--body);
    cursor: pointer;
  }
  .catalog-mobile-filter-toggle .toggle-lead {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .catalog-mobile-filter-toggle .filter-count-pill {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 50%;
    background: var(--moss);
    color: var(--porcelain);
    font-size: 11px;
  }
  .catalog-mobile-filter-toggle .icon {
    width: 16px;
    height: 16px;
    margin-left: auto;
    transition: transform 0.2s var(--ease);
  }
  .catalog-mobile-filter-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
  }
  .collection-page > .catalog-filter-form {
    display: none;
    margin-bottom: 18px;
  }
  .collection-page > .catalog-filter-form.is-open {
    display: block;
  }
  .cart-page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* Mobile anti-zoom inputs, safe-overflow, and readable touch targets */
html,
body {
  overflow-x: clip;
}
@media (max-width: 768px) {
  .checkout-field input,
  .checkout-field select,
  .checkout-field textarea,
  .field input,
  .field select,
  .field textarea,
  .catalog-filter-form input,
  .catalog-filter-form select,
  .catalog-sort select,
  .blog-search-box input,
  .newsletter .field-row input,
  .cart-note-field textarea,
  .variant-native-select {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .lativa-category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .cart-page .qty button,
  #cart-dialog .qty button {
    width: 34px;
    height: 36px;
  }
  .cart-page .qty input,
  #cart-dialog .qty input {
    width: 42px;
    font-size: 14px;
  }
  .cart-summary .button,
  .cart-foot .button,
  .purchase-row .add-button {
    min-height: 46px;
  }
  .purchase-row {
    flex-wrap: wrap;
  }
  .section-note,
  .breadcrumbs,
  .breadcrumb,
  .small-note,
  .product-share-title,
  .article-aside .aside-list a small {
    font-size: 12px;
  }
}

/* Homepage Product Shelf Carousel (.products-section .product-carousel-track) */
.products-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.shelf-head-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}
.shelf-carousel-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.shelf-carousel-nav[hidden] {
  display: none !important;
}
.shelf-carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 2px);
  background: var(--porcelain);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.shelf-carousel-btn:hover:not(:disabled) {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--porcelain);
}
.shelf-carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.shelf-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
  color: var(--muted);
}
.shelf-carousel-btn[data-carousel-prev] .icon {
  transform: rotate(180deg);
}
.shelf-carousel-btn .icon {
  width: 16px;
  height: 16px;
}
.shelf-carousel-page {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--muted);
  min-width: 46px;
  text-align: center;
}
.shelf-carousel-page[hidden] {
  display: none !important;
}
.products-section .product-grid.product-carousel-track {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: 4px;
}
.products-section .product-grid.product-carousel-track::-webkit-scrollbar {
  display: none;
}
.products-section .product-grid.product-carousel-track > .product-card {
  flex: 0 0 calc((100% - (24px * (var(--prow, 4) - 1))) / var(--prow, 4));
  min-width: 0;
  scroll-snap-align: start;
}
.products-section .product-grid.product-carousel-track > .product-card[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .products-section .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .shelf-head-controls {
    width: 100%;
    justify-content: space-between;
  }
  .products-section .product-grid.product-carousel-track {
    gap: 18px;
  }
  .products-section .product-grid.product-carousel-track > .product-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}
@media (max-width: 600px) {
  .shelf-head-controls {
    gap: 12px;
    flex-wrap: nowrap;
  }
  .products-section .product-tabs {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .products-section .product-tabs::-webkit-scrollbar {
    display: none;
  }
  .products-section .product-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .shelf-carousel-btn {
    width: 38px;
    height: 38px;
  }
  .products-section .product-grid.product-carousel-track {
    gap: 12px;
  }
  .products-section .product-grid.product-carousel-track > .product-card {
    flex-basis: calc((100% - (12px * (var(--prow-m, 2) - 1))) / var(--prow-m, 2));
  }
}

/* ---- Testimonial photo avatar ---- */
.review-avatar--photo {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
}
.review-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* ---- Journal / Blog card inline CTA link & icon ---- */
.journal-card .text-link,
.blog-main-content .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  width: fit-content;
  white-space: nowrap;
}
.journal-card .text-link .icon,
.blog-main-content .text-link .icon {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

/* ---- Customer order detail hero ---- */
.customer-hero .customer-dashboard-header,
.customer-hero .order-detail-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: var(--sf-flex, center);
  text-align: var(--sf-align, center);
  gap: 0.55rem;
}
.customer-hero .order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: var(--sf-flex, center);
  gap: 10px;
  margin-top: 0.35rem;
}
