/* ظاهر صفحه محصول مستر موزر — رنگ‌های لوگو: سرمه‌ای و طلایی */
body.single-product {
    --mm-navy: #1B2232;
    --mm-navy-2: #2A3550;
    --mm-gold: #D9A93E;
    --mm-gold-2: #F6DB8C;
    --mm-gold-dark: #9A6B12;
    --mm-gold-light: #FBF3DF;
    --mm-gold-grad: linear-gradient(135deg, #F6DB8C 0%, #D9A93E 55%, #B07D1E 100%);
    --mm-border: #E7EAF0;
    --mm-muted: #6E7787;
    --mm-green: #17945B;
}

/* ---------- عنوان، مسیر و گالری ---------- */
body.single-product .product_title {
    color: var(--mm-navy) !important; font-weight: 900 !important; line-height: 1.8 !important;
}
body.single-product .woocommerce-breadcrumb a { color: var(--mm-gold-dark) !important; }
body.single-product .woocommerce-product-gallery {
    border-radius: 22px; overflow: hidden;
    background: radial-gradient(circle at 50% 55%, #fff 0%, #F5F6F9 80%);
}
body.single-product .woocommerce-product-gallery__image img,
body.single-product .flex-control-thumbs img { border-radius: 16px; }
body.single-product .flex-control-thumbs li img { border: 2px solid transparent; transition: border-color .2s, opacity .2s; opacity: .75; }
body.single-product .flex-control-thumbs li img.flex-active,
body.single-product .flex-control-thumbs li img:hover { border-color: var(--mm-gold); opacity: 1; }

/* ---------- قیمت ---------- */
body.single-product .summary .price,
body.single-product .woocommerce-variation-price .price {
    color: var(--mm-navy) !important; font-weight: 900 !important; font-size: 22px !important; line-height: 1.6 !important;
}
body.single-product .price del, body.single-product .price del * { color: #A0A7B4 !important; font-size: 14px !important; font-weight: 600 !important; }
body.single-product .price ins { text-decoration: none !important; background: none !important; color: #C8452F !important; }
body.single-product .woocommerce-Price-currencySymbol { font-size: .6em; font-weight: 700; color: var(--mm-muted); margin-right: 3px; }
body.single-product .woocommerce-variation-availability .stock { font-weight: 800; font-size: 12.5px; }
body.single-product .stock.in-stock { color: var(--mm-green) !important; }
body.single-product .stock.out-of-stock { color: #C8452F !important; }

/* ---------- انتخاب گزینه‌ها با دکمه ---------- */
body.single-product form.mm-has-swatches table.variations,
body.single-product form.mm-has-swatches table.variations tbody,
body.single-product form.mm-has-swatches table.variations tr,
body.single-product form.mm-has-swatches table.variations th,
body.single-product form.mm-has-swatches table.variations td { display: block; width: 100%; border: 0 !important; background: none !important; padding: 0 !important; }
body.single-product form.mm-has-swatches table.variations { margin: 0 0 6px !important; }
body.single-product form.mm-has-swatches table.variations tr { margin-bottom: 16px; }
body.single-product form.mm-has-swatches table.variations th,
body.single-product form.mm-has-swatches table.variations .label {
    text-align: right !important; margin-bottom: 8px !important;
}
body.single-product form.mm-has-swatches table.variations th label,
body.single-product form.mm-has-swatches table.variations .label label {
    display: inline-flex; align-items: center; gap: 6px; margin: 0;
    color: var(--mm-navy) !important; font-size: 13px !important; font-weight: 900 !important;
}
body.single-product form.mm-has-swatches table.variations th label::before,
body.single-product form.mm-has-swatches table.variations .label label::before {
    content: ""; width: 6px; height: 16px; border-radius: 4px; background: var(--mm-gold-grad);
}
body.single-product .mm-select-hidden,
body.single-product .mm-theme-hidden { display: none !important; }

body.single-product .mm-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
body.single-product .mm-swatches[data-type="color"] { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
body.single-product .mm-sw {
    position: relative; display: flex !important; align-items: center; gap: 9px; width: 100%;
    min-height: 52px; margin: 0 !important; padding: 8px 10px !important; text-align: right;
    background: #fff !important; color: var(--mm-navy) !important;
    border: 1.5px solid var(--mm-border) !important; border-radius: 14px !important; box-shadow: none !important;
    font-family: inherit; line-height: 1.5 !important; text-transform: none !important; letter-spacing: normal !important;
    cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
body.single-product .mm-sw:hover { border-color: rgba(217,169,62,.7) !important; }
body.single-product .mm-sw:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(217,169,62,.35) !important; }
body.single-product .mm-sw:active { transform: scale(.98); }
body.single-product .mm-sw-ic {
    flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: #F4F5F8; color: var(--mm-muted); transition: background .2s, color .2s;
}
body.single-product .mm-sw-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.single-product .mm-sw-dot { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 2px #fff, 0 0 0 3px var(--mm-border); }
body.single-product .mm-sw-body { display: flex; flex-direction: column; min-width: 0; }
body.single-product .mm-sw-txt { font-size: 12.5px; font-weight: 800; color: var(--mm-navy); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.single-product .mm-sw-sub { font-size: 10.5px; font-weight: 700; color: var(--mm-muted); }
body.single-product .mm-sw-sub:empty { display: none; }

body.single-product .mm-sw.is-active {
    border-color: var(--mm-gold) !important; background: var(--mm-gold-light) !important;
    box-shadow: 0 6px 16px rgba(217,169,62,.18) !important;
}
body.single-product .mm-sw.is-active .mm-sw-ic { background: var(--mm-gold-grad); color: var(--mm-navy); }
body.single-product .mm-sw.is-active .mm-sw-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 2px #fff, 0 0 0 4px var(--mm-gold); }
body.single-product .mm-sw.is-active::after {
    content: ""; position: absolute; top: -7px; left: -7px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--mm-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6DB8C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
    box-shadow: 0 0 0 2px #fff;
}
body.single-product .mm-sw.is-disabled { opacity: .5; cursor: not-allowed; background: #FAFAFB !important; border-style: dashed !important; }
body.single-product .mm-sw.is-disabled .mm-sw-txt { text-decoration: line-through; }
body.single-product .mm-swatches.mm-pulse { animation: mmPulse 1.6s ease; border-radius: 16px; }
@keyframes mmPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,169,62,0); } 25%, 75% { box-shadow: 0 0 0 6px rgba(217,169,62,.35); } }

body.single-product .reset_variations {
    display: inline-flex !important; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px !important; font-weight: 700;
    color: var(--mm-muted) !important; text-decoration: none !important;
}
body.single-product .reset_variations::before { content: "↺"; font-size: 13px; }

/* ---------- تعداد و دکمه خرید ---------- */
body.single-product form.cart .quantity input.qty {
    height: 50px !important; border-radius: 14px !important; border: 1.5px solid var(--mm-border) !important;
    font-weight: 900 !important; color: var(--mm-navy) !important; background: #fff !important;
}
body.single-product .single_add_to_cart_button {
    min-height: 50px !important; padding: 0 24px !important; border: 0 !important; border-radius: 14px !important;
    background: var(--mm-gold-grad) !important; color: var(--mm-navy) !important;
    font-weight: 900 !important; font-size: 14px !important; letter-spacing: normal !important;
    box-shadow: 0 10px 24px rgba(217,169,62,.35) !important; transition: transform .2s, filter .2s, box-shadow .2s !important;
}
body.single-product .single_add_to_cart_button:hover { transform: translateY(-2px); filter: brightness(1.05); }
body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled {
    background: #E9ECF1 !important; color: #8D96A5 !important; box-shadow: none !important; transform: none; opacity: 1 !important;
}

/* ---------- نشان‌های اعتماد ---------- */
body.single-product .mm-trust {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px;
    list-style: none !important; margin: 16px 0 0 !important; padding: 0 !important;
}
body.single-product .mm-trust li {
    display: flex; align-items: center; gap: 9px; margin: 0 !important; padding: 9px 10px !important;
    border-radius: 14px; background: #F8F9FB; border: 1px solid var(--mm-border); list-style: none !important;
}
body.single-product .mm-trust-ic {
    flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--mm-gold-light); color: var(--mm-gold-dark);
}
body.single-product .mm-trust strong { display: block; font-size: 11.5px; font-weight: 900; color: var(--mm-navy); line-height: 1.6; }
body.single-product .mm-trust small { display: block; font-size: 10px; color: var(--mm-muted); line-height: 1.6; }

/* همه آیکن‌های افزونه */
body.single-product .mm-seller svg, body.single-product .mm-trust svg, body.single-product .mm-hl svg,
body.single-product .mm-desc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- فروشنده ---------- */
body.single-product .mm-seller {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 14px; padding: 10px 12px;
    border-radius: 14px; background: linear-gradient(135deg, #1B2232, #2A3550); color: rgba(255,255,255,.85); font-size: 12px; line-height: 1.6;
}
body.single-product .mm-seller strong { color: var(--mm-gold-2); font-weight: 900; }
body.single-product .mm-seller-ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--mm-gold-grad); color: var(--mm-navy); }
body.single-product .mm-seller-g { display: inline-flex; align-items: center; gap: 4px; width: 100%; color: #9EE3BF; font-size: 11px; font-weight: 700; }
body.single-product .mm-seller-g svg { width: 15px; height: 15px; }

/* ---------- ویژگی‌های شاخص ---------- */
body.single-product .mm-hl { margin: 16px 0; padding: 16px; border-radius: 18px; background: #FBFBFD; border: 1px solid var(--mm-border); }
body.single-product .mm-hl-head { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--mm-navy); font-size: 13.5px; font-weight: 900; }
body.single-product .mm-hl-head svg { color: var(--mm-gold); fill: var(--mm-gold-light); }
body.single-product .mm-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
body.single-product .mm-spec { padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--mm-border); min-width: 0; }
body.single-product .mm-spec small { display: block; color: var(--mm-muted); font-size: 10.5px; line-height: 1.6; }
body.single-product .mm-spec strong { display: block; color: var(--mm-navy); font-size: 12px; font-weight: 800; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.single-product .mm-bullets { list-style: none !important; margin: 0 0 10px !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
body.single-product .mm-bullets li { position: relative; margin: 0 !important; padding-right: 22px !important; color: #3F4757; font-size: 12.5px; line-height: 1.8; list-style: none !important; }
body.single-product .mm-bullets li::before { content: ""; position: absolute; right: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--mm-gold-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A6B12' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; }
body.single-product .mm-more-desc { display: inline-flex; align-items: center; gap: 4px; color: var(--mm-gold-dark) !important; font-size: 12px; font-weight: 900; text-decoration: none !important; border-bottom: 1px dashed rgba(154,107,18,.45); }

/* ---------- تب‌ها و توضیحات ---------- */
body.single-product .woocommerce-tabs ul.tabs li { border-radius: 14px 14px 0 0; }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--mm-navy) !important; box-shadow: inset 0 -3px 0 var(--mm-gold); }
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3 { color: var(--mm-navy) !important; font-weight: 900 !important; }
body.single-product .woocommerce-Tabs-panel h2::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 8px; border-radius: 3px; background: var(--mm-gold-grad); }
body.single-product .woocommerce-Tabs-panel { line-height: 2.1; }
body.single-product .woocommerce-product-attributes { border-radius: 16px; overflow: hidden; border: 1px solid var(--mm-border) !important; }
body.single-product .woocommerce-product-attributes th { background: #F8F9FB !important; color: var(--mm-navy) !important; font-weight: 800 !important; width: 32%; }
body.single-product .woocommerce-product-attributes tr:nth-child(even) td { background: #FCFCFD !important; }

/* ---------- محصولات مرتبط ---------- */
body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
    border: 1px solid var(--mm-border) !important; border-radius: 20px !important; background: #fff !important;
    transition: transform .3s, box-shadow .3s, border-color .3s !important; overflow: hidden;
}
body.single-product .related.products ul.products li.product:hover,
body.single-product .upsells.products ul.products li.product:hover {
    transform: translateY(-5px); border-color: var(--mm-gold) !important; box-shadow: 0 18px 38px rgba(27,34,50,.12) !important;
}
body.single-product .related.products .woocommerce-loop-product__title { color: var(--mm-navy) !important; font-weight: 800 !important; }
body.single-product .related.products > h2,
body.single-product .upsells.products > h2 { color: var(--mm-navy) !important; font-weight: 900 !important; }

/* ---------- نوار ثابت خرید ---------- */
.mm-sticky {
    position: fixed; right: 0; left: 0; bottom: 0; z-index: 9990; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(27,34,50,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(217,169,62,.35); box-shadow: 0 -10px 30px rgba(0,0,0,.18);
    transform: translateY(110%); transition: transform .35s ease; direction: rtl;
}
.mm-sticky.show { transform: translateY(0); }
.mm-st-in { display: flex; align-items: center; gap: 12px; max-width: 1200px; margin: 0 auto; }
.mm-st-img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; border-radius: 12px; background: #fff; padding: 3px; }
.mm-st-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mm-st-title { color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-st-price, .mm-st-price .price { color: #F6DB8C !important; font-size: 14px; font-weight: 900; line-height: 1.5; }
.mm-st-price del, .mm-st-price del * { color: rgba(255,255,255,.45) !important; font-size: 11px !important; }
.mm-st-price ins { text-decoration: none; background: none; }
.mm-st-price .woocommerce-Price-amount, .mm-st-price bdi { color: inherit !important; }
.mm-st-btn {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px !important; margin: 0 !important;
    border: 0 !important; border-radius: 14px !important; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 900;
    background: linear-gradient(135deg, #F6DB8C 0%, #D9A93E 55%, #B07D1E 100%) !important; color: #1B2232 !important;
    box-shadow: 0 8px 20px rgba(217,169,62,.35);
}
.mm-st-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1025px) {
    .mm-sticky { right: 50%; left: auto; bottom: 16px; width: min(760px, calc(100% - 32px)); transform: translate(50%, 140%); border: 1px solid rgba(217,169,62,.35); border-radius: 20px; padding: 10px 12px; }
    .mm-sticky.show { transform: translate(50%, 0); }
}
@media (max-width: 1024px) { body.mm-sticky-on { padding-bottom: 76px; } }

/* ---------- موبایل ---------- */
@media (max-width: 768px) {
    body.single-product .mm-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.single-product .mm-swatches[data-type="color"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.single-product .mm-sw { min-height: 48px; padding: 7px 8px !important; gap: 7px; }
    body.single-product .mm-sw-ic { flex-basis: 28px; width: 28px; height: 28px; }
    body.single-product .mm-sw-txt { font-size: 11.5px; }
    body.single-product .summary .price, body.single-product .woocommerce-variation-price .price { font-size: 19px !important; }
    body.single-product .mm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mm-st-title { font-size: 11.5px; }
    .mm-st-btn span { display: none; }
    .mm-st-btn { padding: 0 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.single-product .mm-sw, .mm-sticky, body.single-product .single_add_to_cart_button { transition: none !important; }
}

/* ---------- تب توضیحات: سوالات متداول ---------- */
body.single-product .mm-desc { display: flex; flex-direction: column; gap: 22px; }
body.single-product .mm-faqbox { padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--mm-border); box-shadow: 0 10px 30px rgba(27,34,50,.05); }
body.single-product .mm-faq-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
body.single-product .mm-faq-ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--mm-navy); color: var(--mm-gold-2); }
body.single-product .mm-faq-ic svg { width: 22px; height: 22px; }
body.single-product .mm-faq-head h2 { margin: 0 !important; color: var(--mm-navy) !important; font-size: 16px !important; font-weight: 900 !important; line-height: 1.7 !important; }
body.single-product .mm-faq-head h2::after { display: none !important; }
body.single-product .mm-faq-head p { margin: 0 !important; color: var(--mm-muted); font-size: 12px; line-height: 1.8; }
body.single-product .mm-faq-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
body.single-product .mm-faq-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 30px; background: #F0FAF4; color: var(--mm-green); font-size: 11px; font-weight: 800; border: 1px solid #CDEFD9; }
body.single-product .mm-faq-chips svg { width: 14px; height: 14px; }
body.single-product details.mm-faq { margin: 0 0 8px; border: 1px solid var(--mm-border); border-radius: 16px; background: #FAFBFC; transition: border-color .2s, background .2s, box-shadow .2s; }
body.single-product details.mm-faq[open] { background: #fff; border-color: var(--mm-gold); box-shadow: 0 8px 20px rgba(217,169,62,.12); }
body.single-product details.mm-faq summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; }
body.single-product details.mm-faq summary::-webkit-details-marker { display: none; }
body.single-product .mm-faq-n { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--mm-gold-light); color: var(--mm-gold-dark); font-size: 12px; font-weight: 900; }
body.single-product details.mm-faq[open] .mm-faq-n { background: var(--mm-gold-grad); color: var(--mm-navy); }
body.single-product .mm-faq-q { flex: 1; color: var(--mm-navy); font-size: 13px; font-weight: 800; line-height: 1.8; }
body.single-product .mm-faq-tag { flex: 0 0 auto; padding: 2px 10px; border-radius: 20px; background: #EEF1F6; color: var(--mm-muted); font-size: 10.5px; font-weight: 800; }
body.single-product details.mm-faq summary::after { content: "+"; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #EEF1F6; color: var(--mm-navy); font-weight: 900; transition: transform .25s; }
body.single-product details.mm-faq[open] summary::after { transform: rotate(45deg); background: var(--mm-navy); color: var(--mm-gold-2); }
body.single-product details.mm-faq > div { padding: 0 52px 14px 16px; color: #4A5263; font-size: 12.5px; line-height: 2.1; }
body.single-product .mm-cta {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding: 14px 16px;
    border-radius: 16px; background: linear-gradient(135deg, #1B2232, #2A3550); color: #fff;
}
body.single-product .mm-cta strong { font-size: 13px; font-weight: 900; color: #fff; }
body.single-product .mm-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
body.single-product .mm-cta a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 12px; font-size: 12px; font-weight: 900; text-decoration: none !important; }
body.single-product .mm-cta-buy { background: var(--mm-gold-grad); color: var(--mm-navy) !important; }
body.single-product .mm-cta-wa { background: #1FAF5B; color: #fff !important; }

/* ---------- توضیحات کارتی ---------- */
body.single-product .mm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.single-product .mm-card { position: relative; min-width: 0; padding: 20px 20px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--mm-border); box-shadow: 0 8px 24px rgba(27,34,50,.04); line-height: 2.1; }
body.single-product .mm-card.wide { grid-column: 1 / -1; }
body.single-product .mm-card-n { position: absolute; top: -10px; right: 18px; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--mm-navy); color: var(--mm-gold-2); font-size: 12px; font-weight: 900; box-shadow: 0 6px 14px rgba(27,34,50,.2); }
body.single-product .mm-card h2, body.single-product .mm-card h3 { margin-top: 4px !important; font-size: 15px !important; line-height: 1.8 !important; }
body.single-product .mm-card h2 span, body.single-product .mm-card h3 span { color: inherit !important; }
body.single-product .mm-card p:last-child { margin-bottom: 0; }
body.single-product .mm-card img { border-radius: 14px; max-width: 100%; height: auto; }

@media (max-width: 768px) {
    body.single-product .mm-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.single-product .mm-cards { grid-template-columns: minmax(0, 1fr); }
    body.single-product .mm-faqbox { padding: 14px; }
    body.single-product .mm-faq-tag { display: none; }
    body.single-product details.mm-faq > div { padding: 0 14px 14px; }
    body.single-product .mm-cta { flex-direction: column; align-items: stretch; text-align: center; }
    body.single-product .mm-cta-btns { justify-content: center; }
}

/* ---------- بلوک ستون وسط ---------- */
body.single-product .mm-extra.mm-move { display: none; }
body.single-product .mm-extra { margin-top: 14px; }
body.single-product .mm-extra .mm-hl { margin-top: 0; }
body.single-product .mm-extra .mm-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.single-product .mm-extra .mm-trust li { flex-direction: column; text-align: center; gap: 6px; padding: 12px 6px !important; }
@media (max-width: 768px) {
    body.single-product .mm-extra .mm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- پوسته دیجی لند ---------- */
body.single-product .mm-dup-hidden { display: none !important; }
body.mm-sticky-ready .add_to_cart_sticky { display: none !important; }
body.single-product .images.gallery-with-images .product-images-static,
body.single-product .images.gallery-with-images .woocommerce-product-gallery__image img { border-radius: 20px; }
body.single-product .images.gallery-with-images { background: radial-gradient(circle at 50% 55%, #fff 0%, #F7F8FA 85%); border-radius: 22px; }
body.single-product .thumbnails .wc_gallery_image img { border-radius: 12px; border: 2px solid var(--mm-border); }
body.single-product .single_price, body.single-product .mweb-price-wrapper .price { color: var(--mm-navy) !important; font-weight: 900 !important; }
body.single-product .product_stock { color: var(--mm-green) !important; font-weight: 800; }
body.single-product .woocommerce-tabs.style_tabs_one ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li.active a { background: var(--mm-navy) !important; color: var(--mm-gold-2) !important; box-shadow: 0 8px 18px rgba(27,34,50,.18) !important; }
body.single-product .woocommerce-tabs ul.tabs li.active a svg { color: var(--mm-gold-2) !important; fill: none; }
body.single-product .entry_content_more span { background: var(--mm-navy) !important; color: var(--mm-gold-2) !important; }
body.single-product .product_meta .detail-content a { color: var(--mm-gold-dark) !important; }
body.single-product .mm-extra { width: 100%; }

/* ---------- دکمه خرید بزرگ‌تر ---------- */
body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
    display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 10px !important; width: 100%;
}
body.single-product form.cart .quantity { flex: 0 0 auto !important; margin: 0 !important; }
body.single-product .single_add_to_cart_button {
    flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; min-height: 56px !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
    white-space: nowrap !important; font-size: 15px !important; line-height: 1 !important; padding: 0 18px !important; margin: 0 !important;
}
body.single-product .single_add_to_cart_button .elm_a2c_i { display: inline-flex; margin: 0 !important; }
body.single-product .single_add_to_cart_button .elm_a2c_i svg { width: 22px; height: 22px; }
body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button.wc-variation-selection-needed {
    background: #E9ECF1 !important; color: #7D8696 !important; cursor: pointer !important; opacity: 1 !important;
}

/* ---------- راهنمای انتخاب ---------- */
body.single-product .mm-guide {
    position: relative; display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 12px 12px 16px;
    border-radius: 14px; background: #F3F6FF; border: 1px solid #D9E2FA; overflow: hidden; transition: background .25s, border-color .25s;
}
body.single-product .mm-guide-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--mm-navy); color: var(--mm-gold-2); }
body.single-product .mm-guide-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
body.single-product .mm-guide-tx { min-width: 0; }
body.single-product .mm-guide strong { display: block; color: var(--mm-navy); font-size: 12.5px; font-weight: 900; line-height: 1.7; }
body.single-product .mm-guide small { display: block; color: var(--mm-muted); font-size: 11px; line-height: 1.7; }
body.single-product .mm-guide-bar { position: absolute; right: 12px; left: 12px; bottom: 7px; height: 4px; border-radius: 4px; background: rgba(27,34,50,.08); }
body.single-product .mm-guide-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--mm-gold-grad); transition: width .35s ease; }
body.single-product .mm-guide.is-ok { background: #EFFAF4; border-color: #C6EBD5; }
body.single-product .mm-guide.is-ok .mm-guide-ic { background: var(--mm-green); color: #fff; }
body.single-product .mm-guide.is-ok .mm-guide-bar i { background: var(--mm-green); }
body.single-product .mm-guide.is-bad { background: #FFF2EF; border-color: #F6CFC7; }
body.single-product .mm-guide.is-bad .mm-guide-ic { background: #C8452F; color: #fff; }
body.single-product .mm-guide.mm-shake { animation: mmShake .5s ease; }
@keyframes mmShake { 0%,100% { transform: none; } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

body.single-product .mm-step {
    display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 2px; border-radius: 50%;
    background: var(--mm-navy); color: var(--mm-gold-2); font-size: 11px; font-weight: 900; line-height: 1;
}
body.single-product form.mm-has-swatches table.variations tr.mm-done th label::before,
body.single-product form.mm-has-swatches table.variations tr th label:has(.mm-step)::before { display: none; }
body.single-product tr.mm-done .mm-step { background: var(--mm-green); color: #fff; }
body.single-product .mm-pick { display: inline-block; margin-right: 8px; font-size: 10.5px; font-weight: 700; color: var(--mm-muted); }
body.single-product tr.mm-done .mm-pick { color: var(--mm-green); }
body.single-product tr.mm-need .mm-pick { color: #C8452F; font-weight: 900; }
body.single-product tr.mm-need .mm-swatches { border-radius: 16px; box-shadow: 0 0 0 2px rgba(200,69,47,.55); animation: mmShake .5s ease; }
body.single-product tr.mm-need .mm-step { background: #C8452F; color: #fff; }
body.single-product .mm-cart-hint {
    display: none; margin: 8px 0 0 !important; padding: 8px 10px; border-radius: 10px; background: #FFF8E8; color: var(--mm-gold-dark);
    font-size: 11.5px; font-weight: 800; line-height: 1.7; text-align: center;
}
body.single-product .mm-cart-hint.show { display: block; }

body.single-product .mm-cta-call { background: #fff; color: var(--mm-navy) !important; }
body.single-product .mm-cta-msg { background: #2E7DFF; color: #fff !important; }
