/*
Theme Name: ShopPro
Theme URI: https://wa.me/8801757890990
Author: Vertex IT
Author URI: https://wa.me/8801757890990
Description: ShopPro is an All-in-One E-commerce Theme designed for building modern online stores with WooCommerce. Suitable for fashion, electronics, beauty, grocery, home & lifestyle, accessories, and other types of e-commerce businesses.
Version: 3.7.93
Requires at least: 6.0
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shoppro
WC requires at least: 7.0
WC tested up to: 9.5
Tags: e-commerce, custom-menu, featured-images, translation-ready
*/

/* ==========================================================
   1. Design tokens (React styles.css থেকে হুবহু)
   ========================================================== */
:root {
  --radius: 10px;
  --background: #fafafb;
  --foreground: #1e2637;
  --card: #ffffff;
  --card-foreground: #1e2637;
  --popover: #ffffff;
  --primary: #3fa9c9;
  --primary-hover: #2f92b1;
  --primary-foreground: #ffffff;
  --secondary: #f3f4f6;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --accent: #f0803c;
  --accent-hover: #d96a28;
  --accent-foreground: #ffffff;
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;
  --success: #16a34a;
  --success-foreground: #ffffff;
  --popup-header: #1e2637;
  --popup-header-fg: #ffffff;
  --border: #e5e7eb;
  --input: #e5e7eb;
  --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-mid: 0 6px 16px rgb(0 0 0 / 0.08);
  --shadow-big: 0 12px 28px rgb(0 0 0 / 0.12);
  --container: 1152px;
}

/* ==========================================================
   2. Reset / base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  font-size: 15px;
  padding-bottom: 64px; /* mobile bottom nav */
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: static; width: auto; height: auto; clip: auto; padding: 8px; background: #fff; }

/* ==========================================================
   3. Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 8px; padding: 10px 18px;
  font-weight: 700; font-size: 15px; transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-foreground); }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 13px 20px; font-size: 16px; }

/* ==========================================================
   4. Header
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-soft);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding: 12px 16px; max-width: var(--container); margin: 0 auto; }
.site-logo { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.site-logo .l1 { color: var(--primary); }
.site-logo .l2 { color: var(--accent); }
.site-logo .l3 { color: var(--foreground); }
.site-logo img { max-height: 44px; width: auto; }
.header-search { flex:1; max-width:420px; }
.header-search form { display:flex; align-items:center; border:1px solid var(--input); background:var(--background); border-radius:999px; overflow:hidden; }
.header-search input[type=search] { flex:1; min-width:0; border:0; outline:0; background:transparent; padding:9px 14px; font:inherit; }
.header-search button { border:0; background:var(--primary); color:#fff; padding:9px 14px; font-size:18px; }
.main-nav { margin-left: auto; display: none; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
@media (min-width: 768px) { .main-nav { display: flex; } }
@media (max-width: 767px) { .header-inner { flex-wrap:wrap; } .header-search { order:4; flex-basis:100%; max-width:none; } }
.main-nav a:hover { color: var(--primary); }

/* Desktop category navigation: Primary menu items are shown in a clean row below the logo/search header. */
.desktop-category-nav { display: none; border-top: 1px solid var(--border); background: var(--card); }
.desktop-category-nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.desktop-category-list { display: flex; align-items: center; justify-content: center; gap: 28px; list-style: none; margin: 0; padding: 10px 0; white-space: nowrap; }
.desktop-category-list > li { margin: 0; padding: 0; position: relative; list-style: none; }
.desktop-category-list > li > a { display: block; padding: 4px 0; font-size: 14px; font-weight: 700; color: var(--foreground); text-decoration: none; }
.desktop-category-list > li > a:hover { color: var(--primary); }
.desktop-category-list .sub-menu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); display: none; min-width: 190px; padding: 8px 0; margin: 0; list-style: none; background: var(--popover); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-big); z-index: 55; }
.desktop-category-list > li:hover > .sub-menu { display: block; }
.desktop-category-list .sub-menu li { margin: 0; padding: 0; list-style: none; }
.desktop-category-list .sub-menu a { display: block; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--foreground); text-decoration: none; white-space: nowrap; }
.desktop-category-list .sub-menu a:hover { background: var(--muted); color: var(--primary); }
@media (min-width: 768px) { .desktop-category-nav { display: block; } }

.menu-toggle { margin-left: auto; display: flex; align-items: center; gap: 6px; background: none; border: 0; font-size: 14px; font-weight: 600; color: inherit; }
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-drawer.open { display: block; }
.drawer-overlay { position: absolute; inset: 0; background: rgb(30 38 55 / .5); }
.drawer-panel { position: absolute; right: 0; top: 0; height: 100%; width: 288px; overflow-y: auto; background: var(--card); padding: 16px; }
.drawer-panel a { display: block; padding: 8px 0; font-weight: 600; }
.drawer-panel .drawer-cat { font-weight: 500; font-size: 14px; padding: 6px 0; }
.drawer-label { margin: 16px 0 8px; font-size: 11px; font-weight: 700; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .04em; }
.drawer-menu-wrap { margin-top: 2px; }
.drawer-menu-wrap .mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.drawer-menu-wrap .mobile-nav-list li { margin: 0; padding: 0; }
.drawer-menu-wrap .mobile-nav-list a { display: block; padding: 8px 0; font-size: 14px; font-weight: 500; color: inherit; text-decoration: none; }
.drawer-menu-wrap .mobile-nav-list .sub-menu { list-style: none; margin: 0 0 4px 12px; padding: 0 0 0 10px; border-left: 1px solid var(--border); }
.drawer-menu-wrap .mobile-nav-list .sub-menu a { font-size: 13px; padding: 6px 0; }
.drawer-close { margin-left: auto; display: block; background: none; border: 0; margin-bottom: 16px; }

/* Mobile bottom nav */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .bottom-nav { display: none; } }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; font-size: 11px; font-weight: 500; }
.bottom-nav .wa { color: var(--success); }

/* ==========================================================
   5. Sections / grids
   ========================================================== */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-size: 22px; font-weight: 600; }
.section-head a { font-size: 14px; font-weight: 500; color: var(--primary); }
.section-head a:hover { text-decoration: underline; }

