/* E.M.M premium single product page: standalone, WooCommerce-powered, no header styling. */
body.emm-single-active{background:var(--emm-color-ricotta)}
body.emm-single-active .emm-main{padding-block:16px 48px}
body.emm-single-active .emm-main>.emm-container{width:min(calc(100% - 28px),1360px);margin-inline:auto}
.emm-single-product-page,.emm-single-product-page *{box-sizing:border-box}
.emm-single-product-page{direction:rtl;color:#23311b}
.emm-single-product-page a{text-decoration:none;color:inherit}
.emm-single-product-page :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--emm-color-copper);outline-offset:3px}
.emm-single-product-page .star-rating{color:#efb821}
.emm-sp-main-grid{display:grid;grid-template-columns:minmax(320px,40%) minmax(0,1fr);gap:18px;align-items:start}
.emm-sp-summary-card,.emm-sp-gallery-card,.emm-sp-details,.emm-sp-related,.emm-sp-trust{background:linear-gradient(155deg,#fffaf5,#f7eadf);border:1.5px solid rgba(255,255,255,.92);border-radius:32px;box-shadow:6px 8px 18px rgba(125,98,70,.12),-4px -4px 12px rgba(255,255,255,.7),inset 0 1px 0 rgba(255,255,255,.95)}
.emm-sp-summary-card{padding:20px 22px 18px;display:flex;flex-direction:column;gap:14px;min-width:0}
.emm-sp-summary-head{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px}
.emm-sp-badge{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:6px 16px;border-radius:14px;background:linear-gradient(135deg,#be7f3b,#8B522B);color:#fff;font-weight:850;font-size:.9rem;box-shadow:0 4px 10px rgba(139,82,43,.25)}
.emm-sp-summary-actions{display:flex;align-items:center;gap:10px;margin-inline-start:auto}
.emm-sp-action-btn{width:44px;height:44px;border-radius:50%;border:0;background:#fff8f2;display:grid;place-items:center;box-shadow:4px 5px 12px rgba(133,104,77,.15),inset 0 1px 0 rgba(255,255,255,.95);color:#5e6e42;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.emm-sp-action-btn:hover{transform:translateY(-2px);box-shadow:6px 7px 14px rgba(133,104,77,.18)}
.emm-sp-action-btn svg{width:20px;height:20px}
.emm-sp-action-btn.is-disabled{opacity:.65;cursor:not-allowed}
.emm-sp-action-btn.is-copied{background:#eff7e4;color:var(--emm-color-olive)}
.emm-sp-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#675b4d;font-size:.78rem}
.emm-sp-title{margin:0;color:var(--emm-color-olive);font-size:clamp(2rem,2.75vw,3rem);line-height:1.32;font-weight:900;max-width:18ch}
.emm-sp-excerpt{margin:0;color:#4c4338;line-height:1.95;font-size:.98rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.emm-sp-rating{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#554a40}
.emm-sp-rating__meta{font-size:.92rem;font-weight:700}
.emm-sp-rating__stars .star-rating{float:none;display:inline-block;font-size:1rem}
.emm-sp-rating--empty .emm-sp-stars{letter-spacing:.18em;color:#e0c86a}
.emm-sp-price-wrap{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.48);box-shadow:inset 3px 3px 8px rgba(223,200,180,.75),inset -2px -2px 7px rgba(255,255,255,.55)}
.emm-sp-price-wrap .price{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0;color:var(--emm-color-olive);font-size:clamp(1.7rem,2.25vw,2.8rem);font-weight:900}
.emm-sp-price-wrap .price del{color:#8f8378;opacity:1;font-size:1.15rem;order:2}
.emm-sp-price-wrap .price ins{text-decoration:none;color:var(--emm-color-olive)}
.emm-sp-purchase-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.emm-sp-stock{display:flex;align-items:center;gap:8px;font-weight:800;color:#355d22}
.emm-sp-stock.is-out{color:#af4c41}
.emm-sp-stock-dot{width:11px;height:11px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(53,93,34,.12)}
.emm-sp-sku{color:#7a7066;font-size:.86rem}
.emm-sp-purchase{display:flex;flex-direction:column;gap:16px}
.emm-sp-purchase form.cart{margin:0;display:flex;flex-direction:column;gap:16px}
.emm-sp-purchase .variations{width:100%;border:0;border-collapse:separate;border-spacing:0 12px;margin:0}
.emm-sp-purchase .variations tr{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:14px}
.emm-sp-purchase .variations .label{font-weight:800;color:#2d3422;padding:0}
.emm-sp-purchase .variations .value{padding:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.emm-sp-purchase .variations select{min-width:190px;min-height:46px;border:1px solid #dac9b7;border-radius:14px;background:#fffaf5;padding:10px 14px;color:#23311b}
.emm-sp-purchase .reset_variations{color:var(--emm-color-olive);font-size:.82rem;font-weight:800}
.emm-sp-option-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.emm-sp-option{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 18px;border-radius:999px;border:1.5px solid #e0cfbe;background:#fff8f0;box-shadow:3px 4px 8px rgba(222,201,183,.55),inset 0 1px 0 rgba(255,255,255,.95);font:inherit;color:#25301d;font-weight:800;cursor:pointer;transition:all .14s ease}
.emm-sp-option:hover{transform:translateY(-1px)}
.emm-sp-option{max-width:100%;min-width:0}
.emm-sp-option:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}
.emm-sp-option.is-unavailable{border-style:dashed}
.emm-sp-option__swatch.is-unset{background:repeating-linear-gradient(135deg,transparent 0 4px,var(--emm-color-line) 4px 5px);border-color:var(--emm-color-line)}
.emm-sp-option.is-active{background:linear-gradient(155deg,#7c9552,#344D23);border-color:#344D23;color:#fff;box-shadow:inset 0 1px 2px rgba(255,255,255,.3),0 4px 12px rgba(52,77,35,.22)}
.emm-sp-option-group.is-color .emm-sp-option{padding:6px 10px 6px 14px;min-height:42px}
.emm-sp-option__swatch{width:22px;height:22px;border-radius:50%;background:var(--emm-swatch,#ead4b8);border:2px solid #fff;box-shadow:0 1px 4px rgba(69,49,31,.25);display:block;flex:none}
.emm-sp-option.is-active .emm-sp-option__swatch{outline:2px solid rgba(255,255,255,.95);outline-offset:1px}
.emm-sp-option__label{white-space:normal;overflow-wrap:anywhere;font-size:.9rem}
.emm-variations-enhanced .variations select.emm-swatch-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.emm-sp-purchase .single_variation_wrap{display:flex;flex-direction:column;gap:14px}
.emm-sp-purchase .woocommerce-variation{padding:10px 0 0;color:#54493d}
.emm-sp-purchase .woocommerce-variation-add-to-cart,
.emm-sp-purchase .cart:not(.variations_form){display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.emm-sp-purchase .quantity{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;border-radius:18px;background:rgba(255,255,255,.65);box-shadow:inset 3px 3px 8px rgba(224,206,189,.72),inset -2px -2px 7px rgba(255,255,255,.68)}
.emm-sp-purchase .quantity input.qty{width:54px!important;min-width:54px;border:0;background:transparent;text-align:center;font-size:1rem;font-weight:800;color:#24311d;padding:0}
.emm-qty-btn{width:28px;height:28px;border:0;border-radius:50%;background:#fff8f2;display:grid;place-items:center;color:#324223;font-size:1.3rem;cursor:pointer;box-shadow:2px 3px 7px rgba(134,104,79,.15)}
.emm-sp-purchase :is(.single_add_to_cart_button,.emm-buy-now-button){min-height:54px;border-radius:18px!important;border:0!important;padding:0 24px!important;font-size:1rem!important;font-weight:850!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap}
.emm-buy-now-button{background:linear-gradient(155deg,#6e8b43,#344D23)!important;color:#fff!important;box-shadow:0 8px 18px rgba(52,77,35,.18)!important;order:2}
.emm-sp-purchase .single_add_to_cart_button{background:#fff8f0!important;color:#304120!important;border:1.5px solid rgba(52,77,35,.24)!important;box-shadow:3px 4px 10px rgba(220,199,180,.58)!important;order:3}
.emm-sp-purchase .single_add_to_cart_button.disabled{opacity:.55;cursor:not-allowed}
.emm-sp-gallery-card{padding:18px}
.emm-sp-gallery-stage{position:relative;min-height:420px;border-radius:26px;background:linear-gradient(140deg,#f3dfcf,#f7ece1);box-shadow:inset 0 1px 0 rgba(255,255,255,.96);overflow:hidden}
.emm-sp-gallery-slide{display:none;height:100%;padding:20px;align-items:center;justify-content:center}
.emm-sp-gallery-slide.is-active{display:flex}
.emm-sp-gallery-slide a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.emm-sp-gallery-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.emm-sp-gallery-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,#efe0d0,#f8ede3);color:#8e7f72}
.emm-sp-gallery-placeholder svg{width:72px;height:72px;opacity:.4}
.emm-sp-gallery-nav,.emm-sp-gallery-fullscreen{position:absolute;top:22px;z-index:2;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,250,245,.95);display:grid;place-items:center;box-shadow:4px 6px 12px rgba(126,96,68,.16);color:#4a5c32;cursor:pointer}
.emm-sp-gallery-fullscreen{inset-inline-start:18px}
.emm-sp-gallery-nav--prev{top:50%;inset-inline-start:18px;transform:translateY(-50%)}
.emm-sp-gallery-nav--next{top:50%;inset-inline-end:18px;transform:translateY(-50%)}
.emm-sp-gallery-nav svg{width:20px;height:20px}
.emm-sp-gallery-nav--next svg{transform:rotate(180deg)}
.emm-sp-gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.emm-sp-thumb{border:0;border-radius:18px;background:#fff8f1;box-shadow:4px 5px 10px rgba(221,202,188,.65),inset 0 1px 0 rgba(255,255,255,.96);padding:4px;display:flex;align-items:center;justify-content:center;min-height:88px;cursor:pointer;overflow:hidden}
.emm-sp-thumb.is-active{outline:2px solid var(--emm-color-olive);outline-offset:0;box-shadow:0 0 0 4px rgba(52,77,35,.12),4px 5px 12px rgba(134,102,73,.2)}
.emm-sp-thumb__image{width:100%;height:78px;object-fit:cover;border-radius:14px}
.emm-sp-thumb__placeholder{display:grid;place-items:center;color:#7b6e62}
.emm-sp-trust{padding:18px;margin-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.emm-sp-trust-item{display:flex;align-items:center;gap:12px;padding:16px 14px;border-radius:22px;background:rgba(255,255,255,.44);box-shadow:inset 3px 3px 9px rgba(223,201,180,.72),inset -2px -2px 7px rgba(255,255,255,.68)}
.emm-sp-trust-item__icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#fff9f3;color:#41552b;box-shadow:4px 4px 10px rgba(208,189,171,.55)}
.emm-sp-trust-item__icon svg{width:24px;height:24px}
.emm-sp-trust-item h3{margin:0 0 4px;font-size:.95rem;color:#25311d}
.emm-sp-trust-item p{margin:0;font-size:.78rem;color:#6b5d4e}
.emm-sp-details{padding:18px 18px 20px;margin-top:18px}
.emm-sp-tabs{display:flex;flex-direction:column;gap:14px}
.emm-sp-tabs__nav{display:flex;flex-wrap:wrap;gap:10px}
.emm-sp-tab{min-height:46px;padding:0 20px;border-radius:999px;border:0;background:#fff7f0;color:#314120;box-shadow:4px 4px 10px rgba(220,201,184,.6),inset 0 1px 0 rgba(255,255,255,.95);font:inherit;font-weight:850;cursor:pointer}
.emm-sp-tab.is-active{background:linear-gradient(155deg,#728d48,#344D23);color:#fff;box-shadow:inset 0 2px 4px rgba(255,255,255,.25),0 5px 14px rgba(52,77,35,.18)}
.emm-sp-tab-panel{padding:20px 22px;border-radius:26px;background:rgba(255,255,255,.45);box-shadow:inset 3px 3px 9px rgba(223,201,181,.72),inset -2px -2px 7px rgba(255,255,255,.7);min-height:140px}
.emm-sp-tab-panel h3{display:flex;align-items:center;gap:8px;margin:0 0 16px;color:var(--emm-color-olive);font-size:1.35rem}
.emm-sp-richtext{color:#41382f;line-height:2}
.emm-sp-richtext p:first-child{margin-top:0}
.emm-sp-richtext p:last-child{margin-bottom:0}
.emm-sp-specs-table{display:flex;flex-direction:column;gap:8px}
.emm-sp-specs-row{display:grid;grid-template-columns:minmax(140px,.7fr) 1fr;gap:16px;padding:12px 14px;border-radius:16px;background:#fff8f2}
.emm-sp-specs-row>div:first-child{font-weight:800;color:#314120}
.emm-sp-empty{margin:0;color:#706253;line-height:1.9}
.emm-sp-reviews-wrap #comments{margin:0}
.emm-sp-reviews-wrap .commentlist{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:14px}
.emm-sp-reviews-wrap .commentlist .review{padding:14px 16px;border-radius:18px;background:#fff8f2}
.emm-sp-reviews-wrap .commentlist .avatar{float:none!important;border-radius:50%;margin-inline-start:0!important;margin-inline-end:10px!important}
.emm-sp-reviews-wrap .woocommerce-Reviews-title{margin:0 0 16px;color:#314120}
.emm-sp-reviews-wrap .comment-form{display:grid;gap:12px}
.emm-sp-reviews-wrap :is(input:not([type=checkbox]),textarea,select){min-height:46px;border:1px solid #decdbb;border-radius:16px;background:#fffaf5;padding:12px 14px;color:#26311d}
.emm-sp-reviews-wrap textarea{min-height:120px}
.emm-sp-reviews-wrap input[type=submit]{justify-self:start;min-height:48px;padding:0 22px;border:0;border-radius:16px;background:linear-gradient(155deg,#728d48,#344D23);color:#fff;font-weight:850;cursor:pointer}
.emm-sp-related{padding:18px;margin-top:18px}
.emm-sp-related__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.emm-sp-related__head h2{margin:0;color:var(--emm-color-olive);font-size:1.55rem}
.emm-sp-related__nav{display:flex;gap:8px}
.emm-sp-related__nav button{width:42px;height:42px;border:0;border-radius:50%;background:#fff7f0;display:grid;place-items:center;color:#334421;box-shadow:4px 5px 10px rgba(219,200,183,.6);cursor:pointer}
.emm-sp-related__nav button:first-child svg{transform:rotate(180deg)}
.emm-sp-related__track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;scrollbar-width:thin}
.emm-sp-related__item{flex:0 0 min(23.3%,292px);min-width:240px;scroll-snap-align:start}
.emm-sp-related .emm-product-card__inner{height:100%}
/* Keep related cards same language as shop page. */
.emm-sp-related .emm-product-card .emm-product-card__action{grid-column:1/-1;justify-self:stretch}
.emm-sp-related .emm-product-card .emm-product-card__action :is(a.button,button.button){width:100%!important;max-width:none;min-height:38px}
@media (max-width:1180px){
  .emm-sp-main-grid{grid-template-columns:minmax(290px,43%) minmax(0,1fr)}
  .emm-sp-trust{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:960px){
  .emm-sp-main-grid{grid-template-columns:1fr;gap:16px}
  .emm-sp-summary-card{order:2}
  .emm-sp-gallery-card{order:1}
  .emm-sp-gallery-stage{min-height:360px}
}
@media (max-width:768px){
  body.emm-single-active .emm-main>.emm-container{width:min(calc(100% - 16px),100%)}
  .emm-sp-summary-card,.emm-sp-gallery-card,.emm-sp-details,.emm-sp-related,.emm-sp-trust{border-radius:26px}
  .emm-sp-title{font-size:clamp(1.7rem,6vw,2.25rem);max-width:none}
  .emm-sp-purchase .woocommerce-variation-add-to-cart,.emm-sp-purchase .cart:not(.variations_form){display:grid;grid-template-columns:1fr;align-items:stretch}
  .emm-sp-purchase .quantity{justify-content:center}
  .emm-sp-purchase :is(.single_add_to_cart_button,.emm-buy-now-button){width:100%}
  .emm-sp-trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .emm-sp-trust-item{padding:14px 12px}
  .emm-sp-tabs__nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .emm-sp-tab{padding:10px 14px;min-height:52px}
  .emm-sp-tab-panel{padding:18px 16px}
  .emm-sp-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
}
@media (max-width:600px){
  .emm-sp-summary-card{padding:14px}
  .emm-sp-summary-head{gap:10px}
  .emm-sp-action-btn{width:40px;height:40px}
  .emm-sp-price-wrap{padding:14px}
  .emm-sp-price-wrap .price{font-size:clamp(1.45rem,8vw,2rem)}
  .emm-sp-purchase .variations tr{grid-template-columns:1fr;gap:8px}
  .emm-sp-purchase .variations select{min-width:0;width:100%}
  .emm-sp-option{padding:8px 14px;min-height:40px}
  .emm-sp-gallery-card{padding:12px}
  .emm-sp-gallery-stage{min-height:300px;border-radius:22px}
  .emm-sp-gallery-nav,.emm-sp-gallery-fullscreen{width:40px;height:40px}
  .emm-sp-gallery-nav--prev{inset-inline-start:10px}.emm-sp-gallery-nav--next{inset-inline-end:10px}.emm-sp-gallery-fullscreen{inset-inline-start:10px;top:10px}
  .emm-sp-thumb{min-height:70px;border-radius:14px}.emm-sp-thumb__image{height:62px;border-radius:12px}
  .emm-sp-trust{padding:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .emm-sp-trust-item{flex-direction:column;align-items:flex-start;gap:8px}
  .emm-sp-specs-row{grid-template-columns:1fr;gap:8px}
  .emm-sp-related{padding:12px}.emm-sp-related__item{min-width:210px}
}
@media (max-width:420px){
  .emm-sp-summary-card,.emm-sp-gallery-card,.emm-sp-details,.emm-sp-related,.emm-sp-trust{border-radius:22px}
  .emm-sp-badge{font-size:.78rem;min-height:34px;padding:5px 12px}
  .emm-sp-title{font-size:1.65rem}
  .emm-sp-excerpt{font-size:.9rem}
  .emm-sp-option__label{font-size:.82rem}
  .emm-sp-tab-panel h3{font-size:1.18rem}
}
@media (max-width:360px){
  .emm-sp-tabs__nav{grid-template-columns:1fr}
  .emm-sp-trust{grid-template-columns:1fr}
  .emm-sp-gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){.emm-single-product-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Premium page: stable gallery + actual in-page selection, not an embedded dialog. */
body.emm-single-active .emm-main>.emm-container{width:min(calc(100% - 32px),1480px)}
.emm-sp-main-grid{direction:ltr;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);gap:24px;align-items:start}
.emm-sp-summary-card{grid-column:2;grid-row:1;direction:rtl;background:transparent;border:0;box-shadow:none;padding:0;gap:12px}
.emm-sp-gallery-card{grid-column:1;grid-row:1;position:sticky;top:16px;padding:12px;min-width:0;direction:rtl}
.emm-sp-gallery-stage{height:auto;min-height:0;aspect-ratio:1;max-height:600px;width:100%;overflow:hidden;isolation:isolate}
.emm-sp-gallery-slide{position:absolute;inset:0;margin:0;padding:12px;height:100%}.emm-sp-gallery-image{width:100%;height:100%;max-height:100%;object-fit:contain}.emm-sp-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:8px 2px;margin-top:4px;scrollbar-width:thin}.emm-sp-thumb{flex:0 0 64px;width:64px;height:64px;min-height:64px}.emm-sp-thumb__image{height:100%;width:100%;object-fit:contain}
.emm-sp-gallery-stage:fullscreen{aspect-ratio:auto;max-height:none;height:100vh;background:#f9f0e5}
.emm-sp-title{font-size:clamp(1.35rem,2.2vw,2.15rem);max-width:none;margin:0;line-height:1.5}.emm-sp-excerpt{font-size:.92rem;-webkit-line-clamp:2}.emm-sp-summary-head{min-height:32px}.emm-sp-rating--empty{display:none}.emm-premium-ready .emm-sp-price-wrap{display:none}.emm-native-purchase[hidden]{display:none!important}.emm-buy-inline:empty{display:none}
.emm-premium-highlights{display:flex;gap:10px;flex-wrap:wrap}.emm-premium-highlights>span{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:16px;background:#fcf4e9;border:1px solid #eedfce;font-size:.8rem}.emm-premium-highlights svg{width:20px;height:20px;flex:none}
.emm-sp-details,.emm-sp-related{margin-top:20px}.emm-sp-specs-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.emm-sp-specs-row{display:flex;flex-direction:column;align-items:center;justify-content:start;gap:8px;padding:12px;min-width:0;font-size:.85rem}.emm-sp-specs-row>div{overflow-wrap:anywhere}
@media(max-width:1023px){.emm-sp-main-grid{grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);gap:16px}.emm-sp-gallery-card{top:12px}.emm-premium-highlights>span{flex:1 1 140px}.emm-premium-highlights>span:nth-child(n+3){display:none}}
@media(max-width:767px){body.emm-single-active .emm-main>.emm-container{width:min(calc(100% - 24px),700px)}.emm-sp-main-grid{display:flex;flex-direction:column;gap:18px}.emm-sp-gallery-card{position:static;width:100%;padding:8px;border-radius:24px;order:0}.emm-sp-summary-card{width:100%;order:1}.emm-sp-gallery-stage{aspect-ratio:4/3;max-height:350px;border-radius:20px}.emm-sp-thumb{flex-basis:48px;width:48px;height:48px;min-height:48px}.emm-sp-title{font-size:1.4rem}.emm-sp-breadcrumb{font-size:.72rem}.emm-sp-summary-head{display:none}.emm-sp-purchase-meta{font-size:.8rem}.emm-sp-specs-table{grid-template-columns:repeat(2,minmax(0,1fr))}.emm-sp-details{padding:12px}.emm-premium-highlights>span{flex:1;min-width:0;font-size:.75rem;flex-wrap:wrap}.emm-single-product-page{padding-bottom:85px}}
.emm-premium-storebar{display:flex;align-items:center;gap:24px;padding:12px 4px 20px;font-size:.88rem;color:#5c593c}.emm-premium-storebar>a:first-child{margin-inline-end:auto;font-size:1.1rem;font-weight:800;color:#465c22}.emm-purchase-view[data-mode=inline]{direction:ltr}.emm-purchase-view[data-mode=inline]>section,.emm-purchase-view[data-mode=inline]>aside{direction:rtl}
@media(max-width:767px){.emm-premium-storebar{padding-bottom:12px;gap:16px;font-size:.8rem}.emm-purchase-view[data-mode=inline]{direction:rtl}}

/* Phase 03 — approved desktop three-column product / independent mobile composition.
   Only the single product route is affected; Quick Buy dialog and shop are unchanged. */
body.emm-single-active .emm-main > .emm-container{width:min(calc(100% - 40px),1680px)}
body.emm-single-active .emm-sp-main-grid{
  display:grid;direction:ltr;align-items:start;gap:16px 22px;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(280px,.79fr);
  grid-template-areas:'gallery info price' 'gallery selection price';
}
body.emm-single-active .emm-sp-main-grid > *{min-width:0;direction:rtl}
body.emm-single-active .emm-sp-gallery-card{grid-area:gallery;top:20px;padding:10px;border-radius:28px}
body.emm-single-active .emm-sp-gallery-stage{width:100%;height:auto;aspect-ratio:1/1;max-height:580px;min-height:0;background:linear-gradient(135deg,#efdbd0,#f5e9db);border-radius:23px}
body.emm-single-active .emm-sp-gallery-slide{inset:0;display:none;height:100%;padding:12px}
body.emm-single-active .emm-sp-gallery-slide.is-active{display:flex}
body.emm-single-active .emm-sp-gallery-image{height:100%;width:100%;max-height:100%;object-fit:contain}
body.emm-single-active .emm-sp-gallery-thumbs{max-width:100%;display:flex;gap:9px;overflow-x:auto;padding:10px 3px 5px;scrollbar-width:thin}
body.emm-single-active .emm-sp-thumb{width:70px;height:70px;flex:0 0 70px;min-height:70px;background:#fbeee6}
body.emm-single-active .emm-sp-summary-card{grid-area:info;display:flex;gap:12px;min-width:0;padding:0 2px;background:transparent;border:0;box-shadow:none}
body.emm-single-active .emm-sp-breadcrumb{line-height:1.8}
body.emm-single-active .emm-sp-title{font-size:clamp(1.45rem,2.25vw,2.45rem);color:#2e2d23;line-height:1.5;max-width:none}
body.emm-single-active .emm-sp-summary-head{order:0}
body.emm-single-active .emm-sp-summary-card .emm-sp-breadcrumb{order:1}
body.emm-single-active .emm-sp-summary-card .emm-sp-title{order:2}
body.emm-single-active .emm-sp-summary-card .emm-sp-purchase-meta{order:3;gap:12px}
body.emm-single-active .emm-sp-summary-card .emm-sp-excerpt{order:4;font-size:.93rem;line-height:1.9}
body.emm-single-active .emm-sp-summary-card .emm-sp-rating{order:5}
body.emm-single-active .emm-sp-summary-card .emm-premium-highlights{order:6;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.emm-single-active .emm-premium-highlights>span{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 8px;background:linear-gradient(140deg,#fff9f3,#f9eadd);border:1px solid #fff;border-radius:19px;box-shadow:3px 5px 12px #a5836120;overflow-wrap:anywhere}
body.emm-single-active .emm-premium-highlights svg{width:23px;height:23px;color:#5e7029}
body.emm-single-active .emm-sp-summary-card .emm-sp-sku{font-size:.82rem}
body.emm-single-active .emm-sp-stock{display:inline-flex;padding:8px 14px;background:linear-gradient(140deg,#e5eac8,#f5f1da);border-radius:28px;font-size:.82rem;color:#536b2b}
body.emm-single-active .emm-sp-stock.is-out{background:#fbe3e0;color:#a2443d}
body.emm-single-active .emm-sp-selection-column{grid-area:selection;min-width:0}
body.emm-single-active .emm-buy-inline:empty{min-height:25px}
body.emm-single-active .emm-buy-inline[aria-busy=true]:empty:before{content:'در حال دریافت گزینه‌های واقعی محصول…';font-size:.85rem;color:#776b5b}
body.emm-single-active .emm-sp-selection-column .emm-native-purchase{background:linear-gradient(140deg,#fffaf4,#faede4);padding:16px;border:1px solid #fff;border-radius:22px}
body.emm-single-active .emm-sp-price-column{grid-area:price;position:sticky;top:20px;min-width:0;align-self:start}
body.emm-single-active .emm-sp-price-column .emm-sp-fallback-price{border:1px solid #fff;background:#fff7ef;border-radius:25px;padding:20px;box-shadow:5px 9px 22px #6b4a2d18}
body.emm-single-active .emm-sp-fallback-price h2{font-size:1rem;margin:0 0 12px}
body.emm-single-active .emm-sp-price-column .emm-purchase-summary{position:static;display:block;border:1px solid #fff;background:linear-gradient(150deg,#fffaf5,#f8eae0);border-radius:25px;padding:18px 16px;box-shadow:6px 10px 22px #6e49221c,-4px -4px 12px #ffffffb0}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices{display:flex;flex-direction:column;gap:9px}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices>section{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:right;flex-wrap:wrap;padding:12px 14px;border:1px solid #f1e1d4;border-radius:15px;background:#fff8f0}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices .is-wholesale{background:#f1f0dd;border-color:#e5e5ce}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices strong{color:#4c6721;font-size:clamp(1rem,1.22vw,1.32rem);text-align:left;font-weight:900;line-height:1.6}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices del{color:#897c74;font-size:.77rem;white-space:normal}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices small{color:#51443c;font-weight:800}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices .is-wholesale small:last-child{background:#e9e8cf;border-radius:22px;padding:2px 8px}
body.emm-single-active .emm-purchase-view[data-mode=inline]{display:block;direction:rtl;padding:0;min-width:0}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-selection{min-width:0;padding:15px 16px;background:linear-gradient(145deg,#fffaf6,#f9eae2);border:1px solid #fff;border-radius:24px;box-shadow:3px 6px 15px #79533117}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title h2{font-size:1.02rem;line-height:1.7;color:#302e25}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title button{background:#fff7ef;color:#684020;border:1px solid #f4e2d2;padding:7px 16px;min-height:44px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{display:flex;align-items:start;gap:12px;flex-wrap:wrap;margin:16px 0}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{width:62px;max-width:70px;min-height:66px;padding:5px 2px;font-size:.79rem;border:0;background:transparent;box-shadow:none;line-height:1.5;color:#3d3128}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-color-dot{width:40px;height:40px;border:2px solid #fff;box-shadow:0 0 0 1px #a89c87,1px 3px 7px #432c292c}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches [aria-pressed=true] .emm-color-dot{outline:2.5px solid #4e692a;outline-offset:3px;box-shadow:0 2px 10px #394b302f}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-groups{display:flex;flex-direction:column;gap:8px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group{margin:0;background:linear-gradient(155deg,#fff7f4,#f9e2e0);border:1px solid #fff;border-radius:19px;padding:8px 12px;box-shadow:3px 5px 13px #a16b5b19;max-width:100%}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group summary{min-height:44px;gap:10px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group summary .emm-color-dot{width:27px;height:27px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:9px 0;min-width:0;align-items:center}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-description{align-items:start;gap:2px;min-width:0}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-description strong{font-size:.9rem}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-dimensions{font-size:.75rem;line-height:1.55;color:#817160}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-price{display:none}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper{align-self:center;direction:rtl;flex:none}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper input{width:34px;min-width:30px;font-size:16px}
body.emm-single-active .emm-purchase-sticky-info{display:none}
body.emm-single-active .emm-sp-price-column .emm-purchase-count{border-top:1px solid #eadbd0;margin:14px 0 2px;padding-top:12px;font-weight:800;color:#465a29}
body.emm-single-active .emm-sp-price-column .emm-purchase-amount{font-size:clamp(1.15rem,1.45vw,1.55rem);color:#4a6820;font-weight:900;text-align:center}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions{display:flex;flex-direction:column;gap:9px;margin:14px 0 0;position:static}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions button{min-height:52px;border-radius:15px;font-size:.92rem;font-weight:850;line-height:1.5;min-width:0}
body.emm-single-active .emm-sp-price-column .emm-purchase-note{font-size:.75rem;line-height:1.65}
body.emm-single-active .emm-sp-details{padding:16px;border-radius:27px}
body.emm-single-active .emm-sp-tabs__nav{display:flex;flex-wrap:wrap;gap:8px}
body.emm-single-active .emm-sp-tab{flex:1 1 140px;min-height:45px}
body.emm-single-active .emm-sp-specs-table{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.emm-single-active .emm-sp-specs-row{background:linear-gradient(140deg,#fffaf6,#f7e9dd);border:1px solid #fff;border-radius:18px;padding:15px 12px;text-align:center;min-width:0}
body.emm-single-active .emm-sp-specs-row>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:1250px){
 body.emm-single-active .emm-sp-main-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-template-areas:'gallery info' 'gallery price' 'gallery selection'}
 body.emm-single-active .emm-sp-price-column{position:static}
 body.emm-single-active .emm-sp-price-column .emm-purchase-prices{flex-direction:row}
 body.emm-single-active .emm-sp-specs-table{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px){
 body.emm-single-active .emm-sp-main-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:'gallery' 'info' 'price' 'selection';gap:13px;direction:rtl}
 body.emm-single-active .emm-sp-gallery-card{position:static;width:100%;max-width:680px;justify-self:center}
 body.emm-single-active .emm-sp-gallery-stage{aspect-ratio:4/3;max-height:440px}
 body.emm-single-active .emm-sp-summary-card{width:100%}
 body.emm-single-active .emm-sp-price-column{position:static;width:100%}
 body.emm-single-active .emm-sp-selection-column{width:100%}
 body.emm-single-active .emm-sp-specs-table{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 body.emm-single-active .emm-main>.emm-container{width:min(calc(100% - 18px),700px)}
 body.emm-single-active .emm-single-product-page{padding-bottom:calc(148px + env(safe-area-inset-bottom))}
 body.emm-single-active .emm-premium-storebar{display:none}
 body.emm-single-active .emm-sp-gallery-card{border-radius:24px;padding:7px}
 body.emm-single-active .emm-sp-gallery-stage{aspect-ratio:1.75;min-height:0;max-height:280px;border-radius:19px}
 body.emm-single-active .emm-sp-gallery-slide{padding:6px}
 body.emm-single-active .emm-sp-gallery-thumbs{padding:7px 2px 1px;gap:7px}
 body.emm-single-active .emm-sp-thumb{width:55px;height:55px;min-height:55px;flex-basis:55px;border-radius:12px}
 body.emm-single-active .emm-sp-summary-card{gap:8px}
 body.emm-single-active .emm-sp-summary-card .emm-sp-breadcrumb{display:none}
 body.emm-single-active .emm-sp-summary-card .emm-sp-title{font-size:clamp(1.22rem,5vw,1.65rem);text-align:right}
 body.emm-single-active .emm-sp-summary-card .emm-sp-purchase-meta{flex-wrap:wrap;justify-content:space-between}
 body.emm-single-active .emm-sp-summary-card .emm-sp-excerpt{font-size:.86rem;-webkit-line-clamp:2}
 body.emm-single-active .emm-sp-summary-card .emm-premium-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.emm-single-active .emm-premium-highlights>span:nth-child(n+3){display:none}
 body.emm-single-active .emm-sp-price-column .emm-purchase-summary{background:linear-gradient(145deg,#fffaf5,#f9e5de);border-radius:22px;padding:14px}
 body.emm-single-active .emm-sp-price-column .emm-purchase-prices{flex-direction:row;gap:10px}
 body.emm-single-active .emm-sp-price-column .emm-purchase-prices>section{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0;padding:10px 6px;gap:3px}
 body.emm-single-active .emm-sp-price-column .emm-purchase-prices strong{font-size:clamp(.92rem,4vw,1.3rem);text-align:center}
 body.emm-single-active .emm-sp-price-column .emm-purchase-prices small{font-size:.7rem}
 body.emm-single-active .emm-sp-price-column .emm-purchase-prices del{font-size:.7rem}
 body.emm-single-active .emm-sp-price-column .emm-purchase-count{margin-top:10px}
 body.emm-single-active .emm-sp-price-column .emm-purchase-progress-text{margin:9px 0 5px}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-selection{padding:13px;border-radius:22px}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{gap:8px;margin:10px 0}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{max-width:64px;width:55px}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-color-dot{width:38px;height:38px}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group{padding:5px 10px}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-price{display:none}
 body.emm-single-active .emm-sp-price-column .emm-purchase-actions{position:fixed;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);left:0;right:0;bottom:var(--emm-buy-keyboard-offset,0px);z-index:35;gap:8px;padding:8px 12px calc(10px + env(safe-area-inset-bottom));margin:0;border-top:1px solid #ead7c4;background:#fff8f0;box-shadow:0 -5px 22px #5b3d261d}
 body.emm-single-active .emm-sp-price-column .emm-purchase-sticky-info{display:block;grid-column:1/-1;text-align:center;font-size:.8rem;font-weight:850;color:#4c6028;line-height:1.2}
 body.emm-single-active .emm-sp-price-column .emm-purchase-actions button{font-size:.82rem;min-height:48px;padding:7px 6px;white-space:normal}
 body.emm-single-active .emm-sp-details{padding:9px;border-radius:22px}
 body.emm-single-active .emm-sp-tabs__nav{display:flex;gap:5px}
 body.emm-single-active .emm-sp-tab{flex:1 1 100px;min-height:47px;font-size:.79rem;padding:7px}
 body.emm-single-active .emm-sp-specs-table{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 body.emm-single-active .emm-sp-specs-row{padding:10px 8px;font-size:.78rem}
}
@media(max-width:359px){
 body.emm-single-active .emm-sp-main-grid{gap:10px}
 body.emm-single-active .emm-sp-gallery-stage{aspect-ratio:1.45}
 body.emm-single-active .emm-quantity-stepper button{min-width:38px;min-height:43px}
 body.emm-single-active .emm-quantity-stepper input{width:30px}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-row{gap:4px}
 body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-description small{font-size:.66rem}
 body.emm-single-active .emm-sp-price-column .emm-purchase-actions button{font-size:.76rem}
}
@media(prefers-reduced-motion:reduce){body.emm-single-active .emm-single-product-page *{animation:none!important;transition:none!important}}
/* Canonical feature strip and size guide, only populated with saved data. */
body.emm-single-active .emm-sp-feature-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 20px;background:linear-gradient(145deg,#fff9f2,#faede3);border:1px solid #fff;border-radius:24px;padding:12px;box-shadow:3px 6px 18px #60432714}
body.emm-single-active .emm-sp-feature-strip__item{display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap;padding:8px;min-width:0;text-align:center;font-size:.79rem;border-inline-end:1px solid #ead9c9;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-feature-strip__item:last-child{border-inline-end:0}
body.emm-single-active .emm-sp-feature-strip__item svg{height:23px;width:23px;color:#5e742e;flex:none}
body.emm-single-active .emm-sp-feature-strip__item span{color:#756857}
body.emm-single-active .emm-sp-feature-strip__item strong{color:#33392a}
@media(max-width:850px){body.emm-single-active .emm-sp-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}body.emm-single-active .emm-sp-feature-strip__item:nth-child(even){border-inline-end:0}}
@media(max-width:420px){body.emm-single-active .emm-sp-feature-strip__item{flex-direction:column;font-size:.75rem}}

/* Phase 03 correction: compact active-color workspace, with retained quantities. */
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:7px 4px 10px;max-width:100%;gap:8px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{flex:0 0 62px;max-width:70px;overflow-wrap:anywhere}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option[disabled]{opacity:.45;cursor:not-allowed}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors{display:flex;max-width:100%;min-width:0;overflow-x:auto;gap:7px;padding:5px 2px 10px;scrollbar-width:thin;overscroll-behavior-inline:contain}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors[hidden]{display:none}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors button{display:grid;grid-template-columns:20px auto;align-items:center;gap:3px 7px;flex:0 0 auto;min-height:48px;min-width:85px;border:1px solid #e1d3c1;border-radius:14px;background:#fff8ef;color:#4a4033;padding:6px 10px;font-size:.78rem;box-shadow:none}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors button[aria-pressed=true]{border-color:#698044;background:#ebefdb;box-shadow:0 2px 5px #56662a20}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors .emm-color-dot{width:20px;height:20px;grid-row:1/3}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-color-count{font-size:.68rem;color:#54652e;text-align:right}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-list{max-height:clamp(210px,44vh,480px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-inline:2px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-price{display:block;font-size:.72rem;color:#53652c}
body.emm-single-active .emm-purchase-view[data-mode=inline] :is(.emm-selected-colors,.emm-purchase-swatches) button:focus-visible{outline:2px solid #587133;outline-offset:2px}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions button{border:1px solid #849451;background:#fff8ef;color:#465b25;box-shadow:0 3px 9px #59452c20}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions button.emm-purchase-primary{background:linear-gradient(145deg,#83953b,#4c641f);color:#fff;border-color:#66792e}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions button:disabled{opacity:.5;cursor:not-allowed}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions button:focus-visible{outline:2px solid #4f6a28;outline-offset:3px}

body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group[open]{display:block}

/* Phase 03: size-guide showcase, isolated from purchase/cart and shop styles. */
body.emm-single-active .emm-sp-tab[data-emm-tab="sizes"]{display:flex;align-items:center;justify-content:center;gap:8px}
body.emm-single-active .emm-sp-tab[data-emm-tab="sizes"] svg{width:20px;height:20px;flex:none}
body.emm-single-active .emm-sp-tab-panel--size-guide{padding:0;background:none;box-shadow:none;min-height:0}
body.emm-single-active .emm-sp-tab-panel--size-guide[hidden]{display:none}
.emm-size-showcase{--sg-olive:#596b26;--sg-ink:#493a2b;--sg-gold:#a47737;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,23%);grid-template-areas:"intro art" "cards art" "foot foot";gap:20px 16px;padding:22px 22px 18px;background:linear-gradient(135deg,#fdf5ef 0%,#fff9f4 55%,#f5e7dc 100%);border:1px solid #fff;border-radius:28px;box-shadow:0 8px 24px #8d654316;overflow:hidden;color:var(--sg-ink);text-align:center;line-height:1.7;min-width:0}
.emm-size-showcase :is(h3,h4,p,dl,dd,dt){margin:0}
.emm-size-showcase__intro{grid-area:intro;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 5px}
body.emm-single-active .emm-size-showcase__intro h3{display:flex;justify-content:center;align-items:center;gap:12px;margin:0;color:var(--sg-ink);font-size:clamp(1.35rem,2vw,1.9rem);font-weight:850;line-height:1.4}
.emm-size-showcase__intro h3::before,.emm-size-showcase__intro h3::after{content:"";width:clamp(15px,4vw,64px);height:1px;background:linear-gradient(90deg,transparent,#8d9551);flex:none}
.emm-size-showcase__intro h3::after{transform:rotate(180deg)}
.emm-size-showcase__intro h3 svg{width:32px;height:32px;flex:none;color:var(--sg-gold)}
.emm-size-showcase__intro>p{font-size:.94rem;color:#65574c;overflow-wrap:anywhere}
.emm-size-showcase__status,.emm-size-showcase__foot{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(110deg,#f5f1df,#f0ebd9);border:1px solid #e7e1cc;border-radius:999px;color:#475127;padding:7px 18px;font-size:.85rem;min-width:0;overflow-wrap:anywhere}
.emm-size-showcase__status svg,.emm-size-showcase__foot svg{color:var(--sg-olive);width:23px;height:23px;flex:none}
.emm-size-showcase__art{grid-area:art;position:relative;display:flex;align-items:flex-end;justify-content:center;min-width:0;min-height:270px;margin:-22px 0 -8px -22px;overflow:hidden;border-radius:22px 0 0 22px;isolation:isolate}
.emm-size-showcase__halo{position:absolute;inset:-10% -18% 1% -14%;z-index:-2;border-radius:28% 72% 40% 60% / 25% 36% 64% 75%;background:radial-gradient(ellipse at 32% 40%,#fff0e3 0%,#edcfb7 46%,#f8e9dc 63%,transparent 78%);opacity:.9}
.emm-size-showcase__plinth{position:absolute;bottom:3%;left:-7%;width:114%;height:21%;z-index:-1;border-radius:50%;background:linear-gradient(180deg,#fff5e8 0%,#f0d6c3 85%);box-shadow:0 15px 25px #a77e5d21}
.emm-size-showcase__art img{position:relative;display:block;width:min(100%,330px);height:auto;aspect-ratio:1;object-fit:contain;max-width:100%;margin:0 auto 5%;filter:drop-shadow(0 12px 9px #6c422c26)}
.emm-size-showcase__cards{grid-area:cards;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;min-width:0}
.emm-size-showcase__cards.is-single{grid-template-columns:minmax(0,1fr);max-width:440px;width:100%;justify-self:center}
.emm-size-showcase__card{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;padding:15px 14px 12px;border-radius:22px;background:linear-gradient(150deg,#fffaf5,#f9eee4);border:1px solid #fff;box-shadow:0 4px 12px #9d79561a;overflow:hidden}
.emm-size-showcase__card.is-featured{border:1.5px solid #8b994f;background:linear-gradient(155deg,#f7f6e7,#eee9d8);box-shadow:0 5px 14px #65733b16,inset 0 1px 0 #fff}
.emm-size-showcase__cardhead{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;min-width:0;min-height:29px;color:var(--sg-olive);text-align:start}
.emm-size-showcase__cardhead>svg{width:27px;height:27px;flex:none;color:var(--sg-gold)}
.emm-size-showcase__cardhead h4{font-size:clamp(1rem,1.5vw,1.35rem);font-weight:850;min-width:0;overflow-wrap:anywhere;color:inherit}
.emm-size-showcase__tag{margin-inline-start:auto;font-size:.7rem;font-weight:700;line-height:1.45;color:#59662e;background:#efeddb;border-radius:999px;padding:4px 8px;max-width:100%;overflow-wrap:anywhere;text-align:center}
.emm-size-showcase__card.is-featured .emm-size-showcase__tag{color:#fff;background:linear-gradient(145deg,#86983e,#536322);box-shadow:0 2px 5px #47542a24}
.emm-size-showcase__card.is-featured .emm-size-showcase__cardhead>svg{color:var(--sg-olive)}
.emm-size-showcase__measures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0;flex:1}
.emm-size-showcase__measure{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:9px 5px;min-width:0;min-height:75px;background:linear-gradient(155deg,#fffbf6,#f8eee5);border:1px solid #eddfd1;border-radius:14px;box-shadow:0 3px 6px #85634610}
.emm-size-showcase__card.is-featured .emm-size-showcase__measure{background:linear-gradient(155deg,#fffcf4,#f4f0df);border-color:#e6dfcb}
.emm-size-showcase__measure dt{display:flex;justify-content:center;align-items:center;gap:7px;font-size:.81rem;color:#5e5146;min-width:0}
.emm-size-showcase__measure dt svg{height:21px;width:21px;flex:none;color:var(--sg-gold)}
.emm-size-showcase__card.is-featured .emm-size-showcase__measure dt svg{color:var(--sg-olive)}
.emm-size-showcase__measure dd{display:flex;align-items:baseline;justify-content:center;gap:4px;flex-wrap:wrap;line-height:1.5;min-width:0;color:#413629;overflow-wrap:anywhere}
.emm-size-showcase__measure strong{font-size:clamp(1.06rem,1.6vw,1.42rem);font-weight:850;font-variant-numeric:tabular-nums;max-width:100%}
.emm-size-showcase__measure small{font-size:.69rem;color:#65574c}
.emm-size-showcase__note{margin-top:auto!important;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:16px;background:#f7e8dc;padding:7px 9px;color:#5c4938;font-size:.78rem;overflow-wrap:anywhere;min-width:0}
.emm-size-showcase__note svg{width:21px;height:21px;flex:none;color:var(--sg-gold)}
.emm-size-showcase__card.is-featured .emm-size-showcase__note{background:#ebe9d1;color:#465024}.emm-size-showcase__card.is-featured .emm-size-showcase__note svg{color:var(--sg-olive)}
.emm-size-showcase__missing{display:grid;place-items:center;flex:1;min-height:105px;color:#746455;font-size:.85rem;overflow-wrap:anywhere}
.emm-size-showcase__card.is-inactive{background:rgba(248,238,232,.72);border:1.5px dashed #d3c7c0;box-shadow:none;color:#84756d;min-height:220px}
.emm-size-showcase__card.is-inactive .emm-size-showcase__cardhead,.emm-size-showcase__card.is-inactive .emm-size-showcase__cardhead>svg{color:#8a7d75}
.emm-size-showcase__disabled{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:5px 0;min-width:0;color:#9e8c84}
.emm-size-showcase__disabled svg{width:76px;height:76px;max-width:80%;stroke-width:1.15}
.emm-size-showcase__disabled span{display:block;background:#f1dfdc;color:#755852;border-radius:999px;padding:7px 12px;font-size:.78rem;overflow-wrap:anywhere}
.emm-size-showcase__card.is-unavailable{border-style:dashed;border-color:#cbb9af;background:#f8f0ea;box-shadow:none}
.emm-size-showcase__card.is-unavailable .emm-size-showcase__tag{background:#f1dfdc;color:#755852;box-shadow:none}
.emm-size-showcase__foot{grid-area:foot;border-radius:20px;font-size:.81rem;padding:9px 14px;line-height:1.85;color:#665a47}
@media(max-width:1150px){.emm-size-showcase{grid-template-columns:minmax(0,1fr) minmax(150px,20%);gap:14px 12px;padding:17px}.emm-size-showcase__cards{gap:9px}.emm-size-showcase__card{padding:11px 8px;gap:9px}.emm-size-showcase__measure{min-height:68px}.emm-size-showcase__art{margin:-17px 0 -4px -17px}.emm-size-showcase__tag{font-size:.66rem}}
@media(max-width:900px){.emm-size-showcase{grid-template-columns:minmax(0,1fr) minmax(110px,25%);grid-template-areas:"intro art" "cards cards" "foot foot";gap:14px;padding:16px}.emm-size-showcase__art{min-height:130px;margin:-16px 0 0 -16px;border-radius:0 0 0 20px;align-items:center}.emm-size-showcase__art img{max-width:180px;margin:0}.emm-size-showcase__plinth{bottom:12%}.emm-size-showcase__intro h3::before,.emm-size-showcase__intro h3::after{display:none}.emm-size-showcase__cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.emm-size-showcase__intro{justify-content:center}.emm-size-showcase__status{border-radius:14px;font-size:.76rem;padding:6px 9px}}
@media(max-width:600px){.emm-size-showcase{grid-template-columns:minmax(0,1fr) minmax(76px,29%);gap:12px 8px;padding:12px;border-radius:20px}.emm-size-showcase__art{margin:-12px 0 0 -12px;min-height:120px}.emm-size-showcase__intro{padding:0;gap:6px}body.emm-single-active .emm-size-showcase__intro h3{font-size:1.13rem;gap:6px;line-height:1.55}.emm-size-showcase__intro h3 svg{width:23px;height:23px}.emm-size-showcase__intro>p{font-size:.75rem;line-height:1.65}.emm-size-showcase__status{font-size:.68rem;gap:4px;padding:5px 6px}.emm-size-showcase__status svg{width:16px;height:16px}.emm-size-showcase__cards{grid-template-columns:minmax(0,1fr);gap:10px}.emm-size-showcase__card{padding:12px;border-radius:17px}.emm-size-showcase__cardhead h4{font-size:1.15rem}.emm-size-showcase__cardhead>svg{width:23px;height:23px}.emm-size-showcase__measure{min-height:65px}.emm-size-showcase__measure strong{font-size:1.2rem}.emm-size-showcase__measure small{font-size:.73rem}.emm-size-showcase__card.is-inactive{min-height:0;gap:6px}.emm-size-showcase__disabled{flex-direction:row;gap:9px;padding:3px 0;justify-content:flex-start}.emm-size-showcase__disabled svg{width:42px;height:42px;flex:none}.emm-size-showcase__disabled span{border-radius:13px;flex:1}.emm-size-showcase__foot{font-size:.73rem;gap:7px;padding:9px;text-align:start;border-radius:14px}.emm-size-showcase__foot svg{width:20px;height:20px}}
@media(max-width:350px){.emm-size-showcase{padding:10px;grid-template-columns:minmax(0,1fr) minmax(64px,26%)}.emm-size-showcase__art{margin:-10px 0 0 -10px}.emm-size-showcase__intro h3 svg{display:none}.emm-size-showcase__card{padding:9px}.emm-size-showcase__measure{padding-inline:3px}}

/* The guide tab belongs to the existing details navigation; no decorative/inert tabs. */
body.emm-single-active .emm-sp-details--has-size-guide .emm-sp-tabs__nav{padding:5px;background:#fbf2eb;border:1px solid #fff;border-radius:999px;box-shadow:0 4px 12px #9d795619;gap:6px}
body.emm-single-active .emm-sp-details--has-size-guide .emm-sp-tab:not(.is-active){box-shadow:none;background:transparent;color:#493b2e}
body.emm-single-active .emm-sp-details--has-size-guide .emm-sp-tab.is-active{background:linear-gradient(160deg,#899641,#536321);box-shadow:inset 0 1px 3px #ffffff40,0 3px 8px #61702e25}
@media(min-width:901px){.emm-size-showcase__card.is-featured .emm-size-showcase__tag{border-radius:12px 0 16px 0;padding:7px 12px;margin-block-start:-5px;align-self:flex-start}}
@media(max-width:600px){body.emm-single-active .emm-sp-details--has-size-guide .emm-sp-tabs__nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px;gap:5px}body.emm-single-active .emm-sp-details--has-size-guide .emm-sp-tab{min-height:44px}.emm-size-showcase__card.is-inactive{order:1}.emm-size-showcase__card.is-unavailable{order:1}}

/* Technical specifications — presentation of the canonical Commerce Engine rows. */
body.emm-single-active .emm-sp-details--technical .emm-sp-tabs__nav{padding:4px;gap:8px;border:0;border-radius:20px;background:transparent;box-shadow:none}
body.emm-single-active .emm-sp-details--technical .emm-sp-tab{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;padding:8px 12px;flex:1 1 130px;line-height:1.55;border:1px solid #fff9f4;white-space:normal}
body.emm-single-active .emm-sp-details--technical .emm-sp-tab svg{width:20px;height:20px;flex:none;color:#826127}
body.emm-single-active .emm-sp-details--technical .emm-sp-tab:not(.is-active){background:linear-gradient(155deg,#fffaf5,#faeee5);color:#493b2e;box-shadow:0 5px 11px #906b4420,inset 0 1px 0 #fff}
body.emm-single-active .emm-sp-details--technical .emm-sp-tab.is-active{background:linear-gradient(155deg,#829341,#4e6022);color:#fff;box-shadow:0 5px 12px #52622435,inset 0 1px 4px #ffffff45}
body.emm-single-active .emm-sp-details--technical .emm-sp-tab.is-active svg{color:inherit}
body.emm-single-active .emm-sp-tab-panel--tech{padding:0;background:none;box-shadow:none;min-height:0}
body.emm-single-active .emm-sp-tab-panel--tech[hidden]{display:none}
.emm-tech{min-width:0;padding:clamp(12px,1.7vw,26px);background:linear-gradient(155deg,#fff9f5,#fcf0e7);border:1px solid #fff9f6;border-radius:26px;box-shadow:0 8px 20px #9b79551b,inset 0 1px 0 #fff;direction:rtl;color:#45372d}
.emm-tech-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin:0 0 28px}
.emm-tech-heading{display:flex;align-items:center;gap:13px;flex:0 1 auto;min-width:0}
.emm-tech-heading-icon{width:58px;height:58px;flex:none;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#fff0ee,#f7deda);color:#b65f53;border:1px solid #fff;box-shadow:inset 0 1px 0 #fff}
.emm-tech-heading-icon svg{width:32px;height:32px}
.emm-sp-tab-panel .emm-tech-heading h3{display:block;margin:0 0 4px;font-size:clamp(1.15rem,1.8vw,1.75rem);line-height:1.5;font-weight:900;color:#40561b;overflow-wrap:anywhere}
.emm-tech-heading p{font-size:.86rem;line-height:1.7;color:#65574d;margin:0;overflow-wrap:anywhere}
.emm-tech-chips{list-style:none;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:8px;padding:0;margin:0;flex:1 1 550px;min-width:0}
.emm-tech-chip{display:flex;align-items:center;gap:8px;flex:1 1 122px;min-width:0;max-width:100%;padding:8px 12px;border-radius:20px;background:linear-gradient(150deg,#f5f3e1,#eeecd8);border:1px solid #fff9f0;color:#415620}
.emm-tech-chip svg{width:25px;height:25px;flex:none;color:#62762a}
.emm-tech-chip span{display:grid;gap:1px;min-width:0;overflow-wrap:anywhere;line-height:1.6}
.emm-tech-chip small{font-size:.7rem;color:#645e48;font-weight:500}
.emm-tech-chip strong{font-size:.85rem;font-weight:800;color:#3f531b}
.emm-tech-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:14px;min-width:0}
.emm-tech-card{min-width:0;border-radius:22px;border:1px solid #f0e2d6;padding:8px 10px 12px;background:linear-gradient(155deg,#fffaf5,#faf0e6);box-shadow:0 7px 15px #946b4620,inset 0 1px 1px #fff}
.emm-tech-card h4{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 7px;padding:10px 7px;border:1px solid #fff8f4;border-radius:15px;min-height:50px;background:linear-gradient(145deg,#fcedea,#f8e5df);color:#66332e;font-size:clamp(.96rem,1.25vw,1.16rem);line-height:1.55;text-align:center;font-weight:850;overflow-wrap:anywhere}
.emm-tech-card h4 svg{width:27px;height:27px;flex:none;color:#b65f50}
.emm-tech-card dl{padding:0;margin:0;min-width:0}
.emm-tech-row{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;gap:8px;padding:10px 2px;min-height:45px;border-bottom:1px solid #eaddcf;min-width:0;font-size:.86rem;line-height:1.65}
.emm-tech-row:last-child{border-bottom:0}
.emm-tech-row dt{display:flex;align-items:center;gap:7px;color:#493c32;font-weight:500;min-width:0;overflow-wrap:anywhere}
.emm-tech-row dt svg{width:21px;height:21px;flex:none;color:#806626}
.emm-tech-row dd{min-width:0;margin:0;color:#40561b;font-weight:800;text-align:center;overflow-wrap:anywhere;word-break:normal}
.emm-tech-row dd bdi{white-space:normal;overflow-wrap:anywhere}
.emm-tech-card:only-child{grid-column:1/-1;max-width:650px;width:100%;justify-self:center}
.emm-tech-card:nth-child(5):last-child{grid-column:1/-1}
.emm-tech-card:nth-child(5):last-child dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.emm-tech .emm-sp-empty{margin:0;padding:14px;background:#fff9f3;border-radius:14px}
@media(max-width:1150px){.emm-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emm-tech-head{gap:14px;margin-bottom:20px}.emm-tech-chips{flex-basis:100%}.emm-tech-card h4{font-size:1.03rem}}
@media(max-width:600px){body.emm-single-active .emm-sp-details--technical .emm-sp-tabs__nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0}body.emm-single-active .emm-sp-details--technical .emm-sp-tab{min-height:44px;padding:6px;font-size:.82rem;gap:5px}body.emm-single-active .emm-sp-details--technical .emm-sp-tab svg{width:17px;height:17px}.emm-tech{padding:10px;border-radius:19px}.emm-tech-head{gap:12px;margin-bottom:15px}.emm-tech-heading-icon{width:44px;height:44px;border-radius:13px}.emm-tech-heading-icon svg{width:26px;height:26px}.emm-tech-heading{gap:9px}.emm-tech-heading p{font-size:.76rem}.emm-tech-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.emm-tech-chip{padding:7px 8px;border-radius:14px;gap:5px}.emm-tech-chip svg{width:20px;height:20px}.emm-tech-chip small{font-size:.68rem}.emm-tech-chip strong{font-size:.77rem}.emm-tech-grid{grid-template-columns:minmax(0,1fr);gap:10px}.emm-tech-card{padding:7px 10px 8px;border-radius:17px}.emm-tech-card h4{justify-content:flex-start;min-height:42px;margin-bottom:3px;padding:8px 10px;font-size:1rem}.emm-tech-card h4 svg{width:22px;height:22px}.emm-tech-row{padding:9px 3px;min-height:42px;font-size:.84rem}.emm-tech-row dd{text-align:end}.emm-tech-card:nth-child(5):last-child dl{display:block}}
@media(max-width:350px){.emm-tech-chip{align-items:flex-start;padding:6px}.emm-tech-chip svg{width:17px;height:17px}.emm-tech-row{font-size:.8rem}.emm-tech-row dt{gap:5px}.emm-tech-row dt svg{width:18px;height:18px}}

/* EMM technical details: three-tone visual system and native RTL touch rail. */
.emm-tech{--emm-tech-olive:#435a20;--emm-tech-rose:#aa574d;--emm-tech-cream:#fff7ee}
.emm-tech-heading-icon{color:var(--emm-tech-rose);background:linear-gradient(145deg,#fff0ed,#f7deda)}
.emm-tech-card h4{color:#63312b;background:linear-gradient(155deg,#fff0eb,#f9e2dc)}
.emm-tech-card h4 svg{color:var(--emm-tech-rose);width:30px;height:30px}
.emm-tech-row dt svg{color:var(--emm-tech-olive);width:24px;height:24px}
.emm-tech-row dd,.emm-tech-chip strong,.emm-tech-chip svg{color:var(--emm-tech-olive)}
.emm-tech-row dt{gap:8px}
.emm-tech-scroll-hint{display:none;margin:0}
.emm-tech-grid:focus-visible{outline:2px solid #71833a;outline-offset:3px;border-radius:16px}
@media(max-width:767px){
 .emm-tech-head{margin-bottom:10px}
 .emm-tech-chips{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none;-ms-overflow-style:none;scroll-snap-type:x proximity;overscroll-behavior-x:contain;gap:7px;padding:2px 1px 5px}
 .emm-tech-chip{flex:0 0 auto;max-width:min(80%,240px);scroll-snap-align:start;padding:8px 10px;border-radius:20px}
 .emm-tech-chip svg{width:24px;height:24px}
 .emm-tech-scroll-hint{display:flex;align-items:center;justify-content:center;gap:6px;color:#52652d;font-size:.73rem;line-height:1.6;margin:3px 0 8px}
 .emm-tech-scroll-hint svg{width:19px;height:19px;flex:none}
 .emm-tech-grid{display:flex;align-items:stretch;gap:12px;max-width:100%;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;padding:3px 2px 13px;box-sizing:border-box;scroll-padding-inline:2px}
 .emm-tech-grid::-webkit-scrollbar,.emm-tech-chips::-webkit-scrollbar{display:none;width:0;height:0}
 .emm-tech-card{flex:0 0 min(86%,340px);max-width:none;min-width:0;scroll-snap-align:start;padding:8px 10px 10px;border-radius:19px}
 .emm-tech-card:only-child{flex-basis:100%;max-width:none}
 .emm-tech-card h4{justify-content:center;min-height:48px;font-size:1rem}
 .emm-tech-card h4 svg{width:28px;height:28px}
 .emm-tech-row dt svg{width:23px;height:23px}
 .emm-tech-row{font-size:.84rem;min-height:45px;gap:7px}
 .emm-tech-row dd{text-align:center}
 .emm-tech-card:nth-child(5):last-child dl{display:block}
}
@media(max-width:350px){.emm-tech-card{flex-basis:90%;padding-inline:8px}.emm-tech-row{font-size:.79rem;gap:5px}.emm-tech-row dt{gap:5px}.emm-tech-row dt svg{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.emm-tech-grid{scroll-behavior:auto}}


/* Phase 03 final owner-review polish — hero image / title / pricing composition.
   Focus: a more finished premium top section on desktop and mobile without touching data contracts. */
body.emm-single-active .emm-sp-gallery-card{
  background:linear-gradient(155deg,#fffaf6,#f5e7dc);
  border:1px solid rgba(255,255,255,.96);
  box-shadow:10px 16px 32px rgba(137,106,75,.10),-5px -5px 14px rgba(255,255,255,.70),inset 0 1px 0 rgba(255,255,255,.96);
  padding:14px;
}
body.emm-single-active .emm-sp-gallery-stage{
  background:
    radial-gradient(circle at 18% 18%,rgba(255,255,255,.72),transparent 26%),
    radial-gradient(circle at 84% 84%,rgba(242,210,191,.45),transparent 30%),
    linear-gradient(145deg,#f4dfd2,#f7eee7);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), inset 0 -14px 30px rgba(227,205,190,.26);
}
body.emm-single-active .emm-sp-gallery-nav,
body.emm-single-active .emm-sp-gallery-fullscreen{
  background:rgba(255,250,245,.94);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 10px 18px rgba(125,94,66,.14);
  color:#8d6232;
}
body.emm-single-active .emm-sp-gallery-fullscreen{top:16px;inset-inline-start:16px}
body.emm-single-active .emm-sp-gallery-nav--prev{inset-inline-start:16px}
body.emm-single-active .emm-sp-gallery-nav--next{inset-inline-end:16px}
body.emm-single-active .emm-sp-thumb{
  border-radius:18px;
  border:1.5px solid rgba(255,255,255,.95);
  background:linear-gradient(145deg,#fff9f4,#f7e8dd);
  box-shadow:0 7px 16px rgba(131,99,73,.09);
}
body.emm-single-active .emm-sp-thumb.is-active{
  background:linear-gradient(145deg,#fffdf9,#f5eadf);
  box-shadow:0 0 0 2px rgba(107,132,49,.82),0 10px 18px rgba(75,102,29,.17);
}

body.emm-single-active .emm-sp-summary-card{gap:14px;padding-top:2px}
body.emm-single-active .emm-sp-summary-head{
  min-height:48px;
  align-items:center;
  justify-content:space-between;
  padding:0 4px;
}
body.emm-single-active .emm-sp-summary-actions{gap:8px}
body.emm-single-active .emm-sp-action-btn{
  width:42px;height:42px;
  background:linear-gradient(145deg,#fff9f3,#f4e5d8);
  border:1px solid rgba(255,255,255,.95);
  color:#81603b;
  box-shadow:0 10px 20px rgba(134,101,76,.11);
}
body.emm-single-active .emm-sp-badge{
  background:linear-gradient(145deg,#ffe5eb,#f9ccd8);
  color:#b1325f;
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 8px 16px rgba(193,88,131,.18);
  min-height:36px;
  padding:7px 14px;
  font-size:.84rem;
}
body.emm-single-active .emm-sp-breadcrumb{
  color:#8b7765;
  font-size:.8rem;
  gap:8px;
  padding:2px 2px 0;
}
body.emm-single-active .emm-sp-title{
  color:#30271f;
  font-size:clamp(1.75rem,2.3vw,3rem);
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.38;
}
body.emm-single-active .emm-sp-excerpt{
  color:#5b4e42;
  font-size:.98rem;
  line-height:2;
  max-width:60ch;
}
body.emm-single-active .emm-sp-rating{
  display:inline-flex;
  align-items:center;
  gap:10px;
  align-self:flex-start;
  padding:8px 14px;
  border-radius:999px;
  background:linear-gradient(145deg,#fff8f0,#f8eadc);
  border:1px solid rgba(255,255,255,.94);
  box-shadow:0 8px 16px rgba(141,111,86,.08);
}
body.emm-single-active .emm-sp-rating__meta{font-size:.88rem;color:#4f4439}
body.emm-single-active .emm-sp-rating__stars .star-rating{font-size:1rem}
body.emm-single-active .emm-sp-purchase-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  justify-content:flex-start;
}
body.emm-single-active .emm-sp-purchase-meta > *{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:8px 14px;
  background:linear-gradient(145deg,#fffaf6,#f4eadf);
  border:1px solid rgba(255,255,255,.94);
  border-radius:999px;
  box-shadow:0 8px 16px rgba(128,101,79,.07);
}
body.emm-single-active .emm-sp-stock{font-weight:900;color:#546d2a}
body.emm-single-active .emm-sp-stock.is-out{color:#b44a47}
body.emm-single-active .emm-sp-stock-dot{width:10px;height:10px;box-shadow:0 0 0 5px rgba(90,114,39,.12)}
body.emm-single-active .emm-sp-sku{font-size:.84rem;color:#695d53}
body.emm-single-active .emm-premium-highlights{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
body.emm-single-active .emm-premium-highlights > span{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  min-height:118px;
  padding:16px 14px;
  border-radius:24px;
  background:linear-gradient(145deg,#fffaf5,#f5ebe0);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 14px 26px rgba(130,102,79,.10), inset 0 1px 0 rgba(255,255,255,.96);
  text-align:center;
  color:#3b3027;
}
body.emm-single-active .emm-premium-highlights > span b{
  font-size:1rem;
  color:#34281f;
}
body.emm-single-active .emm-premium-highlights > span svg{
  width:24px;height:24px;flex:none;color:#9b6f43;
}

body.emm-single-active .emm-sp-selection-column .emm-purchase-selection,
body.emm-single-active .emm-sp-price-column .emm-purchase-summary{
  border-radius:30px;
  border:1px solid rgba(255,255,255,.96);
  box-shadow:10px 18px 34px rgba(124,96,72,.10),-5px -5px 12px rgba(255,255,255,.65),inset 0 1px 0 rgba(255,255,255,.96);
}
body.emm-single-active .emm-sp-selection-column .emm-purchase-selection{
  background:linear-gradient(152deg,#fffaf6,#f6e9dd);
  padding:18px 18px 16px;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title h2{
  margin:0;
  color:#2f271f;
  font-size:1.12rem;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title button{
  border-radius:999px;
  background:linear-gradient(145deg,#fff8f2,#f4e7dc);
  border:1px solid #efddcc;
  color:#8a6035;
  font-weight:800;
  box-shadow:0 8px 16px rgba(137,106,78,.08);
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{gap:14px;margin:14px 0 12px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{
  width:74px;max-width:74px;min-height:82px;border-radius:22px;padding:8px 4px;
  background:linear-gradient(145deg,#fff8f2,#f6ebe1);
  border:1px solid rgba(255,255,255,.94);
  box-shadow:0 10px 18px rgba(133,101,75,.07);
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches [aria-pressed=true]{
  box-shadow:0 0 0 2px rgba(100,128,37,.8),0 14px 24px rgba(74,102,29,.16);
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group{
  border-radius:24px;
  background:linear-gradient(150deg,#fff8f5,#f6ece5);
  border:1px solid rgba(255,255,255,.96);
  box-shadow:0 12px 24px rgba(143,101,88,.08);
  padding:10px 14px;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group summary{
  padding:4px 0;
  font-weight:900;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-row{
  border-top:1px solid rgba(226,208,193,.7);
  padding:12px 0;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-row:first-child{border-top:0}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-description strong{font-size:1rem;color:#332820}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-dimensions{color:#736457}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper{
  padding:4px 8px;
  min-height:46px;
  border-radius:999px;
  background:linear-gradient(145deg,#fffdf9,#f2e8dd);
  border:1px solid rgba(255,255,255,.96);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 8px 16px rgba(128,96,73,.06);
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper button{
  width:32px;height:32px;border-radius:50%;background:#fff8f2;border:1px solid #eddcc9;color:#846133;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper input{font-weight:900;color:#30271f}

body.emm-single-active .emm-sp-price-column .emm-purchase-summary{
  position:sticky;
  top:20px;
  background:linear-gradient(155deg,#fffaf5,#f4e7db);
  padding:18px 16px;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices{gap:10px}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices > section{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:2px 12px;
  align-items:center;
  padding:15px 14px 15px 56px;
  border-radius:18px;
  background:linear-gradient(145deg,#fffdf9,#f7ebdf);
  border:1px solid #f0dfce;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92);
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices > section::before{
  content:'';
  position:absolute;
  inset-inline-start:14px;
  top:50%;
  width:30px;height:30px;
  transform:translateY(-50%);
  border-radius:10px;
  background-position:center;
  background-repeat:no-repeat;
  background-size:18px 18px;
  background-color:#f6ede4;
  border:1px solid rgba(232,216,201,.9);
}
body.emm-single-active .emm-sp-price-column .emm-price-retail::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23906b41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4H5l2.2 10.3a2 2 0 0 0 2 1.7H18a2 2 0 0 0 1.9-1.4L22 8H6'/%3E%3Ccircle cx='10' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E");
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices > .is-wholesale::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6f2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 10 5-10 5L2 8zM2 12l10 5 10-5M2 16l10 5 10-5'/%3E%3C/svg%3E");
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices small:first-child{
  grid-column:2;
  font-size:.86rem;
  color:#56483b;
  font-weight:900;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices strong{
  grid-column:2;
  font-size:clamp(1.35rem,1.55vw,1.8rem);
  color:#4d6723;
  line-height:1.4;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices del{
  grid-column:2;
  order:-1;
  margin-top:-2px;
  font-size:.8rem;
  color:#9a8b7e;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices .is-wholesale small:last-child{
  justify-self:start;
  margin-top:4px;
  background:#ebefd8;
  color:#597029;
  padding:4px 10px;
  border-radius:999px;
}
body.emm-single-active .emm-purchase-progress-text{
  margin:12px 0 8px;
  padding:11px 14px;
  text-align:center;
  border-radius:16px;
  background:linear-gradient(145deg,#ffeef2,#f8dfe6);
  color:#b73761;
  font-weight:900;
}
body.emm-single-active .emm-purchase-progress-text.is-reached{
  background:linear-gradient(145deg,#ebf3dc,#dde9bf);
  color:#516827;
}
body.emm-single-active .emm-purchase-progress{
  width:100%;height:12px;appearance:none;border:0;border-radius:999px;overflow:hidden;
  background:#eadccf;
}
body.emm-single-active .emm-purchase-progress::-webkit-progress-bar{background:#eadccf;border-radius:999px}
body.emm-single-active .emm-purchase-progress::-webkit-progress-value{background:linear-gradient(90deg,#7d943d,#536f23);border-radius:999px}
body.emm-single-active .emm-purchase-progress::-moz-progress-bar{background:linear-gradient(90deg,#7d943d,#536f23);border-radius:999px}
body.emm-single-active .emm-purchase-progress-meta,
body.emm-single-active .emm-purchase-limit,
body.emm-single-active .emm-purchase-note,
body.emm-single-active .emm-purchase-status{color:#6b5b4e}
body.emm-single-active .emm-purchase-limit{margin:.55rem 0 0;font-weight:800}
body.emm-single-active .emm-sp-price-column .emm-purchase-count{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;
  margin-top:14px;padding-top:14px;border-top:1px solid rgba(226,208,193,.85);
  color:#546b29;font-weight:900;font-size:.96rem;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-amount{
  display:block;
  margin-top:8px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(145deg,#fffefb,#f2eadf);
  border:1px solid rgba(239,223,208,.95);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94);
}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions{gap:10px;margin-top:16px}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions .emm-purchase-primary{
  background:linear-gradient(145deg,#849b45,#566f27)!important;color:#fff!important;border:0!important;box-shadow:0 14px 24px rgba(79,108,28,.22)!important;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions button:not(.emm-purchase-primary){
  background:#fffaf5;border:1.5px solid rgba(86,111,39,.55);color:#3f4f25;box-shadow:0 10px 18px rgba(128,98,70,.08);
}

@media (max-width:1180px){
  body.emm-single-active .emm-sp-main-grid{
    grid-template-columns:minmax(0,1fr) minmax(300px,.82fr);
    grid-template-areas:'gallery info' 'selection price';
  }
  body.emm-single-active .emm-premium-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
  body.emm-single-active .emm-sp-main-grid{
    grid-template-columns:1fr;
    grid-template-areas:'gallery' 'info' 'price' 'selection';
    gap:16px;
  }
  body.emm-single-active .emm-sp-gallery-card,
  body.emm-single-active .emm-sp-price-column{position:static}
  body.emm-single-active .emm-sp-price-column .emm-purchase-summary{position:static}
}
@media (max-width:767px){
  body.emm-single-active .emm-main > .emm-container{width:min(calc(100% - 18px),100%)}
  body.emm-single-active .emm-premium-storebar{display:none}
  body.emm-single-active .emm-sp-gallery-card{padding:10px;border-radius:26px}
  body.emm-single-active .emm-sp-gallery-stage{aspect-ratio:1/1;max-height:420px;border-radius:22px}
  body.emm-single-active .emm-sp-gallery-nav,
  body.emm-single-active .emm-sp-gallery-fullscreen{width:42px;height:42px}
  body.emm-single-active .emm-sp-summary-head{display:flex;padding:0}
  body.emm-single-active .emm-sp-title{font-size:1.7rem;line-height:1.48}
  body.emm-single-active .emm-sp-excerpt{font-size:.92rem;line-height:1.9}
  body.emm-single-active .emm-sp-rating{align-self:stretch;justify-content:space-between;width:100%}
  body.emm-single-active .emm-sp-purchase-meta{gap:8px}
  body.emm-single-active .emm-sp-purchase-meta > *{min-height:40px;padding:8px 12px;font-size:.8rem}
  body.emm-single-active .emm-premium-highlights{display:flex;overflow-x:auto;gap:10px;padding-bottom:4px;scroll-snap-type:x proximity;scrollbar-width:none}
  body.emm-single-active .emm-premium-highlights::-webkit-scrollbar{display:none}
  body.emm-single-active .emm-premium-highlights > span{flex:0 0 160px;min-height:104px;scroll-snap-align:start}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-selection{padding:14px}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title{align-items:flex-start;flex-direction:column}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title button{align-self:flex-start}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;scrollbar-width:none}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches::-webkit-scrollbar{display:none}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{flex:0 0 72px}
  body.emm-single-active .emm-sp-price-column .emm-purchase-prices > section{padding-inline-start:50px}
  body.emm-single-active .emm-sp-price-column .emm-purchase-prices strong{font-size:1.2rem}
  body.emm-single-active .emm-sp-price-column .emm-purchase-actions button{min-height:50px;font-size:.95rem}
}
@media (max-width:420px){
  body.emm-single-active .emm-sp-summary-head{gap:8px}
  body.emm-single-active .emm-sp-badge{padding:6px 10px;font-size:.76rem}
  body.emm-single-active .emm-sp-action-btn{width:40px;height:40px}
  body.emm-single-active .emm-sp-title{font-size:1.55rem}
  body.emm-single-active .emm-sp-purchase-meta > *{font-size:.78rem}
  body.emm-single-active .emm-premium-highlights > span{flex-basis:148px;padding:14px 12px}
}


/* Phase 03 rc.8 — UX/UI polish pass.
   Goal: lighter, clearer, easier-to-scan premium product page on desktop and mobile. */
body.emm-single-active .emm-single-product-page{
  --emm-ui-shadow-soft:0 10px 24px rgba(129,98,72,.08);
  --emm-ui-shadow-card:0 18px 42px rgba(126,96,73,.09);
  --emm-ui-panel:#fffaf6;
  --emm-ui-panel-2:#f7ece2;
  --emm-ui-line:#efe0d2;
  --emm-ui-text:#342a22;
  --emm-ui-muted:#6f6257;
  --emm-ui-olive:#617d30;
  --emm-ui-olive-2:#7f9c46;
  --emm-ui-rose:#cc6f8d;
  --emm-ui-gold:#a97a43;
}
body.emm-single-active .emm-sp-main-grid{gap:18px 24px}
body.emm-single-active .emm-sp-gallery-card,
body.emm-single-active .emm-sp-selection-column .emm-purchase-selection,
body.emm-single-active .emm-sp-price-column .emm-purchase-summary,
body.emm-single-active .emm-sp-details,
body.emm-single-active .emm-sp-related,
body.emm-single-active .emm-sp-trust{
  backdrop-filter:saturate(1.03);
}
body.emm-single-active .emm-sp-gallery-card,
body.emm-single-active .emm-sp-selection-column .emm-purchase-selection,
body.emm-single-active .emm-sp-price-column .emm-purchase-summary{
  box-shadow:var(--emm-ui-shadow-card), inset 0 1px 0 rgba(255,255,255,.96);
}
body.emm-single-active .emm-sp-breadcrumb{
  gap:10px;
  font-weight:700;
}
body.emm-single-active .emm-sp-title{
  text-wrap:balance;
}
body.emm-single-active .emm-sp-excerpt{
  max-width:65ch;
}
body.emm-single-active .emm-sp-summary-card > *{min-width:0}
body.emm-single-active .emm-sp-summary-card .emm-sp-purchase-meta,
body.emm-single-active .emm-sp-summary-card .emm-premium-highlights{max-width:100%}

/* Key metadata / trust chips */
body.emm-single-active .emm-sp-purchase-meta > *{
  border-color:rgba(255,255,255,.95);
  padding-inline:16px;
}
body.emm-single-active .emm-premium-highlights > span{
  overflow:hidden;
}
body.emm-single-active .emm-premium-highlights > span::after{
  content:'';
  position:absolute;
  inset:auto -12px -12px auto;
  width:46px;height:46px;
  border-radius:50%;
  background:radial-gradient(circle at center,rgba(255,255,255,.7),transparent 68%);
  pointer-events:none;
}
body.emm-single-active .emm-premium-highlights > span:nth-child(3n+1) svg{color:var(--emm-ui-olive)}
body.emm-single-active .emm-premium-highlights > span:nth-child(3n+2) svg{color:var(--emm-ui-gold)}
body.emm-single-active .emm-premium-highlights > span:nth-child(3n) svg{color:var(--emm-ui-rose)}

/* Selection surface */
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-section-title h2{
  font-size:1.15rem;
  line-height:1.7;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-groups{
  display:flex;
  flex-direction:column;
  gap:12px;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors{
  display:flex;
  align-items:center;
  gap:10px;
  overflow-x:auto;
  padding:4px 0 2px;
  margin:4px 0 10px;
  scrollbar-width:none;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors::-webkit-scrollbar{display:none}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors button{
  flex:0 0 auto;
  min-height:38px;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid var(--emm-ui-line);
  background:linear-gradient(145deg,#fffdfa,#f4ebe1);
  color:var(--emm-ui-text);
  font-weight:800;
  box-shadow:var(--emm-ui-shadow-soft);
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors [aria-pressed=true],
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-selected-colors .is-active{
  background:linear-gradient(145deg,#edf3de,#dce8be);
  color:#405220;
  border-color:#d2dfb1;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group{
  overflow:hidden;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  list-style:none;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group summary::-webkit-details-marker{display:none}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-color-group[open] summary{margin-bottom:8px}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-description{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-description small{
  color:var(--emm-ui-muted);
  line-height:1.8;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-price{
  color:#57702b !important;
  font-weight:900;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper{
  gap:8px;
}
body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper input{
  width:42px;
  min-width:42px;
  text-align:center;
}

/* Price / summary aside */
body.emm-single-active .emm-sp-price-column .emm-purchase-summary{
  gap:14px;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices{
  display:grid;
  gap:10px;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices > section{
  transition:transform .16s ease, box-shadow .16s ease;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-prices > section:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 20px rgba(141,111,82,.10), inset 0 1px 0 rgba(255,255,255,.95);
}
body.emm-single-active .emm-purchase-progress-meta,
body.emm-single-active .emm-purchase-note,
body.emm-single-active .emm-purchase-status,
body.emm-single-active .emm-purchase-limit{
  font-size:.88rem;
  line-height:1.9;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-count{
  display:grid;
  grid-template-columns:1fr;
  gap:4px;
  line-height:1.9;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-amount{
  color:#3f5420;
  font-size:1.45rem;
  font-weight:900;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions{
  display:grid;
  gap:10px;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions button{
  min-height:58px;
  border-radius:18px;
  font-size:1.03rem;
  font-weight:900;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions .emm-purchase-primary{
  position:relative;
  overflow:hidden;
}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions .emm-purchase-primary::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.18) 45%,transparent 80%);
  transform:translateX(100%);
}
body.emm-single-active .emm-sp-price-column .emm-purchase-actions .emm-purchase-primary:hover::after{transform:translateX(-100%);transition:transform .6s ease}

/* Tabs + detail panels */
body.emm-single-active .emm-sp-tabs{display:flex;flex-direction:column;gap:16px}
body.emm-single-active .emm-sp-tabs__nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  padding:0;
}
body.emm-single-active .emm-sp-tab{
  min-height:66px;
  border-radius:22px;
  background:linear-gradient(145deg,#fffaf6,#f3e8dc);
  border:1px solid rgba(255,255,255,.96);
  box-shadow:var(--emm-ui-shadow-soft);
  color:var(--emm-ui-text);
  font-weight:800;
}
body.emm-single-active .emm-sp-tab[aria-selected=true],
body.emm-single-active .emm-sp-tab.is-active{
  background:linear-gradient(145deg,#829b44,#5c772a);
  color:#fff;
  box-shadow:0 16px 28px rgba(83,109,35,.22);
}
body.emm-single-active .emm-sp-tab-panel{
  background:linear-gradient(155deg,#fffaf6,#f7ece2);
  border:1px solid rgba(255,255,255,.96);
  box-shadow:var(--emm-ui-shadow-card);
  border-radius:28px;
  padding:20px;
}

/* Technical specs readability */
body.emm-single-active .emm-tech-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
body.emm-single-active .emm-tech-heading{min-width:0}
body.emm-single-active .emm-tech-heading h2,
body.emm-single-active .emm-tech-heading h3{margin:0;color:var(--emm-ui-olive);line-height:1.5}
body.emm-single-active .emm-tech-heading p{margin:.35rem 0 0;color:var(--emm-ui-muted);line-height:1.9}
body.emm-single-active .emm-tech-heading-icon{
  width:62px;height:62px;display:grid;place-items:center;flex:none;
  border-radius:20px;
  background:linear-gradient(145deg,#fff1f3,#f9d9df);
  color:#d07a8d;
  box-shadow:var(--emm-ui-shadow-soft);
}
body.emm-single-active .emm-tech-chips{
  display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px;
}
body.emm-single-active .emm-tech-chip{
  min-height:42px;
  padding:8px 16px;
  border-radius:999px;
  background:linear-gradient(145deg,#eff4dc,#e5edd0);
  color:#556d2b;
  border:1px solid #dde7c2;
  font-weight:800;
  box-shadow:0 6px 12px rgba(112,132,67,.08);
}
body.emm-single-active .emm-tech-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
body.emm-single-active .emm-tech-card{
  background:linear-gradient(155deg,#fffdfb,#f8efe7);
  border:1px solid rgba(255,255,255,.96);
  border-radius:24px;
  box-shadow:var(--emm-ui-shadow-soft);
  padding:0;
  overflow:hidden;
}
body.emm-single-active .emm-tech-card h4{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0;
  padding:15px 16px;
  background:linear-gradient(145deg,#fff2f3,#fee9eb);
  color:#7f4a47;
  border-bottom:1px solid #f1ddd7;
  font-size:1.02rem;
}
body.emm-single-active .emm-tech-card h4 svg{color:#d37d70}
body.emm-single-active .emm-tech-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px 14px;
  align-items:center;
  padding:14px 16px;
  border-top:1px solid rgba(237,225,214,.88);
}
body.emm-single-active .emm-tech-row:first-of-type{border-top:0}
body.emm-single-active .emm-tech-row b,
body.emm-single-active .emm-tech-row strong{color:var(--emm-ui-olive);font-size:1.02rem}
body.emm-single-active .emm-tech-row span,
body.emm-single-active .emm-tech-row small,
body.emm-single-active .emm-tech-row div{min-width:0;line-height:1.9;color:var(--emm-ui-text)}
body.emm-single-active .emm-tech-row svg{color:#a08254;flex:none}
body.emm-single-active .emm-sp-feature-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
body.emm-single-active .emm-sp-feature-strip__item{
  min-height:88px;
  padding:16px;
  border-radius:22px;
  background:linear-gradient(155deg,#fffaf6,#f6e9dc);
  border:1px solid rgba(255,255,255,.96);
  box-shadow:var(--emm-ui-shadow-soft);
}
body.emm-single-active .emm-sp-feature-strip__item svg{color:#8b6439}
body.emm-single-active .emm-sp-trust{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
body.emm-single-active .emm-sp-trust-item{
  min-height:94px;
  padding:16px;
  border-radius:22px;
  box-shadow:var(--emm-ui-shadow-soft);
}

/* Mobile-first cleanup */
@media (max-width:980px){
  body.emm-single-active .emm-tech-grid,
  body.emm-single-active .emm-sp-feature-strip,
  body.emm-single-active .emm-sp-trust{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.emm-single-active .emm-premium-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  body.emm-single-active .emm-sp-main-grid{gap:14px}
  body.emm-single-active .emm-sp-summary-card{gap:12px}
  body.emm-single-active .emm-sp-summary-head{align-items:flex-start;flex-wrap:wrap}
  body.emm-single-active .emm-sp-summary-actions{margin-inline-start:0}
  body.emm-single-active .emm-sp-breadcrumb{font-size:.76rem}
  body.emm-single-active .emm-sp-title{font-size:1.45rem}
  body.emm-single-active .emm-sp-purchase-meta{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}
  body.emm-single-active .emm-sp-purchase-meta::-webkit-scrollbar{display:none}
  body.emm-single-active .emm-sp-purchase-meta > *{flex:0 0 auto}
  body.emm-single-active .emm-premium-highlights{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:10px;padding-bottom:4px;scrollbar-width:none}
  body.emm-single-active .emm-premium-highlights::-webkit-scrollbar{display:none}
  body.emm-single-active .emm-premium-highlights > span{flex:0 0 148px;min-height:96px;padding:14px 12px}
  body.emm-single-active .emm-sp-price-column .emm-purchase-summary,
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-purchase-selection,
  body.emm-single-active .emm-sp-tab-panel,
  body.emm-single-active .emm-sp-details,
  body.emm-single-active .emm-sp-related,
  body.emm-single-active .emm-sp-trust,
  body.emm-single-active .emm-sp-gallery-card{border-radius:24px}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-size-row{grid-template-columns:1fr;align-items:stretch}
  body.emm-single-active .emm-purchase-view[data-mode=inline] .emm-quantity-stepper{justify-content:center}
  body.emm-single-active .emm-sp-tabs__nav{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px;scrollbar-width:none}
  body.emm-single-active .emm-sp-tabs__nav::-webkit-scrollbar{display:none}
  body.emm-single-active .emm-sp-tab{flex:0 0 auto;min-width:150px;min-height:58px;padding:10px 16px}
  body.emm-single-active .emm-tech-head{flex-direction:column}
  body.emm-single-active .emm-tech-grid{display:flex;gap:12px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}
  body.emm-single-active .emm-tech-grid::-webkit-scrollbar{display:none}
  body.emm-single-active .emm-tech-card{flex:0 0 280px}
  body.emm-single-active .emm-sp-feature-strip,
  body.emm-single-active .emm-sp-trust{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:10px;padding-bottom:4px;scrollbar-width:none}
  body.emm-single-active .emm-sp-feature-strip::-webkit-scrollbar,
  body.emm-single-active .emm-sp-trust::-webkit-scrollbar{display:none}
  body.emm-single-active .emm-sp-feature-strip__item,
  body.emm-single-active .emm-sp-trust-item{flex:0 0 230px;min-height:84px}
}
@media (max-width:420px){
  body.emm-single-active .emm-sp-title{font-size:1.34rem}
  body.emm-single-active .emm-sp-action-btn{width:38px;height:38px}
  body.emm-single-active .emm-sp-price-column .emm-purchase-actions button{min-height:52px;font-size:.95rem}
  body.emm-single-active .emm-tech-card{flex-basis:262px}
}

/* RC9: unified, compact three-card product hero. Scoped to the product route.
   Native Woo fallback, modal Quick Buy and the detail tabs remain independent. */
body.emm-single-active .emm-main > .emm-container{width:min(calc(100% - 40px),1680px);max-width:none}
body.emm-single-active .emm-single-product-page > .emm-sp-breadcrumb{margin:0 2px 16px;justify-content:flex-start;gap:9px;font-size:.82rem;font-weight:500;color:#685748;line-height:1.7;overflow-wrap:anywhere}
body.emm-single-active .emm-single-product-page > .emm-sp-breadcrumb a{display:inline-flex;align-items:center;gap:5px}
body.emm-single-active .emm-single-product-page > .emm-sp-breadcrumb svg{width:18px;height:18px;color:#936637}
body.emm-single-active .emm-sp-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.16fr) minmax(0,.91fr);grid-template-areas:'gallery center price';grid-template-rows:auto;gap:14px;align-items:start;direction:ltr}
body.emm-single-active .emm-sp-hero > *{min-width:0;direction:rtl;align-self:start;margin:0}
body.emm-single-active .emm-sp-hero :is(.emm-sp-gallery-card,.emm-sp-center-card,.emm-sp-price-column .emm-purchase-summary,.emm-sp-price-column .emm-sp-fallback-price){background:linear-gradient(150deg,#fffaf6,#f8ece2);border:1px solid #fff;border-radius:26px;box-shadow:0 10px 24px #78523213,inset 0 0 0 5px #fff5;backdrop-filter:none;filter:none;transform:none}
body.emm-single-active .emm-sp-hero .emm-sp-center-card{grid-area:center;padding:13px;display:flex;flex-direction:column;gap:13px;min-width:0;isolation:auto}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-card{padding:11px;position:sticky;top:16px;max-width:none;width:100%}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-stage{aspect-ratio:1/1;min-height:0;max-height:540px;border-radius:19px}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-slide{padding:0;align-items:center;justify-content:center}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-image{object-fit:contain;border-radius:18px}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-fullscreen{inset-inline-start:auto;inset-inline-end:12px;top:12px}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-nav--prev svg{transform:rotate(90deg)}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-nav--next svg{transform:rotate(-90deg)}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-thumbs{margin:8px 0 0;padding:4px;gap:7px;scrollbar-width:none;scroll-snap-type:x proximity}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-thumbs::-webkit-scrollbar{display:none}
body.emm-single-active .emm-sp-hero .emm-sp-thumb{flex:0 0 calc((100% - 28px)/5);min-width:48px;max-width:92px;height:auto;aspect-ratio:1;min-height:0;border-radius:13px;scroll-snap-align:start;padding:2px}
body.emm-single-active .emm-sp-hero .emm-sp-thumb__image{border-radius:10px;object-fit:cover}
body.emm-single-active .emm-sp-hero .emm-sp-summary-card{display:flex;flex-direction:column;gap:9px;padding:3px 3px 0;background:none;box-shadow:none;border:0;grid-area:info;margin:0;min-width:0;width:100%}
body.emm-single-active .emm-sp-hero .emm-sp-summary-card > *{order:0;min-width:0;max-width:100%;margin:0}
body.emm-single-active .emm-sp-hero .emm-hero-titleline{display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center}
body.emm-single-active .emm-sp-hero .emm-sp-title{font-size:clamp(1.35rem,1.95vw,2.1rem);line-height:1.45;letter-spacing:normal;font-weight:900;color:#35271c;text-wrap:initial;overflow-wrap:anywhere;flex:1 1 230px;margin:0;max-width:none}
body.emm-single-active .emm-sp-hero .emm-sp-badge{font-size:.72rem;min-height:29px;padding:4px 10px;box-shadow:none;border-radius:999px;color:#a52b50;background:#fadddf}
body.emm-single-active .emm-sp-hero .emm-sp-purchase-meta{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px;overflow:visible}
body.emm-single-active .emm-sp-hero .emm-sp-purchase-meta > *{display:inline-flex;flex:0 1 auto;width:auto;gap:6px;align-items:center;padding:5px 9px;min-height:30px;font-size:.74rem;border:1px solid #fff;border-radius:999px;background:#fff8f1;box-shadow:0 3px 7px #78523210;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-hero .emm-sp-purchase-meta svg{width:16px;height:16px;flex:none}
body.emm-single-active .emm-sp-hero .emm-sp-stock.is-in{background:#e9edcf;color:#465d21}
body.emm-single-active .emm-sp-hero .emm-sp-stock.is-out{background:#fbe3e0;color:#a2443d}
body.emm-single-active .emm-sp-hero .emm-sp-rating__meta{font-size:.74rem}
body.emm-single-active .emm-sp-hero .emm-sp-rating__stars .star-rating{font-size:.8rem}
body.emm-single-active .emm-sp-hero .emm-sp-excerpt{font-size:.86rem;line-height:1.85;color:#5a4a3c}
body.emm-single-active .emm-sp-hero .emm-premium-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible;padding:0}
body.emm-single-active .emm-sp-hero .emm-premium-highlights > span{display:flex;flex-direction:column;gap:4px;min-height:78px;padding:8px 5px;border-radius:15px;background:linear-gradient(145deg,#fffaf4,#f8ebdf);box-shadow:0 4px 9px #78523210;color:#46372b;font-size:.76rem;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-hero .emm-premium-highlights > span::after{display:none}
body.emm-single-active .emm-sp-hero .emm-premium-highlights > span b{font-size:.82rem;color:#34271c}
body.emm-single-active .emm-sp-hero .emm-premium-highlights > span svg{color:#8b602e;width:22px;height:22px}
body.emm-single-active .emm-sp-hero .emm-sp-summary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;justify-content:flex-start}
body.emm-single-active .emm-sp-hero .emm-sp-action-btn{width:36px;height:36px;min-height:36px;box-shadow:none;border:1px solid #e8d8c9;color:#8b602e;background:#fff9f2}
body.emm-single-active .emm-sp-hero .emm-sp-action-btn svg{width:18px;height:18px}
body.emm-single-active .emm-sp-hero .emm-sp-selection-column{grid-area:selection;width:100%;min-width:0;order:0}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline]{display:block;padding:0;min-width:0;direction:rtl}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-selection{padding:12px 10px;border-radius:20px;box-shadow:0 4px 12px #78523210;background:linear-gradient(150deg,#fffaf5,#f9ebe2);border:1px solid #fff;backdrop-filter:none}
body.emm-single-active .emm-sp-hero .emm-hero-icon{width:22px;height:22px;flex:0 0 auto;color:#90632d;vertical-align:middle}
body.emm-single-active .emm-sp-hero .emm-purchase-section-title{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;margin:0 0 10px;flex-wrap:wrap}
body.emm-single-active .emm-sp-hero .emm-purchase-section-title h2{display:flex;align-items:center;gap:6px;font-size:1rem;color:#3b291c;margin:0}
body.emm-single-active .emm-sp-hero .emm-purchase-section-title button{min-height:36px;font-size:.8rem;padding:5px 10px;box-shadow:0 3px 6px #78523213;align-self:auto}
body.emm-single-active .emm-sp-hero .emm-purchase-swatches{display:flex;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:5px 4px 6px;margin:2px 0 6px;scrollbar-width:none}
body.emm-single-active .emm-sp-hero .emm-purchase-swatches::-webkit-scrollbar{display:none}
body.emm-single-active .emm-sp-hero .emm-purchase-swatches .emm-swatch-option{display:flex;flex:0 0 calc((100% - 32px)/5);width:auto;max-width:84px;min-width:47px;min-height:63px;align-items:center;justify-content:flex-start;gap:6px;padding:2px;background:transparent;border:0;border-radius:12px;box-shadow:none;font-size:.76rem;line-height:1.45;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-hero .emm-purchase-swatches [aria-pressed=true]{box-shadow:none;background:transparent}
body.emm-single-active .emm-sp-hero .emm-purchase-swatches .emm-color-dot{width:38px;height:38px;box-shadow:0 0 0 1px #b6a18b,0 3px 6px #4b342222}
body.emm-single-active .emm-sp-hero .emm-purchase-swatches [aria-pressed=true] .emm-color-dot{outline:2px solid #617b31;outline-offset:3px}
body.emm-single-active .emm-sp-hero .emm-selected-colors{gap:6px;padding:3px 2px 7px;margin:2px 0;scrollbar-width:none}
body.emm-single-active .emm-sp-hero .emm-selected-colors button{min-width:86px;min-height:45px;border-radius:11px;padding:5px 7px;box-shadow:0 3px 6px #78523210}
body.emm-single-active .emm-sp-hero .emm-color-group{background:linear-gradient(140deg,#fff8f3,#f8e7e1);border-radius:16px;padding:7px 9px;box-shadow:0 4px 9px #78523210}
body.emm-single-active .emm-sp-hero .emm-color-group summary{justify-content:flex-start;min-height:40px;padding:3px 0;gap:7px;font-size:.85rem}
body.emm-single-active .emm-sp-hero .emm-color-group[open] summary{margin-bottom:0;border-bottom:1px solid #e9d7cd}
body.emm-single-active .emm-sp-hero .emm-color-group summary .emm-remove-color{min-height:36px;min-width:36px}
body.emm-single-active .emm-sp-hero .emm-size-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
body.emm-single-active .emm-sp-hero .emm-size-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;min-width:0;border-top:1px solid #eadbd1}
body.emm-single-active .emm-sp-hero .emm-size-row:first-child{border:0}
body.emm-single-active .emm-sp-hero .emm-size-description{gap:3px;min-width:0;align-items:flex-start}
body.emm-single-active .emm-sp-hero .emm-hero-size-name{display:flex;align-items:center;gap:5px;font-size:.85rem;line-height:1.5}
body.emm-single-active .emm-sp-hero .emm-hero-size-name svg{width:18px;height:18px}
body.emm-single-active .emm-sp-hero .emm-size-description small{font-size:.7rem;line-height:1.55;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-hero .emm-size-price{display:block;color:#435d20!important;font-weight:800}
body.emm-single-active .emm-sp-hero .emm-hero-stock-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:999px;background:#e8edcf;color:#445c20!important;font-weight:700}
body.emm-single-active .emm-sp-hero .emm-hero-stock-chip::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
body.emm-single-active .emm-sp-hero .is-unavailable .emm-hero-stock-chip{color:#a14242!important;background:#f4dfdb}
body.emm-single-active .emm-sp-hero .emm-quantity-stepper{gap:0;min-height:44px;padding:1px 2px;flex:none;box-shadow:0 3px 7px #78523215;align-self:center}
body.emm-single-active .emm-sp-hero .emm-quantity-stepper button{width:36px;min-width:36px;min-height:40px;height:40px;border:0;background:#fffaf4;box-shadow:none}
body.emm-single-active .emm-sp-hero .emm-quantity-stepper input{width:34px;min-width:30px;font-size:16px;padding:0}
body.emm-single-active .emm-sp-hero .emm-sp-price-column{grid-area:price;position:sticky;top:16px;width:100%;min-width:0}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-summary{display:flex;flex-direction:column;position:static;gap:9px;padding:13px;min-width:0;overflow:visible}
body.emm-single-active .emm-sp-hero .emm-purchase-prices{display:flex;flex-direction:column;gap:9px;margin:0}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices > section{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between;gap:6px 10px;padding:11px 10px;background:linear-gradient(145deg,#fff9f2,#f8eade);border:1px solid #fff;border-radius:15px;box-shadow:0 3px 8px #78523211;transform:none;min-width:0;text-align:right}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices > section::before{display:none}
body.emm-single-active .emm-sp-hero .emm-hero-price-label{display:flex;align-items:center;gap:7px;font-size:.85rem!important;font-weight:800;color:#3b2c21}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices strong{font-size:clamp(1.05rem,1.42vw,1.45rem);line-height:1.4;text-align:left;overflow-wrap:anywhere;color:#405c1e}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices del{order:0;font-size:.72rem;margin:0}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices .is-wholesale small:last-child{margin:0;padding:4px 8px;font-size:.71rem;background:#e8e9cf;color:#455c23}
body.emm-single-active .emm-sp-hero .emm-purchase-progress-text{margin:1px 0 0;padding:10px 5px;font-size:.9rem;line-height:1.6;background:#f9dfe2;color:#a91f46;border-radius:13px}
body.emm-single-active .emm-sp-hero .emm-purchase-progress-text.is-reached{background:#e6edcc;color:#415d1e}
body.emm-single-active .emm-sp-hero .emm-purchase-progress{margin:3px 0 0;height:12px;flex:none}
body.emm-single-active .emm-sp-hero .emm-purchase-progress-meta,body.emm-single-active .emm-sp-hero .emm-purchase-limit{margin:0;font-size:.73rem;line-height:1.65;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-hero .emm-hero-order-summary{background:linear-gradient(140deg,#fff9f3,#f8e9dd);border:1px solid #fff;border-radius:15px;padding:3px 10px;box-shadow:0 4px 10px #78523210;min-width:0}
body.emm-single-active .emm-sp-hero .emm-hero-order-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 8px;min-height:43px;padding:7px 0;border-bottom:1px solid #eadacf}
body.emm-single-active .emm-sp-hero .emm-hero-order-row:last-of-type{border:0}
body.emm-single-active .emm-sp-hero .emm-hero-order-label{display:flex;align-items:center;gap:6px;font-size:.82rem;color:#3d2c1f;font-weight:700}
body.emm-single-active .emm-sp-hero .emm-hero-order-value{font-size:.86rem;color:#415e20;font-weight:800;margin:0;text-align:left;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-hero-order-row .emm-purchase-amount{font-size:clamp(1.1rem,1.5vw,1.52rem);color:#405b1c;padding:0;border:0;background:none;box-shadow:none;margin:0;line-height:1.5;text-align:left;overflow-wrap:anywhere}
body.emm-single-active .emm-sp-hero .emm-hero-cart-info{font-size:.72rem;color:#605443;margin:4px 0;line-height:1.5}
body.emm-single-active .emm-sp-hero .emm-purchase-note{margin:0;padding:9px 10px;border:1px solid #fff;border-radius:12px;background:#f7ecdf;color:#675644;font-size:.72rem;line-height:1.85}
body.emm-single-active .emm-sp-hero .emm-purchase-status{min-height:0;margin:0;font-size:.73rem;line-height:1.65}
body.emm-single-active .emm-sp-hero .emm-purchase-status:empty{display:none}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions{position:static;display:grid;grid-template-columns:1fr;gap:9px;margin:2px 0 0;padding:0;background:none;border:0;box-shadow:none}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:8px;border-radius:16px;font-size:.93rem;line-height:1.5;white-space:normal;font-weight:800}
body.emm-single-active .emm-sp-hero .emm-purchase-actions button .emm-hero-action-icon{width:23px;height:23px;color:currentColor}
body.emm-single-active .emm-sp-hero .emm-purchase-actions button.emm-purchase-primary{background:linear-gradient(145deg,#839342,#405c1e)!important;color:white!important;box-shadow:0 5px 11px #405c1e30!important}
body.emm-single-active .emm-sp-hero .emm-purchase-actions button.emm-purchase-primary::after{display:none}
body.emm-single-active .emm-sp-hero .emm-purchase-actions button:disabled{opacity:.52}
@media(max-width:1199px) and (min-width:900px){
 body.emm-single-active .emm-main > .emm-container{width:calc(100% - 26px)}
 body.emm-single-active .emm-sp-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,.88fr);gap:9px}
 body.emm-single-active .emm-sp-hero .emm-sp-center-card,body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-summary{padding:9px}
 body.emm-single-active .emm-sp-hero .emm-sp-title{font-size:1.35rem}
}
@media(max-width:899px){
 body.emm-single-active .emm-main > .emm-container{width:min(calc(100% - 22px),720px)}
 body.emm-single-active .emm-sp-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:'gallery' 'info' 'price' 'selection';gap:12px;direction:rtl}
 body.emm-single-active .emm-sp-hero .emm-sp-center-card{display:contents}
 body.emm-single-active .emm-sp-hero .emm-sp-gallery-card,body.emm-single-active .emm-sp-hero .emm-sp-price-column{position:static;max-width:none}
 body.emm-single-active .emm-sp-hero .emm-sp-summary-card{grid-area:info;background:linear-gradient(145deg,#fff9f3,#f8ebe2);border:1px solid #fff;border-radius:22px;padding:13px;box-shadow:0 5px 13px #78523212;order:0}
 body.emm-single-active .emm-sp-hero .emm-sp-gallery-stage{aspect-ratio:4/3;max-height:380px}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-summary{padding:11px;gap:8px}
 body.emm-single-active .emm-sp-hero .emm-sp-title{font-size:clamp(1.2rem,5vw,1.65rem);flex-basis:180px}
 body.emm-single-active .emm-sp-hero .emm-sp-purchase-meta{gap:5px}
 body.emm-single-active .emm-sp-hero .emm-premium-highlights>span:nth-child(n+3){display:flex}
 body.emm-single-active .emm-sp-hero .emm-sp-gallery-card{padding:8px}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices{flex-direction:row;gap:7px}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices>section{flex:1 1 0;flex-direction:column;align-items:center;text-align:center;padding:9px 4px;gap:5px}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices strong{font-size:clamp(.94rem,4vw,1.3rem);text-align:center}
 body.emm-single-active .emm-sp-hero .emm-hero-price-label{font-size:.76rem!important;gap:4px}
 body.emm-single-active .emm-sp-hero .emm-hero-price-label svg{width:19px;height:19px}
 body.emm-single-active .emm-sp-hero .emm-sp-selection-column{grid-area:selection}
 body.emm-single-active .emm-sp-hero .emm-purchase-selection{width:100%}
}
@media(max-width:767px){
 body.emm-single-active .emm-main>.emm-container{width:calc(100% - 16px)}
 body.emm-single-active .emm-single-product-page{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
 body.emm-single-active .emm-single-product-page > .emm-sp-breadcrumb{font-size:.68rem;margin-bottom:10px;gap:5px}
 body.emm-single-active .emm-sp-hero .emm-sp-gallery-stage{aspect-ratio:4/3;max-height:315px;border-radius:17px}
 body.emm-single-active .emm-sp-hero .emm-sp-gallery-card{border-radius:22px}
 body.emm-single-active .emm-sp-hero .emm-sp-summary-card{padding:11px;gap:8px}
 body.emm-single-active .emm-sp-hero .emm-premium-highlights>span{min-height:72px;font-size:.69rem;flex-basis:auto}
 body.emm-single-active .emm-sp-hero .emm-premium-highlights>span b{font-size:.74rem}
 body.emm-single-active .emm-sp-hero .emm-sp-action-btn{width:44px;height:44px}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions{position:fixed;z-index:35;left:0;right:0;bottom:var(--emm-buy-keyboard-offset,0px);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:7px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff7ee;border-top:1px solid #e9d8c8;box-shadow:0 -4px 15px #78523218;margin:0}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions .emm-purchase-sticky-info{display:block;grid-column:1/-1;text-align:center;font-size:.82rem;color:#405c1e;line-height:1.5}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions button{min-height:48px;font-size:.78rem;gap:5px;padding:6px 4px;border-radius:13px}
 body.emm-single-active .emm-sp-hero .emm-purchase-actions button .emm-hero-action-icon{width:20px;height:20px}
 body.emm-single-active .emm-sp-hero .emm-purchase-swatches .emm-color-dot{width:35px;height:35px}
 body.emm-single-active .emm-sp-hero .emm-size-row{gap:6px}
 body.emm-single-active .emm-sp-hero .emm-quantity-stepper button{width:44px;min-width:44px;height:44px;min-height:44px}
 body.emm-single-active .emm-sp-hero .emm-quantity-stepper input{width:30px;min-width:28px}
}
@media(max-width:359px){
 body.emm-single-active .emm-sp-hero .emm-size-row{grid-template-columns:minmax(0,1fr)}
 body.emm-single-active .emm-sp-hero .emm-quantity-stepper{justify-self:end}
 body.emm-single-active .emm-sp-hero .emm-premium-highlights{display:flex;overflow-x:auto;scrollbar-width:none}
 body.emm-single-active .emm-sp-hero .emm-premium-highlights>span{flex:0 0 112px}
 body.emm-single-active .emm-sp-hero .emm-premium-highlights::-webkit-scrollbar{display:none}
}
/* Keep the layout deterministic against earlier inline styles and the shared dialog stylesheet. */
body.emm-single-active .emm-sp-hero .emm-sp-summary-card{order:0}
body.emm-single-active .emm-sp-hero .emm-sp-gallery-stage:fullscreen{width:100%;height:100%;max-height:none;aspect-ratio:auto;border-radius:0}
body.emm-single-active .emm-sp-hero .emm-hero-tier-panel,body.emm-single-active .emm-sp-hero .emm-hero-order-panel{display:flex;flex-direction:column;gap:9px;min-width:0}
body.emm-single-active .emm-sp-hero .emm-sp-summary-actions button{font:inherit;font-size:.76rem;min-height:36px;border:1px solid #e8d8c9;border-radius:12px;color:#77532d;background:#fff8ef;padding:4px 10px;cursor:pointer}
body.emm-single-active .emm-sp-hero .emm-sp-summary-actions .emm-sp-action-btn{padding:0;border-radius:50%}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{background:transparent;border:0;box-shadow:none;flex:0 0 calc((100% - 32px)/5);width:auto;max-width:84px;min-width:46px;min-height:62px;padding:3px 0;gap:6px;font-size:.77rem}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches [aria-pressed=true]{box-shadow:none;background:transparent}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:8px 0;align-items:center}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-description{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:3px 8px;min-width:0}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-description .emm-size-dimensions{flex:1 1 100%;font-size:.72rem;line-height:1.65}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-description .emm-hero-size-name{font-size:.88rem}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-description .emm-size-price{font-size:.73rem;display:block;line-height:1.5}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-description .emm-hero-stock-chip{font-size:.65rem;line-height:1.5}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-quantity-stepper{width:auto;gap:0;min-height:44px;padding:1px;justify-content:center}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-quantity-stepper button{width:40px;min-width:40px;height:42px;min-height:42px}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-quantity-stepper input{width:32px;min-width:30px}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-list{max-height:none;overflow:visible;scrollbar-width:none}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-list:has(>.emm-size-row:nth-child(7)){max-height:420px;overflow-y:auto;scrollbar-width:thin}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-section-title{flex-direction:row;align-items:center;gap:5px;margin-bottom:8px}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-section-title button{align-self:center;min-height:38px;font-size:.78rem;padding:4px 9px}
@media(max-width:899px){
 body.emm-single-active .emm-sp-hero:has(.emm-hero-price){grid-template-areas:'gallery' 'info' 'price' 'selection' 'totals' 'actions'}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column:has(.emm-hero-price),body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-summary.emm-hero-price{display:contents}
 body.emm-single-active .emm-sp-hero :is(.emm-hero-tier-panel,.emm-hero-order-panel){border:1px solid #fff;border-radius:21px;padding:12px;background:linear-gradient(145deg,#fffaf5,#f8ece2);box-shadow:0 5px 14px #78523212;direction:rtl;min-width:0}
 body.emm-single-active .emm-sp-hero .emm-hero-tier-panel{grid-area:price}
 body.emm-single-active .emm-sp-hero .emm-hero-order-panel{grid-area:totals}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions{grid-area:actions;direction:rtl}
}
@media(max-width:767px){
 body.emm-single-active .emm-sp-hero:has(.emm-hero-price){grid-template-areas:'gallery' 'info' 'price' 'selection' 'totals'}
 body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions{grid-area:auto}
 body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-quantity-stepper button{width:44px;min-width:44px;height:44px;min-height:44px}
 body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-description{gap:3px 6px}
 body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-section-title h2{font-size:.96rem}
 body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{flex-basis:calc((100% - 32px)/5)}
}
@media(max-width:359px){body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-size-row{grid-template-columns:minmax(0,1fr) auto}.emm-sp-hero .emm-quantity-stepper input{width:28px}}

/* RC10: currency wording, clean swatches, guided CTA, claymorphism mobile buy bar */
body.emm-single-active .emm-sp-hero{
  background:linear-gradient(145deg,#fcf7f1,#f4e9dd);
  border:1px solid #fff;
  border-radius:34px;
  box-shadow:0 16px 36px rgba(120,82,50,.10), inset 0 1px 0 rgba(255,255,255,.7);
  padding:14px;
}
/* Independent card heights prevent tall empty gallery and price panels. */
body.emm-single-active .emm-sp-hero .emm-purchase-prices>section{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:'value label' 'value meta';
  align-items:center;
  gap:4px 10px;
}
body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>strong{grid-area:value;font-size:clamp(1.12rem,1.4vw,1.58rem);text-align:right;letter-spacing:-.01em}
body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>.emm-hero-price-label,
body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>small:first-child{grid-area:label;justify-self:end;text-align:left}
body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>del{grid-area:meta;justify-self:start;color:#aa9b8b;font-size:.8rem}
body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>small:last-child:not(.emm-hero-price-label){grid-area:meta;justify-self:end;background:#edf1db;color:#617629;padding:4px 10px;border-radius:999px;font-size:.76rem;font-weight:800}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches,
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors{scrollbar-width:none;-ms-overflow-style:none}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches::-webkit-scrollbar,
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors::-webkit-scrollbar{display:none}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{padding-block:6px 10px;gap:10px}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{position:relative;align-items:center;justify-content:flex-start;text-align:center;flex:0 0 calc((100% - 30px)/4);max-width:96px;min-width:60px;min-height:74px;padding:4px 0 0;gap:8px}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option>span:last-child{display:block;width:100%;font-size:.77rem;line-height:1.45;color:#5a4a3d}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-color-dot{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:16px;background:var(--swatch,#efe6dc);box-shadow:0 2px 0 rgba(255,255,255,.85) inset, 0 7px 14px rgba(91,61,38,.16), 0 0 0 1px rgba(162,138,113,.42)}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-color-dot.is-unset{background:repeating-linear-gradient(135deg,#faf7f0 0 7px,#e9dfd2 7px 12px)}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option[aria-pressed=true] .emm-color-dot::after,
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors button[aria-pressed=true] .emm-color-dot::after,
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors .is-active .emm-color-dot::after{
  content:'✓';
  width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:.95rem;font-weight:900;background:linear-gradient(145deg,#7c9742,#496022);
  box-shadow:0 5px 10px rgba(73,96,34,.32),0 0 0 2px rgba(255,255,255,.9);
}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option[aria-pressed=true] .emm-color-dot{transform:translateY(-1px);box-shadow:0 2px 0 rgba(255,255,255,.8) inset,0 10px 18px rgba(73,96,34,.17),0 0 0 2px rgba(97,123,49,.34)}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors{padding:4px 2px 9px;margin-top:2px}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors button{border-radius:18px;padding:8px 12px;min-height:52px;background:linear-gradient(145deg,#fff9f2,#f3e9dc);border:1px solid rgba(255,255,255,.95);box-shadow:7px 7px 18px rgba(160,128,98,.10),-4px -4px 14px rgba(255,255,255,.78)}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors button[aria-pressed=true],
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-selected-colors .is-active{background:linear-gradient(145deg,#eef4dc,#e3edc8);border-color:#dbe8b7}
body.emm-single-active .emm-sp-hero .emm-purchase-selection.emm-needs-attention{animation:emmPulseFocus 1.15s ease}
@keyframes emmPulseFocus{0%,100%{box-shadow:0 4px 12px rgba(120,82,50,.10)}35%{box-shadow:0 0 0 4px rgba(122,149,62,.11),0 14px 28px rgba(120,82,50,.16)}}
.emm-ui-toast{position:fixed;right:18px;left:18px;bottom:calc(92px + env(safe-area-inset-bottom));z-index:9999;max-width:420px;margin-inline:auto;padding:14px 18px;border-radius:18px;background:linear-gradient(145deg,rgba(255,250,245,.96),rgba(249,237,226,.96));color:#4d3b2e;box-shadow:0 14px 30px rgba(78,55,31,.15), inset 0 1px 0 rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.9);opacity:0;transform:translateY(12px) scale(.98);transition:opacity .22s ease,transform .22s ease;font-size:.92rem;font-weight:750;text-align:center;backdrop-filter:blur(8px)}
.emm-ui-toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.emm-ui-toast.is-error{color:#9d3450;background:linear-gradient(145deg,rgba(255,247,249,.97),rgba(250,227,233,.97))}
.emm-ui-toast.is-success{color:#46601f;background:linear-gradient(145deg,rgba(249,252,242,.97),rgba(231,240,211,.97))}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions button.is-ready:not(:disabled){box-shadow:0 9px 18px rgba(120,82,50,.10)}
@media(max-width:899px){
  body.emm-single-active .emm-sp-hero{padding:10px;border-radius:28px}
  body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{flex-basis:72px;max-width:78px}
  body.emm-single-active .emm-sp-hero .emm-purchase-prices>section{grid-template-columns:1fr;grid-template-areas:'label' 'value' 'meta';justify-items:center;text-align:center}
  body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>.emm-hero-price-label,
  body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>small:first-child,
  body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>small:last-child:not(.emm-hero-price-label),
  body.emm-single-active .emm-sp-hero .emm-purchase-prices>section>del{justify-self:center}
}
@media(max-width:767px){
  body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions{left:10px;right:10px;bottom:calc(8px + var(--emm-buy-keyboard-offset,0px));padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;border:1px solid rgba(255,255,255,.9);border-radius:24px;background:linear-gradient(145deg,rgba(255,249,242,.95),rgba(243,231,219,.95));box-shadow:10px 10px 22px rgba(154,122,92,.15),-7px -7px 18px rgba(255,255,255,.82), inset 0 1px 0 rgba(255,255,255,.85);backdrop-filter:blur(10px)}
  body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions .emm-purchase-sticky-info{padding:0 10px;font-size:.78rem;font-weight:850;color:#617629}
  body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions button{min-height:52px;border-radius:18px;border:1px solid rgba(255,255,255,.88);background:linear-gradient(145deg,#fffaf4,#efe5d9);color:#5a482f;box-shadow:6px 6px 16px rgba(158,126,97,.12),-4px -4px 12px rgba(255,255,255,.84)}
  body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-actions .emm-purchase-primary{background:linear-gradient(145deg,#8aa044,#496120)!important;color:#fff!important;box-shadow:0 12px 20px rgba(73,97,32,.24)!important}
  body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{flex-basis:72px;min-width:72px;max-width:72px;min-height:80px}
  .emm-ui-toast{bottom:calc(112px + env(safe-area-inset-bottom));font-size:.88rem}
}

/* RC11 — canonical currency, one color palette, one active size panel. */
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices > section{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);grid-template-areas:'label current' 'threshold old';direction:rtl;align-items:center;gap:5px 10px;padding:12px 13px;text-align:right;
}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices > section > .emm-hero-price-label{grid-area:label;justify-self:start;margin:0;text-align:right;line-height:1.5}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices > section > strong{grid-area:current;justify-self:end;margin:0;font-size:clamp(1.12rem,1.62vw,1.68rem);line-height:1.45;letter-spacing:normal;font-weight:950;text-align:left;color:#3e571c}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices > section > del{grid-area:old;justify-self:end;margin:0;line-height:1.45;color:#7d6f61;text-decoration:line-through}
body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices > section > small:last-child:not(.emm-hero-price-label){grid-area:threshold;justify-self:start;margin:0;white-space:normal}
body.emm-single-active .emm-sp-hero .emm-money{display:inline-flex!important;flex-wrap:nowrap;direction:rtl;align-items:baseline;justify-content:flex-end;gap:0 .28em;max-width:100%;min-width:0;unicode-bidi:isolate}
body.emm-single-active .emm-sp-hero .emm-money-number{font-variant-numeric:tabular-nums;unicode-bidi:isolate;overflow-wrap:anywhere;min-width:0;max-width:100%}
body.emm-single-active .emm-sp-hero .emm-money-unit{font-size:.63em;font-weight:650;white-space:nowrap;unicode-bidi:isolate;color:inherit}
body.emm-single-active .emm-sp-hero .emm-purchase-prices del.emm-money{font-size:.82rem;gap:.22em}
body.emm-single-active .emm-sp-hero .emm-purchase-prices del.emm-money .emm-money-unit{font-size:.85em}
body.emm-single-active .emm-sp-hero .emm-purchase-prices .is-wholesale{background:linear-gradient(150deg,#fcfbf2,#eef0d9)!important;border-color:#e6e9d2!important}
/* The gate is only a visual/interaction step. All actual assigned colors stay visible. */
body.emm-single-active .emm-sp-hero .emm-color-palette{position:relative;isolation:isolate;min-width:0;border:1px solid #fff;border-radius:17px;padding:8px;background:linear-gradient(145deg,#fffaf5,#f7ede3);box-shadow:inset 0 1px 0 #fff}
body.emm-single-active .emm-sp-hero .emm-color-palette[hidden],body.emm-single-active .emm-sp-hero .emm-color-unlock[hidden],body.emm-single-active .emm-sp-hero .emm-palette-hint[hidden],body.emm-single-active .emm-sp-hero .emm-swatch-quantity[hidden],body.emm-single-active .emm-sp-hero .emm-selected-colors[hidden],body.emm-single-active .emm-sp-hero .emm-purchase-section-title button[hidden]{display:none!important}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,66px),1fr));align-items:start;justify-items:center;gap:9px 6px;overflow:visible;scrollbar-width:none;margin:0;padding:3px;max-width:100%;min-width:0}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;width:100%;min-width:0;max-width:88px;min-height:73px;padding:6px 3px;border:1px solid transparent;border-radius:14px;background:transparent;box-shadow:none;transition:background .15s ease,border-color .15s ease;overflow:visible;cursor:pointer}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-color-group summary .emm-remove-color{margin-inline-start:auto;width:28px;height:28px;min-width:28px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.95);background:linear-gradient(145deg,#fffdfa,#f1e2d5);color:#7f5b3d;display:grid;place-items:center;box-shadow:0 4px 10px rgba(90,61,38,.10)}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option .emm-color-name{font-size:.75rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere;min-width:0;color:#49392d;text-align:center;max-width:100%}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option .emm-color-dot{position:relative;display:grid;place-items:center;flex:0 0 auto;width:39px;height:39px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #bba891,0 3px 7px #62482e22;outline:none;transform:none;transition:transform .16s ease,box-shadow .16s ease}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option[aria-pressed=true]{background:#f0f2df;border-color:#dce4c2;box-shadow:none}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option.is-current{background:#e6ecd0;border-color:#7f924d}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option[aria-pressed=true] .emm-color-dot{outline:none;box-shadow:0 0 0 2px #71823f,0 4px 8px #53632d24;transform:none}
/* A single crisp check in the lower left, not a large disk over the real color. */
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option[aria-pressed=true] .emm-color-dot::after{content:'';position:absolute;inset:auto auto -5px -5px;display:block;width:18px;height:18px;border:2px solid #fff;border-radius:50%;background:#526b29 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8 2.5 2.5L12 5'/%3E%3C/svg%3E") center/12px 12px no-repeat;box-shadow:0 2px 5px #40551f40;text-shadow:none;transform:none;animation:emmCheckIn .16s ease-out}
@keyframes emmCheckIn{from{scale:.72;opacity:.45}to{scale:1;opacity:1}}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-quantity{font-size:.67rem;font-weight:800;color:#526728;line-height:1.3;white-space:nowrap}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option:disabled{opacity:.42;cursor:not-allowed}
body.emm-single-active .emm-sp-hero .emm-color-palette.is-locked .emm-purchase-swatches{opacity:.48;pointer-events:none}
body.emm-single-active .emm-sp-hero .emm-color-unlock{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;min-width:132px;max-width:90%;padding:9px 17px;white-space:normal;border:1px solid #fff;border-radius:16px;background:linear-gradient(145deg,#829749,#4c6426);color:#fff;font-weight:800;font-size:.9rem;box-shadow:0 5px 16px #475d3440;z-index:1;cursor:pointer}
body.emm-single-active .emm-sp-hero .emm-color-unlock .emm-hero-icon{color:#fff;width:20px;height:20px}
body.emm-single-active .emm-sp-hero .emm-palette-hint{color:#6c604d;font-size:.74rem;line-height:1.8;margin:7px 2px 10px}
body.emm-single-active .emm-sp-hero .emm-purchase-selection:has(.emm-color-palette.is-locked) .emm-purchase-empty{display:none}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-color-group summary .emm-color-dot{width:26px;height:26px;border-radius:50%;box-shadow:0 0 0 1px #c6b59e}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-section-title h2{font-size:clamp(.88rem,1.15vw,1.07rem)}
body.emm-single-active .emm-sp-hero .emm-color-unlock:focus-visible,body.emm-single-active .emm-sp-hero .emm-purchase-swatches .emm-swatch-option:focus-visible{outline:2px solid #526b29;outline-offset:2px}
/* Keep gallery independently sized — no empty full-height column. */
body.emm-single-active .emm-sp-hero .emm-sp-gallery-card{height:auto}
@media(hover:hover) and (pointer:fine){body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option:not(:disabled):hover .emm-color-dot{transform:translateY(-2px) scale(1.06)}body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option:not(:disabled):hover{background:#f6eadf}}
@media(max-width:899px){body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices>section{grid-template-columns:1fr;grid-template-areas:'label' 'current' 'old' 'threshold';justify-items:center;gap:4px;padding:10px 6px}body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices>section > :is(.emm-hero-price-label,strong,del,small:last-child){justify-self:center;text-align:center}body.emm-single-active .emm-sp-hero .emm-sp-price-column .emm-purchase-prices>section>strong{font-size:clamp(1rem,4.2vw,1.32rem)}}
@media(max-width:767px){body.emm-single-active .emm-sp-hero{padding:7px;gap:10px}body.emm-single-active .emm-sp-hero .emm-color-palette{padding:5px}body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{grid-template-columns:repeat(auto-fit,minmax(min(100%,56px),1fr));gap:6px 3px}body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option{min-height:70px;padding:5px 2px}body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option .emm-color-dot{width:35px;height:35px}body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches .emm-swatch-option .emm-color-name{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){body.emm-single-active .emm-sp-hero .emm-purchase-swatches .emm-swatch-option,body.emm-single-active .emm-sp-hero .emm-purchase-swatches .emm-color-dot,body.emm-single-active .emm-sp-hero .emm-purchase-swatches .emm-color-dot::after{transition:none!important;animation:none!important}}

/* RC14: independent grid item, selection control and remove control. */
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{grid-template-columns:repeat(auto-fit,minmax(min(100%,74px),1fr));gap:9px 6px;align-items:stretch;justify-items:stretch;padding:4px;overflow:visible}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;align-items:stretch;isolation:isolate}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-card > .emm-swatch-option{flex:none;display:flex;position:relative;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;box-sizing:border-box;width:100%;max-width:none;min-width:0;min-height:108px;height:100%;padding:20px 5px 6px;overflow:visible;white-space:normal;word-break:normal;overflow-wrap:normal;border-radius:15px}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-option .emm-color-name{width:100%;max-width:100%;min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.45;font-size:.75rem}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-option .emm-swatch-quantity{width:100%;white-space:nowrap;line-height:1.35;font-size:.68rem}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-card > .emm-swatch-remove{position:absolute;inset:auto;top:2px;inset-inline-start:2px;z-index:2;display:grid;place-items:center;box-sizing:border-box;width:28px;height:28px;min-width:28px;max-width:28px;min-height:28px;max-height:28px;padding:0;margin:0;border-radius:50%;border:1px solid #e5c9c3;background:#fff7f1;color:#9e5148;font-size:19px;font-weight:700;line-height:1;box-shadow:0 2px 5px #6b44351a;cursor:pointer;transition:background .15s ease,color .15s ease}
body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-card > .emm-swatch-remove:focus-visible{outline:2px solid #526b29;outline-offset:1px}
@media(hover:hover) and (pointer:fine){body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-card > .emm-swatch-remove:hover{background:#f8ded9;color:#8d3834}}
@media(max-width:767px){body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-purchase-swatches{grid-template-columns:repeat(auto-fit,minmax(min(100%,68px),1fr));gap:7px 4px}body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-card > .emm-swatch-option{padding:20px 3px 5px;min-height:102px}body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-option .emm-color-name{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){body.emm-single-active .emm-sp-hero .emm-purchase-view[data-mode=inline] .emm-swatch-card > .emm-swatch-remove{transition:none}}

/* RC22: video controls only. Do not alter the product grid or other gallery slides. */
body.emm-gallery-video-open{overflow:hidden}
body.emm-single-active .emm-sp-gallery-slide--video .emm-sp-video-preview{position:relative;display:block;width:100%;height:100%;padding:0;border:0;border-radius:inherit;overflow:hidden;background:#e8dbce;color:white;cursor:pointer;font:inherit}
body.emm-single-active .emm-sp-video-preview__image{display:block;width:100%;height:100%;object-fit:contain}
body.emm-single-active .emm-sp-video-preview__overlay{position:absolute;inset:0;background:linear-gradient(180deg,#21170b14,#21170b80);pointer-events:none}
body.emm-single-active .emm-sp-video-preview__play,body.emm-single-active .emm-sp-thumb__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:68px;background:#fff8ec;border:2px solid #fff;border-radius:50%;box-shadow:0 5px 18px #231b1640;pointer-events:none}
body.emm-single-active .emm-sp-video-preview__play>span,body.emm-single-active .emm-sp-thumb__play>span{width:0;height:0;border-block:12px solid transparent;border-left:19px solid #405b29;margin-left:4px}
body.emm-single-active .emm-sp-video-preview__meta{position:absolute;bottom:12px;right:12px;left:12px;display:grid;gap:3px;text-align:right;color:white;text-shadow:0 1px 3px #21170b;line-height:1.6}
body.emm-single-active .emm-sp-video-preview__meta strong{font-size:1rem}body.emm-single-active .emm-sp-video-preview__meta small{font-size:.75rem}
body.emm-single-active .emm-sp-gallery-thumbs .emm-sp-thumb--video{position:relative;overflow:hidden;min-width:48px;background:#e5dfd0}
body.emm-single-active .emm-sp-thumb--video .emm-sp-thumb__image{filter:brightness(.8)}
body.emm-single-active .emm-sp-thumb__play{width:29px;height:29px;border-width:1px}
body.emm-single-active .emm-sp-thumb__play>span{border-block-width:5px;border-left-width:8px;margin-left:2px}
body.emm-single-active .emm-sp-thumb--video::after{content:'ویدیو';position:absolute;bottom:3px;right:3px;padding:1px 4px;border-radius:5px;background:#344b24;color:white;font-size:10px;line-height:1.5}
body.emm-single-active .emm-sp-video-preview:focus-visible,body.emm-single-active .emm-sp-thumb--video:focus-visible{outline:2px solid #526b29;outline-offset:-3px}
body.emm-single-active .emm-sp-video-modal:not([open]){display:none!important}
body.emm-single-active .emm-sp-video-modal[open]{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:clamp(10px,3vw,32px);background:#171913eF;color:#fff;display:grid;place-items:center;overflow:auto;direction:rtl;font:inherit}
body.emm-single-active .emm-sp-video-modal::backdrop{background:#171913}
body.emm-single-active .emm-sp-video-modal__dialog{width:min(100%,1100px);min-width:0;max-height:100%;display:flex;flex-direction:column;gap:10px}
body.emm-single-active .emm-sp-video-modal__head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#fff;text-align:right}
body.emm-single-active .emm-sp-video-modal__head strong,body.emm-single-active .emm-sp-video-modal__head small{display:block;color:inherit;line-height:1.7}
body.emm-single-active .emm-sp-video-modal__head small{opacity:.8;font-size:.8rem}
body.emm-single-active .emm-sp-video-modal__close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:14px;border:1px solid #f5e6d5;background:#fff6eb;color:#344b24;cursor:pointer;padding:0}
body.emm-single-active .emm-sp-video-modal__close svg{width:22px;height:22px}
body.emm-single-active .emm-sp-video-modal__body{display:grid;place-items:center;min-height:0;min-width:0;flex:1;background:#090a08;border-radius:18px;overflow:hidden}
body.emm-single-active .emm-sp-video-modal__body video{display:block;width:100%;height:min(72vh,760px);height:min(72dvh,760px);max-width:100%;object-fit:contain;background:#090a08;border:0}
body.emm-single-active .emm-sp-video-modal__error{color:#fff;font-size:.85rem;margin:0}body.emm-single-active .emm-sp-video-modal__error a{color:#e6edc7;text-decoration:underline}body.emm-single-active .emm-sp-video-modal__error[hidden]{display:none!important}
@media(max-width:767px){body.emm-single-active .emm-sp-video-preview__play{width:58px;height:58px}body.emm-single-active .emm-sp-video-modal[open]{padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}body.emm-single-active .emm-sp-video-modal__body video{height:68vh;height:68dvh}body.emm-single-active .emm-sp-video-modal__body{border-radius:12px}}
