/* =========================================================
   Etminan Tel — single product (approved product.html design)
   ========================================================= */
.et-sp { --c: #EFEFF4; display: flex; flex-direction: column; gap: 22px; padding-top: 18px; }
.et-sp b { font-weight: 800; }

/* head row */
.et-sp__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.et-sp__crumbs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.et-sp__crumbs::-webkit-scrollbar { display: none; }
.et-sp__crumbs .et-crumbs { margin: 0; flex-wrap: nowrap; }
.et-sp__headl { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.et-sp__hl { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c); font-size: 12.5px; color: var(--et-ink-2); }
.et-sp__hl b { font-weight: 800; }
.product-head-link_ai { height: 36px; padding: 0 12px !important; border-radius: 999px; background: rgba(123, 92, 240, .1); font-size: 12px; color: var(--et-violet-d); margin: 0 !important; }

/* top grid: 4 / 5 / 3 */
.et-sp__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; align-items: start; }
.et-sp__gal { grid-column: span 4; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.et-sp__info { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; padding-top: 4px; min-width: 0; }
.et-sp__buy { grid-column: span 3; position: sticky; top: 178px; display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.admin-bar .et-sp__buy { top: 210px; }

/* gallery */
.et-sp__galrow { display: flex; gap: 10px; }
.et-sp__stagewrap { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--c); border-radius: 32px; padding: 10px; }
.et-sp__stage { position: relative; height: 380px; border-radius: 24px; background: #F4F4F7; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.et-sp__main-img { max-height: 320px; max-width: 86%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; transition: opacity .25s, transform .45s var(--et-ease); }
.et-sp__main-img.is-swap { opacity: .2; transform: scale(.97); }
.et-sp__stage:hover .et-sp__main-img { transform: scale(1.04); }
.et-sp__orig { position: absolute; bottom: 14px; right: 14px; padding: 5px 12px; border-radius: 999px; background: #fff; color: #1E8A3A; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(30, 28, 42, .06); }
.et-sp__orig:empty { display: none; }
.et-sp__count { position: absolute; bottom: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(30, 28, 42, .75); color: #fff; font-size: 12px; font-weight: 700; }
.et-sp__off, .et-sp__oos { position: absolute; top: 14px; right: 14px; padding: 5px 12px; border-radius: 999px; background: var(--et-red); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 6px 14px rgba(229, 50, 80, .3); }
.et-sp__oos { background: var(--et-ink); box-shadow: none; }
.et-sp__zoom { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 13px; border: 0; background: rgba(255, 255, 255, .9); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s, color .2s; }
.et-sp__stage:hover .et-sp__zoom, .et-sp__zoom:focus-visible { opacity: 1; }
.et-sp__zoom:hover { background: var(--et-ink); color: #fff; }
.et-sp__side { display: flex; flex-direction: column; gap: 8px; }
.et-sp__rate-badge { width: 46px; padding: 10px 0; border-radius: 16px; background: #fff; border: 1px solid var(--c); display: flex; flex-direction: column; align-items: center; gap: 2px; color: #FFB020; }
.et-sp__rate-badge .et-ico { fill: #FFB020; }
.et-sp__rate-badge b { font-size: 12px; color: var(--et-ink); }
.et-sp__sbtn, .et-sp__side > a:not(.et-sp__rate-badge), .et-sp__side > button:not(.et-sp__sbtn) { width: 46px; height: 46px; border-radius: 16px; border: 1px solid var(--c); background: #fff; cursor: pointer; display: grid; place-items: center; color: #3E3B4F; transition: background .2s, color .2s, transform .25s var(--et-ease); }
.et-sp__sbtn:hover { background: var(--et-ink); color: #fff; transform: translateY(-2px); }
.et-sp__thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.et-sp__play { position: absolute; bottom: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .94); color: var(--et-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(20, 16, 50, .1); transition: background .2s, color .2s; }
.et-sp__play span, .et-sp__vthumb span { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: var(--et-red); color: #fff; }
.et-sp__play .et-ico, .et-sp__vthumb .et-ico { fill: currentColor; }
.et-sp__play:hover { background: var(--et-ink); color: #fff; }
.et-sp__vthumb { height: 64px; border-radius: 16px; border: 2px solid transparent; padding: 0; cursor: pointer; display: grid; place-items: center; background: #2A2640 var(--poster, none) center / cover no-repeat; position: relative; overflow: hidden; }
.et-sp__vthumb::before { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 50, .35); }
.et-sp__vthumb span { position: relative; }
.et-sp__vthumb:hover { border-color: var(--et-red); }
.et-vid { position: fixed; inset: 0; z-index: 9996; display: grid; place-items: center; padding: 84px 16px 24px; background: rgba(14, 12, 28, .92); }
.et-vid[hidden] { display: none; }
.et-vid__box { width: min(100%, 1000px, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.et-vid__box video, .et-vid__box iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.et-vid__box[data-type="file"] { width: auto; aspect-ratio: auto; background: transparent; border-radius: 0; }
.et-vid__box[data-type="file"] video { width: auto; height: auto; max-width: min(92vw, 1100px); max-height: calc(100vh - 120px); border-radius: 20px; }
.et-vid .et-lb__x { top: 20px; left: 20px; }
.et-sp__thumb { height: 64px; border-radius: 16px; border: 2px solid transparent; background: #F4F4F7; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: border-color .2s; }
.et-sp__thumb img { max-width: 82%; max-height: 82%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.et-sp__thumb.is-on { border-color: var(--et-red); }
.et-sp__thumb:hover { border-color: rgba(229, 50, 80, .4); }
.et-sp__gallinks { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; padding: 0 4px; }
.et-sp__gallinks a { display: flex; align-items: center; gap: 6px; color: #55526A; }
.et-sp__gallinks a:hover { color: var(--et-red); }

/* info */
.et-sp__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.et-sp__badges span { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.et-sp__badges .is-green { background: #E7F7EE; color: #1E7A43; }
.et-sp__badges .is-violet { background: rgba(123, 92, 240, .12); color: #5A3DD0; }
.et-sp__badges .is-red { background: #FDE8EC; color: #B81D3A; }
.et-sp__badges .is-dark { background: var(--et-ink); color: #fff; }
.et-sp__titles { display: flex; flex-direction: column; gap: 6px; }
.et-sp__title { margin: 0; font-size: 23px; font-weight: 900; line-height: 1.75; color: var(--et-ink); }
.et-sp__en { font-size: 13px; color: var(--et-muted); text-align: right; }
.et-sp__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.et-sp__ratepill { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #FFF6E0; font-size: 13px; color: #6B4A00; }
.et-sp__ratepill .et-ico { fill: #FFB020; color: #FFB020; }
.et-sp__metal { font-size: 13px; color: #55526A; }
.et-sp__dot { width: 4px; height: 4px; border-radius: 50%; background: #C9C7D6; }
.et-sp__chipsgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.et-sp__chipsgrid > span { border-radius: 18px; background: #fff; border: 1px solid var(--c); padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.et-sp__chipsgrid small { font-size: 11px; color: var(--et-muted); }
.et-sp__chipsgrid b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et-sp__teaser { margin: 0; font-size: 13px; line-height: 2.1; color: #55526A; }
.et-sp__teaser a { color: var(--et-violet-d); font-weight: 700; }
.et-sp__dmg { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 24px; background: linear-gradient(120deg, #FFF4D6, #FFE8B8); border: 1px solid #F8D98C; transition: transform .35s var(--et-ease), box-shadow .35s; }
.et-sp__dmg:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(30, 28, 42, .09); }
.et-sp__dmg img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.et-sp__dmgt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.et-sp__dmgt b { font-size: 14px; color: #3D2A00; }
.et-sp__dmgt small { font-size: 12px; color: #6B4A00; line-height: 1.8; }
.et-sp__dmgp { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.et-sp__dmgp > span { display: flex; align-items: center; gap: 6px; }
.et-sp__dmgp i { font-style: normal; padding: 1px 8px; border-radius: 999px; background: #D6361B; color: #fff; font-size: 11px; font-weight: 800; }
.et-sp__dmgp s { font-size: 11px; color: #8A6A20; }
.et-sp__dmgp b { font-size: 15px; color: #3D2A00; }
.et-sp__dmgp small { font-size: 11px; font-weight: 600; }
/* things other plugins print into the summary (compare button etc.) */
.et-sp__info > a.button, .et-sp__info > button, .et-sp__info .etc-compare-btn, .et-sp__info [class*="compare"] > button { border-radius: 18px !important; }

/* buy box */
.et-sp__buycard { background: #fff; border: 1px solid var(--c); border-radius: 32px; padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(30, 28, 42, .06); }
.et-sp__perks { list-style: none; margin: 0; padding: 0 0 12px; border-bottom: 1px dashed #E6E5EE; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #3E3B4F; }
.et-sp__perks li { display: flex; align-items: center; gap: 8px; }
.et-sp__perks li .et-ico { color: var(--tone, #1E8A3A); flex-shrink: 0; }
.et-sp__perks li.is-ok .et-ico { color: #1E8A3A; }
.et-sp__perks li.is-out { color: var(--et-muted); }
.et-sp__perks b { font-weight: 800; }

/* WooCommerce form inside the buy box */
.et-sp__cart form.cart { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.et-sp__cart form.cart:not(.variations_form) { flex-direction: row; flex-wrap: wrap; align-items: center; }
.et-sp__cart table.variations { width: 100%; border: 0; margin: 0; border-collapse: collapse; }
.et-sp__cart table.variations tbody { display: flex; flex-direction: column; gap: 12px; }
.et-sp__cart table.variations tr { display: flex; flex-direction: column; gap: 8px; }
.et-sp__cart table.variations th, .et-sp__cart table.variations td { display: block; padding: 0; border: 0; text-align: right; background: none; line-height: 1.6; }
.et-sp__cart table.variations th label, .et-sp__cart table.variations td.label label { font-size: 14px; font-weight: 800; color: var(--et-ink); }
.et-sw__cur { margin-right: 6px; font-size: 12.5px; font-weight: 600; color: var(--et-muted); }
.et-sw__cur:not(:empty)::before { content: ": "; }
.et-sw__sel { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.et-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.et-sw__o { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--c); background: #fff; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--et-ink-2); transition: border-color .2s, box-shadow .2s; }
.et-sw.is-color .et-sw__o { padding: 0 12px 0 14px; }
.et-sw__o:hover { border-color: rgba(229, 50, 80, .45); }
.et-sw__o.is-on { border-color: var(--et-red); box-shadow: 0 0 0 3px rgba(229, 50, 80, .12); color: var(--et-ink); }
.et-sw__o.is-na { opacity: .4; text-decoration: line-through; }
.et-sw__o i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex-shrink: 0; }
.et-sp__cart .reset_variations { font-size: 12px; color: var(--et-red); margin-right: 6px; }
.et-sp__cart .reset_variations[style*="hidden"] { display: none !important; }
.et-sp__cart .single_variation_wrap { display: flex; flex-direction: column; gap: 10px; }
.et-sp__cart .woocommerce-variation.single_variation:empty { display: none; }
.et-sp__cart .woocommerce-variation-price, .et-sp__cart .woocommerce-variation-availability { display: none; }
.et-sp__cart .woocommerce-variation-description { font-size: 12.5px; color: var(--et-muted); }
.et-sp__cart p.stock { display: none; }
.et-sp__cart .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 10px; }
/* WooCommerce's own button stays in the form (plugins depend on it) but our big button below triggers it */
.et-sp__cart .single_add_to_cart_button { 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; border: 0 !important; }
.et-sp__cart .quantity { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 4px; border-radius: 16px; background: #F4F4F7; }
.et-sp__cart .quantity:has(input[type=hidden]) { display: none; }
.et-sp__cart .quantity input.qty { width: 48px; height: 40px; border: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 900; font-family: inherit; -moz-appearance: textfield; }
.et-sp__cart .quantity input.qty::-webkit-inner-spin-button, .et-sp__cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.et-sp__cart .et-qty2 button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--et-ink); }
.et-sp__cart .et-qty2 button:hover { background: var(--et-ink); color: #fff; }
.et-sp__cart form.cart:not(.variations_form) .quantity { flex: 1; }
/* plugin blocks inside the form: warranty / accessories */
.et-sp__cart #etminan-warranty-master-container { margin: 0 !important; }
.et-sp__cart [class*="apwf"] button, .et-sp__cart [id*="apwf"] button { border-radius: 16px !important; }

.et-sp__pricebox { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 20px; background: #F4F4F7; }
.et-sp__plabel { font-size: 12px; color: #55526A; }
.et-sp__pvals { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.et-sp__was { display: flex; align-items: center; gap: 6px; }
.et-sp__was s { font-size: 12px; color: var(--et-muted-2); }
.et-sp__pct { padding: 1px 8px; border-radius: 999px; background: var(--et-red); color: #fff; font-size: 11px; font-weight: 800; }
.et-sp__now { display: flex; align-items: baseline; gap: 5px; }
.et-sp__now b { font-size: 24px; font-weight: 900; color: var(--et-ink); }
.et-sp__now small { font-size: 12px; color: #55526A; }
.et-sp__pricebox.is-sm .et-sp__now b { font-size: 17px; }
.et-sp__pricebox.is-sm { padding: 10px 12px; border-radius: 16px; }

.et-sp__addbtn { height: 54px; border-radius: 18px; border: 0; background: linear-gradient(135deg, #F0435E, #C81E3E); color: #fff !important; font-family: inherit; font-size: 15px; font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 14px 28px rgba(229, 50, 80, .3); transition: transform .25s var(--et-ease), box-shadow .25s, opacity .2s; position: relative; }
.et-sp__addbtn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(229, 50, 80, .36); }
.et-sp__addbtn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.et-sp__addbtn.is-sm { height: 48px; border-radius: 16px; font-size: 14px; }
.et-sp__addbtn.is-loading > * { visibility: hidden; }
.et-sp__addbtn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-width: 3px; border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.et-sp__addbtn.is-added { background: linear-gradient(135deg, #22C07E, #0F8A57); box-shadow: 0 14px 28px rgba(15, 138, 87, .3); }
.et-sp__instbtn { position: relative; overflow: hidden; isolation: isolate; min-height: 58px; padding: 9px 12px; border-radius: 18px; background: linear-gradient(120deg, #7B5CF0 0%, #9B6BFF 55%, #C46BFF 100%); color: #fff !important; display: flex; align-items: center; gap: 11px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(123, 92, 240, .75), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .2s, box-shadow .2s; }
.et-sp__instbtn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px 60px at 12% 0%, rgba(255, 255, 255, .28), transparent 70%), radial-gradient(90px 60px at 95% 110%, rgba(255, 214, 102, .35), transparent 70%); }
.et-sp__instbtn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translate3d(-150%, 0, 0) skewX(-20deg); will-change: transform; backface-visibility: hidden; animation: et-inst-shine 3.6s ease-in-out infinite; }
.et-sp__instic, .et-sp__instx, .et-sp__instgo { transform: translateZ(0); backface-visibility: hidden; }
.et-sp__instbtn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(123, 92, 240, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.et-sp__instic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.et-sp__instx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.5; text-align: start; }
.et-sp__instx b { font-size: 14px; font-weight: 900; }
.et-sp__instx small { font-size: 11.5px; font-weight: 600; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et-sp__instgo { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #7B5CF0; transition: transform .2s; }
.et-sp__instbtn:hover .et-sp__instgo { transform: translate3d(-3px, 0, 0); }
@media (hover: none) { .et-sp__instbtn:hover { transform: none; } .et-sp__instbtn:hover .et-sp__instgo { transform: translateZ(0); } }
@keyframes et-inst-shine { 0%, 55% { transform: translate3d(-150%, 0, 0) skewX(-20deg); } 100% { transform: translate3d(320%, 0, 0) skewX(-20deg); } }
@media (prefers-reduced-motion: reduce) { .et-sp__instbtn::after { animation: none; display: none; } .et-sp__instbtn, .et-sp__instgo { transition: none; } }

/* trust row */
.et-sp__trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.et-sp__trust > span { background: #fff; border: 1px solid var(--c); border-radius: 24px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.et-sp__trust i { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; }
.et-sp__trust .is-red i { background: #FDE8EC; color: #D42A47; }
.et-sp__trust .is-violet i { background: rgba(123, 92, 240, .12); color: #6A4BE0; }
.et-sp__trust .is-green i { background: #E7F7EE; color: #1E8A3A; }
.et-sp__trust .is-dark i { background: #F1F1F5; color: #3E3B4F; }
.et-sp__trust b { display: block; font-size: 14px; }
.et-sp__trust small { display: block; font-size: 11px; color: var(--et-muted); }
.et-sp__aislot:empty { display: none; }

/* AI summary from telegram_online_chat, restyled to match */
#ai_review, .product-reviews__content-comments-ai { position: relative; border-radius: 32px !important; padding: 24px !important; margin: 0 !important; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #FF8FA3, #7B5CF0) border-box !important; border: 1.5px solid transparent !important; overflow: hidden; }

/* anchors */
.et-sp__anchors { position: sticky; top: 104px; z-index: 20; align-self: flex-start; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 30px rgba(30, 28, 42, .07); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.admin-bar .et-sp__anchors { top: 136px; }
.et-sp__anchors a { height: 42px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; font-size: 13px; font-weight: 700; color: #3E3B4F; white-space: nowrap; transition: background .2s, color .2s; }
.et-sp__anchors a:hover { background: rgba(255, 255, 255, .9); }
.et-sp__anchors a.is-on { background: var(--et-ink); color: #fff; font-weight: 800; }

/* tabs grid: 8 / 4 */
.et-sp__tabs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; align-items: start; }
.et-sp__tmain { grid-column: span 8; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.et-sp__card { background: #fff; border: 1px solid var(--c); border-radius: 32px; padding: 26px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 170px; }
.et-sp__ch { display: flex; align-items: center; gap: 12px; }
.et-sp__ch > i { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.et-sp__ch .is-red { background: var(--et-red); box-shadow: 0 8px 18px rgba(229, 50, 80, .35); }
.et-sp__ch .is-violet { background: var(--et-violet); box-shadow: 0 8px 18px rgba(123, 92, 240, .35); }
.et-sp__ch .is-amber { background: #FFB020; box-shadow: 0 8px 18px rgba(255, 176, 32, .35); }
.et-sp__ch > span { display: flex; flex-direction: column; }
.et-sp__ch h2 { margin: 0; font-size: 20px; font-weight: 900; }
.et-sp__ch small { font-size: 11px; color: var(--et-muted); }

.et-sp__desc { font-size: 14px; line-height: 2.25; color: #3E3B4F; position: relative; }
.et-sp__desc > :first-child { margin-top: 0; }
.et-sp__desc.is-clamped { max-height: 520px; overflow: hidden; }
.et-sp__desc.is-clamped::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, #fff); }
.et-sp__desc img { max-width: 100%; height: auto; border-radius: 22px; }
.et-sp__desc h2, .et-sp__desc h3, .et-sp__desc h4 { color: var(--et-ink); line-height: 1.7; font-weight: 900; }
.et-sp__desc h2 { font-size: 18px; } .et-sp__desc h3 { font-size: 16px; }
.et-sp__desc a { color: var(--et-violet-d); text-decoration: underline; text-underline-offset: 4px; }
.et-sp__desc table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.et-sp__desc td, .et-sp__desc th { padding: 10px 14px; background: #F7F7FA; }
.et-sp__moretoggle { align-self: center; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: #F4F4F7; font-family: inherit; font-weight: 800; font-size: 13px; color: var(--et-ink); cursor: pointer; }
.et-sp__moretoggle.is-open .et-ico { transform: rotate(180deg); }
.et-sp__tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.et-sp__tags b { font-size: 12px; color: var(--et-muted); }
.et-sp__tags a { height: 32px; padding: 0 12px; border-radius: 999px; background: #F4F4F7; display: flex; align-items: center; font-size: 12px; color: #3E3B4F; }

/* specs */
.et-sp__sg { display: grid; grid-template-columns: 170px 1fr; gap: 14px; }
.et-sp__sgt { font-size: 14px; padding-top: 12px; display: flex; gap: 8px; align-items: flex-start; }
.et-sp__sgt i { width: 7px; height: 7px; border-radius: 50%; background: var(--et-violet); margin-top: 8px; box-shadow: 0 0 0 4px rgba(123, 92, 240, .15); flex-shrink: 0; }
.et-sp__sg dl { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.et-sp__sg dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #F7F7FA; font-size: 13px; }
.et-sp__sg dt { color: #55526A; }
.et-sp__sg dd { margin: 0; font-weight: 800; line-height: 1.8; }

/* reviews */
.et-sp__rvsum { display: grid; grid-template-columns: 220px 1fr 220px; gap: 18px; align-items: stretch; }
.et-sp__score { border-radius: 24px; background: #FFF6E0; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.et-sp__score > b { font-size: 44px; line-height: 1; color: #3D2A00; font-weight: 900; }
.et-sp__score small { font-size: 12px; color: #6B4A00; }
.et-sp__bars { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.et-sp__bars > span { display: grid; grid-template-columns: 60px 1fr 50px; align-items: center; gap: 10px; font-size: 12px; }
.et-sp__bars i { height: 10px; border-radius: 5px; background: #F1F1F5; position: relative; overflow: hidden; }
.et-sp__bars i::after { content: ""; position: absolute; inset: 0 0 0 auto; width: var(--p); border-radius: inherit; }
.et-sp__bars .is-green i::after { background: #22B573; }
.et-sp__bars .is-amber i::after { background: #FFB020; }
.et-sp__bars .is-red i::after { background: var(--et-red); }
.et-sp__rvstats { border-radius: 24px; background: #F7F7FA; padding: 16px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.et-sp__rvstats > span { display: flex; justify-content: space-between; font-size: 12px; }
.et-sp__rvstats > span > span { color: #55526A; }
.et-sp__rvstats .et-btn { height: 40px; margin-top: 4px; border-radius: 999px; font-size: 13px; }
.et-stars { position: relative; display: inline-flex; color: #FFB020; }
.et-stars__bg { display: inline-flex; color: #E8E3D3; }
.et-stars__fg { position: absolute; inset: 0 0 0 auto; width: var(--w); overflow: hidden; display: inline-flex; white-space: nowrap; }
.et-stars .et-ico { fill: currentColor; flex-shrink: 0; }
.et-sp__comments #reviews #comments > h2 { display: none; }
.et-sp__comments .commentlist { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.et-sp__comments .commentlist li .comment_container { display: flex; gap: 12px; padding: 16px; border-radius: 24px; border: 1px solid var(--c); background: #fff; }
.et-sp__comments .commentlist img.avatar { width: 40px; height: 40px; border-radius: 14px; flex-shrink: 0; }
.et-sp__comments .comment-text { flex: 1; min-width: 0; }
.et-sp__comments .comment-text .star-rating { float: left; }
.et-sp__comments .comment-text .meta { margin: 0 0 6px; font-size: 11px; color: var(--et-muted); }
.et-sp__comments .comment-text .meta strong { display: block; font-size: 14px; color: var(--et-ink); font-weight: 800; }
.et-sp__comments .comment-text .meta .woocommerce-review__verified { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #E7F7EE; color: #1E7A43; font-size: 11px; font-weight: 800; font-style: normal; }
.et-sp__comments .comment-text .description p { margin: 0; font-size: 13px; line-height: 2.1; color: #3E3B4F; }
.et-sp__comments .woocommerce-noreviews { padding: 16px; border-radius: 18px; background: #F7F7FA; color: var(--et-muted); font-size: 13px; }
.et-sp__comments #review_form_wrapper { padding: 20px; border-radius: 24px; background: #F7F7FA; scroll-margin-top: 170px; }
.et-sp__comments .comment-reply-title { display: block; font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.et-sp__comments .comment-form p { margin: 0 0 12px; }
.et-sp__comments .comment-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.et-sp__comments .comment-form input[type=text], .et-sp__comments .comment-form input[type=email], .et-sp__comments .comment-form textarea, .et-sp__comments .comment-form select { width: 100%; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--c); background: #fff; font-family: inherit; font-size: 14px; }
.et-sp__comments .comment-form textarea:focus, .et-sp__comments .comment-form input:focus { outline: 0; border-color: var(--et-violet); box-shadow: 0 0 0 3px rgba(123, 92, 240, .14); }
.et-sp__comments p.stars a { color: #FFB020; }
.et-sp__comments .form-submit input[type=submit] { height: 50px; padding: 0 26px; border-radius: 16px; border: 0; background: #C21C3B linear-gradient(135deg, #D92848, #B5173A); color: #fff; font-family: inherit; font-weight: 800; cursor: pointer; }
.star-rating { overflow: hidden; position: relative; height: 1em; line-height: 1; font-size: 13px; width: 5.4em; font-family: star, sans-serif; color: #FFB020; }

/* mini aside */
.et-sp__mini { grid-column: span 4; position: sticky; top: 170px; display: flex; flex-direction: column; gap: 12px; }
.admin-bar .et-sp__mini { top: 202px; }
.et-sp__minicard { background: #fff; border: 1px solid var(--c); border-radius: 28px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.et-sp__minitop { display: flex; gap: 12px; align-items: center; }
.et-sp__miniimg { width: 80px; height: 80px; border-radius: 18px; background: #F4F4F7; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.et-sp__miniimg img { max-width: 66px; max-height: 66px; width: auto; height: auto; mix-blend-mode: multiply; }
.et-sp__minit { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.et-sp__minit b { font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-sp__minit small { font-size: 12px; color: var(--et-muted); }
.et-sp__consult { background: #F1F1F5; border-radius: 28px; padding: 18px; display: flex; align-items: center; gap: 12px; color: var(--et-ink); transition: background .2s; }
.et-sp__consult:hover { background: #E9E7F2; }
.et-sp__consult i { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex-shrink: 0; color: var(--et-violet-d); }
.et-sp__consult span { display: flex; flex-direction: column; gap: 2px; }
.et-sp__consult small { font-size: 14px; font-weight: 800; }
.et-sp__consult b { font-size: 16px; text-align: right; }

.et-sp__related { margin-top: 18px; }
.et-sh__ico.is-green { background: #22B573; box-shadow: 0 10px 24px rgba(34, 181, 115, .35); color: #fff; }

/* sticky bar (mobile) */
.et-sp__bar { display: none; }

/* lightbox */
.et-lb { position: fixed; inset: 0; z-index: 9995; display: grid; place-items: center; background: rgba(250, 250, 252, .97); }
.et-lb[hidden] { display: none; }
.et-lb img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; }
.et-lb__x, .et-lb__nav { position: absolute; width: 52px; height: 52px; border-radius: 18px; border: 0; background: #fff; box-shadow: var(--et-shadow); cursor: pointer; display: grid; place-items: center; }
.et-lb__x { top: 20px; left: 20px; }
.et-lb__nav { top: 50%; transform: translateY(-50%); }
.et-lb__nav.is-prev { right: 20px; }
.et-lb__nav.is-next { left: 20px; }
.et-lb__x:hover, .et-lb__nav:hover { background: var(--et-ink); color: #fff; }

/* hide the bottom navigation on product pages in favour of the buy bar */
@media (max-width: 760px) { .single-product .et-mnav { display: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .et-sp__gal, .et-sp__info { grid-column: span 6; }
  .et-sp__buy { grid-column: span 12; position: static; }
  .et-sp__tmain, .et-sp__mini { grid-column: span 12; }
  .et-sp__mini { display: none; }
  .et-sp__anchors { position: static; }
  .et-sp__rvsum { grid-template-columns: 1fr 1fr; }
  .et-sp__rvsum > .et-sp__bars { grid-column: span 2; order: 3; }
  .et-sp__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-sp__sg { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  .et-sp { gap: 16px; padding-top: 8px; padding-bottom: 76px; }
  .et-sp__gal, .et-sp__info, .et-sp__buy { grid-column: span 12; }
  .et-sp__side { display: none; }
  .et-sp__stage { height: 300px; }
  .et-sp__main-img { max-height: 250px; }
  .et-sp__thumbs { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .et-sp__thumbs > * { flex: 0 0 64px; }
  .et-sp__title { font-size: 18px; }
  .et-sp__chipsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-sp__anchors { position: sticky; top: 76px; }
  .admin-bar .et-sp__anchors { top: 122px; }
  .et-sp__card { padding: 18px; border-radius: 26px; }
  .et-sp__sg dl > div { grid-template-columns: 110px 1fr; }
  .et-sp__rvsum { grid-template-columns: 1fr; }
  .et-sp__rvsum > .et-sp__bars { grid-column: auto; }
  .et-sp__dmg { flex-wrap: wrap; }
  .et-sp__dmgp { flex-basis: 100%; flex-direction: row; justify-content: flex-end; align-items: center; gap: 10px; }
  .et-sp__bar { position: fixed; z-index: 70; bottom: 0; right: 0; left: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px 14px; background: rgba(255, 255, 255, .86); border-top: 1px solid rgba(30, 28, 42, .06); box-shadow: 0 -12px 30px rgba(30, 28, 42, .1); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); transform: translateY(110%); transition: transform .35s var(--et-ease); }
  .et-sp__bar.is-on { transform: none; }
  .et-sp__bar .et-sp__addbtn { flex: 1; height: 52px; }
  .et-sp__bar-p { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
  .et-sp__bar-p b { font-size: 18px; font-weight: 900; }
  .et-sp__bar-p small { font-size: 11px; color: var(--et-muted); }
  .et-lb__nav { width: 44px; height: 44px; }
}
@keyframes et-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.et-sw.is-shake { animation: et-shake .45s; }
/* neutralise WooCommerce's default single-product float layout */
.woocommerce div.product.et-sp div.summary, .woocommerce div.product.et-sp div.images, .et-sp .summary { float: none; width: auto; margin: 0; clear: none; }
.woocommerce div.product.et-sp form.cart { margin: 0; }
.woocommerce div.product.et-sp form.cart .variations { margin: 0; }
.woocommerce div.product.et-sp form.cart .variations select { margin: 0; }
.woocommerce div.product.et-sp .woocommerce-tabs, .woocommerce div.product.et-sp .related { margin: 0; }

/* =========================================================
   Buy box polish — variations / warranty / accessories (approved design)
   ========================================================= */
.et-sp__cart table.variations { padding-top: 2px; }
.et-sp__cart table.variations th label, .et-sp__cart table.variations td.label label { font-size: 14px; }
.et-sp__cart .reset_variations { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; margin-top: 2px; border-radius: 999px; background: #FDE8EC; font-size: 11px; font-weight: 700; text-decoration: none; }
.et-sp__cart .woocommerce-variation-add-to-cart, .et-sp__cart form.cart:not(.variations_form) { gap: 12px; }

/* quantity: compact row */
.et-sp__cart .quantity { height: 46px; border-radius: 999px; padding: 3px; background: #F4F4F7; align-self: stretch; }
.et-sp__cart .et-qty2 button { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 6px rgba(30, 28, 42, .06); }
.et-sp__cart .quantity::before { content: "تعداد"; font-size: 12px; color: #55526A; padding: 0 10px 0 4px; order: -2; }
.et-sp__cart .quantity { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; }
.et-sp__cart .quantity input.qty { width: 44px; }

/* our warranty radio list (drives the etminan-warranty plugin underneath) */
.et-wr { border: 0; margin: 0; padding: 12px 0 0; border-top: 1px dashed #E6E5EE; display: flex; flex-direction: column; gap: 8px; }
.et-wr legend { float: right; width: 100%; padding: 0; margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 800; }
.et-wr legend button { border: 0; background: none; font-family: inherit; font-size: 11.5px; font-weight: 700; color: var(--et-violet-d); cursor: pointer; padding: 0; }
.et-wr legend button:hover { text-decoration: underline; }
.et-wr label { position: relative; cursor: pointer; display: block; }
.et-wr input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.et-wr__o { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; border: 1.5px solid var(--c); font-size: 12px; line-height: 1.8; transition: border-color .2s, background .2s; }
.et-wr__o:hover { border-color: rgba(123, 92, 240, .45); }
.et-wr__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #C9C7D6; flex-shrink: 0; transition: border .2s; }
.et-wr__t { flex: 1; min-width: 0; color: #55526A; }
.et-wr__t b { display: block; font-size: 13px; color: var(--et-ink); }
.et-wr__p { flex-shrink: 0; padding: 2px 9px; border-radius: 999px; background: #F4F4F7; font-size: 11px; font-weight: 800; color: #3E3B4F; }
.et-wr input:checked + .et-wr__o { border-color: var(--et-violet); background: rgba(123, 92, 240, .06); }
.et-wr input:checked + .et-wr__o .et-wr__dot { border: 6px solid var(--et-violet); }
.et-wr input:checked + .et-wr__o .et-wr__p { background: var(--et-violet); color: #fff; }
.et-wr input:focus-visible + .et-wr__o { outline: 2px solid var(--et-violet); outline-offset: 2px; }
.et-sp__wrline { display: block; font-size: 11.5px; color: var(--et-violet-d); font-weight: 700; margin-top: 2px; }
.et-sp__wrline:empty { display: none; }
/* the plugin's own UI stays in the form (hidden) so its cart logic keeps working */
.et-sp__cart.has-et-wr .ew-toggle-container, .et-sp__cart.has-et-wr #etminan-warranty-wrapper { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.et-sp__cart.has-et-wr #etminan-warranty-master-container { margin: 0 !important; }

/* warranty details modal (plugin) */
body .ew-modal-overlay { background: rgba(20, 18, 34, .45) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 99990 !important; }
body .ew-modal-box { border-radius: 30px !important; border: 1px solid #fff !important; box-shadow: 0 30px 80px rgba(20, 18, 34, .28) !important; padding: 22px !important; font-family: inherit !important; max-width: 560px !important; }
body .ew-modal-header { border-bottom: 1px solid var(--et-line) !important; padding-bottom: 12px !important; }
body .ew-modal-title { font-size: 17px !important; font-weight: 900 !important; }
body .ew-modal-close { width: 40px !important; height: 40px !important; border-radius: 14px !important; background: var(--et-soft) !important; border: 0 !important; font-size: 22px !important; }
body .ew-modal-content-area { font-size: 13.5px !important; line-height: 2.1 !important; color: #3E3B4F !important; }

/* accessories button (accessory-products-pro-fixed) */
.et-sp .apwf-container { position: relative; margin: 6px 0 2px !important; }
.et-sp .apwf-open-modal { width: 100% !important; height: 48px !important; margin: 0 !important; padding: 0 16px !important; border-radius: 16px !important; border: 0 !important; background: linear-gradient(120deg, #3D7BFF, #2A5BE0) !important; color: #fff !important; font-family: inherit !important; font-size: 13px !important; font-weight: 800 !important; cursor: pointer; display: flex !important; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 22px rgba(42, 91, 224, .28) !important; transition: transform .25s var(--et-ease), box-shadow .25s !important; }
.et-sp .apwf-open-modal:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(42, 91, 224, .34) !important; }
.et-sp .apwf-video-wrapper { display: none !important; }
.et-sp .apwf-open-modal::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 15.7v2.2c0 1.6-1.3 3-3 3H6.4c-1.6 0-3-1.4-3-3v-2.2M12 3v12M8 11l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 15.7v2.2c0 1.6-1.3 3-3 3H6.4c-1.6 0-3-1.4-3-3v-2.2M12 3v12M8 11l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat; flex-shrink: 0; }
.et-sp .apwf-btn-text { font: inherit !important; color: inherit !important; }
.et-sp .apwf-container::after { content: "پیشنهاد ویژه"; position: absolute; top: -11px; left: 12px; padding: 3px 10px; border-radius: 999px; background: #FF8A1F; color: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 6px 14px rgba(255, 138, 31, .35); pointer-events: none; }
.et-sp .apwf-tooltip-wrapper { border-radius: 20px !important; border: 1px solid var(--et-line) !important; box-shadow: var(--et-shadow) !important; font-family: inherit !important; overflow: hidden; }
.et-sp .apwf-tooltip-header { background: linear-gradient(120deg, #3D7BFF, #2A5BE0) !important; font-family: inherit !important; }
.et-sp .apwf-tooltip-btn { border-radius: 12px !important; font-family: inherit !important; }

/* accessories modal — moved to <body> by product.js */
body > .apwf-modal { position: fixed !important; inset: 0 !important; z-index: 99990 !important; background: rgba(20, 18, 34, .45) !important; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); padding: 16px !important; display: none; align-items: center; justify-content: center; }
body > .apwf-modal[aria-hidden="false"] { display: flex !important; }
body > .apwf-modal .apwf-modal-inner { position: relative !important; width: min(600px, 100%) !important; max-width: none !important; max-height: min(86vh, 760px) !important; margin: 0 !important; padding: 0 !important; border-radius: 32px !important; background: #fff !important; border: 1px solid #fff !important; box-shadow: 0 30px 80px rgba(20, 18, 34, .3) !important; display: flex !important; flex-direction: column; overflow: hidden !important; font-family: Vazirmatn, Tahoma, sans-serif !important; animation: et-pop .3s var(--et-ease); }
@keyframes et-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
body > .apwf-modal .apwf-modal-title { margin: 0 !important; padding: 20px 22px 16px 70px !important; font-size: 18px !important; font-weight: 900 !important; color: var(--et-ink) !important; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--et-line); background: linear-gradient(180deg, #F3F6FF, #fff); text-align: right !important; }
body > .apwf-modal .apwf-modal-title::before { content: ""; width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.97 10H3.97v8c0 3 1 4 4 4h8c3 0 4-1 4-4v-8ZM21.5 7v1c0 1.1-.53 2-2 2h-15c-1.53 0-2-.9-2-2V7c0-1.1.47-2 2-2h15c1.47 0 2 .9 2 2ZM11.64 5H6.12a.93.93 0 0 1 .03-1.29l1.42-1.42a.94.94 0 0 1 1.32 0L11.64 5ZM17.88 5h-5.52l2.75-2.71a.94.94 0 0 1 1.32 0l1.42 1.42c.36.36.37.93.03 1.29Z'/%3E%3C/svg%3E") center/22px no-repeat, linear-gradient(120deg, #3D7BFF, #2A5BE0) !important; box-shadow: 0 10px 20px rgba(42, 91, 224, .3); }
body > .apwf-modal .apwf-close { position: absolute !important; top: 18px !important; left: 18px !important; right: auto !important; width: 42px !important; height: 42px !important; border-radius: 14px !important; border: 0 !important; background: var(--et-soft) !important; color: var(--et-ink) !important; font-size: 24px !important; line-height: 1 !important; cursor: pointer; display: grid !important; place-items: center; z-index: 2; transition: background .2s, transform .3s var(--et-ease); }
body > .apwf-modal .apwf-close:hover { background: var(--et-ink) !important; color: #fff !important; transform: rotate(90deg); }
body > .apwf-modal .apwf-info-box { margin: 14px 18px 4px !important; padding: 12px 14px !important; border-radius: 16px !important; background: rgba(123, 92, 240, .08) !important; border: 0 !important; color: #4A2FB8 !important; font-size: 12.5px !important; line-height: 2 !important; display: flex; gap: 8px; align-items: flex-start; }
body > .apwf-modal .apwf-info-box .dashicons { color: var(--et-violet) !important; margin-top: 4px; }
body > .apwf-modal .apwf-modal-list { flex: 1; min-height: 0; overflow-y: auto !important; max-height: none !important; padding: 10px 18px 14px !important; margin: 0 !important; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
body > .apwf-modal .apwf-item { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body > .apwf-modal .apwf-item-row { position: relative; display: flex !important; align-items: center !important; gap: 12px !important; padding: 12px !important; border-radius: 22px !important; border: 1.5px solid var(--et-line) !important; background: #fff !important; transition: border-color .2s, background .2s, box-shadow .2s; }
body > .apwf-modal .apwf-item-row:hover { border-color: rgba(42, 91, 224, .35) !important; }
body > .apwf-modal .apwf-item-row:has(.apwf-item-checkbox:checked) { border-color: #2A5BE0 !important; background: #F3F6FF !important; box-shadow: 0 8px 20px rgba(42, 91, 224, .12); }
body > .apwf-modal .apwf-col-check { flex-shrink: 0; order: 0; }
body > .apwf-modal .apwf-item-checkbox { appearance: none; -webkit-appearance: none; width: 24px !important; height: 24px !important; margin: 0 !important; border-radius: 8px !important; border: 2px solid #C9C7D6 !important; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
body > .apwf-modal .apwf-item-checkbox:checked { background: #2A5BE0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; border-color: #2A5BE0 !important; }
body > .apwf-modal .apwf-item-checkbox:disabled { opacity: .45; cursor: not-allowed; }
body > .apwf-modal .apwf-col-thumb { flex-shrink: 0; width: 72px !important; height: 72px !important; border-radius: 18px !important; background: #F4F4F7 !important; display: grid; place-items: center; overflow: hidden; }
body > .apwf-modal .apwf-item-thumb { width: 84% !important; height: 84% !important; object-fit: contain !important; mix-blend-mode: multiply; border: 0 !important; border-radius: 0 !important; margin: 0 !important; }
body > .apwf-modal .apwf-item-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; text-align: right !important; }
body > .apwf-modal .apwf-item-title { margin: 0 !important; font-size: 13px !important; font-weight: 800 !important; line-height: 1.8 !important; color: var(--et-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body > .apwf-modal .apwf-price-box { display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px 8px !important; margin: 0 !important; }
body > .apwf-modal .apwf-new-price, body > .apwf-modal .apwf-new-price * { font-size: 14px !important; font-weight: 900 !important; color: var(--et-ink) !important; }
body > .apwf-modal .apwf-old-price, body > .apwf-modal .apwf-old-price * { font-size: 11.5px !important; color: var(--et-muted-2) !important; text-decoration: line-through; }
body > .apwf-modal .apwf-badge-pill, body > .apwf-modal .apwf-badge { padding: 2px 9px !important; border-radius: 999px !important; background: var(--et-red) !important; color: #fff !important; font-size: 11px !important; font-weight: 800 !important; }
body > .apwf-modal .apwf-variation-select { width: 100% !important; height: 40px !important; border-radius: 12px !important; border: 1px solid var(--et-line-2) !important; background: #F7F7FA !important; padding: 0 10px !important; font-family: inherit !important; font-size: 12px !important; }
body > .apwf-modal .apwf-col-action { flex-shrink: 0; }
body > .apwf-modal .apwf-view-btn { width: 38px !important; height: 38px !important; border-radius: 12px !important; background: var(--et-soft) !important; color: var(--et-ink-2) !important; display: grid !important; place-items: center; border: 0 !important; }
body > .apwf-modal .apwf-view-btn:hover { background: var(--et-ink) !important; color: #fff !important; }
body > .apwf-modal .apwf-modal-footer { padding: 14px 18px 18px !important; margin: 0 !important; border-top: 1px solid var(--et-line) !important; background: #F9F9FB !important; position: static !important; }
body > .apwf-modal .apwf-add-all { width: 100% !important; height: 54px !important; border-radius: 18px !important; border: 0 !important; background: linear-gradient(135deg, #F0435E, #C81E3E) !important; color: #fff !important; font-family: inherit !important; font-size: 15px !important; font-weight: 900 !important; cursor: pointer; display: flex !important; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 14px 28px rgba(229, 50, 80, .3) !important; transition: transform .25s var(--et-ease) !important; }
body > .apwf-modal .apwf-add-all:hover { transform: translateY(-2px); }
body > .apwf-modal .apwf-add-all:disabled { opacity: .5; transform: none; }
body > .apwf-modal .apwf-no-items { padding: 20px; text-align: center; color: var(--et-muted); }
@media (max-width: 760px) {
  body > .apwf-modal { padding: 0 !important; align-items: flex-end; }
  body > .apwf-modal .apwf-modal-inner { width: 100% !important; max-height: 88vh !important; border-radius: 28px 28px 0 0 !important; animation: et-sheet .35s var(--et-ease); }
  @keyframes et-sheet { from { transform: translateY(40%); opacity: .4; } }
  body > .apwf-modal .apwf-col-thumb { width: 60px !important; height: 60px !important; }
}

/* product-banner plugin (compare / related promo) → card from the approved design */
.et-sp .et-dynamic-promo { display: flex !important; align-items: center !important; gap: 14px !important; padding: 14px 16px !important; margin: 0 !important; border-radius: 24px !important; background: #fff !important; border: 1px solid var(--c) !important; box-shadow: none !important; flex-direction: row !important; transition: transform .35s var(--et-ease), box-shadow .35s; }
.et-sp .et-dynamic-promo:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(30, 28, 42, .09) !important; }
.et-sp .et-dynamic-promo::before { content: ""; width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; background: rgba(123, 92, 240, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A4BE0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 15.5 4 4 4-4M7 19.5v-15M21 8.5l-4-4-4 4M17 4.5v15'/%3E%3C/svg%3E") center/22px no-repeat; }
.et-sp .et-dynamic-promo-content { flex: 1; min-width: 0; padding: 0 !important; }
.et-sp .et-dynamic-promo-title { display: block; font-size: 14px !important; font-weight: 800 !important; color: var(--et-ink) !important; margin: 0 0 2px !important; }
.et-sp .et-dynamic-promo-text { margin: 0 !important; font-size: 12px !important; line-height: 1.9 !important; color: var(--et-muted) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-sp .et-dynamic-promo-btn-wrap { flex-shrink: 0; margin: 0 !important; width: auto !important; }
.et-sp .et-dynamic-promo-btn { height: 38px !important; padding: 0 16px !important; border-radius: 999px !important; background: rgba(123, 92, 240, .12) !important; color: var(--et-violet-d) !important; display: flex !important; align-items: center; font-size: 13px !important; font-weight: 800 !important; box-shadow: none !important; width: auto !important; border: 0 !important; }
.et-sp .et-dynamic-promo-btn:hover { background: var(--et-violet) !important; color: #fff !important; }

/* ===== round 3: iShop data, compact warranty, mobile ===== */
html:has(body.single-product), body.single-product { overflow-x: clip; }
.et-sp__badges span[style*="--bc"] { color: var(--bc); background: color-mix(in srgb, var(--bc) 12%, #fff); }
.et-sp__notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--nc, #7B5CF0) 9%, #fff); border: 1px solid color-mix(in srgb, var(--nc, #7B5CF0) 22%, #fff); color: color-mix(in srgb, var(--nc, #7B5CF0) 75%, #1E1C2A); font-size: 13px; font-weight: 700; line-height: 1.9; }
.et-sp__notice .et-ico { flex-shrink: 0; margin-top: 3px; }
.et-sp__pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.et-sp__pc > div { border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.et-sp__pc b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.et-sp__pc b i { font-style: normal; width: 26px; height: 26px; border-radius: 9px; color: #fff; display: grid; place-items: center; font-size: 16px; }
.et-sp__pc span { font-size: 13px; line-height: 2; }
.et-sp__pc .is-pro { background: #EFFAF4; } .et-sp__pc .is-pro b { color: #1E7A43; } .et-sp__pc .is-pro b i { background: #22B573; } .et-sp__pc .is-pro span { color: #2E4A3A; }
.et-sp__pc .is-con { background: #FFF1F3; } .et-sp__pc .is-con b { color: #B81D3A; } .et-sp__pc .is-con b i { background: var(--et-red); } .et-sp__pc .is-con span { color: #5A2A33; }

/* head row: plugins add links here (e.g. the AI summary link) — never let them widen the page */
.et-sp__head { flex-wrap: wrap; }
.et-sp__crumbs { flex: 1 1 260px; }
.et-sp__crumbs .et-crumbs > * { flex-shrink: 0; white-space: nowrap; }
.et-sp__crumbs .et-crumbs > :last-child { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.et-sp__headl { flex-shrink: 1; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.et-sp__headl > * { white-space: nowrap; flex-shrink: 0; }
.product-head-link_ai img { width: 18px !important; height: 18px !important; }

/* warranty: one compact line per option; the description only for the chosen one */
.et-wr { gap: 6px; }
.et-wr__o { padding: 9px 12px; border-radius: 14px; gap: 9px; }
.et-wr__t { line-height: 1.7; }
.et-wr__t b { display: inline; font-size: 12.5px; }
.et-wr__t small { display: none; font-size: 11.5px; color: var(--et-muted); }
.et-wr input:checked + .et-wr__o .et-wr__t small { display: block; }
.et-wr__dot { width: 16px; height: 16px; }
.et-wr input:checked + .et-wr__o .et-wr__dot { border-width: 5px; }

/* the compare / promo banner: stack button under the text when narrow */
.et-sp .et-dynamic-promo { flex-wrap: wrap !important; }
.et-sp .et-dynamic-promo-content { flex: 1 1 200px !important; }

@media (max-width: 760px) {
  .et-sp__head { gap: 8px; }
  .et-sp__crumbs { flex-basis: 100%; }
  .et-sp__crumbs .et-crumbs > :last-child { max-width: 200px; }
  .et-sp__pc { grid-template-columns: 1fr; }

  /* Digikala-style: the photo scrolls slower and the details card slides over it (no sticky, so nothing lingers) */
  .et-sp__top { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .et-sp__top > * { width: 100%; min-width: 0; max-width: 100%; }
  .et-sp__gal { position: relative; z-index: 0; padding-bottom: 34px; transform-origin: 50% 100%; will-change: transform, opacity; }
  .et-sp__info, .et-sp__buy { position: relative; z-index: 1; background: var(--et-bg, #F6F6F9); width: auto; max-width: none; }
  .et-sp__info { margin: -26px -14px 0; padding: 24px 14px 16px; border-radius: 28px 28px 0 0; box-shadow: 0 -12px 28px rgba(30, 28, 42, .07); }
  .et-sp__info::before { content: ""; position: absolute; top: 9px; left: 50%; width: 42px; height: 5px; border-radius: 5px; background: #DCDBE6; transform: translateX(-50%); }
  .et-sp__buy, .admin-bar .et-sp__buy { margin: 0 -14px; padding: 0 14px 6px; top: auto; }
  .et-sp__gallinks { display: none; }
}

/* accessories plugin turns its button into a floating circle on phones — keep it as the in-box button */
.et-sp .apwf-container { position: relative !important; inset: auto !important; width: auto !important; z-index: auto !important; pointer-events: auto !important; background: none !important; padding: 0 !important; }
.et-sp .apwf-open-modal { animation: none !important; pointer-events: auto !important; }
.et-sp .apwf-btn-text { display: inline !important; }
.et-sp .apwf-container::after { top: -11px !important; bottom: auto !important; left: 12px !important; right: auto !important; transform: none !important; content: "پیشنهاد ویژه" !important; background: #FF8A1F !important; padding: 3px 10px !important; border-radius: 999px !important; font-size: 11px !important; opacity: 1 !important; }
.et-sp .apwf-tooltip-wrapper { position: absolute !important; bottom: calc(100% + 14px) !important; top: auto !important; right: 0 !important; left: 0 !important; width: auto !important; max-width: none !important; transform: none !important; z-index: 30 !important; }
.et-sp .apwf-elevated, .et-sp .apwf-elevated-parent { z-index: 30 !important; }
/* the accessories plugin lifts every positioned ancestor to z-index 400 for its tip — that put the whole
   product above the sticky header. Only the button itself needs lifting. */
body .apwf-elevated-parent { z-index: auto !important; }
body .et-sp .apwf-container.apwf-elevated { z-index: 30 !important; }

/* product descriptions pasted from editors carry fixed widths (tables, figures, iframes, inline styles):
   keep every one of them inside the card so phones never get a wider page */
.et-sp__tmain, .et-sp__card, .et-sp__desc { min-width: 0; max-width: 100%; }
.et-sp__card { overflow: hidden; }
.et-sp__desc { overflow-wrap: anywhere; }
.et-sp__desc * { max-width: 100% !important; box-sizing: border-box; }
.et-sp__desc img, .et-sp__desc video, .et-sp__desc iframe, .et-sp__desc embed, .et-sp__desc object { height: auto !important; }
.et-sp__desc iframe[src*="youtube"], .et-sp__desc iframe[src*="aparat"] { aspect-ratio: 16 / 9; width: 100% !important; }
.et-sp__desc table { display: block; overflow-x: auto; width: 100% !important; }
.et-sp__desc pre { white-space: pre-wrap; }
.et-sp__desc [style*="width"] { width: auto !important; }
.et-sp__desc [style*="margin-left: -"], .et-sp__desc [style*="margin-right: -"] { margin-left: 0 !important; margin-right: 0 !important; }

/* phones: floating accessories button (bottom-left, above the sticky buy bar) */
@media (max-width: 768px) {
  body > .apwf-container.et-acc-fab { position: fixed !important; left: 14px !important; right: auto !important; top: auto !important; bottom: calc(96px + env(safe-area-inset-bottom)) !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; z-index: 80 !important; pointer-events: none; }
  body > .et-acc-fab .apwf-open-modal { pointer-events: auto; position: relative; width: 58px !important; height: 58px !important; padding: 0 !important; border-radius: 50% !important; border: 3px solid #fff !important; background: linear-gradient(135deg, #3D7BFF, #2A5BE0) !important; color: #fff !important; display: grid !important; place-items: center; overflow: hidden; box-shadow: 0 10px 24px rgba(42, 91, 224, .35) !important; animation: et-acc-pulse 2.4s infinite !important; cursor: pointer; }
  body > .et-acc-fab .apwf-open-modal::before { content: ""; width: 26px; height: 26px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.97 10H3.97v8c0 3 1 4 4 4h8c3 0 4-1 4-4v-8ZM21.5 7v1c0 1.1-.53 2-2 2h-15c-1.53 0-2-.9-2-2V7c0-1.1.47-2 2-2h15c1.47 0 2 .9 2 2ZM12 5v17M11.64 5H6.12a.93.93 0 0 1 .03-1.29l1.42-1.42a.94.94 0 0 1 1.32 0L11.64 5ZM17.88 5h-5.52l2.75-2.71a.94.94 0 0 1 1.32 0l1.42 1.42c.36.36.37.93.03 1.29Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.97 10H3.97v8c0 3 1 4 4 4h8c3 0 4-1 4-4v-8ZM21.5 7v1c0 1.1-.53 2-2 2h-15c-1.53 0-2-.9-2-2V7c0-1.1.47-2 2-2h15c1.47 0 2 .9 2 2ZM12 5v17M11.64 5H6.12a.93.93 0 0 1 .03-1.29l1.42-1.42a.94.94 0 0 1 1.32 0L11.64 5ZM17.88 5h-5.52l2.75-2.71a.94.94 0 0 1 1.32 0l1.42 1.42c.36.36.37.93.03 1.29Z'/%3E%3C/svg%3E") center/contain no-repeat; }
  body > .et-acc-fab .apwf-btn-text { display: none !important; }
  body > .et-acc-fab .apwf-video-wrapper { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; overflow: hidden; }
  body > .et-acc-fab .apwf-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
  body > .et-acc-fab::after { content: "لوازم جانبی" !important; position: absolute; left: 50%; bottom: -24px; top: auto; right: auto; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: #FF8A1F !important; color: #fff; font-size: 10.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 14px rgba(255, 138, 31, .35); pointer-events: none; opacity: 1; }
  body > .et-acc-fab .apwf-tooltip-wrapper { font-family: inherit !important; border-radius: 18px !important; }
}
@keyframes et-acc-pulse { 0% { box-shadow: 0 10px 24px rgba(42, 91, 224, .35), 0 0 0 0 rgba(61, 123, 255, .55); } 70% { box-shadow: 0 10px 24px rgba(42, 91, 224, .35), 0 0 0 14px rgba(61, 123, 255, 0); } 100% { box-shadow: 0 10px 24px rgba(42, 91, 224, .35), 0 0 0 0 rgba(61, 123, 255, 0); } }
@media (prefers-reduced-motion: reduce) { body > .et-acc-fab .apwf-open-modal { animation: none !important; } }
@media (max-width: 768px) {
  body > .et-acc-fab .apwf-video-wrapper, body > .et-acc-fab .apwf-video-wrapper video { background: transparent !important; }
}
/* accessories modal note: one flowing paragraph (the plugin's inline <strong>s were becoming flex columns) */
body > .apwf-modal .apwf-info-box { display: block !important; }
body > .apwf-modal .apwf-info-box .dashicons { float: right; margin: 4px 0 0 6px; }

/* recommended article / comparison card (product-banner fields) */
.et-art { position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px; margin: 12px 0 4px; padding: 12px; border-radius: 24px; text-decoration: none !important; color: var(--et-ink); background: linear-gradient(115deg, #F5F2FF 0%, #F1F6FF 60%, #FFF6F0 100%); border: 1px solid rgba(123, 92, 240, .16); overflow: hidden; transition: transform .35s var(--et-ease), box-shadow .35s var(--et-ease), border-color .35s; }
.et-art::before { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; left: -60px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 240, .18), transparent 70%); transition: transform .6s var(--et-ease); }
.et-art:hover { transform: translateY(-3px); border-color: rgba(123, 92, 240, .35); box-shadow: 0 18px 40px rgba(74, 47, 184, .12); }
.et-art:hover::before { transform: translate(30px, 20px) scale(1.15); }
.et-art__media { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #8B6CF6, #4A7BFF); box-shadow: 0 10px 22px rgba(91, 84, 240, .3); overflow: hidden; }
.et-art.has-img .et-art__media { width: 92px; height: 72px; background: #fff; box-shadow: 0 8px 20px rgba(30, 28, 42, .1); }
.et-art__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--et-ease); }
.et-art:hover .et-art__img { transform: scale(1.07); }
.et-art__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.et-art__kick { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; color: #6A4BE0; }
.et-art__kick i { font-style: normal; color: #B9B1E6; }
.et-art__kick i + * , .et-art__kick { white-space: nowrap; }
.et-art__t { font-size: 14px; font-weight: 900; line-height: 1.8; color: var(--et-ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.et-art__x { font-size: 12px; line-height: 1.9; color: var(--et-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-art__go { flex-shrink: 0; align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: #fff; color: #5B3FD6; font-size: 12.5px; font-weight: 900; box-shadow: 0 6px 16px rgba(74, 47, 184, .12); transition: background .25s, color .25s, gap .25s; }
.et-art:hover .et-art__go { background: linear-gradient(120deg, #7B5CF0, #4A7BFF); color: #fff; gap: 10px; }
@media (max-width: 760px) {
  .et-art { align-items: flex-start; padding: 12px; gap: 12px; border-radius: 22px; }
  .et-art.has-img .et-art__media { width: 76px; height: 76px; }
  .et-art__media { width: 52px; height: 52px; border-radius: 16px; }
  .et-art__t { -webkit-line-clamp: 2; font-size: 13.5px; }
  .et-art__go { position: absolute; left: 12px; bottom: 12px; height: 32px; padding: 0 12px; font-size: 12px; }
  .et-art__body { padding-bottom: 38px; }
}

/* ---------- compact buy box ---------- */
/* products that can only be bought one at a time: WooCommerce hides the number field → hide the whole row */
.et-sp__cart .quantity:has(input[type=hidden]), .et-sp__cart .quantity.et-qty2:has(input[type=hidden]) { display: none !important; }
/* the three shop promises: one row of small chips (full text on hover) */
.et-sp__minis { display: flex !important; flex-wrap: wrap; gap: 6px !important; padding-top: 2px; }
.et-sp__minis span { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; letter-spacing: -.2px; border-radius: 999px; background: color-mix(in srgb, var(--tone) 9%, #fff); color: var(--et-ink-2); font-size: 11px; font-weight: 800; white-space: nowrap; }
.et-sp__minis span .et-ico { color: var(--tone); }
/* «پاک کردن» next to the attribute name, not on its own line */
.et-sp__cart table.variations tr { position: relative; }
.et-sp__cart table.variations .reset_variations { position: absolute; top: 0; left: 0; margin: 0; line-height: 1.6; }
/* warranty: options as small tiles side by side (2–3 per row depending on the width) */
.et-sp .et-wr { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.et-sp .et-wr legend { grid-column: 1 / -1; margin-bottom: 0; }
.et-sp .et-wr > :not(legend):not(label) { grid-column: 1 / -1; }
.et-sp .et-wr .et-wr__o { height: 100%; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 8px 6px; border-radius: 16px; }
.et-sp .et-wr .et-wr__dot { display: none; }
.et-sp .et-wr .et-wr__t { flex: 0 0 auto; line-height: 1.5; }
.et-sp .et-wr .et-wr__t b { display: block; font-size: 12px; }
.et-sp .et-wr .et-wr__t small, .et-sp .et-wr input:checked + .et-wr__o .et-wr__t small { display: none; }
.et-sp .et-wr .et-wr__p { font-size: 10.5px; padding: 1px 8px; }
.et-sp .apwf-open-modal { height: 44px !important; }
/* wider buy column on desktop (it was 3/12 ≈ 260px: everything wrapped and the card grew tall) */
@media (min-width: 1101px) {
  .et-sp__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(330px, .95fr); gap: 20px; }
  .et-sp__gal, .et-sp__info, .et-sp__buy { grid-column: auto; }
}

/* ===== theme-native warranty (etminan-warranty merged) ===== */
.et-wr.is-native { margin-top: 2px; }
.et-wrm { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 16px; background: rgba(20, 18, 34, .45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.et-wrm[hidden] { display: none; }
.et-wrm__box { width: min(560px, 100%); max-height: min(82vh, 720px); display: flex; flex-direction: column; background: #fff; border-radius: 30px; box-shadow: 0 30px 80px rgba(20, 18, 34, .28); overflow: hidden; animation: et-pop .3s var(--et-ease); }
.et-wrm__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--et-line); background: linear-gradient(180deg, #F6F3FF, #fff); }
.et-wrm__h b { font-size: 17px; font-weight: 900; }
.et-wrm__h button { width: 40px; height: 40px; border-radius: 14px; border: 0; background: var(--et-soft); font-size: 22px; cursor: pointer; }
.et-wrm__c { padding: 16px 22px 22px; overflow-y: auto; font-size: 13.5px; line-height: 2.1; color: #3E3B4F; }
@media (max-width: 760px) { .et-wrm { place-items: end center; padding: 0; } .et-wrm__box { width: 100%; border-radius: 28px 28px 0 0; max-height: 86vh; } }
.et-sp__cart form.cart > .et-wr, .et-sp__cart form.cart > .apwf-container, .et-sp__cart .woocommerce-variation-add-to-cart > .et-wr, .et-sp__cart .woocommerce-variation-add-to-cart > .apwf-container { flex: 1 0 100%; width: 100%; min-width: 0; box-sizing: border-box; }

/* ---- share menu (desktop) ---- */
.et-share { position: absolute; z-index: 120; min-width: 190px; padding: 8px; border-radius: 20px; background: #fff; border: 1px solid var(--et-line); box-shadow: 0 18px 44px rgba(30, 28, 42, .16); display: flex; flex-direction: column; gap: 2px; animation: et-pop .2s var(--et-ease); }
.et-share b { padding: 6px 10px 8px; font-size: 12px; color: var(--et-muted); font-weight: 800; }
.et-share a, .et-share button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 13px; background: none; color: var(--et-ink); font: inherit; font-size: 13.5px; font-weight: 700; text-align: right; cursor: pointer; text-decoration: none; }
.et-share a:hover, .et-share button:hover, .et-share :focus-visible { background: var(--et-soft); }
.et-share i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--et-brand, #7B5CF0)); flex: none; }
/* ---- mobile: favourite / compare / share float on the photo instead of disappearing ---- */
@media (max-width: 760px) {
  .et-sp__galrow { position: relative; }
  .et-sp__side { display: flex; position: absolute; z-index: 3; top: 10px; left: 10px; flex-direction: column; gap: 6px; }
  .et-sp__side .et-sp__rate-badge { display: none; }
  .et-sp__sbtn, .et-sp__side > a:not(.et-sp__rate-badge), .et-sp__side > button:not(.et-sp__sbtn) { width: 40px; height: 40px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(30, 28, 42, .08); }
}
/* ---- 1.3.8 (phones) */
@media (max-width: 760px) {
  /* section tabs stick just below the real header (its height comes from main.js), never under it */
  .et-sp__anchors, .admin-bar .et-sp__anchors { top: calc(var(--et-stick, 132px) + 8px); z-index: 30; }
  .et-sp__card, .et-sp__comments #review_form_wrapper { scroll-margin-top: calc(var(--et-stick, 132px) + 72px); }
}

/* PageSpeed: the hidden «امتیاز ۵ از ۵» text inside WooCommerce's star rating is measured for contrast (yellow on white) — keep it out, stars stay */
.star-rating span { font-size: 0; }
.star-rating span::before { font-size: 13px; }
/* WooCommerce's «.woocommerce #respond input#submit» (an id selector) turned the review button light grey with white text */
.et-sp__comments #respond input#submit, .woocommerce .et-sp__comments #respond input#submit { height: 50px; padding: 0 26px; border: 0; border-radius: 16px; background: #C21C3B linear-gradient(135deg, #D92848, #B5173A); color: #fff; font-family: inherit; font-size: 15px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 12px 24px rgba(194, 28, 59, .25); }
.et-sp__comments #respond input#submit:hover, .woocommerce .et-sp__comments #respond input#submit:hover { background: #A8142F; color: #fff; }