.hero { padding-top: 16px; }
.hero a { display: block; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow-soft); }
.hero img { width: 100%; }
.hero-slider a { position: relative; display: block; }
.hero-slides { position: relative; width: 100%; aspect-ratio: 1600 / 640; overflow: hidden; background: var(--muted); }
.hero-slide { position: absolute; inset: 0; width: 100% !important; height: 100%; object-fit: cover; opacity: 0; transition: opacity .22s ease-in-out; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
@media (max-width: 767px) {
  .hero-slides { aspect-ratio: 16 / 7; }
}


.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-card { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 8px; text-align: center; box-shadow: var(--shadow-soft); }
.cat-card:hover { box-shadow: var(--shadow-mid); }
.cat-card img { aspect-ratio: 1/1; width: 100%; object-fit: cover; border-radius: 6px; transition: transform .3s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card p { margin-top: 8px; font-size: 12px; font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================
   6. Product card
   ========================================================== */
.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: box-shadow .2s;
}
.product-card:hover { box-shadow: var(--shadow-mid); }
.badge-discount {
  position: absolute; left: 8px; top: 8px; z-index: 10;
  background: var(--destructive); color: var(--destructive-foreground);
  border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 600;
}
.product-card .thumb { display: block; overflow: hidden; background: var(--muted); }
.product-card .thumb img { aspect-ratio: 1/1; width: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 10px; }
.product-card .title {
  font-size: 13px; font-weight: 500; line-height: 1.35; min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .title:hover { color: var(--primary); }
.price-row { display: flex; align-items: center; gap: 8px; }
.price { font-size: 15px; font-weight: 700; }
.price-old { font-size: 12px; color: var(--muted-foreground); text-decoration: line-through; }
.order-btn { margin-top: 6px; width: 100%; border: 0; border-radius: 6px; background: var(--primary); color: #fff; padding: 8px; font-size: 14px; font-weight: 600; }
.order-btn:hover { background: var(--primary-hover); }

/* ==========================================================
   7. Single product
   ========================================================== */
.single-wrap { display: grid; gap: 32px; padding: 24px 0; }
@media (min-width: 768px) { .single-wrap { grid-template-columns: 1fr 1fr; } }
.single-gallery { position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: 12px; }
.single-gallery img { aspect-ratio: 1/1; width: 100%; object-fit: cover; }
.single-title { font-size: 20px; font-weight: 700; }
@media (min-width: 768px) { .single-title { font-size: 24px; } }
.single-price { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.single-price .now { font-size: 24px; font-weight: 800; color: var(--primary); }
.single-excerpt { margin-top: 12px; font-size: 14px; color: var(--muted-foreground); }
.save-badge { display: inline-block; margin-top: 12px; border-radius: 6px; background: rgb(22 163 74 / .1); color: var(--success); padding: 4px 12px; font-size: 14px; font-weight: 600; }
.size-label { margin: 20px 0 8px; font-size: 14px; font-weight: 600; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 48px; border: 1px solid var(--border); background: var(--card); border-radius: 6px; padding: 8px 12px; font-size: 14px; font-weight: 500; color: inherit; }
.size-btn:hover { border-color: var(--primary); }
.size-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.single-actions { display: flex; gap: 8px; margin-top: 20px; }
.single-actions .btn { flex: 1; }
.meta-cat { margin-top: 16px; font-size: 14px; color: var(--muted-foreground); }
.trust-list { margin-top: 20px; display: grid; gap: 8px; border: 1px solid var(--border); background: var(--card); border-radius: 8px; padding: 16px; font-size: 14px; }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list svg { color: var(--primary); flex-shrink: 0; }

.desc-box { margin-top: 40px; border: 1px solid var(--border); background: var(--card); border-radius: 12px; padding: 20px; }
.desc-box h2 { font-size: 18px; font-weight: 700; }
.desc-box h2 + * { margin-top: 12px; }
.desc-box ul li { font-size: 14px; color: var(--muted-foreground); margin-bottom: 8px; }
.desc-box p { font-size: 14px; color: var(--muted-foreground); margin-bottom: 10px; }
.size-table-wrap { overflow-x: auto; margin-top: 12px; }
.size-table { width: 100%; min-width: 320px; text-align: left; font-size: 14px; }
.size-table thead { background: var(--muted); }
.size-table th, .size-table td { padding: 8px; }
.size-table tbody tr { border-top: 1px solid var(--border); }

/* ==========================================================
   8. Archive / shop
   ========================================================== */
.page-title { font-size: 22px; font-weight: 600; }
.breadcrumb { font-size: 14px; color: var(--muted-foreground); }
.breadcrumb a:hover { color: var(--primary); }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.shop-bar p { font-size: 14px; color: var(--muted-foreground); }
.shop-bar select, .field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--input); background: var(--card);
  border-radius: 6px; padding: 8px 12px; font-size: 14px; font-family: inherit; color: inherit; outline: none;
}
.shop-bar select { width: auto; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination .page-numbers { border: 1px solid var(--border); background: var(--card); border-radius: 6px; padding: 6px 12px; font-size: 14px; }
.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.empty-note { padding: 64px 0; text-align: center; color: var(--muted-foreground); }

/* ==========================================================
   9. Checkout
   ========================================================== */
.checkout-wrap { max-width: 1000px; margin: 0 auto; padding: 32px 16px; }
.checkout-grid { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 768px) { .checkout-grid { grid-template-columns: 1fr 360px; } }
.card-box { border: 1px solid var(--border); background: var(--card); border-radius: 12px; padding: 20px; }
.card-box.summary { height: fit-content; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.summary-item { display: flex; gap: 12px; }
.summary-item img { height: 80px; width: 80px; border-radius: 6px; object-fit: cover; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; }
.qty-box button { background: none; border: 0; padding: 6px 12px; font-size: 16px; line-height: 1; color: inherit; }
.qty-box span { width: 36px; text-align: center; font-weight: 600; }
.totals { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; font-size: 14px; }
.totals .row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.totals .row.grand { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 8px; font-weight: 700; }
.totals .row.grand span:last-child { color: var(--primary); }
.cod-note { border-radius: 6px; background: var(--muted); padding: 12px; font-size: 12px; color: var(--muted-foreground); margin-top: 12px; }
.thanks { max-width: 512px; margin: 0 auto; padding: 80px 16px; text-align: center; }
.thanks h1 { font-size: 24px; font-weight: 700; margin-top: 16px; }
.thanks p { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }
.form-error { color: var(--destructive); font-size: 14px; margin-bottom: 8px; }

/* ==========================================================
   10. Order popup
   ========================================================== */
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; }
@media (min-width: 640px) { .modal { align-items: center; } }
.modal-overlay { position: absolute; inset: 0; background: rgb(30 38 55 / .6); }
.modal-card {
  position: relative; z-index: 10; width: 100%; max-width: 512px;
  max-height: 92vh; overflow-y: auto; background: var(--card); border-radius: 16px 16px 0 0;
}
@media (min-width: 640px) { .modal-card { border-radius: 16px; } }
.modal-head {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
  background: var(--popup-header); color: var(--popup-header-fg); padding: 12px 16px; z-index: 5;
}
.modal-head p { font-weight: 600; }
.modal-close { background: none; border: 0; color: inherit; line-height: 0; }
.steps { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); padding: 12px 16px; font-size: 14px; font-weight: 600; }
.steps .line { height: 1px; flex: 1; background: var(--border); }
.steps .s { color: var(--muted-foreground); }
.steps .s.active { color: var(--primary); }
.modal-product { display: flex; gap: 12px; border-bottom: 1px solid var(--border); padding: 12px 16px; }
.modal-product img { height: 80px; width: 80px; border-radius: 6px; object-fit: cover; }
.modal-product .name { font-size: 14px; font-weight: 600; }
.modal-product .p { font-size: 14px; font-weight: 700; color: var(--primary); }
.modal-body { padding: 16px; }
.modal-body > * + * { margin-top: 16px; }
.mini-total { border-radius: 6px; background: var(--muted); padding: 12px; font-size: 14px; }
.mini-total .row { display: flex; justify-content: space-between; }
.mini-total .row span:first-child { color: var(--muted-foreground); }
.mini-total .grand { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 8px; font-weight: 700; }
.mini-total .grand span:last-child { color: var(--primary); }
.modal-success { padding: 40px 24px; text-align: center; }
.modal-success p.big { margin-top: 16px; font-size: 18px; font-weight: 700; }
.modal-success p.small { margin-top: 4px; font-size: 14px; color: var(--muted-foreground); }

/* ==========================================================
   11. Discount popup
   ========================================================== */
.offer-timer-bar[hidden] { display:none !important; }
.offer-timer-bar { width:100%; background:linear-gradient(90deg,#f8fbff 0%,#eef8fb 50%,#fff7ef 100%); border-bottom:1px solid rgba(30,38,55,.10); color:var(--foreground); }
.offer-timer-inner { min-height:46px; max-width:var(--container); margin:0 auto; padding:6px 16px; display:flex; align-items:center; justify-content:center; gap:10px; font-size:14px; font-weight:700; }
.offer-timer-icon { display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:#fff; box-shadow:0 3px 12px rgba(30,38,55,.10); font-size:16px; }
.offer-timer-copy { color:var(--foreground); }
.offer-timer-copy b { color:var(--primary); }
.offer-timer-bar strong { background:var(--accent); color:#fff; border-radius:999px; padding:7px 14px; min-width:72px; text-align:center; font-size:18px; line-height:1; font-variant-numeric:tabular-nums; box-shadow:0 4px 14px rgba(240,128,60,.22); }
@media (max-width:520px) { .offer-timer-inner { min-height:42px; padding:5px 10px; gap:7px; font-size:12px; } .offer-timer-icon { width:26px; height:26px; font-size:14px; } .offer-timer-bar strong { min-width:62px; padding:6px 9px; font-size:16px; } }
.offer-activated-toast { position:fixed; left:50%; bottom:88px; transform:translateX(-50%); z-index:100; max-width:calc(100% - 28px); padding:12px 16px; border-radius:12px; background:var(--foreground); color:#fff; box-shadow:0 12px 35px rgba(0,0,0,.22); font-size:14px; font-weight:700; text-align:center; animation:offer-toast-in .25s ease; }
.offer-activated-toast.hide { opacity:0; transform:translate(-50%,8px); transition:.3s ease; }
@keyframes offer-toast-in { from { opacity:0; transform:translate(-50%,8px); } to { opacity:1; transform:translate(-50%,0); } }
.js-order-discount-row { color:var(--success); font-weight:700; }
.discount-modal { position:fixed; inset:0; z-index:70; display:none; align-items:center; justify-content:center; padding:16px; background:rgb(17 24 39 / .48); backdrop-filter:blur(3px); }
.discount-modal.open { display:flex; }
.discount-card { position:relative; z-index:10; width:100%; max-width:430px; overflow:hidden; border-radius:24px; background:var(--card); text-align:center; box-shadow:0 24px 70px rgb(0 0 0 / .25); }
.offer-gift { font-size:58px; line-height:1; padding-top:20px; }
.offer-badge { display:inline-block; margin:10px auto 0; padding:7px 18px; border-radius:999px; background:#fff1c8; color:#8b5b00; font-weight:700; }
.discount-top { padding:10px 22px 18px; color:var(--foreground); }
.discount-top .small { font-size:14px; font-weight:500; color:var(--muted-foreground); }
.offer-main-title { margin-top:6px; font-size:27px; font-weight:800; }
.discount-top .big { margin-top:7px; font-size:38px; font-weight:900; color:var(--primary); }
.discount-top .big span { font-size:21px; }
.offer-sub { margin-top:5px; }
.discount-bottom { padding:0 22px 24px; }
.offer-note { font-size:14px; color:var(--muted-foreground); line-height:1.65; }
.offer-timer-label { margin-top:15px; font-size:13px; color:var(--muted-foreground); }
.countdown { margin:8px 0 14px; font-size:34px; font-weight:800; font-variant-numeric:tabular-nums; color:var(--foreground); }
.offer-auto-note { margin-top:10px; font-size:12px; color:var(--muted-foreground); }
.discount-card .close-x { position:absolute; right:12px; top:12px; background:rgb(255 255 255 / .85); border:0; border-radius:999px; color:var(--muted-foreground); line-height:0; padding:7px; z-index:2; }
.page-voice-card { display:flex; align-items:center; gap:12px; margin-top:16px; padding:12px 14px; border:1px solid var(--border); border-radius:12px; background:var(--card); box-shadow:var(--shadow-soft); }
.page-voice-card > div { min-width:0; flex:1; }
.page-voice-card strong,.page-voice-card small { display:block; }
.page-voice-card small { color:var(--muted-foreground); font-size:12px; margin-top:2px; }
.page-voice-icon { font-size:24px; }
.page-voice-card .btn { padding:7px 12px; }

/* ==========================================================
   12. Social proof
   ========================================================== */
.social-proof {
  position: fixed; bottom: 80px; left: 12px; z-index: 40; width: 290px; display: none;
  border: 1px solid var(--border); background: var(--card); border-radius: 8px;
  padding: 12px; box-shadow: var(--shadow-big); animation: sp-in .35s ease;
}
.social-proof.show { display: block; }
@media (min-width: 768px) { .social-proof { bottom: 20px; } }
@keyframes sp-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.social-proof .close-x { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: var(--muted-foreground); line-height: 0; }
.social-proof .row { display: flex; gap: 10px; }
.sp-icon { display: flex; height: 36px; width: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; background: rgb(63 169 201 / .12); color: var(--primary); }
.sp-text { font-size: 13px; line-height: 1.35; }
.sp-prod { font-size: 13px; font-weight: 500; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-time { font-size: 11px; color: var(--muted-foreground); }

/* ==========================================================
   13. Footer
   ========================================================== */
.site-footer { margin-top: 48px; border-top: 1px solid var(--border); background: var(--card); }
.footer-grid { display: grid; gap: 32px; max-width: var(--container); margin: 0 auto; padding: 40px 16px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid .tag { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }
.footer-grid .head { margin-bottom: 8px; font-weight: 600; }
.footer-grid ul li { font-size: 14px; color: var(--muted-foreground); margin-bottom: 4px; }
.footer-line { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted-foreground); margin-bottom: 8px; }
.footer-line svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px; text-align: center; font-size: 12px; color: var(--muted-foreground); }

/* ==========================================================
   14. Page / 404 / posts
   ========================================================== */
.page-wrap { max-width: 768px; margin: 0 auto; padding: 40px 16px; }
.page-wrap h1 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.entry-content p, .entry-content li { font-size: 15px; color: var(--foreground); margin-bottom: 12px; }
.entry-content h2 { font-size: 20px; font-weight: 700; margin: 24px 0 8px; }
.entry-content ul { list-style: disc; padding-left: 20px; }
.entry-content img { border-radius: 8px; }
.notfound { display: flex; min-height: 60vh; align-items: center; justify-content: center; padding: 0 16px; text-align: center; }
.notfound h1 { font-size: 72px; font-weight: 700; }
.notfound h2 { margin-top: 16px; font-size: 20px; font-weight: 600; }
.notfound p { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }
.post-list article { border-bottom: 1px solid var(--border); padding: 20px 0; }
.post-list h2 { font-size: 18px; font-weight: 600; }

/* Nav menu from WP menus */
.main-nav ul.nav-list, .main-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.main-nav ul li a { font-weight: 600; }
.site-footer ul.menu { list-style: none; margin: 0; padding: 0; }
.site-footer ul.menu li { font-size: 14px; color: var(--muted-foreground); margin-bottom: 4px; }

/* ==========================================================
   15. WooCommerce overrides
   ========================================================== */
.woocommerce ul.products,
ul.products {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 768px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { ul.products { grid-template-columns: repeat(5, 1fr); } }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; clear: none !important; }
ul.products li.product { min-width: 0; }
.home ul.products li.product, .home .woocommerce ul.products li.product { visibility: visible !important; opacity: 1 !important; }
.home ul.products li.product .product-card { min-height: 100%; }
.home ul.products li.product .thumb { display: block; aspect-ratio: 1 / 1; }
.home ul.products li.product .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.woocommerce-breadcrumb { font-size: 14px; color: var(--muted-foreground); margin-bottom: 12px; }
.woocommerce-breadcrumb a:hover { color: var(--primary); }
.woocommerce-result-count { font-size: 14px; color: var(--muted-foreground); margin: 0; }
.woocommerce-ordering select { border: 1px solid var(--input); background: var(--card); border-radius: 6px; padding: 8px 12px; font-size: 14px; font-family: inherit; }
.woocommerce-products-header__title, .page-title { font-size: 22px; font-weight: 600; }
.term-description { font-size: 14px; color: var(--muted-foreground); margin-bottom: 16px; }

.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 32px 0 0; border: 0 !important; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination .page-numbers { display: inline-block; border: 1px solid var(--border); background: var(--card); border-radius: 6px; padding: 6px 12px; font-size: 14px; }
.woocommerce-pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 8px; border: 1px solid var(--border); background: var(--card);
  padding: 14px 16px; font-size: 14px; list-style: none; margin: 0 0 20px;
  border-left: 4px solid var(--primary);
}
.woocommerce-error { border-left-color: var(--destructive); }
.woocommerce-message { border-left-color: var(--success); }
.woocommerce-message .button, .woocommerce-info .button { float: right; }

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--primary); color: #fff; border-radius: 8px; padding: 10px 18px;
  font-family: inherit; font-weight: 700; font-size: 15px; border: 0; line-height: 1.4;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover { background: var(--primary-hover); color: #fff; }
.woocommerce #payment #place_order, .woocommerce .checkout-button.button {
  background: var(--accent); width: 100%; text-align: center; padding: 14px; font-size: 16px;
}
.woocommerce #payment #place_order:hover, .woocommerce .checkout-button.button:hover { background: var(--accent-hover); }

/* Cart & checkout */
.woocommerce table.shop_table {
  border: 1px solid var(--border); border-radius: 12px; border-collapse: separate;
  background: var(--card); font-size: 14px; width: 100%;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; border-top: 1px solid var(--border); }
.woocommerce table.cart img { width: 64px; border-radius: 6px; }
.woocommerce-checkout .col2-set { display: grid; gap: 24px; }
@media (min-width: 768px) { .woocommerce-checkout .col2-set { grid-template-columns: 1fr 1fr; } }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce form .form-row { display: block; margin-bottom: 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  width: 100%; border: 1px solid var(--input); background: var(--card); border-radius: 6px;
  padding: 9px 12px; font-size: 14px; font-family: inherit; color: inherit; height: auto; outline: none;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--primary); }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 1.5; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 8px; }
#order_review, .woocommerce-checkout-review-order {
  border: 1px solid var(--border); background: var(--card); border-radius: 12px; padding: 16px; margin-top: 12px;
}
#order_review_heading { font-size: 18px; font-weight: 700; margin-top: 24px; }
.woocommerce-checkout #payment { background: var(--muted); border-radius: 8px; padding: 14px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 12px; border: 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--card); border-radius: 6px; font-size: 13px; }
.woocommerce .quantity .qty {
  width: 64px; border: 1px solid var(--input); border-radius: 6px; padding: 8px; text-align: center; font-family: inherit;
}
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
@media (min-width: 768px) { .woocommerce-cart .cart-collaterals .cart_totals { max-width: 420px; margin-left: auto; } }
.woocommerce-order-received .woocommerce-order { max-width: 760px; margin: 0 auto; }

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: inline-block; border: 1px solid var(--border); background: var(--card);
  border-radius: 6px; padding: 6px 12px; font-size: 14px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--primary); color: #fff; border-color: var(--primary); }
.woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }

/* Single product Woo bits */
.single-product div.product .woocommerce-product-gallery { position: relative; }
.single-product div.product .woocommerce-product-gallery img { border-radius: 12px; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.flex-control-thumbs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.flex-control-thumbs li { width: 72px; }
.flex-control-thumbs img { border-radius: 6px; cursor: pointer; opacity: .7; }
.flex-control-thumbs img.flex-active { opacity: 1; outline: 2px solid var(--primary); }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 12px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding: 4px 0; display: block; text-align: left; }
.woocommerce div.product form.cart .variations select { width: 100%; border: 1px solid var(--input); border-radius: 6px; padding: 9px 12px; font-family: inherit; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.woocommerce div.product form.cart .button { flex: 1; }
.woocommerce div.product .stock { font-size: 14px; color: var(--success); }
.woocommerce div.product .out-of-stock { color: var(--destructive); }
.woocommerce span.onsale { display: none; }
.woocommerce-tabs { display: none; }
.wc-tabs-wrapper { display: none; }
.woocommerce-Price-amount { font-weight: inherit; }

/* Cart count bubble in header */
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cart-count {
  position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* Woo price markup inside our cards */
.product-card .price-row .price { font-size: 15px; font-weight: 700; color: var(--foreground); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.product-card .price-row del { font-size: 12px; color: var(--muted-foreground); font-weight: 400; opacity: 1; }
.product-card .price-row ins { text-decoration: none; font-weight: 700; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  display: flex; align-items: center; gap: 12px; margin: 8px 0 0;
  font-size: 24px; font-weight: 800; color: var(--primary);
}
.woocommerce div.product p.price del { font-size: 14px; color: var(--muted-foreground); font-weight: 400; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-top: 12px; font-size: 14px; color: var(--muted-foreground); }
.woocommerce div.product .product_meta { margin-top: 16px; font-size: 14px; color: var(--muted-foreground); display: block; }
.woocommerce div.product .product_meta a { color: var(--primary); }
.woocommerce div.product .product_title { font-size: 22px; font-weight: 700; }
@media (min-width: 768px) { .woocommerce div.product .product_title { font-size: 26px; } }
.related.products > h2, .up-sells > h2 { font-size: 22px; font-weight: 600; margin: 40px 0 16px; }

/* ==========================================================
   16. Theme cart & checkout pages
   ========================================================== */
.cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cart-head h1 { font-size: 24px; font-weight: 700; }
.cart-head p { font-size: 14px; color: var(--muted-foreground); }
.cart-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .cart-grid { grid-template-columns: 1fr 360px; } }
.cart-summary { position: sticky; top: 84px; }
.summary-title { font-weight: 700; font-size: 16px; margin-bottom: 12px; }

.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); transition: opacity .2s; }
.cart-line:last-child { border-bottom: 0; }
.cart-line-img img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.cart-line-title { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; }
.cart-line-title:hover { color: var(--primary); }
.cart-line-meta { font-size: 12px; color: var(--muted-foreground); margin-top: 2px; }
.cart-line-price { font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
.cart-line-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cart-line-remove { background: none; border: 0; padding: 0; font-size: 13px; color: var(--destructive); }
.cart-line-remove:hover { text-decoration: underline; }
.cart-line-total { font-weight: 700; font-size: 15px; white-space: nowrap; }
.cart-lines.compact .cart-line { grid-template-columns: 60px 1fr auto; padding: 10px 0; }
.cart-lines.compact .cart-line-img img { width: 60px; height: 60px; }
.cart-lines.compact .cart-line-actions { margin-top: 6px; }

.coupon-box { display: flex; gap: 8px; }
.coupon-box input { flex: 1; border: 1px solid var(--input); border-radius: 6px; padding: 9px 12px; font-family: inherit; font-size: 14px; background: var(--card); color: inherit; }
.coupon-msg { font-size: 13px; margin-top: 6px; }
.coupon-msg.ok { color: var(--success); }
.coupon-msg.err { color: var(--destructive); }
.field-two { display: grid; gap: 12px; }
@media (min-width: 560px) { .field-two { grid-template-columns: 1fr 1fr; } }
.discount-img { width: 100%; height: 150px; object-fit: cover; display: block; }
.js-coupon-copy { cursor: pointer; }
.js-coupon-copy:hover { background: var(--primary); color: #fff; }

/* 5-item bottom nav when the cart link is present */
.bottom-nav { grid-template-columns: repeat(5, 1fr); }
.bottom-nav .cart-link .cart-count { top: 2px; right: 12px; }


/* Direct size selector on single product pages */
.variations select.sokbd-size-select-hidden {
	display: none !important;
}
.sokbd-direct-size-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 10px 0 4px;
}
.sokbd-direct-size-btn {
	min-width: 58px;
	padding: 11px 16px;
	border: 1px solid #d8dce3;
	border-radius: 8px;
	background: #fff;
	font-size: 16px;
	line-height: 1.2;
	cursor: pointer;
	transition: .18s ease;
}
.sokbd-direct-size-btn:hover,
.sokbd-direct-size-btn.active {
	border-color: var(--primary, #11a9c2);
	background: var(--primary, #11a9c2);
	color: #fff;
}

/* Home product grid alignment fix: WooCommerce may add .first/.last classes.
 * In CSS Grid these classes must never create an empty leading cell. */
/* Product-loop alignment fix: force normal left-to-right flow.
 * Some WooCommerce/theme/plugin styles can inherit RTL direction, which makes
 * the first product start in the right column on a two-column mobile grid. */
.woocommerce ul.products,
ul.products {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}
.woocommerce ul.products li.product,
ul.products li.product {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* Product-loop alignment fix: use flex so WooCommerce .first/.last classes
 * or legacy float/clear rules can never create a blank leading column. */
.woocommerce ul.products,
ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}
.woocommerce ul.products li.product,
ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
ul.products li.product.first,
ul.products li.product.last {
  box-sizing: border-box !important;
  flex: 0 0 calc((100% - 12px) / 2) !important;
  width: calc((100% - 12px) / 2) !important;
  max-width: calc((100% - 12px) / 2) !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  position: relative !important;
}
@media (min-width: 768px) {
  .woocommerce ul.products li.product,
  ul.products li.product {
    flex-basis: calc((100% - 24px) / 3) !important;
    width: calc((100% - 24px) / 3) !important;
    max-width: calc((100% - 24px) / 3) !important;
  }
}
@media (min-width: 1024px) {
  .woocommerce ul.products li.product,
  ul.products li.product {
    flex-basis: calc((100% - 48px) / 5) !important;
    width: calc((100% - 48px) / 5) !important;
    max-width: calc((100% - 48px) / 5) !important;
  }
}

/* v3.5.8: Override WooCommerce's .columns-N width rules.
 * WooCommerce adds .columns-5/.columns-4 etc. to product loops; those
 * selectors have higher specificity than the generic rules above and can
 * make the first card wide while the remaining cards stay narrow.
 * The responsive widths below are intentionally based on the viewport,
 * not WooCommerce's shortcode column class, so every card stays uniform.
 */
.woocommerce ul.products[class*="columns-"] {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  direction: ltr !important;
}
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce ul.products[class*="columns-"] li.product.first,
.woocommerce ul.products[class*="columns-"] li.product.last {
  box-sizing: border-box !important;
  flex: 0 0 calc((100% - 12px) / 2) !important;
  width: calc((100% - 12px) / 2) !important;
  max-width: calc((100% - 12px) / 2) !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}
@media (min-width: 768px) {
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce ul.products[class*="columns-"] li.product.first,
  .woocommerce ul.products[class*="columns-"] li.product.last {
    flex-basis: calc((100% - 24px) / 3) !important;
    width: calc((100% - 24px) / 3) !important;
    max-width: calc((100% - 24px) / 3) !important;
  }
}
@media (min-width: 1024px) {
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce ul.products[class*="columns-"] li.product.first,
  .woocommerce ul.products[class*="columns-"] li.product.last {
    flex-basis: calc((100% - 48px) / 5) !important;
    width: calc((100% - 48px) / 5) !important;
    max-width: calc((100% - 48px) / 5) !important;
  }
}

/* -------------------------------------------------------------------------
   3.5.3: Product description slide inside quick-order popup
   ------------------------------------------------------------------------- */
.sokbd-details-toggle {
  width: 100%;
  margin-top: 12px;
  min-height: 56px;
  border: 2px dashed #e8caca;
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.sokbd-details-toggle span {
  display: inline-block;
  margin-right: 8px;
  font-size: 30px;
  line-height: 0;
  vertical-align: -3px;
}
.sokbd-description-slide {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: inherit;
  overflow: hidden;
  transform: translateX(105%);
  transition: transform .22s ease;
  will-change: transform;
}
.sokbd-description-slide.open { transform: translateX(0); }
.sokbd-description-slide[hidden] { display: none; }
.sokbd-description-slide-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  background: linear-gradient(110deg, #17263e, #08abc3);
  color: #fff;
}
.sokbd-description-slide-head strong { font-size: 20px; }
.sokbd-description-back {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgb(255 255 255 / .16);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.sokbd-description-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 22px 20px 30px;
  font-size: 17px;
  line-height: 1.85;
  color: #1f2937;
  -webkit-overflow-scrolling: touch;
}
.sokbd-description-content p { margin: 0 0 10px; }
.sokbd-description-content p:last-child { margin-bottom: 0; }
.sokbd-description-content p:has(+ table) { margin-bottom: 0 !important; }
.sokbd-description-content p:has(br:only-child),
.sokbd-description-content p:empty { display: none !important; }
.sokbd-description-content ul,
.sokbd-description-content ol { padding-left: 22px; margin: 0 0 12px; }
.sokbd-description-content img { max-width: 100%; height: auto; border-radius: 10px; }
.sokbd-description-content table { width: 100%; border-collapse: collapse; margin: 0 !important; }
.sokbd-description-content th,
.sokbd-description-content td { border: 1px solid #ddd; padding: 7px; }

/* Fashion Theme v3.5.11: desktop category menu row below header. */

/* Fashion Theme v3.5.12: polished desktop category bar under the main header. */
@media (min-width: 768px) {
  .site-header {
    position: relative;
    background: var(--background, #fff);
  }

  /* Full-width desktop header: logo left, search expands across the available header space, cart right. */
  .header-inner {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    min-height: 72px;
    padding: 14px 28px;
    gap: 22px;
  }

  .header-search {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .header-search form {
    width: 100%;
  }

  .desktop-category-nav {
    display: block;
    width: 100%;
    border-top: 1px solid var(--border, #e5e7eb);
    border-bottom: 1px solid var(--border, #e5e7eb);
    background: #f7fafc;
    box-shadow: 0 2px 8px rgb(15 23 42 / .04);
  }

  .desktop-category-nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
    overflow: visible;
  }

  .desktop-category-list {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    min-height: 48px;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow: visible;
  }

  .desktop-category-list > li {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
  }

  .desktop-category-list > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    padding: 0 15px;
    border-radius: 7px;
    color: var(--foreground, #1f2937);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .15px;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
  }

  .desktop-category-list > li.menu-item-has-children > a::after {
    content: '⌄';
    display: inline-block;
    margin-top: -3px;
    font-size: 14px;
    line-height: 1;
    opacity: .65;
  }

  .desktop-category-list > li > a:hover,
  .desktop-category-list > li.current-menu-item > a,
  .desktop-category-list > li.current-menu-ancestor > a,
  .desktop-category-list > li.current-product_cat-ancestor > a {
    background: rgb(63 169 201 / .10);
    color: var(--primary, #3fa9c9);
  }

  .desktop-category-list .sub-menu {
    top: calc(100% + 1px);
    left: 0;
    transform: none;
    min-width: 210px;
    padding: 7px;
    background: var(--background, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgb(15 23 42 / .12);
  }

  .desktop-category-list .sub-menu a {
    border-radius: 7px;
    padding: 10px 12px;
    color: var(--foreground, #1f2937);
    font-size: 13px;
  }

  .desktop-category-list .sub-menu a:hover {
    background: rgb(63 169 201 / .09);
    color: var(--primary, #3fa9c9);
  }

  /* The mobile drawer must never be visible on desktop. */
  .mobile-drawer,
  .mobile-drawer.open {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .desktop-category-nav {
    display: none !important;
  }
}

/* Fashion Theme v3.5.13: prevent mobile drawer from appearing on desktop. */
@media (min-width: 768px) {
  .mobile-drawer,
  .mobile-drawer.open { display: none !important; }
}


/* Fashion Theme v3.5.14: desktop search bar fills the available header width. */
@media (min-width: 768px) {
  .site-header .header-inner { width: 100%; max-width: none; }
  .site-header .header-search { flex: 1 1 auto; max-width: none; min-width: 0; }
  .site-header .header-search form { width: 100%; }
}

/* Fashion Theme v3.5.15: mobile menu category accordion. Parent categories stay
 * visible; child product categories are collapsed until the arrow is tapped. */
@media (max-width: 767px) {
  .drawer-menu-wrap .mobile-nav-list > li.menu-item-has-children > a {
    display: inline-flex;
    width: calc(100% - 42px);
    align-items: center;
    vertical-align: middle;
  }

  .drawer-menu-wrap .mobile-nav-list > li.menu-item-has-children {
    position: relative;
  }

  .drawer-menu-wrap .mobile-nav-list > li.menu-item-has-children > .mobile-submenu-toggle {
    position: absolute;
    top: 2px;
    right: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--foreground, #1f2937);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    font-family: inherit;
  }

  .drawer-menu-wrap .mobile-nav-list > li.menu-item-has-children > .mobile-submenu-toggle::before {
    content: '⌄';
    display: block;
    transform: translateY(-2px);
    transition: transform .18s ease;
  }

  .drawer-menu-wrap .mobile-nav-list > li.menu-item-has-children.is-submenu-open > .mobile-submenu-toggle::before {
    transform: rotate(180deg) translateY(2px);
  }

  .drawer-menu-wrap .mobile-nav-list > li.menu-item-has-children > .sub-menu {
    display: none;
    margin: 2px 0 7px 12px;
    padding: 0 0 0 14px;
    border-left: 2px solid rgb(63 169 201 / .20);
  }

  .drawer-menu-wrap .mobile-nav-list > li.menu-item-has-children.is-submenu-open > .sub-menu {
    display: block;
  }
}

/* -------------------------------------------------------------------------
   3.7.16: Product-view gesture voice + full-card scroll layout
   Image -> price -> size -> quantity -> Add to Cart -> Order Now -> Details.
   The card stays inside the viewport with visible space around it; the body
   scrolls independently on smaller phones.
   ------------------------------------------------------------------------- */
.sokbd-product-view { position:fixed; inset:0; z-index:65; display:none; align-items:center; justify-content:center; padding:20px; box-sizing:border-box; }
.sokbd-product-view.open { display:flex; }
.sokbd-product-view-overlay { position:absolute; inset:0; background:rgb(15 23 42 / .70); backdrop-filter:blur(3px); }
.sokbd-product-view-card { position:relative; z-index:2; width:min(630px, calc(100vw - 62px)); max-width:630px; height:min(88vh, 760px); max-height:calc(100dvh - 40px); min-height:0; overflow-y:auto; overflow-x:hidden; background:#fff; border-radius:22px; box-shadow:0 22px 65px rgb(0 0 0 / .30); display:block; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; touch-action:pan-y; scrollbar-gutter:stable; }
.sokbd-product-view-head { min-height:56px; display:flex; align-items:center; justify-content:center; gap:10px; padding:8px 50px; background:linear-gradient(135deg,#17243b,#078fae); color:#fff; position:relative; text-align:center; border-bottom:3px solid var(--primary); flex:0 0 auto; box-sizing:border-box; }
.sokbd-product-view-head strong { font-size:17px; line-height:1.2; font-weight:800; }
.sokbd-product-view-close { position:absolute; right:10px; top:7px; width:38px; height:38px; border:0; background:transparent; color:#fff; font-size:32px; line-height:1; cursor:pointer; }
.sokbd-product-view-media { position:relative; margin:0 38px; width:auto; height:auto; min-height:0; background:#eef2f5; overflow:hidden; border-radius:0 0 16px 16px; }
.sokbd-product-view-media img { display:block; width:100%; height:auto; max-width:100%; object-fit:contain; user-select:none; -webkit-user-drag:none; touch-action:manipulation; cursor:zoom-in; }
.sokbd-image-zoom { position:absolute; inset:0; z-index:30; display:none; background:rgb(3 7 18 / .96); overflow:hidden; }
.sokbd-image-zoom.open { display:block; }
.sokbd-image-zoom[hidden] { display:none!important; }
.sokbd-image-zoom-stage { position:absolute; inset:0 0 70px; display:flex; align-items:center; justify-content:center; overflow:hidden; touch-action:none; }
.sokbd-image-zoom-img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; transform-origin:center center; user-select:none; -webkit-user-drag:none; cursor:grab; will-change:transform; }
.sokbd-image-zoom-img:active { cursor:grabbing; }
.sokbd-image-zoom-close { position:absolute; z-index:4; top:10px; right:10px; width:44px; height:44px; border:0; border-radius:50%; background:rgb(255 255 255 / .92); color:#17243b; font-size:30px; line-height:1; cursor:pointer; }
.sokbd-image-zoom-controls { position:absolute; z-index:4; left:50%; bottom:12px; transform:translateX(-50%); display:flex; align-items:center; gap:8px; padding:7px 9px; border-radius:999px; background:rgb(255 255 255 / .95); box-shadow:0 8px 25px rgb(0 0 0 / .25); }
.sokbd-image-zoom-controls button { min-width:42px; height:38px; padding:0 10px; border:0; border-radius:999px; background:#eef2f5; color:#17243b; font-size:18px; font-weight:800; cursor:pointer; }
.sokbd-image-zoom-controls button[data-view-zoom-reset] { min-width:58px; font-size:13px; }

.sokbd-view-discount { position:absolute; z-index:4; top:10px; left:12px; padding:7px 11px; border-radius:8px; background:#ff8a00; color:#fff; font-size:13px; font-weight:800; box-shadow:0 4px 10px rgb(0 0 0 / .12); }
.sokbd-gallery-arrow { position:absolute; z-index:5; top:50%; transform:translateY(-50%); width:44px; height:44px; border:0; border-radius:50%; background:rgb(255 255 255 / .88); color:#1e293b; font-size:34px; line-height:38px; box-shadow:0 4px 14px rgb(0 0 0 / .14); display:flex; align-items:center; justify-content:center; cursor:pointer; }
.sokbd-gallery-arrow.prev { left:10px; }
.sokbd-gallery-arrow.next { right:10px; }
.sokbd-gallery-arrow[disabled] { opacity:.35; pointer-events:none; }
.sokbd-gallery-arrow[hidden] { display:none !important; }
.sokbd-gallery-dots { position:absolute; left:0; right:0; bottom:10px; display:flex; justify-content:center; gap:6px; }
.sokbd-gallery-dots span { width:8px; height:8px; border-radius:50%; background:rgb(15 23 42 / .45); }
.sokbd-gallery-dots span.active { width:24px; border-radius:999px; background:var(--primary); }
.sokbd-product-view-body { padding:12px 18px 18px; overflow:visible; touch-action:pan-y; }
.sokbd-view-price { display:flex; align-items:center; gap:8px; padding:8px 11px; margin-bottom:9px; border-left:4px solid var(--primary); border-radius:0 14px 14px 0; background:#effafd; color:var(--primary); font-size:22px; font-weight:800; }
.sokbd-view-price del { color:var(--muted-foreground); font-size:14px; font-weight:500; }
.sokbd-view-short-description { display:none !important; }
.sokbd-view-size-box { padding:9px 11px; border-radius:13px; background:#f7f1e8; }
.sokbd-view-section-title { text-align:center; font-size:15px; font-weight:800; margin-bottom:8px; }
.sokbd-view-size-list { display:flex; flex-wrap:wrap; justify-content:center; gap:7px; }
.sokbd-view-size-list .size-btn { min-width:54px; min-height:40px; padding:6px 12px; border:1px solid var(--border); border-radius:9px; background:#fff; font-weight:700; font-size:14px; }
.sokbd-view-size-list .size-btn.active { border-color:var(--primary); background:var(--primary); color:#fff; }
.sokbd-view-qty-row { display:flex; align-items:center; justify-content:space-between; margin-top:10px; font-weight:700; font-size:15px; }
.sokbd-view-actions { display:grid; gap:8px; margin-top:13px; }
.sokbd-view-actions .btn { min-height:45px; border-radius:999px; font-size:15px; font-weight:800; }
.sokbd-view-actions .sokbd-details-toggle { min-height:46px; margin-top:0; border-radius:14px; }
.sokbd-view-description { position:absolute; inset:56px 0 0; z-index:8; background:#fff; display:flex; flex-direction:column; transform:translateX(105%); transition:transform .22s ease; will-change:transform; }
.sokbd-view-description.open { transform:translateX(0); }
.sokbd-view-description[hidden] { display:none; }
.sokbd-view-description .sokbd-description-content { overflow:auto; padding:14px 16px 24px; font-size:14px; line-height:1.65; -webkit-overflow-scrolling:touch; }
@media (max-width:639px) {
  .sokbd-product-view { padding:14px 0; }
  .sokbd-product-view-card { width:calc(100vw - 62px); max-width:none; height:calc(100dvh - 28px); max-height:none; border-radius:20px; }
  .sokbd-product-view-head { min-height:54px; padding:7px 44px 7px 14px; }
  .sokbd-product-view-head strong { font-size:15px; }
  .sokbd-product-view-close { right:7px; top:6px; width:35px; height:35px; font-size:30px; }
  .sokbd-product-view-media { margin:0 38px; height:auto; min-height:0; border-radius:0 0 14px 14px; }
  .sokbd-gallery-arrow { width:42px; height:42px; font-size:32px; }
  .sokbd-gallery-arrow.prev { left:9px; }
  .sokbd-gallery-arrow.next { right:9px; }
  .sokbd-product-view-body { padding:10px 12px 16px; }
  .sokbd-view-price { font-size:20px; margin-bottom:8px; padding:8px 10px; }
  .sokbd-view-price del { font-size:13px; }
  .sokbd-view-size-box { padding:7px; }
  .sokbd-view-section-title { font-size:13px; margin-bottom:6px; }
  .sokbd-view-size-list .size-btn { min-width:48px; min-height:35px; padding:4px 9px; font-size:13px; }
  .sokbd-view-qty-row { margin-top:8px; font-size:13px; }
  .sokbd-view-actions { margin-top:9px; gap:6px; }
  .sokbd-view-actions .btn { min-height:40px; font-size:13px; }
  .sokbd-view-actions .sokbd-details-toggle { min-height:40px; font-size:13px; }
}

@media (max-width:380px) {
  .sokbd-product-view-card { width:calc(100vw - 32px); height:calc(100dvh - 24px); }
  .sokbd-product-view-media { margin:0 24px; height:auto; min-height:0; }
}

.sokbd-product-view-card::-webkit-scrollbar { width:7px; }
.sokbd-product-view-card::-webkit-scrollbar-thumb { background:rgb(15 23 42 / .25); border-radius:999px; }


/* 3.7.25: Embedded checkout takes over the popup; hide product header/gallery while checking out. */
.sokbd-product-view-card.checkout-mode .sokbd-product-view-head,
.sokbd-product-view-card.checkout-mode .sokbd-product-view-media { display:none!important; }
.sokbd-product-view-card.checkout-mode .sokbd-view-checkout { min-height:100%; }
/* Embedded product-view checkout + forced asset cache-bust version. */
.sokbd-product-view-body[hidden]{display:none!important}
.sokbd-view-checkout{padding:16px 18px 22px;background:#fff;box-sizing:border-box}
.sokbd-view-checkout-head{display:flex;align-items:center;gap:10px;margin:-16px -18px 16px;padding:12px 14px;border-bottom:1px solid #e8edf2;background:#f8fafc}
.sokbd-view-checkout-head>div{display:flex;flex-direction:column;gap:2px}
.sokbd-view-checkout-head strong{font-size:21px;color:var(--foreground)}
.sokbd-view-checkout-head span{font-size:12px;color:var(--muted-foreground)}
.sokbd-view-checkout-back{width:38px;height:38px;border:0;border-radius:10px;background:#fff;font-size:28px;line-height:1;cursor:pointer}
.sokbd-view-checkout-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:14px}
.sokbd-view-checkout-form,.sokbd-view-checkout-summary{border:1px solid #e7ebef;border-radius:14px;padding:14px;background:#fff;box-sizing:border-box}
.sokbd-view-checkout-title{margin:0 0 12px;font-weight:800;font-size:17px}
.sokbd-view-checkout-form .field{display:block;margin-bottom:10px}
.sokbd-view-checkout-form .field span{display:block;margin-bottom:5px;font-size:13px;font-weight:700}
.sokbd-view-checkout-form input,.sokbd-view-checkout-form select,.sokbd-view-checkout-form textarea{width:100%;box-sizing:border-box}
.sokbd-view-checkout-summary .totals{margin-top:12px}
.sokbd-view-checkout-items{max-height:180px;overflow:auto;margin-bottom:8px}
.sokbd-view-checkout-items .cart-line{padding:8px 0}
.sokbd-view-checkout-loading{font-size:13px;color:var(--muted-foreground);padding:8px 0}
.sokbd-view-checkout-success{text-align:center;padding:45px 18px 55px}
.sokbd-view-checkout-success .success-icon{width:64px;height:64px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;background:#e9f9ef;color:var(--success);font-size:40px;font-weight:800}
.sokbd-view-checkout-success h3{margin:0 0 10px;font-size:21px}
.sokbd-view-checkout-success p{margin:0 0 20px;color:var(--muted-foreground);line-height:1.6}
@media (max-width:700px){
 .sokbd-view-checkout{padding:12px 12px 18px}
 .sokbd-view-checkout-head{margin:-12px -12px 12px;padding:10px 12px}
 .sokbd-view-checkout-grid{grid-template-columns:1fr}
 .sokbd-view-checkout-summary{order:-1}
 .sokbd-view-checkout-items{max-height:120px}
}


/* 3.7.25: Separate checkout-only popup launched from Product View. */
.sokbd-product-checkout{position:fixed;inset:0;z-index:100050;display:none;align-items:center;justify-content:center;padding:16px;background:rgb(15 23 42 / .58);box-sizing:border-box}
.sokbd-product-checkout.open{display:flex}
.sokbd-product-checkout-overlay{position:absolute;inset:0}
.sokbd-product-checkout-card{position:relative;z-index:1;width:min(760px,100%);max-height:min(92dvh,900px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 24px 70px rgb(15 23 42 / .28);-webkit-overflow-scrolling:touch}
.sokbd-product-checkout-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:8px 16px;background:#18233a;color:#fff;border-radius:22px 22px 0 0;box-sizing:border-box}
.sokbd-product-checkout-head strong{font-size:22px}
.sokbd-product-checkout-close{width:40px;height:40px;border:0;border-radius:50%;background:rgb(255 255 255 / .12);color:#fff;font-size:31px;line-height:1;cursor:pointer}
.sokbd-product-checkout-body{padding:16px}
.sokbd-product-checkout-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);gap:16px}
.sokbd-product-checkout-form,.sokbd-product-checkout-summary{border:1px solid #e5e9ee;border-radius:16px;padding:16px;background:#fff;box-sizing:border-box}
.sokbd-product-checkout-title{margin:0 0 14px;font-size:19px;font-weight:800}
.sokbd-product-checkout-form .field{display:block;margin-bottom:12px}
.sokbd-product-checkout-form .field span{display:block;margin-bottom:6px;font-size:14px;font-weight:700}
.sokbd-product-checkout-form input,.sokbd-product-checkout-form select,.sokbd-product-checkout-form textarea{width:100%;box-sizing:border-box}
.sokbd-product-checkout-items{max-height:220px;overflow:auto;margin-bottom:10px}
.sokbd-product-checkout-items .cart-line{padding:9px 0}
.sokbd-product-checkout-summary .totals{margin-top:12px}
.sokbd-product-checkout-success{text-align:center;padding:70px 20px}
.sokbd-product-checkout-success .success-icon{width:68px;height:68px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;background:#e9f9ef;color:var(--success);font-size:42px;font-weight:800}
.sokbd-product-checkout-success h3{margin:0 0 10px;font-size:22px}
.sokbd-product-checkout-success p{margin:0 0 22px;color:var(--muted-foreground);line-height:1.6}
@media(max-width:700px){
 .sokbd-product-checkout{padding:0;align-items:stretch}
 .sokbd-product-checkout-card{width:100%;max-height:100dvh;height:100dvh;border-radius:0}
 .sokbd-product-checkout-head{border-radius:0;min-height:58px}
 .sokbd-product-checkout-main{grid-template-columns:1fr;gap:12px}
 .sokbd-product-checkout-summary{order:-1}
 .sokbd-product-checkout-body{padding:12px}
 .sokbd-product-checkout-items{max-height:150px}
}

/* 3.7.60: Stock-aware size buttons for WooCommerce variations. */
.size-btn .size-stock-count,
.sokbd-view-size-list .size-btn .size-stock-count {
	font-size: 11px;
	font-weight: 700;
	opacity: .75;
	margin-left: 2px;
}
.size-btn.active .size-stock-count,
.sokbd-view-size-list .size-btn.active .size-stock-count {
	opacity: .95;
}
.js-qty-plus:disabled,
.js-view-qty-plus:disabled {
	opacity: .45;
	cursor: not-allowed;
}


/* Customizable footer credit link */
.footer-bottom .shoppro-footer-credit { font-weight: 600; text-decoration: none; transition: opacity .2s ease; }
.footer-bottom .shoppro-footer-credit:hover { opacity: .78; text-decoration: underline; }

/* 3.7.26: Compact mobile product-view controls. Keeps the popup cleaner on phones. */
@media (max-width: 639px) {
  .sokbd-view-size-box {
    padding: 7px 9px;
    border-radius: 11px;
  }
  .sokbd-view-section-title {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .sokbd-view-size-list {
    gap: 6px;
  }
  .sokbd-view-size-list .size-btn {
    min-width: 48px;
    min-height: 34px;
    height: 34px;
    padding: 4px 9px;
    border-radius: 8px;
    font-size: 13px;
  }
  .sokbd-view-qty-row {
    margin-top: 8px;
    font-size: 13px;
  }
  .sokbd-view-qty-row .qty-box button {
    padding: 5px 10px;
    font-size: 15px;
  }
  .sokbd-view-qty-row .qty-box span {
    width: 32px;
  }
  .sokbd-view-actions {
    gap: 6px;
    margin-top: 10px;
  }
  .sokbd-view-actions .btn {
    min-height: 40px;
    height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .sokbd-view-actions .sokbd-details-toggle {
    min-height: 40px;
    height: 40px;
    padding: 7px 12px;
    border-radius: 11px;
    font-size: 14px;
  }

  /* Compact controls inside the embedded checkout as well. */
  .sokbd-view-checkout .btn,
  .sokbd-view-checkout button[type="submit"] {
    min-height: 40px;
    height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }
}


/* 3.7.27: Remove editor-generated whitespace above product size tables. */
.sokbd-description-content table,
.sokbd-description-content table:first-child {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.sokbd-description-content > br,
.sokbd-description-content > p:empty,
.sokbd-description-content > div:empty {
  display: none !important;
}


/* Customer Review: same in-popup slide as Product Details */
.sokbd-view-reviews-panel { z-index: 9; }
.sokbd-view-reviews-panel.open { transform: translateX(0); }
.sokbd-review-toggle { margin-top: 8px !important; }
.sokbd-customer-review-card { background:#fff; border:1px solid #e5e5e5; border-radius:14px; padding:16px; margin:0 0 12px; box-shadow:0 3px 12px rgba(0,0,0,.06); }
.sokbd-customer-review-stars { color:#f5b400; font-size:20px; line-height:1; margin-bottom:8px; letter-spacing:1px; }
.sokbd-customer-review-text { color:#333; font-size:16px; line-height:1.65; }
.sokbd-customer-review-name { margin-top:10px; color:#555; font-weight:600; font-size:14px; }
@media (max-width:600px){ .sokbd-customer-review-card{padding:14px;margin-bottom:10px}.sokbd-customer-review-text{font-size:15px}.sokbd-customer-review-stars{font-size:18px} }
/* Customer Review inside the Quick Order popup: same slide behavior as Product Details */
.sokbd-order-reviews-panel { z-index: 21; }
.sokbd-order-reviews-panel.open { transform: translateX(0); }
.sokbd-order-reviews-panel .sokbd-description-content { overflow:auto; -webkit-overflow-scrolling:touch; }

/* v3.7.76: Review buttons are fully clickable on touch devices.
   v3.7.85: The Details/Size toggle shares this same base class and had the
   exact same real-touch hit-testing problem (worked with a mouse / in
   DevTools device emulation, but a real finger tap on a phone could be
   intercepted by whatever the sliding panels leave in the stacking order)
   — it just never got the fix that .sokbd-review-toggle already had. */
.sokbd-details-toggle,
.sokbd-review-toggle { position:relative; z-index:3; pointer-events:auto; touch-action:manipulation; }
.sokbd-view-reviews-panel, .sokbd-order-reviews-panel { pointer-events:auto; }
.sokbd-view-reviews-panel.open, .sokbd-order-reviews-panel.open { transform:translateX(0); }


/* Customer Review: hard fallback for the same in-popup slide behavior. */
#sokbd-product-view-modal .sokbd-view-reviews-panel,
#sokbd-order-modal .sokbd-order-reviews-panel {
  position:absolute !important;
  inset:0 !important;
  background:#fff !important;
  display:flex !important;
  flex-direction:column !important;
  visibility:visible;
  pointer-events:auto !important;
  transition:transform .22s ease !important;
}
#sokbd-product-view-modal .sokbd-view-reviews-panel[hidden],
#sokbd-order-modal .sokbd-order-reviews-panel[hidden] { display:none !important; }


/* v3.7.77: Compact popup controls — smaller, cleaner mobile layout. */
@media (max-width: 639px) {
  /* Product image -> product view */
  .sokbd-product-view-body { padding: 8px 10px 12px; }
  .sokbd-view-price { padding: 7px 9px; margin-bottom: 7px; font-size: 19px; }
  .sokbd-view-size-box { padding: 6px 8px; border-radius: 10px; }
  .sokbd-view-section-title { font-size: 12px; margin-bottom: 5px; }
  .sokbd-view-size-list { gap: 5px; }
  .sokbd-view-size-list .size-btn {
    min-width: 44px; min-height: 31px; height: 31px;
    padding: 3px 8px; border-radius: 7px; font-size: 12px;
  }
  .sokbd-view-qty-row { margin-top: 6px; font-size: 12px; }
  .sokbd-view-qty-row .qty-box button { padding: 4px 8px; font-size: 14px; }
  .sokbd-view-qty-row .qty-box span { width: 28px; }
  .sokbd-view-actions { gap: 5px; margin-top: 7px; }
  .sokbd-view-actions .btn {
    min-height: 36px; height: 36px; padding: 6px 12px;
    font-size: 12px; border-radius: 999px;
  }
  .sokbd-view-actions .sokbd-details-toggle,
  .sokbd-view-actions .sokbd-review-toggle {
    min-height: 36px; height: 36px; padding: 5px 10px;
    border-radius: 9px; font-size: 12px;
  }
  .sokbd-view-actions .sokbd-details-toggle span { font-size: 22px; margin-right: 5px; }

  /* Product -> Order Now popup */
  #sokbd-order-modal .modal-head { padding: 9px 13px; }
  #sokbd-order-modal .modal-head p { font-size: 15px; }
  #sokbd-order-modal .steps { padding: 9px 13px; font-size: 12px; gap: 6px; }
  #sokbd-order-modal .modal-product { gap: 9px; padding: 9px 13px; }
  #sokbd-order-modal .modal-product img { width: 64px; height: 64px; }
  #sokbd-order-modal .modal-product .name { font-size: 12px; }
  #sokbd-order-modal .modal-product .p { font-size: 13px; }
  #sokbd-order-modal .modal-body[data-step="1"] { padding: 12px; }
  #sokbd-order-modal .modal-body[data-step="1"] > * + * { margin-top: 11px; }
  #sokbd-order-modal .modal-body[data-step="1"] .size-label {
    margin-bottom: 6px; font-size: 13px;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .size-list { gap: 6px; }
  #sokbd-order-modal .modal-body[data-step="1"] .size-btn {
    min-width: 46px; min-height: 34px; padding: 5px 9px;
    border-radius: 8px; font-size: 13px;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .qty-box { min-height: 38px; }
  #sokbd-order-modal .modal-body[data-step="1"] .qty-box button {
    padding: 5px 10px; font-size: 15px;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .qty-box span { width: 30px; }
  #sokbd-order-modal .modal-body[data-step="1"] .btn-block {
    min-height: 40px; height: 40px; padding: 7px 12px;
    font-size: 13px; border-radius: 999px;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .sokbd-details-toggle {
    min-height: 40px; height: 40px; margin-top: 0;
    padding: 6px 10px; border-radius: 10px; font-size: 13px;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .sokbd-details-toggle span {
    font-size: 22px; margin-right: 5px;
  }
}

/* v3.7.78: Final compact popup controls — reduce box dimensions only; keep labels/text readable. */
@media (max-width: 639px) {
  /* Product image -> Product View popup */
  #sokbd-product-view-modal .sokbd-view-size-box {
    padding: 5px 7px !important;
  }
  #sokbd-product-view-modal .sokbd-view-size-list {
    gap: 4px !important;
  }
  #sokbd-product-view-modal .sokbd-view-size-list .size-btn {
    min-width: 40px !important;
    width: 40px !important;
    min-height: 28px !important;
    height: 28px !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }
  #sokbd-product-view-modal .sokbd-view-qty-row {
    margin-top: 5px !important;
  }
  #sokbd-product-view-modal .sokbd-view-qty-row .qty-box {
    min-height: 30px !important;
    height: 30px !important;
  }
  #sokbd-product-view-modal .sokbd-view-qty-row .qty-box button {
    padding: 3px 7px !important;
    font-size: 14px !important;
  }
  #sokbd-product-view-modal .sokbd-view-qty-row .qty-box span {
    width: 26px !important;
  }
  #sokbd-product-view-modal .sokbd-view-actions {
    gap: 4px !important;
    margin-top: 6px !important;
  }
  #sokbd-product-view-modal .sokbd-view-actions .btn {
    min-height: 34px !important;
    height: 34px !important;
    padding: 5px 11px !important;
    box-sizing: border-box !important;
  }
  #sokbd-product-view-modal .sokbd-view-actions .sokbd-details-toggle,
  #sokbd-product-view-modal .sokbd-view-actions .sokbd-review-toggle {
    min-height: 32px !important;
    height: 32px !important;
    padding: 4px 9px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  /* Product image / Order Now -> Quick Order popup */
  #sokbd-order-modal .modal-body[data-step="1"] {
    padding: 10px !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] > * + * {
    margin-top: 8px !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .size-list {
    gap: 5px !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .size-btn {
    min-width: 40px !important;
    width: 40px !important;
    min-height: 30px !important;
    height: 30px !important;
    padding: 3px 7px !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .qty-box {
    min-height: 32px !important;
    height: 32px !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .qty-box button {
    padding: 3px 8px !important;
    font-size: 14px !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .qty-box span {
    width: 27px !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .btn-block {
    min-height: 36px !important;
    height: 36px !important;
    padding: 6px 11px !important;
    box-sizing: border-box !important;
  }
  #sokbd-order-modal .modal-body[data-step="1"] .sokbd-details-toggle {
    min-height: 32px !important;
    height: 32px !important;
    padding: 4px 9px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
}

/* v3.7.91: Product View size labels must never wrap inside a button. */
#sokbd-product-view-modal .sokbd-view-size-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}
#sokbd-product-view-modal .sokbd-view-size-list .size-btn {
  width: max-content !important;
  min-width: 48px !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 30px !important;
  padding: 4px 8px !important;
  line-height: 1.1 !important;
}
#sokbd-product-view-modal .sokbd-view-size-list .size-btn .size-stock-count {
  white-space: nowrap !important;
  display: inline !important;
}
