/*
Theme Name: Style Madness
Theme URI: https://example.com
Author: Style Madness
Description: Editorial streetwear store theme. White canvas, one cobalt accent, oversized wordmark. WooCommerce ready, mobile first.
Version: 3.3.1
License: GPLv2 or later
Text Domain: style-madness
Requires at least: 6.0
Requires PHP: 7.4
*/

:root{
  --paper:#ffffff;
  --ink:#000000;
  --cobalt:#1f2fff;
  --fog:#eeeeee;
  --stitch:#b8b8b8;
  --mute:#5c5c5c;
  --gutter:clamp(16px,3vw,40px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Archivo',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:16px;line-height:1.55;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px}
h1,h2,h3,h4{font-stretch:125%;font-weight:800;letter-spacing:-.02em;line-height:1.02;margin:0 0 .5em}
.container{width:100%;max-width:1360px;margin:0 auto;padding:0 var(--gutter)}
.screen-reader-text{position:absolute;left:-9999px}

/* Buttons */
.btn,.button,button.single_add_to_cart_button,.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit{display:inline-block;background:var(--ink);color:var(--paper);padding:15px 28px;font:700 15px/1 'Archivo',sans-serif;font-stretch:112%;border:2px solid var(--ink);border-radius:0;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--cobalt);border-color:var(--cobalt);color:var(--paper)}
.link-u{font-weight:700;border-bottom:2px solid currentColor;padding-bottom:2px}
.link-u:hover{color:var(--cobalt)}

/* Announcement */
.sm-topbar{background:var(--ink);color:var(--paper);text-align:center;font-size:13px;padding:9px 12px}

/* Header */
.sm-header{position:sticky;top:0;z-index:50;background:var(--paper)}
.sm-header .container{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:68px}
.sm-logo{display:inline-flex;align-items:center;gap:10px;font-stretch:125%;font-weight:800;font-size:17px;letter-spacing:-.01em}
.sm-logo .mono{background:var(--ink);color:var(--paper);padding:5px 8px 4px;font-size:15px;line-height:1}
.sm-nav ul{list-style:none;display:flex;gap:30px;margin:0;padding:0}
.sm-nav a{font-weight:600;font-size:15px;padding:4px 0;border-bottom:2px solid transparent}
.sm-nav a:hover,.sm-nav .current-menu-item a{border-color:var(--cobalt)}
.sm-actions{display:flex;gap:22px;align-items:center;justify-content:flex-end;font-weight:600;font-size:15px}
.sm-cart-count{display:inline-block;min-width:22px;text-align:center;background:var(--cobalt);color:var(--paper);font-size:12px;line-height:22px;margin-left:6px;border-radius:11px}
.sm-menu-toggle{display:none;background:none;border:0;font-size:26px;cursor:pointer;padding:0;color:var(--ink)}

/* Hero */
.sm-hero{padding-top:clamp(12px,3vw,36px)}
.sm-wordmark{display:block;width:100%;height:auto;color:var(--cobalt)}
.sm-wordmark text{font-family:'Archivo',sans-serif;font-stretch:125%;font-weight:900;fill:currentColor}
.sm-hero-row{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;padding:clamp(24px,4vw,44px) 0 clamp(40px,6vw,72px)}
.sm-hero-row p{font-size:clamp(18px,2vw,24px);line-height:1.35;max-width:32ch;margin:0}
.sm-hero-cta{display:flex;gap:26px;align-items:center;flex-wrap:wrap}

/* Men / Women split */
.sm-split{display:grid;grid-template-columns:1fr 1fr}
.sm-half{position:relative;min-height:min(70vh,640px);display:flex;flex-direction:column;justify-content:flex-end;padding:var(--gutter);background:var(--fog) center/cover no-repeat;overflow:hidden}
.sm-half::after{content:"";position:absolute;inset:0;background:var(--cobalt);opacity:0;transition:opacity .2s}
.sm-half:hover::after,.sm-half:focus-visible::after{opacity:.9}
.sm-half h2,.sm-half span{position:relative;z-index:1;transition:color .2s}
.sm-half h2{font-size:clamp(56px,11vw,168px);margin:0}
.sm-half span{font-weight:600;font-size:17px}
.sm-half:hover h2,.sm-half:hover span,.sm-half:focus-visible h2,.sm-half:focus-visible span{color:var(--paper)}
.sm-half.has-img h2,.sm-half.has-img span{color:var(--paper)}

/* Sections */
.sm-section{padding:clamp(56px,8vw,112px) 0}
.sm-section.fog{background:var(--fog)}
.sm-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:clamp(24px,3vw,40px)}
.sm-head h2{font-size:clamp(30px,4.4vw,56px);margin:0}

/* Product grid (WooCommerce) */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:36px 20px;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;position:relative;display:flex;flex-direction:column}
.woocommerce ul.products li.product a img{aspect-ratio:4/5;object-fit:cover;width:100%;background:var(--fog);margin:0 0 14px;transition:opacity .15s}
.woocommerce ul.products li.product a:hover img{opacity:.88}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'Archivo',sans-serif;font-stretch:100%;font-weight:600;font-size:16px;letter-spacing:0;margin:0 0 4px;padding:0}
.woocommerce .price{color:var(--ink);font-weight:700;font-size:16px}
.woocommerce .price del{color:var(--mute);font-weight:400}
.woocommerce .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin-top:12px;align-self:flex-start;background:transparent;color:var(--ink);padding:0 0 3px;border:0;border-bottom:2px solid var(--ink);font-size:14px}
.woocommerce ul.products li.product .button:hover{background:transparent;color:var(--cobalt);border-color:var(--cobalt)}
.woocommerce span.onsale{background:var(--cobalt);color:var(--paper);border-radius:0;min-height:0;min-width:0;line-height:1;padding:7px 10px;font-size:13px;font-weight:700;top:10px;left:10px;right:auto}
.woocommerce div.product .product_title{font-size:clamp(28px,4vw,48px)}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:22px;color:var(--ink)}
.woocommerce-breadcrumb{font-size:14px;color:var(--mute);margin-bottom:24px}
.sm-main{padding:clamp(28px,4vw,56px) 0 clamp(56px,8vw,96px);min-height:50vh}

