/* Shain Store v1.0.76 — complete UI polish
   Visual layer only: keep WooCommerce product, variation, cart and account logic intact. */
:root{
  --ss-accent:#b5122a;--ss-accent-hover:#8f1023;--ss-ink:#20232b;--ss-muted:#697180;
  --ss-page:#f6f7f9;--ss-surface:#fff;--ss-surface-2:#f8f9fb;--ss-border:#e4e7ed;
  --ss-radius:16px;--ss-radius-sm:11px;--ss-shadow:0 5px 22px rgba(20,25,35,.055);
  --ss-shadow-hover:0 14px 34px rgba(20,25,35,.11);--ss-focus:0 0 0 3px rgba(181,18,42,.14)
}
html{scroll-behavior:smooth}
body{background:var(--ss-page);color:var(--ss-ink);line-height:1.8;-webkit-font-smoothing:antialiased}
body,button,input,select,textarea{font-family:inherit}
img{max-width:100%;height:auto}
a,button,input,select,textarea{transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(181,18,42,.34);outline-offset:3px}
body .container{width:min(1280px,calc(100% - 36px))}
h1,h2,h3,h4,.product_title,.woocommerce-products-header__title{line-height:1.5;letter-spacing:-.02em}
p{overflow-wrap:break-word}

/* Header, navigation and search */
.site-header{position:relative;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--ss-border);box-shadow:0 4px 20px rgba(20,25,35,.035)}
.header-main{gap:clamp(12px,2vw,26px);padding-block:12px}
.brand{min-width:0;gap:10px}
.brand-icon{flex-shrink:0;border-radius:13px}
.brand-copy{min-width:0}
.brand-copy b{font-size:clamp(18px,1.7vw,23px);font-weight:900;line-height:1.35}
.brand-copy small{font-size:12px;line-height:1.5}
.search-form{min-width:0;min-height:46px;border:1px solid #dfe3e9;border-radius:14px;background:#f7f8fa;overflow:hidden}
.search-form:focus-within{background:#fff;border-color:#cf8793;box-shadow:var(--ss-focus)}
.search-form input[type=search]{min-width:0;color:#20232b;background:transparent}
.search-form button{flex-shrink:0;background:var(--ss-accent);color:#fff;border-radius:10px}
.header-actions{align-items:center;gap:8px}
.header-actions a,.account-link,.cart-link{border-radius:11px;padding:9px 11px;font-weight:750}
.header-actions a:hover,.account-link:hover,.cart-link:hover{background:#fff0f2;color:var(--ss-accent)}
.main-nav{background:#fff;border-top:1px solid #f0f1f4}
.nav-inner{min-height:48px}
.nav-menu{gap:clamp(10px,1.5vw,22px)}
.nav-menu a{font-weight:750;color:#343944;padding:12px 2px}
.nav-menu a:hover,.nav-menu .current-menu-item>a{color:var(--ss-accent)}
.category-trigger{border-radius:10px;font-weight:800}

/* Main page rhythm, headings and breadcrumbs */
.home-main,.site-main,.shop-main{min-width:0}
.woocommerce .woocommerce-breadcrumb,.breadcrumb-wrap{font-size:12px;color:#747b88;margin:14px 0 18px;line-height:1.9}
.woocommerce .woocommerce-breadcrumb a,.breadcrumb-wrap a{color:#5e6674}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px}
.section-heading h2,.woocommerce-products-header__title{font-size:clamp(21px,2vw,29px);font-weight:900;margin:0}
.section-heading p{font-size:14px;color:#727987}
.hero-grid{overflow:hidden;border-radius:22px;box-shadow:0 12px 34px rgba(40,20,25,.075)}
.hero-copy h1{line-height:1.4}
.hero-buttons .btn,.btn{min-height:44px;border-radius:12px;font-weight:800}
.btn-primary,.woocommerce .button.alt,.woocommerce button.alt,.single_add_to_cart_button{background:var(--ss-accent);border-color:var(--ss-accent);color:#fff}
.btn-primary:hover,.woocommerce .button.alt:hover,.woocommerce button.alt:hover,.single_add_to_cart_button:hover{background:var(--ss-accent-hover);border-color:var(--ss-accent-hover);color:#fff}

/* Category and brand tiles */
.category-tile,.category-card,.ss-brand-card,.brand-card{border:1px solid var(--ss-border);border-radius:15px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.category-tile:hover,.category-card:hover,.ss-brand-card:hover,.brand-card:hover{transform:translateY(-3px);box-shadow:var(--ss-shadow-hover);border-color:#e0b1ba}
.category-tile img,.category-card img,.ss-brand-card img,.brand-card img{object-fit:contain}
.category-tile a,.category-card a,.ss-brand-card a,.brand-card a{overflow-wrap:anywhere}

/* Product cards */
.woocommerce ul.products{display:grid;gap:16px}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product,.ss-shop-results li.pt-product-card,.product-card,.shop-loop-card{
  float:none;min-width:0;width:auto!important;margin:0!important;position:relative;
  border:1px solid var(--ss-border);border-radius:16px;background:var(--ss-surface);
  box-shadow:0 2px 9px rgba(20,25,35,.025);overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.woocommerce ul.products li.product:hover,.ss-shop-results li.pt-product-card:hover,.product-card:hover,.shop-loop-card:hover{
  transform:translateY(-3px);border-color:#d9a0aa;box-shadow:var(--ss-shadow-hover)
}
.woocommerce ul.products li.product .product-thumb,.ss-shop-results li.pt-product-card .product-thumb{background:#fff;border-bottom:1px solid #eff0f3}
.woocommerce ul.products li.product .product-thumb img,.ss-shop-results li.pt-product-card .product-thumb img{object-fit:contain;transition:transform .24s ease}
.woocommerce ul.products li.product:hover .product-thumb img,.ss-shop-results li.pt-product-card:hover .product-thumb img{transform:scale(1.025)}
.woocommerce-loop-product__title,.ss-shop-results li.pt-product-card .woocommerce-loop-product__title{color:#242832;font-size:14px;line-height:1.75;font-weight:800}
.woocommerce ul.products li.product .price,.ss-shop-results li.pt-product-card .price,.product-price,.current-price{color:var(--ss-accent);font-weight:900;font-variant-numeric:tabular-nums}
.woocommerce ul.products li.product .price del{color:#858c98;font-size:.82em;font-weight:500}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button,.ss-shop-results li.pt-product-card .product-card-actions .button{min-height:38px;border-radius:10px;font-size:12px;font-weight:850}
.ss-product-icon-actions .ss-icon-action,.compare-button,.wishlist-button{box-shadow:0 3px 10px rgba(20,24,32,.09);transition:transform .18s ease,background .18s ease}
.ss-product-icon-actions .ss-icon-action:hover,.compare-button:hover,.wishlist-button:hover{transform:translateY(-2px)}
.onsale,.woocommerce span.onsale{min-height:auto;line-height:1.5;border-radius:8px;padding:5px 9px;background:var(--ss-accent);font-weight:850}

/* Shop filters and sorting */
.ss-shop-layout{gap:22px}
.ss-shop-sidebar .pt-advanced-filter,.pt-shop-filters,.widget,.woocommerce-widget-layered-nav{border-color:var(--ss-border);border-radius:15px}
.ss-shop-sidebar .pt-advanced-filter{box-shadow:var(--ss-shadow);overflow:hidden}
.ss-shop-sidebar .pt-advanced-filter>summary{font-weight:850}
.pt-shop-filters input:not([type=checkbox]):not([type=radio]),.pt-shop-filters select,.woocommerce-ordering select,.ss-shop-results .woocommerce-ordering select{
  min-height:42px;border:1px solid #dfe2e8;border-radius:10px;padding:8px 11px;background:#fff;color:#272b33
}
.pt-shop-filters input:focus,.pt-shop-filters select:focus,.woocommerce-ordering select:focus{border-color:#d78391;box-shadow:var(--ss-focus);outline:0}
.pt-filter-actions button,.pt-filter-actions .button{border-radius:10px;min-height:40px;font-weight:800}
.woocommerce .woocommerce-result-count{font-size:13px;color:#697180}

/* Single product layout */
body.single-product .pt-single-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(20px,3vw,38px);align-items:start}
body.single-product .pt-single-product> .woocommerce-product-gallery,
body.single-product .pt-single-product> .images{min-width:0}
body.single-product .pt-single-product .summary{min-width:0;width:auto!important;float:none!important;margin:0!important}
body.single-product .ss-product-gallery-main{border-radius:18px;border:1px solid var(--ss-border);box-shadow:var(--ss-shadow);overflow:hidden}
body.single-product .product_title{font-size:clamp(23px,2.5vw,34px);line-height:1.55;font-weight:900;color:#20232b}
body.single-product .summary .price{font-size:clamp(22px,2.4vw,30px);color:var(--ss-accent);font-weight:900}
body.single-product .summary .stock{font-size:13px;font-weight:800;color:#16845b}
body.single-product .summary .woocommerce-product-details__short-description{color:#525967;font-size:14px;line-height:2}
body.single-product .single_add_to_cart_button{min-height:49px;border-radius:12px;font-weight:900;box-shadow:0 6px 16px rgba(181,18,42,.16)}
body.single-product .quantity .qty{min-height:46px;border:1px solid var(--ss-border);border-radius:10px;background:#fff;color:#20232b}
body.single-product .pt-product-extra,.pt-single-lower,.woocommerce div.product .woocommerce-tabs .panel{border:1px solid var(--ss-border);border-radius:15px;background:#fff;padding:clamp(14px,2.4vw,26px)}
body.single-product .pt-product-extra h2{font-size:18px;font-weight:900;margin:0 0 14px}
body.single-product .pt-spec-list>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf0f3}
body.single-product .pt-spec-list>div:last-child{border-bottom:0}
body.single-product .pt-spec-list b{font-weight:850}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:8px;flex-wrap:wrap;border:0;padding:0;margin:24px 0 12px}
.woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--ss-border);border-radius:10px;background:#f7f8fa;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:10px 15px;font-size:14px;font-weight:800}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--ss-accent);border-color:var(--ss-accent)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
body.single-product .related.products>h2,body.single-product .up-sells>h2{font-size:22px;font-weight:900;margin-bottom:16px}

/* Variation cards: color swatches and memory/storage buttons */
body.single-product .variations_form .variations{width:100%;margin:18px 0 12px;border:0;border-collapse:separate;border-spacing:0 12px}
body.single-product .variations_form .variations tr{display:block;margin:0 0 17px}
body.single-product .variations_form .variations th,body.single-product .variations_form .variations td{display:block;width:100%;padding:0;border:0;background:transparent;text-align:right}
body.single-product .variations_form .variations th.label{margin:0 0 10px}
body.single-product .variations_form .variations th.label label{display:block;color:#20232b;font-size:14px;font-weight:850;line-height:1.8}
body.single-product .ss-variation-options{display:flex;flex-wrap:wrap;align-items:stretch;gap:9px;direction:rtl}
body.single-product .ss-variation-option{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:76px;min-height:46px;max-width:100%;padding:8px 12px;border:1px solid #e0e3e9;border-radius:12px;background:#fff;color:#242832;font:inherit;font-size:13px;font-weight:750;line-height:1.55;text-align:center;cursor:pointer;box-shadow:0 2px 7px rgba(20,24,32,.035)}
body.single-product .ss-variation-option:hover{border-color:var(--ss-accent);transform:translateY(-1px)}
body.single-product .ss-variation-option[aria-pressed="true"]{border:2px solid #246bfe;padding:7px 11px;background:#f5f8ff;box-shadow:0 0 0 3px rgba(36,107,254,.09)}
body.single-product .ss-variation-option.is-disabled{opacity:.38;cursor:not-allowed;text-decoration:line-through}
body.single-product .ss-variation-option .ss-color-dot{flex:0 0 25px;width:25px;height:25px;border:1px solid rgba(0,0,0,.16);border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.45),0 1px 3px rgba(0,0,0,.12)}
body.single-product .ss-variation-option.is-color{min-width:90px;flex-direction:column;gap:5px;padding:10px 12px}
body.single-product .ss-variation-option.is-color[aria-pressed="true"]{padding:9px 11px}
body.single-product .ss-variation-option.is-color .ss-color-dot{width:35px;height:35px}
body.single-product .ss-variation-option .ss-option-label{overflow-wrap:anywhere}
body.single-product .variations_form .variations select.ss-native-variation-select{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body.single-product .variations_form .reset_variations{display:inline-block;margin-top:10px;color:var(--ss-accent);font-size:12px;font-weight:750}
body.single-product .variations_form .woocommerce-variation-availability{margin:10px 0;font-size:13px;font-weight:700}

/* Cart, checkout and tables */
.woocommerce table.shop_table{border:1px solid var(--ss-border);border-radius:13px;border-collapse:separate;border-spacing:0;overflow:hidden;background:#fff}
.woocommerce table.shop_table th{background:#f1f3f6;color:#343944;font-weight:850}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:#eceef2;padding:13px 14px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review,.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{border:1px solid var(--ss-border);border-radius:15px;background:#fff;padding:clamp(14px,2vw,22px)}
.woocommerce .cart-collaterals .cart_totals h2{font-size:20px;font-weight:900}
.woocommerce .quantity .qty{min-height:40px;border:1px solid var(--ss-border);border-radius:9px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{min-height:43px;border:1px solid #dfe2e8;border-radius:10px;padding:9px 12px;background:#fff;color:#252933}
.woocommerce form .form-row input:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{border-color:#d78391;box-shadow:var(--ss-focus);outline:0}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button{border-radius:10px;font-weight:850;min-height:40px}
.woocommerce .woocommerce-message{border-top-color:#16845b;border-radius:10px;background:#effaf5;color:#175c43}
.woocommerce .woocommerce-error{border-top-color:var(--ss-accent);border-radius:10px}
.woocommerce .woocommerce-info{border-top-color:#246bfe;border-radius:10px}

/* Account dashboard and login */
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{min-width:0;border:1px solid var(--ss-border);border-radius:15px;background:#fff;padding:clamp(14px,2vw,22px)}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;border-radius:10px;padding:10px 12px;color:#343944;font-weight:750}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#fff0f2;color:var(--ss-accent)}
.woocommerce-account .woocommerce-MyAccount-content a{color:var(--ss-accent)}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.lost_reset_password{border:1px solid var(--ss-border);border-radius:16px;background:#fff;padding:clamp(18px,3vw,30px);box-shadow:var(--ss-shadow)}

/* Footer */
.site-footer,.ss-footer-v13{background:#171a20;color:#e9ebf0}
.site-footer .footer-top,.ss-footer-v13 .footer-top{gap:clamp(18px,2.4vw,30px)}
.site-footer h3,.ss-footer-v13 h3{font-size:15px;line-height:1.7;color:#fff;margin-bottom:12px}
.site-footer p,.site-footer li,.site-footer a,.ss-footer-v13 p,.ss-footer-v13 li,.ss-footer-v13 a{font-size:13px;line-height:2;color:#c2c6cf}
.site-footer a:hover,.ss-footer-v13 a:hover{color:#fff}
.site-footer .footer-bottom,.footer-bottom{border-top:1px solid rgba(255,255,255,.12);color:#aeb4bf}
.site-footer .footer-top>*{min-width:0}
.site-footer .brand,.site-footer .footer-brand{max-width:100%;overflow-wrap:anywhere}

/* Utility, feedback, notices */
.woocommerce .star-rating{color:#f0a51a}
.woocommerce .woocommerce-pagination ul{border:0;display:flex;gap:6px;flex-wrap:wrap}
.woocommerce .woocommerce-pagination ul li{border:0}
.woocommerce .woocommerce-pagination ul li a,.woocommerce .woocommerce-pagination ul li span{display:flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;border:1px solid var(--ss-border);border-radius:10px;background:#fff}
.woocommerce .woocommerce-pagination ul li span.current{background:var(--ss-accent);border-color:var(--ss-accent);color:#fff}
::selection{background:rgba(181,18,42,.18)}

/* Dark mode: consistent surfaces and readable controls */
html.ss-dark-mode body{background:#17191f;color:#eceef3}
html.ss-dark-mode .site-header,html.ss-dark-mode .main-nav{background:#1d2028;border-color:#303440}
html.ss-dark-mode .brand-copy b,html.ss-dark-mode .header-actions a,html.ss-dark-mode .nav-menu a{color:#f2f3f7}
html.ss-dark-mode .nav-menu a:hover{color:#ff8fa0}
html.ss-dark-mode .search-form{background:#252933;border-color:#3a3f4c}
html.ss-dark-mode .search-form:focus-within{background:#20232b;border-color:#a94a5b}
html.ss-dark-mode .search-form input[type=search]{color:#f3f4f7}
html.ss-dark-mode .account-link:hover,html.ss-dark-mode .cart-link:hover{background:#35232a;color:#fff}
html.ss-dark-mode .section-heading p,html.ss-dark-mode .woocommerce .woocommerce-breadcrumb,html.ss-dark-mode .breadcrumb-wrap,html.ss-dark-mode .woocommerce .woocommerce-result-count{color:#b7bdc8}
html.ss-dark-mode .woocommerce ul.products li.product,html.ss-dark-mode .ss-shop-results li.pt-product-card,html.ss-dark-mode .product-card,html.ss-dark-mode .shop-loop-card{background:#20232b;border-color:#363b47;box-shadow:0 3px 14px rgba(0,0,0,.14)}
html.ss-dark-mode .woocommerce ul.products li.product .product-thumb,html.ss-dark-mode .ss-shop-results li.pt-product-card .product-thumb{background:#242832;border-color:#343945}
html.ss-dark-mode .woocommerce-loop-product__title,html.ss-dark-mode .ss-shop-results li.pt-product-card .woocommerce-loop-product__title{color:#f0f1f5}
html.ss-dark-mode .ss-shop-sidebar .pt-advanced-filter,html.ss-dark-mode .pt-shop-filters,html.ss-dark-mode .widget,html.ss-dark-mode .woocommerce-widget-layered-nav{background:#20232b;border-color:#363b47;color:#eceef3}
html.ss-dark-mode .pt-shop-filters input:not([type=checkbox]):not([type=radio]),html.ss-dark-mode .pt-shop-filters select,html.ss-dark-mode .woocommerce-ordering select,html.ss-dark-mode .ss-shop-results .woocommerce-ordering select{background:#292d37;color:#f1f2f6;border-color:#454b59}
html.ss-dark-mode .pt-shop-filters label,html.ss-dark-mode .pt-shop-filters span,html.ss-dark-mode .pt-shop-filters legend{color:#e5e7ed}
html.ss-dark-mode body.single-product .product_title,html.ss-dark-mode body.single-product .summary .woocommerce-product-details__short-description,html.ss-dark-mode body.single-product .pt-product-extra,html.ss-dark-mode body.single-product .pt-product-extra h2,html.ss-dark-mode body.single-product .pt-spec-list,html.ss-dark-mode body.single-product .pt-spec-list b{color:#eceef3}
html.ss-dark-mode body.single-product .ss-product-gallery-main{background:#20232b;border-color:#383d49}
html.ss-dark-mode body.single-product .pt-product-extra,html.ss-dark-mode body.single-product .pt-single-lower,html.ss-dark-mode body.single-product .woocommerce-tabs .panel{background:#20232b;border-color:#383d49;color:#eceef3}
html.ss-dark-mode body.single-product .pt-spec-list>div{border-color:#363b47}
html.ss-dark-mode body.single-product .woocommerce-tabs ul.tabs li{background:#242832;border-color:#3b414d}
html.ss-dark-mode body.single-product .woocommerce-tabs ul.tabs li a{color:#e9ebf1}
html.ss-dark-mode body.single-product .woocommerce-tabs ul.tabs li.active{background:var(--ss-accent);border-color:var(--ss-accent)}
html.ss-dark-mode body.single-product .variations_form .variations th.label label{color:#f2f3f7}
html.ss-dark-mode body.single-product .ss-variation-option{background:#242832;color:#f1f2f6;border-color:#414653;box-shadow:none}
html.ss-dark-mode body.single-product .ss-variation-option[aria-pressed="true"]{background:#202a3e;border-color:#6c9aff;color:#fff}
html.ss-dark-mode body.single-product .quantity .qty{background:#242832;color:#f1f2f6;border-color:#414653}
html.ss-dark-mode .woocommerce table.shop_table,html.ss-dark-mode .woocommerce .cart-collaterals .cart_totals,html.ss-dark-mode .woocommerce-checkout #order_review,html.ss-dark-mode .woocommerce-checkout #customer_details .col-1,html.ss-dark-mode .woocommerce-checkout #customer_details .col-2{background:#20232b;border-color:#383d49;color:#eceef3}
html.ss-dark-mode .woocommerce table.shop_table th{background:#292d37;color:#f2f3f7}
html.ss-dark-mode .woocommerce table.shop_table td,html.ss-dark-mode .woocommerce table.shop_table th{border-color:#363b47}
html.ss-dark-mode .woocommerce form .form-row input.input-text,html.ss-dark-mode .woocommerce form .form-row textarea,html.ss-dark-mode .woocommerce form .form-row select{background:#252933;color:#f2f3f7;border-color:#414653}
html.ss-dark-mode .woocommerce-account .woocommerce-MyAccount-navigation,html.ss-dark-mode .woocommerce-account .woocommerce-MyAccount-content,html.ss-dark-mode .woocommerce form.login,html.ss-dark-mode .woocommerce form.register,html.ss-dark-mode .woocommerce form.lost_reset_password{background:#20232b;border-color:#383d49;color:#eceef3}
html.ss-dark-mode .woocommerce-account .woocommerce-MyAccount-navigation a{color:#e9ebf1}
html.ss-dark-mode .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,html.ss-dark-mode .woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#35232a;color:#ffb1bd}
html.ss-dark-mode .woocommerce .woocommerce-pagination ul li a,html.ss-dark-mode .woocommerce .woocommerce-pagination ul li span{background:#242832;color:#f2f3f7;border-color:#414653}
html.ss-dark-mode .woocommerce .woocommerce-pagination ul li span.current{background:var(--ss-accent);border-color:var(--ss-accent);color:#fff}
html.ss-dark-mode .woocommerce .woocommerce-message{background:#18342b;color:#c9f4e1}
html.ss-dark-mode .woocommerce .woocommerce-info{background:#1d2b42;color:#d9e7ff}
html.ss-dark-mode .woocommerce .woocommerce-error{background:#3b2026;color:#ffdce1}

/* Mobile: avoid overflow, retain useful touch targets and readable layouts */
@media(max-width:900px){
 body .container{width:min(100% - 28px,1280px)}
 .header-main{flex-wrap:wrap}
 .search-form{order:3;flex:1 1 100%;width:100%}
 .header-actions{margin-inline-start:auto}
 body.single-product .pt-single-product{grid-template-columns:minmax(0,1fr);gap:20px}
 body.single-product .pt-single-product .summary{grid-row:auto}
 .woocommerce ul.products{gap:12px}
}
@media(max-width:600px){
 body .container{width:calc(100% - 22px)}
 .header-main{gap:8px;padding-block:9px}
 .brand-copy small{font-size:11px}
 .header-actions a,.account-link,.cart-link{padding:7px 8px;font-size:12px}
 .nav-inner{overflow-x:auto;max-width:100%}
 .nav-menu{flex-wrap:nowrap;white-space:nowrap}
 .section-heading{align-items:flex-start}
 .section-heading h2,.woocommerce-products-header__title{font-size:21px}
 .woocommerce ul.products{gap:9px}
 .woocommerce ul.products li.product,.ss-shop-results li.pt-product-card,.product-card,.shop-loop-card{border-radius:12px}
 body.single-product .product_title{font-size:23px}
 body.single-product .summary .price{font-size:24px}
 body.single-product .pt-product-extra,body.single-product .pt-single-lower,body.single-product .woocommerce-tabs .panel{padding:13px}
 body.single-product .pt-spec-list>div{align-items:flex-start;gap:10px;font-size:13px}
 body.single-product .ss-variation-options{gap:7px}
 body.single-product .ss-variation-option{min-width:68px;min-height:43px;padding:7px 9px;font-size:12px}
 body.single-product .ss-variation-option.is-color{min-width:75px;padding:8px}
 body.single-product .ss-variation-option.is-color .ss-color-dot{width:31px;height:31px}
 .woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:9px 7px;font-size:12px}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .woocommerce-account .woocommerce-MyAccount-navigation a{padding:9px;font-size:12px}
 .woocommerce-account .woocommerce-MyAccount-content{overflow-wrap:anywhere}
 .site-footer .footer-top,.ss-footer-v13 .footer-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .site-footer .footer-top>*{min-width:0}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* v1.0.77 hotfix: WooCommerce My Account dashboard must never widen the mobile viewport. */
body.woocommerce-account,
body.woocommerce-account #page,
body.woocommerce-account #content,
body.woocommerce-account .site-content,
body.woocommerce-account .site-main,
body.woocommerce-account .container,
body.woocommerce-account .woocommerce { min-width:0; max-width:100%; }
body.woocommerce-account { overflow-x:hidden; }
body.woocommerce-account .woocommerce:before,
body.woocommerce-account .woocommerce:after { content:none; }
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content { float:none; width:auto; max-width:100%; min-width:0; box-sizing:border-box; }
body.woocommerce-account .woocommerce-MyAccount-content { overflow-wrap:anywhere; word-break:normal; }
body.woocommerce-account .woocommerce-MyAccount-content > * { max-width:100%; min-width:0; }
body.woocommerce-account .woocommerce-MyAccount-content img,
body.woocommerce-account .woocommerce-MyAccount-content iframe,
body.woocommerce-account .woocommerce-MyAccount-content input,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content button { max-width:100%; box-sizing:border-box; }
body.woocommerce-account .woocommerce-MyAccount-content table { width:100%; max-width:100%; table-layout:fixed; }
body.woocommerce-account .woocommerce-MyAccount-content th,
body.woocommerce-account .woocommerce-MyAccount-content td { overflow-wrap:anywhere; word-break:normal; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content .shop_table,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table { display:table; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .col-2 { float:none; width:auto; max-width:100%; min-width:0; box-sizing:border-box; }
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; width:100%; }
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content { width:100%; margin:0; }
  body.woocommerce-account .woocommerce-MyAccount-navigation { padding:12px; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; width:100%; max-width:100%; margin:0; padding:0; overflow:visible; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul li { min-width:0; width:100%; max-width:100%; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display:flex; justify-content:center; align-items:center; width:100%; min-width:0; min-height:42px; padding:8px 7px; white-space:normal; text-align:center; line-height:1.5; overflow-wrap:anywhere; box-sizing:border-box; }
  body.woocommerce-account .woocommerce-MyAccount-content { padding:14px; }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .u-columns { grid-template-columns:minmax(0,1fr); }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
  body.woocommerce-account .woocommerce-MyAccount-content .shop_table,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table { display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table thead,
  body.woocommerce-account .woocommerce-MyAccount-content .shop_table thead,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table thead { display:table-header-group; }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody,
  body.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table tbody { display:table-row-group; }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tr,
  body.woocommerce-account .woocommerce-MyAccount-content .shop_table tr,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table tr { display:table-row; }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table th,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table td,
  body.woocommerce-account .woocommerce-MyAccount-content .shop_table th,
  body.woocommerce-account .woocommerce-MyAccount-content .shop_table td,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table th,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table td { min-width:76px; padding:8px 6px; font-size:12px; }
  body.woocommerce-account .woocommerce-MyAccount-content .button,
  body.woocommerce-account .woocommerce-MyAccount-content button,
  body.woocommerce-account .woocommerce-MyAccount-content input[type=submit] { white-space:normal; overflow-wrap:anywhere; }
}
@media (max-width: 360px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns:minmax(0,1fr); }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul li a { justify-content:flex-start; text-align:right; }
  body.woocommerce-account .woocommerce-MyAccount-content { padding:11px; }
}


/* Shain Store v1.0.78: compact horizontal footer layout
   Layout-only change: preserves every existing footer section and link. */
.site-footer.ss-footer-v13 .footer-top,
.site-footer .footer-top,
.ss-footer-v13 .footer-top {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.45fr) minmax(190px, 1.2fr) minmax(135px, .8fr) minmax(135px, .8fr) minmax(190px, 1.15fr);
  align-items: start;
  gap: 24px;
  width: 100%;
}
.site-footer.ss-footer-v13 .footer-top > *,
.site-footer .footer-top > *,
.ss-footer-v13 .footer-top > * {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
}
.site-footer.ss-footer-v13 .footer-brand,
.site-footer .footer-brand,
.ss-footer-v13 .footer-brand {
  grid-column: auto;
}
.site-footer.ss-footer-v13 .footer-logo,
.site-footer .footer-logo,
.ss-footer-v13 .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.site-footer.ss-footer-v13 .footer-logo .brand-copy,
.site-footer .footer-logo .brand-copy,
.ss-footer-v13 .footer-logo .brand-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.site-footer.ss-footer-v13 .footer-links,
.site-footer .footer-links,
.ss-footer-v13 .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.site-footer.ss-footer-v13 .footer-links h3,
.site-footer .footer-links h3,
.ss-footer-v13 .footer-links h3,
.site-footer.ss-footer-v13 .footer-contact-details h3,
.site-footer .footer-contact-details h3,
.ss-footer-v13 .footer-contact-details h3,
.site-footer.ss-footer-v13 .footer-about h3,
.site-footer .footer-about h3,
.ss-footer-v13 .footer-about h3 {
  margin: 0 0 8px;
}
.site-footer.ss-footer-v13 .footer-contact-details p,
.site-footer .footer-contact-details p,
.ss-footer-v13 .footer-contact-details p,
.site-footer.ss-footer-v13 .footer-about p,
.site-footer .footer-about p,
.ss-footer-v13 .footer-about p {
  margin: 0 0 7px;
}
.site-footer.ss-footer-v13 .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.site-footer.ss-footer-v13 .trust-row span {
  font-size: 11px;
}
.site-footer.ss-footer-v13 .footer-bottom,
.site-footer .footer-bottom,
.ss-footer-v13 .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 16px;
}
@media (max-width: 1100px) {
  .site-footer.ss-footer-v13 .footer-top,
  .site-footer .footer-top,
  .ss-footer-v13 .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .site-footer.ss-footer-v13 .footer-brand,
  .site-footer .footer-brand,
  .ss-footer-v13 .footer-brand {
    grid-column: span 1;
  }
}
@media (max-width: 700px) {
  .site-footer.ss-footer-v13 .footer-top,
  .site-footer .footer-top,
  .ss-footer-v13 .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
  .site-footer.ss-footer-v13 .footer-brand,
  .site-footer .footer-brand,
  .ss-footer-v13 .footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer.ss-footer-v13 .footer-bottom,
  .site-footer .footer-bottom,
  .ss-footer-v13 .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
@media (max-width: 380px) {
  .site-footer.ss-footer-v13 .footer-top,
  .site-footer .footer-top,
  .ss-footer-v13 .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer.ss-footer-v13 .footer-brand,
  .site-footer .footer-brand,
  .ss-footer-v13 .footer-brand {
    grid-column: auto;
  }
}


/* Shain Store v1.0.83 — footer rules in the actually enqueued polish stylesheet.
   Keep all sections/content; only correct layout and typography. */
html body footer.site-footer.ss-footer-v13 {
  direction: rtl !important;
}
html body footer.site-footer.ss-footer-v13 > .container > .footer-top {
  display: grid !important;
  grid-template-columns: minmax(205px, 1.3fr) minmax(190px, 1.15fr) minmax(125px, .78fr) minmax(125px, .78fr) minmax(180px, 1.05fr) !important;
  grid-auto-flow: row !important;
  align-items: start !important;
  justify-content: stretch !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
html body footer.site-footer.ss-footer-v13 > .container > .footer-top > .footer-brand,
html body footer.site-footer.ss-footer-v13 > .container > .footer-top > .footer-contact-details,
html body footer.site-footer.ss-footer-v13 > .container > .footer-top > .footer-links,
html body footer.site-footer.ss-footer-v13 > .container > .footer-top > .footer-about {
  float: none !important;
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  grid-column: auto !important;
  align-self: start !important;
  overflow-wrap: anywhere !important;
}
html body footer.site-footer.ss-footer-v13 .footer-top h3 {
  margin: 0 0 7px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}
html body footer.site-footer.ss-footer-v13 .footer-top p {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.75 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}
html body footer.site-footer.ss-footer-v13 .footer-top .footer-links a,
html body footer.site-footer.ss-footer-v13 .footer-top .footer-about > a,
html body footer.site-footer.ss-footer-v13 .footer-top .footer-contact-details a {
  display: block !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.75 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}
html body footer.site-footer.ss-footer-v13 .footer-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
}
html body footer.site-footer.ss-footer-v13 .footer-logo .brand-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  min-width: 0 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}
html body footer.site-footer.ss-footer-v13 .trust-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px 7px !important;
  margin-top: 8px !important;
}
html body footer.site-footer.ss-footer-v13 .trust-row span {
  margin: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.6 !important;
}
html body footer.site-footer.ss-footer-v13 .footer-bottom {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px 14px !important;
  margin: 18px 0 0 !important;
  padding: 12px 0 0 !important;
  font-size: 11.5px !important;
  line-height: 1.7 !important;
}
@media (max-width: 1120px) {
  html body footer.site-footer.ss-footer-v13 > .container > .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 700px) {
  html body footer.site-footer.ss-footer-v13 > .container > .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }
  html body footer.site-footer.ss-footer-v13 > .container > .footer-top > .footer-brand {
    grid-column: 1 / -1 !important;
  }
  html body footer.site-footer.ss-footer-v13 .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
}
@media (max-width: 380px) {
  html body footer.site-footer.ss-footer-v13 > .container > .footer-top {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html body footer.site-footer.ss-footer-v13 > .container > .footer-top > .footer-brand {
    grid-column: auto !important;
  }
}
