/*
 * Moon Garden UI/UX redesign — Moon UI 2.0 (2.3.90).
 * Scope: shared header, homepage, catalog and phase-one commerce surfaces.
 * Loaded after the legacy synchronization/fix layers so this file stays
 * isolated, reviewable and easy to remove without touching commerce flows.
 */

:root{
  color-scheme:light;
  --moon-ui-canvas:#f8f6f2;
  --moon-ui-surface:#fff;
  --moon-ui-surface-soft:#fff8f3;
  --moon-ui-surface-warm:#fbeee5;
  --moon-ui-ink:#302824;
  --moon-ui-muted:#746963;
  --moon-ui-line:#eadfd8;
  --moon-ui-accent:#e5763c;
  --moon-ui-accent-strong:#c85b2f;
  --moon-ui-accent-soft:#fff0e6;
  --moon-ui-shadow:0 14px 40px rgba(59,42,34,.07);
  --moon-ui-shadow-hover:0 22px 54px rgba(59,42,34,.12);
  --moon-ui-radius-sm:12px;
  --moon-ui-radius:22px;
  --moon-ui-radius-lg:28px;
  --moon-ui-space-1:6px;
  --moon-ui-space-2:10px;
  --moon-ui-space-3:16px;
  --moon-ui-space-4:24px;
  --moon-ui-space-5:36px;
}

body{
  background:var(--moon-ui-canvas);
  color:var(--moon-ui-ink);
  font-family:"Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}

:where(a,button,input,select,textarea):focus-visible{
  outline:3px solid rgba(229,118,60,.34);
  outline-offset:3px;
}

/* --------------------------------------------------------------------------
   Header and search
   -------------------------------------------------------------------------- */
.moon-topbar{
  background:#fff9f5;
  color:#675952;
  border-bottom:1px solid var(--moon-ui-line);
  font-size:12px;
}
.moon-topbar__inner{min-height:32px}
.moon-marquee span{padding-left:0;animation:none;letter-spacing:.01em}
.moon-topbar__links{gap:16px}
.moon-topbar__links a{color:#675952;font-weight:650;opacity:1}
.moon-topbar__links a:hover{color:var(--moon-orange-deep)}

.moon-site-header,
.moon-site-header.is-scrolled{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(234,223,216,.92);
  box-shadow:none;
  backdrop-filter:saturate(150%) blur(18px);
}
.moon-site-header.is-scrolled{box-shadow:0 10px 30px rgba(48,40,36,.07)}
.moon-header-row{min-height:76px;gap:22px}

.moon-logo-wrap{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:0;
}
.moon-logo-wrap .moon-brand,
.moon-logo-wrap .custom-logo-link{display:flex;flex:0 0 auto}
.moon-logo-wrap img,
.moon-logo-wrap .custom-logo{
  width:52px;
  height:52px;
  max-width:52px;
  max-height:52px;
  object-fit:cover;
  border:1px solid #f1dfd4;
  border-radius:17px;
  box-shadow:none;
  filter:none;
}
.moon-header-brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.18}
.moon-header-brand-copy strong{font-size:14px;letter-spacing:-.01em;white-space:nowrap}
.moon-header-brand-copy small{margin-top:4px;color:var(--moon-ui-muted);font-size:10px;white-space:nowrap}

.moon-primary-nav{flex:1}
.moon-menu{gap:2px}
.moon-menu>li>a{
  position:relative;
  padding:10px 12px;
  border-radius:10px;
  color:#4b403a;
  font-size:13.5px;
  font-weight:700;
}
.moon-menu>li>a:after{
  content:"";
  position:absolute;
  right:12px;
  bottom:5px;
  left:12px;
  height:2px;
  border-radius:99px;
  background:var(--moon-orange-deep);
  opacity:0;
  transform:scaleX(.35);
  transition:opacity .18s ease,transform .18s ease;
}
.moon-menu>li:hover>a,
.moon-menu>.current-menu-item>a,
.moon-menu>.current-menu-ancestor>a{
  background:#fff5ef;
  color:var(--moon-orange-deep);
  box-shadow:none;
}
.moon-menu>li:hover>a:after,
.moon-menu>.current-menu-item>a:after,
.moon-menu>.current-menu-ancestor>a:after{opacity:1;transform:scaleX(1)}
.moon-menu .sub-menu{
  top:calc(100% + 11px);
  padding:9px;
  border-color:var(--moon-ui-line);
  border-radius:16px;
  box-shadow:var(--moon-ui-shadow-hover);
}

.moon-header-actions{gap:7px}
.moon-header-actions .moon-icon-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:auto;
  min-width:42px;
  height:42px;
  padding:0 12px;
  border:1px solid var(--moon-ui-line);
  border-radius:13px;
  background:#fff;
  color:var(--moon-ui-ink);
  box-shadow:none;
}
.moon-header-actions .moon-icon-button:hover{
  background:#fff5ef;
  border-color:#efcbb8;
  color:var(--moon-orange-deep);
  transform:translateY(-1px);
}
.moon-header-actions .moon-icon{width:19px;height:19px}
.moon-action-label{font-size:12px;font-weight:750;white-space:nowrap}
.moon-cart-count{
  right:-5px;
  top:-6px;
  min-width:19px;
  height:19px;
  background:var(--moon-orange-deep);
  border-color:#fff;
  font-size:10px;
}

.moon-search-panel{
  padding:14px 0;
  border-color:var(--moon-ui-line);
  background:rgba(255,255,255,.98);
  box-shadow:0 18px 32px rgba(48,40,36,.07);
}
.moon-search-form{
  max-width:860px;
  margin:auto;
  padding:6px 7px 6px 16px;
  border-color:var(--moon-ui-line);
  border-radius:15px;
  background:#fbfaf8;
}
.moon-search-form input[type=search]{min-height:38px;font-size:14px}
.moon-search-form .moon-button{min-height:40px;padding:9px 18px;border-radius:11px;font-size:13px}

.moon-mobile-nav__support{
  padding:14px;
  border:1px solid #f0ddd2;
  border-radius:16px;
  background:#fff7f2;
}

/* --------------------------------------------------------------------------
   Homepage hero and editorial rhythm
   -------------------------------------------------------------------------- */
