/* DoubleS storefront product comparison & rich details */
.product-card{position:relative}
.card-bottom .card-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.card-bottom .card-actions .product-compare-toggle{height:38px;width:38px;margin:0;padding:0;display:grid;place-items:center;border-radius:10px;border:1px solid var(--border,#40516a);background:var(--navy,#152235);color:#fff;cursor:pointer;flex:0 0 38px}
.card-bottom .card-actions .compare-action-icon{width:19px;height:19px;display:block}
.card-bottom .card-actions .product-compare-toggle:focus-visible{outline:2px solid #ff818e;outline-offset:2px}
.card-bottom .card-actions .product-compare-toggle.active{border-color:#fa7783;background:#7d364a;color:#fff}
@media(max-width:650px){.card-bottom .card-actions{gap:4px}.card-bottom .card-actions .product-compare-toggle{height:32px;width:32px;flex-basis:32px}.card-bottom .card-actions .compare-action-icon{width:17px;height:17px}}

.card-bottom .card-actions .product-compare-toggle:hover{border-color:#ff717d;color:#fff;background:#d25462}
.detail-actions [data-compare-toggle]:hover,.detail-actions [data-compare-toggle].active{border-color:#ff717d;color:#fb6974;background:#ff72751c}
.compare-dock{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:30;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:12px 15px;background:#1c2a3d;color:#f4f7fb;border:1px solid #415169;border-radius:15px;box-shadow:0 12px 45px #06102088;font-size:13px;max-width:calc(100vw - 20px)}
.compare-dock button{padding:8px 12px;border:1px solid #485c75;border-radius:8px;background:#f16a74;color:#fff;font-size:12px;font-weight:750;cursor:pointer}
.compare-dock [data-compare-clear]{background:transparent;color:#e6edf7}
.compare-layer{position:fixed;inset:0;z-index:9999;background:#030812c9;display:flex;align-items:center;justify-content:center;padding:18px}
.compare-open{overflow:hidden!important}
.compare-panel{width:min(1160px,100%);max-height:95vh;overflow:auto;background:#1b293c;color:#eef3fa;border:1px solid #3e526c;border-radius:17px;box-shadow:0 40px 110px #0009}
.compare-panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:15px 22px;border-bottom:1px solid #3b4b62;position:sticky;top:0;background:#1b293c;z-index:2}
.compare-panel-head h2{margin:0;font-size:20px}.compare-panel-head button{font-size:25px;border:0;background:transparent;color:#dbe4f3;cursor:pointer}
.compare-content{padding:18px 20px 25px}.compare-hint,.compare-loading{font-size:12px;color:#b1c0d6;line-height:1.6}
.compare-scroll{max-width:100%;overflow:auto}.compare-table{border-collapse:collapse;width:100%;min-width:580px;table-layout:fixed}
.compare-table th,.compare-table td{border-bottom:1px solid #3a4b63;padding:12px 11px;text-align:left;vertical-align:top;font-size:12px;overflow-wrap:anywhere}
.compare-table th:first-child{width:150px;color:#a9bbd4}.compare-table td{color:#eef4fb}
.compare-product{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.compare-product img{width:105px;height:80px;object-fit:contain;border-radius:9px;background:#26364b}
.compare-product a{color:#f4f8fc;font-weight:750;text-decoration:none}.compare-product button{background:transparent;color:#ff8d97;border:1px solid #89535e;border-radius:7px;padding:6px 8px;font-size:11px;cursor:pointer}
.detail-photo-choices{display:flex;gap:8px;flex-wrap:wrap;padding:0 10px 13px;justify-content:center;max-width:100%}
.detail-photo-choices button{width:48px;height:48px;border:2px solid #8192a4;border-radius:8px;background:#e8edf4;padding:2px;cursor:pointer}
.detail-photo-choices button.active{border-color:#fa6b77}.detail-photo-choices img{width:100%;height:100%;object-fit:contain}
.product-extra-section{padding:8px 34px 30px;border-top:1px solid var(--border,#40516a)}.product-extra-section h3{font-size:18px;margin:16px 0}.product-extra-section .detail-hint{font-size:12px;color:var(--muted,#9daec2)}
.product-spec-grid{display:grid;grid-template-columns:1fr;gap:0;margin:0;max-width:750px}
.product-spec-grid>div{display:grid;grid-template-columns:40% 60%;padding:10px 11px;gap:12px;border-bottom:1px solid var(--border,#40516a);font-size:12px}
.product-spec-grid dt{color:var(--muted,#99aabe)}.product-spec-grid dd{margin:0;font-weight:650;overflow-wrap:anywhere}
.product-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.product-related-grid button{background:var(--surface,#202f43);border:1px solid var(--border,#40516a);border-radius:11px;padding:10px;color:var(--text,#f4f5f9);text-align:left;display:flex;flex-direction:column;gap:8px;cursor:pointer;font-size:12px}
.product-related-grid button img{height:105px;width:100%;object-fit:contain}.product-related-grid button span{flex:1}.product-related-grid button strong{color:#f1727d}
@media(max-width:650px){.compare-dock{width:calc(100% - 24px);bottom:8px}.compare-table th:first-child{width:105px}.compare-content{padding:10px}.product-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-extra-section{padding:7px 18px 22px}.product-spec-grid>div{grid-template-columns:37% 63%;gap:7px}.detail-photo-choices button{width:43px;height:43px}}

/* Cart state: coral bag when this product is already in the cart. */
.card-bottom .card-actions .card-add.is-in-cart{
  background:#ed5967;color:#fff;
  box-shadow:inset 0 0 0 1px #ffa0aa,0 0 0 2px rgba(237,89,103,.16);
}
.card-bottom .card-actions .card-add.is-in-cart:hover{background:#d94457}
.card-bottom .card-actions .card-add.is-in-cart:focus-visible{outline:2px solid #ffa0aa;outline-offset:2px}
.detail-actions .detail-buy.is-in-cart{background:#a63f50;box-shadow:inset 0 0 0 1px #f5949f}
.detail-actions .detail-buy.is-in-cart:hover{background:#96364a}

/* Comparison window inherits storefront's active light/dark theme. */
html:not([data-theme="dark"]) .compare-panel{background:#fff;color:#1d2b40;border-color:#d5deea;box-shadow:0 24px 80px #13233c55}
html:not([data-theme="dark"]) .compare-panel-head{background:#fff;border-color:#e3e9f1}
html:not([data-theme="dark"]) .compare-panel-head button{color:#273950}
html:not([data-theme="dark"]) .compare-hint,html:not([data-theme="dark"]) .compare-loading{color:#64748a}
html:not([data-theme="dark"]) .compare-table th,html:not([data-theme="dark"]) .compare-table td{border-color:#e1e7f0}
html:not([data-theme="dark"]) .compare-table th:first-child{color:#586a83}
html:not([data-theme="dark"]) .compare-table td{color:#1d2b40}
html:not([data-theme="dark"]) .compare-product img{background:#f3f6fa}
html:not([data-theme="dark"]) .compare-product a{color:#183c64}
html:not([data-theme="dark"]) .compare-product button{color:#c23f50;border-color:#edc2c7}
html:not([data-theme="dark"]) .compare-dock{background:#fff;color:#1b2b40;border-color:#d5deea;box-shadow:0 14px 40px #11243a33}
html:not([data-theme="dark"]) .compare-dock [data-compare-clear]{color:#344960;border-color:#cbd6e1}
html:not([data-theme="dark"]) .card-bottom .card-actions .product-compare-toggle{background:#fff;color:#33465e;border-color:#ccd5e2}
html:not([data-theme="dark"]) .card-bottom .card-actions .product-compare-toggle.active{background:#ffe8eb;color:#b33549;border-color:#df8c98}
