/* Speedy Trade theme ---------------------------------------------------------
   Follows the Speedy Products Ltd Marketing Guidelines 2025: Gotham (Speedy's
   own licensed webfonts), core colours black / white / Speedy blue #196EFF /
   Speedy grey #808080 / dark grey #333333. Bootstrap 3 supplies the grid only. */
@font-face { font-family: "Gotham"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/Gotham-Book.otf") format("opentype"); }
@font-face { font-family: "Gotham"; font-weight: 400; font-style: italic; font-display: swap; src: url("../assets/fonts/Gotham-Book-Italic.otf") format("opentype"); }
@font-face { font-family: "Gotham"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/Gotham-Medium.otf") format("opentype"); }
@font-face { font-family: "Gotham"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/Gotham-Bold.ttf") format("truetype"); }
@font-face { font-family: "Gotham"; font-weight: 700; font-style: italic; font-display: swap; src: url("../assets/fonts/Gotham-Bold-Italic.otf") format("opentype"); }
:root {
  /* brand guide core colours */
  --black: #000000; --white: #ffffff; --blue: #196eff; --grey: #808080; --dark-grey: #333333;
  --navy: #000000; --navy-2: #333333; --ink: #333333; --ink-2: #808080; --line: #e3e3e3;
  --bg: #f5f5f5; --card: #ffffff; --brand: #196eff; --cta: #196eff; --cta-2: #0f5ad8;
  --ok: #1f8f4e; --warn: #d98c00; --bad: #c93131; --radius: 12px; --shadow: 0 1px 2px rgba(15,36,64,.06), 0 8px 24px -12px rgba(15,36,64,.18);
}
html { font-size: 15px; }
/* the layout follows the screen: fluid up to 1440px, not Bootstrap's fixed 1170px */
.container { width: auto; max-width: 1440px; padding-left: 24px; padding-right: 24px; }
@media (min-width: 1600px) { html { font-size: 16px; } }
.vat-note, .poa { font-size: .72rem; font-weight: 400; color: var(--ink-2); margin-left: 5px; } .poa { font-weight: 500; color: var(--blue); }
body { font-family: Gotham, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .brand-font { font-family: Gotham, "Helvetica Neue", Arial, sans-serif; font-weight: 700; color: var(--black); letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: 2rem; } h2 { font-size: 1.55rem; } h3 { font-size: 1.15rem; } h4 { font-size: 1rem; }
a { color: var(--brand); } a:hover, a:focus { color: var(--navy); text-decoration: none; }
img { max-width: 100%; height: auto; }
.section { padding: 40px 0; } .section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; } .section-link { font-weight: 600; white-space: nowrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--cta); margin: 0 0 8px; }
.lead { font-size: 1.1rem; color: var(--ink-2); }
.prose p { margin: 0 0 1em; } .prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose .container-fluid, .prose .container { padding-left: 0; padding-right: 0; width: auto; }
.text-muted { color: var(--ink-2); }

/* buttons */
.btn { font-family: Gotham, sans-serif; font-weight: 500; border-radius: 999px; padding: 9px 18px; border: 1.5px solid transparent; transition: background .15s, color .15s, transform .15s; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }
.btn-primary { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--cta-2); border-color: var(--cta-2); color: #fff; }
.btn-outline { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover, .btn-outline:focus { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; } .btn-light:hover { background: var(--bg); }
.btn-default, .button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button { background: var(--navy); color: #fff; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 600; padding: 9px 18px; }
.btn-default:hover, .button:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--navy-2); color: #fff; }
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #payment #place_order { background: var(--cta); border-color: var(--cta); color: #fff; }
.woocommerce button.button.alt:hover, .woocommerce #payment #place_order:hover { background: var(--cta-2); }
.form-control, .woocommerce .input-text, .woocommerce select, .woocommerce textarea { border: 1.5px solid var(--line); border-radius: 10px; box-shadow: none; height: 42px; padding: 8px 12px; font-size: .95rem; }
.form-control:focus, .woocommerce .input-text:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(44,90,160,.15); }
.woocommerce textarea.input-text { height: auto; }

/* header ------------------------------------------------------------------ */
.topbar { background: var(--black); color: #d9d9d9; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.topbar a { color: #fff; margin-right: 18px; } .topbar a:last-child { margin-right: 0; } .topbar i { margin-right: 5px; color: var(--cta); }
.topbar i { color: var(--blue); }
.topbar-right { display: flex; align-items: center; gap: 18px; } .topbar-right a { margin: 0; }
.mainbar { background: #fff; border-bottom: 1px solid var(--line); }
.mainbar-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand img { display: block; width: 180px; height: auto; }
.site-search { flex: 1; position: relative; max-width: 620px; margin: 0 auto; }
.site-search-input { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 52px 0 20px; font-size: .95rem; background: var(--bg); }
.site-search-input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(44,90,160,.15); }
.site-search-btn { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; }
.site-search-btn:hover { background: var(--cta-2); }
.search-suggest { position: absolute; z-index: 60; top: 52px; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.search-suggest[hidden] { display: none; }
.search-suggest h5 { margin: 0; padding: 10px 14px 4px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 14px; color: var(--ink); }
.search-suggest a:hover, .search-suggest a.is-hover { background: var(--bg); }
.search-suggest img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.search-suggest .s-name { flex: 1; font-size: .9rem; } .search-suggest .s-sku { color: var(--ink-2); font-size: .78rem; margin-left: 6px; } .search-suggest .s-price { font-weight: 600; }
.search-suggest .s-more { justify-content: center; background: var(--bg); font-weight: 600; color: var(--brand); }
.search-suggest .s-suggest { padding: 10px 14px; font-size: .9rem; }
.mainbar-actions { display: flex; gap: 8px; }
.action-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 6px 8px; border-radius: 10px; color: var(--ink); font-size: .72rem; font-weight: 600; position: relative; }
.action-btn i { font-size: 1.3rem; margin-bottom: 3px; color: var(--grey); } .action-btn:hover { background: var(--bg); color: var(--ink); }
.spl-basket-count { position: absolute; top: 2px; right: 8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--cta); color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }
.spl-basket-count.is-empty { display: none; }
.nav-burger { border: 0; background: none; font-size: 1.4rem; color: var(--navy); padding: 6px 10px; }

.catnav { background: #fff; border-bottom: 1px solid var(--line); }
.catnav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.catnav .container { position: relative; } .catnav-item { position: static; } /* panels anchor to the nav width and are kept on screen by theme.js */
.catnav-link { display: block; background: none; border: 0; padding: 14px 14px; font-weight: 600; color: var(--ink); font-size: .93rem; border-bottom: 3px solid transparent; }
.catnav-link i { font-size: .65rem; margin-left: 4px; color: var(--ink-2); }
.catnav-item:hover > .catnav-link, .catnav-item.is-open > .catnav-link { color: var(--cta); border-bottom-color: var(--cta); }
.catnav-extra { margin-left: auto; } .catnav-extra + .catnav-extra { margin-left: 0; } .catnav-extra .catnav-link { color: var(--brand); font-weight: 500; }
.catnav-panel { display: none; position: absolute; left: 0; top: 100%; z-index: 50; min-width: min(560px, 100%); max-width: 100%; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 22px 26px; }
.catnav-item:hover > .catnav-panel, .catnav-item.is-open > .catnav-panel { display: block; }
.catnav-panel-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 28px; }
.catnav-item:nth-child(5) .catnav-panel { min-width: min(900px, 100%); }
.catnav-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 8px; }
.catnav-col ul { list-style: none; margin: 0; padding: 0; } .catnav-col li a { display: block; padding: 4px 0; color: var(--ink); font-size: .9rem; } .catnav-col li a:hover { color: var(--cta); }

/* footer ------------------------------------------------------------------ */
.site-footer { background: var(--black); color: #d9d9d9; padding: 48px 0 24px; margin-top: 40px; font-size: .9rem; }
.site-footer a { color: #fff; } .site-footer a:hover { color: var(--cta); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { padding: 4px 0; }
.footer-logo { width: 170px; margin-bottom: 14px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--grey); color: var(--grey); margin-right: 6px; } .footer-social a:hover { border-color: var(--blue); color: var(--blue); } .footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-certs { margin: 32px 0 16px; padding-top: 24px; border-top: 1px solid var(--navy-2); } .footer-certs img { max-width: 520px; width: 100%; }
.footer-bottom { border-top: 1px solid var(--navy-2); padding-top: 16px; font-size: .78rem; color: #a6a6a6; }
.footer-bottom p { margin: 0 0 6px; } .footer-bottom .spl-stock-key { color: #a6a6a6 !important; font-size: .75rem !important; text-align: left !important; }

/* homepage ---------------------------------------------------------------- */
.hero { background: #fff; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 48px 15px; }
.hero h1 { font-size: 2.6rem; line-height: 1.12; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-media { position: relative; } .hero-media img { border-radius: 18px; box-shadow: var(--shadow); }
.hero-media-alt { position: absolute; right: -12px; bottom: -22px; width: 38%; border: 5px solid #fff; }
.usp-strip { background: var(--black); color: #fff; }
.usp-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 15px; }
.usp { display: flex; gap: 12px; align-items: center; } .usp i { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--grey); border-radius: 50%; font-size: 1.1rem; color: var(--grey); flex: none; }
.usp strong { display: block; font-size: .9rem; } .usp span { font-size: .8rem; color: #bfbfbf; } .usp a { color: #fff; text-decoration: underline; }
.tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { display: block; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .15s; }
.tile:hover { transform: translateY(-3px); color: var(--cta); }
.tile-img { display: block; aspect-ratio: 4/3; background: #fff; } .tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-label { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-weight: 600; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-media img { border-radius: 18px; box-shadow: var(--shadow); }
.band { position: relative; background-size: cover; background-position: center; color: #fff; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.4)); }
.band-inner { position: relative; padding: 72px 15px; max-width: 560px; margin-left: 15px; } .band h2 { color: #fff; font-size: 2rem; } .band p { font-size: 1.05rem; color: #e6e6e6; }

/* product cards ----------------------------------------------------------- */
.card-grid { margin-left: -8px; margin-right: -8px; } .p-card-col { padding: 0 8px 16px; }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.p-card-img { display: block; aspect-ratio: 1/1; background: #fff; padding: 14px; } .p-card-img img { width: 100%; height: 100%; object-fit: contain; }
.p-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.p-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .74rem; color: var(--ink-2); }
.p-card-sku { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.p-card-name { font-size: .95rem; font-family: Gotham, sans-serif; font-weight: 500; line-height: 1.35; margin: 0; flex: 1; } .p-card-name a { color: var(--ink); } .p-card-name a:hover { color: var(--cta); }
.p-card-price { font-family: Gotham, sans-serif; font-weight: 700; font-size: 1.15rem; }
.p-card-price small, .buy-price small { font-weight: 400; font-size: .75rem; color: var(--ink-2); margin-left: 6px; }
.spl-list-price { display: inline; }
.p-card-actions .btn { padding: 8px 12px; font-size: .85rem; }
.card-carousel .slide { padding: 0 8px; } .card-carousel .p-card { height: auto; }
.card-row .p-card-col { padding-bottom: 0; }
.slick-prev, .slick-next { width: 40px; height: 40px; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow); }
.slick-prev:hover, .slick-next:hover { background: var(--navy); } .slick-prev:hover:before, .slick-next:hover:before { color: #fff; }
.slick-prev { left: -14px; } .slick-next { right: -14px; }
.slick-prev:before, .slick-next:before { font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--navy); font-size: 14px; opacity: 1; }
.slick-prev:before { content: "\f053"; } .slick-next:before { content: "\f054"; }
.slick-disabled { opacity: .35; }

/* stock badge */
#stock, .stock-badge { display: inline-block !important; border: 0 !important; border-radius: 999px !important; padding: 3px 10px !important; font-size: .74rem !important; font-weight: 700 !important; text-align: center; margin: 0 !important; }
/* the badge is emitted with inline colour: turn that into a tinted pill */
p#stock[style*="79b97b"] { background: #e3f4ea !important; color: var(--ok) !important; }
p#stock[style*="e0a800"] { background: #fff3d6 !important; color: var(--warn) !important; }
p#stock[style*="d9534f"] { background: #fbe4e4 !important; color: var(--bad) !important; }

/* listing ----------------------------------------------------------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--ink-2); margin: 0 0 14px; padding: 0; list-style: none; }
.breadcrumbs .crumb i { margin: 0 4px; font-size: .6rem; } .breadcrumbs a { color: var(--ink-2); } .breadcrumbs a:hover { color: var(--cta); }
.listing-head { margin-bottom: 20px; } .listing-head h1 { margin-bottom: 6px; } .listing-desc { color: var(--ink-2); max-width: 760px; }
.chip-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .85rem; font-weight: 500; }
.chip span { color: var(--ink-2); font-size: .75rem; } .chip:hover { border-color: var(--cta); color: var(--cta); }
.listing-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; } .filters-head h2 { font-size: 1rem; margin: 0; } .filters-head a { font-size: .8rem; }
.facet { border-top: 1px solid var(--line); padding: 8px 0; }
.facet summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .9rem; padding: 4px 0; }
.facet summary::-webkit-details-marker { display: none; } .facet summary i { font-size: .65rem; color: var(--ink-2); transition: transform .15s; } .facet[open] summary i { transform: rotate(180deg); }
.facet summary b { background: var(--cta); color: #fff; border-radius: 999px; font-size: .68rem; padding: 1px 7px; margin-left: auto; margin-right: 8px; }
.facet-terms { list-style: none; margin: 6px 0 0; padding: 0; max-height: 260px; overflow: auto; }
.facet-terms label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: .87rem; padding: 3px 0; cursor: pointer; margin: 0; }
.facet-terms input { margin: 0; accent-color: var(--cta); } .facet-terms span { flex: 1; } .facet-terms small { color: var(--ink-2); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.toolbar-count { margin: 0; color: var(--ink-2); } .toolbar-sort { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; font-size: .88rem; } .toolbar-sort select { width: auto; height: 38px; }
.empty-state { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; }
.spl-did-you-mean ul { list-style: none; padding: 0; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pager-btn { min-width: 38px; height: 38px; line-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; text-align: center; }
.pager-btn:hover { border-color: var(--cta); color: var(--cta); } .pager-btn.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager-gap { line-height: 38px; color: var(--ink-2); }

/* product page ------------------------------------------------------------ */
.product-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1/1; position: relative; overflow: hidden; }
.gallery-slide { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-in; } .gallery-slide.is-active { display: flex; }
.gallery-slide img { max-height: 100%; object-fit: contain; }
.gallery-thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumbs button { width: 64px; height: 64px; padding: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; } .gallery-thumbs button.is-active { border-color: var(--cta); } .gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; position: sticky; top: 16px; }
.buy-meta { color: var(--ink-2); font-size: .82rem; margin-bottom: 6px; } .buy-meta strong { font-family: ui-monospace, Menlo, monospace; color: var(--ink); }
.buy-panel h1 { font-size: 1.5rem; line-height: 1.25; }
.buy-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; }
.buy-price { font-family: Gotham, sans-serif; font-weight: 700; font-size: 1.7rem; } .buy-price .spl-list-price { font-size: .85rem; font-weight: 400; }
.buy-attr { font-size: .9rem; margin: 0 0 6px; } .buy-attr span { display: inline-block; min-width: 70px; color: var(--ink-2); }
.buy-form { display: flex; gap: 12px; align-items: center; margin: 18px 0 10px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; height: 46px; }
.qty-stepper button { width: 42px; border: 0; background: #fff; font-size: 1.2rem; color: var(--navy); } .qty-stepper button:hover { background: var(--bg); }
.qty-stepper .quantity { display: inline-block; } .qty-stepper input.qty { width: 64px; height: 44px; border: 0; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); text-align: center; font-weight: 600; font-size: 1rem; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-oos { background: #fbe4e4; color: var(--bad); border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.buy-login { background: var(--bg); border-radius: 10px; padding: 12px 14px; margin: 14px 0; } .buy-login i { margin-right: 6px; color: var(--navy); }
.buy-notes { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); } .buy-notes li { padding: 3px 0; } .buy-notes i { width: 20px; color: var(--navy); }
.product-info { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tabs { list-style: none; margin: 0; padding: 0 12px; display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs a { display: block; padding: 14px 16px; font-weight: 600; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; } .tabs .active a, .tabs a:hover { color: var(--ink); border-bottom-color: var(--cta); }
.tab-content { padding: 22px 26px; }
.spec-table { width: 100%; max-width: 640px; border-collapse: collapse; } .spec-table th, .spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; } .spec-table th { width: 40%; color: var(--ink-2); font-weight: 500; }
.related { margin-top: 40px; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { border-radius: 10px; padding: 12px 16px 12px 44px; margin: 0 0 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); list-style: none; position: relative; }
.woocommerce-error { border-left-color: var(--bad); } .woocommerce-message { border-left-color: var(--ok); }
.woocommerce-error::before, .woocommerce-message::before, .woocommerce-info::before { font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 16px; top: 12px; color: var(--brand); }
.woocommerce-error::before { content: "\f071"; color: var(--bad); } .woocommerce-message::before { content: "\f00c"; color: var(--ok); } .woocommerce-info::before { content: "\f05a"; }
.woocommerce-message .button, .woocommerce-error .button { float: right; margin: -4px 0 0 12px; padding: 5px 12px; font-size: .82rem; }

/* WooCommerce pages (basket, checkout, account) --------------------------- */
.page-title { margin-bottom: 18px; }
.page-content, .content-page .prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 10px; }
.woocommerce table.shop_table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.woocommerce table.shop_table img { width: 56px; border-radius: 8px; border: 1px solid var(--line); }
.woocommerce .cart_totals, .woocommerce-checkout #order_review { background: var(--bg); border-radius: var(--radius); padding: 18px 20px; }
.woocommerce-cart .coupon .input-text { width: 180px !important; display: inline-block; margin-right: 8px; }
.woocommerce .quantity .qty { width: 70px; height: 40px; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; }
.woocommerce form .form-row label { font-weight: 500; font-size: .88rem; } .woocommerce form .form-row .input-text, .woocommerce form .form-row select { width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce #payment { background: transparent; } .woocommerce #payment ul.payment_methods { padding: 0; border: 0; } .woocommerce #payment ul.payment_methods li { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.woocommerce #payment div.payment_box { background: var(--bg); border-radius: 8px; } .woocommerce #payment div.payment_box::before { border-bottom-color: var(--bg); }
.woocommerce-MyAccount-navigation { float: left; width: 24%; } .woocommerce-MyAccount-content { float: right; width: 73%; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; background: var(--bg); border-radius: var(--radius); padding: 8px; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: #fff; color: var(--cta); box-shadow: var(--shadow); }
.woocommerce-form-login { max-width: 460px; margin: 0 auto; } .woocommerce-form-login .button { width: 100%; }
.woocommerce .col2-set::after, .woocommerce-MyAccount-content::after, .page-content::after { content: ""; display: table; clear: both; }
.table { font-size: .92rem; } .table > thead > tr > th { border-bottom: 1px solid var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.spl-account-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.spl-account-summary > div, .spl-account-summary > p { background: var(--bg); border-radius: 10px; padding: 14px 16px; margin: 0; }
.label { border-radius: 999px; font-weight: 600; padding: 4px 10px; } .label-default { background: var(--bg); color: var(--ink-2); }

/* responsive -------------------------------------------------------------- */
@media (max-width: 1199px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; } .hero h1 { font-size: 2rem; } .hero-media-alt { display: none; }
  .usp-inner { grid-template-columns: repeat(2, 1fr); } .split { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .product-top { grid-template-columns: 1fr; } .buy-panel { position: static; }
  .listing-layout { grid-template-columns: 210px 1fr; } .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { float: none; width: 100%; }
}
@media (max-width: 767px) {
  html { font-size: 14px; }
  .mainbar-inner { flex-wrap: wrap; gap: 10px; min-height: 0; padding: 10px 0; } .brand img { width: 130px; } .site-search { order: 3; flex-basis: 100%; max-width: none; } .mainbar-actions { margin-left: auto; }
  .catnav { display: none; border-top: 1px solid var(--line); } .catnav.is-open { display: block; }
  .catnav-list { flex-direction: column; gap: 0; } .catnav-item { border-bottom: 1px solid var(--line); } .catnav-link { width: 100%; text-align: left; padding: 12px 6px; border: 0; display: flex; justify-content: space-between; }
  .catnav-panel { position: static; min-width: 0 !important; box-shadow: none; border: 0; border-radius: 0; padding: 0 6px 12px; background: var(--bg); } .catnav-panel-inner { grid-template-columns: 1fr; gap: 12px; }
  .catnav-item:hover > .catnav-panel { display: none; } .catnav-item.is-open > .catnav-panel { display: block; } .catnav-extra { margin-left: 0; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .usp-inner { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; } .filters-panel { display: none; margin-top: 8px; } .listing-filters.is-open .filters-panel { display: block; }
  .toolbar { flex-wrap: wrap; } .section { padding: 26px 0; } .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .band-inner { padding: 44px 15px; } .band h2 { font-size: 1.5rem; } .p-card-col { padding: 0 5px 10px; } .card-grid { margin: 0 -5px; }
  .spl-account-summary { grid-template-columns: 1fr; } .tab-content { padding: 16px; }
}

/* Bootstrap's .container clearfix pseudo-elements would become grid/flex items */
.topbar-inner::before, .topbar-inner::after, .mainbar-inner::before, .mainbar-inner::after, .hero-inner::before, .hero-inner::after,
.usp-inner::before, .usp-inner::after, .split::before, .split::after, .band-inner::before, .band-inner::after { display: none; }
.hero-copy { max-width: 520px; }
.p-card-img { aspect-ratio: 5/4; }

/* WooCommerce's own stylesheet is off: keep its screen-reader labels off screen */
.screen-reader-text, .quantity label.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.woocommerce table.shop_table .product-remove a { font-size: 1.1rem; color: var(--bad); }
.woocommerce .cart-collaterals .cart_totals { width: 100%; float: none; max-width: 520px; margin-left: auto; }
.woocommerce table.shop_table td.actions { padding-top: 16px; }
/* page-builder image banners inside imported content pages duplicate the page title */
.content-page [id^="ti_container_fluid"], .content-page .ti-container { display: none !important; }
.content-page .prose > #blocklab-pages > .container-fluid { padding: 0; }
.woocommerce #payment ul.payment_methods { list-style: none; margin: 0; } .woocommerce #payment ul.payment_methods li label { font-weight: 600; margin: 0 0 4px; }
.woocommerce table.shop_table.cart { width: 100%; }

/* Product grids: every card the same height whatever the title length (flex rows, not floats),
   images in a fixed 5:4 box, titles held to two lines. */
.card-grid, .card-row { display: flex; flex-wrap: wrap; }
.card-grid .p-card-col, .card-row .p-card-col { display: flex; float: none; }
.card-grid .p-card, .card-row .p-card { width: 100%; }
.p-card-name { min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-carousel .slick-track { display: flex; } .card-carousel .slick-slide { height: auto; display: flex; } .card-carousel .slick-slide > div { display: flex; width: 100%; } .card-carousel .p-card { height: 100%; }
/* product images: no drag-to-desktop, no right-click save (theme.js blocks the context menu) */
.p-card-img img, .gallery-main img, .gallery-thumbs img, .tile-img img, .hero-media img, .split-media img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.spl-orders-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 4px; } .spl-orders-actions + p { margin-bottom: 14px; }
.spl-orders input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue); }
.woocommerce-order-pay .shop_table tfoot th { text-align: left; }
