/* Smart Look Store 1.1.0 — scoped to WooCommerce routes by the PHP body class. */
body.sl-store {
  --brand: #2b82c0;
  --blue: #17649a;
  --ink: #102b41;
  --muted: #526575;
  --pale: #edf5fa;
  --line: #d8e4ec;
  --wa: #15803d;
  --radius: 18px;
  background: #fff;
  color: var(--ink);
  font-family: Cairo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
.sl-store *, .sl-store *::before, .sl-store *::after { box-sizing: border-box; }
.sl-store :is(h1,h2,h3,h4,h5,h6,input,select,textarea,button,.button) { font-family: inherit; }
body.sl-store :is(h1,h2,h3,h4,h5,h6,p,button,input,select,textarea,.elementor-heading-title) { font-family: Cairo, system-ui, sans-serif !important; }
.sl-store :is(h1,h2,h3,h4) { color: var(--ink); font-weight: 700; letter-spacing: normal; }
.sl-store :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #aa3d80; outline-offset: 3px; }
.sl-store :is(button,a,input,select) { -webkit-tap-highlight-color: transparent; }
.sl-store a { color: var(--blue); }
.sl-store a:hover { color: #104f7d; }
.sl-store :is(button,.button) { touch-action: manipulation; }
.sl-store #primary > .container { width: min(1400px, 100%); max-width: 100%; padding-inline: 28px; }
.sl-store #primary { padding-block: 32px 64px; }
.sl-store #primary .site-main, .sl-store #primary .content-area { min-width: 0; }
.sl-store #primary .page-grid { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 28px; }
.sl-store #primary .page-grid:not(:has(> #secondary)) { grid-template-columns: minmax(0,1fr); }
.sl-store #primary .page-grid > :is(.site-main,#secondary) { float: none; width: auto; min-width: 0; margin: 0; }
.sl-store .page-header { background: var(--pale); border: 0; margin: 0; padding-block: 18px; }
.sl-store .page-header .page-header { padding: 0; }
.sl-store .page-header :is(h1,.page-title) { font-size: 1.75rem; }
.sl-store.single-product .page-header h1 { display: none !important; }
.sl-store :is(#crumbs,.woocommerce-breadcrumb) { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.sl-store :is(#crumbs,.woocommerce-breadcrumb) a { display: inline-flex; align-items: center; min-height: 44px; }

/* The original zero-review stars are emitted by RTSB, not WooCommerce alone. */
.sl-store .star-rating.empty,
.sl-store .rtsb-star-rating:has(.star-rating.empty),
.sl-store .sl-no-reviews :is(.star-rating,.rtsb-star-rating,.woocommerce-product-rating),
.sl-store .sl-empty-rating,
.sl-store :is(.wsb-button,.js-wsb-add-to-cart,[name="wsb-buy-now"],.rtsb-buy-now,.rtsb-buy-now-btn,.rtsb-buy-now-button,.rtsb-wishlist-btn,.rtsb-wishlist-button,.rtsb-compare-btn,.rtsb-compare-button,.rtsb-quick-view-btn,.rtsb-quick-view-button,.rtsb-product-share,.rtsb-social-share,.rtsb-social-share-wrapper,.rtsb-wishlist-icon,.rtsb-compare-icon,.rtsb-quick-view-icon,.yith-wcwl-add-to-wishlist,.compare,.woosq-btn,.woosw-btn,.woosc-btn,.product-share,.product-sharing,.woocommerce-product-sharing,.pswp__button--share,.pswp__share-modal),
.sl-store ul.products li.product .hover-area { display: none !important; }

/* Result count and native ordering remain in their original WooCommerce hooks. */
.sl-store .sl-store-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-block-end: 24px; padding-block: 12px; border-block-end: 1px solid var(--line); }
.sl-store .sl-store-toolbar::before, .sl-store .sl-store-toolbar::after { display: none; }
.sl-store .woocommerce-result-count, .sl-store .woocommerce-ordering { float: none !important; margin: 0 !important; color: var(--muted); font-size: .875rem; }
.sl-store .woocommerce-ordering { max-width: 100%; }
.sl-store :is(select,input[type="number"],input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="search"],textarea) { min-height: 48px; border: 1px solid #8da9bc; border-radius: 9px; padding: 10px 12px; background-color: #fff; color: var(--ink); font: inherit; max-width: 100%; }
.sl-store select { min-width: 0; }
.sl-store input::placeholder, .sl-store textarea::placeholder { color: var(--muted); opacity: 1; }
.sl-store .woocommerce-ordering select { width: min(100%, 250px); font-size: .875rem; }

/* Reset WooCommerce and Best Shop float-based columns, including related grids. */
body.sl-store ul.products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; clear: both; width: 100%; margin: 0; padding: 0; list-style: none; }
.sl-store ul.products::before, .sl-store ul.products::after { display: none !important; }
body.sl-store ul.products li.product { position: relative; display: flex; flex-direction: column; float: none !important; clear: none !important; width: auto !important; min-width: 0; margin: 0 !important; padding: 0 0 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: start; box-shadow: 0 4px 18px #102b4104; transition: border-color .18s ease, box-shadow .18s ease; }
.sl-store ul.products li.product:hover { border-color: #8da9bc; box-shadow: 0 8px 22px #102b410a; }
.sl-store ul.products li.product a.woocommerce-loop-product__link { display: flex; flex: 1; flex-direction: column; min-width: 0; margin: 0; padding: 0; color: var(--ink); text-decoration: none; }
.sl-store ul.products li.product a img { display: block; width: 100%; height: 210px; margin: 0 0 16px; padding: 20px; object-fit: contain; background: #fbfcfe; border-block-end: 1px solid #e8eff4; border-radius: 0; }
.sl-store ul.products li.product .woocommerce-loop-product__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; min-height: 3.6em; margin: 0 16px 14px; padding: 0; color: var(--ink); font-size: .9375rem; font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; }
.sl-store :is(.woocommerce-loop-product__title,.product_title,.product-title,.sku) { unicode-bidi: plaintext; }
.sl-store ul.products li.product .price { display: block; margin: auto 16px 14px; color: var(--ink); font-size: 1.25rem; font-weight: 700; line-height: 1.7; }
.sl-store :is(ul.products,.summary,.sl-mobile-price) .price del,
.sl-store .sl-mobile-price del { color: var(--muted); opacity: 1; font-size: .875rem; font-weight: 400; }
.sl-store :is(ul.products,.summary) .price ins,
.sl-store .sl-mobile-price ins { color: var(--blue); background: transparent; text-decoration: none; font-weight: 700; }
.sl-store ul.products li.product .price :is(del,ins) { display: inline-block; }
.sl-store .woocommerce-Price-currencySymbol { font-size: .8em; font-weight: 600; }
.sl-store ul.products li.product .custom-cart-btn { display: flex; flex-direction: column; gap: 8px; margin: 0 16px; padding: 0; background: none; }
.sl-store ul.products li.product > .button { margin-inline: 16px; }
.sl-store ul.products li.product .button,
.sl-store .woocommerce :is(a.button,button.button,input.button),
.sl-store :is(a.checkout-button,button.single_add_to_cart_button) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-block-start: 0; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-size: .9375rem; font-weight: 700; line-height: 1.6; text-align: center; text-decoration: none; white-space: normal; box-shadow: none; }
.sl-store ul.products li.product .button { width: 100%; }
.sl-store ul.products li.product > .button { width: calc(100% - 32px); }
.sl-store ul.products li.product .added_to_cart { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 10px; color: var(--blue); font-weight: 600; }
.sl-store ul.products li.product .button:hover,
.sl-store .woocommerce :is(a.button,button.button,input.button):hover,
.sl-store button.single_add_to_cart_button:hover { background: #104f7d; border-color: #104f7d; color: #fff; }
.sl-store :is(button.button,.single_add_to_cart_button):disabled,
.sl-store .single_add_to_cart_button.disabled { background: #526575 !important; border-color: #526575 !important; color: #fff !important; opacity: 1 !important; cursor: not-allowed; }
.sl-store ul.products li.product .star-rating { margin-inline: 16px; }
.sl-store :is(ul.products li.product,div.product) .onsale { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; inset-inline-end: auto; min-width: 0; min-height: 0; margin: 0; padding: 4px 12px; border: 1px solid #c5deef; border-radius: 999px; background: var(--pale); color: var(--blue); font-size: .8125rem; font-weight: 700; line-height: 1.8; z-index: 3; }

/* Widgets retain native filtering and cart links. */
.sl-store #secondary .widget { margin-block-end: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--muted); }
.sl-store #secondary .widget :is(h2,h3,.widget-title) { margin-block: 0 12px; font-size: 1rem; color: var(--ink); }
.sl-store #secondary :is(.widget a,.product-categories a,.wc-block-product-categories-list-item a) { min-height: 44px; display: inline-flex; align-items: center; }
.sl-store #secondary .product_list_widget li { padding-block: 12px; border-block-end: 1px solid var(--line); font-size: .875rem; }
.sl-store #secondary .product_list_widget li:last-child { border: 0; }
.sl-store #secondary .product_list_widget img { width: 56px; height: 56px; object-fit: contain; background: #fbfcfe; }
.sl-store .woocommerce-pagination { margin-block-start: 32px; text-align: center; }
.sl-store .woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0 !important; list-style: none; }
.sl-store .woocommerce-pagination ul li { border: 0 !important; }
.sl-store .woocommerce-pagination ul li :is(a,span) { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--blue); }
.sl-store .woocommerce-pagination ul li span.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Full-width single product canvas, with the existing gallery and summary. */
.sl-store.single-product #primary .page-grid { grid-template-columns: minmax(0,1fr); }
.sl-store.single-product #secondary { display: none; }
body.sl-store.single-product div.product:not(li) { position: relative; }
body.sl-store.single-product .site-main div.product[id^="product-"] { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 36px 48px; }
.sl-store.single-product div.product::before, .sl-store.single-product div.product::after { display: none; }
body.sl-store.single-product div.product div.images,
body.sl-store.single-product div.product div.summary { float: none !important; width: 100% !important; min-width: 0; margin: 0; }
.sl-store.single-product .woocommerce-product-gallery { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfe; }
.sl-store.single-product .woocommerce-product-gallery img { width: 100%; max-height: 470px; object-fit: contain; }
.sl-store.single-product .woocommerce-product-gallery :is(.flex-control-thumbs,.rtsb-vg-thumb-slider) { margin-block-start: 16px; }
.sl-store.single-product .woocommerce-product-gallery .flex-control-thumbs img,
.sl-store.single-product .rtsb-vg-thumb-slider img { height: 88px; object-fit: contain; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.sl-store.single-product .summary .product_title { margin-block: 0 18px; color: var(--ink); font-size: 1.6rem; font-weight: 700; line-height: 1.65; overflow-wrap: anywhere; }
.sl-store.single-product .summary > .price { margin-block: 0 20px; color: var(--ink); font-size: 2rem; font-weight: 700; line-height: 1.6; }
.sl-store.single-product .summary .woocommerce-product-details__short-description { margin-block-end: 24px; color: var(--muted); }
.sl-store.single-product .summary form.cart:not(.variations_form):not(.grouped_form),
.sl-store.single-product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-block: 20px 18px; }
.sl-store.single-product .summary form.cart .quantity { float: none; flex: 0 0 80px; margin: 0; }
.sl-store.single-product .summary form.cart .qty { width: 80px; min-height: 52px; height: 100%; padding-inline: 8px; text-align: center; }
.sl-store.single-product .summary form.cart .single_add_to_cart_button { float: none; flex: 1 1 150px; min-height: 52px; margin: 0; }
.sl-store.single-product .summary form.cart { margin-block: 20px 18px; scroll-margin-block-start: 110px; }
.sl-store.single-product .summary form.cart .single_add_to_cart_button { scroll-margin-block: 110px; }
.sl-store.single-product .summary .variations { width: 100%; margin-block-end: 16px; border: 0; border-collapse: collapse; }
.sl-store.single-product .summary .variations :is(th,td) { border: 0; background: transparent; padding: 8px 0; text-align: start; vertical-align: top; }
.sl-store.single-product .summary .variations th { width: 76px; padding-inline-end: 16px; font-weight: 600; }
.sl-store.single-product .summary .variations select { display: block !important; width: 100%; min-height: 48px; margin: 0; font-size: 1rem; }
/* Keep the real select operable even if swatches JS fails. Values are never translated. */
.sl-store.single-product .variations .rtsb-terms-wrapper { display: none !important; }
.sl-store .reset_variations { display: inline-flex !important; align-items: center; min-height: 44px; margin-block-start: 4px; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.sl-store.single-product .summary .product_meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block-start: 24px; padding-block-start: 18px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.sl-store.single-product .summary .stock { color: #116932; }
.sl-store.single-product .summary .out-of-stock { color: #9d2437; }
.sl-store .sl-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 16px; border: 1px solid var(--wa); border-radius: 9px; background: #fff; color: var(--wa); font-weight: 700; text-decoration: none; text-align: center; }
.sl-store .sl-whatsapp:hover { background: #f0f9f3; color: #116932; border-color: #116932; }
.sl-store :is(.sl-product-support,.sl-mobile-purchase) svg { flex-shrink: 0; width: 23px; height: 23px; }
.sl-store .sl-trust { display: grid; gap: 12px; margin: 16px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--pale); color: var(--muted); list-style: none; font-size: .875rem; }
.sl-store .sl-trust li { display: flex; align-items: start; gap: 12px; margin: 0; }
.sl-store .sl-trust svg { color: var(--blue); margin-block-start: 2px; }
.sl-store.single-product div.product > :is(.woocommerce-tabs,.related,.upsells) { grid-column: 1 / -1; width: 100%; min-width: 0; clear: both; margin: 0; }
.sl-store.single-product div.product .woocommerce-tabs { margin-block-start: 12px; }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; padding: 0; border-block-end: 1px solid var(--line); overflow: visible; list-style: none; }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs::before,
.sl-store.single-product div.product .woocommerce-tabs ul.tabs li::before,
.sl-store.single-product div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs li { float: none; margin: 0 0 -1px; padding: 0; border: 0; border-block-end: 3px solid transparent; border-radius: 0; background: transparent; box-shadow: none; }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 2px; color: var(--muted); font-weight: 600; }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs li.active { background: transparent; border-block-end-color: var(--blue); }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs li.active a { color: var(--blue); }
.sl-store.single-product .woocommerce-Tabs-panel { color: var(--muted); overflow-wrap: anywhere; }
.sl-store.single-product :is(.woocommerce-Tabs-panel,.related,.upsells) > h2 { margin-block: 0 20px; font-size: 1.4rem; }
.sl-store.single-product .woocommerce-Tabs-panel table { width: 100%; border: 1px solid var(--line); border-collapse: collapse; }
.sl-store.single-product .woocommerce-Tabs-panel :is(th,td) { padding: 12px; border: 1px solid var(--line); text-align: start; }
.sl-store.single-product .related { padding-block-start: 30px; border-block-start: 1px solid var(--line); }
.sl-store .sl-model-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.sl-store .sl-model-chips li { max-width: 100%; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--pale); color: var(--ink); font-weight: 600; }
.sl-store .sl-compatibility-note a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.sl-store .sl-mobile-purchase { display: none; }

/* Shared form polish, without replacing cart, checkout or account templates. */
.sl-store :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) { padding-block: 16px; border-radius: 10px; background: var(--pale); color: var(--ink); }
.sl-store .woocommerce-info, .sl-store .woocommerce-message { border-block-start-color: var(--blue); }
.sl-store .woocommerce form .form-row { margin-block-end: 16px; }
.sl-store .woocommerce form .form-row label { color: var(--ink); }
.sl-store .woocommerce form :is(input.input-text,textarea,select) { font-size: 1rem; }
.sl-store .woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); }
.sl-store .woocommerce table.shop_table th { background: var(--pale); }
.sl-store .woocommerce table.shop_table td { border-block-start-color: var(--line); }
.sl-store .woocommerce a.remove { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
.sl-store .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order,#customer_login) { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sl-store .woocommerce :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content) { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.sl-store .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; }
.sl-store .wc-block-components-button { min-height: 48px; border-radius: 9px; font: inherit; }

@media (max-width: 1100px) {
  .sl-store #primary .page-grid { grid-template-columns: minmax(0,1fr) 210px; gap: 20px; }
  body.sl-store ul.products { gap: 12px; }
  .sl-store ul.products li.product a img { height: 170px; padding: 16px; }
  .sl-store ul.products li.product :is(.woocommerce-loop-product__title,.price) { margin-inline: 12px; }
  .sl-store ul.products li.product .custom-cart-btn { margin-inline: 12px; }
  .sl-store ul.products li.product .button { padding-inline: 8px; font-size: .875rem; }
}
@media (max-width: 860px) {
  .sl-store #primary { padding-block: 24px 40px; }
  .sl-store #primary > .container { padding-inline: 20px; }
  .sl-store #primary .page-grid { grid-template-columns: minmax(0,1fr); }
  body.sl-store ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .sl-store #secondary { margin-block-start: 28px !important; }
  body.sl-store.single-product .site-main div.product[id^="product-"] { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .sl-store.single-product .woocommerce-product-gallery { max-width: 600px; width: 100%; justify-self: center; }
  .sl-store.single-product .woocommerce-product-gallery img { max-height: 350px; }
  body.sl-store.single-product { padding-block-end: calc(100px + env(safe-area-inset-bottom,0px)); }
  .sl-store.single-product .sl-mobile-purchase { position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 900; display: grid; grid-template-columns: minmax(0,1fr) minmax(120px,1fr) 48px; align-items: center; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom,0px)); border-block-start: 1px solid #a9becd; background: #fff; box-shadow: 0 -4px 20px #102b410a; }
  .sl-store .sl-mobile-price { min-width: 0; max-height: 4.5em; overflow: auto; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.65; }
  .sl-store .sl-mobile-price del { display: block; font-size: .75rem; }
  .sl-store .sl-mobile-price .woocommerce-Price-amount { display: inline-block; }
  .sl-store :is(.sl-mobile-cart,.sl-mobile-whatsapp) { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 9px 10px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-size: .875rem; font-weight: 700; line-height: 1.5; text-decoration: none; text-align: center; }
  .sl-store .sl-mobile-cart:hover { background: #104f7d; color: #fff; }
  .sl-store .sl-mobile-whatsapp { min-width: 48px; background: #fff; border-color: var(--wa); color: var(--wa); }
  .sl-store .sl-mobile-whatsapp:hover { background: #f0f9f3; color: #116932; }
}
@media (max-width: 480px) {
  .sl-store #primary > .container { padding-inline: 14px; }
  body.sl-store ul.products { gap: 10px; }
  .sl-store ul.products li.product { border-radius: 13px; padding-block-end: 12px; }
  .sl-store ul.products li.product a img { height: 155px; padding: 12px; }
  .sl-store ul.products li.product .woocommerce-loop-product__title { font-size: .875rem; margin-inline: 10px; }
  .sl-store ul.products li.product .price { margin-inline: 10px; font-size: 1.125rem; }
  .sl-store ul.products li.product .custom-cart-btn { margin-inline: 10px; }
  .sl-store .sl-store-toolbar { gap: 10px; }
  .sl-store .woocommerce-ordering { flex: 1; min-width: 150px; }
  .sl-store .woocommerce-ordering select { width: 100%; font-size: .8125rem; }
  .sl-store.single-product .woocommerce-product-gallery { padding: 14px; }
  .sl-store.single-product .summary > .price { font-size: 1.75rem; }
  .sl-store .sl-trust { padding: 16px; }
  .sl-store .sl-whatsapp { padding-inline: 10px; font-size: .875rem; }
  .sl-store.single-product div.product .woocommerce-tabs ul.tabs { gap: 4px 18px; }
  .sl-store.single-product div.product .woocommerce-tabs ul.tabs li a { font-size: .875rem; }
  .sl-store.single-product .sl-mobile-purchase { grid-template-columns: minmax(0,1fr) minmax(112px,1fr) 44px; gap: 8px; padding-inline: 12px; }
  .sl-store .sl-mobile-whatsapp { min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-store *, .sl-store *::before, .sl-store *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .sl-store :is(.button,.sl-whatsapp,.sl-mobile-cart,.sl-mobile-whatsapp) { border: 1px solid ButtonText; }
}

/* Approved archive and product design. Native WooCommerce markup is retained. */
.sl-store #primary > .container { width: min(1256px,100%); margin-inline: auto; }
.sl-store.sl-store-archive { background: #f3f8fb; }
.sl-store.sl-store-archive #primary .page-grid { grid-template-columns: minmax(0,1fr); }
.sl-store.sl-store-archive #secondary,
.sl-store.sl-store-archive .page-header h1,
.sl-store.sl-store-archive .woocommerce-products-header__title { display: none; }
.sl-store .sl-archive-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; margin-block-end: 0; padding: 30px 24px; border: 1px solid var(--line); border-radius: 16px 16px 0 0; background: linear-gradient(110deg,#eaf4fa,#fff); }
.sl-store .sl-archive-hero h1 { font-size: clamp(1.65rem,2.6vw,2.25rem); line-height: 1.5; margin: 0 0 8px; }
.sl-store .sl-archive-hero p { margin: 0; color: var(--muted); font-size: .9375rem; }
.sl-store .sl-archive-hero .sl-eyebrow { color: var(--blue); font-size: .8125rem; font-weight: 700; margin-block-end: 8px; }
.sl-store .sl-ink-search { min-width: 0; padding: 16px; border: 1px solid #b8cedc; border-radius: 14px; background: #fff; }
.sl-store .sl-ink-search label { display: block; margin-block-end: 8px; font-size: .875rem; font-weight: 700; }
.sl-store .sl-ink-field { display: flex; gap: 8px; }
.sl-store .sl-ink-field input[type="search"] { flex: 1; width: 100%; min-width: 0; font-size: .875rem; }
.sl-store .sl-ink-field button { min-width: 68px; min-height: 48px; padding: 8px 16px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-weight: 700; cursor: pointer; }
.sl-store .sl-ink-search > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wa); font-size: .8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.sl-store .sl-archive-navigation { min-width: 0; padding: 20px 24px 14px; border: 1px solid var(--line); border-block-start: 0; border-radius: 0 0 14px 14px; background: #fff; }
.sl-store :is(.sl-category-pills,.sl-quick-chips) { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; overflow-x: auto; padding: 4px 3px 8px; scrollbar-width: thin; }
.sl-store :is(.sl-category-pills,.sl-quick-chips) a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.sl-store .sl-category-pills a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sl-store .sl-quick-chips { gap: 7px; margin-block-start: 6px; }
.sl-store .sl-quick-chips > span { flex: 0 0 auto; color: var(--muted); font-size: .8125rem; }
.sl-store .sl-quick-chips a { border-radius: 8px; background: #f8fbfd; padding-inline: 14px; font-size: .8125rem; font-weight: 600; }
.sl-store .sl-quick-chips a[aria-current="page"] { color: var(--blue); background: var(--pale); border-color: var(--blue); }
.sl-store :is(.sl-category-pills,.sl-quick-chips) a:hover { border-color: var(--blue); }
.sl-store.sl-store-archive .sl-store-toolbar { margin-block: 14px 16px; border: 0; }
body.sl-store ul.products li.product { border-radius: 14px; box-shadow: 0 2px 4px #102b4103; }
.sl-store ul.products li.product a img { height: 220px; padding: 28px; background: #fbfcfe; }
.sl-store ul.products li.product .woocommerce-loop-product__title { margin-block-end: 12px; font-size: .875rem; }
.sl-store ul.products li.product .price { font-size: 1.125rem; }
.sl-store .sl-from { color: var(--muted); font-size: .75em; font-weight: 400; }
.sl-store .sl-product-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-end: 12px; font-size: .75rem; line-height: 1.6; }
.sl-store .sl-product-badges > span { max-width: 100%; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; background: #f4f7fa; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.sl-store .sl-product-badges .sl-compatible-badge { background: var(--pale); border-color: #c5deef; color: var(--blue); }
.sl-store ul.products .sl-product-badges { position: absolute; inset-block-start: 12px; inset-inline: 12px; z-index: 2; justify-content: space-between; pointer-events: none; }
.sl-store ul.products .sl-product-badges > span { padding: 4px 8px; font-size: .6875rem; }
.sl-store ul.products li.product .onsale { inset-block-start: 54px; }
.sl-store .sl-card-whatsapp { display: flex; align-items: center; justify-content: center; align-self: center; gap: 6px; min-height: 44px; margin: 8px 10px 0; color: var(--wa); font-size: .8125rem; font-weight: 700; }
.sl-store .sl-card-whatsapp:hover { color: #116932; text-decoration: underline; }
.sl-store :is(.sl-card-whatsapp,.sl-assist-card,.sl-delivery-line) svg { width: 20px; height: 20px; flex-shrink: 0; }
.sl-store .sl-assist-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-block: 24px; padding: 30px 32px; border: 1px solid #164a6b; border-radius: 14px; background: linear-gradient(125deg,#102b41,#17649a); color: #fff; }
.sl-store .sl-assist-card > div { flex: 1 1 330px; position: relative; padding-inline-start: 48px; }
.sl-store .sl-assist-card svg { position: absolute; inset-inline-start: 0; inset-block-start: 4px; width: 30px; height: 30px; }
.sl-store .sl-assist-card h2 { margin: 0 0 4px; font-size: 1.25rem; color: #fff; }
.sl-store .sl-assist-card p { margin: 0; color: #e0eef7; font-size: .9375rem; }
.sl-store .sl-assist-card > a { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px; background: #fff; border-radius: 9px; color: var(--wa); font-weight: 700; font-size: .875rem; }
.sl-store.single-product .woocommerce-product-gallery { background: linear-gradient(145deg,#f8fbfd,#fff); border-radius: 16px; }
.sl-store.single-product .summary > .price { margin-block-end: 8px; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.sl-store .sl-delivery-line { display: flex; align-items: center; gap: 8px; margin-block: 4px 18px; color: var(--blue); font-size: .8125rem; }
.sl-store .sl-trust { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; padding: 18px; background: #f5fafd; font-size: .8125rem; }
.sl-store .sl-trust li { gap: 8px; }
.sl-store .sl-trust .sl-branches { grid-column: 1 / -1; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.sl-store .sl-store-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 0; color: var(--muted); font-size: .75rem; }
.sl-store .sl-store-contact a { display: inline-flex; align-items: center; min-height: 44px; }
body.sl-store.single-product .summary .variations th { display: block; width: 100%; padding: 0; }
body.sl-store.single-product .summary .variations td { display: block; width: 100%; }
body.sl-store.single-product .summary .variations select.sl-enhanced-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap; border: 0 !important; }
.sl-store .sl-colour-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.sl-store .sl-colour-option { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 48px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600; text-align: start; cursor: pointer; }
.sl-store .sl-colour-option[data-colour]::before { content: ''; width: 13px; height: 13px; flex-shrink: 0; border: 1px solid #526575; border-radius: 50%; }
.sl-store .sl-colour-option[data-colour="cyan"]::before { background: #2b82c0; }
.sl-store .sl-colour-option[data-colour="magenta"]::before { background: #aa3d80; }
.sl-store .sl-colour-option[data-colour="yellow"]::before { background: #e7bd24; }
.sl-store .sl-colour-option[data-colour="pack"]::before { background: conic-gradient(#2b82c0 0 33%,#aa3d80 33% 66%,#e7bd24 66%); }
.sl-store .sl-colour-option[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--pale); color: var(--blue); }
.sl-store .sl-colour-option:disabled { background: #f4f6f8; border-color: #8da9bc; color: var(--muted); cursor: not-allowed; text-decoration: line-through; }
body.sl-store.single-product .summary form.cart .quantity.sl-quantity { display: flex; flex: 0 0 144px; align-items: stretch; border: 1px solid #8da9bc; border-radius: 9px; overflow: visible; background: #fff; }
body.sl-store.single-product .summary form.cart .sl-quantity .qty { width: 48px; min-width: 0; min-height: 52px; height: auto; padding: 0 2px; border: 0; border-radius: 0; appearance: textfield; -moz-appearance: textfield; }
.sl-store .sl-quantity .qty::-webkit-inner-spin-button, .sl-store .sl-quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sl-store .sl-qty-button { flex: 1 0 44px; width: 44px; min-height: 52px; border: 0; border-radius: 8px; background: #f6f8fa; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.sl-store .sl-qty-button:disabled { color: var(--muted); cursor: not-allowed; }
body.sl-store.single-product .summary form.cart .single_add_to_cart_button { flex: 1 1 0; min-width: 0; }
.sl-store.single-product div.product > .sl-models-preview { display: flex; align-items: center; gap: 28px; grid-column: 1 / -1; width: 100%; padding: 24px; border: 1px solid #c5deef; border-radius: 16px; background: var(--pale); }
.sl-store .sl-models-preview > div:first-child { flex: 1; min-width: 0; }
.sl-store .sl-models-preview h2 { margin: 0 0 12px; font-size: 1.125rem; }
.sl-store .sl-models-preview .sl-model-chips { margin: 0; gap: 8px; }
.sl-store .sl-model-chips li { border-radius: 8px; font-size: .8125rem; padding: 8px 12px; overflow-wrap: anywhere; }
.sl-store .sl-models-preview .sl-model-chips li { background: #fff; }
.sl-store .sl-models-all { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; font-size: .875rem; }
.sl-store .sl-models-help { flex: 0 1 240px; text-align: center; font-size: .8125rem; color: var(--blue); }
.sl-store .sl-models-help .sl-whatsapp { font-size: .8125rem; }
.sl-store.single-product div.product .woocommerce-tabs { overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 16px; }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs { gap: 0; margin: 0; padding-inline: 16px; background: #f5f9fc; }
.sl-store.single-product div.product .woocommerce-tabs ul.tabs li a { padding-inline: 18px; font-size: .875rem; }
.sl-store.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 24px; margin: 0; }
.sl-store.single-product .related { padding-block: 30px; }
@media (max-width: 1100px) {
  .sl-store .sl-archive-hero { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 18px; }
  .sl-store ul.products li.product a img { height: 180px; padding: 20px; }
}
@media (max-width: 860px) {
  .sl-store .sl-archive-hero { grid-template-columns: minmax(0,1fr); padding: 20px 16px; }
  .sl-store .sl-archive-navigation { padding: 12px 10px; }
  .sl-store .sl-archive-hero p { font-size: .875rem; }
  .sl-store .sl-assist-card { padding: 24px; gap: 20px; }
  .sl-store .sl-assist-card > div { flex-basis: 100%; }
  .sl-store .sl-assist-card > a { width: 100%; }
  .sl-store ul.products .sl-product-badges { inset-inline: 8px; inset-block-start: 8px; gap: 4px; }
  .sl-store ul.products .sl-product-badges > span { padding-inline: 6px; font-size: .625rem; }
  .sl-store.single-product div.product > .sl-models-preview { flex-direction: column; align-items: stretch; padding: 20px; gap: 8px; }
  .sl-store .sl-models-help { flex-basis: auto; text-align: start; }
}
@media (max-width: 480px) {
  .sl-store ul.products li.product a img { height: 155px; padding: 18px; }
  .sl-store .sl-card-whatsapp { font-size: .6875rem; gap: 4px; margin-inline: 6px; }
  .sl-store .sl-card-whatsapp svg { width: 17px; height: 17px; }
  .sl-store .sl-trust { grid-template-columns: minmax(0,1fr); }
  .sl-store .sl-trust .sl-branches { grid-column: auto; }
  .sl-store .sl-colour-option { font-size: .8125rem; padding-inline: 9px; }
  body.sl-store.single-product .summary form.cart .quantity.sl-quantity { flex-basis: 136px; }
  body.sl-store.single-product .summary form.cart .sl-quantity .qty { width: 40px; }
  .sl-store.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 18px; }
}

/* v1.1.1: beat Best Shop theme button/badge rules (live-site specificity fixes) */
body.sl-store .summary.entry-summary .cart button.sl-colour-option,
body.sl-store .summary.entry-summary .cart button.sl-colour-option:hover { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
body.sl-store .summary.entry-summary .cart button.sl-colour-option:hover { border-color: var(--brand); }
body.sl-store .summary.entry-summary .cart button.sl-colour-option[aria-pressed="true"] { background: var(--pale); color: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
body.sl-store .summary.entry-summary .cart button.sl-colour-option:disabled { background: #f4f6f8; border-color: #8da9bc; color: var(--muted); }
body.sl-store .summary.entry-summary .cart button.sl-qty-button,
body.sl-store .summary.entry-summary .cart button.sl-qty-button:hover { background: #f6f8fa; color: var(--ink); border: 0; box-shadow: none; }
body.sl-store.woocommerce ul.products li.product span.onsale,
body.sl-store.woocommerce div.product span.onsale { width: auto !important; max-width: max-content; inset-inline-end: auto !important; right: auto; left: auto; inset-inline-start: 12px !important; padding: 2px 12px !important; border-radius: 999px !important; background: var(--pale) !important; color: var(--blue) !important; border: 1px solid #c5deef; font-size: .78rem; line-height: 1.8; }
/* v1.1.2: theme forces white button text; set literal colours */
body.sl-store .summary.entry-summary .cart button.sl-colour-option { color: #102b41 !important; background: #fff !important; }
body.sl-store .summary.entry-summary .cart button.sl-colour-option[aria-pressed="true"] { color: #17649a !important; background: #edf5fa !important; }
body.sl-store .summary.entry-summary .cart button.sl-colour-option:disabled { color: #526575 !important; background: #f4f6f8 !important; }
body.sl-store .summary.entry-summary .cart button.sl-qty-button { color: #102b41 !important; background: #f6f8fa !important; }
body.sl-store .summary.entry-summary .cart button.sl-qty-button:disabled { color: #8da9bc !important; }
body.sl-store.woocommerce ul.products li.product span.onsale { inset-block-start: auto !important; top: auto !important; bottom: 10px; inset-block-end: 10px; }
body.sl-store .summary.entry-summary .cart button.single_add_to_cart_button, body.sl-store ul.products li.product a.button, body.sl-store .sl-mobile-cart { color: #fff !important; }
body.sl-store.woocommerce ul.products li.product span.onsale { top: 52px !important; inset-block-start: 52px !important; bottom: auto !important; inset-block-end: auto !important; }

/* v1.3.0 cart / checkout / account */
.sl-freebar{direction:rtl;background:#f1f7fc;border:1px solid #cfe3f3;border-radius:12px;padding:12px 16px;margin:0 0 18px;font-family:Cairo,Tahoma,sans-serif}
.sl-freebar p{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-weight:700;color:#102b41}
.sl-freebar svg{width:20px;height:20px;flex:none;color:#2b82c0}
.sl-freebar-track{display:block;height:8px;background:#dbe8f3;border-radius:99px;overflow:hidden}
.sl-freebar-track span{display:block;height:100%;background:#2b82c0;border-radius:99px}
.sl-freebar.is-done{background:#f1faf4;border-color:#bfe3cb}.sl-freebar.is-done .sl-freebar-track span{background:#15803d}.sl-freebar.is-done svg{color:#15803d}
.sl-cart-trust{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:6px;font-size:.92rem;color:#526575}
.sl-cart-trust li{position:relative;padding-right:22px}
.woocommerce .sl-cart-trust li:before,.sl-cart-trust li:before{content:"\2713"!important;position:absolute!important;right:0!important;left:auto!important;top:0!important;width:auto!important;height:auto!important;background:none!important;border:0!important;color:#15803d!important;font-weight:800}
.sl-cart-trust a{color:#15803d;font-weight:700}
.sl-account-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 22px}
.sl-account-card{display:block;border:1px solid #d8e4ec;border-radius:14px;padding:16px 18px;background:#fff;text-decoration:none!important;transition:border-color .2s,box-shadow .2s}
.sl-account-card:hover{border-color:#2b82c0;box-shadow:0 6px 18px rgba(16,43,65,.08)}
.sl-account-card strong{display:block;color:#102b41;font-size:1.05rem;margin-bottom:4px}
.sl-account-card span{color:#526575;font-size:.92rem}
.sl-empty-cart{text-align:center;margin:10px 0 24px;color:#526575}.sl-empty-cart a{color:#2b82c0;font-weight:700}
@media(max-width:600px){.sl-account-cards{grid-template-columns:1fr}}
body.rtl.woocommerce-checkout .col2-set .col-1{float:right!important}
body.rtl.woocommerce-checkout .col2-set .col-2{float:left!important}
.woocommerce-checkout #payment div.payment_box{background:#eef5fb!important;color:#102b41!important}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#eef5fb!important}
