/*
Theme Name: Mahpoolak Child
Template: generatepress
Version: 0.8.0
Text Domain: mahpoolak-child
Description: Mobile-first Mahpoolak storefront foundation.
*/
:root {
  --mp-ink: #f6f2e9;
  --mp-surface: #1c1b19;
  --mp-on-accent: #16130b;
  --mp-red: #ff777a;
  --mp-gold: #ffd152;
  --mp-paper: #101010;
  --mp-rule: #494641;
  --mp-muted: #bdb9af;
  --mp-space: clamp(16px, 4vw, 64px);
  --mp-font: DastkhatRoundFaNum, Tahoma, sans-serif;
  --mp-radius: 8px;
}
body { color: var(--mp-ink); background: var(--mp-paper); font-family: var(--mp-font); line-height: 1.8; }
button, input, select, textarea { font-family: inherit; }
body a { color: var(--mp-gold); }
body a:hover, body a:focus-visible { color: #ffe495; }
.site-header, .main-navigation, .main-navigation ul ul, .inside-article,
.separate-containers .inside-article, .separate-containers .page-header,
.separate-containers .comments-area, .sidebar .widget, .site-info,
.footer-widgets, .woocommerce div.product .woocommerce-tabs .panel {
  background: var(--mp-surface);
  color: var(--mp-ink);
}
.site-header .main-title a, .main-navigation .main-nav ul li a,
.main-navigation .menu-toggle, .site-info a { color: var(--mp-ink); }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  background: var(--mp-paper);
  color: var(--mp-gold);
}
h1,h2,h3,h4,h5,h6 { color: var(--mp-ink); font-family: var(--mp-font); }
.woocommerce .price, .woocommerce .price .amount, .woocommerce div.product p.price,
.woocommerce div.product span.price, .woocommerce ul.products li.product .price,
.wc-block-components-product-price, .wc-block-components-product-price__value {
  color: var(--mp-red); font-weight: 700;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt, .wp-block-button__link,
button:not(.menu-toggle):not(.search-modal-close):not(.wc-block-components-quantity-selector__button),
input[type="submit"] {
  background: var(--mp-gold); color: var(--mp-on-accent);
  border-radius: var(--mp-radius); font-weight: 700;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover, .wp-block-button__link:hover {
  background: #ffe495; color: var(--mp-on-accent);
}
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), select, textarea {
  background: var(--mp-paper); color: var(--mp-ink); border-color: var(--mp-rule);
}
:where(a,button,input,select,textarea):focus-visible {
  outline: 2px solid var(--mp-gold); outline-offset: 3px;
}
.site-description, .entry-meta { color: var(--mp-muted); }
img { max-width: 100%; }
@media (max-width: 768px) {
  body { font-size: 16px; }
  .woocommerce a.button, .woocommerce button.button, input[type="submit"] { min-height: 44px; }
}


/* CP04 — prototype-derived layout */
@font-face{font-family:DastkhatRoundFaNum;src:url('assets/fonts/DastkhatRoundFaNum-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--mp-font:DastkhatRoundFaNum,Tahoma,sans-serif}
body,body button,body input,body select,body textarea,body h1,body h2,body h3,body h4,body h5,body h6,body .main-title,body .woocommerce,body .wc-block-components-button{font-family:var(--mp-font)!important}
body{direction:rtl;color-scheme:dark;font-size:16px}
.mp-wrap{width:min(calc(100% - var(--mp-space)*2),1380px);margin-inline:auto}
.mp-header{background:var(--mp-paper);border-bottom:1px solid var(--mp-rule);position:relative;z-index:5}
.mp-mast,.mp-brand,.mp-actions,.mp-desktop-nav,.mp-sectionhead{display:flex;align-items:center}
.mp-mast{min-height:80px;justify-content:space-between;gap:12px}
.mp-brand{font-size:29px;font-weight:700;gap:10px;color:var(--mp-gold);text-decoration:none;white-space:nowrap}
.mp-brand img{border-radius:50%;object-fit:contain;flex-shrink:0}
.mp-desktop-nav{gap:25px}
.mp-desktop-nav a,.mp-footer-links a{color:var(--mp-ink);text-decoration:none;font-size:15px}
.mp-actions{gap:7px;position:relative}
.mp-actions>a,.mp-pop summary{display:grid;place-items:center;width:42px;height:44px;color:var(--mp-ink);cursor:pointer;list-style:none}
.mp-pop summary::-webkit-details-marker{display:none}
.mp-icon{width:22px;height:22px;display:block}
.mp-pop>form,.mp-pop>nav{position:absolute;inset-inline-end:0;top:50px;padding:12px;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:12px;width:min(320px,calc(100vw - 32px));box-shadow:0 12px 30px #0005}
.mp-search-form{display:flex;gap:8px;align-items:center}
.mp-search-form input[type=search]{min-width:0;width:100%;padding:8px}
.mp-mobile-menu{display:none}
.mp-mobile-menu nav{display:grid;gap:8px}
.mp-mobile-menu nav a{padding:9px;color:var(--mp-ink)}
body.home #page{max-width:none;padding:0}
body.home #content{display:block;padding:0}
body.home .mp-home{width:100%;padding:0;float:none}
.mp-home .site-main{margin:0 auto}
.mp-hero{position:relative;isolation:isolate;overflow:hidden;margin:25px 0 20px;border:1px solid #544a31;border-radius:20px;background:radial-gradient(ellipse at 22% 62%,#302919 0%,#1d1c19 52%,#191919 100%);min-height:320px;display:flex;align-items:center}
.mp-hero-copy{padding:36px 6%;width:57%;z-index:1}
.mp-eyebrow,.mp-eng{font:11px/1.5 var(--mp-font);letter-spacing:.24em;color:#d6bd79}
.mp-eyebrow{display:inline-flex;align-items:center;gap:12px}
.mp-eyebrow:before{content:'';width:32px;height:1px;background:var(--mp-gold)}
.mp-hero h1{font-size:clamp(40px,4.7vw,73px);line-height:1.4;letter-spacing:-.06em;margin:6px 0;color:#ffe393}
.mp-hero p{margin:0 0 22px;color:#d4cec0}
body .mp-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 22px;border-radius:8px;background:var(--mp-gold);color:var(--mp-on-accent);border:1px solid var(--mp-gold);font-weight:700;font-size:15px;text-decoration:none}
body .mp-btn:hover{background:#ffe495;color:var(--mp-on-accent)}
.mp-art{position:absolute;left:0;width:52%;height:100%;inset-block:0;object-fit:contain;pointer-events:none}
.mp-chips{display:flex;gap:9px;align-items:center;overflow:auto;padding:5px 0;scrollbar-width:thin}
body .mp-chip{border:1px solid var(--mp-rule);border-radius:24px;white-space:nowrap;padding:7px 17px;font-size:14px;background:var(--mp-surface);color:var(--mp-ink);text-decoration:none}
body .mp-chip-on{color:var(--mp-on-accent);background:var(--mp-gold);border-color:var(--mp-gold)}
.mp-sectionhead{justify-content:space-between;gap:15px;margin:30px 0 16px}
.mp-sectionhead h2{margin:0;font-size:clamp(23px,2.3vw,34px);line-height:1.5}
.mp-textlink{color:var(--mp-gold);font-size:14px;border-bottom:1px solid #8b733b;white-space:nowrap}
.mp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.mp-photo{aspect-ratio:4/4.35;border-radius:13px;overflow:hidden;background:var(--mp-surface);position:relative}
.mp-photo img{width:100%;height:100%;object-fit:cover;display:block}
body .mp-card{min-width:0;display:block;text-decoration:none;color:var(--mp-ink)}
.mp-card small,.mp-footer small{color:var(--mp-muted)}
.mp-card small{display:block;margin-top:10px}
.mp-card h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px;margin:3px 0;line-height:1.65}
.mp-price,.mp-price .amount{font-weight:700;color:var(--mp-red);font-size:15px}
.mp-strip,.mp-footer{margin-top:40px;border-top:1px solid var(--mp-rule);padding:28px 0}
.mp-strip{display:flex;justify-content:space-around;flex-wrap:wrap;gap:12px;background:var(--mp-surface);border-radius:12px}
.mp-footer{background:var(--mp-paper)}
.mp-footer-links{display:flex;gap:22px;flex-wrap:wrap;margin:15px 0}
@media(max-width:768px){
.mp-mast{min-height:64px;gap:4px}.mp-brand{font-size:22px;gap:5px}.mp-brand img{width:38px;height:38px}.mp-desktop-nav{display:none}.mp-mobile-menu{display:block}.mp-actions{gap:0}.mp-actions>a,.mp-pop summary{width:36px;height:44px}
.mp-hero{min-height:290px;margin-top:16px;align-items:flex-start}.mp-hero-copy{padding:24px 18px 120px;width:100%}.mp-hero h1{font-size:clamp(34px,8vw,48px)}.mp-hero p{font-size:14px;max-width:90%;margin-bottom:15px}.mp-art{width:55%;height:125px;inset-block-start:auto;bottom:0}
.mp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mp-card h3{font-size:15px}.mp-card small,.mp-price,.mp-price .amount{font-size:13px}.mp-sectionhead{gap:8px;margin:24px 0 12px}.mp-eng{letter-spacing:.13em}.mp-footer-links{gap:12px 18px}}
@media(max-width:360px){.mp-brand{font-size:19px}.mp-brand img{width:32px;height:32px}.mp-actions>a,.mp-pop summary{width:32px}}


/* CP05 — native archive, scoped to the product listing. */
body.woocommerce-shop #page,body.tax-product_cat #page,body.tax-product_tag #page,body.search.woocommerce #page{max-width:none;padding:0}
body.woocommerce-shop #content,body.tax-product_cat #content,body.tax-product_tag #content{padding:0}
.mp-archive{width:min(calc(100% - var(--mp-space)*2),1380px);margin:24px auto 0}
.mp-archive-intro{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:138px;padding:24px clamp(20px,4vw,50px);background:#191816;border:1px solid #413a29;border-radius:16px}
.mp-archive-intro h1{margin:0;color:#ffe393;font-size:clamp(29px,4.3vw,58px);overflow-wrap:anywhere;line-height:1.5}
.mp-archive-intro>div{max-width:75%}.mp-archive-intro img{position:absolute;z-index:-1;left:0;width:30%;height:155%;object-fit:contain}
.mp-archive-cats{display:flex;gap:8px;overflow:auto;padding:18px 0 20px;border-bottom:1px solid var(--mp-rule)}
.mp-archive-cats a,.mp-archive-tags a,.mp-archive .woocommerce-pagination a,.mp-archive .woocommerce-pagination span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:24px;border:1px solid var(--mp-rule);padding:6px 16px;white-space:nowrap;color:var(--mp-ink)}
.mp-archive [aria-current="page"],.mp-archive .woocommerce-pagination span.current{background:var(--mp-gold);border-color:var(--mp-gold);color:var(--mp-on-accent);font-weight:700}
.mp-archive-layout{display:grid;grid-template-columns:minmax(190px,235px) minmax(0,1fr);gap:clamp(20px,3vw,48px);margin-top:24px}
.mp-archive-aside{align-self:start;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:14px;padding:20px}
.mp-archive-aside h2{font-size:21px;margin-bottom:20px}.mp-archive-filters,.mp-archive-filters label{display:grid;gap:7px}.mp-archive-filters{gap:20px}.mp-archive-filters label{font-size:14px}.mp-archive-filters input{width:100%;min-width:0;background:var(--mp-paper)}
.mp-mobile-filters{display:none}.mp-mobile-filters summary{cursor:pointer;padding:12px;border:1px solid var(--mp-rule);border-radius:8px;color:var(--mp-gold)}
.mp-archive-results{min-width:0}
.mp-archive-tools,.mp-archive-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mp-archive-tools{justify-content:space-between;margin-bottom:18px;color:var(--mp-muted);font-size:14px}
.mp-archive-tools .woocommerce-notices-wrapper:empty{display:none}
.mp-archive-tools .woocommerce-result-count,.mp-archive-tools .woocommerce-ordering{float:none;margin:0}
.mp-archive-tools .woocommerce-ordering select{min-height:44px;color:var(--mp-ink);max-width:100%}
.mp-archive-tags{margin-bottom:14px}.mp-archive-tags a{max-width:100%;white-space:normal;overflow-wrap:anywhere;color:var(--mp-gold)}
.woocommerce .mp-archive ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px;margin:0;list-style:none;padding:0}
.woocommerce .mp-archive ul.products::before,.woocommerce .mp-archive ul.products::after{display:none}
.woocommerce .mp-archive ul.products li.product{float:none;width:auto;margin:0;min-width:0;position:relative}
.woocommerce .mp-archive ul.products li.product a img{width:100%;aspect-ratio:4/4.35;object-fit:cover;border-radius:13px;background:var(--mp-surface);margin:0 0 10px}
.woocommerce .mp-archive ul.products li.product .woocommerce-loop-product__title{font-size:16px;padding:0;line-height:1.65;color:var(--mp-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.woocommerce .mp-archive ul.products li.product .price{color:var(--mp-red);font-size:15px;margin:4px 0}
.woocommerce .mp-archive ul.products li.product .onsale{background:var(--mp-gold);color:var(--mp-on-accent);border-radius:24px;min-height:0;min-width:0;line-height:1.7;padding:3px 9px;margin:8px}
.mp-stock{font-size:12px;color:var(--mp-muted)}.mp-stock-out{color:var(--mp-red)}
.mp-archive .woocommerce-pagination{margin:32px 0}.mp-archive .woocommerce-pagination ul{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;border:0}.mp-archive .woocommerce-pagination ul li{border:0}.mp-archive .woocommerce-pagination ul li a,.mp-archive .woocommerce-pagination ul li span{min-width:44px;padding:7px;border:1px solid var(--mp-rule);border-radius:24px}
.mp-archive-empty{text-align:center;border:1px dashed var(--mp-rule);border-radius:14px;padding:35px 18px}.mp-archive-empty .mp-icon{margin:0 auto 15px;color:var(--mp-gold)}
@media(max-width:768px){.mp-archive{margin-top:14px}.mp-archive-layout{display:block;margin-top:12px}.mp-desktop-filters,.mp-archive-aside h2{display:none}.mp-mobile-filters{display:block}.mp-archive-aside{padding:0;border:0;background:transparent;margin-bottom:16px}.mp-mobile-filters .mp-archive-filters{margin:15px 0}.mp-archive-intro{min-height:96px}.mp-archive-cats{padding:12px 0}.woocommerce .mp-archive ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.mp-archive-tools{font-size:13px}.mp-archive-tools .woocommerce-ordering select{padding:5px}.woocommerce .mp-archive ul.products li.product .woocommerce-loop-product__title,.woocommerce .mp-archive ul.products li.product .price{font-size:14px}}

/* CP05 mobile filter controls stay inside their container. */
.mp-archive .mp-archive-filters input{box-sizing:border-box;max-width:100%;min-height:44px;padding:8px 12px}.mp-archive .mp-archive-filters button{min-width:0;box-sizing:border-box}


/* CP06 — native single product, mobile first. */
body.single-product #page{max-width:none;padding:0}
body.single-product #content{display:block;padding:0}
body.single-product #primary,body.single-product #main{width:100%;margin:0;padding:0;float:none}
body.single-product .woocommerce-breadcrumb{width:min(calc(100% - var(--mp-space)*2),1380px);margin:18px auto;color:var(--mp-muted);font-size:14px;overflow-wrap:anywhere}
body.single-product .woocommerce-breadcrumb a{color:var(--mp-muted)}
.woocommerce.single-product div.product{width:min(calc(100% - var(--mp-space)*2),1380px);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start;position:relative}
.woocommerce.single-product div.product div.images,.woocommerce.single-product div.product div.summary{float:none;width:100%;min-width:0;margin:0}
.woocommerce.single-product div.product div.images .woocommerce-product-gallery__wrapper{margin:0}
.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image{background:var(--mp-surface);border-radius:16px;overflow:hidden}
.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image img{width:100%;height:auto;max-height:610px;aspect-ratio:1;object-fit:contain;display:block}
.woocommerce.single-product div.product div.images .flex-control-thumbs{display:flex;gap:8px;margin:12px 0 0;overflow:auto}
.woocommerce.single-product div.product div.images .flex-control-thumbs li{float:none;flex:0 0 64px;border:1px solid var(--mp-rule);border-radius:8px;overflow:hidden}
.woocommerce.single-product div.product div.images .flex-control-thumbs img{aspect-ratio:1;object-fit:cover}
.woocommerce.single-product div.product div.images .woocommerce-product-gallery__trigger{background:var(--mp-gold);color:var(--mp-on-accent);z-index:3}
.woocommerce.single-product span.onsale{background:var(--mp-gold);color:var(--mp-on-accent);z-index:3;padding:6px 12px;border-radius:20px;min-height:0;min-width:0;line-height:1.6}
.mp-single-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;color:var(--mp-gold);font-size:15px}
.mp-single-meta small{color:var(--mp-muted)}
.woocommerce.single-product div.product .product_title{font-size:clamp(25px,3vw,42px);line-height:1.55;overflow-wrap:anywhere;color:var(--mp-ink);margin:8px 0 18px}
.woocommerce.single-product div.product div.summary>p.price{padding:14px 0;border-block:1px solid var(--mp-rule);font-size:clamp(23px,2.5vw,34px);color:var(--mp-red);font-weight:700}
.woocommerce.single-product div.product div.summary>p.price .amount{color:var(--mp-red)}
.woocommerce.single-product .woocommerce-product-details__short-description{color:var(--mp-muted);overflow-wrap:anywhere}
.mp-single-size{margin:12px 0}.mp-single-size a{color:var(--mp-gold);text-decoration:underline;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}
.woocommerce.single-product div.product form.cart{margin:10px 0 0}
.woocommerce.single-product div.product form.cart .variations{border:0;margin:0 0 16px}
.woocommerce.single-product div.product form.cart .variations tr{display:block;margin-bottom:16px}
.woocommerce.single-product div.product form.cart .variations th,.woocommerce.single-product div.product form.cart .variations td{display:block;padding:0;border:0;text-align:start}
.woocommerce.single-product div.product form.cart .variations th label{color:var(--mp-ink);font-size:16px;display:block;margin-bottom:8px}
.woocommerce.single-product div.product form.cart .variations select{min-height:44px;width:100%;max-width:100%;margin:0 0 8px;box-sizing:border-box}
.woocommerce.single-product div.product form.cart .variations select.mp-native-select{display:none}
.mp-variation-choices{display:flex;flex-wrap:wrap;gap:8px}
.woocommerce.single-product button.mp-variation-choice{font:inherit!important;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:48px;padding:7px 14px;background:#28241a;color:var(--mp-ink);border:1px solid #867342;border-radius:8px;cursor:pointer}
.woocommerce.single-product button.mp-variation-choice[aria-pressed=true]{background:var(--mp-gold);color:var(--mp-on-accent);border-color:var(--mp-gold)}
.woocommerce.single-product button.mp-variation-choice.mp-choice-unavailable,.woocommerce.single-product button.mp-variation-choice:disabled{background:transparent;color:var(--mp-muted);border:1px dashed var(--mp-rule);text-decoration:line-through}
.woocommerce.single-product button.mp-variation-choice[aria-pressed=true].mp-choice-unavailable{border-color:var(--mp-gold);color:var(--mp-gold)}
.woocommerce.single-product div.product form.cart .reset_variations{color:var(--mp-muted);font-size:13px;min-height:32px;display:inline-flex;align-items:center;margin-top:8px}
.woocommerce.single-product div.product p.stock{color:var(--mp-muted);font-size:15px}
.woocommerce.single-product div.product p.stock.out-of-stock{color:var(--mp-red)}
.woocommerce.single-product div.product .woocommerce-variation-price{font-size:23px;margin:10px 0}
.woocommerce.single-product div.product .woocommerce-variation-price .amount{color:var(--mp-red)}
.woocommerce.single-product div.product form.cart .single_add_to_cart_button{float:none;min-height:50px;flex:1;background:var(--mp-gold);color:var(--mp-on-accent);border-radius:8px;padding:12px 18px;font-size:16px;font-weight:700}
.woocommerce.single-product div.product form.cart .single_add_to_cart_button:disabled,.woocommerce.single-product div.product form.cart .single_add_to_cart_button.disabled{opacity:.55;cursor:not-allowed}
.woocommerce.single-product div.product form.cart:not(.variations_form),.woocommerce.single-product div.product form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.woocommerce.single-product div.product form.cart div.quantity{float:none;margin:0}
.woocommerce.single-product .quantity .qty{min-height:50px;border:1px solid var(--mp-rule);border-radius:8px;box-sizing:border-box}
.mp-single-details{grid-column:1/-1;border-top:1px solid var(--mp-rule);padding-top:22px;margin-top:12px}
.mp-single-details h2{color:var(--mp-ink);font-size:clamp(23px,2.3vw,34px);margin:0 0 15px}
.mp-single-panels{min-width:0}
.mp-single-details details{padding:14px 0;border-bottom:1px solid var(--mp-rule)}
.mp-single-details summary{cursor:pointer;color:var(--mp-gold);font-size:17px;font-weight:700;padding:4px 0}
.mp-single-panel{padding:12px 0;overflow-wrap:anywhere;color:var(--mp-ink)}
.mp-single-panel img{max-width:100%;height:auto}
.mp-single-panel table{display:block;max-width:100%;overflow:auto}
.mp-single-panel .woocommerce-product-attributes{display:table;width:100%;table-layout:fixed}
.woocommerce.single-product div.product .related,.woocommerce.single-product div.product .upsells{grid-column:1/-1;min-width:0;margin:16px 0 30px}
.woocommerce.single-product div.product .related>h2,.woocommerce.single-product div.product .upsells>h2{font-size:clamp(23px,2.3vw,34px)}
.woocommerce.single-product div.product .related ul.products,.woocommerce.single-product div.product .upsells ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0}
.woocommerce.single-product div.product .related ul.products::before,.woocommerce.single-product div.product .related ul.products::after,.woocommerce.single-product div.product .upsells ul.products::before,.woocommerce.single-product div.product .upsells ul.products::after{display:none}
.woocommerce.single-product div.product .related li.product,.woocommerce.single-product div.product .upsells li.product{float:none;width:auto;margin:0;min-width:0}
.woocommerce.single-product div.product .related li.product img,.woocommerce.single-product div.product .upsells li.product img{border-radius:13px;aspect-ratio:4/4.35;object-fit:cover}
.woocommerce.single-product div.product .related li.product h2,.woocommerce.single-product div.product .upsells li.product h2{color:var(--mp-ink);font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:769px){.woocommerce.single-product div.product{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(26px,4vw,70px)}.woocommerce.single-product div.product div.summary{padding-top:12px}.mp-single-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:36px}.woocommerce.single-product div.product .related ul.products,.woocommerce.single-product div.product .upsells ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}


/* CP07: native commerce pages */
body.mp-commerce-view #page{max-width:none;padding:0}
body.mp-commerce-view #content{display:block;padding:0}
body.mp-commerce-view .mp-commerce-area{width:100%;margin:0;padding:0;float:none}
.mp-commerce-area .site-main{margin:0 auto}
.mp-commerce{padding-top:18px;padding-bottom:24px}
.mp-commerce-crumb{color:var(--mp-muted);font-size:14px;margin-bottom:12px}
.mp-commerce-crumb a{color:var(--mp-muted)}
.mp-commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px;border-bottom:1px solid var(--mp-rule);padding-bottom:14px}
.mp-commerce-heading h1{font-size:clamp(28px,4vw,48px);color:var(--mp-ink);margin:0;line-height:1.6}
.mp-commerce-heading span{color:var(--mp-muted)}
.mp-commerce .woocommerce{min-width:0}
.mp-commerce .woocommerce-error,.mp-commerce .woocommerce-info,.mp-commerce .woocommerce-message{background:var(--mp-surface);color:var(--mp-ink);border-top-color:var(--mp-gold);border-radius:8px;overflow-wrap:anywhere}
.mp-commerce .woocommerce-error{border-top-color:var(--mp-red)}
.mp-commerce .woocommerce table.shop_table{border:1px solid var(--mp-rule);border-radius:12px;overflow:hidden;margin:0 0 18px;background:var(--mp-surface)}
.mp-commerce .woocommerce table.shop_table th,.mp-commerce .woocommerce table.shop_table td{border-color:var(--mp-rule);padding:12px;text-align:start}
.mp-commerce .woocommerce table.shop_table th{color:var(--mp-muted)}
.mp-commerce .woocommerce table.shop_table .amount,.mp-commerce .woocommerce .order-total .amount{color:var(--mp-red);font-weight:700}
.mp-commerce .woocommerce a.remove{color:var(--mp-red)!important;background:transparent}
.mp-commerce .woocommerce a.remove:hover{background:var(--mp-red);color:var(--mp-paper)!important}
.mp-commerce .woocommerce-cart-form .product-thumbnail img{width:84px;aspect-ratio:4/4.7;object-fit:cover;border-radius:8px}
.mp-commerce .woocommerce-cart-form .product-name a{color:var(--mp-ink);font-weight:700;overflow-wrap:anywhere}
.mp-commerce .woocommerce-cart-form dl.variation{color:var(--mp-muted);font-size:13px}
.mp-commerce .woocommerce .quantity .qty{min-height:44px;width:66px;border-radius:8px;box-sizing:border-box}
.mp-commerce .woocommerce input,.mp-commerce .woocommerce select,.mp-commerce .woocommerce textarea{max-width:100%;box-sizing:border-box}
.mp-commerce .woocommerce input.input-text,.mp-commerce .woocommerce textarea,.mp-commerce .woocommerce select{min-height:44px;border-radius:8px;padding:8px 12px}
.mp-commerce .woocommerce input.mp-phone{direction:ltr}
.mp-commerce .woocommerce .button{min-height:44px;line-height:1.6;white-space:normal}
.mp-commerce .woocommerce .button:disabled,.mp-commerce .woocommerce .button.disabled{opacity:.5;cursor:not-allowed}
.mp-commerce-cart .woocommerce-cart-form .coupon{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mp-commerce-cart .woocommerce-cart-form .coupon input#coupon_code{float:none;width:150px;min-height:44px;margin:0}
.mp-commerce-cart .woocommerce .cart-collaterals .cart_totals{float:none;width:100%;min-width:0;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:14px;padding:18px;box-sizing:border-box}
.mp-commerce-cart .cart_totals h2{font-size:23px;margin-bottom:16px}
.mp-commerce-cart .cart_totals table.shop_table{border:0}
.mp-commerce-cart .cart_totals .wc-proceed-to-checkout{padding:10px 0}
.mp-commerce-cart .cart_totals .checkout-button{margin:0;width:100%}
.mp-continue{display:block;text-align:center;padding:8px;color:var(--mp-gold)}
.mp-basket-empty{display:flex;align-items:center;position:relative;overflow:hidden;isolation:isolate;min-height:230px;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:16px;padding:25px}
.mp-basket-empty>div{z-index:1;max-width:75%}
.mp-basket-empty img{position:absolute;left:0;top:0;width:36%;height:100%;object-fit:contain;opacity:.8;z-index:-1}
.mp-basket-empty h2{font-size:clamp(22px,3vw,32px);margin:12px 0}
.mp-basket-empty p{color:var(--mp-muted)}
.mp-basket-symbol .mp-icon{width:36px;height:36px;color:var(--mp-gold)}
.mp-commerce-cart .return-to-shop{display:none}
.mp-preview-notice{background:#28241a;border:1px solid #867342;border-radius:10px;color:#ffe393;padding:12px 16px}
.mp-commerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.mp-commerce-checkout #customer_details,.mp-commerce-checkout #order_review{min-width:0;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:14px;padding:18px;box-sizing:border-box}
.mp-commerce-checkout #customer_details .col-1,.mp-commerce-checkout #customer_details .col-2{float:none;width:100%}
.mp-commerce-checkout #customer_details h3,.mp-commerce-checkout #order_review_heading{font-size:23px;color:var(--mp-ink);margin:0 0 16px}
.mp-commerce-checkout .woocommerce form .form-row label{color:var(--mp-muted)}
.mp-commerce-checkout .woocommerce form .form-row{margin-bottom:14px}
.mp-commerce-checkout .woocommerce form .form-row-first,.mp-commerce-checkout .woocommerce form .form-row-last{width:48%}
.mp-commerce-checkout .select2-container--default .select2-selection--single{background:var(--mp-paper);border-color:var(--mp-rule);height:44px;border-radius:8px}
.mp-commerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--mp-ink);line-height:44px}
body.mp-commerce-view .select2-dropdown{background:var(--mp-surface);color:var(--mp-ink);border-color:var(--mp-rule)}
body.mp-commerce-view .select2-container--default .select2-results__option[aria-selected=true]{background:var(--mp-paper)}
.mp-commerce-checkout #payment{background:var(--mp-paper);border:1px solid var(--mp-rule);border-radius:10px}
.mp-commerce-checkout #payment ul.payment_methods{border-color:var(--mp-rule)}
.mp-commerce-checkout #payment .payment_box{background:var(--mp-surface);color:var(--mp-ink)}
.mp-commerce-checkout #payment .payment_box::before{display:none}
.mp-commerce-checkout #payment #place_order,.mp-commerce-checkout #payment .button.alt{float:none;width:100%;min-height:50px}
.mp-commerce-account .woocommerce-MyAccount-navigation{background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:12px;padding:12px;box-sizing:border-box}
.mp-commerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.mp-commerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:9px 12px;color:var(--mp-ink);border-radius:8px}
.mp-commerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--mp-gold);color:var(--mp-on-accent)}
.mp-commerce-account .woocommerce-MyAccount-content{min-width:0}
.mp-commerce-account .woocommerce form.login,.mp-commerce-account .woocommerce form.register,.mp-commerce-track .woocommerce form.track_order{background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:14px;padding:20px;max-width:620px}
.mp-commerce-account .woocommerce form .form-row label,.mp-commerce-track .woocommerce form .form-row label{color:var(--mp-muted)}
.mp-commerce-track .woocommerce form.track_order .form-row-first,.mp-commerce-track .woocommerce form.track_order .form-row-last{float:none;width:100%}
@media(min-width:1000px){
.mp-commerce-cart .woocommerce:has(.woocommerce-cart-form){display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:28px;align-items:start}
.mp-commerce-cart .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.mp-commerce-cart .woocommerce>.woocommerce-notices-wrapper:empty{display:none}
.mp-commerce-cart .woocommerce-cart-form{min-width:0}
.mp-commerce-checkout form.checkout{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start;gap:24px}
.mp-commerce-checkout #customer_details{grid-column:1;grid-row:1/3}
.mp-commerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0}
.mp-commerce-checkout #order_review{grid-column:2;grid-row:2}
}
@media(max-width:768px){
.mp-commerce-heading h1{font-size:30px}
.mp-commerce .woocommerce table.shop_table_responsive tr td{background:transparent!important;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:start!important}
.mp-commerce .woocommerce table.shop_table_responsive tr td::before{color:var(--mp-muted);font-size:13px}
.mp-commerce .woocommerce-cart-form table.cart tr.cart_item{display:grid;grid-template-columns:92px minmax(0,1fr);padding:12px;gap:4px 10px;border-bottom:1px solid var(--mp-rule)}
.mp-commerce .woocommerce-cart-form table.cart tr.cart_item td{grid-column:2;padding:6px 0;border:0;min-width:0}
.mp-commerce .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail{display:block!important;grid-column:1;grid-row:1/4;padding:0}
.mp-commerce .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail::before,.mp-commerce .woocommerce-cart-form table.cart tr.cart_item td.product-name::before,.mp-commerce .woocommerce-cart-form table.cart tr.cart_item td.product-remove::before{display:none}
.mp-commerce .woocommerce-cart-form table.cart tr.cart_item td.product-remove{grid-column:1;grid-row:4;justify-content:center}
.mp-commerce .woocommerce-cart-form .product-thumbnail img{display:block;width:92px}
.mp-commerce .woocommerce-cart-form table.cart tr.cart_item td.product-name{grid-row:1;font-size:15px}
.mp-commerce .woocommerce-cart-form .coupon{margin-bottom:10px}
.mp-commerce .woocommerce-cart-form .coupon input#coupon_code{flex:1;min-width:0}
.mp-commerce .woocommerce-cart-form td.actions{display:block!important;padding:12px}
.mp-commerce .woocommerce-cart-form td.actions .button[name=update_cart]{width:100%}
.mp-commerce-checkout #customer_details,.mp-commerce-checkout #order_review{padding:14px}
.mp-commerce-checkout .woocommerce form .form-row-first,.mp-commerce-checkout .woocommerce form .form-row-last{float:none;width:100%}
.mp-commerce-account .woocommerce-MyAccount-navigation{margin-bottom:18px}
}

.mp-cart-count{color:var(--mp-muted);margin:0 0 10px;font-size:14px}


/* CP08A: information pages */
.mp-info-area{width:100%;margin:0;padding:0;float:none}
.mp-info-area .site-main{margin:0 auto}
.mp-info{padding-block:24px 40px}
.mp-info-article{max-width:880px;margin:auto;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:16px;padding:clamp(18px,4vw,48px)}
.mp-info-article h1{font-size:clamp(28px,4vw,46px);color:var(--mp-gold);border-bottom:1px solid var(--mp-rule);padding-bottom:18px;margin:0 0 24px}
.mp-info-content{line-height:2;overflow-wrap:anywhere}
.mp-info-content h2{color:var(--mp-gold);font-size:clamp(20px,3vw,27px);margin:28px 0 12px}
.mp-info-content p{margin-bottom:12px}
.mp-info-content ul,.mp-info-content ol{margin-inline-start:24px}
.mp-info-content table{max-width:100%;display:block;overflow:auto}
.mp-info-content a{color:var(--mp-gold);text-decoration:underline;text-underline-offset:3px}

.mp-catalog-nav{padding-top:10px;padding-bottom:10px}.mp-catalog-children{padding-top:8px;padding-bottom:8px}.mp-catalog-children a{font-size:13px}


/* CP08C: Iran-only checkout and local tracking */
.mp-commerce .mp-fixed-country{display:none!important}
.mp-registration-note{color:var(--mp-muted);font-size:14px}
.mp-track-card{max-width:760px;margin:0 auto 30px;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:16px;padding:clamp(18px,4vw,36px)}
.mp-track-card h2{color:var(--mp-gold);font-size:clamp(23px,3vw,32px);margin-top:0}
.mp-track-card p{color:var(--mp-muted)}
.mp-track-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mp-track-form label{display:grid;gap:6px;color:var(--mp-muted)}
.mp-track-form input{width:100%;min-height:44px;min-width:0;box-sizing:border-box;direction:ltr}
.mp-track-form button{grid-column:1/-1;min-height:48px}
.mp-track-result:not(:empty){border:1px solid var(--mp-rule);border-radius:10px;padding:16px;margin-top:18px}
@media(max-width:600px){.mp-track-form{grid-template-columns:1fr}}

/* CP08: custom 404 and keyboard focus */
.mp-not-found{padding-block:40px 64px;text-align:center}.mp-not-found .mp-info-article{max-width:680px}.mp-not-found .mp-eng{font-size:clamp(36px,8vw,72px);color:var(--mp-gold)}
body :focus-visible{outline:2px solid var(--mp-gold);outline-offset:3px}


/* Blog / خواندنی‌ها — native scroll carousel, no script dependency. */
.mp-blog-home{margin-block:clamp(28px,5vw,64px);min-width:0}
.mp-blog-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:18px}
.mp-blog-heading h1,.mp-blog-heading h2{color:var(--mp-gold);margin:0;line-height:1.55}
.mp-blog-heading h2{font-size:clamp(24px,3vw,34px)}
.mp-blog-heading p{color:var(--mp-muted);margin:4px 0 0}
.mp-blog-heading>a{color:var(--mp-gold);white-space:nowrap;font-size:14px}
.mp-blog-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mp-blog-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,calc((100% - 48px)/4));grid-template-columns:none;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-color:var(--mp-gold) var(--mp-surface);padding-bottom:12px}
.mp-blog-card{min-width:0;scroll-snap-align:start;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:14px;overflow:hidden}
.mp-blog-card-link{display:flex;flex-direction:column;height:100%;color:var(--mp-ink)}
.mp-blog-card-link:hover,.mp-blog-card-link:focus{color:var(--mp-gold)}
.mp-blog-card .mp-blog-cover{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;margin:0}
.mp-blog-card-body{display:flex;flex-direction:column;gap:10px;padding:16px;flex:1}
.mp-blog-card-body h3{font-size:17px;line-height:1.75;color:var(--mp-ink);margin:0}
.mp-blog-card-body p{color:var(--mp-muted);font-size:13px;line-height:1.8;margin:0}
.mp-blog-more{font-size:13px;color:var(--mp-gold);margin-top:auto}
.mp-blog-index{padding-bottom:60px}
.mp-blog-article{max-width:900px;margin-inline:auto}
.mp-blog-date{display:block;color:var(--mp-muted);font-size:14px;margin-bottom:20px}
.mp-blog-hero{display:block;width:100%;height:auto;border-radius:12px;margin:0 0 24px}
.mp-blog-article .mp-info-content{overflow-wrap:anywhere;line-height:2}
.mp-blog-article .mp-info-content a{color:var(--mp-gold);text-decoration:underline;text-underline-offset:3px}
.mp-blog-pagination{margin-block:24px;display:flex;gap:10px;justify-content:center}
@media(max-width:1000px){.mp-blog-carousel{grid-auto-columns:calc((100% - 32px)/3)}.mp-blog-cards:not(.mp-blog-carousel){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mp-blog-carousel{grid-auto-columns:74%;gap:12px}.mp-blog-cards:not(.mp-blog-carousel){grid-template-columns:1fr}.mp-blog-heading h2{font-size:24px}.mp-blog-card-body{padding:12px}}


/* Compact independent trust-seal slot; fixed size prevents layout shifts. */
.mp-enamad{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-block:18px 14px;max-width:160px}
.mp-enamad-heading{font-size:13px;font-weight:600;color:var(--mp-gold)}
.mp-enamad-slot{width:108px;height:108px;box-sizing:border-box;border:1px solid var(--mp-rule);border-radius:12px;display:grid;place-items:center;overflow:hidden;background:var(--mp-surface)}
.mp-enamad-empty{border-style:dashed;text-align:center;align-content:center;gap:4px;padding:8px;color:var(--mp-muted);font-size:12px}
.mp-enamad-empty small,.mp-enamad-note{font-size:11px;color:var(--mp-muted);line-height:1.55}
.mp-enamad-link{display:grid;place-items:center;text-align:center;width:100%;height:100%;color:var(--mp-gold);font-size:12px;padding:6px}
.mp-enamad-slot[data-status="loaded"]{background:#fff}
.mp-enamad-slot[data-status="loaded"] .mp-enamad-fallback{display:none}
.mp-enamad-image{width:88px;height:88px;object-fit:contain;display:block}
@media(max-width:600px){.mp-enamad{margin-inline:auto;align-items:center}}


/* Compact contact cards and native, no-JS disclosure. */
.mp-footer-extra{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;border-top:1px solid var(--mp-rule);margin-block:20px;padding-top:16px}
.mp-contact-footer{flex:1 1 540px;min-width:0}
.mp-contact-footer h2,.mp-contact-directory h2{color:var(--mp-gold);font-size:20px;margin-block:12px}
.mp-contact-phones,.mp-contact-social{display:flex;flex-wrap:wrap;gap:8px 14px}
.mp-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}
.mp-contact-link{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid var(--mp-rule);border-radius:10px;color:var(--mp-ink);text-decoration:none!important;background:var(--mp-surface)}
.mp-contact-link:hover,.mp-contact-link:focus-visible{border-color:var(--mp-gold);color:var(--mp-gold)}
.mp-contact-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;color:var(--mp-gold)}
.mp-contact-text{display:flex;flex-direction:column;min-width:0;gap:2px;line-height:1.55}
.mp-contact-text strong{font-size:13px;font-weight:600}
.mp-contact-text bdi{font-size:13px;overflow-wrap:anywhere;unicode-bidi:isolate;text-align:right}
.mp-contact-social{margin-top:12px}
.mp-contact-social .mp-contact-link{padding:5px 8px;gap:3px}
.mp-contact-mini-label{font-size:12px;line-height:1.5}
.mp-contact-all{color:var(--mp-gold);font-size:13px}
.mp-contact-footnote,.mp-contact-hours{color:var(--mp-muted);font-size:14px}
.mp-contact-hours{padding:16px;border:1px solid var(--mp-rule);border-radius:12px;background:var(--mp-surface)}
.mp-contact-hours p{margin:8px 0}
.mp-contact-quick{position:fixed;inset-inline-start:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:90;max-width:calc(100vw - 32px);direction:rtl}
.mp-contact-quick summary{list-style:none;display:flex;align-items:center;gap:7px;cursor:pointer;background:var(--mp-gold);color:var(--mp-on-accent);padding:10px 12px;border-radius:28px;font-size:13px;font-weight:600;box-shadow:0 3px 14px #0005;width:max-content;margin-inline-start:0}
.mp-contact-quick summary::-webkit-details-marker{display:none}
.mp-contact-quick[open] summary{margin-top:8px}
.mp-contact-panel{position:absolute;inset-inline-start:0;bottom:calc(100% + 10px);width:min(310px,calc(100vw - 32px));max-height:min(65vh,480px);overflow:auto;background:var(--mp-surface);border:1px solid var(--mp-rule);border-radius:14px;padding:12px;box-shadow:0 8px 24px #0007}
.mp-contact-panel>strong{display:block;color:var(--mp-gold);margin-bottom:10px}
.mp-contact-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}
.mp-contact-quick-grid .mp-contact-link{padding:5px;gap:3px}
@media(max-width:600px){.mp-contact-grid{grid-template-columns:1fr}.mp-footer-extra{gap:12px}.mp-contact-phones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mp-contact-phones .mp-contact-link{padding:7px;gap:3px}.mp-contact-phones .mp-contact-icon{width:24px;flex-basis:24px}.mp-contact-phones .mp-contact-text bdi{font-size:12px}.mp-contact-quick{inset-inline-start:10px;bottom:max(10px,env(safe-area-inset-bottom))}.mp-contact-quick summary{padding:11px}.mp-contact-quick:not([open]) summary span{display:none}}


/* Blog cards: avoid inherited full-card underlining; retain the explicit reading link. */
body .mp-blog-card a.mp-blog-card-link,
body .mp-info-content .mp-blog-card a.mp-blog-card-link{ text-decoration:none; box-shadow:none; border-bottom:0; }
.mp-blog-card-link .mp-blog-more{ text-decoration:underline; text-underline-offset:4px; }
.mp-blog-card-link:hover .mp-blog-card-body h3,
.mp-blog-card-link:focus-visible .mp-blog-card-body h3{ color:var(--mp-gold); }


/* Single product: override WooCommerce legacy float/48% widths inside our grid.
   Use actual grid tracks, not a second percentage-width layout inside each track. */
body.woocommerce.single-product #content div.product > div.images,
body.woocommerce.single-product #content div.product > div.summary{
 float:none;clear:none;width:100%;max-width:100%;min-width:0;margin:0;box-sizing:border-box;
}
body.woocommerce.single-product #content div.product::before,
body.woocommerce.single-product #content div.product::after{display:none;content:none}
body.woocommerce.single-product #content div.product .product_title{
 font-size:clamp(25px,2.4vw,34px);line-height:1.55;word-break:normal;overflow-wrap:anywhere;text-wrap:pretty;
}
@media(min-width:769px){
 body.single-product .woocommerce-breadcrumb{width:min(calc(100% - var(--mp-space)*2),1200px)}
 body.woocommerce.single-product #content div.product{
  width:min(calc(100% - var(--mp-space)*2),1200px);
  grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
  column-gap:clamp(24px,3.8vw,52px);row-gap:30px;
 }
 body.woocommerce.single-product #content div.product > div.summary{padding:4px 0 0}
 body.woocommerce.single-product #content div.product > div.images{align-self:start}
 body.woocommerce.single-product #content div.product .product_title{margin:8px 0 16px}
 body.woocommerce.single-product #content div.product > div.summary > p.price{margin:0 0 16px;padding:12px 0;font-size:clamp(24px,2.2vw,32px)}
 body.woocommerce.single-product #content div.product .mp-single-size{margin:8px 0}
 body.woocommerce.single-product #content div.product > div.summary .woocommerce-product-details__short-description:empty{display:none}
}
@media(max-width:768px){
 body.woocommerce.single-product #content div.product{grid-template-columns:minmax(0,1fr);gap:18px}
 body.woocommerce.single-product #content div.product > div.summary{padding:0}
 body.woocommerce.single-product #content div.product .product_title{font-size:clamp(23px,6vw,27px);line-height:1.6;margin:8px 0 14px}
}