/* Category rows */
.sm-rows{border-bottom:2px solid var(--ink)}
.sm-row{display:flex;justify-content:space-between;align-items:baseline;padding:clamp(14px,2vw,24px) 0;border-top:2px solid var(--ink);font-stretch:125%;font-weight:800;font-size:clamp(30px,6vw,84px);line-height:1;letter-spacing:-.03em;transition:padding .2s,color .2s}
.sm-row small{font-stretch:100%;font-weight:500;font-size:16px;letter-spacing:0;color:var(--mute)}
.sm-row:hover{padding-left:clamp(10px,2vw,28px);color:var(--cobalt)}

/* Care-label info block */
.sm-label{max-width:760px;margin:0 auto;background:var(--paper);border:2px dashed var(--ink);outline:8px solid var(--paper);padding:clamp(24px,4vw,44px)}
.sm-label h2{font-size:clamp(24px,3vw,34px);margin-bottom:20px}
.sm-label dl{margin:0}
.sm-label .r{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:14px 0;border-top:1px dashed var(--stitch)}
.sm-label dt{font-weight:700}
.sm-label dd{margin:0;color:var(--mute)}

/* Newsletter */
.sm-news .container{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,80px);align-items:end}
.sm-news h2{font-size:clamp(34px,5.5vw,76px);margin:0}
.sm-news form{display:flex;gap:16px;align-items:flex-end}
.sm-news input[type=email]{flex:1;min-width:0;border:0;border-bottom:2px solid var(--ink);padding:12px 0;font:inherit;font-size:18px;background:transparent;border-radius:0}
.sm-news input[type=email]:focus{outline:0;border-color:var(--cobalt)}

/* Footer */
.sm-footer{background:var(--ink);color:#cfcfcf;padding:clamp(48px,6vw,80px) 0 24px}
.sm-footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
.sm-footer h4{color:var(--paper);font-size:16px;font-stretch:112%;margin-bottom:14px}
.sm-footer ul{list-style:none;margin:0;padding:0}
.sm-footer li{margin-bottom:8px}
.sm-footer a:hover{color:var(--paper);text-decoration:underline}
.sm-footer .sm-logo{color:var(--paper)}
.sm-footer .sm-logo .mono{background:var(--paper);color:var(--ink)}
.sm-footer p{max-width:30ch}
.sm-copy{margin-top:56px;font-size:13px;color:#8a8a8a}

/* Posts/pages */
.entry-title{font-size:clamp(30px,4.5vw,56px)}
.entry-content{max-width:72ch}

@media(max-width:900px){
  .sm-header .container{grid-template-columns:auto 1fr;}
  .sm-menu-toggle{display:block}
  .sm-nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--paper);padding:8px var(--gutter) 24px;border-bottom:2px solid var(--ink)}
  .sm-nav.open{display:block}
  .sm-nav ul{flex-direction:column;gap:6px}
  .sm-nav a{font-size:22px;font-stretch:125%;font-weight:800}
  .sm-hero-row{flex-direction:column;align-items:flex-start}
  .sm-split{grid-template-columns:1fr}
  .sm-half{min-height:46vh}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:28px 14px}
  .sm-news .container{grid-template-columns:1fr}
  .sm-footer .cols{grid-template-columns:1fr 1fr}
  .sm-label .r{grid-template-columns:1fr;gap:2px}
}
@media(max-width:480px){
  .sm-news form{flex-direction:column;align-items:stretch}
  .sm-footer .cols{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ===== Product page ===== */
body.single-product div.product{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:start}
body.single-product div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0;position:relative}
body.single-product div.product div.summary{width:100%!important;float:none!important;margin:0}
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .related,
body.single-product div.product .upsells{grid-column:1/-1}
body.single-product .woocommerce-product-gallery__image img{aspect-ratio:4/5;object-fit:cover;width:100%;background:var(--fog)}
body.single-product .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;list-style:none;margin:8px 0 0;padding:0}
body.single-product .flex-control-thumbs li{float:none!important;width:auto!important}
body.single-product .flex-control-thumbs img{aspect-ratio:4/5;object-fit:cover;width:100%;opacity:.5;cursor:pointer}
body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs img:hover{opacity:1}
body.single-product .woocommerce-product-gallery__trigger{background:var(--paper);border-radius:0}

.woocommerce .star-rating span::before{color:var(--cobalt)}
.woocommerce-product-rating{margin-bottom:6px}
.sm-taxnote{margin:2px 0 0;font-size:14px;color:var(--mute)}
.sm-off{color:var(--cobalt);margin-right:10px}

.variations_form table.variations{border:0;width:100%;margin:12px 0 0}
.variations_form table.variations th,
.variations_form table.variations td{display:block;padding:0;border:0;text-align:left;background:none}
.variations_form table.variations th.label{font-weight:700;margin:16px 0 8px}
.sm-hidden-select{position:absolute!important;opacity:0;pointer-events:none;width:1px;height:1px}
.sm-opts{display:flex;flex-wrap:wrap;gap:10px}
.sm-opt{min-width:54px;padding:13px 16px;background:var(--paper);color:var(--ink);border:2px solid var(--ink);font:700 15px/1 'Archivo',sans-serif;cursor:pointer;border-radius:0}
.sm-opt:hover{border-color:var(--cobalt);color:var(--cobalt)}
.sm-opt.is-on{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.sm-opt.is-off{color:var(--stitch);border:2px dashed var(--stitch);text-decoration:line-through;cursor:not-allowed}
.sm-opt.is-off:hover{color:var(--stitch);border-color:var(--stitch)}
.reset_variations{display:inline-block;margin-top:10px;font-size:13px;color:var(--mute);text-decoration:underline}
.woocommerce-variation-price{margin:10px 0 0}
.woocommerce-variation-availability{font-weight:600;color:#b00020}

body.single-product form.cart:not(.variations_form),
body.single-product .woocommerce-variation-add-to-cart{display:flex;gap:12px;margin-top:20px}
body.single-product .quantity .qty{height:54px;width:72px;border:2px solid var(--ink);border-radius:0;text-align:center;font:700 16px 'Archivo',sans-serif}
body.single-product button.single_add_to_cart_button{flex:1;padding:17px 28px;font-size:16px}
body.single-product button.single_add_to_cart_button.disabled,
body.single-product button.single_add_to_cart_button:disabled{opacity:.3;cursor:not-allowed;background:var(--ink);border-color:var(--ink)}

.sm-pin{margin-top:28px;padding-top:24px;border-top:2px solid var(--ink)}
.sm-pin label{display:block;font-weight:700;margin-bottom:8px}
.sm-pin div{display:flex;gap:10px}
.sm-pin input{flex:1;min-width:0;border:2px solid var(--ink);padding:13px 14px;font:inherit;border-radius:0;background:var(--paper)}
.sm-pin input:focus{outline:0;border-color:var(--cobalt)}
.sm-pin-out{margin:10px 0 0;font-size:14px;min-height:1.4em}
.sm-pin-out.bad{color:#b00020}
.sm-pin-out.ok{font-weight:600}
.sm-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0 0;padding:0;list-style:none;font-size:13px;font-weight:600}
.sm-trust li{padding:12px 8px;border:2px dashed var(--stitch);text-align:center}

.sm-acc{margin-top:28px;border-top:2px solid var(--ink)}
.sm-acc details{border-bottom:1px solid var(--stitch)}
.sm-acc summary{cursor:pointer;list-style:none;padding:18px 0;font-weight:800;font-stretch:112%;display:flex;justify-content:space-between;align-items:center}
.sm-acc summary::-webkit-details-marker{display:none}
.sm-acc summary::after{content:"+";font-size:24px;line-height:1}
.sm-acc details[open] summary::after{content:"\2212"}
.sm-acc .in{padding:0 0 22px}
.sm-spec{display:grid;grid-template-columns:110px 1fr;gap:8px 16px;margin:0}
.sm-spec dt{font-weight:700}
.sm-spec dd{margin:0;color:var(--mute)}
.sm-care{margin:8px 0 0;padding-left:18px;color:var(--mute)}
.sm-table-wrap{overflow-x:auto}
.sm-size{border-collapse:collapse;width:100%;font-size:15px}
.sm-size th,.sm-size td{padding:10px 12px;border:1px solid var(--stitch);text-align:left}
.sm-size thead th{background:var(--fog)}
.sm-notify{margin-top:18px;font-size:14px;color:var(--mute)}

.sm-sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;align-items:center;justify-content:space-between;gap:14px;padding:12px var(--gutter);background:var(--paper);border-top:2px solid var(--ink)}
.sm-sticky.show{display:flex}
.sm-sticky-t{min-width:0;display:flex;flex-direction:column;line-height:1.3}
.sm-sticky-t b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}
.sm-sticky-t span{font-size:14px;color:var(--mute)}
.sm-sticky .btn{flex:none}

