/*
 * DetailShop — WooCommerce styles
 * Matches the approved mockups: white cards, cyan accent, dark add-to-cart,
 * Aeromotors-style category rows, single product, cart, checkout, account.
 */

/* ── Shop / category archive ─────────────────────────────────────── */
.woocommerce ul.products{display:grid;gap:14px;margin:0;list-style:none}
.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,1fr)}
.woocommerce ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,1fr)}
.woocommerce ul.products li.product{margin:0;padding:0;width:auto;float:none;
  background:#fff;border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);overflow:hidden;
  display:flex;flex-direction:column;transition:all var(--ds-tr)}
.woocommerce ul.products li.product:hover{border-color:var(--ds-accent);box-shadow:0 6px 20px rgba(11,160,190,.1);transform:translateY(-2px)}
.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:#fff;padding:14px;margin:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--ds-font-body);font-size:13px;font-weight:500;color:var(--ds-text);text-transform:none;padding:0 13px;line-height:1.4}
.woocommerce ul.products li.product .price{padding:0 13px;color:var(--ds-text);font-weight:700;font-size:16px}
.woocommerce ul.products li.product .price del{color:var(--ds-faint);font-weight:400;font-size:12px}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--ds-danger)}
.ds-per-litre{display:block;font-size:10px;color:var(--ds-faint);font-weight:500}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button{margin:12px 13px 14px;padding:10px;border-radius:var(--ds-radius);
  background:var(--ds-ink);color:#fff;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;text-align:center;transition:all var(--ds-tr)}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover{background:var(--ds-accent);color:var(--ds-accent-ink)}
.woocommerce span.onsale{background:var(--ds-danger);color:#fff;font-family:var(--ds-font-body);font-size:11px;font-weight:700;
  padding:4px 9px;border-radius:var(--ds-radius-pill);min-height:0;min-width:0;line-height:1.3;top:10px;left:10px;margin:0;position:absolute}

/* Filter sidebar widgets */
.woocommerce .widget_price_filter .ui-slider{background:var(--ds-line)}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{background:var(--ds-accent)}

/* ── Single product ──────────────────────────────────────────────── */
.single-product div.product{display:grid;grid-template-columns:1fr 1.05fr;gap:32px}
.single-product .woocommerce-product-gallery{position:sticky;top:20px}
.single-product .woocommerce-product-gallery__image img{border-radius:var(--ds-radius-lg);background:var(--ds-mist);padding:1.5rem}
.single-product .product_title{font-size:clamp(1.9rem,3.5vw,2.8rem);margin-bottom:.4em}
.single-product .summary .price{font-family:var(--ds-font-head);font-style:italic;font-weight:700;color:var(--ds-text);font-size:2rem;margin-bottom:.3em}
.single-product .summary .price del{font-size:1.1rem;color:var(--ds-faint)}
.single-product .summary .price ins{text-decoration:none;color:var(--ds-danger)}
.single-product .summary .woocommerce-product-details__short-description{font-size:14px;color:var(--ds-muted);line-height:1.6;border-left:3px solid var(--ds-accent);padding-left:14px;margin:1em 0}
.single-product .summary .single_add_to_cart_button{background:var(--ds-accent);color:var(--ds-accent-ink);border:none;border-radius:var(--ds-radius);
  font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:16px 28px}
.single-product .summary .single_add_to_cart_button:hover{background:var(--ds-accent-hover)}
.single-product .stock.in-stock{color:var(--ds-success);font-weight:600}
.single-product .product_meta{margin-top:1.2em;padding-top:1.2em;border-top:1px solid var(--ds-line);font-size:12px;color:var(--ds-muted)}

/* Variation swatches (size: 250ml / 500ml / 1L) */
.single-product .variations td{padding:6px 0}
.single-product .variations select{max-width:260px}

/* Tabs */
.woocommerce-tabs ul.tabs{border-bottom:1px solid var(--ds-line);padding:0;margin:0 0 0}
.woocommerce-tabs ul.tabs::before{display:none}
.woocommerce-tabs ul.tabs li{background:none;border:none;margin:0;padding:0}
.woocommerce-tabs ul.tabs li a{padding:14px 18px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ds-muted);border-bottom:2px solid transparent}
.woocommerce-tabs ul.tabs li.active a{color:var(--ds-text);border-bottom-color:var(--ds-accent)}
.woocommerce-tabs .panel{padding:1.5rem 0;font-size:15px;line-height:1.8;color:#2A303C;max-width:760px}
.related.products>h2,.upsells>h2{font-family:var(--ds-font-head);font-style:italic;text-transform:uppercase;font-size:1.8rem;margin-bottom:1rem}

/* ── Cart ────────────────────────────────────────────────────────── */
.woocommerce-cart table.cart{border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);overflow:hidden;border-collapse:separate}
.woocommerce-cart table.cart thead th{background:var(--ds-mist);font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--ds-muted);padding:14px}
.woocommerce-cart table.cart td{padding:16px;border-top:1px solid var(--ds-line-soft);vertical-align:middle}
.woocommerce-cart .cart_totals h2{font-family:var(--ds-font-head);font-style:italic;text-transform:uppercase}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{background:var(--ds-accent);color:var(--ds-accent-ink);border-radius:var(--ds-radius);
  font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:16px;text-align:center;display:block}

/* ── Checkout ────────────────────────────────────────────────────── */
.woocommerce-checkout #customer_details{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.woocommerce-checkout h3{font-family:var(--ds-font-head);font-style:italic;text-transform:uppercase;font-size:1.4rem;margin-bottom:1rem}
.woocommerce-checkout #payment{background:var(--ds-mist);border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);padding:1.5rem}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--ds-line);padding:0 0 1rem;margin:0 0 1rem;list-style:none}
.woocommerce-checkout #place_order{background:var(--ds-accent);color:var(--ds-accent-ink);border:none;border-radius:var(--ds-radius);
  font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:16px;width:100%}
.woocommerce-checkout #place_order:hover{background:var(--ds-accent-hover)}