.moon-home{background:var(--moon-ui-canvas)}
.moon-hero{
  isolation:isolate;
  border-bottom:1px solid var(--moon-ui-line);
  background:
    radial-gradient(circle at 82% 16%,rgba(244,192,78,.2),transparent 27%),
    radial-gradient(circle at 12% 86%,rgba(240,145,90,.12),transparent 30%),
    linear-gradient(135deg,#fff 0%,#fffaf6 48%,#f9e9de 100%);
}
.moon-hero:before{
  width:300px;
  height:300px;
  left:-150px;
  bottom:-180px;
  background:rgba(240,145,90,.12);
}
.moon-hero:after{
  width:220px;
  height:220px;
  right:-70px;
  top:-80px;
  background:rgba(130,155,122,.12);
}
.moon-hero__grid{
  min-height:565px;
  grid-template-columns:minmax(0,.92fr) minmax(460px,1.08fr);
  gap:clamp(42px,6vw,84px);
  padding-block:58px;
}
.moon-hero__content{position:relative;z-index:2;max-width:600px}
.moon-hero .moon-eyebrow{
  margin-bottom:15px;
  padding:7px 11px;
  border:1px solid #efd9cc;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  font-size:11px;
  letter-spacing:.11em;
}
.moon-hero__content h1{
  max-width:620px;
  margin-bottom:17px;
  color:#332824;
  font-size:clamp(44px,5vw,68px);
  line-height:1.02;
  letter-spacing:-.05em;
}
.moon-hero__content>p{
  max-width:570px;
  margin-bottom:24px;
  color:#6f625b;
  font-size:17px;
  line-height:1.72;
}
.moon-hero__actions{gap:10px;margin-bottom:22px}
.moon-hero__actions .moon-button{
  min-width:150px;
  min-height:47px;
  border-radius:13px;
  font-size:14px;
}
.moon-hero__actions .moon-button--primary{box-shadow:0 11px 25px rgba(229,118,60,.23)}
.moon-hero__actions .moon-button--ghost{background:rgba(255,255,255,.78)}

.moon-hero-benefits{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  width:100%;
  max-width:580px;
}
.moon-hero-benefit{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:10px 11px;
  border:1px solid rgba(234,223,216,.9);
  border-radius:14px;
  background:rgba(255,255,255,.76);
  box-shadow:none;
}
.moon-hero-benefit>.moon-icon{
  width:21px;
  height:21px;
  flex:0 0 21px;
  color:var(--moon-orange-deep);
}
.moon-hero-benefit strong{color:#403631;font-size:12px;line-height:1.25}
.moon-hero-benefit span{margin-top:2px;color:#84766e;font-size:10px;line-height:1.25}

.moon-hero__visual{height:480px}
.moon-hero-product{
  padding:10px;
  border:1px solid rgba(232,210,198,.95);
  border-radius:26px;
  background:rgba(255,255,255,.92);
  box-shadow:0 24px 60px rgba(70,48,38,.13);
  transition:box-shadow .25s ease,transform .25s ease;
}
.moon-hero-product img{object-fit:contain;border-radius:18px;background:#fff}
.moon-hero-product--1{right:7%;top:1%;width:55%;height:70%;transform:rotate(2.5deg)}
.moon-hero-product--2{left:2%;top:31%;width:43%;height:53%;transform:rotate(-5deg)}
.moon-hero-product--3{right:0;bottom:0;width:35%;height:43%;transform:rotate(5deg)}
.moon-hero-product--1:hover{transform:rotate(1deg) translateY(-5px);box-shadow:0 30px 70px rgba(70,48,38,.17)}
.moon-hero-product--2:hover{transform:rotate(-3deg) translateY(-5px);box-shadow:0 30px 70px rgba(70,48,38,.17)}
.moon-hero-product--3:hover{transform:rotate(3deg) translateY(-5px);box-shadow:0 30px 70px rgba(70,48,38,.17)}
.moon-hero-orbit{border-color:rgba(229,118,60,.22)}

.moon-home .moon-section{padding:76px 0}
.moon-home .moon-section--white{border-color:var(--moon-ui-line)}
.moon-home .moon-products-section:nth-of-type(even),
.moon-chart-home{background:#fff}
.moon-home .moon-section-heading{margin-bottom:28px}
.moon-home .moon-section-heading>div{max-width:760px}
.moon-home .moon-section-heading .moon-eyebrow{margin-bottom:8px;font-size:11px;letter-spacing:.12em}
.moon-home .moon-section-heading h2{
  margin-bottom:8px;
  color:#342b27;
  font-size:clamp(30px,3vw,42px);
  line-height:1.13;
  letter-spacing:-.035em;
}
.moon-home .moon-section-heading p{color:var(--moon-ui-muted);font-size:14px;line-height:1.65}
.moon-home .moon-section-heading .moon-text-link{
  flex:0 0 auto;
  padding:9px 13px;
  border:1px solid var(--moon-ui-line);
  border-radius:11px;
  background:#fff;
  font-size:12px;
}

.moon-categories-section{background:linear-gradient(180deg,#f8f6f2 0%,#fff 100%)}
.moon-category-showcase{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.moon-category-showcase .moon-category-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:16px;
}
.moon-category-showcase .moon-category-card{
  grid-column:span 3;
  border:1px solid var(--moon-ui-line);
  border-radius:20px;
  background:#fff;
  box-shadow:none;
}
.moon-category-showcase .moon-category-card:first-child{grid-column:span 6}
.moon-category-showcase .moon-category-card:hover{
  border-color:#e7bfa9;
  box-shadow:var(--moon-ui-shadow);
  transform:translateY(-4px);
}
.moon-category-card__image{aspect-ratio:1/1;background:#faf7f4}
.moon-category-showcase .moon-category-card:first-child .moon-category-card__image{aspect-ratio:2/1}
.moon-category-showcase .moon-category-card img{object-fit:contain;background:#fff}
.moon-category-showcase .moon-category-card__body{padding:15px 16px}
.moon-category-showcase .moon-category-card__body strong{font-size:15px}
.moon-category-showcase .moon-category-card__body small{font-size:10px}

/* Shared catalog card language; commerce links/buttons/hooks remain native. */
.moon-home .moon-products-section ul.products,
.moon-gutenberg-dynamic-section ul.products{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.moon-home .moon-products-section ul.products li.product,
.moon-gutenberg-dynamic-section ul.products li.product,
.moon-shop-content ul.products li.product{
  padding:9px 9px 14px!important;
  overflow:hidden;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:none!important;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
.moon-home .moon-products-section ul.products li.product:hover,
.moon-gutenberg-dynamic-section ul.products li.product:hover,
.moon-shop-content ul.products li.product:hover,
.moon-home .moon-products-section ul.products li.product:focus-within,
.moon-shop-content ul.products li.product:focus-within{
  border-color:#e6c4b2!important;
  box-shadow:var(--moon-ui-shadow)!important;
  transform:translateY(-3px);
}
.moon-home .moon-products-section ul.products li.product a img,
.moon-gutenberg-dynamic-section ul.products li.product a img,
.moon-shop-content ul.products li.product a img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  margin:0 0 12px!important;
  border-radius:13px!important;
  background:#faf8f6!important;
  object-fit:contain!important;
}
.moon-home .moon-products-section ul.products li.product .woocommerce-loop-product__title,
.moon-gutenberg-dynamic-section ul.products li.product .woocommerce-loop-product__title,
.moon-shop-content ul.products li.product .woocommerce-loop-product__title{
  min-height:42px!important;
  margin:0 4px 7px!important;
  padding:0!important;
  color:#3d342f!important;
  font-size:14px!important;
  font-weight:720!important;
  line-height:1.45!important;
}
.moon-home .moon-products-section ul.products li.product .price,
.moon-gutenberg-dynamic-section ul.products li.product .price,
.moon-shop-content ul.products li.product .price{
  margin:0 4px 7px!important;
  color:var(--moon-orange-deep)!important;
  font-size:14px!important;
  font-weight:800!important;
}
.moon-home .moon-products-section ul.products li.product .button,
.moon-gutenberg-dynamic-section ul.products li.product .button,
.moon-shop-content ul.products li.product .button{
  width:calc(100% - 8px)!important;
  min-height:39px!important;
  margin:7px 4px 0!important;
  padding:8px 10px!important;
  border-radius:11px!important;
  font-size:12px!important;
  box-shadow:none!important;
}
.moon-product-badges{left:15px;right:15px;top:15px;gap:5px}
.moon-badge{padding:5px 8px;border-radius:8px;font-size:9px;box-shadow:none}
.moon-variant-hint{margin:0 4px 5px;color:#8a7d75;font-size:10.5px}

.moon-review-grid,.moon-blog-grid{gap:18px}
.moon-review-card,.moon-blog-card{
  border-color:var(--moon-ui-line);
  border-radius:18px;
  box-shadow:none;
}
.moon-review-card:hover,.moon-blog-card:hover{border-color:#e6c4b2;box-shadow:var(--moon-ui-shadow)}
.moon-color-chart-card{border-color:var(--moon-ui-line);box-shadow:none}

/* --------------------------------------------------------------------------
   Product archive and filters
   -------------------------------------------------------------------------- */
.woocommerce-shop,
.tax-product_cat,
.tax-product_tag{background:var(--moon-ui-canvas)}
.woocommerce-shop .moon-woocommerce-main,
.tax-product_cat .moon-woocommerce-main,
.tax-product_tag .moon-woocommerce-main{padding:34px 0 76px}
.moon-shop-layout{grid-template-columns:270px minmax(0,1fr);gap:26px}
.moon-shop-content{min-width:0;overflow:visible}

.moon-shop-content .woocommerce-products-header{
  position:relative;
  margin:0 0 16px;
  padding:25px 27px;
  overflow:hidden;
  border:1px solid var(--moon-ui-line);
  border-radius:20px;
  background:linear-gradient(135deg,#fff 0%,#fff8f3 100%);
  box-shadow:none;
}
.moon-shop-content .woocommerce-products-header:after{
  content:"";
  position:absolute;
  right:-45px;
  bottom:-65px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(240,145,90,.1);
  pointer-events:none;
}
.moon-shop-content .woocommerce-products-header__title{
  position:relative;
  z-index:1;
  margin:0 0 6px;
  color:#342b27;
  font-size:clamp(32px,3.2vw,42px);
  line-height:1.12;
  letter-spacing:-.04em;
}
.moon-shop-content .term-description{position:relative;z-index:1;max-width:720px;color:var(--moon-ui-muted);font-size:13px}
.moon-shop-content .term-description>*:last-child{margin-bottom:0}

.moon-active-filters{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 12px;
}
.moon-active-filters__label{margin-right:2px;color:var(--moon-ui-muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.moon-filter-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:31px;
  padding:5px 9px;
  border:1px solid #ebcdbd;
  border-radius:9px;
  background:#fff5ef;
  color:#8f4c2d;
  font-size:11px;
  font-weight:700;
}
.moon-filter-chip:hover{border-color:var(--moon-orange);background:#ffede2}
.moon-filter-chip span:last-child{font-size:15px;line-height:1}
.moon-active-filters__clear{margin-left:3px;color:var(--moon-ui-muted);font-size:11px;text-decoration:underline;text-underline-offset:3px}

.moon-shop-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  margin:0 0 15px;
  padding:7px 8px 7px 13px;
  border:1px solid var(--moon-ui-line);
  border-radius:14px;
  background:#fff;
}
.moon-shop-toolbar:after{display:none!important}
.moon-shop-toolbar .woocommerce-result-count{float:none;margin:0;color:var(--moon-ui-muted);font-size:12px}
.moon-shop-toolbar .woocommerce-ordering{float:none;margin:0}
.moon-shop-toolbar .woocommerce-ordering select{
  min-height:36px;
  padding:7px 32px 7px 11px;
  border-color:transparent;
  border-radius:9px;
  background:#f8f6f3;
  font-size:12px;
}
.moon-shop-toolbar .moon-filter-toggle{display:none}

.moon-shop-sidebar{
  top:116px;
  max-height:calc(100vh - 132px);
  padding:18px;
  border:1px solid var(--moon-ui-line);
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}
.admin-bar .moon-shop-sidebar{top:148px}
.moon-filter-head{align-items:center;margin-bottom:6px;padding-bottom:8px}
.moon-filter-head .moon-eyebrow{margin-bottom:4px;font-size:9px;letter-spacing:.12em}
.moon-filter-head h2{font-size:19px;letter-spacing:-.02em}
.moon-filter-group{padding:14px 0;border-color:var(--moon-ui-line)}
.moon-filter-group h3{margin-bottom:10px;color:#4b403a;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.moon-filter-list{gap:3px}
.moon-filter-list a{padding:8px 9px;border-radius:9px;color:var(--moon-ui-muted);font-size:12px}
.moon-filter-list a:hover,.moon-filter-list a.is-active{background:#fff4ed;color:var(--moon-orange-deep)}
.moon-filter-colors{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 7px}
.moon-filter-color>span{width:30px;height:30px}
.moon-filter-color small{font-size:8px}
.moon-price-fields{gap:8px}
.moon-price-fields input{min-height:40px;border-color:var(--moon-ui-line);border-radius:9px;font-size:12px}
.moon-check-row{font-size:12px}
.moon-filter-actions{gap:7px}
.moon-filter-actions .moon-button{min-height:40px;border-radius:10px;font-size:12px}

.moon-shop-content ul.products{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
.moon-shop-content nav.woocommerce-pagination{margin-top:30px}
.moon-shop-content nav.woocommerce-pagination ul{display:flex;gap:6px;border:0}
.moon-shop-content nav.woocommerce-pagination ul li{border:0}
.moon-shop-content nav.woocommerce-pagination ul li a,
.moon-shop-content nav.woocommerce-pagination ul li span{
  display:grid;
  place-items:center;
  min-width:38px;
  height:38px;
  padding:6px;
  border:1px solid var(--moon-ui-line);
  border-radius:10px;
  background:#fff;
}
.moon-shop-content nav.woocommerce-pagination ul li span.current{border-color:var(--moon-orange);background:#fff1e8;color:var(--moon-orange-deep)}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (min-width:783px) and (max-width:1080px){
  .moon-container{width:min(calc(100% - 36px),var(--moon-max))}
  .moon-header-row{gap:10px}
  .moon-mobile-menu-toggle{display:grid;flex:0 0 42px}
  .moon-primary-nav{display:none}
  .moon-logo-wrap{flex:1}
  .moon-header-brand-copy{display:flex}
  .moon-action-label{display:none}
  .moon-header-actions .moon-icon-button{width:42px;padding:0}
  .moon-hero__grid{grid-template-columns:minmax(0,1fr) minmax(390px,1fr);gap:30px}
  .moon-hero__content h1{font-size:46px}
  .moon-home .moon-products-section ul.products,
  .moon-gutenberg-dynamic-section ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .moon-shop-layout{grid-template-columns:235px minmax(0,1fr);gap:18px}
  .moon-shop-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .moon-filter-colors{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media (max-width:1279px){
  .moon-action-label{display:none}
  .moon-header-actions .moon-icon-button{width:42px;padding:0}
}

@media (min-width:1400px){
  .moon-shop-content ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width:782px){
  .moon-container{width:min(calc(100% - 24px),var(--moon-max))}
  .moon-topbar__inner{min-height:29px}
  .moon-marquee{font-size:10.5px;text-align:center}
  .moon-topbar__links{display:none}

  .moon-site-header,.moon-site-header.is-scrolled{background:rgba(255,255,255,.98)}
  .moon-header-row{min-height:64px;gap:5px}
  .moon-mobile-menu-toggle{display:grid;width:40px;height:40px;flex:0 0 40px}
  .moon-primary-nav{display:none}
  .moon-logo-wrap{flex:1;justify-content:flex-start;padding:0 2px}
  .moon-logo-wrap img,.moon-logo-wrap .custom-logo{width:46px;height:46px;max-width:46px;max-height:46px;border-radius:14px}
  .moon-header-brand-copy{display:none}
  .moon-header-actions{gap:3px}
  .moon-header-actions .moon-icon-button{display:grid;width:40px;height:40px;min-width:40px;padding:0;border-radius:12px}
  .moon-header-actions .moon-search-toggle{display:grid}
  .moon-action-label{display:none}
  .moon-mobile-header-social{display:none!important}
  .moon-cart-count{right:-3px;top:-5px}

  .moon-search-panel{padding:9px 0}
  .moon-search-form{gap:7px;padding:5px 5px 5px 11px;border-radius:12px}
  .moon-search-form .moon-icon{width:18px}
  .moon-search-form input[type=search]{min-height:35px;font-size:13px}
  .moon-search-form .moon-button{min-height:37px;padding:8px 11px;border-radius:9px;font-size:11px}

  .moon-hero__grid{
    min-height:0;
    grid-template-columns:1fr;
    gap:18px;
    padding-block:34px 30px;
  }
  .moon-hero__content{max-width:none}
  .moon-hero .moon-eyebrow{margin-bottom:12px;padding:6px 9px;font-size:9.5px}
  .moon-hero__content h1{margin-bottom:13px;font-size:clamp(36px,11.5vw,48px);line-height:1.04}
  .moon-hero__content>p{margin-bottom:19px;font-size:14px;line-height:1.6}
  .moon-hero__actions{display:grid;grid-template-columns:1.15fr .85fr;gap:8px;margin-bottom:18px}
  .moon-hero__actions .moon-button{width:100%;min-width:0;min-height:43px;padding:9px 10px;font-size:12px}
  .moon-hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .moon-hero-benefit{gap:7px;padding:8px;border-radius:11px}
  .moon-hero-benefit>.moon-icon{width:18px;height:18px;flex-basis:18px}
  .moon-hero-benefit strong{font-size:10.5px}
  .moon-hero-benefit span{font-size:8.5px}
  .moon-hero__visual{height:285px;max-width:460px;width:100%;margin-inline:auto}
  .moon-hero-product{padding:6px;border-radius:18px}
  .moon-hero-product img{border-radius:13px}
  .moon-hero-product--1{right:8%;top:1%;width:54%;height:68%}
  .moon-hero-product--2{left:2%;top:31%;width:43%;height:52%}
  .moon-hero-product--3{right:1%;bottom:0;width:35%;height:42%}
  .moon-hero-orbit--one{width:230px;height:230px}
  .moon-hero-orbit--two{width:150px;height:150px}

  .moon-home .moon-section{padding:50px 0}
  .moon-home .moon-section-heading{display:block;margin-bottom:20px}
  .moon-home .moon-section-heading h2{font-size:28px;line-height:1.16}
  .moon-home .moon-section-heading p{font-size:12.5px}
  .moon-home .moon-section-heading .moon-text-link{margin-top:11px;padding:7px 10px;font-size:11px}

  .moon-category-showcase .moon-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .moon-category-showcase .moon-category-card,
  .moon-category-showcase .moon-category-card:first-child{grid-column:span 1;border-radius:15px}
  .moon-category-showcase .moon-category-card:nth-child(3):last-child{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:44% 56%;
  }
  .moon-category-showcase .moon-category-card:first-child .moon-category-card__image,
  .moon-category-card__image{aspect-ratio:1/1}
  .moon-category-showcase .moon-category-card:nth-child(3):last-child .moon-category-card__image{min-height:122px;aspect-ratio:auto}
  .moon-category-showcase .moon-category-card__body{display:block;padding:10px;text-align:left}
  .moon-category-showcase .moon-category-card__body strong{display:block;font-size:12px}
  .moon-category-showcase .moon-category-card__body small{display:block;margin-top:3px;font-size:9px}
  .moon-category-showcase .moon-category-card:nth-child(3):last-child .moon-category-card__body{display:flex;align-items:flex-start;justify-content:center;padding:13px}

  .moon-home .moon-products-section ul.products,
  .moon-gutenberg-dynamic-section ul.products,
  .moon-shop-content ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .moon-home .moon-products-section ul.products li.product,
  .moon-gutenberg-dynamic-section ul.products li.product,
  .moon-shop-content ul.products li.product{padding:6px 6px 10px!important;border-radius:14px!important}
  .moon-home .moon-products-section ul.products li.product a img,
  .moon-gutenberg-dynamic-section ul.products li.product a img,
  .moon-shop-content ul.products li.product a img{margin-bottom:8px!important;border-radius:10px!important}
  .moon-home .moon-products-section ul.products li.product .woocommerce-loop-product__title,
  .moon-gutenberg-dynamic-section ul.products li.product .woocommerce-loop-product__title,
  .moon-shop-content ul.products li.product .woocommerce-loop-product__title{
    min-height:36px!important;
    margin:0 3px 5px!important;
    font-size:12.5px!important;
    line-height:1.4!important;
  }
  .moon-home .moon-products-section ul.products li.product .price,
  .moon-gutenberg-dynamic-section ul.products li.product .price,
  .moon-shop-content ul.products li.product .price{margin:0 3px 5px!important;font-size:12.5px!important}
  .moon-home .moon-products-section ul.products li.product .button,
  .moon-gutenberg-dynamic-section ul.products li.product .button,
  .moon-shop-content ul.products li.product .button{
    width:calc(100% - 6px)!important;
    min-height:34px!important;
    margin:5px 3px 0!important;
    padding:7px 5px!important;
    border-radius:9px!important;
    font-size:10.5px!important;
  }
  .moon-product-badges{left:10px;right:10px;top:10px}
  .moon-badge{padding:4px 6px;font-size:8px}
  .moon-variant-hint{margin-inline:3px;font-size:9px}

  .woocommerce-shop .moon-woocommerce-main,
  .tax-product_cat .moon-woocommerce-main,
  .tax-product_tag .moon-woocommerce-main{padding:18px 0 54px}
  .woocommerce-shop .moon-woocommerce-main>.moon-container,
  .tax-product_cat .moon-woocommerce-main>.moon-container,
  .tax-product_tag .moon-woocommerce-main>.moon-container{width:min(calc(100% - 18px),var(--moon-max))!important;padding-inline:0!important}
  .moon-shop-layout{display:block}
  .moon-shop-content .woocommerce-products-header{margin:0 0 10px!important;padding:18px 17px;border-radius:16px}
  .moon-shop-content .woocommerce-products-header__title{margin:0 0 5px!important;font-size:29px!important;line-height:1.1}
  .moon-shop-content .term-description{font-size:11.5px}
  .moon-active-filters{gap:5px;margin-bottom:9px}
  .moon-active-filters__label{width:100%;font-size:9px}
  .moon-filter-chip{min-height:28px;padding:4px 7px;font-size:9.5px}
  .moon-active-filters__clear{font-size:9.5px}

  .moon-shop-toolbar{
    position:sticky;
    top:66px;
    z-index:32;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:6px 7px;
    min-height:0;
    margin:0 0 10px;
    padding:7px;
    border-radius:12px;
    box-shadow:0 8px 22px rgba(48,40,36,.08);
  }
  .admin-bar .moon-shop-toolbar{top:112px}
  .moon-shop-toolbar .woocommerce-result-count{grid-column:1/-1;margin:0!important;padding:0 2px;font-size:10px}
  .moon-shop-toolbar .moon-filter-toggle{
    display:inline-flex;
    grid-column:1;
    min-height:36px;
    margin:0;
    padding:7px 11px;
    border-radius:9px;
    font-size:11px;
  }
  .moon-shop-toolbar .woocommerce-ordering{grid-column:2;width:100%;margin:0!important}
  .moon-shop-toolbar .woocommerce-ordering select{width:100%;min-height:36px;padding:7px 28px 7px 9px!important;font-size:10.5px}

  .moon-shop-sidebar{
    position:fixed;
    z-index:10030;
    inset:0 auto 0 0;
    width:min(90vw,350px);
    max-height:none;
    padding:18px;
    border-radius:0 18px 18px 0;
    box-shadow:0 18px 60px rgba(48,40,36,.2);
  }
  .moon-filter-close{display:grid}
  .moon-filter-colors{grid-template-columns:repeat(5,minmax(0,1fr))}
  .moon-filter-color>span{width:32px;height:32px}
}

@media (max-width:380px){
  .moon-container{width:min(calc(100% - 18px),var(--moon-max))}
  .moon-header-row{gap:2px}
  .moon-mobile-menu-toggle,
  .moon-header-actions .moon-icon-button{width:38px;height:38px;min-width:38px}
  .moon-logo-wrap img,.moon-logo-wrap .custom-logo{width:43px;height:43px;max-width:43px;max-height:43px}
  .moon-hero__content h1{font-size:35px}
  .moon-hero-benefit{padding:7px 6px}
  .moon-hero-benefit strong{font-size:9.8px}
  .moon-hero-benefit span{font-size:8px}
  .moon-hero__visual{height:260px}
  .moon-filter-colors{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media (prefers-reduced-motion:reduce){
  .moon-hero-product,
  .moon-category-card,
  .moon-shop-content ul.products li.product,
  .moon-home ul.products li.product{transition:none!important}
}

/* --------------------------------------------------------------------------
   Single product — gallery-led desktop, stable native WooCommerce form
   -------------------------------------------------------------------------- */
.single-product .moon-main,
.single-product .moon-woocommerce-main{background:var(--moon-ui-canvas)}
.single-product .moon-woocommerce-main>.moon-container{
  width:min(calc(100% - 48px),1380px)!important;
  padding-inline:0!important;
}
.single-product .moon-single-product-wrap{
  padding:34px 0 78px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.single-product .woocommerce div.product{
  display:grid!important;
  grid-template-columns:minmax(0,59fr) minmax(390px,41fr)!important;
  gap:32px!important;
  align-items:start!important;
}
.single-product .woocommerce div.product div.images,
.single-product .woocommerce div.product div.summary{
  float:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.single-product .woocommerce div.product div.images.woocommerce-product-gallery{
  position:relative!important;
  top:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(520px,680px) auto!important;
  gap:12px!important;
  height:auto!important;
  overflow:visible!important;
}
.single-product .woocommerce div.product div.images.woocommerce-product-gallery>.flex-viewport,
.single-product .woocommerce div.product div.images.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  height:clamp(520px,48vw,680px)!important;
  min-height:520px!important;
  margin:0!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:var(--moon-ui-radius-lg)!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:var(--moon-ui-shadow)!important;
  overflow:hidden!important;
}
.single-product .woocommerce div.product div.images img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:none!important;
  margin:auto!important;
  border-radius:0!important;
  background:var(--moon-ui-surface)!important;
  object-fit:contain!important;
}
.single-product .woocommerce div.product div.summary{
  position:sticky!important;
  top:108px!important;
  padding:27px!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:var(--moon-ui-radius-lg)!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:var(--moon-ui-shadow)!important;
}
.admin-bar.single-product .woocommerce div.product div.summary{top:140px!important}
.single-product .woocommerce-breadcrumb{
  grid-column:1/-1;
  margin:0 0 13px!important;
  color:var(--moon-ui-muted)!important;
  font-size:12px!important;
}
.single-product .woocommerce-breadcrumb a{color:var(--moon-ui-muted)!important}
.single-product .woocommerce div.product .product_title{
  margin:0 0 10px!important;
  color:var(--moon-ui-ink)!important;
  font-size:clamp(30px,2.6vw,39px)!important;
  font-weight:760!important;
  line-height:1.13!important;
  letter-spacing:-.035em!important;
}
.single-product .woocommerce-product-rating{margin:0 0 12px!important}
.single-product .woocommerce-product-details__short-description{
  margin:0 0 18px!important;
  color:var(--moon-ui-muted)!important;
  font-size:13.5px!important;
  line-height:1.65!important;
}
.single-product .woocommerce div.product form.cart{margin:0!important}
.single-product .woocommerce div.product form.cart .variations{
  width:100%!important;
  margin:0!important;
  border:0!important;
}
.single-product .woocommerce div.product form.cart .variations th,
.single-product .woocommerce div.product form.cart .variations td{display:block!important;width:100%!important;padding:0!important;border:0!important;text-align:left!important}
.single-product .woocommerce div.product form.cart .variations label{
  display:block;
  margin:17px 0 9px!important;
  color:var(--moon-ui-ink)!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.single-product .woocommerce div.product form.cart .reset_variations{
  display:inline-flex!important;
  margin:7px 0 0!important;
  color:var(--moon-ui-accent-strong)!important;
  font-size:11px!important;
  font-weight:700;
}

.single-product .moon-purchase-row{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-areas:"price" "progress" "actions"!important;
  gap:10px!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 8px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.single-product .moon-purchase-price{
  grid-area:price!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-width:0!important;
  padding:13px 15px!important;
  border:1px solid #f0d9ca!important;
  border-radius:15px!important;
  background:var(--moon-ui-surface-warm)!important;
}
.single-product .moon-purchase-price:before{
  content:"Giá bán";
  color:#8e634f;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.single-product .moon-purchase-price p.price,
.single-product .moon-purchase-price span.price{
  margin:0!important;
  color:var(--moon-ui-accent-strong)!important;
  font-size:25px!important;
  font-weight:850!important;
  line-height:1.15!important;
  white-space:normal!important;
  text-align:right;
}
.single-product .moon-purchase-actions{
  grid-area:actions!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.single-product .moon-purchase-actions .woocommerce-variation-add-to-cart,
.single-product .moon-purchase-actions .moon-simple-purchase-actions{
  display:grid!important;
  grid-template-columns:96px minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:48px!important;
  gap:8px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  overflow:visible!important;
}
.single-product .moon-purchase-actions .quantity{
  display:grid!important;
  grid-template-columns:28px minmax(32px,1fr) 28px!important;
  align-items:center!important;
  width:96px!important;
  min-width:96px!important;
  height:48px!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:13px!important;
  background:var(--moon-ui-surface)!important;
}
.single-product .moon-purchase-actions .quantity .qty{
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--moon-ui-ink)!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
}
.single-product .moon-qty-step{
  width:28px!important;
  height:46px!important;
  border:0!important;
  background:transparent!important;
  color:var(--moon-ui-ink)!important;
  font-size:19px!important;
}
.single-product .moon-purchase-actions .single_add_to_cart_button,
.single-product .moon-purchase-actions .moon-buy-now{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  height:48px!important;
  margin:0!important;
  padding:9px 10px!important;
  border-radius:13px!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.2!important;
  white-space:normal!important;
  text-align:center!important;
}
.single-product .moon-purchase-actions .single_add_to_cart_button{
  border:1px solid var(--moon-ui-accent)!important;
  background:linear-gradient(135deg,var(--moon-ui-accent),var(--moon-ui-accent-strong))!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(200,91,47,.2)!important;
}
.single-product .moon-purchase-actions .moon-buy-now{
  border:1px solid #e8b495!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-accent-strong)!important;
  box-shadow:none!important;
}
.single-product .moon-inline-stock{
  position:static!important;
  display:inline-flex!important;
  margin:7px 0 0!important;
  padding:4px 8px!important;
  border-radius:999px;
  background:#eef7e9!important;
  color:#527346!important;
  font-size:10px!important;
  font-weight:750!important;
}

.single-product .moon-purchase-progress{
  grid-area:progress!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
}
.single-product .moon-purchase-progress .mgkv-wholesale-live{
  --moon-wholesale-progress:0%;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:4px!important;
  width:100%!important;
  min-height:78px!important;
  height:auto!important;
  margin:0!important;
  padding:13px 14px 20px!important;
  overflow:hidden!important;
  border:1px solid #efd8c9!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#fffaf6,#fff3ea)!important;
  color:#714933!important;
  animation:none!important;
}
.single-product .moon-purchase-progress .mgkv-wholesale-live:before{
  content:"";
  position:absolute;
  right:14px;
  bottom:10px;
  left:14px;
  height:5px;
  border-radius:999px;
  background:#ead9ce;
}
.single-product .moon-purchase-progress .mgkv-wholesale-live:after{
  content:"";
  position:absolute;
  bottom:10px;
  left:14px;
  width:var(--moon-wholesale-progress);
  max-width:calc(100% - 28px);
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--moon-ui-accent),#f2ad63);
  transition:width .25s ease;
}
.single-product .moon-purchase-progress .mgkv-wholesale-live>strong{
  display:block!important;
  color:inherit!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.35!important;
  white-space:normal!important;
}
.single-product .moon-purchase-progress .mgkv-wholesale-live>span{
  display:block!important;
  color:inherit!important;
  font-size:10px!important;
  line-height:1.35!important;
  white-space:normal!important;
  opacity:.78;
}
.single-product .moon-purchase-progress .mgkv-wholesale-live.is-qualified{
  border-color:#cfe3cb!important;
  background:linear-gradient(135deg,#f6fbf3,#edf7e8)!important;
  color:#3f6d42!important;
}
.single-product .moon-purchase-progress .mgkv-wholesale-live.is-qualified:after{
  background:linear-gradient(90deg,#6f9e68,#93b778)
}
body.single-product .moon-purchase-progress .mgkv-wholesale-live>.moon-wholesale-tier-summary{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
  width:100%!important;
  margin:4px 0 1px!important;
}
body.single-product .moon-purchase-progress .moon-wholesale-tier-summary>span{
  display:block!important;
  min-width:0;
  padding:6px 7px!important;
  border:1px solid rgba(226,180,151,.55)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.72)!important;
  color:inherit!important;
}
body.single-product .moon-purchase-progress .moon-wholesale-tier-summary b,
body.single-product .moon-purchase-progress .moon-wholesale-tier-summary em{
  display:block!important;
  overflow:hidden!important;
  color:inherit!important;
  font-size:8.8px!important;
  font-style:normal!important;
  line-height:1.3!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.single-product .moon-purchase-progress .moon-wholesale-tier-summary b{font-weight:850!important}

.single-product .moon-swatches--images{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
  max-height:370px!important;
  margin:0!important;
  padding:8px 4px 8px 0!important;
  overflow:auto!important;
  border:0!important;
  scrollbar-color:#d8b9a8 transparent;
}
.single-product .moon-swatch--image{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  padding:4px!important;
  gap:5px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  background:transparent!important;
}
.single-product .moon-swatch--image .moon-swatch__image{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:11px!important;
  background:var(--moon-ui-surface)!important;
}
.single-product .moon-swatch--image .moon-swatch__image img{
  width:86%!important;
  height:86%!important;
  border-radius:8px!important;
  object-fit:contain!important;
}
.single-product .moon-swatch--image .moon-swatch__label{
  max-width:100%!important;
  color:var(--moon-ui-muted)!important;
  font-size:8.8px!important;
  line-height:1.2!important;
}
.single-product .moon-swatch:hover,
.single-product .moon-swatch.is-active{
  border-color:#e7b293!important;
  background:var(--moon-ui-accent-soft)!important;
}
.single-product .moon-swatch.is-active .moon-swatch__image{
  border-color:var(--moon-ui-accent)!important;
  box-shadow:0 0 0 2px rgba(229,118,60,.18)!important;
}
.single-product .moon-swatch.is-disabled{opacity:.38!important;filter:grayscale(.85)!important}
.single-product .moon-swatch.is-disabled .moon-swatch__image:after{
  content:"";
  position:absolute;
  top:50%;
  left:8%;
  width:84%;
  height:1px;
  background:#a76f62;
  transform:rotate(-32deg)
}
.single-product .moon-swatch--text{
  min-height:40px;
  padding:8px 12px;
  border-color:var(--moon-ui-line);
  border-radius:11px;
  background:var(--moon-ui-surface);
  color:var(--moon-ui-ink)
}

.single-product .woocommerce div.product div.images.woocommerce-product-gallery>.moon-variation-preview{
  grid-column:1!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 38px!important;
  gap:9px!important;
  width:100%!important;
  min-height:112px!important;
  height:auto!important;
  margin:0!important;
  padding:9px!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:18px!important;
  background:var(--moon-ui-surface-soft)!important;
  overflow:hidden!important;
}
.single-product .moon-variation-preview__track{grid-auto-columns:minmax(88px,104px)!important;gap:8px!important}
.single-product .moon-variation-preview__item{
  grid-template-rows:66px 17px!important;
  height:94px!important;
  padding:5px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-muted)!important;
}
.single-product .moon-variation-preview__item img{height:66px!important;border-radius:8px!important;background:var(--moon-ui-surface)!important}
.single-product .moon-variation-preview__item span{font-size:9px!important}
.single-product .moon-variation-preview__item.is-active{
  border-color:var(--moon-ui-accent)!important;
  background:var(--moon-ui-accent-soft)!important;
  color:var(--moon-ui-accent-strong)!important
}
.single-product .moon-variation-preview__item.is-disabled{opacity:.35}
.single-product .moon-variation-preview__arrow{
  border:1px solid var(--moon-ui-line)!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-ink)!important;
  box-shadow:none!important;
}

.single-product .woocommerce div.product .product_meta{
  margin:17px 0 0!important;
  padding-top:16px;
  border-top:1px solid var(--moon-ui-line);
  color:var(--moon-ui-muted)!important;
  font-size:10.5px!important;
  line-height:1.7!important;
}
.single-product .moon-product-assurance{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
  margin-top:13px;
  padding:12px 13px;
  border:1px solid var(--moon-ui-line);
  border-radius:14px;
  background:var(--moon-ui-surface-soft);
}
.single-product .moon-product-assurance span{display:flex;align-items:center;gap:8px;color:var(--moon-ui-muted);font-size:10.5px;font-weight:700;line-height:1.35}
.single-product .moon-product-assurance b{display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;border-radius:50%;background:#eaf4e6;color:#4f7947;font-size:10px}
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products{grid-column:1/-1!important;width:100%!important;min-width:0!important}
.single-product .woocommerce-tabs{margin-top:12px}

/* Related products retain the existing query and native product-card hooks. */
.single-product .related.products{
  margin-top:24px!important;
  padding:38px 0 0!important;
  border-top:1px solid var(--moon-ui-line)
}
.single-product .related.products>h2{
  margin:0 0 22px!important;
  color:var(--moon-ui-ink)!important;
  font-size:clamp(27px,3vw,38px)!important;
  line-height:1.16!important;
  letter-spacing:-.035em
}
.single-product .related.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
.single-product .related.products ul.products li.product{
  width:auto!important;
  margin:0!important;
  padding:8px 8px 14px!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:18px!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:none!important;
}
.single-product .related.products ul.products li.product:hover{border-color:#e5bea8!important;box-shadow:var(--moon-ui-shadow)!important;transform:translateY(-3px)}
.single-product .related.products ul.products li.product img{aspect-ratio:1/1!important;margin:0 0 11px!important;border-radius:13px!important;background:#faf8f6!important;object-fit:contain!important}

/* --------------------------------------------------------------------------
   Colour chart page and shortcode
   -------------------------------------------------------------------------- */
.moon-color-chart-page{
  padding:52px 0 80px!important;
  background:
    radial-gradient(circle at 88% 7%,rgba(240,145,90,.12),transparent 25%),
    var(--moon-ui-canvas)!important
}
.moon-color-chart-page__card{
  padding:clamp(24px,4vw,48px)!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:var(--moon-ui-radius-lg)!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:var(--moon-ui-shadow)!important
}
.moon-color-chart-page__header{max-width:760px;margin:0 auto 30px!important;text-align:center}
.moon-color-chart-page__header h1{margin:7px 0 10px!important;color:var(--moon-ui-ink);font-size:clamp(36px,5vw,58px)!important;letter-spacing:-.045em}
.moon-color-chart-page__header>p{color:var(--moon-ui-muted)!important;font-size:14px;line-height:1.65}
.moon-color-chart-disclaimer{
  width:fit-content;
  max-width:100%;
  margin:14px auto 0!important;
  padding:9px 12px;
  border:1px solid #efd9cb;
  border-radius:11px;
  background:var(--moon-ui-surface-soft);
  color:#7c5d4c!important;
  font-size:11px!important;
  line-height:1.45!important;
  text-align:center
}
.moon-color-chart-gallery{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
  margin:26px 0 0!important
}
.moon-color-chart-card{
  margin:0!important;
  overflow:hidden;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:18px!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:none!important;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease
}
.moon-color-chart-card:hover{border-color:#e6bea7!important;box-shadow:var(--moon-ui-shadow)!important;transform:translateY(-3px)}
.moon-color-chart-card img{display:block;width:100%!important;height:auto!important;background:var(--moon-ui-surface)!important}
.moon-color-chart-card figcaption{padding:14px 16px!important;border-top:1px solid var(--moon-ui-line);color:var(--moon-ui-ink)!important;font-size:13px;font-weight:800}
.moon-color-chart-note{padding:15px;border:1px solid var(--moon-ui-line);border-radius:13px;background:var(--moon-ui-surface-soft);color:var(--moon-ui-muted)}

/* --------------------------------------------------------------------------
   Cart — visual hierarchy only; native form, inputs and hooks stay untouched
   -------------------------------------------------------------------------- */
body.woocommerce-cart .moon-main,
body.woocommerce-cart .moon-woocommerce-main{background:var(--moon-ui-canvas)!important}
body.woocommerce-cart .moon-woocommerce-main>.moon-container{
  width:min(calc(100% - 48px),1320px)!important;
  padding-inline:0!important
}
body.woocommerce-cart .moon-content-card,
body.woocommerce-cart article.moon-content-card.moon-prose{
  padding:32px!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:var(--moon-ui-radius-lg)!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:var(--moon-ui-shadow)!important;
  overflow:visible!important
}
body.woocommerce-cart .moon-page-header h1,
body.woocommerce-cart .entry-title{color:var(--moon-ui-ink)!important;font-size:clamp(30px,4vw,44px)!important;letter-spacing:-.04em}
body.woocommerce-cart .moon-cart-continue{margin:0 0 18px!important}
body.woocommerce-cart .moon-cart-continue__link{
  min-height:40px;
  padding:8px 13px;
  border-color:var(--moon-ui-line);
  border-radius:11px;
  background:var(--moon-ui-surface-soft);
  color:var(--moon-ui-ink);
  box-shadow:none
}
body.woocommerce-cart table.shop_table.cart{
  margin:0!important;
  overflow:hidden;
  border:1px solid var(--moon-ui-line)!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  border-radius:18px!important;
  background:var(--moon-ui-surface)!important
}
body.woocommerce-cart table.shop_table.cart thead th{
  padding:12px 10px!important;
  border:0!important;
  border-bottom:1px solid var(--moon-ui-line)!important;
  background:var(--moon-ui-surface-soft)!important;
  color:var(--moon-ui-muted)!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.06em;
  text-transform:uppercase
}
body.woocommerce-cart table.shop_table.cart tbody td{
  padding-top:15px!important;
  padding-bottom:15px!important;
  border-color:var(--moon-ui-line)!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-ink)!important
}
body.woocommerce-cart table.shop_table.cart td.product-name a{color:var(--moon-ui-ink)!important;font-weight:780!important}
body.woocommerce-cart table.shop_table.cart dl.variation{color:var(--moon-ui-muted)!important;font-size:10px}
body.woocommerce-cart table.shop_table.cart .product-thumbnail img{
  border:1px solid var(--moon-ui-line)!important;
  border-radius:12px!important;
  background:#faf8f6!important;
  object-fit:contain!important
}
body.woocommerce-cart table.shop_table.cart .product-remove a.remove{
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#fff1eb!important;
  color:#b85137!important
}
body.woocommerce-cart table.shop_table.cart .quantity{
  overflow:hidden!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:11px!important;
  background:var(--moon-ui-surface)!important
}
body.woocommerce-cart table.shop_table.cart .quantity .qty{border:0!important;background:transparent!important;color:var(--moon-ui-ink)!important}
body.woocommerce-cart table.shop_table.cart td.product-subtotal{color:var(--moon-ui-accent-strong)!important;font-weight:850!important}
body.woocommerce-cart table.shop_table.cart button[name="update_cart"]{border-radius:11px!important}
body.woocommerce-cart .cart-collaterals .cart_totals{
  padding:22px!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:20px!important;
  background:var(--moon-ui-surface-soft)!important;
  box-shadow:none!important
}
body.woocommerce-cart .cart-collaterals .cart_totals h2{
  margin:0 0 14px!important;
  color:var(--moon-ui-ink)!important;
  font-size:23px!important;
  letter-spacing:-.025em
}
body.woocommerce-cart .cart-collaterals .shop_table{
  margin:0 0 14px!important;
  border:0!important;
  background:transparent!important
}
body.woocommerce-cart .cart-collaterals .shop_table th,
body.woocommerce-cart .cart-collaterals .shop_table td{
  padding:11px 0!important;
  border-color:var(--moon-ui-line)!important;
  color:var(--moon-ui-ink)!important
}
body.woocommerce-cart .cart-collaterals .order-total strong{color:var(--moon-ui-accent-strong)!important;font-size:20px}
body.woocommerce-cart .wc-proceed-to-checkout{padding:8px 0 0!important}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button{
  min-height:50px!important;
  margin:0!important;
  border-radius:13px!important;
  font-size:14px!important;
  box-shadow:0 10px 24px rgba(200,91,47,.2)!important
}
body.woocommerce-cart .moon-loyalty-checkout-box,
body.woocommerce-cart .moon-loyalty-quickbar,
body.woocommerce-cart [class*="moon-loyalty-"][class*="box"]{
  border-color:var(--moon-ui-line)!important;
  border-radius:15px!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-ink)!important;
  box-shadow:none!important
}
body.woocommerce-cart .moon-loyalty-quickbar__drawer{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface-soft)!important}
body.woocommerce-cart .moon-coupon-code{display:inline-flex;padding:3px 6px;border-radius:6px;background:var(--moon-ui-accent-soft);color:var(--moon-ui-accent-strong);font-size:9px;font-weight:850}

/* --------------------------------------------------------------------------
   My Account — navigation, dashboard cards, orders, forms and loyalty blocks
   -------------------------------------------------------------------------- */
body.woocommerce-account .moon-main,
body.woocommerce-account .moon-account-main{background:var(--moon-ui-canvas)!important}
body.woocommerce-account .moon-account-main>.moon-container{width:min(calc(100% - 48px),1380px)!important;padding-inline:0!important}
body.woocommerce-account .moon-account-wrap,
body.woocommerce-account article.moon-content-card.moon-prose{
  padding:34px 0 76px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important
}
body.woocommerce-account .woocommerce.moon-account-layout-ready{grid-template-columns:310px minmax(0,1fr)!important;gap:24px!important}
body.woocommerce-account .moon-account-nav{
  overflow:hidden!important;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:21px!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:var(--moon-ui-shadow)!important
}
body.woocommerce-account .moon-account-profile{
  min-height:116px;
  padding:20px;
  color:var(--moon-ui-ink);
  background:
    radial-gradient(circle at 90% 10%,rgba(255,255,255,.72),transparent 33%),
    linear-gradient(135deg,#fff7f1,#f8e8dd)
}
body.woocommerce-account .moon-account-profile__avatar img{width:60px;height:60px;border-color:#fff;box-shadow:0 7px 18px rgba(72,46,33,.11)}
body.woocommerce-account .moon-account-profile__identity span{color:var(--moon-ui-muted);opacity:1}
body.woocommerce-account .moon-account-profile__identity a{color:var(--moon-ui-accent-strong)}
body.woocommerce-account .moon-account-menu{padding:9px!important;background:var(--moon-ui-surface)!important}
body.woocommerce-account .moon-account-menu a{
  min-height:45px!important;
  padding:9px 10px!important;
  border-radius:11px!important;
  color:var(--moon-ui-muted)!important
}
body.woocommerce-account .moon-account-menu a:hover,
body.woocommerce-account .moon-account-menu .is-active>a,
body.woocommerce-account .moon-account-menu a[aria-current="page"]{
  background:var(--moon-ui-accent-soft)!important;
  color:var(--moon-ui-accent-strong)!important
}
body.woocommerce-account .moon-account-menu__icon{color:#a87760}
body.woocommerce-account .moon-account-menu__chevron{color:#c4aaa0}
body.woocommerce-account .moon-account-dashboard{gap:14px!important}
body.woocommerce-account .moon-account-welcome,
body.woocommerce-account .moon-account-completion,
body.woocommerce-account .moon-account-panel,
body.woocommerce-account .moon-account-voucher-shortcut,
body.woocommerce-account .moon-account-loyalty,
body.woocommerce-account .moon-loyalty-dashboard-card,
body.woocommerce-account .moon-loyalty-account__history,
body.woocommerce-account .moon-loyalty-account__facts article{
  border-color:var(--moon-ui-line)!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-ink)!important;
  box-shadow:none!important
}
body.woocommerce-account .moon-account-welcome{
  padding:24px 26px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,var(--moon-ui-surface),var(--moon-ui-surface-soft))!important
}
body.woocommerce-account .moon-account-welcome h1,
body.woocommerce-account .moon-account-panel__head h2{color:var(--moon-ui-ink)!important}
body.woocommerce-account .moon-account-welcome p{color:var(--moon-ui-muted)!important}
body.woocommerce-account .moon-account-completion{border-radius:14px!important;background:#fffaf0!important}
body.woocommerce-account .moon-account-panel{border-radius:19px!important;overflow:hidden!important}
body.woocommerce-account .moon-account-panel__head{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface-soft)}
body.woocommerce-account .moon-account-status,
body.woocommerce-account .moon-account-status strong{color:var(--moon-ui-ink)!important}
body.woocommerce-account .moon-account-status:hover{background:var(--moon-ui-surface-soft)!important}
body.woocommerce-account .moon-account-status:not(:last-child):after{background:var(--moon-ui-line)!important}
body.woocommerce-account .moon-account-quick-grid>a,
body.woocommerce-account .moon-account-feature{color:var(--moon-ui-ink)!important;background:var(--moon-ui-surface)!important;border-color:var(--moon-ui-line)!important}
body.woocommerce-account .moon-account-quick-grid>a:hover,
body.woocommerce-account .moon-account-feature:hover{background:var(--moon-ui-surface-soft)!important}
body.woocommerce-account .moon-account-order-row{border-color:var(--moon-ui-line)!important}
body.woocommerce-account .moon-account-order-row__main strong,
body.woocommerce-account .moon-account-order-row__total strong{color:var(--moon-ui-ink)!important}
body.woocommerce-account .moon-account-order-row__main small{color:var(--moon-ui-muted)!important}
body.woocommerce-account .moon-account-loyalty,
body.woocommerce-account .moon-loyalty-dashboard-card{
  border-radius:18px!important;
  background:
    radial-gradient(circle at 92% 10%,rgba(255,255,255,.75),transparent 30%),
    linear-gradient(135deg,#fff7ef,#ffeadc)!important
}
body.woocommerce-account .moon-account-voucher-shortcut{border-radius:18px!important;background:linear-gradient(135deg,#fff,#fff8f2)!important}
body.woocommerce-account .moon-account-voucher-shortcut__copy strong,
body.woocommerce-account .moon-account-loyalty__copy strong,
body.woocommerce-account .moon-loyalty-dashboard-card__copy>strong{color:var(--moon-ui-ink)!important}
body.woocommerce-account .moon-account-voucher-shortcut__copy span,
body.woocommerce-account .moon-account-loyalty__copy span,
body.woocommerce-account .moon-loyalty-dashboard-card__copy p{color:var(--moon-ui-muted)!important}
body.woocommerce-account .moon-order-tabs{
  border:1px solid var(--moon-ui-line)!important;
  border-radius:16px!important;
  background:var(--moon-ui-surface)!important;
  box-shadow:none!important
}
body.woocommerce-account .moon-order-tabs__item{color:var(--moon-ui-muted)!important}
body.woocommerce-account .moon-order-tabs__item.is-active{color:var(--moon-ui-accent-strong)!important}
body.woocommerce-account .moon-order-tabs__item.is-active:after{background:var(--moon-ui-accent)!important}
body.woocommerce-account .moon-order-tabs__heading h2{color:var(--moon-ui-ink)!important}
body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account .woocommerce-table--order-details{
  overflow:hidden;
  border:1px solid var(--moon-ui-line)!important;
  border-radius:16px!important;
  background:var(--moon-ui-surface)!important
}
body.woocommerce-account .woocommerce-orders-table th,
body.woocommerce-account .woocommerce-table--order-details th{background:var(--moon-ui-surface-soft)!important;color:var(--moon-ui-muted)!important}
body.woocommerce-account .woocommerce-orders-table td,
body.woocommerce-account .woocommerce-table--order-details td{border-color:var(--moon-ui-line)!important;color:var(--moon-ui-ink)!important}
body.woocommerce-account .woocommerce-MyAccount-content form,
body.woocommerce-account #customer_login>.u-column1,
body.woocommerce-account #customer_login>.u-column2,
body.woocommerce-account .woocommerce-Address{
  border-color:var(--moon-ui-line)!important;
  border-radius:18px!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-ink)!important;
  box-shadow:none!important
}
body.woocommerce-account .woocommerce-MyAccount-content input,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea{
  border-color:var(--moon-ui-line)!important;
  border-radius:11px!important;
  background:var(--moon-ui-surface)!important;
  color:var(--moon-ui-ink)!important
}

/* --------------------------------------------------------------------------
   Product/cart/account tablet
   -------------------------------------------------------------------------- */
@media (min-width:783px) and (max-width:1099px){
  .single-product .moon-woocommerce-main>.moon-container,
  body.woocommerce-cart .moon-woocommerce-main>.moon-container,
  body.woocommerce-account .moon-account-main>.moon-container{width:min(calc(100% - 32px),1060px)!important}
  .single-product .woocommerce div.product{grid-template-columns:minmax(0,55fr) minmax(350px,45fr)!important;gap:22px!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery{grid-template-rows:480px auto!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.flex-viewport,
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{height:480px!important;min-height:480px!important}
  .single-product .woocommerce div.product div.summary{position:static!important;padding:21px!important}
  .single-product .moon-purchase-actions .woocommerce-variation-add-to-cart,
  .single-product .moon-purchase-actions .moon-simple-purchase-actions{grid-template-columns:88px minmax(0,1fr)!important;grid-template-rows:44px 44px!important}
  .single-product .moon-purchase-actions .quantity{grid-row:1/3!important;width:88px!important;min-width:88px!important;height:96px!important}
  .single-product .moon-purchase-actions .quantity .qty,
  .single-product .moon-qty-step{height:94px!important}
  .single-product .moon-purchase-actions .single_add_to_cart_button,
  .single-product .moon-purchase-actions .moon-buy-now{grid-column:2!important;min-height:44px!important;height:44px!important}
  .single-product .moon-swatches--images{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .single-product .related.products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
  body.woocommerce-account .woocommerce.moon-account-layout-ready{grid-template-columns:250px minmax(0,1fr)!important;gap:18px!important}
}

/* --------------------------------------------------------------------------
   Product, related, colour chart, cart and account mobile
   -------------------------------------------------------------------------- */
@media (max-width:782px){
  .single-product .moon-woocommerce-main>.moon-container{width:100%!important;padding-inline:9px!important}
  .single-product .moon-single-product-wrap{padding:12px 0 50px!important}
  .single-product .woocommerce div.product{display:block!important}
  .single-product .woocommerce div.product div.images,
  .single-product .woocommerce div.product div.summary{width:100%!important;position:relative!important;top:auto!important}
  .single-product .woocommerce div.product div.images{margin:0 0 15px!important;padding:0!important;background:transparent!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery{
    display:grid!important;
    grid-template-columns:66px minmax(0,1fr)!important;
    grid-template-rows:min(88vw,390px)!important;
    gap:8px!important;
    min-height:0!important
  }
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.flex-viewport,
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    height:min(88vw,390px)!important;
    min-height:300px!important;
    border-radius:18px!important;
    box-shadow:none!important
  }
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.moon-variation-preview{
    grid-column:1!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:28px minmax(0,1fr) 28px!important;
    gap:4px!important;
    width:66px!important;
    min-width:66px!important;
    height:min(88vw,390px)!important;
    min-height:300px!important;
    padding:5px!important;
    border-radius:15px!important
  }
  .single-product .moon-variation-preview__viewport{width:100%!important;height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
  .single-product .moon-variation-preview__track{display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important;min-width:0!important}
  .single-product .moon-variation-preview__item{
    display:grid!important;
    grid-template-rows:43px 10px!important;
    width:54px!important;
    min-width:54px!important;
    height:59px!important;
    padding:3px!important;
    border-radius:9px!important
  }
  .single-product .moon-variation-preview__item img{width:100%!important;height:43px!important;border-radius:6px!important}
  .single-product .moon-variation-preview__item span{height:10px!important;font-size:6.8px!important;line-height:10px!important}
  .single-product .moon-variation-preview__arrow{width:28px!important;height:28px!important;min-width:28px!important;margin:auto!important;font-size:17px!important}
  .single-product .woocommerce div.product div.summary{
    padding:16px!important;
    border-radius:20px!important;
    box-shadow:none!important
  }
  .single-product .woocommerce div.product .product_title{margin:0 0 8px!important;font-size:24px!important;line-height:1.16!important}
  .single-product .woocommerce-product-details__short-description{margin-bottom:12px!important;font-size:12px!important;line-height:1.55!important}
  .single-product .moon-purchase-row{
    position:sticky!important;
    top:66px!important;
    z-index:35!important;
    display:grid!important;
    grid-template-columns:minmax(92px,.82fr) minmax(0,1.18fr)!important;
    grid-template-rows:auto auto!important;
    grid-template-areas:"price progress" "actions actions"!important;
    gap:6px!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    margin:0 0 8px!important;
    padding:6px!important;
    border:1px solid var(--moon-ui-line)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 10px 26px rgba(48,40,36,.11)!important;
    backdrop-filter:blur(12px)!important
  }
  .admin-bar.single-product .moon-purchase-row{top:112px!important}
  .single-product .moon-purchase-price{
    min-height:48px!important;
    padding:7px 8px!important;
    border-radius:10px!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important
  }
  .single-product .moon-purchase-price:before{font-size:7.5px}
  .single-product .moon-purchase-price p.price,
  .single-product .moon-purchase-price span.price{font-size:16px!important;line-height:1.1!important;text-align:left!important}
  .single-product .moon-purchase-progress{grid-area:progress!important;display:block!important;width:100%!important;height:auto!important;min-height:48px!important}
  .single-product .moon-purchase-progress .mgkv-wholesale-live{
    min-height:48px!important;
    height:100%!important;
    padding:6px 8px 12px!important;
    gap:1px!important;
    border-radius:10px!important
  }
  .single-product .moon-purchase-progress .mgkv-wholesale-live:before,
  .single-product .moon-purchase-progress .mgkv-wholesale-live:after{bottom:6px;height:3px}
  .single-product .moon-purchase-progress .mgkv-wholesale-live:before{right:8px;left:8px}
  .single-product .moon-purchase-progress .mgkv-wholesale-live:after{left:8px;max-width:calc(100% - 16px)}
  .single-product .moon-purchase-progress .mgkv-wholesale-live>strong{font-size:8.8px!important;line-height:1.16!important}
  .single-product .moon-purchase-progress .mgkv-wholesale-live>span{display:block!important;font-size:7.2px!important;line-height:1.15!important}
  body.single-product .moon-purchase-progress .mgkv-wholesale-live>.moon-wholesale-tier-summary{display:none!important}
  .single-product .moon-purchase-actions{grid-area:actions!important;width:100%!important}
  .single-product .moon-purchase-actions .woocommerce-variation-add-to-cart,
  .single-product .moon-purchase-actions .moon-simple-purchase-actions{
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:38px!important;
    gap:5px!important;
    width:100%!important;
    height:auto!important
  }
  .single-product .moon-purchase-actions .quantity{
    grid-column:1!important;
    grid-row:1!important;
    grid-template-columns:22px minmax(26px,1fr) 22px!important;
    width:78px!important;
    min-width:78px!important;
    height:38px!important;
    border-radius:9px!important
  }
  .single-product .moon-purchase-actions .quantity .qty,
  .single-product .moon-qty-step{height:36px!important;font-size:12px!important}
  .single-product .moon-qty-step{width:22px!important;font-size:16px!important}
  .single-product .moon-purchase-actions .single_add_to_cart_button,
  .single-product .moon-purchase-actions .moon-buy-now{
    grid-row:1!important;
    min-height:38px!important;
    height:38px!important;
    padding:5px!important;
    border-radius:9px!important;
    font-size:10.5px!important;
    line-height:1.1!important
  }
  .single-product .moon-inline-stock{display:none!important}
  .single-product .woocommerce div.product form.cart .variations label{margin:12px 0 7px!important;font-size:10px!important}
  .single-product .moon-swatches--images{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:5px!important;
    max-height:none!important;
    padding:4px 0!important;
    overflow:visible!important
  }
  .single-product .moon-swatch--image{padding:3px!important;border-radius:9px!important}
  .single-product .moon-swatch--image .moon-swatch__image{border-radius:8px!important}
  .single-product .moon-swatch--image .moon-swatch__label{font-size:7.5px!important}
  .single-product .moon-product-assurance{padding:10px}
  .single-product .moon-product-assurance span{font-size:9.5px}
  .single-product .woocommerce-tabs{margin-top:18px}
  .single-product .related.products{margin-top:28px!important;padding-top:28px!important}
  .single-product .related.products>h2{margin-bottom:16px!important;font-size:26px!important}
  .single-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .single-product .related.products ul.products li.product{padding:6px 6px 10px!important;border-radius:14px!important}

  .moon-color-chart-page{padding:24px 0 54px!important}
  .moon-color-chart-page>.moon-container{width:min(calc(100% - 18px),var(--moon-max))}
  .moon-color-chart-page__card{padding:22px 12px!important;border-radius:20px!important}
  .moon-color-chart-page__header{margin-bottom:20px!important}
  .moon-color-chart-page__header h1{font-size:36px!important}
  .moon-color-chart-page__header>p{font-size:12px}
  .moon-color-chart-disclaimer{margin-top:11px!important;padding:8px 9px;font-size:9.5px!important}
  .moon-color-chart-gallery{grid-template-columns:1fr!important;gap:13px!important;margin-top:20px!important}
  .moon-color-chart-card{border-radius:14px!important}
  .moon-color-chart-card figcaption{padding:11px 12px!important;font-size:11px}

  body.woocommerce-cart .moon-woocommerce-main>.moon-container{width:100%!important;padding-inline:8px!important}
  body.woocommerce-cart .moon-content-card,
  body.woocommerce-cart article.moon-content-card.moon-prose{
    width:100%!important;
    padding:12px 8px 28px!important;
    border-right:0!important;
    border-left:0!important;
    border-radius:0!important;
    box-shadow:none!important
  }
  body.woocommerce-cart .moon-cart-continue{margin-bottom:10px!important}
  body.woocommerce-cart .moon-cart-continue__link{min-height:36px;padding:7px 10px;font-size:10.5px}
  body.woocommerce-cart table.shop_table.cart tr.cart_item{
    margin:0 0 9px!important;
    padding:10px!important;
    border:1px solid var(--moon-ui-line)!important;
    border-radius:14px!important;
    background:var(--moon-ui-surface)!important;
    box-shadow:none!important
  }
  body.woocommerce-cart table.shop_table.cart tr.cart_item td{background:transparent!important}
  body.woocommerce-cart table.shop_table.cart .product-thumbnail img{width:64px!important;height:64px!important}
  body.woocommerce-cart table.shop_table.cart td.product-name,
  body.woocommerce-cart table.shop_table.cart td.product-name a{font-size:12px!important;line-height:1.35!important}
  body.woocommerce-cart table.shop_table.cart td.product-subtotal{font-size:12px!important}
  body.woocommerce-cart .cart-collaterals .cart_totals{
    max-width:none!important;
    padding:17px!important;
    border-radius:17px!important
  }
  body.woocommerce-cart .cart-collaterals .cart_totals h2{font-size:20px!important}
  body.woocommerce-cart .moon-loyalty-checkout-box,
  body.woocommerce-cart .moon-loyalty-quickbar{border-radius:13px!important}

  body.woocommerce-account .moon-account-main>.moon-container{width:100%!important;padding-inline:8px!important}
  body.woocommerce-account .moon-account-wrap,
  body.woocommerce-account article.moon-content-card.moon-prose{
    width:100%!important;
    padding:10px 0 36px!important
  }
  body.woocommerce-account .woocommerce.moon-account-layout-ready{display:block!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation.moon-account-nav{
    width:100%!important;
    margin:0 0 10px!important;
    border-radius:18px!important
  }
  body.woocommerce-account .moon-account-profile{min-height:92px;padding:14px 15px}
  body.woocommerce-account .moon-account-menu{
    display:flex!important;
    gap:4px!important;
    padding:7px!important;
    overflow-x:auto!important;
    scroll-snap-type:x proximity
  }
  body.woocommerce-account .moon-account-menu li{flex:0 0 78px!important;scroll-snap-align:start}
  body.woocommerce-account .moon-account-menu a{
    display:flex!important;
    min-height:64px!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:5px!important;
    padding:6px 4px!important;
    text-align:center!important
  }
  body.woocommerce-account .moon-account-menu__label{font-size:9px!important;line-height:1.15!important;white-space:normal!important}
  body.woocommerce-account .moon-account-menu__chevron{display:none!important}
  body.woocommerce-account .moon-account-dashboard{gap:10px!important}
  body.woocommerce-account .moon-account-welcome{padding:16px!important;border-radius:16px!important}
  body.woocommerce-account .moon-account-welcome h1{font-size:20px!important}
  body.woocommerce-account .moon-account-panel{border-radius:16px!important}
  body.woocommerce-account .moon-account-status-grid{padding:12px 2px 14px!important}
  body.woocommerce-account .moon-account-voucher-shortcut,
  body.woocommerce-account .moon-account-loyalty,
  body.woocommerce-account .moon-loyalty-dashboard-card{border-radius:16px!important}
  body.woocommerce-account .moon-order-tabs{overflow-x:auto!important;border-radius:13px!important}
  body.woocommerce-account .moon-order-tabs__track{width:max-content;min-width:100%}
  body.woocommerce-account .woocommerce-orders-table tr{
    border-color:var(--moon-ui-line)!important;
    border-radius:13px!important;
    background:var(--moon-ui-surface)!important
  }
  body.woocommerce-account .woocommerce-MyAccount-content form,
  body.woocommerce-account #customer_login>.u-column1,
  body.woocommerce-account #customer_login>.u-column2,
  body.woocommerce-account .woocommerce-Address{padding:15px!important;border-radius:15px!important}
}

@media (max-width:380px){
  .single-product .moon-woocommerce-main>.moon-container{padding-inline:6px!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery{grid-template-columns:60px minmax(0,1fr)!important;gap:6px!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.moon-variation-preview{width:60px!important;min-width:60px!important}
  .single-product .moon-variation-preview__item{width:48px!important;min-width:48px!important}
  .single-product .woocommerce div.product div.summary{padding:13px!important}
  .single-product .moon-purchase-row{grid-template-columns:86px minmax(0,1fr)!important;padding:5px!important}
  .single-product .moon-purchase-actions .woocommerce-variation-add-to-cart,
  .single-product .moon-purchase-actions .moon-simple-purchase-actions{grid-template-columns:72px minmax(0,1fr) minmax(0,1fr)!important;gap:4px!important}
  .single-product .moon-purchase-actions .quantity{grid-template-columns:20px minmax(24px,1fr) 20px!important;width:72px!important;min-width:72px!important}
  .single-product .moon-purchase-actions .single_add_to_cart_button,
  .single-product .moon-purchase-actions .moon-buy-now{font-size:9.5px!important}
  .single-product .moon-swatches--images{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
  body.woocommerce-cart .moon-woocommerce-main>.moon-container,
  body.woocommerce-account .moon-account-main>.moon-container{padding-inline:5px!important}
}

/* --------------------------------------------------------------------------
   Dark mode — warm brown/black surfaces, not a direct colour inversion
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme:dark){
  :root{
    color-scheme:dark;
    --moon-ui-canvas:#171310;
    --moon-ui-surface:#211b18;
    --moon-ui-surface-soft:#29211d;
    --moon-ui-surface-warm:#33231b;
    --moon-ui-ink:#f4ece7;
    --moon-ui-muted:#b8aaa1;
    --moon-ui-line:#44362f;
    --moon-ui-accent:#ef844c;
    --moon-ui-accent-strong:#ff9a61;
    --moon-ui-accent-soft:#3a261e;
    --moon-ui-shadow:0 18px 48px rgba(0,0,0,.24);
    --moon-ui-shadow-hover:0 24px 60px rgba(0,0,0,.34);
    --moon-loyalty-ink:#f4ece7;
    --moon-loyalty-muted:#b8aaa1;
    --moon-loyalty-line:#44362f;
    --moon-loyalty-soft:#29211d
  }
  html,body{background:var(--moon-ui-canvas);color:var(--moon-ui-ink)}
  .moon-topbar{border-color:var(--moon-ui-line);background:#1e1815;color:var(--moon-ui-muted)}
  .moon-topbar__links a{color:var(--moon-ui-muted)}
  .moon-site-header,.moon-site-header.is-scrolled{border-color:var(--moon-ui-line);background:rgba(29,24,21,.96);box-shadow:0 10px 28px rgba(0,0,0,.22)}
  .moon-logo-wrap img,.moon-logo-wrap .custom-logo{border-color:#4c382e}
  .moon-header-brand-copy strong{color:var(--moon-ui-ink)}
  .moon-header-brand-copy small{color:var(--moon-ui-muted)}
  .moon-menu>li>a{color:#d8ccc5}
  .moon-menu>li:hover>a,.moon-menu>.current-menu-item>a,.moon-menu>.current-menu-ancestor>a{background:#36251e;color:var(--moon-ui-accent-strong)}
  .moon-menu .sub-menu,.moon-mobile-nav{border-color:var(--moon-ui-line);background:var(--moon-ui-surface);box-shadow:var(--moon-ui-shadow-hover)}
  .moon-header-actions .moon-icon-button{border-color:var(--moon-ui-line);background:#261f1b;color:var(--moon-ui-ink)}
  .moon-header-actions .moon-icon-button:hover{border-color:#6c4938;background:#36251e;color:var(--moon-ui-accent-strong)}
  .moon-search-panel{border-color:var(--moon-ui-line);background:rgba(29,24,21,.98);box-shadow:var(--moon-ui-shadow)}
  .moon-search-form{border-color:var(--moon-ui-line);background:#171310}
  .moon-search-form input{color:var(--moon-ui-ink)}
  .moon-mobile-nav__support{border-color:var(--moon-ui-line);background:#2b211c}

  .moon-home,.moon-hero,.moon-categories-section,
  .woocommerce-shop,.tax-product_cat,.tax-product_tag{background:var(--moon-ui-canvas)}
  .moon-hero{
    border-color:var(--moon-ui-line);
    background:
      radial-gradient(circle at 82% 16%,rgba(239,132,76,.12),transparent 27%),
      radial-gradient(circle at 12% 86%,rgba(150,103,77,.13),transparent 30%),
      linear-gradient(135deg,#181411 0%,#221915 48%,#2e1f19 100%)
  }
  .moon-hero .moon-eyebrow,.moon-hero-benefit{border-color:var(--moon-ui-line);background:rgba(39,31,27,.86)}
  .moon-hero__content h1,.moon-home .moon-section-heading h2,.moon-category-showcase .moon-category-card__body strong{color:var(--moon-ui-ink)}
  .moon-hero__content>p,.moon-home .moon-section-heading p,.moon-hero-benefit span{color:var(--moon-ui-muted)}
  .moon-hero-benefit strong{color:#e8ddd7}
  .moon-hero-product{border-color:var(--moon-ui-line);background:#28201c;box-shadow:0 24px 60px rgba(0,0,0,.32)}
  .moon-hero-product img,.moon-category-showcase .moon-category-card img{background:#f8f4f0}
  .moon-home .moon-section--white,.moon-home .moon-products-section:nth-of-type(even),.moon-chart-home{border-color:var(--moon-ui-line);background:#1c1714}
  .moon-home .moon-section-heading .moon-text-link,
  .moon-category-showcase .moon-category-card{border-color:var(--moon-ui-line);background:var(--moon-ui-surface);color:var(--moon-ui-ink)}
  .moon-category-card__image{background:#2b2420}
  .moon-home .moon-products-section ul.products li.product,
  .moon-gutenberg-dynamic-section ul.products li.product,
  .moon-shop-content ul.products li.product,
  .single-product .related.products ul.products li.product{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface)!important}
  .moon-home .moon-products-section ul.products li.product a img,
  .moon-gutenberg-dynamic-section ul.products li.product a img,
  .moon-shop-content ul.products li.product a img,
  .single-product .related.products ul.products li.product img{background:#f8f4f0!important}
  .moon-home .moon-products-section ul.products li.product .woocommerce-loop-product__title,
  .moon-gutenberg-dynamic-section ul.products li.product .woocommerce-loop-product__title,
  .moon-shop-content ul.products li.product .woocommerce-loop-product__title{color:var(--moon-ui-ink)!important}
  .moon-variant-hint{color:var(--moon-ui-muted)}
  .moon-review-card,.moon-blog-card{border-color:var(--moon-ui-line);background:var(--moon-ui-surface);color:var(--moon-ui-ink)}

  .moon-shop-content .woocommerce-products-header{border-color:var(--moon-ui-line);background:linear-gradient(135deg,var(--moon-ui-surface),#2d211b)}
  .moon-shop-content .woocommerce-products-header__title,.moon-filter-head h2,.moon-filter-group h3{color:var(--moon-ui-ink)}
  .moon-shop-content .term-description,.moon-shop-toolbar .woocommerce-result-count,.moon-active-filters__label{color:var(--moon-ui-muted)}
  .moon-shop-toolbar,.moon-shop-sidebar{border-color:var(--moon-ui-line);background:var(--moon-ui-surface)}
  .moon-shop-toolbar .woocommerce-ordering select,.moon-price-fields input{border-color:var(--moon-ui-line);background:#191512;color:var(--moon-ui-ink)}
  .moon-filter-group{border-color:var(--moon-ui-line)}
  .moon-filter-list a{color:var(--moon-ui-muted)}
  .moon-filter-list a:hover,.moon-filter-list a.is-active{background:var(--moon-ui-accent-soft);color:var(--moon-ui-accent-strong)}
  .moon-filter-chip{border-color:#70462f;background:#36241c;color:#f0a477}
  .moon-shop-content nav.woocommerce-pagination ul li a,
  .moon-shop-content nav.woocommerce-pagination ul li span{border-color:var(--moon-ui-line);background:var(--moon-ui-surface);color:var(--moon-ui-ink)}

  .single-product .woocommerce div.product div.summary,
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.flex-viewport,
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper,
  .single-product .woocommerce div.product div.images img{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface)!important}
  .single-product .moon-purchase-price{border-color:#5b3d2e!important;background:var(--moon-ui-surface-warm)!important}
  .single-product .moon-purchase-price:before{color:#c39883}
  .single-product .moon-purchase-progress .mgkv-wholesale-live{border-color:#5b4033!important;background:linear-gradient(135deg,#2a201b,#34241d)!important;color:#e8b999!important}
  .single-product .moon-purchase-progress .mgkv-wholesale-live:before{background:#4a382f}
  .single-product .moon-purchase-progress .mgkv-wholesale-live.is-qualified{border-color:#3e5c43!important;background:linear-gradient(135deg,#1e2b21,#243526)!important;color:#a7d3a8!important}
  body.single-product .moon-purchase-progress .moon-wholesale-tier-summary>span{border-color:#5e4031!important;background:rgba(22,17,14,.45)!important}
  .single-product .moon-purchase-actions .quantity,
  .single-product .moon-purchase-actions .moon-buy-now{border-color:var(--moon-ui-line)!important;background:#1a1512!important;color:var(--moon-ui-accent-strong)!important}
  .single-product .moon-qty-step,.single-product .moon-purchase-actions .quantity .qty{color:var(--moon-ui-ink)!important}
  .single-product .moon-inline-stock{background:#233224!important;color:#a4cca0!important}
  .single-product .moon-swatch--image .moon-swatch__image,
  .single-product .moon-variation-preview__item,
  .single-product .moon-variation-preview__arrow{border-color:var(--moon-ui-line)!important;background:#1b1613!important;color:var(--moon-ui-ink)!important}
  .single-product .moon-swatch--image .moon-swatch__image img,
  .single-product .moon-variation-preview__item img{background:#f8f4f0!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.moon-variation-preview,
  .single-product .moon-product-assurance{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface-soft)!important}
  .single-product .moon-product-assurance b{background:#29402c;color:#b5d8b0}
  .single-product .woocommerce div.product .product_meta,.single-product .related.products{border-color:var(--moon-ui-line)}
  .single-product .related.products>h2{color:var(--moon-ui-ink)!important}

  .moon-color-chart-page{background:radial-gradient(circle at 88% 7%,rgba(239,132,76,.08),transparent 25%),var(--moon-ui-canvas)!important}
  .moon-color-chart-page__card,.moon-color-chart-card{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface)!important}
  .moon-color-chart-card img{background:#f8f4f0!important}
  .moon-color-chart-disclaimer{border-color:#5e4032;background:#30221b;color:#d0ad99!important}

  body.woocommerce-cart .moon-content-card,
  body.woocommerce-cart article.moon-content-card.moon-prose,
  body.woocommerce-cart table.shop_table.cart,
  body.woocommerce-cart table.shop_table.cart tbody td,
  body.woocommerce-cart table.shop_table.cart tr.cart_item,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-cart .moon-loyalty-checkout-box,
  body.woocommerce-cart .moon-loyalty-quickbar{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface)!important;color:var(--moon-ui-ink)!important}
  body.woocommerce-cart table.shop_table.cart thead th,
  body.woocommerce-cart .moon-loyalty-quickbar__drawer{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface-soft)!important;color:var(--moon-ui-muted)!important}
  body.woocommerce-cart table.shop_table.cart .product-thumbnail img{background:#f8f4f0!important}
  body.woocommerce-cart table.shop_table.cart .product-remove a.remove{background:#3b211c!important;color:#ef997d!important}
  body.woocommerce-cart .moon-cart-continue__link{border-color:var(--moon-ui-line);background:var(--moon-ui-surface-soft);color:var(--moon-ui-ink)}
  body.woocommerce-cart .moon-loyalty-quickbar__copy strong,
  body.woocommerce-cart .moon-loyalty-checkout-box__head strong{color:var(--moon-ui-ink)!important}
  body.woocommerce-cart .moon-loyalty-quickbar__copy small,
  body.woocommerce-cart .moon-loyalty-checkout-box__hint{color:var(--moon-ui-muted)!important}

  body.woocommerce-account .moon-account-nav,
  body.woocommerce-account .moon-account-menu,
  body.woocommerce-account .moon-account-welcome,
  body.woocommerce-account .moon-account-completion,
  body.woocommerce-account .moon-account-panel,
  body.woocommerce-account .moon-account-voucher-shortcut,
  body.woocommerce-account .moon-account-loyalty,
  body.woocommerce-account .moon-loyalty-dashboard-card,
  body.woocommerce-account .moon-order-tabs,
  body.woocommerce-account .woocommerce-orders-table,
  body.woocommerce-account .woocommerce-table--order-details,
  body.woocommerce-account .woocommerce-MyAccount-content form,
  body.woocommerce-account #customer_login>.u-column1,
  body.woocommerce-account #customer_login>.u-column2,
  body.woocommerce-account .woocommerce-Address{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface)!important;color:var(--moon-ui-ink)!important}
  body.woocommerce-account .moon-account-profile{background:radial-gradient(circle at 90% 10%,rgba(239,132,76,.12),transparent 33%),linear-gradient(135deg,#2d211b,#35241c);color:var(--moon-ui-ink)}
  body.woocommerce-account .moon-account-panel__head,
  body.woocommerce-account .woocommerce-orders-table th,
  body.woocommerce-account .woocommerce-table--order-details th{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface-soft)!important;color:var(--moon-ui-muted)!important}
  body.woocommerce-account .moon-account-completion{background:#2d251b!important}
  body.woocommerce-account .moon-account-voucher-shortcut,
  body.woocommerce-account .moon-account-loyalty,
  body.woocommerce-account .moon-loyalty-dashboard-card{background:radial-gradient(circle at 92% 10%,rgba(239,132,76,.11),transparent 30%),linear-gradient(135deg,#2b201a,#34231c)!important}
  body.woocommerce-account .moon-account-quick-grid>a,
  body.woocommerce-account .moon-account-feature{border-color:var(--moon-ui-line)!important;background:var(--moon-ui-surface)!important;color:var(--moon-ui-ink)!important}
  body.woocommerce-account .moon-account-quick-grid>a:hover,
  body.woocommerce-account .moon-account-feature:hover{background:var(--moon-ui-surface-soft)!important}
  body.woocommerce-account .woocommerce-orders-table tr{background:var(--moon-ui-surface)!important}
  body.woocommerce-account .moon-loyalty-account__hero{background:radial-gradient(circle at 90% 5%,rgba(255,255,255,.1),transparent 34%),linear-gradient(135deg,#b64f28,#71301d)}

  input,select,textarea{border-color:var(--moon-ui-line);background:#191512;color:var(--moon-ui-ink)}
  ::placeholder{color:#8f8179}
  @media (max-width:782px){
    .moon-site-header,.moon-site-header.is-scrolled{background:rgba(29,24,21,.98)}
    .single-product .moon-purchase-row{border-color:var(--moon-ui-line)!important;background:rgba(33,27,24,.97)!important;box-shadow:0 10px 28px rgba(0,0,0,.34)!important}
    body.woocommerce-cart .moon-content-card,
    body.woocommerce-cart article.moon-content-card.moon-prose{background:transparent!important}
  }
}

/* --------------------------------------------------------------------------
   2.3.91 hotfix — restore the established mobile account geometry and keep
   the two purchase CTAs in separate grid cells. No WooCommerce behaviour.
   -------------------------------------------------------------------------- */
@media (max-width:782px){
  body.moon-account-page-ready .moon-main,
  body.moon-account-page-ready .moon-main > .moon-container{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important
  }
  body.moon-account-page-ready article.moon-content-card.moon-prose{
    width:100vw!important;
    max-width:none!important;
    margin:0 calc(50% - 50vw)!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important
  }
  body.moon-account-page-ready article.moon-content-card.moon-prose > .woocommerce.moon-account-layout-ready,
  body.moon-account-page-ready article.moon-content-card.moon-prose > .woocommerce{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important
  }
  body.moon-account-page-ready .woocommerce-MyAccount-navigation.moon-account-nav{
    width:100vw!important;
    max-width:none!important;
    margin:0 calc(50% - 50vw) 8px!important;
    border-radius:0 0 14px 14px!important
  }
  body.moon-account-page-ready .moon-account-menu{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:2px!important;
    padding:7px 4px 5px!important;
    overflow:visible!important;
    scroll-snap-type:none!important
  }
  body.moon-account-page-ready .moon-account-menu li{
    flex:initial!important;
    min-width:0!important;
    scroll-snap-align:none!important
  }
  body.moon-account-page-ready .moon-account-menu a{
    min-height:64px!important;
    padding:7px 2px!important
  }
  body.moon-account-page-ready .woocommerce-MyAccount-content{
    width:100vw!important;
    max-width:none!important;
    min-width:0!important;
    margin:0 calc(50% - 50vw)!important;
    padding:0 0 14px!important;
    overflow:visible!important
  }
  body.moon-account-page-ready .woocommerce-MyAccount-content > *,
  body.moon-account-page-ready .moon-account-dashboard,
  body.moon-account-page-ready .moon-account-dashboard > *{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important
  }
  body.moon-account-page-ready .moon-account-dashboard{padding:0 0 8px!important;gap:10px!important}
  body.moon-account-page-ready .moon-account-dashboard > section,
  body.moon-account-page-ready .moon-account-dashboard > div,
  body.moon-account-page-ready .moon-account-dashboard > article{
    border-radius:0!important;
    margin-left:0!important;
    margin-right:0!important
  }
  body.moon-account-page-ready .moon-account-welcome,
  body.moon-account-page-ready .moon-account-completion,
  body.moon-account-page-ready .moon-account-panel,
  body.moon-account-page-ready .moon-account-loyalty{
    padding-left:14px!important;
    padding-right:14px!important
  }
  .single-product .moon-purchase-actions .single_add_to_cart_button{
    grid-column:2!important;
    grid-row:1!important
  }
  .single-product .moon-purchase-actions .moon-buy-now{
    grid-column:3!important;
    grid-row:1!important
  }
}

/* --------------------------------------------------------------------------
   2.3.93 product mobile follow-up — retain dynamic WooCommerce price markup
   and divide the existing purchase controls into equal touch targets.
   -------------------------------------------------------------------------- */
@media (max-width:782px){
  .single-product .moon-purchase-row{
    grid-template-columns:minmax(92px,.82fr) minmax(0,1.18fr)!important
  }
  .single-product .moon-purchase-price :is(p.price,span.price){
    display:flex!important;
    align-items:baseline!important;
    gap:6px!important;
    white-space:nowrap!important
  }
  .single-product .moon-purchase-price :is(p.price,span.price) del{
    color:var(--moon-ui-muted)!important;
    font-size:.82em!important;
    font-weight:700!important;
    text-decoration:line-through!important;
    white-space:nowrap!important
  }
  .single-product .moon-purchase-price :is(p.price,span.price) ins{
    color:var(--moon-ui-accent-strong)!important;
    font-size:1.15em!important;
    font-weight:850!important;
    text-decoration:none!important;
    white-space:nowrap!important
  }
  .single-product .moon-purchase-actions .woocommerce-variation-add-to-cart,
  .single-product .moon-purchase-actions .moon-simple-purchase-actions{
    grid-template-columns:repeat(3,minmax(0,1fr))!important
  }
  .single-product .moon-purchase-actions .quantity{
    width:100%!important;
    min-width:0!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important
  }
  .single-product .moon-purchase-actions .moon-qty-step{
    width:100%!important;
    min-width:0!important
  }
  .single-product .moon-purchase-actions .single_add_to_cart_button,
  .single-product .moon-purchase-actions .moon-buy-now{
    min-width:0!important;
    white-space:nowrap!important
  }
}
