:root {
  --navy: #131f2e;
  --navy-2: #1d3049;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --amber: #ffd166;
  --amber-dark: #b45309;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1c2333;
  --muted: #64748b;
  --line: #e2e8f0;
  --danger: #dc2626;
  --success: #16a34a;
  --info: #2563eb;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1280px, 100% - 24px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid transparent; border-radius: 8px; padding: 10px 18px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: filter .15s, transform .05s; text-align: center; }
.btn:hover { text-decoration: none; filter: brightness(.94); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #0d9488, #0f766e); color: #fff; border-color: #115e59; box-shadow: var(--shadow); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-2); border-color: #cbd5e1; }
.btn-b2b { background: transparent; color: #5eead4; border-color: #2dd4bf66; }
.btn-b2b:hover { background: #14b8a622; filter: none; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { filter: brightness(.96); }
.btn-ghost { background: transparent; color: #fff; border-color: #ffffff55; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 7px; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.flash { margin: 12px 0; padding: 12px 16px; border-radius: 8px; font-weight: 500; }
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 100; }
.header-top-inner { display: flex; align-items: center; gap: 14px; padding: 10px 0; flex-wrap: wrap; }
.hamburger { display: inline-flex; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 4px 8px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark { background: var(--amber); color: var(--navy); font-weight: 800; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 20px; }
.logo-text { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: 1.5px; line-height: 1.05; display: flex; flex-direction: column; }
.logo-text small { font-size: 8.5px; letter-spacing: 3.2px; font-weight: 600; color: #5eead4; }
.logo-footer { margin-bottom: 10px; }
.f-contact-line { line-height: 1.9 !important; }
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-links a { color: #94a3b8; font-size: 12.5px; }
.legal-links a:hover { color: #5eead4; text-decoration: none; }
.wa-float { position: fixed; right: 18px; bottom: 74px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: var(--shadow); z-index: 90; text-decoration: none; }

.search-form { flex: 1 1 100%; order: 10; position: relative; display: flex; background: #fff; border-radius: 8px; overflow: visible; height: 42px; }
.search-form input { flex: 1; border: none; outline: none; padding: 0 14px; font-size: 15px; color: var(--text); min-width: 0; border-radius: 8px 0 0 8px; }
.search-form button { border: none; background: var(--amber); color: var(--navy); width: 52px; font-size: 17px; cursor: pointer; border-radius: 0 8px 8px 0; }
.search-suggest { position: absolute; top: 46px; left: 0; right: 0; background: #fff; color: var(--text); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-height: 380px; overflow-y: auto; z-index: 150; }
.suggest-item { display: flex; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.suggest-item:hover { background: #f1f5f9; }
.suggest-item img, .suggest-item .img-placeholder { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.suggest-name { font-size: 13.5px; color: var(--text); }
.suggest-meta { font-size: 12px; color: var(--muted); }
.suggest-empty { padding: 12px 14px; color: var(--muted); font-size: 13.5px; }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ha-item { display: none; color: #fff; padding: 6px 8px; border-radius: 6px; }
.ha-item:hover { outline: 1px solid #ffffff55; text-decoration: none; }
.ha-text small { display: block; color: #cbd5e1; font-size: 11px; line-height: 1.2; }
.ha-text strong { font-size: 13px; }
.cart-link { position: relative; color: #fff; padding: 6px 10px; border-radius: 6px; display: inline-flex; }
.cart-link:hover { outline: 1px solid #ffffff55; text-decoration: none; }
.cart-icon { font-size: 24px; }
.cart-count { position: absolute; top: -4px; right: -2px; background: var(--amber); color: var(--navy); font-size: 11.5px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; }

.header-nav { background: var(--navy-2); }
.nav-inner > ul.main-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a { display: block; color: #e2e8f0; padding: 9px 13px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.main-nav a:hover { text-decoration: none; outline: 1px solid #ffffff44; }
.main-nav .dropdown { display: none; position: absolute; left: 0; top: 100%; background: #fff; min-width: 230px; list-style: none; box-shadow: 0 12px 28px rgba(0,0,0,.18); z-index: 120; border-radius: 0 0 8px 8px; padding: 6px 0; }
.main-nav li:hover > .dropdown, .main-nav li:focus-within > .dropdown { display: block; }
.main-nav .dropdown .dropdown { left: 100%; top: -7px; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.main-nav li.has-sub > a::after { content: " \25BE"; font-size: 10px; opacity: .75; }
.main-nav .dropdown li.has-sub > a::after { content: " \25B8"; float: right; margin-left: 10px; opacity: .6; }
.dropdown a { color: var(--text) !important; padding: 9px 16px !important; }
.dropdown a:hover { background: #f1f5f9 !important; outline: none !important; }

.mobile-nav { background: var(--navy-2); padding: 10px 18px 16px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a { color: #e2e8f0; padding: 9px 4px; border-bottom: 1px solid #ffffff14; }
.mobile-nav a.mnav-sub { padding-left: 26px; font-size: 13px; color: #cbd5e1; }
.mobile-nav hr { border-color: #ffffff22; }

.hero-slider { margin-top: 14px; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero-slide img { width: 100%; border-radius: var(--radius); aspect-ratio: 1200 / 420; object-fit: cover; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 0 14px; gap: 10px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(18px, 3vw, 24px); color: var(--navy); }
.section-head .sub { color: var(--muted); font-size: 13.5px; }
.view-all { font-size: 13.5px; font-weight: 600; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.cat-tile { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 10px; text-align: center; transition: transform .15s; }
.cat-tile:hover { transform: translateY(-3px); text-decoration: none; }
.cat-tile .cat-img { width: 74px; height: 74px; margin: 0 auto 10px; border-radius: 50%; background: #eef2f7; display: grid; place-items: center; overflow: hidden; }
.cat-tile .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile strong { font-size: 13.5px; color: var(--text); }

.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.product-row::-webkit-scrollbar { height: 8px; }
.product-row::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 45vw), 1fr)); gap: 14px; }

.product-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16,24,40,.12); }
.card-img-wrap { display: block; aspect-ratio: 1; background: #f8fafc; position: relative; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.img-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #e2e8f0, #cbd5e1); font-size: 42px; font-weight: 800; color: #94a3b8; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.badge { font-size: 10.5px; font-weight: 700; letter-spacing: .4px; padding: 3px 8px; border-radius: 5px; width: fit-content; }
.badge.deal { background: var(--danger); color: #fff; }
.badge.new { background: var(--teal); color: #fff; }
.badge.best { background: #99f6e4; color: #134e4a; }
.badge.sale { background: #fee2e2; color: #991b1b; }
.badge.oos { background: #e2e8f0; color: #475569; }
.badge.rx { background: #9a3412; color: #fff; text-transform: uppercase; }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 5; background: #fff; border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; font-size: 17px; color: #94a3b8; cursor: pointer; box-shadow: var(--shadow); }
.wish-btn.active, .wish-btn:hover { color: var(--danger); border-color: var(--danger); }
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-brand { font-size: 11.5px; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.card-title { font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--text); }
.card-short { color: var(--muted); font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.rating-badge { background: var(--success); color: #fff; padding: 1.5px 7px; border-radius: 5px; font-weight: 600; }
.rating-badge i { font-style: normal; font-size: 11px; }
.review-count { color: var(--info); }
.stars .st { color: #d1d5db; font-style: normal; font-size: 14px; }
.stars .full { color: #f59e0b; }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: 17.5px; font-weight: 700; color: var(--navy); }
.mrp { color: var(--muted); text-decoration: line-through; font-size: 12.5px; }
.off { color: var(--success); font-weight: 600; font-size: 12.5px; }
.card-stock .oos { color: var(--danger); font-weight: 600; font-size: 12.5px; }
.card-stock .low-stock { color: var(--amber-dark); font-weight: 600; font-size: 12px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 4px; }

.breadcrumbs { font-size: 12.5px; color: var(--muted); padding: 12px 0; }
.breadcrumbs a { color: var(--teal); }

.pdp { display: grid; grid-template-columns: 1fr; gap: 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-top: 6px; }
.gallery-main { position: relative; aspect-ratio: 1; background: #f8fafc; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; mix-blend-mode: multiply; }
.gallery-main.zoomed img { transform: scale(1.9); cursor: zoom-out; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 62px; height: 62px; border: 2px solid transparent; border-radius: 8px; background: #f8fafc; cursor: pointer; padding: 4px; }
.thumbs button.active, .thumbs button:hover { border-color: var(--teal); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pdp-info h1 { font-size: clamp(19px, 2.6vw, 26px); line-height: 1.3; color: var(--navy); }
.pdp-brand { color: var(--teal); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.pdp-price .price { font-size: clamp(24px, 4vw, 32px); }
.tax-note { color: var(--muted); font-size: 12px; }
.stock-note { margin: 8px 0; font-weight: 600; font-size: 14px; }
.variations { margin: 14px 0; display: grid; gap: 10px; }
.variation-group label.vg-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.variation-group select { min-width: 220px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.qty-input { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty-input button { width: 36px; height: 40px; border: none; background: #f1f5f9; font-size: 18px; cursor: pointer; }
.qty-input input { width: 52px; text-align: center; border: none; outline: none; font-size: 15px; }
.buy-box { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; max-width: 420px; }
.pincode-box { border: 1px dashed var(--line); border-radius: 8px; padding: 12px; margin: 14px 0; background: #fafbfd; }
.pincode-box form { display: flex; gap: 8px; margin-top: 8px; }
.pincode-result { margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.highlights ul { margin: 6px 0 0 18px; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; color: var(--teal-dark); font-size: 13px; font-weight: 600; }

.tabs { margin-top: 26px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tab-list { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-list button { border: none; background: none; padding: 14px 20px; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab-list button.active { color: var(--teal); border-color: var(--teal); }
.tab-panel { display: none; padding: 20px; }
.tab-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { font-weight: 600; color: var(--muted); width: 200px; }

.review-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review-item:last-child { border-bottom: none; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.verified { background: #ecfdf5; color: #065f46; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.featured-review { background: #fffbeb; }
.admin-reply { background: #f1f5f9; border-left: 3px solid var(--teal); padding: 10px 14px; margin-top: 10px; border-radius: 0 8px 8px 0; font-size: 14px; }

.shop-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 10px; }
.filters-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; align-self: start; position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; display: none; }
.filters-open .filters-panel { display: block; }
.filter-group { margin-bottom: 18px; }
.filter-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 8px; }
.filter-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 90px; }
.shop-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.shop-toolbar select { padding: 8px 10px; }
.result-count { color: var(--muted); font-size: 13.5px; }
.filter-toggle { display: inline-block; }

.pagination { display: flex; gap: 6px; margin: 26px 0; flex-wrap: wrap; }
.pg { padding: 8px 13px; background: #fff; border: 1px solid var(--line); border-radius: 7px; color: var(--text); font-weight: 500; }
.pg.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pg.disabled { opacity: .5; pointer-events: none; }

.empty-state { text-align: center; padding: 60px 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin: 20px 0; }
.empty-state .es-icon { font-size: 52px; margin-bottom: 12px; }
.empty-state h3 { color: var(--navy); margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 18px; }

.auth-card { max-width: 430px; margin: 36px auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.auth-card h1 { font-size: 23px; color: var(--navy); margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.auth-alt { margin-top: 18px; font-size: 14px; color: var(--muted); }

.form-grid { display: grid; gap: 14px; }
.form-field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 5px; color: var(--navy-2); }
.req::after { content: " *"; color: var(--danger); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="date"], input[type="datetime-local"], select, textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 14.5px; background: #fff; color: var(--text); outline: none; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
textarea { resize: vertical; min-height: 90px; }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 4px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.checkbox-row input { width: auto; }

.cart-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 16px; }
.cart-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.cart-line { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: none; }
.cart-line-img { width: 86px; height: 86px; background: #f8fafc; border-radius: 8px; overflow: hidden; }
.cart-line-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-name { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.cart-line-var { color: var(--muted); font-size: 12.5px; margin: 2px 0; }
.cart-line-price { font-weight: 700; font-size: 16px; margin-top: 6px; }
.cart-line-mrp { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.cart-line-tools { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.link-danger { color: var(--danger); font-weight: 600; font-size: 13px; background: none; border: none; cursor: pointer; }
.summary-rows { display: grid; gap: 10px; font-size: 14.5px; }
.summary-rows .row { display: flex; justify-content: space-between; gap: 10px; }
.summary-rows .total { font-size: 18px; font-weight: 800; border-top: 1px dashed var(--line); padding-top: 10px; color: var(--success); }
.coupon-chip { display: inline-flex; gap: 8px; align-items: center; background: #ecfdf5; border: 1px dashed var(--success); color: #065f46; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; }

.checkout-steps { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.step-pill { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.step-pill.active { border-color: var(--teal); color: var(--teal); background: #f0fdfa; }
.address-cards { display: grid; gap: 12px; }
.address-card { border: 1.5px solid var(--line); border-radius: 8px; padding: 14px; position: relative; }
.address-card.selected { border-color: var(--teal); background: #f0fdfa; }
.address-card input[type=radio] { position: absolute; opacity: 0; }
.ac-name { font-weight: 700; } 
.ac-meta { color: var(--muted); font-size: 13px; }
.payment-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 8px; padding: 14px; cursor: pointer; }
.payment-opt.selected { border-color: var(--teal); background: #f0fdfa; }
.pay-logo { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.pay-logo.rzp { background: #0d2366; color: #3395ff; }
.pay-logo.cod { background: #fef3c7; color: #92400e; }

.order-success-card { max-width: 640px; margin: 40px auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; text-align: center; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: #ecfdf5; color: var(--success); font-size: 36px; display: grid; place-items: center; }
.order-number-big { font-size: 20px; font-weight: 800; color: var(--navy); margin: 8px 0; }

.account-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 16px; }
.side-nav { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; align-self: start; }
.side-nav a { display: flex; justify-content: space-between; padding: 13px 18px; color: var(--text); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); }
.side-nav a:last-child { border-bottom: none; }
.side-nav a.active, .side-nav a:hover { background: #f0fdfa; color: var(--teal); text-decoration: none; }
.notif-dot { background: var(--danger); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 8px; }

.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.data-table th { text-align: left; padding: 12px 14px; background: #f8fafc; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.status-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-success { background: #dcfce7; color: #166534; }
.status-warning { background: #fef9c3; color: #854d0e; }
.status-danger { background: #fee2e2; color: #991b1b; }
.status-info { background: #dbeafe; color: #1e40af; }

.timeline { list-style: none; position: relative; margin: 10px 0; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 8px 0; }
.tl-item::before { content: ""; position: absolute; left: -24px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.tl-item.done::before { background: var(--success); box-shadow: none; }
.tl-item.current::before { background: var(--teal); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(15,118,110,.4);} 50% { box-shadow: 0 0 0 6px rgba(15,118,110,.08);} }
.tl-status { font-weight: 700; font-size: 14px; }
.tl-date { font-size: 12px; color: var(--muted); }
.track-steps { display: flex; gap: 4px; margin: 18px 0 8px; }
.track-step { flex: 1; text-align: center; font-size: 11px; color: var(--muted); position: relative; }
.track-step .dot { width: 26px; height: 26px; border-radius: 50%; background: #e2e8f0; color: #94a3b8; display: grid; place-items: center; margin: 0 auto 6px; font-size: 13px; }
.track-step.done .dot { background: var(--success); color: #fff; }
.track-step.done { color: var(--success); font-weight: 600; }
.track-bar { height: 5px; background: #e2e8f0; border-radius: 3px; position: relative; margin: 0 12px; }
.track-bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--success); border-radius: 3px; transition: width .4s; }

.invoice-sheet { background: #fff; max-width: 860px; margin: 20px auto; padding: 36px; border-radius: 8px; box-shadow: var(--shadow); }
.inv-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--navy); padding-bottom: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.inv-title { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: 1px; }
@media print {
  .site-header, .site-footer, .no-print, .flash, #mobileNav { display: none !important; }
  body { background: #fff; }
  .invoice-sheet { box-shadow: none; margin: 0; padding: 0; max-width: none; }
}

.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid #ffffff88; border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading { pointer-events: none; opacity: .75; }
.toast-zone { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: 0 10px 26px rgba(0,0,0,.3); font-size: 14px; animation: toastIn .25s ease; }
.toast.err { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px);} }

.newsletter-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 30px; margin: 34px 0; display: grid; gap: 18px; text-align: center; }
.newsletter-band h3 { font-size: 22px; }
.nl-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; width: 100%; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 20px 0; }
.info-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.cms-page { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin: 18px 0; }
.cms-page h1 { color: var(--navy); margin-bottom: 14px; }
.cms-page p { margin-bottom: 12px; }
.maintenance-hero { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 30px; }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 36px 0 24px; color: #cbd5e1; }
.site-footer { background: var(--navy); color: #cbd5e1; margin-top: 50px; }
.f-col h4 { color: #fff; margin-bottom: 12px; font-size: 15.5px; }
.f-col a { display: block; color: #cbd5e1; padding: 4px 0; font-size: 13.5px; }
.f-col p { font-size: 13.5px; margin-bottom: 8px; }
.social-links { display: flex; gap: 10px; margin-top: 10px; }
.social-links a { display: inline-block; background: #ffffff14; padding: 6px 12px; border-radius: 6px; font-size: 12.5px; }
.footer-bottom { border-top: 1px solid #ffffff18; padding: 16px 0; }
.fb-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.pay-badges { display: flex; gap: 6px; }
.pay { background: #ffffff14; padding: 3px 10px; border-radius: 5px; font-size: 11.5px; font-weight: 600; }

.fw-widget + .fw-widget { margin-top: 16px; }
.fw-tagline { display: block; color: #5eead4; letter-spacing: 1.1px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; margin: 10px 0 8px; }
.fw-title { color: #fff; margin: 0 0 8px; font-size: 13.5px; font-weight: 600; }
.fw-text p { margin: 0 0 6px; }
.fw-contact a { display: inline-block; padding: 2px 0; }
.fw-contact span { display: block; padding: 2px 0; }
.fw-newsletter .fw-nl-sub { font-size: 13px; margin: 0 0 10px; opacity: .9; }
.fw-nl-form { margin: 0; max-width: 100%; flex-direction: column; align-items: stretch; }
.fw-nl-form input, .fw-nl-form button { box-sizing: border-box; }
.fw-certs { display: flex; flex-wrap: wrap; gap: 6px; }
.fw-cert { background: #ffffff14; padding: 3px 10px; border-radius: 5px; font-size: 11.5px; font-weight: 600; }
.fw-image img { max-width: 100%; height: auto; border-radius: 8px; }

@media (min-width: 640px) {
  .search-form { flex: 1 1 320px; order: 0; }
  .checkout-steps { justify-content: center; }
  .cart-layout { grid-template-columns: 2fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 2fr; }
  .newsletter-band { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .buy-box { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .ha-item { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
  .pdp { grid-template-columns: 460px 1fr; }
  .account-layout { grid-template-columns: 250px 1fr; }
  header .container.header-top-inner { flex-wrap: nowrap; }
  .search-form { flex-basis: 480px; }
}
@media (max-width: 899px) {
  .product-row { grid-auto-columns: minmax(158px, 44vw); }
}
.compare-btn { position: absolute; top: 50px; right: 10px; z-index: 5; background: #fff; border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; line-height: 32px; text-align: center; color: #64748b; box-shadow: var(--shadow); }
.compare-btn:hover { color: var(--primary, #0f766e); border-color: var(--primary, #0f766e); }

/* ============================================================
   MEDTRONEX COMPONENT LIBRARY
   ============================================================ */
.announce-bar { background: linear-gradient(90deg, #0f766e, #115e59); color: #d1fae5; text-align: center; font-size: 12.5px; letter-spacing: .4px; padding: 7px 12px; }

.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.eyebrow.light { color: #5eead4; }
.mtx-section { margin-top: 44px; }
.section-head.center { justify-content: center; text-align: center; margin-top: 0; }

/* Split hero */
.mtx-hero { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; padding: 34px 0 6px; }
.mtx-hero h1 { font-size: clamp(28px, 4.6vw, 46px); line-height: 1.12; color: var(--navy); letter-spacing: -.5px; }
.mtx-hero .lead { color: var(--muted); font-size: 15.5px; max-width: 540px; margin: 14px 0 20px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.mtx-hero-visual { position: relative; min-height: 300px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 120% at 85% 15%, #134e4a 0%, #0f766e 45%, #115e59 100%); display: grid; place-items: center; }
.hv-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; background: radial-gradient(circle at 30% 30%, #5eead4, transparent 70%); }
.hv-orb-1 { width: 260px; height: 260px; top: -80px; right: -60px; }
.hv-orb-2 { width: 200px; height: 200px; bottom: -70px; left: -50px; opacity: .35; }
.hv-core { text-align: center; color: #fff; z-index: 2; padding: 26px 34px; border: 1px solid #ffffff33; border-radius: 18px; background: #ffffff10; backdrop-filter: blur(3px); }
.hv-core span { font-size: 40px; display: block; margin-bottom: 6px; }
.hv-core strong { letter-spacing: 3px; font-size: 15px; display: block; }
.hv-core small { color: #99f6e4; font-size: 11.5px; letter-spacing: .6px; }
.hv-chip { position: absolute; background: #fff; color: var(--teal-dark); font-size: 12px; font-weight: 700; padding: 7px 13px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.22); z-index: 3; }
.hv-chip-1 { top: 16%; left: 8%; }
.hv-chip-2 { bottom: 22%; right: 9%; }
.hv-chip-3 { bottom: 9%; left: 14%; }

/* Trust strip */
.trust-strip-wrap { border-bottom: 1px solid var(--line); background: #fff; margin-top: 28px; }
.trust-strip { display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: center; padding: 14px 0; }
.ts-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--navy-2); letter-spacing: .3px; }
.ts-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 14px; }
.cap-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; transition: transform .15s, box-shadow .15s; }
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16,24,40,.1); }
.cap-ico { font-size: 24px; display: block; margin-bottom: 10px; }
.cap-card strong { font-size: 14px; color: var(--navy); display: block; margin-bottom: 5px; letter-spacing: .3px; text-transform: uppercase; }
.cap-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Manufacturing intro band */
.mtx-band { background: linear-gradient(120deg, #f0fdfa, #fff 55%); border-block: 1px solid #ccfbf1; padding: 44px 0; margin-top: 44px; }
.mfg-intro { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.mi-copy h2 { font-size: clamp(22px, 3vw, 30px); color: var(--navy); line-height: 1.2; max-width: 480px; }
.mi-copy p { color: var(--muted); font-size: 14.5px; max-width: 520px; margin: 12px 0 18px; }
.mi-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mi-tile { background: #fff; border: 1px solid #99f6e4; border-radius: 12px; padding: 22px 12px; text-align: center; font-size: 26px; box-shadow: var(--shadow); }
.mi-tile small { display: block; font-size: 12px; font-weight: 600; color: var(--teal-dark); margin-top: 6px; }
.mi-tile.t1 { transform: translateY(-6px); } .mi-tile.t4 { transform: translateY(6px); }

/* Private label band */
.pl-band { background: linear-gradient(120deg, var(--navy), #10263b); border-radius: 16px; color: #e2e8f0; padding: clamp(24px, 4vw, 48px); }
.pl-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; max-width: 520px; }
.pl-band p { color: #94a3b8; max-width: 540px; margin: 10px 0 14px; font-size: 14.5px; }
.tick-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.tick-list li::before { content: "\2713"; color: #2dd4bf; font-weight: 800; margin-right: 9px; }
.tick-list.compact { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.tick-list li { font-size: 14px; color: #cbd5e1; }

/* Quality band */
.quality-band { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); }
.quality-band h2 { font-size: clamp(22px, 3vw, 30px); color: var(--navy); }
.qb-head p { color: var(--muted); max-width: 620px; margin-top: 8px; font-size: 14.5px; }
.qb-body { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 22px; align-items: center; }
.qb-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-chip { background: #f0fdfa; border: 1px solid #99f6e4; color: var(--teal-dark); font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 9px 18px; border-radius: 999px; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.pillars-grid.narrow { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.pillar { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.pillar strong { display: block; font-size: 13.5px; color: var(--navy); margin-bottom: 4px; }
.pillar p { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.pl-ico { font-size: 20px; display: block; margin-bottom: 6px; }

/* Export band */
.export-band { background: radial-gradient(110% 160% at 90% 10%, #134e4a 0%, var(--navy) 65%); color: #fff; margin-top: 44px; padding: clamp(28px, 4vw, 52px) 0; }
.eb-inner { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; justify-items: start; }
.export-band h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.18; }
.export-band p { color: #94a3b8; max-width: 560px; margin-top: 10px; font-size: 14.5px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 14px; }
.why-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 18px; }
.wy-ico { font-size: 22px; display: block; margin-bottom: 9px; }
.why-card strong { display: block; font-size: 13.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--navy); margin-bottom: 5px; }
.why-card p { font-size: 13px; color: var(--muted); }

/* B2B CTA */
.b2b-cta-band { background: linear-gradient(120deg, #0f766e, #115e59); border-radius: 16px; color: #fff; text-align: center; padding: clamp(30px, 5vw, 56px); }
.b2b-cta-band h2 { font-size: clamp(23px, 3vw, 32px); }
.b2b-cta-band p { color: #ccfbf1; margin: 10px auto 20px; max-width: 520px; font-size: 14.5px; }

/* FAQ */
.faq-split { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.fq-left h2 { font-size: clamp(22px, 3vw, 30px); color: var(--navy); margin-bottom: 8px; }
.fq-list { display: grid; gap: 9px; }
.fq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 13px 17px; }
.fq-item summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--text); list-style-position: outside; }
.fq-item[open] summary { color: var(--teal-dark); }
.fq-item p { margin-top: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Page hero (company pages) */
.page-hero { background: radial-gradient(130% 130% at 80% 0%, #134e4a 0%, var(--navy) 70%); color: #fff; padding: clamp(38px, 6vw, 72px) 0; }
.page-hero .ph-label { color: #5eead4; font-size: 11.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(25px, 4vw, 40px); line-height: 1.15; max-width: 720px; }
.page-hero p { color: #a7c4d4; max-width: 640px; margin-top: 12px; font-size: 14.5px; }
.page-body { padding: 34px 0 8px; display: grid; gap: 30px; }
.mtx-h2 { font-size: clamp(20px, 2.6vw, 27px); color: var(--navy); }
.center-cta { text-align: center; padding: 8px 0 18px; }

/* Process flow */
.process-flow { list-style: none; counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 10px; }
.process-flow li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 9px; padding: 12px 16px 12px 48px; font-weight: 600; font-size: 14px; color: var(--navy-2); position: relative; }
.process-flow li::before { content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: #f0fdfa; border: 1.5px solid var(--teal); color: var(--teal-dark); font-size: 12.5px; font-weight: 800; display: grid; place-items: center; }

/* Mobile bottom nav */
.bottom-nav { display: none; }

@media (min-width: 900px) {
  .mtx-hero { grid-template-columns: 1.05fr .95fr; padding: 46px 0 10px; }
  .mtx-hero-visual { min-height: 380px; }
  .mfg-intro { grid-template-columns: 1.1fr .9fr; }
  .qb-body { grid-template-columns: auto 1fr; }
  .eb-inner { grid-template-columns: 1fr auto; justify-items: end; }
  .faq-split { grid-template-columns: 300px 1fr; }
  .bottom-nav { display: none !important; }
}
@media (max-width: 899px) {
  body { padding-bottom: 62px; }
  .toast-zone { bottom: 74px; }
  .wa-float { bottom: 76px; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: #fff; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -4px 14px rgba(16,24,40,.06); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 9px; font-size: 10.5px; font-weight: 600; color: #64748b; position: relative; }
  .bottom-nav a:hover { text-decoration: none; color: var(--teal); }
  .bottom-nav a span { font-size: 19px; line-height: 1; }
  .bn-count { position: absolute; top: 4px; right: calc(50% - 22px); background: var(--danger); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
}

/* ---- Collections hub tiles ---- */
.collection-tile{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid var(--line,#e2e8f0);border-radius:14px;background:#fff;text-decoration:none;color:inherit;transition:box-shadow .18s,transform .18s,border-color .18s}
.collection-tile:hover{border-color:var(--accent,#2dd4bf);box-shadow:0 10px 24px rgba(15,23,42,.08);transform:translateY(-2px)}
.collection-tile h3{margin:0;font-size:17px}
.collection-tile p{margin:0;font-size:13.5px;color:#64748b;line-height:1.55;flex:1}

/* ---- Amazon-style view-all bar under home product rows ---- */
.view-all-bar{display:block;text-align:center;margin:14px auto 0;max-width:420px;padding:11px 18px;border:1px solid var(--line,#e2e8f0);border-radius:10px;background:#fff;font-size:14px;font-weight:600;color:var(--teal-dark,#0f766e);text-decoration:none;transition:border-color .15s,box-shadow .15s}
.view-all-bar:hover{border-color:var(--accent,#2dd4bf);box-shadow:0 6px 18px rgba(15,23,42,.08)}
/* ---- Collection filter chips ---- */
.coll-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 20px}
.coll-chip{padding:8px 16px;border:1px solid var(--line,#e2e8f0);border-radius:999px;background:#fff;font-size:13.5px;font-weight:600;color:#334155;text-decoration:none;transition:all .15s}
.coll-chip:hover{border-color:var(--accent,#2dd4bf)}
.coll-chip.active{background:var(--accent,#2dd4bf);border-color:var(--accent,#2dd4bf);color:#042f2e}

/* ---- B2B enquiry band (icons + tiles) ---- */
.b2b-cta-band{position:relative;overflow:hidden}
.b2b-icon{width:64px;height:64px;margin:0 auto 14px;border-radius:18px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;font-size:30px}
.b2b-perks{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 22px}
.b2b-perk{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#ccfbf1;border-radius:999px;padding:7px 15px;font-size:13px;font-weight:600}
.b2b-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:26px}
.b2b-btn-light{background:#fff;color:#0f766e;border:none}
.b2b-btn-light:hover{background:#f0fdfa}
.b2b-btn-ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55)}
.b2b-btn-ghost:hover{background:rgba(255,255,255,.12)}
.b2b-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:760px;margin:0 auto;text-align:left}
.b2b-tile{display:flex;flex-direction:column;gap:3px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:13px 16px;text-decoration:none;color:#fff;transition:background .15s}
.b2b-tile:hover{background:rgba(255,255,255,.18)}
.b2b-tile small{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:#99f6e4}
.b2b-tile strong{font-size:13.5px;font-weight:600;word-break:break-word}
.bt-icon{font-size:19px;line-height:1;margin-bottom:4px}
@media(max-width:760px){.b2b-tiles{grid-template-columns:1fr}.b2b-actions .btn{width:100%}}

/* ---- Floating B2B Enquiry (wishlist ha-item style, homepage only) ---- */
.b2b-float{position:fixed;left:18px;bottom:84px;z-index:60;display:inline-flex;align-items:center;gap:10px;background:#0f172a;color:#fff;padding:10px 16px 10px 12px;border-radius:12px;border:1px solid #2dd4bf55;box-shadow:0 10px 26px rgba(2,6,23,.35);text-decoration:none;transition:transform .15s,border-color .15s}
.b2b-float:hover{transform:translateY(-2px);border-color:var(--accent,#2dd4bf);text-decoration:none;color:#fff}
.bf-icon{font-size:20px;background:#14b8a622;border-radius:9px;width:36px;height:36px;display:flex;align-items:center;justify-content:center}
.b2b-float .ha-text small{display:block;color:#99f6e4;font-size:10.5px;line-height:1.25;text-transform:uppercase;letter-spacing:.05em}
.b2b-float .ha-text strong{display:block;font-size:13.5px;color:#fff}
@media(max-width:760px){.b2b-float{left:12px;bottom:76px;padding:8px 12px 8px 9px}.bf-icon{width:30px;height:30px;font-size:17px}}

/* ---- Search bar fixes: inherit site font, clean placeholder, focus ring ---- */
.search-form input,
.search-form button { font-family: inherit; }
.search-form input { font-size: 14px; letter-spacing: .01em; }
.search-form input::placeholder { color: #94a3b8; font-size: 13.5px; font-weight: 400; opacity: 1; }
.search-form input:focus { box-shadow: inset 0 0 0 2px var(--accent, #2dd4bf); border-radius: 8px 0 0 8px; }
.search-form button:hover { filter: brightness(.96); }
@media(max-width:640px){ .search-form input::placeholder { font-size: 12.5px; } }

/* ---- Search icon click: nudge/focus instead of navigating when empty ---- */
@keyframes searchNudge { 0% { box-shadow: inset 0 0 0 2px #2dd4bf; } 50% { box-shadow: inset 0 0 0 3px #14b8a6; background: #f0fdfa; } 100% { box-shadow: inset 0 0 0 2px #2dd4bf; } }
.search-form input.search-nudge { animation: searchNudge .6s ease; caret-color: #0f766e; }


/* ==================================================================
   MEDTRONEX SHOP — REBUILT (sidebar · drawers · grid · states)
   ================================================================== */
.sh-container { width: min(1280px, 100% - 24px); margin-inline: auto; }
@media (min-width: 1600px) { #shopPage.sh-container { width: min(1440px, 100% - 32px); } }

.sh-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); padding: 14px 0 2px; min-width: 0; }
.sh-crumb a { color: var(--teal); white-space: nowrap; }
.crumb-sep { opacity: .5; user-select: none; }

/* ---- Shop hero ---- */
.sh-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 8px 0 14px; border-bottom: 1px solid var(--line); }
.sh-title { font-size: clamp(24px, 2.4vw + 12px, 37px); line-height: 1.14; color: var(--navy); letter-spacing: -.4px; margin: 2px 0 8px; overflow-wrap: anywhere; }
.sh-hero-desc { color: var(--muted); font-size: 14px; max-width: 660px; }
.sh-hero-meta { flex: none; padding-bottom: 2px; }
.sh-total-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 9px 18px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.sh-total-pill b { color: var(--navy); font-size: 15.5px; }

/* ---- Mobile / tablet action bar ---- */
.sh-mobbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 6px; }
.sh-mobbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--navy-2); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sh-mobbtn svg { flex: none; }
.sh-mobbtn > span:not(.sh-mobbadge) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 110px; }
.sh-mobbadge { background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 5px; flex: none; }

/* ---- Active filter chips ---- */
.sh-chipsbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; min-width: 0; }
.sh-chips-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sh-chip { display: inline-flex; align-items: center; gap: 4px; background: #eefbf7; border: 1px solid #cdeee6; color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 4px 6px 4px 11px; border-radius: 999px; max-width: 100%; }
.sh-chip > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-chip-x { background: none; border: none; font-size: 15px; line-height: 1; color: var(--muted); padding: 1px 5px; border-radius: 50%; cursor: pointer; flex: none; }
.sh-chip-x:hover { background: #fee2e2; color: #991b1b; }
.sh-chip-clear { background: none; border: none; color: var(--teal); font-size: 12.5px; font-weight: 700; letter-spacing: .3px; cursor: pointer; margin-left: 2px; padding: 4px 6px; }
.sh-chip-clear:hover { text-decoration: underline; }

/* ---- Layout shell ---- */
.sh-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 12px; }
.sh-main { min-width: 0; }

/* ---- Sidebar / drawer ---- */
.sh-side { position: fixed; z-index: 230; top: 0; left: 0; bottom: 0; width: min(345px, 91vw); background: #fff; display: flex; flex-direction: column; transform: translateX(-105%); visibility: hidden; transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility 0s .28s; }
.filters-open .sh-side { transform: translateX(0); visibility: visible; transition: transform .28s cubic-bezier(.4, 0, .2, 1); box-shadow: 0 0 60px rgba(2, 20, 18,.35); }
.sh-backdrop { position: fixed; inset: 0; z-index: 220; background: rgba(8, 22, 20,.52); opacity: 0; pointer-events: none; transition: opacity .25s ease; border: none; }
.filters-open .sh-backdrop { opacity: 1; pointer-events: auto; }

.sh-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--navy); letter-spacing: .4px; }
.sh-drawer-head .sh-head-clear { background: none; border: none; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .4px; cursor: pointer; padding: 4px 6px; margin-left: auto; }
.sh-drawer-close { background: #f1f5f4; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--navy); cursor: pointer; flex: none; }
.sh-drawer-foot { display: flex; gap: 10px; align-items: stretch; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.sh-drawer-foot .btn-block { flex: 1 1 auto; width: auto; min-width: 0; }
.sh-foot-clear { flex: none; padding: 10px 16px; border-radius: 12px; border: 1.5px solid #dfe7e4; background: #fff; font-family: inherit; font-size: 13.5px; font-weight: 600; color: #64748b; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.sh-foot-clear:hover { border-color: #efc7c4; color: #b3413a; background: #fdf6f5; }
.sh-side-scroll { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; flex: 1 1 auto; min-height: 0; }

.sh-side-head { display: none; align-items: center; gap: 8px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.sh-side-title { font-size: 12.5px; font-weight: 800; letter-spacing: .9px; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.sh-side-count { background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.sh-side-clear { margin-left: auto; background: none; border: none; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .5px; cursor: pointer; padding: 4px 6px; }
.sh-side-clear:hover { text-decoration: underline; }
.sh-side-clear:disabled { opacity: .4; cursor: default; text-decoration: none; }

/* ---- Filter accordions ---- */
.sh-group { border-bottom: 1px solid var(--line); }
.sh-group:last-of-type { border-bottom: none; }
.sh-group-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: none; border: none; padding: 13px 16px; font-family: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.sh-chev { transition: transform .2s ease; color: var(--muted); flex: none; }
.sh-group.open .sh-chev { transform: rotate(180deg); }
.sh-group-body { display: none; padding: 2px 12px 14px; }
.sh-group.open .sh-group-body { display: block; }

.sh-opt { position: relative; display: flex; align-items: center; gap: 9px; padding: 7px 8px; margin: 0 -4px; border-radius: 8px; font-size: 13.5px; line-height: 1.35; color: var(--text); cursor: pointer; }
.sh-opt:hover { background: #f5faf9; }
.sh-check { position: absolute; top: 50%; left: 8px; transform: translateY(-50%); width: 17px; height: 17px; margin: 0; opacity: 0; cursor: pointer; }
.sh-box { flex: none; width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #c7d5d0; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.sh-box svg { width: 11px; height: 9px; opacity: 0; transform: scale(.4); transition: opacity .16s ease, transform .18s cubic-bezier(.2,1.4,.4,1); }
.sh-opt:hover .sh-box { border-color: var(--teal); }
.sh-check:checked + .sh-box { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border-color: transparent; box-shadow: 0 1px 3px rgba(15,118,110,.3); }
.sh-check:checked + .sh-box svg { opacity: 1; transform: scale(1); }
.sh-check:focus-visible + .sh-box { box-shadow: 0 0 0 3px rgba(15,118,110,.2); }
.sh-opt-label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.sh-opt.on, .sh-opt.on .sh-opt-label { color: var(--teal-dark); font-weight: 600; }
.sh-opt-count { flex: none; font-size: 11px; color: var(--muted); background: #f1f5f4; border-radius: 999px; padding: 1px 7px; }
.sh-parent { font-weight: 600; }
.sh-sub { padding-left: 24px; }
.sh-sub .sh-opt-label { color: #456; }
.sh-stars { color: #f59e0b; letter-spacing: 2px; font-weight: 400; }

.sh-search { padding: 2px 4px 6px; }
.sh-search input { width: 100%; padding: 8px 11px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit; }
.sh-more { background: none; border: none; color: var(--teal); font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 6px 8px 2px; }
.hidden { display: none !important; }

.sh-price-inputs { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.sh-price-inputs input { width: 100%; min-width: 0; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit; appearance: textfield; -moz-appearance: textfield; }
.sh-price-inputs input::-webkit-outer-spin-button, .sh-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sh-dash { color: var(--muted); flex: none; }
.sh-slider-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; min-width: 0; }
.sh-slider { flex: 1 1 auto; min-width: 0; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--teal) 0%, var(--amber) var(--fill, 100%), #e2ebe8 var(--fill, 100%)); cursor: pointer; }
.sh-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); box-shadow: 0 1px 5px rgba(15,60,55,.28); transition: transform .15s ease, box-shadow .15s ease; }
.sh-slider::-webkit-slider-thumb:hover { transform: scale(1.12); box-shadow: 0 2px 8px rgba(15,60,55,.32); }
.sh-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); box-shadow: 0 1px 5px rgba(15,60,55,.28); cursor: grab; }
.sh-slider:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.sh-slider-val { flex: none; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sh-slider-val b { color: var(--navy); }

/* ---- Toolbar ---- */
.sh-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px 14px; margin-bottom: 14px; }
.sh-resultcount { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.sh-sortbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sh-sortbox select { -webkit-appearance: none; appearance: none; width: auto; min-width: 190px; max-width: 62vw; padding: 9px 36px 9px 13px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--navy); background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475669' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 11px; border: 1.5px solid #dfe7e4; border-radius: 10px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.sh-sortbox select:hover { border-color: var(--teal); }
.sh-sortbox select:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }

/* ---- Error state ---- */
.sh-error { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.sh-error[hidden] { display: none; }
.sh-error-retry { background: #fff; border: 1.5px solid #fca5a5; color: #b91c1c; border-radius: 8px; padding: 6px 16px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

/* ---- Product grid: 2 → 3 → 4 → 5 columns ---- */
.sh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 480px) { .sh-grid { gap: 14px; } }
@media (min-width: 768px)  { .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1279px) { .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1600px) { .sh-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 600px) { .rp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .rp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1600px) { .rp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.sh-grid .product-card { height: 100%; }
.sh-grid .card-title { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .sh-grid .card-short { display: none; }
  .sh-grid .compare-btn { display: none; }
  .sh-grid .card-body { padding: 10px; gap: 5px; }
  .sh-grid .card-title { font-size: 14px; }
  .sh-grid .price { font-size: 15.5px; }
  .sh-grid .wish-btn { width: 30px; height: 30px; top: 8px; right: 8px; font-size: 15px; }
}
@media (min-width: 768px) {
  .sh-grid .card-actions { grid-template-columns: 1fr 1fr; }
}

/* ---- Skeleton loading ---- */
.sk { background: linear-gradient(100deg, #edf1f5 40%, #f8fafc 50%, #edf1f5 60%); background-size: 200% 100%; animation: skShimmer 1.15s linear infinite; border-radius: 6px; }
@keyframes skShimmer { to { background-position: -200% 0; } }
.sh-skel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: grid; gap: 8px; align-content: start; }
.sk-img { aspect-ratio: 1; border-radius: 8px; }
.sk-line { height: 11px; }
.sk-line.w70 { width: 70%; } .sk-line.w55 { width: 55%; } .sk-line.w45 { width: 45%; }
.sk-btn { height: 34px; border-radius: 8px; margin-top: 4px; }

/* ---- Empty state ---- */
.sh-empty { text-align: center; background: #fff; border: 1.5px dashed var(--line); border-radius: 14px; padding: clamp(32px, 6vw, 54px) 20px; margin: 6px 0; }
.sh-empty-icon { font-size: 38px; margin-bottom: 10px; }
.sh-empty h3 { color: var(--navy); font-size: 19px; margin-bottom: 4px; }
.sh-empty p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.sh-empty-actions { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---- Pagination ---- */
.sh-pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 24px 0 8px; }
.sh-pg { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 38px; height: 38px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--navy-2); font-size: 13.5px; font-weight: 600; }
a.sh-pg:hover { border-color: var(--teal); color: var(--teal-dark); text-decoration: none; }
.sh-pg.is-active { background: var(--navy); border-color: var(--navy); color: #fff; pointer-events: none; }
.sh-pg.is-disabled { opacity: .45; pointer-events: none; }
@media (min-width: 481px) { .sh-pg span { display: none; } }

/* ---- Sort bottom sheet (mobile/tablet) ---- */
.sh-sheet { position: fixed; inset: 0; z-index: 240; visibility: hidden; transition: visibility 0s .28s; }
.sh-sheet.show { visibility: visible; transition: none; background: rgba(8, 22, 20,.45); }
.sh-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .28s cubic-bezier(.4, 0, .2, 1); max-height: 74dvh; display: flex; flex-direction: column; }
.sh-sheet.show .sh-sheet-panel { transform: translateY(0); }
.sh-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--navy); }
.sh-sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px calc(18px + env(safe-area-inset-bottom)); }
.sh-sheet-opt { display: flex; align-items: center; gap: 11px; padding: 13px 2px; border-bottom: 1px solid #f1f5f4; font-size: 14.5px; cursor: pointer; }
.sh-sheet-opt:last-child { border-bottom: none; }
.sh-sheet-opt input { accent-color: var(--teal); width: 17px; height: 17px; flex: none; }

/* ---- Accessibility helpers ---- */
.sh-mobbtn:focus-visible, .sh-pg:focus-visible, .sh-drawer-close:focus-visible, .sh-group-head:focus-visible,
.sh-chip-x:focus-visible, .sh-chip-clear:focus-visible, .sh-side-clear:focus-visible, .apply-btn:focus-visible,
.sh-error-retry:focus-visible, .sh-more:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ================= DESKTOP (≥1024px): static sticky sidebar ================= */
@media (min-width: 1024px) {
  .sh-layout { grid-template-columns: 264px minmax(0, 1fr); gap: 22px; }
  .sh-mobbar { display: none; }
  .sh-sheet { display: none !important; }
  .sh-side {
    position: sticky; top: 128px; left: auto; bottom: auto;
    width: auto; max-height: calc(100dvh - 152px);
    border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    transform: none; visibility: visible; transition: none; overflow: hidden; z-index: auto;
  }
  .filters-open .sh-side { box-shadow: var(--shadow); }
  .sh-drawer-head, .sh-drawer-foot { display: none; }
  .sh-side-head { display: flex; }
  .sh-side-scroll { padding-bottom: 8px; }
}
@media (min-width: 1024px) and (max-height: 620px) {
  .sh-side { position: static; max-height: none; }
}

/* Short screens: never let the drawer content hide behind foot */
@media (max-width: 1023px) and (max-height: 480px) {
  .sh-side-scroll { max-height: calc(100dvh - 170px); }
}

@media (prefers-reduced-motion: reduce) {
  .sh-side, .sh-backdrop, .sh-sheet-panel, .sh-chev { transition: none !important; }
  .sk { animation: none; }
}

/* ============================================================
   RESPONSIVE RECTIFICATION — site-wide
   ============================================================ */

/* ---- Touch targets: minimum 44px on small screens ---- */
@media (max-width: 899px) {
  .btn, button, a.ha-item, .bottom-nav a, .tab-list button,
  .sh-mobbtn, .sh-chip-x, .sh-pg, .step-pill { min-height: 44px; }
}

/* ---- Global containment: prevent user/ CMS content overflow ---- */
.cms-page img, .cms-page iframe, .page-body img, .page-body iframe { max-width: 100%; height: auto; }
.cms-page table, .page-body table { display: block; overflow-x: auto; max-width: 100%; }
.cms-page pre { overflow-x: auto; max-width: 100%; }

/* ---- Footer accordion (mobile) ---- */
.fcol-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.fcol-head::after { content: "\25BC"; font-size: 10px; color: #94a3b8; transition: transform .2s ease; flex-shrink: 0; }
@media (min-width: 900px) {
  .fcol-head { cursor: default; }
  .fcol-head::after { display: none; }
}
@media (max-width: 899px) {
  .f-col { border-bottom: 1px solid #ffffff14; }
  .f-col:last-child { border-bottom: none; }
  .f-col .fcol-body { display: none; padding-top: 4px; }
  .f-col.fopen .fcol-body { display: block; }
  .f-col.fopen .fcol-head::after { transform: rotate(180deg); }
  .fcol-head { cursor: pointer; padding: 14px 0; font-size: 15px; }
  .footer-grid { padding: 8px 0 24px; gap: 0; }
}

/* ---- Account nav: horizontal chip bar on mobile ---- */
@media (max-width: 899px) {
  .side-nav { display: flex; overflow-x: auto; gap: 0; border-radius: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav > div:first-child { display: none; }
  .side-nav a { white-space: nowrap; padding: 11px 16px; font-size: 13px; border-bottom: none; border-right: 1px solid var(--line); flex-shrink: 0; }
  .side-nav a:last-child { border-right: none; }
}

/* ---- Data table → mobile cards ---- */
@media (max-width: 640px) {
  .table-wrap { border-radius: 10px; }
  table.data-table { min-width: 0; font-size: 13px; }
  .data-table thead { display: none; }
  .data-table tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
  .data-table td { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #f1f5f4; gap: 8px; }
  .data-table td:last-child { border-bottom: none; }
  .data-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 12px; white-space: nowrap; flex-shrink: 0; }
}

/* ---- Product page sticky buy bar (mobile) ---- */
.pdp-buybar { display: none; }
@media (max-width: 899px) {
  .pdp-buybar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 62px; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(16,24,40,.1);
  }
  .pdp-buybar .btn { flex: 1; font-size: 14px; min-height: 44px; }
  body.pdp-page { padding-bottom: 130px; }
}
@media (min-width: 900px) {
  .pdp-buybar { display: none !important; }
}

/* ---- PDP spec table: card-style on mobile ---- */
@media (max-width: 480px) {
  .spec-table td:first-child { width: auto; min-width: 0; color: var(--text); }
  .spec-table { font-size: 13px; }
  .spec-table td { padding: 8px 0; display: block; width: 100%; }
  .spec-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; display: block; }
  .spec-table td:first-child { font-weight: 700; color: var(--muted); margin-bottom: 2px; }
  .spec-table td:last-child { border-bottom: none; }
}

/* ---- PDP thumbnails: horizontal scroll on mobile ---- */
@media (max-width: 480px) {
  .thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .thumbs::-webkit-scrollbar { display: none; }
}

/* ---- Order details bottom grid ---- */
@media (max-width: 899px) {
  .od-bottom { grid-template-columns: 1fr !important; }
}

/* ---- B2B form grids ---- */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 640px) {
  .row-2, .row-3 { grid-template-columns: 1fr; }
}

/* ---- Compare table polish ---- */
@media (max-width: 640px) {
  .panel[style*="min-width:720px"],
  table.panel[style*="min-width:720px"] { min-width: 560px !important; font-size: 13px; }
}

/* ---- Announce bar: hide overflow text on very small screens ---- */
@media (max-width: 420px) {
  .announce-bar { font-size: 11px; padding: 6px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---- Hero section: tighter padding on mobile ---- */
@media (max-width: 640px) {
  .mtx-hero { padding: 20px 0 6px; gap: 18px; }
  .mtx-hero-visual { min-height: 220px; }
  .hv-chip { display: none; }
}

/* ---- Company page sections: tighter spacing on mobile ---- */
@media (max-width: 640px) {
  .mtx-section { margin-top: 28px; }
  .pl-band, .quality-band, .b2b-cta-band { padding: clamp(18px, 4vw, 32px); }
  .page-hero { padding: clamp(24px, 5vw, 44px) 0; }
}

/* ---- Auth card: responsive padding ---- */
@media (max-width: 480px) {
  .auth-card { margin: 20px 12px; padding: 22px 18px; }
}

/* ---- Cart line: compact on mobile ---- */
@media (max-width: 480px) {
  .cart-line { grid-template-columns: 64px 1fr; gap: 10px; padding: 10px 0; }
  .cart-line-img { width: 64px; height: 64px; }
  .cart-line-name { font-size: 13.5px; }
  .cart-line-price { font-size: 14.5px; }
  .cart-line-tools { gap: 10px; }
}

/* ---- Checkout steps: full-width pills on mobile ---- */
@media (max-width: 480px) {
  .step-pill { flex: 1; text-align: center; font-size: 12px; padding: 6px 10px; }
}

/* ---- Newsletter: stack on mobile ---- */
@media (max-width: 640px) {
  .newsletter-band { padding: 22px 16px; text-align: center; }
  .nl-form { flex-direction: column; max-width: 100%; }
  .nl-form input { width: 100%; }
}

/* ---- Contact grid: already 1fr → 2fr ≥640, tighten on mobile ---- */
@media (max-width: 480px) {
  .contact-grid { gap: 14px; margin: 12px 0; }
}

/* ---- Homepage: hero search + meta + business solutions cards (MEDTRONEX B2B) ---- */
.mtx-hero .hero-search { display: flex; gap: 8px; max-width: 560px; margin: 6px 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.mtx-hero .hero-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; padding: 7px 10px; color: var(--text); }
.mtx-hero .hero-search button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--navy); color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.mtx-hero .hero-search button:hover { background: var(--navy-2); }
.mtx-hero .hero-search .hs-icon { font-size: 14px; }
.hero-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--muted); }
.cap-card.bs-card { display: flex; flex-direction: column; text-decoration: none; }
.cap-card.bs-card:hover { text-decoration: none; }
.bs-go { margin-top: auto; padding-top: 8px; color: var(--teal-dark); font-weight: 700; font-size: 13px; }
.eb-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Home page product sections: adaptive grid (2 phones / 4 tablet / 6 desktop) ---- */
.home-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
@media (min-width: 520px) {
  .home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 768px) {
  .home-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1120px) {
  .home-product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
}

/* MEDTRONEX accessibility refinement: calm, light-weight contrast */
.page-hero{
  background:linear-gradient(135deg,#16354a 0%,#1d5360 55%,#285f69 100%) !important;
  color:#f7fbfc !important;
}
.page-hero .ph-label{color:#bfe8e4 !important;font-weight:600 !important;}
.page-hero h1{color:#ffffff !important;font-weight:700 !important;text-shadow:0 1px 2px rgba(0,0,0,.16);}
.page-hero p{color:#e3eef2 !important;font-weight:400 !important;}
.hero-slide{position:relative;}
.hero-slide::after{content:"";position:absolute;inset:0;border-radius:var(--radius);background:linear-gradient(90deg,rgba(7,24,38,.68) 0%,rgba(7,24,38,.28) 48%,rgba(7,24,38,.04) 100%);pointer-events:none;}
.hero-slide > *{position:relative;z-index:1;}