/* ── Notices ─────────────────────────────────────────────────────── */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:var(--ds-radius);border:none;padding:14px 18px;font-size:14px;margin-bottom:1.2rem}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message{background:#E7F8EE;color:var(--ds-success);border-left:3px solid var(--ds-success)}
.woocommerce-info{background:var(--ds-accent-tint);color:var(--ds-accent-link);border-left:3px solid var(--ds-accent)}
.woocommerce-error{background:#FFE9E9;color:#D8322F;border-left:3px solid var(--ds-danger)}

/* ── My Account ──────────────────────────────────────────────────── */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:230px 1fr;gap:24px;align-items:start}
.woocommerce-MyAccount-navigation ul{background:var(--ds-mist);border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);padding:8px;list-style:none}
.woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;font-size:13px;font-weight:500;color:var(--ds-muted);border-radius:var(--ds-radius)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--ds-ink);color:#fff}
.woocommerce-MyAccount-navigation li:not(.is-active) a:hover{background:#EDF0F5;color:var(--ds-text)}

@media(max-width:900px){
  .single-product div.product,
  .woocommerce-checkout #customer_details,
  .woocommerce-account .woocommerce{grid-template-columns:1fr}
  .woocommerce ul.products.columns-4,.woocommerce ul.products.columns-3{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .woocommerce ul.products.columns-4,.woocommerce ul.products.columns-3,.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,1fr);gap:10px}
}

/* ════════════════════════════════════════════════════════════════
   v1.5 — Shop archive (sidebar + list rows) + Single product page
   Matches the locked mockups (Aeromotors-style shop, full buy box).
   ════════════════════════════════════════════════════════════════ */