body.single-product .woocommerce-tabs{margin-top:clamp(40px,6vw,80px)}
body.single-product .woocommerce-tabs ul.tabs{display:flex;gap:28px;list-style:none;margin:0 0 24px;padding:0;border-bottom:2px solid var(--ink)}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li{background:none!important;border:0!important;margin:0;padding:0;border-radius:0}
body.single-product .woocommerce-tabs ul.tabs li a{display:block;padding:12px 0;font-weight:800;font-stretch:112%;color:var(--ink)}
body.single-product .woocommerce-tabs ul.tabs li.active a{color:var(--cobalt);box-shadow:inset 0 -3px 0 var(--cobalt)}
body.single-product .woocommerce-Tabs-panel h2{font-size:24px}
body.single-product .related,body.single-product .upsells{margin-top:clamp(40px,6vw,80px)}
body.single-product .related>h2,body.single-product .upsells>h2{font-size:clamp(28px,4vw,48px);margin-bottom:24px}
.woocommerce #reviews #comments ol.commentlist li img.avatar{border-radius:0}
.woocommerce #review_form #respond .form-submit input{background:var(--ink);color:var(--paper);border-radius:0;padding:15px 28px;font-weight:700}

@media(max-width:900px){
  body.single-product div.product{grid-template-columns:minmax(0,1fr)}
  body.single-product{padding-bottom:72px}
}

/* ===== Home v3: ticker, dropdown, promo, rails, tiles ===== */
.sm-ticker{background:var(--ink);color:var(--paper);overflow:hidden;white-space:nowrap;font-size:13px;font-weight:600}
.sm-ticker-track{display:inline-block;padding:9px 0;animation:sm-tick 40s linear infinite}
.sm-ticker span{margin-right:64px}
@keyframes sm-tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.sm-nav li{position:relative}
.sm-nav .sub-menu{display:none;position:absolute;top:100%;left:-18px;min-width:230px;background:var(--paper);border:2px solid var(--ink);padding:8px 0;margin:0;list-style:none;flex-direction:column;gap:0;z-index:70}
.sm-nav li:hover>.sub-menu,.sm-nav li:focus-within>.sub-menu{display:flex}
.sm-nav .sub-menu a{display:block;padding:10px 20px;border:0;font-weight:600}
.sm-nav .sub-menu a:hover{background:var(--fog);color:var(--cobalt)}
.sm-actions{gap:20px}

.sm-promo{background:var(--cobalt);color:var(--paper)}
.sm-promo .container{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(24px,4vw,64px);align-items:center;padding-top:clamp(40px,6vw,88px);padding-bottom:clamp(40px,6vw,88px)}
.sm-promo h1{font-size:clamp(46px,8.5vw,128px);line-height:.95;margin:0 0 22px}
.sm-promo p{font-size:clamp(17px,2vw,22px);line-height:1.4;max-width:34ch;margin:0 0 30px}
.sm-promo .btn{background:var(--paper);color:var(--ink);border-color:var(--paper)}
.sm-promo .btn:hover{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.promo-img{aspect-ratio:4/5;background:rgba(255,255,255,.16) center/cover no-repeat}

.sm-chips{display:flex;gap:10px;overflow-x:auto;padding:18px var(--gutter);scrollbar-width:none;border-bottom:2px solid var(--ink)}
.sm-chips::-webkit-scrollbar{display:none}
.sm-chips a{flex:none;padding:10px 18px;border:2px solid var(--ink);font-weight:700;font-size:14px}
.sm-chips a:hover{background:var(--ink);color:var(--paper)}

.sm-rail{padding:clamp(36px,5vw,64px) 0 clamp(8px,2vw,24px)}
.sm-rail .woocommerce ul.products{display:flex!important;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:14px;scrollbar-width:thin}
.sm-rail .woocommerce ul.products li.product{flex:0 0 clamp(200px,24vw,300px);scroll-snap-align:start}

.sm-story{background:var(--fog);padding:clamp(56px,8vw,112px) 0;margin-top:clamp(28px,4vw,56px)}
.sm-story .container{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(24px,5vw,80px);align-items:end}
.sm-story h2{font-size:clamp(36px,6vw,88px);margin:0}
.sm-story p{font-size:clamp(17px,1.8vw,21px);line-height:1.5;margin:0;max-width:40ch}

.sm-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.sm-tile{position:relative;aspect-ratio:1/1;display:flex;align-items:flex-end;padding:22px;background:var(--fog) center/cover no-repeat;overflow:hidden}
.sm-eds .sm-tile{aspect-ratio:4/5}
.sm-tile.has-img::before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(0,0,0,.6))}
.sm-tile::after{content:"";position:absolute;inset:0;background:var(--cobalt);opacity:0;transition:opacity .2s}
.sm-tile:hover::after,.sm-tile:focus-visible::after{opacity:.9}
.sm-tile span{position:relative;z-index:1;font-stretch:125%;font-weight:800;font-size:clamp(22px,3vw,40px);letter-spacing:-.02em;line-height:1;transition:color .2s}
.sm-tile.has-img span{color:var(--paper)}
.sm-tile:hover span,.sm-tile:focus-visible span{color:var(--paper)}

