.cse-product-action{display:inline-flex;position:relative;vertical-align:middle}
.cse-product-action-button{--cse-pa-size:27px;--cse-pa-color:#374151;--cse-pa-hover:#257aff;--cse-pa-active:#e11d48;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0!important;background:transparent!important;box-shadow:none!important;padding:5px!important;margin:0;min-width:0;min-height:0;color:var(--cse-pa-color);cursor:pointer;line-height:1;transition:color .2s ease,transform .2s ease}
.cse-product-action-button:hover{color:var(--cse-pa-hover);transform:translateY(-1px)}
.cse-product-action-button svg{width:var(--cse-pa-size);height:var(--cse-pa-size);display:block;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cse-wishlist-toggle.is-active{color:var(--cse-pa-active)}
.cse-wishlist-toggle.is-active svg path{fill:currentColor;stroke:currentColor}
.cse-product-action-text{font-size:13px;font-weight:700;white-space:nowrap}
.cse-action-feedback{position:absolute;right:50%;bottom:calc(100% + 9px);transform:translateX(50%) translateY(5px);padding:6px 9px;border-radius:8px;background:#0d1b3f;color:#fff;font-size:11px;font-weight:700;white-space:nowrap;opacity:0;visibility:hidden;transition:.2s ease;z-index:50;pointer-events:none}
.cse-action-feedback.is-visible{opacity:1;visibility:visible;transform:translateX(50%) translateY(0)}

/* Wishlist account grid */
.cse-wishlist-account{--cse-wish-gap:18px;width:100%}.cse-wishlist-account__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.cse-wishlist-account__head h2{margin:0;font-size:24px}.cse-wishlist-account__head span{color:#6b7280;font-size:13px}.cse-wishlist-account ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--cse-wish-gap)!important;margin:0!important;padding:0!important}.cse-wishlist-account ul.products li.product{float:none!important;width:auto!important;margin:0!important}.cse-wishlist-empty{padding:34px 20px;text-align:center;border-radius:16px;background:#f8fafc;color:#64748b}
@media(max-width:1024px){.cse-wishlist-account ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:767px){.cse-wishlist-account ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}
@media(max-width:420px){.cse-wishlist-account ul.products{grid-template-columns:1fr!important}}

/* Price chart modal */
.cse-price-chart-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}.cse-price-chart-modal.is-open{opacity:1;visibility:visible}.cse-price-chart-backdrop{position:absolute;inset:0;background:rgba(7,14,31,.48);backdrop-filter:blur(2px)}.cse-price-chart-dialog{position:relative;width:min(980px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.24);padding:24px;direction:rtl}.cse-price-chart-close{position:absolute;top:14px;left:14px;width:38px;height:38px;border:0;background:transparent;color:#475569;font-size:28px;line-height:1;cursor:pointer;border-radius:10px}.cse-price-chart-close:hover{background:#f1f5f9;color:#111827}.cse-price-chart-head{padding-left:48px;border-bottom:1px solid #eef2f7;padding-bottom:14px;margin-bottom:18px}.cse-price-chart-head h3{margin:0 0 6px;font-size:22px;color:#0f172a}.cse-price-chart-head p{margin:0;color:#64748b;font-size:13px}.cse-price-chart-series{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.cse-price-series-toggle{border:1px solid #dce3ed;background:var(--cse-chart-inactive-bg,#fff);color:var(--cse-chart-inactive-color,#64748b);border-radius:10px;padding:7px 12px;cursor:pointer;font:inherit;transition:.18s ease}.cse-price-series-toggle.is-active{background:var(--cse-chart-active-bg,#e5e7eb);border-color:#cbd5e1;color:var(--cse-chart-active-color,#111827);opacity:1}.cse-price-series-toggle:not(.is-active){opacity:.58}.cse-price-series-toggle.is-last-active{animation:cse-chart-last .3s ease}.cse-price-chart-canvas-wrap{width:100%;height:430px;min-height:280px}.cse-price-chart-canvas{width:100%!important;height:100%!important;display:block}.cse-price-chart-legend{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:#64748b;font-size:11px;margin-top:10px}.cse-price-chart-widget{--cse-chart-primary:#257aff}
@media(max-width:767px){.cse-price-chart-dialog{padding:18px 14px;border-radius:15px}.cse-price-chart-head h3{font-size:19px}.cse-price-chart-canvas-wrap{height:330px}.cse-price-chart-series{max-height:100px;overflow:auto}}
@media(prefers-reduced-motion:reduce){.cse-product-action-button,.cse-action-feedback,.cse-price-chart-modal{transition:none}}

.cse-price-chart-dialog{font-family:var(--cse-chart-font-family,inherit);font-size:var(--cse-chart-font-size,inherit);font-weight:var(--cse-chart-font-weight,inherit);font-style:var(--cse-chart-font-style,normal);line-height:var(--cse-chart-line-height,inherit);letter-spacing:var(--cse-chart-letter-spacing,normal)}.cse-price-chart-head h3,.cse-price-chart-head p,.cse-price-chart-legend,.cse-price-series-toggle{font-family:inherit;font-weight:inherit;font-style:inherit}.cse-price-chart-head h3{font-size:1.55em}.cse-price-chart-head p{font-size:.92em}.cse-price-chart-legend{font-size:.82em}@keyframes cse-chart-last{0%,100%{transform:translateX(0)}35%{transform:translateX(3px)}70%{transform:translateX(-3px)}}

/* 1.9.12: instant wishlist feedback + selected-variation price chart */
.cse-wishlist-toggle{transition:transform .16s ease!important}
.cse-wishlist-toggle.is-active{color:var(--cse-pa-active)!important}
.cse-wishlist-toggle.is-active svg path{fill:currentColor!important;stroke:currentColor!important}
.cse-price-chart-controls{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;margin:0 0 12px;width:100%;text-align:right}
.cse-price-compare-all{border:1px solid #dbe3ee;background:#fff;color:#334155;border-radius:10px;padding:8px 14px;cursor:pointer;font:inherit;font-weight:700;transition:.16s ease}
.cse-price-compare-all:hover{border-color:#94a3b8;background:#f8fafc}
.cse-price-compare-all.is-active{background:#0f172a;color:#fff;border-color:#0f172a}
.cse-price-selected-label{color:#64748b;font-size:.88em;display:block;width:100%;text-align:right}
.cse-price-chart-series.is-hidden{display:none!important}
.cse-price-chart-canvas-wrap{position:relative}
.cse-price-chart-tooltip{position:absolute;z-index:5;min-width:150px;max-width:min(260px,80%);padding:9px 11px;border:1px solid #e2e8f0;border-radius:10px;background:rgba(15,23,42,.96);color:#fff;box-shadow:0 10px 28px rgba(15,23,42,.18);pointer-events:none;direction:rtl;text-align:right;line-height:1.55}
.cse-price-chart-tooltip[hidden]{display:none!important}
.cse-price-chart-tooltip strong,.cse-price-chart-tooltip span,.cse-price-chart-tooltip b{display:block}
.cse-price-chart-tooltip strong{font-size:.86em;font-weight:800;margin-bottom:2px}
.cse-price-chart-tooltip span{font-size:.8em;color:#cbd5e1}
.cse-price-chart-tooltip b{font-size:.93em;font-weight:800;margin-top:3px}
.cse-price-chart-compare-footer{display:flex;align-items:center;justify-content:center;width:100%;margin:14px 0 4px}.cse-price-chart-compare-footer .cse-price-compare-all{min-width:132px}
@media(max-width:767px){.cse-price-chart-controls{align-items:stretch}.cse-price-chart-compare-footer .cse-price-compare-all{width:auto;min-width:132px}.cse-price-selected-label{width:100%;text-align:right}}

/* 1.9.16: explicit compare-button states + theme-proof chart controls. */
.cse-price-chart-dialog .cse-price-series-toggle{
    appearance:none!important;
    -webkit-appearance:none!important;
    border:1px solid #dce3ed!important;
    background:var(--cse-chart-inactive-bg,#fff)!important;
    color:var(--cse-chart-inactive-color,#64748b)!important;
    box-shadow:none!important;
    border-radius:10px!important;
    padding:7px 12px!important;
    opacity:.72;
}
.cse-price-chart-dialog .cse-price-series-toggle:hover:not(.is-active){
    background:var(--cse-chart-series-hover-bg,#eff6ff)!important;
    color:var(--cse-chart-series-hover-color,#1d4ed8)!important;
    border-color:var(--cse-chart-series-hover-border,#93c5fd)!important;
    opacity:1;
}
.cse-price-chart-dialog .cse-price-series-toggle.is-active{
    background:var(--cse-chart-active-bg,#257aff)!important;
    color:var(--cse-chart-active-color,#fff)!important;
    border-color:var(--cse-chart-active-bg,#257aff)!important;
    box-shadow:0 5px 14px rgba(37,122,255,.16)!important;
    opacity:1;
}
.cse-price-chart-dialog .cse-price-compare-all{
    appearance:none!important;
    -webkit-appearance:none!important;
    border:1px solid #dbe3ee!important;
    background:var(--cse-chart-compare-bg,#fff)!important;
    color:var(--cse-chart-compare-color,#334155)!important;
    box-shadow:none!important;
    border-radius:10px!important;
    padding:8px 14px!important;
    cursor:pointer;
    font:inherit;
    font-weight:800;
    transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.cse-price-chart-dialog .cse-price-compare-all:hover{
    background:var(--cse-chart-compare-hover-bg,#eff6ff)!important;
    color:var(--cse-chart-compare-hover-color,#1d4ed8)!important;
    border-color:var(--cse-chart-series-hover-border,#93c5fd)!important;
    transform:translateY(-1px);
}
.cse-price-chart-dialog .cse-price-compare-all.is-active{
    background:var(--cse-chart-compare-active-bg,#257aff)!important;
    color:var(--cse-chart-compare-active-color,#fff)!important;
    border-color:var(--cse-chart-compare-active-bg,#257aff)!important;
    box-shadow:0 6px 16px rgba(37,122,255,.18)!important;
}
.cse-price-selected-label{font-weight:700;color:#64748b}
.cse-price-chart-tooltip b{direction:rtl;unicode-bidi:plaintext}

/* 1.9.73: shared compare basket/button. Reuses the same lightweight action-button language as price chart. */
.cse-compare-toggle.is-active{color:var(--cse-pa-active)!important}
.cse-product-compare-action .cse-product-action-button,.cse-product-compare-basket .cse-product-action-button{appearance:none!important;-webkit-appearance:none!important;text-decoration:none!important}
.cse-product-compare-basket{display:inline-flex;vertical-align:middle}.cse-product-compare-basket.is-empty{display:none!important}.cse-product-compare-basket.has-items{display:inline-flex!important}.elementor-widget-cse_product_compare_basket.cse-compare-widget-empty{display:none!important}
.cse-compare-basket{--cse-compare-badge-bg:#dc2626;--cse-compare-badge-color:#fff;--cse-compare-badge-size:20px;--cse-compare-badge-x:0px;--cse-compare-badge-y:0px;position:relative!important}
.cse-compare-basket-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.cse-compare-badge{position:absolute;display:flex;align-items:center;justify-content:center;min-width:var(--cse-compare-badge-size);height:var(--cse-compare-badge-size);padding:0 5px;border:2px solid #fff;border-radius:999px;background:var(--cse-compare-badge-bg);color:var(--cse-compare-badge-color);font-size:10px;font-weight:800;line-height:1;box-sizing:border-box;pointer-events:none;z-index:2}
.cse-badge-top-right .cse-compare-badge{top:calc(var(--cse-compare-badge-size) * -.34 + var(--cse-compare-badge-y));right:calc(var(--cse-compare-badge-size) * -.42 - var(--cse-compare-badge-x));left:auto;bottom:auto}
.cse-badge-top-left .cse-compare-badge{top:calc(var(--cse-compare-badge-size) * -.34 + var(--cse-compare-badge-y));left:calc(var(--cse-compare-badge-size) * -.42 + var(--cse-compare-badge-x));right:auto;bottom:auto}
.cse-badge-bottom-right .cse-compare-badge{bottom:calc(var(--cse-compare-badge-size) * -.34 - var(--cse-compare-badge-y));right:calc(var(--cse-compare-badge-size) * -.42 - var(--cse-compare-badge-x));left:auto;top:auto}
.cse-badge-bottom-left .cse-compare-badge{bottom:calc(var(--cse-compare-badge-size) * -.34 - var(--cse-compare-badge-y));left:calc(var(--cse-compare-badge-size) * -.42 + var(--cse-compare-badge-x));right:auto;top:auto}
.cse-compare-basket.is-empty .cse-compare-badge{display:none!important}
.cse-product-action-editor-note{display:block;width:100%;padding:11px 13px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;color:#475569;font-size:12px;line-height:1.9;direction:rtl;text-align:right}

.cse-product-compare-action{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;flex-wrap:wrap}
.cse-compare-view-link{--cse-compare-link-color:#2563eb;--cse-compare-link-hover:#1d4ed8;appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:2px 0!important;color:var(--cse-compare-link-color)!important;text-decoration:none!important;font-size:12px;font-weight:750;line-height:1.7;cursor:pointer;white-space:nowrap}
.cse-compare-view-link:hover,.cse-compare-view-link:focus-visible{color:var(--cse-compare-link-hover)!important;text-decoration:underline!important}
.cse-compare-view-link.is-hidden{display:none!important}
body.elementor-editor-active .cse-product-compare-basket{display:inline-flex!important}
body.elementor-editor-active .elementor-widget-cse_product_compare_basket.cse-compare-widget-empty{display:block!important}


/* 1.9.74: compare action is icon-only; adding a product opens one shared lightweight drawer. */
.cse-product-compare-action,.cse-product-compare-basket{--cse-cd-width:420px;--cse-cd-overlay:rgba(0,0,0,.45);--cse-cd-bg:#fff;--cse-cd-title:#0f172a;--cse-cd-item-bg:#fff;--cse-cd-item-border:#e5e7eb;--cse-cd-product-title:#0f172a;--cse-cd-price:#334155;--cse-cd-remove:#64748b;--cse-cd-cta-bg:#257aff;--cse-cd-cta-color:#fff;--cse-cd-cta-hover:#1259c3;display:inline-flex;align-items:center;vertical-align:middle}
.cse-product-compare-action .cse-compare-toggle{flex:0 0 auto}
.cse-compare-view-link{display:none!important}
body.cse-compare-drawer-open{overflow:hidden!important}
.cse-compare-drawer{position:fixed;inset:0;z-index:2147483646;visibility:hidden;pointer-events:none;direction:rtl;font-family:inherit}
.cse-compare-drawer.is-open{visibility:visible;pointer-events:auto}
.cse-compare-drawer-overlay{position:absolute;z-index:1;inset:0;background:var(--cse-cd-overlay,rgba(0,0,0,.45));opacity:0;transition:opacity .24s ease}
.cse-compare-drawer.is-open .cse-compare-drawer-overlay{opacity:1}
.cse-compare-drawer-panel{position:absolute;z-index:2;top:0;bottom:0;width:min(var(--cse-cd-width,420px),100vw);max-width:100vw;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;background:var(--cse-cd-bg,#fff);color:#0f172a;box-shadow:0 0 50px rgba(0,0,0,.16);transition:transform .32s ease;will-change:transform}
.cse-compare-drawer-left .cse-compare-drawer-panel{left:0;transform:translate3d(-100%,0,0)}
.cse-compare-drawer-right .cse-compare-drawer-panel{right:0;transform:translate3d(100%,0,0)}
.cse-compare-drawer.is-open .cse-compare-drawer-panel{transform:translate3d(0,0,0)}
.cse-compare-drawer-head{min-height:68px;box-sizing:border-box;padding:16px 20px;border-bottom:1px solid var(--cse-cd-item-border,#e5e7eb);display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--cse-cd-bg,#fff)}
.cse-compare-drawer-head strong{margin:0;color:var(--cse-cd-title,#0f172a);font-size:18px;font-weight:800;line-height:1.7}
.cse-compare-drawer-close,.cse-compare-drawer-remove{appearance:none!important;-webkit-appearance:none!important;border:0!important;box-shadow:none!important;cursor:pointer;font:inherit}
.cse-compare-drawer-close{flex:0 0 auto;width:36px;height:36px;padding:0!important;margin:0!important;border-radius:10px!important;background:#f1f5f9!important;color:#475569!important;font-size:25px!important;line-height:36px!important;text-align:center}
.cse-compare-drawer-close:hover{background:#e2e8f0!important;color:#0f172a!important}
.cse-compare-drawer-body{position:relative;flex:1;min-height:0;overflow:auto;padding:16px}
.cse-compare-drawer-loading{padding:8px 4px 14px;color:#64748b;font-size:12px;font-weight:700}
.cse-compare-drawer-items{display:grid;gap:10px}
.cse-compare-drawer-item{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) 34px;align-items:center;gap:12px;min-width:0;padding:10px;border:1px solid var(--cse-cd-item-border,#e5e7eb);border-radius:14px;background:var(--cse-cd-item-bg,#fff);box-sizing:border-box}
.cse-compare-drawer-image{display:block;width:72px;height:72px;border-radius:10px;overflow:hidden;background:#f8fafc;text-decoration:none!important}
.cse-compare-drawer-image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important}
.cse-compare-drawer-copy{min-width:0;display:flex;flex-direction:column;gap:6px}
.cse-compare-drawer-product-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--cse-cd-product-title,#0f172a)!important;text-decoration:none!important;font-size:13px;font-weight:800;line-height:1.8}
.cse-compare-drawer-product-title:hover{opacity:.78}
.cse-compare-drawer-price{color:var(--cse-cd-price,#334155)!important;font-size:12px;font-weight:800;line-height:1.75;direction:rtl}
.cse-compare-drawer-price .amount,.cse-compare-drawer-price bdi{color:inherit!important}
.cse-compare-drawer-price ins{color:#16a34a!important;text-decoration:none!important;background:transparent!important}
.cse-compare-drawer-price del{color:#dc2626!important;opacity:.76;text-decoration:line-through!important}
.cse-compare-drawer-remove{align-self:start;width:30px;height:30px;padding:0!important;margin:0!important;border-radius:9px!important;background:transparent!important;color:var(--cse-cd-remove,#64748b)!important;font-size:22px!important;line-height:30px!important;text-align:center}
.cse-compare-drawer-remove:hover{background:#f1f5f9!important;color:#dc2626!important}
.cse-compare-drawer-empty{margin:10px 0;padding:30px 18px;border:1px dashed var(--cse-cd-item-border,#e5e7eb);border-radius:14px;background:#f8fafc;color:#64748b;text-align:center;font-size:13px;line-height:2}
.cse-compare-drawer-footer{padding:14px 16px 18px;border-top:1px solid var(--cse-cd-item-border,#e5e7eb);background:var(--cse-cd-bg,#fff)}
.cse-compare-drawer-footer[hidden]{display:none!important}
.cse-compare-drawer-cta{appearance:none!important;pointer-events:auto!important;cursor:pointer!important;-webkit-appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:46px!important;box-sizing:border-box!important;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:12px!important;background:var(--cse-cd-cta-bg,#257aff)!important;color:var(--cse-cd-cta-color,#fff)!important;text-decoration:none!important;text-align:center!important;font-size:13px!important;font-weight:800!important;line-height:1.7!important;box-shadow:none!important;transition:background-color .18s ease,transform .18s ease}
.cse-compare-drawer-cta:hover,.cse-compare-drawer-cta:focus-visible{background:var(--cse-cd-cta-hover,#1259c3)!important;color:var(--cse-cd-cta-color,#fff)!important;transform:translateY(-1px)}
@media(max-width:520px){.cse-compare-drawer-panel{width:100vw!important}.cse-compare-drawer-body{padding:12px}.cse-compare-drawer-item{grid-template-columns:64px minmax(0,1fr) 30px;gap:9px;padding:9px}.cse-compare-drawer-image{width:64px;height:64px}.cse-compare-drawer-head{padding:14px 16px}.cse-compare-drawer-footer{padding:12px}}
@media(prefers-reduced-motion:reduce){.cse-compare-drawer-overlay,.cse-compare-drawer-panel{transition:none!important}}
