/* CoolStick store: shop grid, product page, cart, checkout, my account. Dark, matching the homepage. */

/* ---------- Product card (shared with the homepage rails) ---------- */
/* home:start. The home page loads no shop.css: inc/woocommerce.php prints this block inline after home.css instead.
   Keep every rule the home page needs from this file inside it. */
.pcard{scroll-snap-align:start;display:block;color:var(--ink);text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .3s,border-color .3s;position:relative;height:100%}
.pcard:hover{transform:translateY(-6px);border-color:rgba(25,179,179,.5)}
.pcard .ph{display:grid;place-items:center;aspect-ratio:4/5;background:#fff;overflow:hidden}
.pcard .ph img{width:100%;height:100%;object-fit:contain;transition:transform .5s}
.pcard:hover .ph img{transform:scale(1.06) rotate(-2deg)}
.pcard .meta{padding:14px 16px 16px;display:flex;justify-content:space-between;gap:10px;align-items:flex-end}
.pcard .meta > span:first-child{min-width:0}
.pcard .meta b{display:block;font-weight:600;font-size:14.5px;line-height:1.3}
.pcard .meta small{display:block;color:var(--mute);font-size:12.5px;margin-top:2px}
.pcard .meta .pr{font:700 28px/.9 var(--display);white-space:nowrap;text-align:right}
.pcard .meta .pr del{display:block;font:500 13px var(--font);color:var(--mute)}
.pcard .meta .pr ins{text-decoration:none}
.badge2{position:absolute;left:12px;top:12px;background:#0a0a0b;color:#fff;font:700 11px var(--font);letter-spacing:.08em;text-transform:uppercase;padding:6px 10px;border-radius:999px;z-index:2}
.badge2.sale{background:var(--danger)}
.badge2.build{background:var(--teal)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media (max-width:860px){
  .pcard .meta{flex-direction:column;align-items:flex-start}
  .pcard .meta .pr{text-align:left}
}
/* home:end */

/* ---------- Shop layout ---------- */
.csl-shop{max-width:1320px;margin:0 auto;padding:36px clamp(16px,4vw,48px) 40px}
.csl-crumbs{font-size:13px;color:var(--mute);margin-bottom:14px}
.csl-crumbs a{color:var(--mute);text-decoration:none}
.csl-crumbs a:hover{color:var(--ink)}
.csl-crumbs .sep{margin:0 8px;opacity:.5}
.shop-head{margin-bottom:28px}
.shop-title{font:700 clamp(56px,7vw,104px)/.85 var(--display);text-transform:uppercase}
.shop-intro{color:#c9c9ce;font-size:17px;max-width:620px;margin-top:12px}
.shop-cats{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.shop-cats a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:#d9d9de;text-decoration:none;font:600 13.5px var(--font)}
.shop-cats a small{color:var(--mute);font-weight:500}
.shop-cats a:hover{border-color:rgba(255,255,255,.3)}
.shop-cats a.on{background:#fff;color:#0a0a0b;border-color:#fff}
.shop-cats a.on small{color:#555}
.shop-build{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 30px;margin-bottom:28px;border-radius:22px;text-decoration:none;color:var(--ink);background:linear-gradient(120deg,#007A7A 0%,#0a4f57 50%,#141416 100%);border:1px solid rgba(25,179,179,.35)}
.shop-build .eyebrow{display:block;font:600 12px var(--font);letter-spacing:.2em;text-transform:uppercase;color:#9ff0f0}
.shop-build b{display:block;font:700 44px/.9 var(--display);text-transform:uppercase;margin:6px 0}
.shop-build small{color:#d4eded;font-size:14.5px}
.shop-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;color:var(--mute);font-size:14px}
.shop-bar .woocommerce-result-count{margin:0}
.shop-bar .woocommerce-ordering{margin:0}
.shop-grid,.csl ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.csl ul.products::before,.csl ul.products::after{display:none}
.csl ul.products li.product.csl-li{width:auto;margin:0;padding:0;float:none}
.woocommerce-pagination{margin-top:34px;text-align:center}
.woocommerce-pagination ul.page-numbers{display:inline-flex;gap:6px;list-style:none;padding:0;margin:0;border:0}
.woocommerce-pagination ul.page-numbers li{border:0;float:none}
.woocommerce-pagination .page-numbers a,.woocommerce-pagination .page-numbers span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;font-weight:600}
.woocommerce-pagination .page-numbers .current{background:#fff;color:#0a0a0b}

/* ---------- Form controls ---------- */
.csl-shop select,.csl-shop input[type=text],.csl-shop input[type=email],.csl-shop input[type=tel],.csl-shop input[type=password],.csl-shop input[type=number],.csl-shop input[type=search],.csl-shop textarea,
.csl-shop .select2-container--default .select2-selection--single{background:#0f0f11;color:var(--ink);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:12px 14px;font:500 15px var(--font);min-height:46px;width:100%}
.csl-shop .woocommerce-ordering select{width:auto;padding-right:36px}
.csl-shop input:focus,.csl-shop select:focus,.csl-shop textarea:focus{outline:none;border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(25,179,179,.2)}
.csl-shop label{color:#d9d9de;font-size:14px;font-weight:600}
.csl-shop .required{color:#ff6b7d;text-decoration:none}
.csl-shop .select2-container--default .select2-selection--single{padding:0}
.csl-shop .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ink);line-height:44px;padding-left:14px}
.csl-shop .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px;right:8px}
.select2-dropdown{background:#141416;border-color:rgba(255,255,255,.16);color:var(--ink)}
.select2-container--default .select2-search--dropdown .select2-search__field{background:#0f0f11;color:var(--ink);border-color:rgba(255,255,255,.16)}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--teal)}
.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background:#232326}

/* ---------- Buttons from WooCommerce and plugins ---------- */
.csl-shop .button,.csl-shop button.button,.csl-shop input.button,.csl-shop a.button,.csl-shop #respond input#submit,
.csl-shop .single_add_to_cart_button,.csl-shop .checkout-button,.csl-shop #place_order,.csl-shop .wc-forward{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--surface-2);color:var(--ink);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:13px 20px;font:700 14.5px/1.1 var(--font);text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s}
.csl-shop .button:hover{border-color:rgba(255,255,255,.4);background:#232326;color:var(--ink)}
.csl-shop .button.alt,.csl-shop .single_add_to_cart_button,.csl-shop .checkout-button,.csl-shop #place_order{background:var(--teal);border-color:var(--teal);color:#fff}
.csl-shop .button.alt:hover,.csl-shop .single_add_to_cart_button:hover,.csl-shop .checkout-button:hover,.csl-shop #place_order:hover{background:#008f8f;border-color:#008f8f;color:#fff}
.csl-shop .button:disabled,.csl-shop .button.disabled{opacity:.5;cursor:not-allowed}

/* ---------- Notices ---------- */
.csl .woocommerce-message,.csl .woocommerce-info,.csl .woocommerce-error,.csl .woocommerce-notices-wrapper > *{list-style:none;margin:0 0 20px;padding:14px 18px 14px 18px;border-radius:14px;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.csl .woocommerce-message::before,.csl .woocommerce-info::before,.csl .woocommerce-error::before{display:none}
.csl .woocommerce-message{border-color:rgba(25,179,179,.5)}
.csl .woocommerce-error{border-color:rgba(215,38,61,.6)}
.csl .woocommerce-error li{list-style:none}
.csl .woocommerce-message .button,.csl .woocommerce-info .button{order:2;padding:9px 14px}

/* ---------- Single product ---------- */
.csl-product div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:start;position:relative}
.csl-product div.product div.images,.csl-product div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.csl-product div.product div.images{position:relative}
.csl-product .woocommerce-product-gallery{border-radius:24px;overflow:hidden;background:radial-gradient(circle at 50% 40%,#fff,#e4e6e8)}
.csl-product .woocommerce-product-gallery__image img{width:100%;height:auto;display:block}
.csl-product .woocommerce-product-gallery__trigger{position:absolute;right:14px;top:14px;z-index:3;width:40px;height:40px;border-radius:12px;background:rgba(10,10,11,.7);display:grid;place-items:center;color:#fff;text-decoration:none}
.csl-product .flex-control-thumbs{display:flex;gap:8px;padding:10px;margin:0;list-style:none;background:#0f0f11}
.csl-product .flex-control-thumbs li{width:72px!important;float:none!important}
.csl-product .flex-control-thumbs img{border-radius:10px;opacity:.6;cursor:pointer}
.csl-product .flex-control-thumbs img.flex-active{opacity:1;outline:2px solid var(--teal-2)}
.csl-product .onsale{position:absolute;left:16px;top:16px;z-index:5;background:var(--danger);color:#fff;font:700 12px var(--font);letter-spacing:.08em;text-transform:uppercase;padding:7px 12px;border-radius:999px;min-height:0;min-width:0;line-height:1;margin:0}
.csl-product .product_title{font:700 clamp(46px,5vw,76px)/.86 var(--display);text-transform:uppercase;margin:4px 0 14px}
.csl-product .summary .price{font:700 44px/1 var(--display);color:var(--ink);margin:0 0 18px}
.csl-product .summary .price del{font-size:.6em;color:var(--mute);margin-right:8px}
.csl-product .summary .price ins{text-decoration:none}
.csl-product .woocommerce-product-details__short-description{color:#cfcfd4;font-size:16.5px;margin-bottom:22px}
.csl-product .woocommerce-product-details__short-description p{margin:0 0 10px}
/* A plugin's front.css forces form.cart to display:block !important */
body.csl .csl-product form.cart:not(.variations_form){display:grid!important}
.csl-product form.cart{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:stretch;margin:0 0 22px;padding:18px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.csl-product form.cart > *:not(.quantity):not(.single_add_to_cart_button){grid-column:1/-1}
.csl-product form.cart .quantity{margin:0}
.csl-product form.cart .quantity input.qty{width:84px;text-align:center;min-height:52px;height:100%}
.csl-product form.cart .single_add_to_cart_button{width:100%;min-height:52px;font-size:15.5px}
.csl-product form.cart.variations_form{display:block}
.csl-product form.cart .woocommerce-variation-add-to-cart{display:grid;grid-template-columns:auto 1fr;gap:12px}
/* YITH gift card "Gift this product" box (#gift-this-product) */
.csl-product #gift-this-product{background:#0f0f11;border:1px solid var(--line);border-radius:14px;color:#cfcfd4;padding:16px 18px;margin:0}
.csl-product #gift-this-product .gift-this-product-message{display:grid;grid-template-columns:32px 1fr;column-gap:12px;align-items:center}
.csl-product #gift-this-product .ywgc_woocommerce_message_icon{width:28px;height:auto;filter:invert(1);grid-row:1}
.csl-product #gift-this-product .gift-this-product-title{display:block;margin:0;font:700 26px/1 var(--display);text-transform:uppercase;color:var(--ink)}
.csl-product #gift-this-product .gift-this-product-title-message{grid-column:1/-1;margin:8px 0 10px;font-size:14px;color:var(--mute)}
.csl-product #gift-this-product #give-as-present{grid-column:1/-1;justify-self:start;display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:8px 14px;color:var(--ink);font-weight:600;font-size:14px;text-decoration:none;box-shadow:none}
.csl-product #gift-this-product #give-as-present:hover{border-color:var(--teal-2)}
.csl-product #gift-this-product .dashicons{font-size:16px;width:16px;height:16px}
.csl-product #gift-this-product .yith-ywgc-gift-this-product-form-container{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);text-align:left}
.csl-product #gift-this-product .yith-ywgc-gift-this-product-form-container *{text-align:left}
.csl-product #gift-this-product .yith-ywgc-gift-this-product-form-container input,.csl-product #gift-this-product .yith-ywgc-gift-this-product-form-container textarea{max-width:none!important;width:100%!important;flex:none!important}
.csl-product #gift-this-product .yith-ywgc-gift-this-product-form-container [class*="recipient"] > div,.csl-product #gift-this-product .yith-ywgc-gift-this-product-form-container [class*="sender"] > div{display:block!important;width:100%!important}
.csl-product #gift-this-product h3,.csl-product #gift-this-product h5{color:var(--ink);font:700 15px var(--font);margin:14px 0 10px;text-transform:none;letter-spacing:0}
.csl-product #gift-this-product .ywgc-design-list ul{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0;margin:0;list-style:none}
.csl-product #gift-this-product .ywgc-design-list li{display:block;width:auto;margin:0}
.csl-product #gift-this-product .ywgc-preset-image{border-radius:10px;overflow:hidden;border:2px solid transparent}
.csl-product #gift-this-product .ywgc-preset-image.selected_image_parent{border-color:var(--teal-2)}
.csl-product #gift-this-product label,.csl-product #gift-this-product .ywgc-label{display:block;width:auto;float:none;margin:0 0 6px;color:#d9d9de;font-size:13.5px;font-weight:600}
.csl-product #gift-this-product input[type=text],.csl-product #gift-this-product input[type=email],.csl-product #gift-this-product textarea{display:block;width:100%!important;margin:0 0 12px;float:none}
.csl-product #gift-this-product .ywgc-recipient-info,.csl-product #gift-this-product .ywgc-sender-info,.csl-product #gift-this-product [class*="ywgc-single-recipient"],.csl-product #gift-this-product .ywgc-message{display:block}
.csl-product #gift-this-product .ywgc-recipient-info > *,.csl-product #gift-this-product .ywgc-sender-info > *{display:block;width:100%}
.csl-product #gift-this-product .ywgc_section_title,.csl-product #gift-this-product .ywgc-delivery-info-title{color:var(--mute);font:600 12px var(--font);letter-spacing:.14em;text-transform:uppercase;margin:16px 0 10px}
.csl-product #gift-this-product button,.csl-product #gift-this-product input[type=submit],.csl-product #gift-this-product .ywgc-add-gift-product-to-cart,.csl-product #gift-this-product a.button{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:10px;background:var(--teal);color:#fff;border:1px solid var(--teal);border-radius:12px;font:700 15px var(--font);text-decoration:none;cursor:pointer}
.csl-product form.cart table.variations{width:100%;margin-bottom:6px}
.csl-product form.cart table.variations th,.csl-product form.cart table.variations td{display:block;padding:4px 0;text-align:left}
.csl-product form.cart .reset_variations{color:var(--mute);font-size:13px}
.csl-product .woocommerce-variation-price .price{font-size:32px}
.csl-product .stock{color:var(--teal-2);font-weight:600}
.csl-product .stock.out-of-stock{color:#ff6b7d}
.csl-buildbtn{width:100%;margin:0 0 18px}
.csl-trust{list-style:none;padding:0;margin:0 0 22px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.csl-trust li{border:1px solid var(--line);border-radius:14px;padding:12px 14px;color:var(--mute);font-size:13px;line-height:1.35}
.csl-trust b{display:block;color:var(--ink);font-size:13.5px;margin-bottom:2px}
.csl-trust a{color:var(--teal-2)}
.csl-product .product_meta{color:var(--mute);font-size:13.5px;display:grid;gap:4px}
.csl-product .product_meta a{color:#d9d9de}
.csl-product .woocommerce-tabs{grid-column:1/-1;margin-top:30px}
.csl-product .woocommerce-tabs ul.tabs{display:flex;gap:6px;list-style:none;padding:0;margin:0 0 18px;border:0;overflow-x:auto}
.csl-product .woocommerce-tabs ul.tabs::before,.csl-product .woocommerce-tabs ul.tabs li::before,.csl-product .woocommerce-tabs ul.tabs li::after{display:none}
.csl-product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;background:none;border-radius:0}
.csl-product .woocommerce-tabs ul.tabs li a{display:block;padding:10px 16px;border-radius:999px;border:1px solid var(--line);color:#d9d9de;text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap}
.csl-product .woocommerce-tabs ul.tabs li.active a{background:#fff;color:#0a0a0b;border-color:#fff}
.csl-product .woocommerce-Tabs-panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:clamp(18px,3vw,34px);color:#d2d2d7;font-size:16px;line-height:1.7}
.csl-product .woocommerce-Tabs-panel h2{font:700 34px/1 var(--display);text-transform:uppercase;color:var(--ink);margin:0 0 12px}
.csl-product .woocommerce-Tabs-panel p{margin:0 0 12px}
.csl-product .woocommerce-Tabs-panel img{border-radius:14px}
.csl-product .woocommerce-Tabs-panel table{border-collapse:collapse;width:100%}
.csl-product .woocommerce-Tabs-panel th,.csl-product .woocommerce-Tabs-panel td{border-bottom:1px solid var(--line);padding:10px;text-align:left}
.csl-product section.related,.csl-product section.up-sells{grid-column:1/-1;margin-top:50px}
.csl-product section.related > h2,.csl-product section.up-sells > h2{font:700 54px/.9 var(--display);text-transform:uppercase;margin:0 0 20px}
.csl-product #reviews .commentlist{list-style:none;padding:0}
.csl-product #reviews .comment_container{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.csl-product #reviews img.avatar{border-radius:50%;width:44px;height:44px}
.csl-product .star-rating{color:#ffd23f}

/* ---------- Cart ---------- */
.csl-store .store-body{color:#d9d9de}
.csl-store .woocommerce{display:block}
.csl-store table.shop_table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface);margin:0 0 24px}
.csl-store table.shop_table th{background:#0f0f11;color:var(--mute);font:600 12px var(--font);letter-spacing:.12em;text-transform:uppercase;padding:14px 16px;text-align:left;border:0}
.csl-store table.shop_table td{padding:16px;border-top:1px solid var(--line);vertical-align:middle;color:var(--ink)}
.csl-store table.shop_table td.product-thumbnail img{width:84px;border-radius:12px;background:#fff}
.csl-store table.shop_table td.product-name a{color:var(--ink);font-weight:600;text-decoration:none}
.csl-store table.shop_table td.product-name dl.variation{color:var(--mute);font-size:13px;margin:6px 0 0;display:grid;grid-template-columns:auto 1fr;gap:2px 8px}
.csl-store table.shop_table td.product-name dl.variation dd{margin:0}
.csl-store table.shop_table td.product-name dl.variation p{margin:0}
.csl-store a.remove{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:var(--mute)!important;border:1px solid var(--line);text-decoration:none;font-size:20px}
.csl-store a.remove:hover{background:var(--danger);color:#fff!important;border-color:var(--danger)}
.csl-store .quantity input.qty{width:76px;text-align:center}
.csl-store td.actions{background:#0f0f11}
.csl-store td.actions .coupon{display:inline-flex;gap:8px;align-items:center}
.csl-store td.actions .coupon input,.csl-store #coupon_code{width:220px!important;min-height:44px}
.csl-store .cart-collaterals{display:flex;justify-content:flex-end}
.csl-store .cart-collaterals .cart_totals{width:min(460px,100%);float:none}
.csl-store .cart_totals > h2,.csl-store #order_review_heading,.csl-store .woocommerce-billing-fields > h3,.csl-store .woocommerce-shipping-fields > h3,.csl-store .woocommerce-additional-fields > h3,.csl-store .woocommerce-order-details__title,.csl-store .woocommerce-column__title{font:700 38px/.95 var(--display);text-transform:uppercase;color:var(--ink);margin:0 0 14px}
.csl-store .cart_totals table.shop_table th{background:transparent;letter-spacing:0;text-transform:none;font-size:14px;color:var(--mute);border-top:1px solid var(--line)}
.csl-store .cart_totals tr:first-child th,.csl-store .cart_totals tr:first-child td{border-top:0}
.csl-store .order-total .amount{font:700 30px/1 var(--display)}
.csl-store .wc-proceed-to-checkout .checkout-button{width:100%;min-height:56px;font-size:16px}
.csl-store ul#shipping_method{list-style:none;padding:0;margin:0}
.csl-store .woocommerce-shipping-destination,.csl-store .shipping-calculator-button{color:var(--mute);font-size:13px}
.csl-store .cart-empty{font-size:18px}
.csl-store .return-to-shop .button{margin-top:6px}

/* ---------- Checkout ---------- */
.csl-store form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(20px,3vw,44px);row-gap:14px;align-items:start}
.csl-store form.checkout > .woocommerce-NoticeGroup{grid-column:1/-1}
.csl-store form.checkout #customer_details{display:grid;gap:26px;grid-column:1;grid-row:1 / span 2}
.csl-store form.checkout #order_review{grid-row:2}
.csl-store #order_review td.product-name{display:flex;align-items:center;gap:12px;font-weight:600}
.csl-store #order_review td.product-name img{width:64px!important;height:64px!important;object-fit:cover;border-radius:10px;background:#fff;flex:none}
.csl-store form.checkout #customer_details .col-1,.csl-store form.checkout #customer_details .col-2{width:auto;float:none;padding:24px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.csl-store form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0}
.csl-store form.checkout #order_review{grid-column:2;position:sticky;top:96px;padding:22px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.csl-store form.checkout #order_review table.shop_table{border:0;background:transparent;margin-bottom:16px}
.csl-store form.checkout #order_review table.shop_table th,.csl-store form.checkout #order_review table.shop_table td{padding:10px 4px;background:transparent}
.csl-store .form-row{margin:0 0 14px;padding:0}
.csl-store .form-row label{display:block;margin-bottom:6px}
.csl-store .form-row-first,.csl-store .form-row-last{width:48.5%}
.csl-store .woocommerce-checkout #payment,.csl-store #payment{background:transparent;border-radius:0}
.csl-store #payment ul.payment_methods{list-style:none;padding:0;margin:0 0 16px;border:0;display:grid;gap:8px}
.csl-store #payment ul.payment_methods li{padding:14px;border:1px solid var(--line);border-radius:14px;background:#0f0f11}
.csl-store #payment div.payment_box{background:#1b1b1e;color:#cfcfd4;border-radius:12px;margin:10px 0 0;padding:12px 14px;font-size:14px}
.csl-store #payment div.payment_box::before{display:none}
.csl-store #payment .place-order{padding:0;margin:0}
.csl-store #place_order{width:100%;min-height:58px;font-size:16.5px;margin-top:12px}
.csl-store .woocommerce-privacy-policy-text,.csl-store .woocommerce-terms-and-conditions-wrapper{color:var(--mute);font-size:13px}
.csl-store .woocommerce-form-coupon-toggle .woocommerce-info,.csl-store .woocommerce-form-login-toggle .woocommerce-info{justify-content:flex-start}
.csl-store .woocommerce-form-coupon-toggle a,.csl-store .woocommerce-form-login-toggle a{color:var(--teal-2)}
.csl-store form.checkout_coupon,.csl-store form.woocommerce-form-login{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface);margin-bottom:20px}

/* ---------- Thank you + My account ---------- */
.csl-store ul.order_details{list-style:none;padding:20px;margin:0 0 26px;display:flex;flex-wrap:wrap;gap:26px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.csl-store ul.order_details li{border:0;color:var(--mute);font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.csl-store ul.order_details li strong{display:block;color:var(--ink);font-size:16px;text-transform:none;letter-spacing:0;margin-top:4px}
.csl-store .woocommerce-customer-details address{border:1px solid var(--line);border-radius:16px;padding:18px;color:#d2d2d7;font-style:normal}
.csl-store--account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px;align-items:start}
.csl-store--account .woocommerce > .woocommerce-notices-wrapper{grid-column:1/-1}
.csl-store .woocommerce-MyAccount-navigation{width:auto;float:none;position:sticky;top:96px}
.csl-store .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.csl-store .woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:12px;color:#d9d9de;text-decoration:none;font-weight:600;font-size:14.5px}
.csl-store .woocommerce-MyAccount-navigation .is-active a{background:#fff;color:#0a0a0b}
.csl-store .woocommerce-MyAccount-content{width:auto;float:none;color:#d2d2d7}
.csl-store .woocommerce-MyAccount-content a{color:var(--teal-2)}
.csl-store--account .woocommerce > .u-columns,.csl-store--account #customer_login{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.csl-store--account #customer_login .u-column1,.csl-store--account #customer_login .u-column2{width:auto;float:none;padding:26px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.csl-store--account #customer_login h2{font:700 40px/.95 var(--display);text-transform:uppercase;margin:0 0 16px;color:var(--ink)}
.csl-store .woocommerce-form-login__rememberme{display:flex;gap:8px;align-items:center;margin:4px 0 12px}
.csl-store .lost_password a{color:var(--mute)}
.csl-store--account .woocommerce:has(#customer_login),.csl-store--account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)){display:block}
.csl-store--account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)):not(:has(#customer_login)){max-width:520px}
.csl-store--account .woocommerce > h2{font:700 40px/.95 var(--display);text-transform:uppercase;margin:0 0 14px;color:var(--ink)}
.csl-store form.woocommerce-form-login .button{width:100%;min-height:50px;background:var(--teal);border-color:var(--teal);color:#fff}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .shop-grid,.csl ul.products{grid-template-columns:repeat(3,1fr)}
  .csl-store form.checkout{grid-template-columns:1fr}
  .csl-store form.checkout #order_review_heading,.csl-store form.checkout #order_review{grid-column:1;grid-row:auto;position:static}
}
@media (max-width:860px){
  .shop-grid,.csl ul.products{grid-template-columns:repeat(2,1fr);gap:12px}
  .shop-build{flex-direction:column;align-items:flex-start}
  .csl-product div.product{grid-template-columns:1fr}
  .csl-product div.product div.images{position:static}
  .csl-trust{grid-template-columns:1fr}
  .csl-store--account .woocommerce{grid-template-columns:1fr}
  .csl-store .woocommerce-MyAccount-navigation{position:static}
  .csl-store--account #customer_login{grid-template-columns:1fr}
  .csl-store table.shop_table_responsive tr td{display:flex;justify-content:space-between;text-align:right}
  .csl-store table.shop_table_responsive thead{display:none}
  .csl-store table.shop_table_responsive tr td::before{content:attr(data-title) ": ";font-weight:600;color:var(--mute)}
  .csl-store td.actions .coupon{display:flex;width:100%}
  .csl-store .form-row-first,.csl-store .form-row-last{width:100%}
}

/* =====================================================================================================
   Theme wave 2026-11-14: galleries, phone widths, plugin UI (WAPO, gift cards, Stripe), cart, checkout
   ===================================================================================================== */

/* ---------- Single product: nothing wider than the screen (B6) ---------- */
.csl-product div.product > *{min-width:0}
.csl-product div.product div.images,.csl-product div.product div.summary,.csl-product .woocommerce-tabs{min-width:0;max-width:100%}
.csl-product .product_title,.csl-product .woocommerce-product-details__short-description,.csl-product .woocommerce-Tabs-panel{overflow-wrap:anywhere}
.csl-product .woocommerce-Tabs-panel table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.csl-product .woocommerce-Tabs-panel img,.csl-product .woocommerce-Tabs-panel iframe,.csl-product .woocommerce-Tabs-panel video{max-width:100%;height:auto}
.csl-product .woocommerce-Tabs-panel iframe{aspect-ratio:16/9;width:100%}
.csl-product .woocommerce-Tabs-panel pre{white-space:pre-wrap}

/* Old descriptions are wrapped in <div class="product">, which picked up the product's two-column grid (A09). */
.csl-product .woocommerce-Tabs-panel div.product,.csl-product .woocommerce-product-details__short-description div.product{display:block;gap:0}
.csl-product .woocommerce-Tabs-panel--description{max-width:820px}
.csl-product .woocommerce-Tabs-panel--description p,.csl-product .woocommerce-Tabs-panel--description li{font-size:16.5px;line-height:1.75;color:#d4d4d9}
.csl-product .woocommerce-Tabs-panel--description p:first-of-type{font-size:18px;color:var(--ink)}
.csl-product .woocommerce-Tabs-panel h3,.csl-product .woocommerce-Tabs-panel h4{font:700 26px/1 var(--display);text-transform:uppercase;color:var(--ink);margin:26px 0 10px}
.csl-product .woocommerce-Tabs-panel ul,.csl-product .woocommerce-Tabs-panel ol{padding-left:1.2em;margin:0 0 14px}
.csl-product .woocommerce-Tabs-panel a{color:var(--teal-2)}
.csl-product .woocommerce-Tabs-panel strong,.csl-product .woocommerce-Tabs-panel b{color:var(--ink)}
.csl-product .woocommerce-Tabs-panel u{text-decoration:none}
.csl-product .woocommerce-Tabs-panel [style*="column"]{columns:auto!important;column-count:1!important}

/* ---------- Product gallery: one main image + a thumbnail strip (B5) ---------- */
.csl-product .woocommerce-product-gallery{position:relative;background:#0f0f11;border:1px solid var(--line)}
.csl-product .woocommerce-product-gallery .flex-viewport{background:radial-gradient(circle at 50% 40%,#fff,#e4e6e8)}
.csl-product .woocommerce-product-gallery__wrapper{margin:0;padding:0}
.csl-product .woocommerce-product-gallery__image{background:radial-gradient(circle at 50% 40%,#fff,#e4e6e8)}
.csl-product .woocommerce-product-gallery__image a{display:block}
.csl-product .woocommerce-product-gallery__image img{width:100%;height:auto;object-fit:contain}
/* Before the slider starts (or with JS off) show only the first photo, never a stack. */
.csl-product .woocommerce-product-gallery:not(:has(.flex-control-thumbs)) .woocommerce-product-gallery__image:not(:first-child){display:none}
.csl-product .flex-control-thumbs{display:flex!important;flex-wrap:nowrap;gap:8px;padding:10px;margin:0;list-style:none;overflow-x:auto;scrollbar-width:thin;background:#0f0f11}
.csl-product .flex-control-thumbs li{flex:0 0 68px;width:68px!important;margin:0!important;float:none!important}
.csl-product .flex-control-thumbs img{display:block;width:68px;height:68px;object-fit:cover;border-radius:10px;background:#fff;opacity:.55;cursor:pointer;transition:opacity .2s}
.csl-product .flex-control-thumbs img:hover{opacity:.9}
.csl-product .flex-control-thumbs img.flex-active{opacity:1;outline:2px solid var(--teal-2);outline-offset:-2px}
.csl-product .woocommerce-product-gallery__trigger{font-size:0}
.csl-product .woocommerce-product-gallery__trigger::before{content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;box-sizing:border-box;margin:-4px 0 0 -4px}
.csl-product .woocommerce-product-gallery__trigger::after{content:"";position:absolute;width:7px;height:2px;background:#fff;transform:rotate(45deg);left:22px;top:24px}
.csl-product .woocommerce-product-gallery__trigger img{display:none!important}
.csl-product .zoomImg{background:#fff}
.pswp__bg{background:#0a0a0b}

/* ---------- YITH product add-ons (Mueller tape colours, the pre-builts' shaft) ---------- */
.csl-product #yith-wapo-container{margin:0;width:100%}
.csl-product .yith-wapo-block{margin:0 0 6px}
.csl-product .yith-wapo-addon{background:transparent!important;padding:0!important;margin:0 0 12px;border:0}
/* Options are always shown (the plugin's collapsed toggle looked like an empty white input); the title is a label. */
.csl-product .yith-wapo-addon .wapo-addon-title{display:block;margin:0 0 10px;padding:0;border:0;background:none!important;color:var(--ink)!important;font:600 15px var(--font);cursor:default;pointer-events:none;text-transform:none;letter-spacing:0}
.csl-product .yith-wapo-addon .wapo-addon-title::before,.csl-product .yith-wapo-addon .wapo-addon-title::after{display:none!important;content:none!important}
.csl-product .yith-wapo-addon .wapo-addon-title .required{color:#ff6b7d}
.csl-product .yith-wapo-block .yith-wapo-addon .options{display:block!important;margin:0}
.csl-product .yith-wapo-addon .options::after{content:"";display:table;clear:both}
.csl-product .yith-wapo-addon .title-image{display:none!important}
.csl-product .yith-wapo-addon .yith-wapo-option{display:inline-block;vertical-align:top;float:none!important;width:auto!important;max-width:none!important;margin:0 6px 6px 0!important;position:relative}
.csl-product .yith-wapo-addon-type-color .yith-wapo-option label{display:flex;flex-direction:column;align-items:center;gap:4px;width:64px;padding:6px 4px;border:1px solid var(--line);border-radius:12px;background:#0f0f11;cursor:pointer;color:#d9d9de;font-size:11.5px;line-height:1.2;text-align:center}
.csl-product .yith-wapo-addon-type-color .yith-wapo-option .color{display:block;width:30px;height:30px;border-radius:50%;border:2px solid rgba(255,255,255,.25)}
.csl-product .yith-wapo-addon-type-color .yith-wapo-option small{font-size:11.5px;color:inherit}
.csl-product .yith-wapo-addon-type-color .yith-wapo-option.selected label,.csl-product .yith-wapo-addon-type-color .yith-wapo-option input:checked + label{border-color:var(--teal-2);box-shadow:0 0 0 2px rgba(25,179,179,.35);color:var(--ink)}
.csl-product .yith-wapo-option .tooltip{display:none!important}
.csl-product .yith-wapo-addon select,.csl-product .yith-wapo-addon input[type=text],.csl-product .yith-wapo-addon input[type=number],.csl-product .yith-wapo-addon textarea{width:100%!important;max-width:none!important;background:#0f0f11!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:12px!important;min-height:48px;padding:10px 14px;font:500 15px var(--font)}
.csl-product .yith-wapo-addon select option{background:#141416;color:var(--ink)}
.csl-product .yith-wapo-addon .option-image:empty{display:none}
.csl-product .yith-wapo-addon .min-error,.csl-product .yith-wapo-addon .min-error *{color:#ff8b99}
.csl-product #wapo-total-price-table{margin:4px 0 2px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#0f0f11}
.csl-product #wapo-total-price-table table{width:100%;margin:0;border:0;border-collapse:collapse}
.csl-product #wapo-total-price-table th,.csl-product #wapo-total-price-table td{padding:2px 0;border:0;background:none;color:var(--mute);font:600 13px var(--font);text-align:left;letter-spacing:.06em;text-transform:uppercase;vertical-align:baseline}
.csl-product #wapo-total-price-table td{text-align:right;color:var(--ink);font:700 30px/1 var(--display);letter-spacing:0;text-transform:none}
.csl-product #wapo-total-price-table td small{display:none}

/* ---------- Gift card product (YITH) ---------- */
.csl-product .ywgc_choose_design_title,.csl-product .ywgc_select_amount_title,.csl-product .ywgc_delivery_info_title{font:700 26px/1 var(--display);text-transform:uppercase;color:var(--ink);margin:6px 0 12px;letter-spacing:0}
.csl-product .gift-cards_form .ywgc-design-list ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;padding:0;margin:0 0 18px;list-style:none}
.csl-product .gift-cards_form .ywgc-design-list li{margin:0;width:auto;float:none}
.csl-product .gift-cards_form .ywgc-preset-image{border-radius:10px;overflow:hidden;border:2px solid transparent;cursor:pointer;background:#fff}
.csl-product .gift-cards_form .ywgc-preset-image img{display:block;width:100%;height:auto}
.csl-product .gift-cards_form .ywgc-preset-image.selected_image_parent{border-color:var(--teal-2);box-shadow:0 0 0 2px rgba(25,179,179,.35)}
.csl-product .gift-cards-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.csl-product .gift-cards-list > h3{flex:0 0 100%}
.csl-product .gift-cards-list button.ywgc-amount-buttons{flex:1 1 calc(25% - 8px);min-width:72px;min-height:52px;margin:0;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:#0f0f11;color:var(--ink);font:700 24px/1 var(--display);cursor:pointer;box-shadow:none;transition:border-color .2s,background .2s}
.csl-product .gift-cards-list button.ywgc-amount-buttons *{color:inherit;font:inherit}
.csl-product .gift-cards-list button.ywgc-amount-buttons:hover{border-color:rgba(255,255,255,.4)}
.csl-product .gift-cards-list button.ywgc-amount-buttons.selected_button,.csl-product .gift-cards-list button.ywgc-amount-buttons.selected{background:#fff;color:#0a0a0b;border-color:#fff}
.csl-product .gift-cards-list .ywgc-manual-amount-container{flex:1 1 100%;display:flex;align-items:center;gap:8px;margin:0;padding:0 14px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#0f0f11}
.csl-product .gift-cards-list .ywgc-manual-amount-container .ywgc-manual-currency-symbol{color:var(--mute);font-weight:600}
.csl-product .gift-cards-list .ywgc-manual-amount-container .ywgc-manual-currency-symbol.right{display:none}
.csl-product .gift-cards-list .ywgc-manual-amount-container input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:12px 0!important;color:var(--ink)}
.csl-product .gift-cards_form .gift-card-content-editor.step-content{display:grid;gap:4px;margin:0 0 16px}
.csl-product .gift-cards_form h5{color:var(--mute);font:600 12px var(--font);letter-spacing:.14em;text-transform:uppercase;margin:14px 0 8px}
.csl-product .gift-cards_form .gift-card-content-editor label{display:block;float:none;width:auto;margin:0 0 6px}
.csl-product .gift-cards_form .gift-card-content-editor input,.csl-product .gift-cards_form .gift-card-content-editor textarea{display:block;width:100%!important;max-width:none!important;margin:0 0 12px;float:none}
.csl-product .gift-cards_form .gift_card_template_button{display:grid;grid-template-columns:auto 1fr;gap:12px}
/* The live preview card under the gallery */
.csl-product .ywgc-main-form-preview-container{margin:0;padding:18px 20px;background:#141416;color:#d9d9de;border-top:1px solid var(--line)}
.csl-product .ywgc-main-form-preview-container hr{border:0;border-top:1px solid var(--line);margin:12px 0!important}
.csl-product .ywgc-form-preview-title-container{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.csl-product .ywgc-form-preview-title{font:700 28px/1 var(--display);text-transform:uppercase;color:var(--ink)}
.csl-product .ywgc-form-preview-amount{font:700 30px/1 var(--display);color:var(--ink)}
.csl-product .ywgc-form-preview-from,.csl-product .ywgc-form-preview-to{color:var(--mute);font-size:13px;font-weight:600}
.csl-product .ywgc-form-preview-from-content,.csl-product .ywgc-form-preview-to-content{color:var(--ink);font-size:14px}
.csl-product .ywgc-form-preview-message{color:#cfcfd4;font-style:italic;margin-top:8px}
.csl-product .ywgc-form-preview-message:empty::before{content:"Your message will show here.";color:var(--mute)}

/* ---------- YITH "Gift this product" (switched off in settings; a small link if it is ever turned back on) ---------- */
.csl-product #gift-this-product{border:0!important;padding:0!important;background:none;margin:2px 0 0}
.csl-product #gift-this-product .gift-this-product-message{display:block}
.csl-product #gift-this-product .ywgc_woocommerce_message_icon,.csl-product #gift-this-product .gift-this-product-title,.csl-product #gift-this-product .gift-this-product-title-message{display:none}
.csl-product #gift-this-product #give-as-present{border:0;padding:4px 0;color:var(--mute);font-weight:600;font-size:13.5px;text-decoration:underline;text-underline-offset:3px}

/* ---------- Stripe express buttons: no empty grey bars; shown only once a button has mounted ---------- */
.wc-stripe-express-skeleton{display:none!important}
.wc-stripe-cart-checkout-container:not(:has(iframe,button,.StripeElement,apple-pay-button)),
.wc-stripe-product-checkout-container:not(:has(iframe,button,.StripeElement,apple-pay-button)),
.wc-stripe-banner-checkout:not(:has(iframe,button,.StripeElement,apple-pay-button)),
.wc_stripe_mini_cart_payment_methods:not(:has(iframe,button,.StripeElement,apple-pay-button)){display:none!important}
.wc-stripe-cart-or{color:var(--mute);text-align:center;margin:12px 0}

/* ---------- Shop bar on phones (A22) ---------- */
.shop-bar{flex-wrap:wrap}
.shop-bar .woocommerce-notices-wrapper:empty{display:none}
@media (max-width:860px){
  .shop-bar{gap:10px}
  .shop-bar .woocommerce-result-count{flex:1 1 auto;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .shop-bar .woocommerce-ordering{flex:0 1 auto;min-width:0}
  .csl-shop .woocommerce-ordering select{max-width:100%;min-height:42px;padding:8px 32px 8px 12px;font-size:14px}
  .shop-title{font-size:clamp(48px,15vw,104px)}
  .shop-build b{font-size:38px}
  .shop-build{padding:22px}
  .shop-build .csl-btn{width:100%}
}

/* ---------- Cart (B3): one card per item on phones ---------- */
.csl-store table.shop_table td.product-thumbnail img{display:block;height:auto}
.csl-store table.shop_table td.product-name dl.variation{display:block}
.csl-store dl.variation dt.variation-StickBuild{display:none}
.csl-store dl.variation dd{margin:0}
.csl-store .csl-build-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:2px 0 6px}
.csl-store .csl-build-links a{color:var(--teal-2);font-weight:600;font-size:13px}
.csl-store .csl-build-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2px 14px;color:var(--mute);font-size:12.5px;line-height:1.45;font-weight:400}
.csl-store td.actions{text-align:right}
.csl-store td.actions .coupon{float:left}
.csl-store td.actions > .button{margin-left:8px}
@media (max-width:860px){
  body.csl .csl-store table.shop_table.cart{display:block;border-radius:18px}
  body.csl .csl-store table.shop_table.cart thead{display:none}
  body.csl .csl-store table.shop_table.cart tbody{display:block}
  body.csl .csl-store table.shop_table.cart tr.cart_item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"thumb name remove" "thumb price price" "qty qty sub";column-gap:14px;row-gap:10px;padding:16px;border-top:1px solid var(--line)}
  body.csl .csl-store table.shop_table.cart tr.cart_item:first-child{border-top:0}
  body.csl .csl-store table.shop_table.cart tr.cart_item td{display:block!important;padding:0;border:0;text-align:left!important;background:none;min-width:0}
  body.csl .csl-store table.shop_table.cart tr.cart_item td::before{display:none;content:none}
  body.csl .csl-store table.shop_table.cart td.product-thumbnail{grid-area:thumb}
  body.csl .csl-store table.shop_table.cart td.product-thumbnail img{width:76px;border-radius:12px}
  body.csl .csl-store table.shop_table.cart td.product-name{grid-area:name;font-size:15px;line-height:1.3}
  body.csl .csl-store table.shop_table.cart td.product-remove{grid-area:remove}
  body.csl .csl-store table.shop_table.cart td.product-price{grid-area:price;color:var(--mute);font-size:14px}
  body.csl .csl-store table.shop_table.cart td.product-quantity{grid-area:qty;display:flex!important;align-items:center;gap:10px}
  body.csl .csl-store table.shop_table.cart td.product-quantity::before{display:inline;content:"Qty";color:var(--mute);font-size:13px;font-weight:600}
  body.csl .csl-store table.shop_table.cart td.product-subtotal{grid-area:sub;align-self:center;text-align:right!important;font:700 26px/1 var(--display)}
  body.csl .csl-store table.shop_table.cart .quantity input.qty{width:72px;min-height:44px}
  body.csl .csl-store table.shop_table.cart tr:not(.cart_item){display:block}
  body.csl .csl-store table.shop_table.cart td.actions{display:flex!important;flex-direction:column;gap:10px;padding:16px;border-top:1px solid var(--line);text-align:left!important}
  body.csl .csl-store table.shop_table.cart td.actions::before{display:none}
  body.csl .csl-store td.actions .coupon{float:none;display:flex;gap:8px;width:100%}
  body.csl .csl-store td.actions .coupon input,body.csl .csl-store #coupon_code{flex:1;width:auto!important;min-width:0}
  body.csl .csl-store td.actions > .button{width:100%;margin:0}
  body.csl .csl-store .cart_totals table.shop_table tr{display:table-row}
  body.csl .csl-store .cart_totals table.shop_table th,body.csl .csl-store .cart_totals table.shop_table td{display:table-cell!important;text-align:right}
  body.csl .csl-store .cart_totals table.shop_table th{text-align:left}
  body.csl .csl-store .cart_totals table.shop_table td::before{display:none!important}
  .csl-store .woocommerce-shipping-destination{display:block;margin-top:4px}
}

/* ---------- Checkout (B4) ---------- */
.csl-store form.checkout > *,.csl-store form.checkout #customer_details > *{min-width:0}
.csl-store #order_review td.product-name{display:block;line-height:1.35}
.csl-store #order_review td.product-name::after{content:"";display:table;clear:both}
.csl-store #order_review td.product-name .csl-build-checkout-thumb{float:left;margin:0 12px 6px 0}
.csl-store #order_review td.product-name .csl-build-checkout-thumb img{width:56px!important;height:auto!important;object-fit:contain}
.csl-store #order_review td.product-name dl.variation{clear:both;margin:8px 0 0;font-weight:400}
.csl-store #order_review td.product-total{white-space:nowrap;vertical-align:top;text-align:right}
.csl-store #order_review .product-quantity{color:var(--mute);font-weight:600}
.csl-store #order_review .csl-build-list{grid-template-columns:1fr 1fr}
/* Preview copy: payments are off on purpose (dev guard); say so instead of "no available payment methods". */
.csl-store #payment ul.payment_methods li:has(.csl-preview-pay){padding:0;border:0;background:none}
.csl-store #payment .woocommerce-info:has(.csl-preview-pay){margin:0;padding:16px 18px;border:1px solid rgba(255,214,102,.45);background:rgba(255,214,102,.07);border-radius:14px}
.csl-preview-pay{display:block;color:#e6e6ea;font-size:14.5px;line-height:1.5}
.csl-preview-pay b{display:block;margin-bottom:4px;color:#ffe08a;font:700 24px/1 var(--display);text-transform:uppercase;letter-spacing:.01em}
@media (max-width:860px){
  .csl-store form.checkout{grid-template-columns:minmax(0,1fr)}
  .csl-store form.checkout #customer_details .col-1,.csl-store form.checkout #customer_details .col-2{padding:18px}
  .csl-store form.checkout #order_review{padding:16px}
  .csl-store .woocommerce-billing-fields > h3,.csl-store .woocommerce-shipping-fields > h3,.csl-store #order_review_heading{font-size:32px}
  .csl-store #ship-to-different-address{font:600 15px var(--font);text-transform:none;letter-spacing:0}
  .csl-store #ship-to-different-address label{display:flex;gap:10px;align-items:center}
  .csl-store #order_review .csl-build-list{grid-template-columns:1fr}
}

/* WAPO colour swatches: the plugin's own rules (.yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color ...) are
   more specific, so these repeat that chain. A tidy grid of swatch tiles. */
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .options{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option{display:block;float:none!important;width:auto!important;max-width:none!important;margin:0!important;text-align:center}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option label{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;width:auto;height:auto!important;min-height:78px;margin:0;padding:8px 4px;border:1px solid var(--line);border-radius:12px;background:#0f0f11;color:#d9d9de}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option label span.color{width:32px;height:32px;margin:0;border:2px solid rgba(255,255,255,.25);border-radius:50%}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option small{display:block;font-size:11.5px;line-height:1.2;color:inherit;overflow-wrap:anywhere}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option.selected label{border-color:var(--teal-2);box-shadow:0 0 0 2px rgba(25,179,179,.35);color:var(--ink)}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option.selected label span.color{border-color:#fff}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option.selected label::after{right:auto;left:calc(50% + 6px);bottom:auto;top:4px;background-color:var(--teal)}

/* Gift card: tidy preview and form */
.csl-product .ywgc-main-form-preview-container{min-height:0!important;height:auto!important}
.csl-product .ywgc-form-preview-separator{display:none}
.csl-product .gift-cards_form,.csl-product .gift-cards_form .gift-card-content-editor{text-align:left}
.csl-product .gift-cards-list .ywgc-manual-amount-container .ywgc-manual-currency-symbol{background:none!important;border:0!important;padding:0!important}
.csl-product .gift-cards_form #yith-wapo-container:empty,.csl-product .gift-cards_form #yith-wapo-container:not(:has(.yith-wapo-block)){display:none}
@media (max-width:520px){
  .csl-product .gift-cards-list button.ywgc-amount-buttons{flex-basis:calc(50% - 4px);font-size:24px}
}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .options{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}
.csl-product .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-color .yith-wapo-option small{overflow-wrap:normal;word-break:normal;font-size:11px}
/* Reserve the thumbnail strip (10 + 68 + 10px) before flexslider builds it, so the summary does not jump (CLS). */
.csl-product .woocommerce-product-gallery:not(:has(.flex-control-thumbs)):has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image){padding-bottom:88px}
.csl-product .flex-control-thumbs{height:88px;box-sizing:border-box}
/* The hover-zoom image must stay inside its photo (it covered the thumbnail strip and blocked taps). */
.csl-product .woocommerce-product-gallery .flex-viewport,.csl-product .woocommerce-product-gallery__image{position:relative;overflow:hidden}
.csl-product .flex-control-thumbs{position:relative;z-index:2}
/* Fade mode floats the slides; clear them so the viewport keeps the photo's height (woocommerce-general, which had
   this, is dequeued). */
.csl-product .woocommerce-product-gallery__wrapper::after{content:"";display:table;clear:both}

/* ---------- Product perf wave 2026-11-14 ---------- */
/* WooCommerce hides the gallery (inline opacity:0) until its script has started the slider, which made the photo, the
   page's LCP, wait for jQuery + flexslider. Show it at once: before the slider starts only the first photo shows and
   the thumbnail strip is reserved (above), so nothing moves when it does. */
.csl-product .woocommerce-product-gallery{opacity:1!important}
/* PhotoSwipe's CSS loads without blocking (inc/woocommerce.php); keep the closed lightbox hidden until it has. */
.pswp:not(.pswp--open){display:none}
/* Related products and up-sells sit two or three screens down on a phone, but their lazy card images still started
   loading with the main photo. Skipping their rendering until they come near the screen holds those images back
   (and the layout work); the block keeps its last height (auto), so nothing jumps. */
.csl-product section.related,.csl-product section.up-sells{content-visibility:auto;contain-intrinsic-block-size:auto 540px}
/* Placeholder heights match the real block (4 cards: 1 row, then 2 rows of 3, of 2, then 2 rows of phone cards). */
@media (max-width:1100px){.csl-product section.related,.csl-product section.up-sells{contain-intrinsic-block-size:auto 1020px}}
@media (max-width:860px){.csl-product section.related,.csl-product section.up-sells{contain-intrinsic-block-size:auto 1170px}}
@media (max-width:560px){.csl-product section.related,.csl-product section.up-sells{contain-intrinsic-block-size:auto 850px}}
/* Design pass 2026-11-16: native selects are drawn by the browser (iOS/WebKit showed a blank white box for the shop
   sort). Every store select gets the dark field look with our own chevron. */
.csl-shop select,.csl-product .yith-wapo-addon select,.csl-store select{-webkit-appearance:none!important;appearance:none!important;background-color:#0f0f11!important;color:var(--ink)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f4f4f4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important;padding-right:40px!important}
.csl-shop select option,.csl-store select option{background:#141416;color:var(--ink)}
/* Gift card form: YITH centres its field labels; ours sit left, over their fields, like every other form. */
.csl-product .gift-cards_form label[for^="ywgc-"],.csl-product .gift_card_template_button label[for^="ywgc-"],.csl-product label[for="ywgc-recipient-name"],.csl-product label[for="ywgc-recipient-email"],.csl-product label[for="ywgc-sender-name"],.csl-product label[for="ywgc-edit-message"]{display:block;text-align:left!important;width:auto!important;margin:0 0 6px;font:600 13.5px var(--font);color:#d9d9de}
.csl-product .ywgc-single-recipient,.csl-product .ywgc-sender-name,.csl-product .ywgc-message,.csl-product .gift-cards_form p{text-align:left!important}
/* Quantity fields: no browser spin arrows (WebKit drew a grey stepper inside the dark field). */
.csl input[type=number]::-webkit-inner-spin-button,.csl input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.csl input[type=number]{-moz-appearance:textfield;appearance:textfield}
/* Product tabs wrap on phones instead of running off the edge ("Revi…"). */
@media (max-width:600px){.csl-product .woocommerce-tabs ul.tabs{flex-wrap:wrap;overflow:visible}}
/* Checkboxes and radios (Remember me, newsletter, ship-to-different-address, terms): a readable size, brand colour. */
.csl-store input[type=checkbox],.csl-store input[type=radio]{accent-color:var(--teal);width:18px;height:18px;min-height:0;vertical-align:-4px;margin:0 8px 0 0;flex:none}
/* Register is the main action of its card, like Log in. */
.csl-store .woocommerce-form-register .woocommerce-form-register__submit{background:var(--teal);border-color:var(--teal);color:#fff}
.csl-store .woocommerce-form-register .woocommerce-form-register__submit:hover{background:#008f8f;border-color:#008f8f}
/* "Ship to a different address?" reads as a normal checkbox line at every width (desktop showed it as tiny caps). */
.csl-store h3#ship-to-different-address{font:600 15px/1.4 var(--font)!important;text-transform:none!important;letter-spacing:0!important;color:var(--ink);margin:0 0 18px}
.csl-store #ship-to-different-address label{display:flex;gap:10px;align-items:center;cursor:pointer}
/* Empty cart page */
.csl-cart-empty{margin:4px 0 0;color:#c9c9ce}
.csl-cart-empty .csl-btnrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.csl-cart-empty ~ .return-to-shop{display:none}
/* My account > Gift cards (YITH markup): house heading, buttons and field; the empty-state icon reads on dark. */
.csl-store .gift-card-panel-title-container{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.csl-store .gift-card-panel-title{font:700 34px/1 var(--display);text-transform:uppercase;margin:0;color:var(--ink)}
.csl-store .yith-add-new-gc-my-account-button,.csl-store .ywgc-link-gift-card-submit-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:transparent;color:var(--ink);font:700 14px var(--font);cursor:pointer}
.csl-store .ywgc-link-gift-card-submit-button{background:var(--teal);border-color:var(--teal);color:#fff}
.csl-store .yith-add-new-gc-my-account-button:hover{border-color:rgba(255,255,255,.4)}
.csl-store .ywgc-link-gift-card-fieldset-container{border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0}
.csl-store .ywgc-link-gift-card-fieldset-container label{flex:1 0 100%;font-weight:600}
.csl-store .ywgc-link-gift-card-fieldset-container input{flex:1;min-width:180px}
.csl-store .ywgc-empty-table{text-align:center;color:var(--mute)}
.csl-store .ywgc-empty-table-icon svg [stroke="#333333"]{stroke:#6b6b70}
.csl-store .ywgc-empty-table-icon svg [fill="#333333"],.csl-store .ywgc-empty-table-icon svg [fill="#000000"]{fill:#6b6b70}
/* Order view: space between the "Order #… was placed on …" line and the Order details heading. */
.csl-store .woocommerce-MyAccount-content > p:first-of-type mark{background:none;color:var(--ink);font-weight:700}
.csl-store .woocommerce-order-details{margin-top:22px}
/* Account menu on phones: a compact row of pills instead of a full-screen list. */
@media (max-width:860px){
  .csl-store .woocommerce-MyAccount-navigation{position:static}
  .csl-store .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:6px}
  .csl-store .woocommerce-MyAccount-navigation li{margin:0}
  .csl-store .woocommerce-MyAccount-navigation li a{padding:8px 12px!important;font-size:14px}
}
/* My Saved Sticks empty state (csl-builder markup): spacing between the line and its two buttons. */
.csl-store .cslds-empty{margin:0 0 14px;color:#c9c9ce}
.csl-store .cslds-links{display:flex;flex-wrap:wrap;gap:10px;margin:0}
/* Sign-in page without the register column (registration off, as on the preview): the page title already says
   "Sign in", so WooCommerce's own "Login" heading is not repeated. */
.csl-store--account .woocommerce:not(:has(#customer_login)):not(:has(.woocommerce-MyAccount-navigation)) > h2:first-of-type{display:none}
.csl-store--account .woocommerce:not(:has(#customer_login)) > form.woocommerce-form-login{max-width:520px}