.sm-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.sm-review{margin:0;padding-top:18px;border-top:2px solid var(--ink)}
.sm-review .stars{color:var(--cobalt);letter-spacing:2px;margin-bottom:10px}
.sm-review blockquote{margin:0 0 14px;font-size:18px;line-height:1.45}
.sm-review figcaption{font-size:14px;color:var(--mute)}

.sm-social{padding:0 0 clamp(40px,5vw,72px)}
.sm-social .container{display:flex;gap:24px;align-items:baseline;flex-wrap:wrap}
.sm-social b{font-stretch:112%;font-weight:800}

.sm-wm-band{background:var(--ink);padding:clamp(40px,6vw,88px) 0 0}
.sm-wm-band .sm-wordmark{color:var(--paper)}
.sm-wm-band + .sm-footer{padding-top:clamp(32px,4vw,56px)}

@media(max-width:900px){
  .sm-nav .sub-menu{display:flex;position:static;border:0;padding:0 0 0 14px;min-width:0}
  .sm-nav .sub-menu a{padding:6px 0;font-size:18px;font-stretch:100%;font-weight:600}
  .sm-actions{gap:14px}
  .sm-actions a:first-child{display:none}
  .sm-promo .container,.sm-story .container{grid-template-columns:1fr}
  .promo-img{aspect-ratio:1/1}
  .sm-tiles,.sm-reviews{grid-template-columns:repeat(2,1fr)}
  .sm-eds{grid-template-columns:1fr}
}
@media(max-width:480px){.sm-reviews{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.sm-ticker-track{animation:none}}

/* ===== v3: forms, pages, cart, checkout, account ===== */
.sm-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sm-note{margin:12px 0 0;padding:12px 14px;font-weight:600;border:2px solid var(--ink)}
.sm-note.ok{border-color:var(--cobalt);color:var(--cobalt)}
.sm-note.bad{border-color:#b00020;color:#b00020}
.sm-news form{flex-wrap:wrap}
.sm-form p{margin:0 0 16px}
.sm-form label{display:block;font-weight:700;margin-bottom:6px}
.sm-form input[type=text],.sm-form input[type=email],.sm-form input[type=tel],.sm-form textarea,
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text,.sm-pin input[type=search]{width:100%;border:2px solid var(--ink);border-radius:0;padding:13px 14px;font:inherit;background:var(--paper);color:var(--ink)}
.sm-form input:focus,.sm-form textarea:focus,.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{outline:0;border-color:var(--cobalt)}
.sm-contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(24px,5vw,80px);max-width:1100px}
.sm-contact-grid h2{font-size:24px}
.entry-content{max-width:none}
.entry-content>p,.entry-content>ul,.entry-content>ol,.entry-content>h2,.entry-content>h3{max-width:72ch}
.entry-content h2{font-size:clamp(22px,2.6vw,30px);margin-top:1.6em}
.entry-content>h2:first-child{margin-top:0}
.entry-content ul,.entry-content ol{padding-left:22px}
.entry-content li{margin-bottom:6px}
.entry-content a:not(.btn):not(.link-u){text-decoration:underline;text-underline-offset:3px}
.entry-content .sm-faq{max-width:760px;margin-top:0}
.entry-title{margin-bottom:.6em}

/* Free shipping bar */
.sm-fs{margin:0 0 24px;padding:16px 18px;border:2px solid var(--ink)}
.sm-fs p{margin:0 0 10px;font-weight:600}
.sm-fs-bar{height:8px;background:var(--fog)}
.sm-fs-bar i{display:block;height:100%;background:var(--cobalt);transition:width .3s}

/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;margin:0 0 24px;padding:14px 18px;border:2px solid var(--ink);background:var(--paper);display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-error{border-color:#b00020;color:#b00020}
.woocommerce-message .button,.woocommerce-info .button{order:2}

/* Cart */
.woocommerce table.shop_table{border:0;border-collapse:collapse;width:100%}
.woocommerce table.shop_table th{font-weight:800;text-align:left;border-bottom:2px solid var(--ink);padding:12px 8px}
.woocommerce table.shop_table td{border:0;border-bottom:1px solid var(--stitch);padding:16px 8px;vertical-align:middle}
.woocommerce table.cart img{width:84px;aspect-ratio:4/5;object-fit:cover}
.woocommerce a.remove{color:var(--ink)!important;border:2px solid var(--ink);border-radius:0;width:28px;height:28px;line-height:24px}
.woocommerce a.remove:hover{background:var(--ink)!important;color:var(--paper)!important}
.woocommerce .quantity .qty{height:46px;width:70px;border:2px solid var(--ink);border-radius:0;text-align:center;font:700 16px 'Archivo',sans-serif}
.woocommerce-cart table.cart td.actions{padding-top:22px}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:10px;float:left}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:200px!important}
.woocommerce .cart-collaterals{margin-top:32px}
.woocommerce .cart-collaterals .cart_totals{width:100%;max-width:480px;float:right}
.woocommerce .cart-collaterals h2{font-size:24px}
.woocommerce a.checkout-button{display:block;text-align:center;padding:18px;font-size:16px;font-weight:700;background:var(--cobalt);border-color:var(--cobalt);color:var(--paper);border-radius:0}
.woocommerce a.checkout-button:hover{background:var(--ink);border-color:var(--ink)}