/* ── Shop archive layout ───────────────────────────────────────── */
.ds-shop{padding:24px 0 48px;background:#fff;min-height:60vh}
.ds-shop__header{margin-bottom:18px}
.ds-shop__title{font-size:clamp(1.9rem,4vw,2.8rem);margin:0 0 12px;text-transform:uppercase}
.ds-shop__desc{font-size:14px;color:var(--ds-muted);line-height:1.65;max-width:780px}
.ds-shop__desc p:last-child{margin-bottom:0}

.ds-shop__toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--ds-line);border-bottom:1px solid var(--ds-line);margin-bottom:22px;flex-wrap:wrap}
.ds-shop__toolbar .woocommerce-result-count{margin:0;font-size:14px;color:var(--ds-text);font-weight:600}
.ds-shop__toolbar-right{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ds-shop__toolbar .woocommerce-ordering{margin:0}
.ds-shop__toolbar .woocommerce-ordering select{background:#fff;border:1px solid var(--ds-line);border-radius:10px;padding:9px 14px;padding-right:32px;font-size:13px;color:var(--ds-text);cursor:pointer;font-family:var(--ds-font-body);appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right 10px center}

.ds-view-toggle{display:inline-flex;gap:2px;background:var(--ds-mist);border:1px solid var(--ds-line);border-radius:10px;padding:3px}
.ds-view-btn{background:transparent;border:none;width:34px;height:30px;display:inline-flex;align-items:center;justify-content:center;color:var(--ds-muted);cursor:pointer;border-radius:7px;transition:.15s}
.ds-view-btn:hover{color:var(--ds-text)}
.ds-view-btn.is-active{background:var(--ds-ink);color:var(--ds-accent)}

.ds-shop__layout{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:start}

/* Sidebar */
.ds-shop__sidebar{position:sticky;top:14px}
.ds-shop__filter-toggle{display:none;background:var(--ds-ink);color:#fff;border:none;border-radius:10px;padding:11px 16px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:8px;width:100%;justify-content:center;cursor:pointer;font-family:var(--ds-font-body)}
.ds-shop__filters{display:flex;flex-direction:column;gap:14px}
.ds-shop__filters .ds-widget,
.ds-shop__filters .widget{background:#fff;border:1px solid var(--ds-line);border-radius:14px;padding:16px;margin:0}
.ds-shop__filters .widget-title,
.ds-shop__filters .ds-widget-title{font-family:var(--ds-font-body);font-style:normal;font-size:14px;font-weight:700;text-transform:none;color:var(--ds-text);margin:0 0 12px;letter-spacing:0;display:flex;align-items:center;justify-content:space-between}
.ds-shop__filters .widget-title::after,
.ds-shop__filters .ds-widget-title::after{content:'';width:12px;height:12px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2.5'><polyline points='18 15 12 9 6 15'/></svg>");background-size:contain;background-repeat:no-repeat}

/* Price filter (WC) */
.ds-shop__filters .price_slider_wrapper .price_slider{background:var(--ds-line);height:4px;border-radius:99px;margin:18px 6px}
.ds-shop__filters .price_slider .ui-slider-range{background:var(--ds-accent);height:4px;border-radius:99px}
.ds-shop__filters .price_slider .ui-slider-handle{background:var(--ds-ink);border:3px solid var(--ds-accent);width:16px;height:16px;border-radius:50%;top:-6px;margin-left:-8px;cursor:grab}
.ds-shop__filters .price_slider_amount{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}
.ds-shop__filters .price_slider_amount .price_label{flex:1;display:flex;justify-content:space-between}
.ds-shop__filters .price_slider_amount .price_label span{background:var(--ds-ink);color:#fff;padding:6px 14px;border-radius:8px;font-weight:600;font-size:13px;font-family:var(--ds-font-body)}
.ds-shop__filters .price_slider_amount button{display:none}

/* Layered nav (brand, volume) */
.ds-shop__filters .woocommerce-widget-layered-nav-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
.ds-shop__filters .woocommerce-widget-layered-nav-list li{padding:0;margin:0;background:none}
.ds-shop__filters .woocommerce-widget-layered-nav-list li a{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--ds-text);text-decoration:none;padding:7px 0;line-height:1.3}
.ds-shop__filters .woocommerce-widget-layered-nav-list li a::before{content:'';width:18px;height:18px;border:1.5px solid var(--ds-line);border-radius:5px;flex-shrink:0;background:#fff;transition:.12s}
.ds-shop__filters .woocommerce-widget-layered-nav-list li.chosen a::before{background:var(--ds-accent);border-color:var(--ds-accent);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306323B' stroke-width='3.5'><polyline points='20 6 9 17 4 12'/></svg>");background-size:14px;background-position:center;background-repeat:no-repeat}
.ds-shop__filters .woocommerce-widget-layered-nav-list li .count{margin-left:auto;font-size:12px;color:var(--ds-faint);font-weight:500}
.ds-shop__filters .woocommerce-widget-layered-nav-list li a:hover{color:var(--ds-accent-link)}

/* ── LIST VIEW rows (default) ─────────────────────────────────── */
.ds-product-list ul.products{display:flex;flex-direction:column;gap:12px}
.ds-product-list ul.products li.product{
  display:grid;grid-template-columns:140px 1fr 200px;gap:18px;
  background:#fff;border:1px solid var(--ds-line);border-radius:14px;padding:16px;
  width:auto;float:none;align-items:center;transition:all .15s ease;position:relative;
}
.ds-product-list ul.products li.product:hover{border-color:var(--ds-accent);box-shadow:0 4px 16px rgba(11,160,190,.07);transform:none}
.ds-product-list ul.products li.product a.woocommerce-LoopProduct-link{
  display:contents;
}
.ds-product-list ul.products li.product a img{
  width:120px;height:120px;padding:10px;margin:0;
  grid-column:1;grid-row:1/span 10;
  background:var(--ds-mist);border-radius:10px;
}
.ds-product-list ul.products li.product .ds-product-brand{
  padding:0;grid-column:2;grid-row:1;font-size:11px;
}
.ds-product-list ul.products li.product .woocommerce-loop-product__title{
  padding:2px 0 0 !important;grid-column:2;grid-row:2;
  font-size:15px !important;font-weight:600 !important;min-height:0 !important;-webkit-line-clamp:1 !important;
}
.ds-product-list ul.products li.product .price{
  padding:0 !important;grid-column:3;grid-row:1/span 2;align-self:start;text-align:right;
  font-size:20px !important;
}
.ds-product-list ul.products li.product .price::before{
  content:'alates';display:block;font-size:11px;font-weight:500;color:var(--ds-faint);margin-bottom:2px;text-transform:lowercase;
}
.ds-product-list ul.products li.product .price .ds-per-litre{text-align:right;font-size:11px !important}
.ds-product-list ul.products li.product .button{
  margin:0 !important;grid-column:3;grid-row:3;font-size:11px !important;padding:10px !important;
}

/* In-stock badge on the image */
.ds-product-list ul.products li.product.instock a:first-of-type::after{
  content:'LAOS';position:absolute;top:18px;left:24px;
  background:rgba(31,157,87,.12);color:var(--ds-success);
  font-size:9px;font-weight:700;padding:3px 7px;border-radius:5px;letter-spacing:.05em;z-index:2;
}

/* ── GRID VIEW (toggle on) ─────────────────────────────────────── */
.ds-product-list.is-grid ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;flex-direction:initial}
.ds-product-list.is-grid ul.products li.product{display:flex;flex-direction:column;padding:0;align-items:stretch}
.ds-product-list.is-grid ul.products li.product a.woocommerce-LoopProduct-link{display:block}
.ds-product-list.is-grid ul.products li.product a img{width:100%;height:auto;padding:18px;border-radius:14px 14px 0 0;grid-column:auto;grid-row:auto;aspect-ratio:1}
.ds-product-list.is-grid ul.products li.product .ds-product-brand{padding:12px 14px 0;grid-column:auto;grid-row:auto;font-size:11px}
.ds-product-list.is-grid ul.products li.product .woocommerce-loop-product__title{padding:4px 14px 6px !important;grid-column:auto;grid-row:auto;font-size:14px !important;min-height:42px !important;-webkit-line-clamp:2 !important}
.ds-product-list.is-grid ul.products li.product .price{padding:0 14px 8px !important;grid-column:auto;grid-row:auto;text-align:left;font-size:17px !important}
.ds-product-list.is-grid ul.products li.product .price::before{display:none}
.ds-product-list.is-grid ul.products li.product .price .ds-per-litre{text-align:left}
.ds-product-list.is-grid ul.products li.product .button{margin:6px 14px 14px !important;grid-column:auto;grid-row:auto}

/* ── SINGLE PRODUCT PAGE ───────────────────────────────────────── */
.single-product div.product{display:grid;grid-template-columns:1fr 1.08fr;gap:36px;padding:24px 0}
.single-product .woocommerce-product-gallery{position:sticky;top:24px}
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__wrapper{background:var(--ds-mist);border-radius:14px;overflow:hidden}
.single-product .woocommerce-product-gallery__image img{background:var(--ds-mist);padding:30px;width:100%;height:auto;display:block}
.single-product .flex-control-thumbs{display:flex;gap:8px;margin:10px 0 0;padding:0;list-style:none}
.single-product .flex-control-thumbs li{width:62px;height:62px;background:var(--ds-mist);border:1px solid var(--ds-line);border-radius:10px;overflow:hidden;padding:5px;cursor:pointer}
.single-product .flex-control-thumbs li img{width:100%;height:100%;object-fit:contain;opacity:.8}
.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li img:hover{opacity:1;border-color:var(--ds-accent)}

/* Sale badge */
.single-product span.onsale{background:var(--ds-danger);color:#fff;border-radius:99px;font-size:11px;font-weight:700;padding:5px 11px;top:14px;left:14px;line-height:1.4;min-height:0;min-width:0;position:absolute;z-index:2;font-family:var(--ds-font-body);font-style:normal}

/* Summary (right side) */
.single-product .summary{display:flex;flex-direction:column;gap:0}
.single-product .ds-single-brand{font-size:13px;font-weight:700;color:var(--ds-accent-link);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;display:block}
.single-product .product_title{font-family:var(--ds-font-head);font-style:italic;font-weight:700;text-transform:uppercase;font-size:clamp(1.8rem,3.5vw,2.6rem) !important;line-height:1.04;margin:0 0 14px;color:var(--ds-text)}
.single-product .woocommerce-product-rating{display:flex;align-items:center;gap:8px;margin:0 0 14px}
.single-product .woocommerce-product-rating .star-rating{font-size:14px;width:75px;color:var(--ds-star);float:none;margin:0;height:14px;line-height:1;letter-spacing:1px}
.single-product .woocommerce-product-rating .woocommerce-review-link{font-size:13px;color:var(--ds-muted);text-decoration:none}

.single-product p.price{font-family:var(--ds-font-head);font-style:italic;font-weight:700;font-size:2.4rem !important;color:var(--ds-text) !important;margin:0 0 4px;line-height:1;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.single-product p.price del{font-size:1.2rem;color:var(--ds-faint);font-weight:400;text-decoration:line-through}
.single-product p.price ins{text-decoration:none;background:none;color:var(--ds-text)}
.single-product p.price .ds-per-litre{font-family:var(--ds-font-body);font-style:normal;font-size:13px !important;color:var(--ds-muted);font-weight:500;flex-basis:100%;margin-top:6px}

.single-product .woocommerce-product-details__short-description{
  font-size:14px;color:var(--ds-muted);line-height:1.6;
  border-left:3px solid var(--ds-accent);padding:4px 0 4px 16px;margin:18px 0
}
.single-product .woocommerce-product-details__short-description p:last-child{margin-bottom:0}

/* Variations as buttons (converted from select via JS) */
.single-product table.variations{margin:0;border:none;width:auto}
.single-product table.variations td,.single-product table.variations th{background:none;border:none;padding:0;display:block}
.single-product table.variations th.label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ds-muted);margin-bottom:9px;padding-top:8px}
.single-product table.variations td.value{margin-bottom:14px}
.single-product .reset_variations{font-size:12px;color:var(--ds-faint);text-decoration:underline;margin-top:6px;display:inline-block}
.ds-variant-buttons{display:flex;gap:8px;flex-wrap:wrap}
.ds-variant-btn{
  background:#fff;border:1.5px solid var(--ds-line);border-radius:10px;
  padding:10px 18px;font-size:13px;font-weight:600;color:var(--ds-text);cursor:pointer;
  font-family:var(--ds-font-body);text-align:center;line-height:1.2;transition:all .12s ease;min-width:70px;
}
.ds-variant-btn small{display:block;font-size:11px;color:var(--ds-faint);font-weight:500;margin-top:2px}
.ds-variant-btn:hover{border-color:var(--ds-text)}
.ds-variant-btn.is-selected{border-color:var(--ds-accent);background:var(--ds-accent-tint);color:var(--ds-accent-ink)}
.ds-variant-btn.is-selected small{color:var(--ds-accent-link)}

/* Quantity + add to cart + wishlist row */
.single-product .cart{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0}
.single-product .cart .ds-qty{flex-shrink:0}
.single-product .cart .single_add_to_cart_button{
  background:var(--ds-accent) !important;color:var(--ds-accent-ink) !important;border:none !important;
  border-radius:10px !important;font-size:13px !important;font-weight:700 !important;
  text-transform:uppercase !important;letter-spacing:.05em !important;
  padding:14px 22px !important;cursor:pointer;flex:1;min-width:160px;
  font-family:var(--ds-font-body) !important;font-style:normal !important;line-height:1.2 !important;
  display:inline-flex !important;align-items:center;justify-content:center;gap:8px;
}
.single-product .cart .single_add_to_cart_button:hover{background:var(--ds-accent-hover) !important}
.ds-wishlist-btn{
  width:46px;height:46px;border-radius:10px;border:1.5px solid var(--ds-line);background:#fff;color:var(--ds-faint);
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s;
}
.ds-wishlist-btn:hover{color:var(--ds-danger);border-color:var(--ds-danger)}

/* Trust block */
.ds-single-trust{background:var(--ds-mist);border-radius:12px;padding:14px 16px;margin-top:18px;display:flex;flex-direction:column;gap:10px}
.ds-single-trust > div{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--ds-text);line-height:1.4}
.ds-single-trust > div .ds-i{color:var(--ds-accent);flex-shrink:0;margin-top:1px}
.ds-single-trust b{font-weight:700;color:var(--ds-success)}

/* Meta row */
.ds-single-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--ds-muted);margin-top:18px;padding-top:18px;border-top:1px solid var(--ds-line)}
.ds-single-meta b{color:var(--ds-text);font-weight:600;margin-right:4px}
.ds-single-meta a{color:var(--ds-accent-link)}

/* Tabs */
.woocommerce-tabs{margin-top:48px;clear:both}
.woocommerce-tabs ul.tabs{display:flex;gap:0;border:none !important;border-bottom:1px solid var(--ds-line) !important;padding:0;margin:0 !important;list-style:none}
.woocommerce-tabs ul.tabs::before,.woocommerce-tabs ul.tabs::after{display:none}
.woocommerce-tabs ul.tabs li{background:none !important;border:none !important;margin:0 !important;padding:0;border-radius:0 !important}
.woocommerce-tabs ul.tabs li a{padding:16px 20px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ds-muted);border-bottom:2px solid transparent;text-decoration:none;display:block}
.woocommerce-tabs ul.tabs li.active a{color:var(--ds-text);border-bottom-color:var(--ds-accent)}
.woocommerce-tabs ul.tabs li a:hover{color:var(--ds-text)}
.woocommerce-tabs .panel{padding:24px 0;font-size:15.5px;line-height:1.75;color:#2A303C;max-width:800px;margin:0}
.woocommerce-tabs .panel h2{display:none}
.woocommerce-tabs .panel h3,.woocommerce-tabs .panel h4{font-family:var(--ds-font-head);font-style:italic;text-transform:uppercase;font-size:1.2rem;margin:1.4em 0 .4em}
.woocommerce-tabs .panel ol,.woocommerce-tabs .panel ul{padding-left:1.2em;margin:0 0 1em}
.woocommerce-tabs .panel li{margin-bottom:.5em}

/* Related products */
.related.products,.upsells.products{margin-top:40px}
.related.products > h2,.upsells.products > h2{font-family:var(--ds-font-head);font-style:italic;font-size:1.8rem;text-transform:uppercase;margin:0 0 18px;color:var(--ds-text)}
.related.products ul.products,.upsells.products ul.products{display:grid !important;grid-template-columns:repeat(4,1fr);gap:14px;flex-direction:initial}

/* ── Responsive ─────────────────────────────────────────────────── */
@media(max-width:900px){
  .ds-shop__layout{grid-template-columns:1fr}
  .ds-shop__sidebar{position:static}
  .ds-shop__filter-toggle{display:inline-flex}
  .ds-shop__filters{display:none}
  .ds-shop__sidebar.is-open .ds-shop__filters{display:flex}
  .single-product div.product{grid-template-columns:1fr;gap:24px}
  .single-product .woocommerce-product-gallery{position:static}
  .related.products ul.products,.upsells.products ul.products{grid-template-columns:repeat(2,1fr) !important}
  .ds-product-list.is-grid ul.products{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .ds-product-list ul.products li.product{grid-template-columns:80px 1fr;gap:12px;padding:12px}
  .ds-product-list ul.products li.product a img{width:80px;height:80px;padding:6px;grid-row:1/span 2}
  .ds-product-list ul.products li.product .price{grid-column:1/-1;grid-row:auto;text-align:left;font-size:17px !important;margin-top:6px !important}
  .ds-product-list ul.products li.product .price::before{display:inline;margin-right:6px}
  .ds-product-list ul.products li.product .button{grid-column:1/-1;grid-row:auto;margin:6px 0 0 !important}
  .ds-product-list ul.products li.product.instock a:first-of-type::after{top:14px;left:18px;font-size:8px}
  .single-product p.price{font-size:1.9rem !important}
  .woocommerce-tabs ul.tabs li a{padding:14px 12px;font-size:12px}
}

/* ════════════════════════════════════════════════════════════════
   v1.6 — Fix list-row layout, single product overflow, filter button
   ════════════════════════════════════════════════════════════════ */

/* Force left-align on list rows (Hello Elementor centers by default) */
.ds-product-list ul.products li.product,
.ds-product-list ul.products li.product *{text-align:left !important}

/* Robust list row: grid-template-areas pins each element regardless of source order */
.ds-product-list ul.products li.product{
  display:grid !important;
  grid-template-areas:
    "img brand price"
    "img title price"
    "img empty cart" !important;
  grid-template-columns:130px 1fr 180px !important;
  grid-template-rows:auto auto auto !important;
  gap:4px 18px !important;
  background:#fff !important;
  border:1px solid var(--ds-line) !important;
  border-radius:14px !important;
  padding:16px !important;
  width:auto !important;
  float:none !important;
  align-items:center !important;
  position:relative !important;
}
.ds-product-list ul.products li.product:hover{
  border-color:var(--ds-accent) !important;
  box-shadow:0 4px 16px rgba(11,160,190,.07) !important;
  transform:none !important;
}
.ds-product-list ul.products li.product a.woocommerce-LoopProduct-link,
.ds-product-list ul.products li.product a.woocommerce-loop-product__link{
  display:contents !important;
}
.ds-product-list ul.products li.product img{
  grid-area:img !important;
  width:110px !important;
  height:110px !important;
  padding:8px !important;
  margin:0 !important;
  background:var(--ds-mist) !important;
  border-radius:10px !important;
  object-fit:contain !important;
  align-self:center !important;
  justify-self:start !important;
}
.ds-product-list ul.products li.product .ds-product-brand{
  grid-area:brand !important;
  padding:0 !important;
  font-size:11px !important;
  align-self:end !important;
}
.ds-product-list ul.products li.product .woocommerce-loop-product__title,
.ds-product-list ul.products li.product h2.woocommerce-loop-product__title,
.ds-product-list ul.products li.product h3{
  grid-area:title !important;
  padding:2px 0 0 !important;
  font-size:15px !important;
  font-weight:600 !important;
  min-height:0 !important;
  -webkit-line-clamp:2 !important;
  align-self:start !important;
  margin:0 !important;
}
.ds-product-list ul.products li.product .price{
  grid-area:price !important;
  padding:0 !important;
  text-align:right !important;
  font-size:20px !important;
  align-self:start !important;
}
.ds-product-list ul.products li.product .price *{text-align:right !important}
.ds-product-list ul.products li.product .price::before{
  content:'alates';
  display:block;
  font-size:11px;
  font-weight:500;
  color:var(--ds-faint);
  margin-bottom:2px;
  text-transform:lowercase;
}
.ds-product-list ul.products li.product .button,
.ds-product-list ul.products li.product .add_to_cart_button{
  grid-area:cart !important;
  margin:0 !important;
  align-self:end !important;
  font-size:11px !important;
  padding:11px !important;
  text-align:center !important;
}

/* GRID toggle still works — overrides the list-row grid */
.ds-product-list.is-grid ul.products{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:14px !important;flex-direction:initial}
.ds-product-list.is-grid ul.products li.product{
  display:flex !important;
  flex-direction:column !important;
  grid-template-areas:none !important;
  grid-template-columns:none !important;
  padding:0 !important;
  align-items:stretch !important;
  text-align:left !important;
}
.ds-product-list.is-grid ul.products li.product img{width:100% !important;height:auto !important;padding:18px !important;border-radius:14px 14px 0 0 !important;aspect-ratio:1 !important;background:#fff !important;justify-self:auto !important}
.ds-product-list.is-grid ul.products li.product .ds-product-brand{padding:12px 14px 0 !important;align-self:auto !important}
.ds-product-list.is-grid ul.products li.product .woocommerce-loop-product__title{padding:4px 14px 6px !important;min-height:42px !important;-webkit-line-clamp:2 !important}
.ds-product-list.is-grid ul.products li.product .price{padding:0 14px 8px !important;text-align:left !important;font-size:17px !important;align-self:auto !important}
.ds-product-list.is-grid ul.products li.product .price *{text-align:left !important}
.ds-product-list.is-grid ul.products li.product .price::before{display:none !important}
.ds-product-list.is-grid ul.products li.product .button{margin:6px 14px 14px !important;align-self:auto !important}

/* In-stock LAOS badge: position absolute on the LI (not the image) so it's stable */
.ds-product-list ul.products li.product.instock::before{
  content:'LAOS';
  position:absolute;
  top:18px;left:24px;
  background:rgba(31,157,87,.12);
  color:var(--ds-success);
  font-size:9px;font-weight:700;
  padding:3px 7px;border-radius:5px;
  letter-spacing:.05em;z-index:2;
}
.ds-product-list.is-grid ul.products li.product.instock::before{top:24px;left:24px}
/* Remove the old img-based badge so we don't have duplicates */
.ds-product-list ul.products li.product.instock a:first-of-type::after{content:none !important}

/* Hide filter toggle on desktop — was leaking through */
.ds-shop__filter-toggle{display:none !important}
@media(max-width:900px){
  .ds-shop__filter-toggle{display:inline-flex !important}
  .ds-shop__filters{display:none !important}
  .ds-shop__sidebar.is-open .ds-shop__filters{display:flex !important}
  .ds-product-list ul.products li.product{grid-template-columns:100px 1fr 140px !important}
}

/* ── SINGLE PRODUCT: tabs/related span full width (no more overlap) ── */
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells,
.single-product div.product > .clear,
.single-product div.product > .ds-after-summary{
  grid-column:1 / -1 !important;
}

/* Drop sticky gallery — causing overlap with tabs */
.single-product .woocommerce-product-gallery{
  position:static !important;
  top:auto !important;
  align-self:start;
}

/* Ensure tabs container has proper top spacing now that nothing's sticky */
.woocommerce-tabs{margin-top:36px !important;clear:both !important}
.single-product div.product{align-items:start !important}

/* ════════════════════════════════════════════════════════════════
   v1.7 — Price slider width, qty col, view icons, related fix
   ════════════════════════════════════════════════════════════════ */

/* Price slider: force full width (jQuery UI needs explicit width on parent) */
.ds-shop__filters .price_slider_wrapper{width:100% !important}
.ds-shop__filters .price_slider_wrapper .price_slider{width:100% !important;box-sizing:border-box;position:relative}
.ds-shop__filters .price_slider_wrapper .price_slider .ui-slider-range{height:4px !important;border-radius:99px !important;background:var(--ds-accent) !important;top:0 !important}
.ds-shop__filters .price_slider_wrapper .price_slider .ui-slider-handle{
  width:18px !important;height:18px !important;border-radius:50% !important;
  background:var(--ds-ink) !important;border:3px solid var(--ds-accent) !important;
  top:-7px !important;cursor:grab !important;outline:none !important;
  box-shadow:0 1px 6px rgba(0,0,0,.2) !important;
}
.ds-shop__filters .price_slider_amount{margin-top:16px !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:8px !important}
.ds-shop__filters .price_slider_amount .price_label{
  display:flex !important;align-items:center !important;gap:8px !important;flex:1 !important;
}
.ds-shop__filters .price_slider_amount .price_label .from,
.ds-shop__filters .price_slider_amount .price_label .to{
  background:var(--ds-ink) !important;color:#fff !important;
  padding:6px 12px !important;border-radius:8px !important;
  font-weight:600 !important;font-size:13px !important;
  font-family:var(--ds-font-body) !important;min-width:44px;text-align:center;
}
.ds-shop__filters .price_slider_amount button.button{display:none !important}

/* View toggle: force correct colors (override Hello Elementor button styling) */
.ds-view-btn{
  background:transparent !important;
  border:none !important;
  color:var(--ds-muted) !important;
  box-shadow:none !important;
  outline:none !important;
}
.ds-view-btn:hover{color:var(--ds-text) !important;background:transparent !important}
.ds-view-btn.is-active{background:var(--ds-ink) !important;color:var(--ds-accent) !important}
.ds-view-btn .ds-i{display:block}

/* Qty + cart wrapper inside list rows */
.ds-loop-cart-wrap{
  grid-area:cart !important;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-self:end;
  width:100%;
}
/* Override button grid-area when it's inside the wrapper */
.ds-loop-cart-wrap .button,
.ds-loop-cart-wrap .add_to_cart_button{
  grid-area:auto !important;
  margin:0 !important;
  width:100% !important;
  font-size:11px !important;
  padding:10px !important;
}
/* Qty row: [-] [1] [+] */
.ds-loop-qty{
  display:flex;
  align-items:center;
  border:1.5px solid var(--ds-line);
  border-radius:9px;
  overflow:hidden;
  background:#fff;
}
.ds-qty-btn{
  background:transparent !important;
  border:none !important;
  width:30px;height:34px;
  font-size:17px;
  color:var(--ds-muted);
  cursor:pointer;
  font-family:var(--ds-font-body);
  line-height:1;
  flex-shrink:0;
  box-shadow:none !important;
  padding:0 !important;
}
.ds-qty-btn:hover{background:var(--ds-mist) !important;color:var(--ds-text) !important}
.ds-qty-input{
  width:34px;height:34px;
  text-align:center;
  border:none;
  border-left:1px solid var(--ds-line);
  border-right:1px solid var(--ds-line);
  font-size:14px;font-weight:600;
  font-family:var(--ds-font-body);
  -moz-appearance:textfield;
  flex:1;min-width:0;
}
.ds-qty-input::-webkit-outer-spin-button,
.ds-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ds-qty-input:focus{outline:none;border-color:var(--ds-accent)}

/* Ensure related products render & span full width */
.single-product div.product > .related.products,
.single-product div.product > .upsells.products{
  display:block !important;
  grid-column:1 / -1 !important;
  width:100% !important;
  margin-top:40px !important;
  clear:both !important;
}
.related.products h2,
.upsells.products h2{font-family:var(--ds-font-head) !important;font-style:italic !important;font-size:1.8rem !important;text-transform:uppercase !important;margin:0 0 18px !important}
.related.products ul.products,
.upsells.products ul.products{display:grid !important;grid-template-columns:repeat(4,1fr) !important;gap:14px !important;flex-direction:initial !important}
@media(max-width:900px){
  .related.products ul.products,
  .upsells.products ul.products{grid-template-columns:repeat(2,1fr) !important}
  .ds-product-list ul.products li.product{grid-template-columns:90px 1fr 140px !important}
}
@media(max-width:600px){
  .related.products ul.products,
  .upsells.products ul.products{grid-template-columns:repeat(2,1fr) !important}
}

/* ════════════════════════════════════════════════════════════════
   v1.8 — Price slider geometry fix + filter count inline
   ════════════════════════════════════════════════════════════════ */

/* Price slider: reset ALL geometry overrides so jQuery UI can position
   handles correctly (it uses element width to calculate margin-left).
   Only style colours and cursor — nothing that affects size/position. */
.ds-shop__filters .price_slider_wrapper{overflow:visible !important}
.ds-shop__filters .price_slider_wrapper .price_slider{
  overflow:visible !important;
  width:100% !important;
}
/* Reset any height/top/width/margin-left !important that broke the handles */
.ds-shop__filters .price_slider_wrapper .price_slider .ui-slider-handle{
  background:var(--ds-ink) !important;
  border:2.5px solid var(--ds-accent) !important;
  border-radius:50% !important;
  cursor:grab !important;
  outline:none !important;
  box-shadow:0 1px 5px rgba(0,0,0,.2) !important;
  /* Do NOT override: width, height, top, margin-left — jQuery UI needs those */
}
.ds-shop__filters .price_slider_wrapper .price_slider .ui-slider-handle:focus{
  box-shadow:0 0 0 3px rgba(20,198,232,.3) !important;
}
/* Slider widget container: allow overflow so handles at 0%/100% aren't clipped */
.ds-shop__filters .widget.widget_price_filter{overflow:visible !important}

/* Filter list items: put brand name + count "(1)" on same line.
   The <span class="count"> is a sibling of <a>, not inside it.
   Making <li> the flex row puts them inline. */
.ds-shop__filters .woocommerce-widget-layered-nav-list li{
  display:flex !important;
  align-items:center !important;
  padding:0 !important;
  margin:0 !important;
  background:none !important;
}
.ds-shop__filters .woocommerce-widget-layered-nav-list li a{
  flex:1 !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  padding:7px 0 !important;
  font-size:13.5px !important;
  color:var(--ds-text) !important;
  text-decoration:none !important;
  line-height:1.3 !important;
}
.ds-shop__filters .woocommerce-widget-layered-nav-list li .count{
  font-size:11px !important;
  color:var(--ds-faint) !important;
  font-weight:500 !important;
  flex-shrink:0 !important;
  margin-left:4px !important;
  /* Remove any block/display that was pushing it to new line */
  display:inline !important;
}

/* ════════════════════════════════════════════════════════════════
   v1.9 — Price slider: full reset to WC/jQuery UI defaults + cyan colour
   Previous versions added px !important overrides that broke jQuery UI's
   em-based positioning. This block overrides them all back to WC defaults.
   ════════════════════════════════════════════════════════════════ */

/* Track: restore WC defaults (5px high, no border) */
.ds-shop__filters .price_slider_wrapper .price_slider.ui-slider{
  height:5px !important;
  border:0 !important;
  background:var(--ds-line) !important;
  border-radius:99px !important;
  margin:12px 0 16px !important;
  overflow:visible !important;
  position:relative !important;
}

/* Range fill: cyan, full height */
.ds-shop__filters .price_slider_wrapper .price_slider.ui-slider .ui-slider-range{
  background:var(--ds-accent) !important;
  top:0 !important;
  height:100% !important;
  border-radius:99px !important;
}

/* Handles: USE em UNITS to match WC/jQuery UI's own calculations.
   Previously set to 18px !important which broke margin-left auto-centering.
   WC default: width:1.1em; height:1.1em; top:-.3em
   Last child: margin-left:-1em (right handle offset)  */
.ds-shop__filters .price_slider_wrapper .price_slider.ui-slider .ui-slider-handle{
  width:1.2em !important;
  height:1.2em !important;
  top:-0.4em !important;
  margin-left:-0.6em !important;
  background:var(--ds-ink) !important;
  border:2px solid var(--ds-accent) !important;
  border-radius:1em !important;
  cursor:grab !important;
  outline:none !important;
  box-shadow:0 1px 4px rgba(0,0,0,.25) !important;
  z-index:3 !important;
}
.ds-shop__filters .price_slider_wrapper .price_slider.ui-slider .ui-slider-handle:last-child{
  margin-left:-1em !important;
}
.ds-shop__filters .price_slider_wrapper .price_slider.ui-slider .ui-slider-handle:focus,
.ds-shop__filters .price_slider_wrapper .price_slider.ui-slider .ui-slider-handle:active{
  cursor:grabbing !important;
  box-shadow:0 0 0 3px rgba(20,198,232,.35) !important;
}

/* Amount row: pill labels */
.ds-shop__filters .price_slider_amount{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:13px !important;
  margin-top:4px !important;
}
.ds-shop__filters .price_slider_amount .price_label{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex:1 !important;
}
.ds-shop__filters .price_slider_amount .price_label .from,
.ds-shop__filters .price_slider_amount .price_label .to{
  background:var(--ds-ink) !important;
  color:#fff !important;
  padding:5px 12px !important;
  border-radius:7px !important;
  font-weight:700 !important;
  font-size:13px !important;
  font-family:var(--ds-font-body) !important;
}
.ds-shop__filters .price_slider_amount button.button{display:none !important}

/* ════════════════════════════════════════════════════════════════
   v1.10 — Slider geometry full-reset (highest specificity) + qty compact
   ════════════════════════════════════════════════════════════════ */

/* Wrapper: add side padding so handles at 0%/100% extend INTO padding,
   not outside the widget. This is the standard WC approach. */
.ds-shop__filters .widget_price_filter .price_slider_wrapper {
  padding: 0 0.7em !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Using .ui-widget (class jQuery UI always adds to the slider element)
   raises specificity to (0,6,0) which beats all previous (0,5,0) rules.
   'unset !important' removes width/height/top/margin-left pixel overrides
   so jQuery UI's own em-based positioning calculations work again.      */
.ds-shop__filters .price_slider.ui-slider.ui-widget .ui-slider-handle {
  width: unset !important;
  height: unset !important;
  top: unset !important;
  margin-left: unset !important;
  /* Keep colours only */
  background: var(--ds-ink) !important;
  border: 2px solid var(--ds-accent) !important;
  border-radius: 50% !important;
  cursor: grab !important;
  outline: none !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.18) !important;
}
.ds-shop__filters .price_slider.ui-slider.ui-widget .ui-slider-handle:focus {
  box-shadow: 0 0 0 3px rgba(20,198,232,.35) !important;
}
.ds-shop__filters .price_slider.ui-slider.ui-widget .ui-slider-range {
  background: var(--ds-accent) !important;
}

/* ── Qty boxes: compact on both archive and single product ──────── */
/* Archive list rows */
.ds-qty-btn{
  width:24px !important; height:28px !important;
  font-size:15px !important; line-height:1 !important;
}
.ds-qty-input{
  width:28px !important; height:28px !important;
  font-size:13px !important;
}
.ds-loop-cart-wrap .button,
.ds-loop-cart-wrap .add_to_cart_button {
  padding:9px 12px !important;
  font-size:11px !important;
}

/* Single product: narrow qty, don't let it stretch full width */
.single-product .cart .quantity {
  flex-shrink: 0 !important;
  width: auto !important;
}
.single-product .cart .quantity input.qty,
.single-product .cart .quantity input[type="number"] {
  width: 62px !important;
  height: 46px !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border: 1.5px solid var(--ds-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-family: var(--ds-font-body) !important;
}

/* ════════════════════════════════════════════════════════════════
   v1.12 — noUiSlider visual polish + qty position fix
   ════════════════════════════════════════════════════════════════ */

/* noUiSlider: smaller handles, properly centered on 4px track */
.widget_price_filter .noUi-target{height:4px;margin:20px 0 16px;background:var(--ds-line)}
.widget_price_filter .noUi-connect{background:var(--ds-accent)}
.widget_price_filter .noUi-handle{
  width:14px !important; height:14px !important;
  right:-7px !important; top:-5px !important;
  border-radius:50% !important;
  background:var(--ds-ink) !important;
  border:2px solid var(--ds-accent) !important;
  box-shadow:0 1px 4px rgba(0,0,0,.22) !important;
  cursor:grab !important;
}
.widget_price_filter .noUi-handle::before,
.widget_price_filter .noUi-handle::after{display:none !important}
.widget_price_filter .noUi-handle:focus{box-shadow:0 0 0 3px rgba(20,198,232,.32) !important}
.widget_price_filter .noUi-handle:active{cursor:grabbing !important}

/* Our own price display row (replaces WC's .price_label) */
.ds-price-display{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  font-size:13px;
}
.ds-price-from,.ds-price-to{
  background:var(--ds-ink);
  color:#fff;
  padding:5px 12px;
  border-radius:7px;
  font-weight:700;
  font-size:13px;
  font-family:var(--ds-font-body);
  min-width:44px;
  text-align:center;
}
.ds-price-sep{color:var(--ds-muted);font-size:14px}

/* Qty box: right-aligned, text visible */
.ds-loop-cart-wrap{align-items:flex-end !important}
.ds-loop-qty{width:max-content !important;min-width:76px !important}
.ds-qty-input{
  color:var(--ds-text) !important;
  background:#fff !important;
}

/* ════════════════════════════════════════════════════════════════
   v1.13 — Hide WC's duplicate price label; fix qty input visibility
   ════════════════════════════════════════════════════════════════ */

/* Kill WC's .price_label permanently — our .ds-price-display replaces it */
.widget_price_filter .price_label{display:none !important}
.widget_price_filter .price_slider_amount .price_label{display:none !important}

/* Qty input: force visible text (Hello Elementor was bleeding through white text) */
.ds-qty-input{
  color:#0E1320 !important;
  -webkit-text-fill-color:#0E1320 !important;
  background:#fff !important;
  opacity:1 !important;
}
/* Qty buttons: make − + dark not red */
.ds-qty-btn{
  color:#5B6472 !important;
  -webkit-text-fill-color:#5B6472 !important;
}

/* ════════════════════════════════════════════════════════════════
   v1.25 — Out-of-stock styling
   ════════════════════════════════════════════════════════════════ */
.ds-sold-out-badge{
  display:block !important;
  background:#E4E8EE !important;
  color:#5B6472 !important;
  text-align:center !important;
  padding:12px !important;
  border-radius:10px !important;
  font-size:12px !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
  cursor:default !important;
  opacity:.7;
}
/* Dim the whole out-of-stock card slightly */
.woocommerce ul.products li.product.outofstock{opacity:.75}
.woocommerce ul.products li.product.outofstock:hover{opacity:.9}
/* Hide LAOS badge on out-of-stock */
.woocommerce ul.products li.product.outofstock::before{display:none !important}

/* ════════════════════════════════════════════════════════════════
   v1.27 — Välja müüdud alignment + Lisa ostukorvi button width
   ════════════════════════════════════════════════════════════════ */
/* Sold-out badge: align to bottom of card like Lisa ostukorvi */
.ds-sold-out-badge{
  display:block !important;
  background:#E4E8EE !important;
  color:#5B6472 !important;
  text-align:center !important;
  padding:12px !important;
  border-radius:10px !important;
  font-size:12px !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
  cursor:default !important;
  margin-top:auto !important;
  width:100% !important;
  box-sizing:border-box !important;
}

/* ════════════════════════════════════════════════════════════════
   v1.28 — Sale badge right side, button centered, qty aligned
   ════════════════════════════════════════════════════════════════ */

/* Sale badge: move to RIGHT side so it doesn't overlap LAOS */
.woocommerce ul.products li.product span.onsale,
ul.products li.product span.onsale{
  left:auto !important;
  right:10px !important;
  top:10px !important;
}

/* LAOS badge stays on the left */
.ds-product-list ul.products li.product.instock::before,
.woocommerce ul.products li.product.instock::before{
  left:10px !important;
  right:auto !important;
}

/* Lisa ostukorvi button: full width + centered text */
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.button.product_type_simple{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  box-sizing:border-box !important;
  margin:0 !important;
}

/* Qty input: force vertical center with equal padding */
.woocommerce ul.products li.product input[type="text"][inputmode="numeric"]{
  padding:9px 2px !important;
  text-align:center !important;
  font-size:14px !important;
  font-weight:700 !important;
  color:#0E1320 !important;
  -webkit-text-fill-color:#0E1320 !important;
  line-height:1 !important;
  box-sizing:border-box !important;
}

/* ── Subcategories sidebar block ────────────────────────────────── */
.ds-subcats-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:4px}
.ds-subcats-list li a{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:8px;font-size:13.5px;color:var(--ds-text);text-decoration:none;transition:.12s;font-weight:500}
.ds-subcats-list li a:hover{background:var(--ds-accent-tint);color:var(--ds-accent-link)}
.ds-subcats-list li.ds-subcat--active a{background:var(--ds-accent-tint);color:var(--ds-accent-link);font-weight:700}
.ds-subcats-list li a span{font-size:11px;color:var(--ds-faint);background:var(--ds-mist);padding:2px 7px;border-radius:99px;font-weight:500}

/* ── Pagination ─────────────────────────────────────────────────── */
.woocommerce-pagination{margin:32px 0 0;text-align:center}
.woocommerce-pagination ul{display:inline-flex;align-items:center;gap:6px;list-style:none;padding:0;margin:0}
.woocommerce-pagination ul li{margin:0;padding:0}
.woocommerce-pagination ul li a.page-numbers,
.woocommerce-pagination ul li span.page-numbers{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;font-size:14px;font-weight:600;font-family:var(--ds-font-body);text-decoration:none;transition:.15s;border:1.5px solid var(--ds-line);color:var(--ds-text);background:#fff}
.woocommerce-pagination ul li a.page-numbers:hover{border-color:var(--ds-accent);color:var(--ds-accent-link);background:var(--ds-accent-tint)}
.woocommerce-pagination ul li span.page-numbers.current{background:var(--ds-ink);color:#fff;border-color:var(--ds-ink)}
.woocommerce-pagination ul li a.next.page-numbers,
.woocommerce-pagination ul li a.prev.page-numbers{width:auto;padding:0 14px;font-size:13px}