/* CP08: local compatibility layer for imported product-description HTML.
   Scoped to long/short descriptions; no source markup or product data rewritten. */
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description){
 --mp-desc-card:#242320;--mp-desc-raised:#2b2924;
 color:var(--mp-ink);font-size:16px;line-height:1.95;min-width:0;max-width:100%;
 overflow-wrap:anywhere;word-break:normal;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) *{
 box-sizing:border-box;min-width:0;max-width:100%;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(p,li,h1,h2,h3,h4,h5,h6,td,th,span,strong,b){
 word-break:normal;overflow-wrap:anywhere;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where([style*="font-family"]){font-family:inherit!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where([style*="color:"]){color:var(--mp-ink)!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,li,p,span,table,tbody,tr,th,td)[style*="background"]{
 background:var(--mp-desc-card)!important;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,li,p,table,th,td)[style*="border"]{
 border-color:var(--mp-rule)!important;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where([style*="box-shadow"]){box-shadow:none!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(h1,h2,h3,h4,h5,h6){
 display:block!important;color:var(--mp-gold)!important;font-size:clamp(19px,2.1vw,25px)!important;
 line-height:1.7!important;letter-spacing:normal!important;margin-block:16px 10px;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(h3,h4,h5,h6){font-size:clamp(17px,1.8vw,21px)!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(strong,b)[style*="color"]{color:var(--mp-gold)!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) a{color:var(--mp-gold)!important;text-underline-offset:3px}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(p,li)[style*="display: flex"],
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(p,li)[style*="display:flex"]{
 display:block!important;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(p,li) > :where(strong,b,span){
 white-space:normal!important;min-width:0!important;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where([style*="min-width"]){min-width:0!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where([style*="max-width"]){max-width:100%!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(blockquote){
 font-style:normal;font-size:inherit;line-height:inherit;margin:12px 0;padding:10px 14px;border:0;border-inline-start:2px solid var(--mp-rule);
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(ul,ol){
 margin:0 0 14px;padding-inline-start:20px;padding-inline-end:0;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(ul,ol):has(> li :is(.lovely-product-card,.melorin-product-wrapper,.mel-product)){
 padding-inline-start:0;list-style-position:inside;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) li:has(:is(.lovely-product-card,.melorin-product-wrapper,.mel-product)){list-style:none;padding-inline:0;margin-inline:0}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) blockquote:has(:is(.lovely-product-card,.melorin-product-wrapper,.mel-product)){padding:0;border:0}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.lovely-product-card,.melorin-product-wrapper,.mel-product,.woocommerce-tabs,.wc-tabs-wrapper,.wd-accordion-item,.woocommerce-Tabs-panel,.wc-tab-inner,.wd-entry-content){
 min-width:0!important;width:100%!important;max-width:100%!important;margin-inline:0!important;float:none!important;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-product,.mel-body){display:block}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-quickfacts,.mel-card,.mel-box,.mel-alert,.mel-note,.mel-link-card,.mel-faq-item){
 background:var(--mp-desc-card);border:1px solid var(--mp-rule);border-radius:12px;padding:14px 16px;margin-block:12px;color:var(--mp-ink);
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-quickfacts-grid,.mel-grid,.mel-links){
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-quickfact){
 background:var(--mp-desc-raised);border:1px solid var(--mp-rule);border-radius:8px;padding:10px 12px;line-height:1.8;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-quickfact strong,.mel-chip,.mel-highlight){color:var(--mp-gold)}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-section){margin-block:18px}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-section-title,.mel-quickfacts-title){margin-block:0 12px}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-table-wrap){overflow-x:auto;max-width:100%}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) table{
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;
 border-collapse:collapse;table-layout:auto!important;scrollbar-color:var(--mp-gold) var(--mp-desc-card);
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(th,td){
 color:var(--mp-ink)!important;background:var(--mp-desc-card)!important;border-color:var(--mp-rule)!important;
 padding:8px 10px!important;white-space:normal!important;overflow-wrap:break-word;min-width:0!important;
}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) th{color:var(--mp-gold)!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(img,video,iframe){max-width:100%!important}
body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) p:empty{display:none}
@media(min-width:769px){
 body.single-product .mp-single-details{display:block;min-width:0}
 body.single-product .mp-single-panels{width:100%;max-width:980px;margin-inline:auto}
}
@media(max-width:768px){
 /* GP's additional inside-article padding used to consume 60px on top of our product gutter. */
 body.single-product #main > article.product > .inside-article{padding-inline:0}
 body.single-product .mp-single-details{width:100%;min-width:0}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description){font-size:15px;line-height:1.9}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(p,li,td,th){font-size:15px!important;line-height:1.9!important}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,li)[style*="padding"]{padding:0!important}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,li)[style*="background"]{padding:10px 12px!important}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-quickfacts,.mel-card,.mel-box,.mel-alert,.mel-note,.mel-link-card,.mel-faq-item){padding:12px}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,ul,ol)[style*="display: flex"],
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,ul,ol)[style*="display:flex"],
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,ul,ol)[style*="display: grid"],
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,article,ul,ol)[style*="display:grid"]{display:block!important}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,ul,ol)[style*="display: flex"] > :where(div,section,li) + :where(div,section,li),
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(div,section,ul,ol)[style*="display:flex"] > :where(div,section,li) + :where(div,section,li){margin-block-start:8px!important}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where([style*="width:"]):not(img,video,iframe,span,strong,b,a){max-width:100%!important}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(.mel-quickfacts-grid,.mel-grid,.mel-links){grid-template-columns:minmax(0,1fr);gap:8px}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(span,b,strong)[style*="position: absolute"],
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where(span,b,strong)[style*="position:absolute"]{position:static!important;display:inline-block;margin-bottom:6px}
 body.single-product :is(#tab-description .mp-single-panel,.woocommerce-product-details__short-description) :where([style*="column-count"]){column-count:1!important}
}