/* Checkout */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:start}
.woocommerce-checkout #customer_details{width:100%;float:none}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{width:100%;float:none}
.woocommerce-checkout h3{font-size:24px;margin-bottom:16px}
.woocommerce-checkout #order_review_heading{display:none}
.woocommerce-checkout #order_review{border:2px solid var(--ink);padding:clamp(16px,2.5vw,28px);position:sticky;top:90px}
.woocommerce-checkout #order_review::before{content:"Your order";display:block;font-stretch:125%;font-weight:800;font-size:24px;margin-bottom:14px}
.woocommerce form .form-row{margin-bottom:14px;padding:0}
.woocommerce form .form-row label{font-weight:700;margin-bottom:6px;display:block}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:48.5%}
.woocommerce-checkout #payment{background:none;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--stitch);padding:0 0 12px}
.woocommerce-checkout #payment div.payment_box{background:var(--fog);color:var(--ink);border-radius:0}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #place_order{width:100%;padding:18px;font-size:16px;background:var(--cobalt);border-color:var(--cobalt);color:var(--paper);float:none}
.woocommerce-checkout #place_order:hover{background:var(--ink);border-color:var(--ink)}
.sm-trust-co{margin:0 0 16px}

/* Account */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:220px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.woocommerce-MyAccount-navigation li a{display:block;padding:12px 0;border-bottom:1px solid var(--stitch);font-weight:600}
.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation li a:hover{color:var(--cobalt)}
.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-account .woocommerce-MyAccount-navigation{width:100%;float:none}
.woocommerce-account:not(.logged-in) .woocommerce{display:block;max-width:520px}

/* Floating WhatsApp */
.sm-wa{position:fixed;right:16px;bottom:16px;z-index:55;background:var(--ink);color:var(--paper);padding:13px 18px;font-weight:700;font-size:14px;border:2px solid var(--paper)}
.sm-wa:hover{background:var(--cobalt)}
body.single-product .sm-wa{bottom:84px}

/* Shop archive */
.woocommerce-products-header__title.page-title{font-size:clamp(34px,5vw,64px)}
.woocommerce-result-count{color:var(--mute);font-size:14px}
.woocommerce-ordering select{border:2px solid var(--ink);border-radius:0;padding:10px 12px;background:var(--paper);font:inherit}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:6px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:2px solid var(--ink);padding:10px 14px;min-width:0;background:var(--paper);color:var(--ink)}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--ink);color:var(--paper)}

@media(max-width:900px){
  .sm-contact-grid,.woocommerce-checkout form.checkout,.woocommerce-account .woocommerce{grid-template-columns:1fr}
  .woocommerce-checkout #order_review{position:static}
  .woocommerce .cart-collaterals .cart_totals{max-width:none;float:none}
  .woocommerce-cart table.cart td.actions .coupon{float:none;margin-bottom:12px}
  .woocommerce table.shop_table_responsive tr td{display:flex;justify-content:space-between;align-items:center;gap:12px}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%}
  .sm-wa{bottom:12px}
}
.promo-img:not([style]){display:flex;align-items:center;justify-content:center}
.promo-img:not([style])::after{content:"SM";font-stretch:125%;font-weight:900;font-size:clamp(90px,16vw,220px);color:rgba(255,255,255,.35);line-height:1}

