/*
 * Tiệm Len Nhà Moon — desktop synchronization layer.
 * Loaded only for viewports from 783px. Mobile CSS/JS is intentionally untouched.
 */
@media (min-width:783px){
  :root{
    --moon-max:1320px;
    --moon-desktop-panel:#fff;
    --moon-desktop-soft:#fff8f2;
    --moon-desktop-border:#efd9c4;
    --moon-desktop-shadow:0 18px 48px rgba(88,54,35,.09);
    --moon-desktop-shadow-hover:0 24px 58px rgba(88,54,35,.14);
  }

  html{scroll-padding-top:128px}
  body{background:#fffaf6;font-size:15px}
  .moon-container{width:min(calc(100% - 56px),var(--moon-max))}
  .moon-main{min-height:62vh}
  .moon-content-card{border-radius:26px;box-shadow:var(--moon-desktop-shadow)}

  /* Header: clean store navigation, same visual language as mobile. */
  .moon-topbar{
    background:#fff1e6;
    color:#5c4335;
    border-bottom:1px solid rgba(239,217,196,.8);
  }
  .moon-topbar__inner{min-height:38px}
  .moon-marquee span{padding-left:0;animation:none;font-size:12.5px}
  .moon-topbar__links{gap:20px}
  .moon-topbar__links a{color:#6d5040;font-weight:650}
  .moon-topbar__links a:hover{color:var(--moon-orange-deep)}
  .moon-site-header{
    background:rgba(255,255,255,.97);
    border-bottom:1px solid rgba(239,217,196,.82);
    backdrop-filter:blur(18px);
  }
  .moon-site-header.is-scrolled{box-shadow:0 12px 34px rgba(61,44,34,.09)}
  .moon-header-row{min-height:84px;gap:25px}
  .moon-logo-wrap img,.moon-logo-wrap .custom-logo{max-width:172px;max-height:66px}
  .moon-primary-nav{display:flex;justify-content:center}
  .moon-menu{gap:5px}
  .moon-menu>li>a{padding:11px 15px;font-size:14px;font-weight:700}
  .moon-menu>li:hover>a,.moon-menu>.current-menu-item>a,.moon-menu>.current-menu-ancestor>a{
    background:#fff0e5;
    box-shadow:inset 0 0 0 1px rgba(240,145,90,.16);
  }
  .moon-menu .sub-menu{top:calc(100% + 12px);padding:10px;border-radius:18px}
  .moon-header-actions{gap:9px}
  .moon-header-actions .moon-icon-button{width:44px;height:44px;background:#fff}
  .moon-header-actions .moon-icon-button:hover{background:#fff0e5}
  .moon-search-panel{padding:15px 0;box-shadow:0 12px 30px rgba(61,44,34,.07)}
  .moon-search-form{max-width:900px;margin:auto;padding:7px 8px 7px 18px}

  /* Homepage */
  .moon-hero{background:radial-gradient(circle at 82% 20%,rgba(244,192,78,.22),transparent 27%),radial-gradient(circle at 10% 14%,rgba(247,201,163,.42),transparent 34%),linear-gradient(145deg,#fffaf6,#fcebdc)}
  .moon-hero__grid{min-height:570px;grid-template-columns:.88fr 1.12fr;gap:70px;padding-block:54px}
  .moon-hero__content{max-width:580px}
  .moon-hero__content h1{font-size:clamp(48px,5vw,66px);max-width:580px;margin-bottom:16px}
  .moon-hero__content p{font-size:18px;line-height:1.7;margin-bottom:24px}
  .moon-hero__actions{margin-bottom:20px}
  .moon-hero__actions .moon-button{min-width:154px}
  .moon-hero-benefits{width:100%;max-width:590px;gap:9px}
  .moon-hero-benefit{padding:11px 13px;background:rgba(255,255,255,.88)}
  .moon-hero-benefit strong{font-size:13px}
  .moon-hero-benefit span{font-size:11px}
  .moon-hero__visual{height:485px}
  .moon-hero-product{padding:9px;border-radius:30px}
  .moon-hero-product img{object-fit:contain;background:#fff;border-radius:22px}
  .moon-hero-product--1{width:54%;height:68%;right:8%;top:2%}
  .moon-hero-product--2{width:42%;height:53%;left:3%;top:31%}
  .moon-hero-product--3{width:34%;height:43%;right:2%;bottom:0}

  .moon-section{padding:66px 0}
  .moon-section-heading{margin-bottom:25px;align-items:flex-end}
  .moon-section-heading h2{font-size:clamp(30px,2.8vw,40px)}
  .moon-section-heading p{font-size:14.5px;line-height:1.65}
  .moon-section-heading .moon-text-link{padding:9px 14px;border:1px solid var(--moon-line);border-radius:999px;background:#fff}
  .moon-category-showcase{padding:16px;border-radius:24px}
  .moon-category-showcase .moon-category-grid{gap:16px}
  .moon-category-showcase .moon-category-card{border-radius:18px}
  .moon-category-card__image{aspect-ratio:4/3;background:#fff8f2}
  .moon-category-showcase .moon-category-card img{object-fit:contain;background:#fff}
  .moon-category-showcase .moon-category-card__body{padding:15px 16px}

  .moon-home .woocommerce ul.products,
  .moon-gutenberg-dynamic-section .woocommerce ul.products,
  .moon-home .woocommerce-page ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
  }
  .moon-home .woocommerce ul.products li.product,
  .moon-gutenberg-dynamic-section .woocommerce ul.products li.product{
    padding:11px 11px 15px!important;
    border-radius:19px!important;
    box-shadow:0 10px 28px rgba(88,54,35,.075)!important;
  }
  .moon-home .woocommerce ul.products li.product:hover,
  .moon-gutenberg-dynamic-section .woocommerce ul.products li.product:hover{
    transform:translateY(-5px);
    box-shadow:var(--moon-desktop-shadow-hover)!important;
  }
  .moon-home .woocommerce ul.products li.product a img,
  .moon-gutenberg-dynamic-section .woocommerce ul.products li.product a img{
    aspect-ratio:1/1!important;
    object-fit:contain!important;
    background:#fff!important;
    border-radius:14px!important;
    margin-bottom:12px!important;
  }
  .moon-home .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .moon-gutenberg-dynamic-section .woocommerce ul.products li.product .woocommerce-loop-product__title{
    min-height:44px;font-size:14px;line-height:1.45
  }
  .moon-home .woocommerce ul.products li.product .button,
  .moon-gutenberg-dynamic-section .woocommerce ul.products li.product .button{min-height:40px}
  .moon-color-chart-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
  .moon-color-chart-card,.moon-color-chart-page__card{border-radius:22px;box-shadow:var(--moon-desktop-shadow)}
  .moon-review-grid,.moon-blog-grid{gap:22px}
  .moon-review-card,.moon-blog-card{border-radius:20px}

  /* Shop archive */
  .woocommerce-shop .moon-woocommerce-main,
  .tax-product_cat .moon-woocommerce-main,
  .tax-product_tag .moon-woocommerce-main{padding:34px 0 74px}
  .moon-shop-layout{grid-template-columns:286px minmax(0,1fr);gap:30px}
  .moon-shop-sidebar{
    top:126px;
    padding:20px;
    border-radius:22px;
    box-shadow:0 12px 34px rgba(88,54,35,.08);
    background:rgba(255,255,255,.98);
  }
  .admin-bar .moon-shop-sidebar{top:158px}
  .moon-filter-head{padding-bottom:7px;margin-bottom:6px}
  .moon-filter-head h2{font-size:21px}
  .moon-filter-group{padding:15px 0}
  .moon-filter-list a{padding:9px 10px}
  .moon-shop-content{min-width:0}
  .moon-shop-content .woocommerce-products-header{
    padding:22px 24px;
    margin:0 0 18px;
    border:1px solid var(--moon-line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 10px 28px rgba(88,54,35,.06);
  }
  .moon-shop-content .woocommerce-products-header__title{font-size:38px;line-height:1.18;margin:0 0 7px}
  .moon-shop-content .woocommerce-result-count{margin:10px 0 0}
  .moon-shop-content .woocommerce-ordering{margin:0 0 17px}
  .moon-shop-content .woocommerce-ordering select{min-height:44px;background:#fff}
  .moon-shop-content ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
  }
  .moon-shop-content ul.products li.product{
    padding:10px 10px 15px!important;
    border-radius:18px!important;
    box-shadow:0 10px 26px rgba(88,54,35,.07)!important;
  }
  .moon-shop-content ul.products li.product:hover{box-shadow:var(--moon-desktop-shadow-hover)!important}
  .moon-shop-content ul.products li.product a img{
    aspect-ratio:1/1!important;
    object-fit:contain!important;
    background:#fff!important;
    border-radius:13px!important;
    margin-bottom:11px!important;
  }
  .moon-shop-content ul.products li.product .woocommerce-loop-product__title{font-size:14px;min-height:42px}

  /* Product detail: main image + vertical five-colour rail, aligned with mobile logic. */
  .single-product .moon-woocommerce-main{padding:34px 0 78px}
  .single-product .moon-single-product-wrap{
    padding:24px!important;
    border:1px solid var(--moon-line);
    border-radius:28px;
    background:#fff;
    box-shadow:var(--moon-desktop-shadow);
  }
  .single-product .woocommerce div.product{
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(410px,.92fr)!important;
    gap:34px!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;
    padding:0!important;
    margin:0!important;
  }
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery{
    position:sticky!important;
    top:122px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 92px!important;
    grid-template-rows:600px!important;
    gap:12px!important;
    align-items:stretch!important;
    overflow:visible!important;
  }
  .admin-bar.single-product .woocommerce div.product div.images.woocommerce-product-gallery{top:154px!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:600px!important;
    min-height:600px!important;
    margin:0!important;
    border:1px solid var(--moon-line)!important;
    border-radius:20px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image>a{height:100%!important;min-height:0!important}
  .single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image{aspect-ratio:auto!important}
  .single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
  .single-product .woocommerce div.product div.images img{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    background:#fff!important;
    border-radius:0!important;
  }
  .single-product .woocommerce-product-gallery__trigger{top:14px!important;left:14px!important;right:auto!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.moon-variation-preview{
    grid-column:2!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:34px minmax(0,1fr) 34px!important;
    gap:6px!important;
    width:92px!important;
    height:600px!important;
    min-height:600px!important;
    margin:0!important;
    padding:5px!important;
    border:1px solid var(--moon-line)!important;
    border-radius:18px!important;
    background:#fffaf6!important;
    overflow:hidden!important;
  }
  .single-product .moon-variation-preview__viewport{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scroll-snap-type:y mandatory!important;
    scrollbar-width:none!important;
  }
  .single-product .moon-variation-preview__viewport::-webkit-scrollbar{display:none!important}
  .single-product .moon-variation-preview__track{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
  }
  .single-product .moon-variation-preview__item{
    flex:0 0 96px!important;
    width:100%!important;
    min-width:0!important;
    height:96px!important;
    padding:5px 4px!important;
    display:grid!important;
    grid-template-rows:69px 16px!important;
    gap:2px!important;
    border-radius:12px!important;
    scroll-snap-align:start!important;
  }
  .single-product .moon-variation-preview__item img{
    width:100%!important;
    height:69px!important;
    object-fit:contain!important;
    border-radius:8px!important;
    background:#fff!important;
  }
  .single-product .moon-variation-preview__item span{font-size:10px!important;line-height:16px!important;height:16px!important;white-space:nowrap!important}
  .single-product .moon-variation-preview__arrow{
    width:100%!important;
    height:34px!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:none!important;
    font-size:20px!important;
  }
  .single-product .woocommerce div.product div.summary{padding:2px 0 0!important}
  .single-product .woocommerce div.product .product_title{font-size:34px!important;line-height:1.18!important;margin:0 0 10px!important;letter-spacing:-.025em}
  .single-product .woocommerce-product-details__short-description{margin:10px 0 14px;font-size:14px}
  .single-product form.cart{display:block!important;margin:0!important;padding:0!important}
  .single-product .moon-purchase-row{
    position:sticky!important;
    top:122px!important;
    z-index:36!important;
    display:grid!important;
    grid-template-columns:102px minmax(0,1fr)!important;
    gap:9px!important;
    align-items:stretch!important;
    margin:0 0 14px!important;
    padding:9px!important;
    border:1px solid var(--moon-line)!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 10px 28px rgba(88,54,35,.09)!important;
    backdrop-filter:blur(12px)!important;
  }
  .admin-bar.single-product .moon-purchase-row{top:154px!important}
  .single-product .moon-purchase-price{display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;background:#ffe0e7!important;padding:8px!important}
  .single-product .moon-purchase-price p.price,.single-product .moon-purchase-price span.price{font-size:20px!important;margin:0!important;white-space:nowrap!important}
  .single-product .moon-purchase-actions{min-width: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:86px minmax(0,1fr) minmax(0,.82fr)!important;
    gap:7px!important;
    height:100%!important;
    align-items:stretch!important;
  }
  .single-product .moon-purchase-actions .quantity{width:86px!important;min-width:86px!important;height:100%!important;border-radius:12px!important}
  .single-product .moon-purchase-actions .quantity .qty{width:38px!important;min-width:38px!important;height:100%!important}
  .single-product .moon-qty-step{width:24px!important;height:100%!important}
  .single-product .moon-purchase-actions .single_add_to_cart_button,
  .single-product .moon-purchase-actions .moon-buy-now{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    padding:9px 10px!important;
    border-radius:12px!important;
    font-size:13px!important;
    white-space:normal!important;
  }
  .single-product .moon-inline-stock{position:absolute!important;left:116px!important;top:100%!important;margin-top:2px!important;font-size:10px!important}
  .single-product .moon-purchase-progress{grid-column:1/-1!important;min-width:0!important}
  .single-product .moon-purchase-progress .mgkv-wholesale-live{
    min-height:100%!important;
    padding:8px 10px!important;
    border-radius:12px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-content:center!important;
    gap:5px!important;
    font-size:11px!important;
  }
  .single-product .moon-purchase-progress .mgkv-wholesale-live strong{font-size:12px!important;line-height:1.3!important}
  .single-product .moon-wholesale-tier-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
  .single-product .moon-wholesale-tier-summary>span{padding:5px 7px!important;border:1px solid #efd8c9!important;border-radius:9px!important;background:#fff!important}
  .single-product .moon-wholesale-tier-summary b,.single-product .moon-wholesale-tier-summary em{display:block!important;font-size:9.5px!important;line-height:1.25!important;font-style:normal!important}
  .single-product form.cart table.variations{margin:0!important;width:100%!important}
  .single-product form.cart table.variations th{padding:0 0 7px!important}
  .single-product form.cart table.variations label{font-size:16px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.02em!important}
  .single-product .moon-swatches--images{
    display:grid!important;
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-height:520px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:8px 6px 10px 2px!important;
    border-top:1px solid #f2e8e1!important;
  }
  .single-product .moon-swatch--image{width:100%!important;min-width:0!important;padding:4px!important;border-radius:11px!important}
  .single-product .moon-swatch--image .moon-swatch__image{width:100%!important;height:auto!important;aspect-ratio:1/1!important}
  .single-product .moon-swatch--image .moon-swatch__image img{object-fit:contain!important;background:#fff!important}
  .single-product .moon-swatch--image .moon-swatch__label{font-size:9.5px!important;line-height:1.15!important;min-height:22px!important}
  .single-product .woocommerce-tabs,
  .single-product .related.products,
  .single-product .upsells.products{grid-column:1/-1!important;margin-top:34px!important}
  .single-product .woocommerce-tabs{border:1px solid var(--moon-line);border-radius:22px;background:#fff;padding:20px!important}
  .single-product .woocommerce-tabs ul.tabs{margin:0 0 18px!important}
  .single-product .related.products>h2,.single-product .upsells.products>h2{font-size:28px;margin-bottom:20px}
  .single-product .related.products ul.products,.single-product .upsells.products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}

  /* Cart page */
  .woocommerce-cart .moon-woocommerce-main{padding:38px 0 76px}
  .woocommerce-cart .moon-content-card{padding:30px!important}
  .woocommerce-cart .moon-content-card>h1,.woocommerce-cart h1.entry-title{font-size:38px;margin:0 0 24px}
  .woocommerce-cart .woocommerce{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 372px!important;
    gap:26px!important;
    align-items:start!important;
  }
  .woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,.woocommerce-cart .woocommerce>.woocommerce-message,.woocommerce-cart .woocommerce>.woocommerce-error{grid-column:1/-1!important}
  .woocommerce-cart form.woocommerce-cart-form{grid-column:1!important;width:100%!important;float:none!important;margin:0!important}
  .woocommerce-cart .cart-collaterals{grid-column:2!important;width:100%!important;float:none!important;margin:0!important}
  .woocommerce-cart table.shop_table{border:1px solid var(--moon-line)!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important}
  .woocommerce-cart table.shop_table th{background:#fff6ef!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.04em!important}
  .woocommerce-cart table.shop_table th,.woocommerce-cart table.shop_table td{padding:14px 12px!important}
  .woocommerce-cart table.shop_table .product-thumbnail{width:88px!important}
  .woocommerce-cart table.shop_table .product-thumbnail img{width:72px!important;height:72px!important;object-fit:contain!important;border:1px solid var(--moon-line)!important;border-radius:11px!important;background:#fff!important}
  .woocommerce-cart table.shop_table .product-name a{font-weight:750!important}
  .woocommerce-cart .cart-collaterals .cart_totals{
    position:sticky!important;
    top:122px!important;
    width:100%!important;
    padding:22px!important;
    border-radius:20px!important;
    background:#fffaf6!important;
    box-shadow:0 14px 38px rgba(88,54,35,.09)!important;
  }
  .admin-bar.woocommerce-cart .cart-collaterals .cart_totals{top:154px!important}
  .woocommerce-cart .cart_totals h2{font-size:25px;margin:0 0 15px}
  .woocommerce-cart .wc-proceed-to-checkout{padding:12px 0 0!important}
  .woocommerce-cart .wc-proceed-to-checkout .checkout-button{min-height:52px!important;font-size:15px!important}

  /* Checkout */
  .woocommerce-checkout .moon-woocommerce-main{padding:38px 0 76px}
  .woocommerce-checkout .moon-woocommerce-main>.moon-container{width:min(calc(100% - 56px),1280px)!important}
  .woocommerce-checkout .moon-content-card{padding:28px!important;border-radius:26px!important}
  .woocommerce-checkout .moon-content-card>h1,.woocommerce-checkout h1.entry-title{font-size:38px!important;margin:0 0 24px!important}
  .woocommerce-checkout form.checkout{
    grid-template-columns:minmax(0,1fr) 430px!important;
    grid-template-rows:auto 1fr!important;
    gap:12px 28px!important;
  }
  .woocommerce-checkout form.checkout #customer_details{grid-column:1!important;grid-row:1 / span 2!important}
  .woocommerce-checkout form.checkout #order_review_heading{grid-column:2!important;grid-row:1!important;align-self:end!important}
  .woocommerce-checkout form.checkout #order_review{grid-column:2!important;grid-row:2!important}
  .woocommerce-checkout .woocommerce-billing-fields,.woocommerce-checkout .woocommerce-shipping-fields,.woocommerce-checkout .woocommerce-additional-fields{
    padding:20px!important;
    margin-bottom:16px!important;
    border-radius:20px!important;
    box-shadow:0 8px 22px rgba(88,54,35,.045)!important;
  }
  .woocommerce-checkout .woocommerce-billing-fields h3,.woocommerce-checkout .woocommerce-shipping-fields h3,.woocommerce-checkout .woocommerce-additional-fields h3{font-size:21px!important}
  .woocommerce-checkout .form-row{margin-bottom:13px!important}
  .woocommerce-checkout input.input-text,.woocommerce-checkout select,.woocommerce-checkout textarea{min-height:46px!important;border-radius:12px!important}
  .woocommerce-checkout form.checkout #order_review_heading{padding:0 4px!important;font-size:22px!important;margin:0 0 -12px!important}
  .woocommerce-checkout form.checkout #order_review{
    top:122px!important;
    padding:16px!important;
    border-radius:20px!important;
    border:1px solid var(--moon-line)!important;
    background:#fffaf6!important;
    box-shadow:0 14px 38px rgba(88,54,35,.09)!important;
  }
  .admin-bar.woocommerce-checkout form.checkout #order_review{top:154px!important}
  .woocommerce-checkout #order_review .shop_table{font-size:12.5px!important;background:#fff!important;border-radius:14px!important;overflow:hidden!important}
  .woocommerce-checkout #order_review .shop_table th,.woocommerce-checkout #order_review .shop_table td{padding:10px 8px!important}
  .woocommerce-checkout-review-order-table .moon-checkout-product-row{grid-template-columns:48px minmax(0,1fr)!important;gap:9px!important}
  .woocommerce-checkout-review-order-table .moon-checkout-product-thumb{width:48px!important;height:48px!important;border-radius:9px!important}
  .woocommerce-checkout-review-order-table .moon-checkout-product-title{font-size:12px!important;line-height:1.3!important}
  .woocommerce-checkout #payment{margin-top:14px!important;background:#fff!important;border:1px solid var(--moon-line)!important}
  .woocommerce-checkout #place_order{min-height:52px!important;font-size:15px!important;width:100%!important}
  .moon-voucher-wallet{max-width:none!important;margin-bottom:16px!important}
  .moon-voucher-wallet__toggle{min-height:64px!important;border-radius:15px!important}
  .moon-voucher-wallet__drawer{max-width:620px!important}

  /* Account, content and utility pages */
  .woocommerce-account .moon-woocommerce-main{padding:44px 0 76px}
  .woocommerce-account .moon-content-card{padding:30px!important}
  .woocommerce-account .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}
  .woocommerce-account .woocommerce-MyAccount-navigation{width:100%!important;float:none!important;position:sticky;top:122px}
  .admin-bar.woocommerce-account .woocommerce-MyAccount-navigation{top:154px}
  .woocommerce-account .woocommerce-MyAccount-content{width:100%!important;float:none!important;min-width:0}
  .woocommerce-MyAccount-navigation ul{border-radius:18px;box-shadow:0 10px 26px rgba(88,54,35,.06)}
  .woocommerce-MyAccount-navigation a{padding:13px 16px}
  .moon-content-layout{padding-block:58px}
  .moon-prose{max-width:1040px;margin:54px auto}
  .moon-prose>*{max-width:800px}
  .moon-post-list{gap:20px}
  .moon-post-card{grid-template-columns:250px minmax(0,1fr);padding:14px;border-radius:20px;box-shadow:0 9px 26px rgba(88,54,35,.055)}
  .moon-contact-grid{grid-template-columns:minmax(340px,.82fr) minmax(520px,1.18fr);gap:30px}
  .moon-contact-card,.moon-contact-map{border-radius:22px;box-shadow:var(--moon-desktop-shadow)}
  .moon-color-chart-page__card{padding:38px!important}
  .moon-color-chart-page .moon-color-chart-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}

  /* Mini cart and footer */
  .moon-cart-drawer{width:min(440px,38vw)}
  .moon-cart-drawer__header{padding:22px}
  .moon-cart-drawer__body{padding:20px}
  .woocommerce-mini-cart-item{grid-template-columns:78px minmax(0,1fr);gap:13px;padding-right:30px}
  .woocommerce-mini-cart-item img{width:78px!important;height:78px!important;object-fit:contain!important;background:#fff!important}
  .moon-site-footer{padding:62px 0 22px}
  .moon-footer-grid{grid-template-columns:1.45fr .72fr .92fr 1.12fr;gap:42px}
  .moon-footer-brand{padding-right:16px}
  .moon-footer-bottom{margin-top:38px}
}

@media (min-width:1400px){
  .moon-shop-content ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .single-product .woocommerce div.product{grid-template-columns:minmax(0,1.12fr) minmax(440px,.88fr)!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery,
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.moon-variation-preview{height:640px!important;min-height:640px!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery{grid-template-rows:640px!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:640px!important;min-height:640px!important}
}

@media (min-width:783px) and (max-width:1080px){
  .moon-container{width:min(calc(100% - 36px),var(--moon-max))}
  .moon-header-row{gap:10px}
  .moon-logo-wrap img,.moon-logo-wrap .custom-logo{max-width:124px;max-height:56px}
  .moon-menu{gap:1px}
  .moon-menu>li>a{padding:9px 7px;font-size:12.5px}
  .moon-header-actions{gap:5px}
  .moon-header-actions .moon-icon-button{width:40px;height:40px}
  .moon-hero__grid{grid-template-columns:1fr 1fr;gap:34px}
  .moon-shop-layout{grid-template-columns:240px minmax(0,1fr);gap:20px}
  .moon-shop-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .single-product .woocommerce div.product{grid-template-columns:minmax(0,1fr) minmax(360px,.95fr)!important;gap:22px!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery{grid-template-columns:minmax(0,1fr) 80px!important;grid-template-rows:500px!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:500px!important;min-height:500px!important}
  .single-product .woocommerce div.product div.images.woocommerce-product-gallery>.moon-variation-preview{width:80px!important;height:500px!important;min-height:500px!important}
  .single-product .moon-variation-preview__item{flex-basis:78px!important;height:78px!important;grid-template-rows:53px 15px!important}
  .single-product .moon-variation-preview__item img{height:53px!important}
  .single-product .moon-purchase-row{grid-template-columns:88px minmax(0,1fr)!important}
  .single-product .moon-purchase-progress{grid-column:1/-1!important}
  .single-product .moon-swatches--images{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .woocommerce-cart .woocommerce{grid-template-columns:minmax(0,1fr) 330px!important}
  .woocommerce-checkout form.checkout{grid-template-columns:minmax(0,1fr) 380px!important}
}


/* ==================================================================
   2.3.55 — Account centre desktop overrides
   ================================================================== */
@media(min-width:783px){
  .woocommerce-account .moon-account-main{padding:38px 0 74px}
  .woocommerce-account .moon-account-main>.moon-container{max-width:1240px}
  .moon-account-logged-in .moon-account-wrap>.woocommerce{
    display:grid!important;
    grid-template-columns:244px minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important
  }
  .moon-account-logged-in .woocommerce-MyAccount-navigation{
    position:sticky!important;
    top:118px!important;
    width:100%!important;
    float:none!important;
    border:1px solid #ebe5e1;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(72,48,36,.055);
    overflow:hidden
  }
  .admin-bar.moon-account-logged-in .woocommerce-MyAccount-navigation{top:150px!important}
  .moon-account-profile{
    padding:18px 16px;
    border-bottom:1px solid #eee8e4;
    background:linear-gradient(145deg,#fff8f3,#fff)
  }
  .moon-account-profile__avatar img{width:58px;height:58px}
  .moon-account-profile__identity strong{font-size:14px;color:#433630}
  .moon-account-profile__identity span{font-size:10.5px;color:#8d7a70}
  .moon-account-profile__identity a{font-size:10.5px;color:var(--moon-orange-deep)}
  .woocommerce-account .moon-account-menu{padding:8px!important}
  .woocommerce-account .moon-account-menu a{
    min-height:45px;
    padding:9px 10px!important;
    border:0!important;
    border-radius:11px
  }
  .woocommerce-account .moon-account-menu a:hover{background:#fff7f2;color:var(--moon-orange-deep);transform:translateX(2px)}
  .woocommerce-account .moon-account-menu .is-active>a{background:#fff1e8!important}
  .moon-account-menu__label{font-size:12px}
  .moon-account-menu__chevron{display:none}
  .moon-account-logged-in .woocommerce-MyAccount-content{
    width:100%!important;
    float:none!important;
    min-width:0!important
  }
  .moon-account-dashboard{max-width:970px}
  .moon-account-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce-account .woocommerce-MyAccount-content form:not(.woocommerce-form-login):not(.woocommerce-form-register){
    padding:22px;
    border:1px solid #ebe5e1;
    background:#fff
  }
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details{
    padding:20px;
    border:1px solid #ebe5e1;
    background:#fff
  }
}