/* ===== v3.1: ORIGIN-style look (layout only; own photos and text) ===== */
:root{--display:'Barlow Condensed','Archivo Narrow','Arial Narrow',sans-serif;--sale:#c62828}
h1,h2,h3,h4,.sm-tile span,.sm-row,.sm-half h2,.sm-head h2{font-family:var(--display);font-stretch:100%;font-weight:700;text-transform:uppercase;letter-spacing:.01em;line-height:.95}
.sm-head h2{font-size:clamp(34px,5vw,68px)}
.sm-footer h4{font-size:20px}
.entry-content h2,.sm-label h2{line-height:1}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .woocommerce-tabs h2{font-family:'Archivo',sans-serif}

/* Announcement bar: one centred line */
.sm-bar{background:var(--cobalt);color:#fff;text-align:center;font-size:13px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;padding:12px var(--gutter)}

/* Header: logo left, caps nav beside it, icons right */
.sm-header{border-bottom:1px solid #ddd}
.sm-header .container{grid-template-columns:auto 1fr auto;height:76px}
.sm-nav{margin-left:clamp(20px,3vw,48px)}
.sm-nav ul{gap:clamp(16px,2.2vw,34px)}
.sm-nav a{font-size:13px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.sm-nav .sub-menu a{letter-spacing:.08em}
.sm-actions{gap:20px}
.sm-actions a{display:inline-flex;align-items:center;position:relative}
.sm-actions a:hover{color:var(--cobalt)}
.sm-cartlink .sm-cart-count{position:absolute;top:-8px;right:-10px;margin:0;min-width:18px;line-height:18px;font-size:11px;border-radius:9px}

/* Hero: full-bleed photo, text bottom-left, outlined button */
.sm-hero2{position:relative;display:flex;align-items:flex-end;min-height:clamp(460px,76vh,760px);color:#fff;background:linear-gradient(135deg,#2b2b2b,#0e0e0e) center/cover no-repeat}
.sm-hero2:not([style])::after{content:"SM";position:absolute;right:6%;top:50%;transform:translateY(-50%);font-family:var(--display);font-weight:700;font-size:clamp(160px,30vw,460px);line-height:1;color:rgba(255,255,255,.07)}
.sm-hero2::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,0) 62%),linear-gradient(0deg,rgba(0,0,0,.4),rgba(0,0,0,0) 45%)}
.sm-hero2 .container{position:relative;z-index:1;padding-bottom:clamp(36px,6vw,88px)}
.sm-hero2 h1{font-size:clamp(56px,9vw,132px);margin:0 0 16px;max-width:11ch}
.sm-hero2 p{font-size:clamp(17px,1.6vw,22px);font-weight:600;line-height:1.35;max-width:34ch;margin:0 0 26px}
.btn-ghost{background:transparent;color:#fff;border:2px solid #fff;font-size:13px;letter-spacing:.16em;text-transform:uppercase;padding:17px 32px}
.btn-ghost:hover{background:#fff;border-color:#fff;color:var(--ink)}

/* Product tabs + carousel */
.sm-tabs{padding:clamp(28px,4vw,56px) 0 clamp(36px,5vw,64px)}
.sm-tablist{display:flex;gap:clamp(20px,3vw,40px);overflow-x:auto;scrollbar-width:none;margin-bottom:26px;padding-bottom:4px}
.sm-tablist::-webkit-scrollbar{display:none}
.sm-tab{flex:none;background:none;border:0;padding:4px 0 6px;cursor:pointer;font-family:var(--display);font-weight:700;font-size:clamp(26px,3.2vw,40px);text-transform:uppercase;letter-spacing:.01em;line-height:1;color:#3c4752;border-bottom:3px solid transparent}
.sm-tab:hover{color:var(--ink)}
.sm-tab.is-on{color:var(--ink);border-bottom-color:var(--ink)}
.sm-car-wrap{position:relative}
.sm-panel .woocommerce ul.products{display:flex!important;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px}
.sm-panel .woocommerce ul.products::-webkit-scrollbar{display:none}
.sm-panel .woocommerce ul.products li.product{flex:0 0 clamp(230px,24vw,310px);scroll-snap-align:start}
.sm-panel .woocommerce ul.products li.product .button{display:none}
.sm-next{position:absolute;right:10px;top:calc(clamp(230px,24vw,310px)*1.25/2 - 18px);width:36px;height:36px;background:#fff;border:2px solid var(--ink);font-size:22px;line-height:1;cursor:pointer;z-index:2;padding:0 0 3px}
.sm-next:hover{background:var(--ink);color:#fff}
.sm-prog{height:3px;margin-top:22px;border-bottom:3px dotted var(--ink);position:relative;box-sizing:content-box}
.sm-prog i{position:absolute;left:0;bottom:-3px;height:3px;background:var(--ink);width:30%}
.sm-viewall{margin:22px 0 0}

/* Product cards: grey photo, caps title, short text, price pinned to the bottom */
.woocommerce ul.products li.product{text-align:left}
.woocommerce ul.products li.product a img{background:#e9e9e9}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-weight:800;font-size:17px;text-transform:uppercase;letter-spacing:.01em;line-height:1.15;margin:0 0 8px}
.sm-desc{margin:0 0 14px;font-size:14px;line-height:1.55;color:#333;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.woocommerce ul.products li.product .price{margin-top:auto;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:16px}
.woocommerce ul.products li.product .price ins{order:-1;color:var(--sale);font-weight:700}
.woocommerce ul.products li.product .price del{color:var(--ink);opacity:1}
.woocommerce span.onsale{background:var(--sale)}

/* Dark brand statement */
.sm-story{background:var(--ink);color:#fff;padding:clamp(64px,10vw,140px) 0;margin-top:0;text-align:center}
.sm-story .container{display:block}
.sm-story h2{font-size:clamp(46px,8vw,120px);margin:0 auto 22px;max-width:14ch}
.sm-story p{font-size:clamp(17px,1.8vw,22px);line-height:1.5;margin:0 auto;max-width:52ch;color:#d8d8d8}

/* Chat bubble bottom-left */
.sm-wa{left:16px;right:auto;width:56px;height:56px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#000;border:0;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.sm-wa:hover{background:var(--cobalt);color:#fff}
body.single-product .sm-wa{bottom:84px}

@media(max-width:900px){
  .sm-header .container{height:64px}
  .sm-nav{margin-left:0;top:64px}
  .sm-nav a{font-family:var(--display);font-size:30px;letter-spacing:.02em;font-weight:700}
  .sm-hero2{min-height:70vh}
  .sm-next{display:none!important}
  .sm-panel .woocommerce ul.products li.product{flex-basis:70vw}
}

/* ===== v3.2: product page, light and rounded (Jockey-style layout) ===== */
body.single-product div.product{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(20px,3.5vw,52px);row-gap:16px}
body.single-product div.product .woocommerce-product-gallery{grid-column:1;grid-row:1;display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:start}
body.single-product div.product .woocommerce-product-gallery:not(:has(.flex-control-thumbs)){grid-template-columns:minmax(0,1fr)}
body.single-product .woocommerce-product-gallery .flex-viewport{grid-column:2;grid-row:1;border-radius:10px;overflow:hidden;background:#f1f1f1}
body.single-product .woocommerce-product-gallery:not(:has(.flex-control-thumbs)) .flex-viewport,
body.single-product .woocommerce-product-gallery:not(:has(.flex-control-thumbs))>.woocommerce-product-gallery__wrapper{grid-column:1}
body.single-product .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{grid-column:2;grid-row:1;border-radius:10px;overflow:hidden;background:#f1f1f1}
body.single-product .woocommerce-product-gallery .flex-control-thumbs{grid-column:1;grid-row:1;display:flex!important;flex-direction:column;gap:10px;height:0;min-height:100%;overflow-y:auto;margin:0;padding:0;list-style:none;scrollbar-width:none}
body.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{display:none}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li{flex:none;width:100%!important;float:none!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs img{aspect-ratio:3/4;object-fit:cover;border-radius:6px;opacity:.6;border:2px solid transparent}
body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1;border-color:var(--ink)}
body.single-product .woocommerce-product-gallery__trigger{top:12px;right:12px;z-index:3;border-radius:50%}
body.single-product span.onsale{top:12px;left:108px;border-radius:4px}
.sm-style{grid-column:1;grid-row:1;align-self:end;justify-self:end;margin:0 12px 12px 0;z-index:2;pointer-events:none;background:rgba(0,0,0,.55);color:#fff;font-size:12px;font-weight:600;padding:5px 10px;border-radius:4px}
.sm-badges{grid-column:1;grid-row:2;align-self:start;display:flex;flex-wrap:wrap;gap:12px;margin:0 0 0 96px;padding:0;list-style:none}
.sm-badges li{display:flex;align-items:center;gap:10px;border:1px solid #ddd;border-radius:10px;padding:10px 16px 10px 12px}
.sm-badges svg{flex:none;color:#444}
.sm-badges span{display:flex;flex-direction:column;line-height:1.25}
.sm-badges b{font-size:15px;font-weight:600}
.sm-badges small{font-size:12px;color:var(--mute)}
body.single-product div.product div.summary{grid-column:2;grid-row:1/span 2;position:relative}

body.single-product .product_title{font-family:'Archivo',sans-serif;font-stretch:100%;font-size:clamp(18px,1.7vw,22px);font-weight:600;text-transform:none;letter-spacing:0;line-height:1.35;margin:0 56px 12px 0}
.sm-share{position:absolute;top:0;right:0;width:40px;height:40px;border-radius:50%;border:1px solid #ccc;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.sm-share:hover,.sm-share.done{border-color:var(--cobalt);color:var(--cobalt)}
body.single-product div.product p.price,body.single-product div.product span.price{font-size:18px;font-weight:700;margin:0}
body.single-product div.product p.price del{font-weight:400;color:var(--mute)}
body.single-product div.product p.price ins{text-decoration:none;color:var(--sale)}
.sm-taxnote{margin:3px 0 20px;font-size:12px;color:var(--mute)}
.sm-off{font-size:13px}

body.single-product .variations_form table.variations th.label{font-size:17px;font-weight:600;margin:6px 0 10px}
.sm-sel{font-weight:400;color:var(--mute)}
.sm-sel::before{content:":";color:var(--ink);font-weight:600}
.sm-opts{gap:10px}
.sm-opt{min-width:46px;height:46px;padding:0 10px;border:1px solid #b9b9b9;border-radius:8px;font-size:13px;font-weight:700}
.sm-opt:hover{border-color:var(--ink);color:var(--ink)}
.sm-opt.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.sm-opt.is-off{border:1px dashed #cfcfcf;color:#bdbdbd}
.sm-sw{width:64px;padding:0;background:none;border:0;cursor:pointer;text-align:center;font:inherit;color:var(--ink)}
.sm-sw img{width:64px;aspect-ratio:3/4;object-fit:cover;border-radius:6px;background:#eee;outline:2px solid transparent;outline-offset:2px}
.sm-sw span{display:block;margin-top:7px;font-size:12px;line-height:1.2}
.sm-sw.is-on img{outline-color:var(--ink)}
.sm-sw.is-off{opacity:.4;cursor:not-allowed}
.variations_form table.variations tr+tr th.label{margin-top:18px}
.sm-sizehelp{display:flex;align-items:center;gap:10px;margin:16px 0 0;font-size:14px}
.sm-sizebtn{border:1px solid #ccc;background:#f3f3f3;border-radius:4px;padding:5px 10px;font:600 12px 'Archivo',sans-serif;cursor:pointer}
.sm-sizebtn:hover{border-color:var(--ink)}
.sm-dialog{border:0;border-radius:12px;padding:24px;width:min(560px,92vw)}
.sm-dialog::backdrop{background:rgba(0,0,0,.5)}
.sm-dialog h3{margin:0 0 14px;font-size:30px}
.sm-x{float:right;border:0;background:none;font-size:30px;line-height:1;cursor:pointer;padding:0}

body.single-product .woocommerce-variation-add-to-cart,body.single-product form.cart:not(.variations_form){gap:14px;align-items:stretch;margin-top:20px}
body.single-product .quantity{display:inline-flex;align-items:center;border:1px solid #b9b9b9;border-radius:8px;height:50px;overflow:hidden}
body.single-product .quantity .qty{border:0;border-radius:0;width:44px;height:100%;padding:0;text-align:center;font:600 15px 'Archivo',sans-serif;-moz-appearance:textfield;appearance:textfield}
body.single-product .quantity .qty::-webkit-outer-spin-button,body.single-product .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sm-q{width:36px;height:100%;border:0;background:none;font-size:18px;cursor:pointer;color:var(--ink)}
.sm-q:hover{background:var(--fog)}
body.single-product button.single_add_to_cart_button{height:50px;padding:0 24px;border-radius:8px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;background:linear-gradient(180deg,#3b3b3b,#111);border-color:#111}
body.single-product button.single_add_to_cart_button:hover{background:var(--cobalt);border-color:var(--cobalt)}

.sm-ret{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:26px 0 0;font-size:16px}
.sm-ret svg{flex:none;color:#444}
.sm-ret b{font-weight:700}
.sm-ret a{color:var(--cobalt);font-weight:500}
.sm-ret a:hover{text-decoration:underline}
body.single-product .sm-pin{margin-top:26px;padding-top:0;border-top:0}
.sm-pin label{font-size:14px;font-weight:600;margin-bottom:8px}
.sm-pin .row{display:flex;gap:10px}
.sm-pin .row input{flex:1;height:46px;border:1px solid #ccc;border-radius:8px;padding:0 14px}
.sm-pin .row .btn{height:46px;padding:0 28px;border-radius:8px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;background:linear-gradient(180deg,#3b3b3b,#111);border-color:#111}
.sm-pin .row .btn:hover{background:var(--cobalt);border-color:var(--cobalt)}
.sm-pin-err{margin:8px 0 0;font-size:13px;color:#b00020}
.sm-pin-err:empty{display:none}
.sm-dboxes{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.sm-dbox{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:10px;padding:10px 14px;font-size:12.5px;line-height:1.3}
.sm-dbox[hidden]{display:none}
.sm-acc summary{font-family:'Archivo',sans-serif;font-stretch:100%;font-weight:600}

@media(max-width:900px){
  body.single-product div.product{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
  body.single-product div.product .woocommerce-product-gallery,body.single-product div.product div.summary,.sm-badges{grid-column:1;grid-row:auto}
  body.single-product div.product .woocommerce-product-gallery{grid-template-columns:minmax(0,1fr)}
  body.single-product .woocommerce-product-gallery .flex-viewport,body.single-product .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{grid-column:1;grid-row:1}
  body.single-product .woocommerce-product-gallery .flex-control-thumbs{grid-column:1;grid-row:2;flex-direction:row;height:auto;min-height:0;overflow-x:auto;overflow-y:hidden}
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li{width:68px!important}
  body.single-product span.onsale{left:12px}
  .sm-style{display:none}
  .sm-badges{margin-left:0}
}
body.single-product div.product span.onsale{position:absolute;right:auto;bottom:auto;width:auto;z-index:3}
.sm-dbox{display:inline-block}

body.single-product div.product{position:relative}
body.single-product div.product .product_title{font-family:'Archivo',sans-serif;font-stretch:100%;font-size:clamp(18px,1.7vw,22px);font-weight:600;text-transform:none;letter-spacing:0;line-height:1.35;margin:0 56px 12px 0}

/* ===== v3.3: slide-in bag and login popup (Jockey-style) ===== */
body.sm-lock{overflow:hidden}
.sm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:90}
.sm-overlay[hidden]{display:none}
.sm-bag{position:fixed;top:0;right:0;bottom:0;width:min(440px,100vw);background:#fff;z-index:100;display:flex;flex-direction:column;border-radius:16px 0 0 16px;transform:translateX(105%);visibility:hidden;transition:transform .3s ease,visibility 0s .3s;box-shadow:-8px 0 30px rgba(0,0,0,.18)}
.sm-bag.open{transform:none;visibility:visible;transition:transform .3s ease}
.sm-bag-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 14px}
.sm-bag-head h2{margin:0;font:600 18px/1.2 'Archivo',sans-serif;font-stretch:100%;text-transform:none;letter-spacing:0}
.sm-close{width:40px;height:40px;border:1px solid #ccc;border-radius:50%;background:#fff;font-size:22px;line-height:1;cursor:pointer;color:var(--ink);padding:0 0 2px}
.sm-close:hover{border-color:var(--ink)}
.sm-bag-body{flex:1;min-height:0;display:flex;flex-direction:column}
.sm-bag-scroll{flex:1;overflow-y:auto;padding:0 24px 16px}
.sm-bag-count{margin:0 0 16px;padding:12px 14px;background:#f3f3f3;border-radius:8px;font-size:14px;color:#555}
.sm-bag .sm-fs{margin:0 0 14px;padding:12px 14px;border:1px solid #ddd;border-radius:10px}
.sm-bag .sm-fs p{margin:0 0 8px;font-size:13.5px}
.sm-bag .sm-fs-bar{height:6px;border-radius:3px;overflow:hidden}
.sm-bag-item{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;border:1px solid #ddd;border-radius:12px;padding:10px;margin:0 0 12px}
.sm-bag-img img{display:block;width:92px;aspect-ratio:3/4;object-fit:cover;border-radius:8px;background:#eee}
.sm-bag-info{display:flex;flex-direction:column;gap:6px;min-width:0;padding-right:26px}
.sm-bag-name{margin:0;font-size:14.5px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sm-bag-var{margin:0;font-size:13px;color:#555}
.sm-bag-qty{display:inline-flex;align-self:flex-start;align-items:center;border:1px solid #b9b9b9;border-radius:8px;height:34px}
.sm-bag-qty button{width:30px;height:100%;border:0;background:none;font-size:17px;cursor:pointer;color:var(--ink)}
.sm-bag-qty button:hover{background:var(--fog)}
.sm-bag-qty span{min-width:26px;text-align:center;font-weight:600;font-size:14px}
.sm-bag-price{font-size:17px;font-weight:700}
.sm-bag-x{position:absolute;top:8px;right:8px;width:26px;height:26px;border:1px solid #ccc;border-radius:50%;background:#fff;font-size:16px;line-height:1;cursor:pointer;color:var(--ink);padding:0 0 1px}
.sm-bag-x:hover{border-color:var(--ink)}
.sm-bag-foot{padding:16px 24px 20px;border-top:1px solid #eee;box-shadow:0 -8px 20px rgba(0,0,0,.06)}
.sm-bag-foot h3{margin:0 0 10px;font:600 17px/1.2 'Archivo',sans-serif;font-stretch:100%;text-transform:none;letter-spacing:0}
.sm-bag-row{display:flex;justify-content:space-between;font-size:15px;margin-bottom:6px}
.sm-bag-note{margin:0 0 14px;font-size:12px;color:var(--mute)}
.sm-bag-pay{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #ccc;border-radius:12px;padding:12px}
.sm-bag-tot{display:flex;flex-direction:column;line-height:1.25}
.sm-bag-tot b{font-size:17px}
.sm-bag-tot small{font-size:11.5px;color:var(--mute)}
.sm-bag-go{flex:1;max-width:230px;text-align:center;height:48px;display:flex;align-items:center;justify-content:center;padding:0 18px;border-radius:10px;font-size:14px;letter-spacing:.08em;text-transform:uppercase;background:linear-gradient(180deg,#3b3b3b,#111);border-color:#111;color:#fff}
.sm-bag-go:hover{background:var(--cobalt);border-color:var(--cobalt)}
.sm-bag-more{display:block;text-align:center;margin-top:14px;font-size:14px}
.sm-bag-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center}
.sm-bag-empty p{margin:0;font-size:17px}
.sm-bag.is-busy .sm-bag-scroll{opacity:.55;pointer-events:none}
.sm-add-msg{margin:10px 0 0;font-size:14px;color:#b00020;width:100%}
.single_add_to_cart_button.is-loading{opacity:.6}

.sm-login{border:0;padding:0;border-radius:24px;width:min(430px,92vw);max-height:92vh;overflow:auto;color:var(--ink);background:#fff}
.sm-login::backdrop{background:rgba(0,0,0,.55)}
.sm-login-top{position:relative;background:linear-gradient(180deg,#3d3d3d,#1b1b1b);color:#fff;text-align:center;padding:38px 24px 34px;border-radius:0 0 64px 0}
.sm-login-logo{display:block;font-family:var(--display);font-weight:700;font-size:40px;line-height:1;text-transform:uppercase;letter-spacing:.02em}
.sm-login-top p{margin:12px 0 0;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:#d8d8d8}
.sm-x2{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.22);color:#fff;font-size:20px;line-height:1;cursor:pointer;padding:0 0 2px}
.sm-x2:hover{background:rgba(255,255,255,.4)}
.sm-login-body{padding:22px 28px 26px}
.sm-lt{display:flex;gap:6px;margin:0 0 18px;border-bottom:1px solid #ddd}
.sm-lt button{flex:1;padding:12px 0;border:0;border-bottom:3px solid transparent;background:none;font:600 15px 'Archivo',sans-serif;color:var(--mute);cursor:pointer;margin-bottom:-1px}
.sm-lt button.is-on{color:var(--ink);border-bottom-color:var(--ink)}
.sm-lf[hidden]{display:none}
.sm-lf input[type=text],.sm-lf input[type=email],.sm-lf input[type=password]{width:100%;height:48px;margin:0 0 12px;padding:0 14px;border:1px solid #bdbdbd;border-radius:10px;font:inherit;font-size:15px;background:#fff;color:var(--ink)}
.sm-lf input:focus{outline:0;border-color:var(--cobalt)}
.sm-lf .btn{width:100%;height:48px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:10px;font-size:14px;letter-spacing:.1em;text-transform:uppercase;background:linear-gradient(180deg,#3b3b3b,#111);border-color:#111;color:#fff}
.sm-lf .btn:hover{background:var(--cobalt);border-color:var(--cobalt)}
.sm-lf-link{margin:14px 0 0;text-align:center;font-size:14px}
.sm-login-fine{margin:20px 0 0;text-align:center;font-size:12.5px;line-height:1.6;color:var(--mute)}
.sm-login-fine a{color:var(--cobalt);font-weight:600}

@media(max-width:600px){
  .sm-bag{border-radius:0}
  .sm-bag-go{max-width:none}
}
@media(prefers-reduced-motion:reduce){.sm-bag{transition:none}}
