/* ==========================================================================
   Storefront prototype — layout modelled on a WoodMart + Elementor shop
   Fonts: Urbanist (titles), Work Sans (text), Bebas Neue (brand banners)
   ========================================================================== */
:root {
  --bg: #ffffff;
  --header-bg: #fbfaf7;
  --topbar-bg: #000f36;
  --text: #383838;
  --title: #242424;
  --muted: #555555;
  --soft: #777777;
  --line: rgba(0, 0, 0, 0.1);
  --dark: #000f36;
  --navy: #000f36;
  --navy-2: #0b2160;
  --yellow: #fcc204;
  --yellow-2: #ffd43b;
  --features-bg: #eaeaea;
  --promo-bg: #e7e7e7;
  --primary: #555555;
  --radius: 5px;
  --container: 1301px;
  --title-font: "Urbanist", Arial, Helvetica, sans-serif;
  --text-font: "Work Sans", Arial, Helvetica, sans-serif;
  --banner-font: "Bebas Neue", "Urbanist", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--text-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--topbar-bg); font-size: 13px; color: rgba(255,255,255,.85); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar ul { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; }
.topbar li { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.18); }
.topbar li:first-child { padding-left: 0; border-left: 0; }
.topbar a:hover { color: var(--yellow); }
.topbar .flag { display: inline-flex; align-items: center; gap: 6px; }
.topbar .flag span { width: 16px; height: 11px; border-radius: 2px; background:
  linear-gradient(90deg, transparent 43%, #c8102e 43%, #c8102e 57%, transparent 57%),
  linear-gradient(0deg, transparent 38%, #c8102e 38%, #c8102e 62%, transparent 62%),
  linear-gradient(90deg, transparent 38%, #fff 38%, #fff 62%, transparent 62%),
  linear-gradient(0deg, transparent 30%, #fff 30%, #fff 70%, transparent 70%), #012169; }

/* ---------- Header ---------- */
.site-header { background: var(--header-bg); position: relative; z-index: 50; }
.header-main .container { display: flex; align-items: center; gap: 30px; height: 101px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.logo img { height: 58px; width: auto; border-radius: 8px; }
.sticky-header .logo img { height: 46px; }
.drawer .logo img { height: 48px; }
.logo-mark { width: 50px; height: 50px; border-radius: 12px; flex: none; background: #1b1b1b; color: #fff;
  display: grid; place-items: center; font: 800 19px var(--title-font); letter-spacing: .5px; }
.logo-text { font-family: var(--title-font); font-weight: 800; line-height: .92; color: #2b2b2b; letter-spacing: .5px; }
.logo-text b { display: block; font-size: 30px; }
.logo-text small { display: block; font-size: 17px; letter-spacing: 3px; font-weight: 700; }
.search { flex: 0 1 290px; position: relative; margin-left: auto; }
.search input { width: 100%; height: 42px; border-radius: 35px; border: 1px solid var(--line); background: #fff;
  padding: 0 44px 0 20px; font: 14px var(--text-font); color: var(--text); outline: none; }
.search input:focus { border-color: rgba(0,0,0,.25); }
.search button { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border: 0; background: none; color: #333; display: grid; place-items: center; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.tool-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px;
  border-radius: 40px; color: #383838; font: 600 14px var(--title-font); }
.tool-btn:hover { color: var(--navy-2); }
.tool-btn.account { padding: 0 16px; background: #fff; border: 1px solid var(--line); }
.tool-btn.cart { padding: 0 16px 0 14px; background: var(--navy); color: #fff; }
.tool-btn.cart:hover { background: var(--navy-2); color: #fff; }
.tool-btn .count { position: absolute; top: -3px; left: 24px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--yellow); color: var(--navy);
  font: 700 10px/16px var(--text-font); text-align: center; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; color: #333; }

.header-bottom { border-top: 1px solid rgba(0,0,0,.05); }
.header-bottom .container { display: flex; align-items: center; justify-content: space-between; height: 46px; }
.main-nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font: 600 14px var(--title-font); color: var(--muted); padding: 12px 0; position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; background: var(--yellow); border-radius: 2px; }
.nav-note { font: 700 13px var(--title-font); color: var(--navy); }

/* Sticky compact header */
.sticky-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--header-bg); box-shadow: 0 1px 8px rgba(0,0,0,.08);
  transform: translateY(-100%); transition: transform .3s ease; }
.sticky-header.show { transform: none; }
.sticky-header .container { display: flex; align-items: center; gap: 30px; height: 75px; }
.sticky-header .logo { min-width: 0; }
.sticky-header .logo-mark { width: 40px; height: 40px; }
.sticky-header .logo-text b { font-size: 24px; }
.sticky-header .logo-text small { font-size: 13px; }
.sticky-header .main-nav { flex: 1; flex-wrap: wrap; gap: 0 26px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0 auto 0 0; width: 300px; max-width: 85vw; background: #fff; z-index: 80; transform: translateX(-100%);
  transition: transform .3s ease; padding: 20px; overflow-y: auto; }
.drawer.open { transform: none; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer .main-nav { flex-direction: column; gap: 0; margin-top: 16px; }
.drawer .search { display: block !important; margin: 18px 0 0; flex: none; }
.drawer .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 629px; overflow: hidden; background: #1d1d1d; }
.hero video, .hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Brand sections ---------- */
.brand-section { padding: 30px 0 25px; scroll-margin-top: 90px; }
.brand-banner { position: relative; display: block; height: 250px; border-radius: var(--radius); overflow: hidden; background: #2a2a2a; margin: 0 10px; }
.brand-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.brand-banner:hover img { transform: scale(1.03); }
.brand-banner img.mirror { transform: scaleX(-1); }
.brand-banner:hover img.mirror { transform: scaleX(-1) scale(1.03); }
.brand-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,15,54,.82) 0%, rgba(0,15,54,.5) 45%, rgba(0,15,54,.1) 100%); }
.banner-copy { position: absolute; z-index: 1; left: 50px; top: 50%; transform: translateY(-50%); color: #fff; max-width: 70%; }
.banner-copy h2 { margin: 0; font: 400 78px/0.95 var(--banner-font); letter-spacing: 3px; text-transform: uppercase; }
.banner-copy p { margin: 12px 0 0; font: 500 16px var(--text-font); color: rgba(255,255,255,.88); letter-spacing: .3px; display: flex; align-items: center; gap: 12px; }
.banner-copy p::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--yellow); flex: none; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 20px 10px 0; }
.product { position: relative; }
.product-thumb { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product:hover .product-thumb img { transform: scale(1.04); }
.wish { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #333;
  display: grid; place-items: center; z-index: 2; }
.wish:hover, .wish.on { color: var(--navy); }
.wish.on { color: var(--yellow); }
.wish.on .icon { stroke: var(--navy); }
.wish.on .icon { fill: currentColor; }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 40px; border: 0; border-radius: 35px; background: var(--navy); color: #fff;
  font: 600 13px var(--title-font); opacity: 0; transform: translateY(10px); transition: all .25s ease; display: grid; place-items: center; }
.product:hover .quick { opacity: 1; transform: none; }
.quick:hover { background: var(--yellow); color: var(--navy); }
.product-title { margin: 14px 0 6px; font: 700 15px/21px var(--title-font); color: #333; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-title a:hover { color: var(--navy-2); }
.product-brand { font: 400 13px var(--text-font); color: var(--soft); }
.price { font: 400 15px var(--text-font); color: var(--muted); margin-top: 6px; }

/* ---------- Promo strip ---------- */
.promo { margin: 20px auto 30px; }
.promo-inner { background: var(--navy); color: #fff; border-radius: var(--radius); margin: 0 10px; display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 40px; padding: 40px 50px; }
.promo h3 { margin: 0 0 8px; font: 700 26px var(--title-font); color: #fff; }
.promo p { margin: 0; color: rgba(255,255,255,.8); }
.promo .kicker { font: 700 13px var(--title-font); text-transform: uppercase; letter-spacing: 1.5px; color: var(--yellow); margin-bottom: 6px; }
.promo .btn { background: var(--yellow); color: var(--navy); }
.promo .btn:hover { background: var(--yellow-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 26px; border-radius: 35px; background: var(--navy); color: #fff; font: 600 14px var(--title-font); border: 0; }
.btn:hover { background: var(--navy-2); }
.btn.light { background: #fff; color: var(--navy); }

/* ---------- About / why us ---------- */
.about { padding: 25px 0 40px; }
.about .container { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.about-img { border-radius: 10px; overflow: hidden; margin-left: 10px; aspect-ratio: 4 / 3.2; background: #ddd; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.section-title { font: 700 22px var(--title-font); color: var(--title); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 140px; height: 3px; background: var(--yellow); }
.about-copy { font-size: 14px; color: var(--muted); padding-right: 10px; }
.about-copy ul { padding-left: 18px; margin: 14px 0; }
.about-copy li { margin-bottom: 10px; }
.about-copy li::marker { color: var(--yellow); }
.about-copy strong { color: #222; }

/* ---------- Blog ---------- */
.blog { padding: 20px 0 50px; }
.center-title { text-align: center; font: 700 32px var(--title-font); color: var(--title); margin: 0 0 26px; }
.center-title::after { content: ""; display: block; width: 60px; height: 3px; border-radius: 2px; background: var(--yellow); margin: 12px auto 0; }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 10px; }
.carousel-track::-webkit-scrollbar { display: none; }
.post { scroll-snap-align: start; }
.post-thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 2 / 1; background: #ddd; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post-thumb img { transform: scale(1.05); }
.post h3 { text-align: center; font: 700 18px/1.35 var(--title-font); color: #333; margin: 16px 10px 0; }
.carousel-btn:hover { background: var(--navy); color: #fff; }
.carousel-btn { position: absolute; top: calc((100% - 60px) / 2 - 22px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.15); display: grid; place-items: center; color: #222; z-index: 2; }
.carousel-btn.prev { left: -6px; } .carousel-btn.next { right: -6px; }

/* ---------- Features ---------- */
.features { background: var(--features-bg); }
.features .container { display: grid; grid-template-columns: repeat(4, 1fr); height: 127px; align-items: center; }
.feature { display: flex; align-items: center; gap: 16px; padding: 0 26px; border-left: 1px solid rgba(0,0,0,.08); }
.feature:first-child { border-left: 0; }
.feature .icon { width: 34px; height: 34px; stroke-width: 1.5; color: var(--navy); }
.feature h4 { margin: 0; font: 600 15px var(--title-font); color: #222; }
.feature p { margin: 2px 0 0; font-size: 13px; color: var(--soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.8); font-size: 13px; }
.footer-top { display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr; gap: 30px; padding: 42px 15px 34px; }
.site-footer h5 { margin: 0 0 14px; font: 700 13px var(--title-font); text-transform: uppercase; letter-spacing: .6px; color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: var(--yellow); }
.newsletter form { display: flex; gap: 10px; margin-bottom: 10px; }
.newsletter input { flex: 1; height: 40px; border-radius: 35px; border: 0; padding: 0 18px; font: 13px var(--text-font); }
.newsletter .btn { height: 40px; background: var(--yellow); color: var(--navy); padding: 0 22px; }
.newsletter .btn:hover { background: var(--yellow-2); }
.newsletter small { color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 30px; width: auto; }
.pay { display: flex; gap: 6px; }
.pay span { height: 22px; min-width: 36px; padding: 0 6px; border-radius: 3px; background: #fff; color: #1a1f71; font: 800 9px/22px var(--text-font); text-align: center; letter-spacing: .3px; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--yellow);
  box-shadow: 0 2px 12px rgba(0,0,0,.22), 0 0 0 2px rgba(252,194,4,.55); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--header-bg); border-top: 1px solid rgba(0,0,0,.05); padding: 46px 0 40px; text-align: center; }
.page-head h1 { margin: 0; font: 800 40px var(--title-font); color: var(--title); }
.crumbs { margin-top: 6px; font-size: 13px; color: var(--soft); }
.crumbs a:hover { color: var(--navy); }
.brand-index { position: sticky; top: 75px; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand-index .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; }
.brand-index a { flex: none; padding: 6px 14px; border-radius: 30px; border: 1px solid var(--line); font: 600 13px var(--title-font); color: #444; background: #fff; }
.brand-index a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.brand-head { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 10px 0; font-size: 13px; color: var(--soft); }
.content-page { padding: 50px 0 60px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.info-card { background: var(--header-bg); border-radius: 10px; padding: 30px; }
.info-card h3 { margin: 0 0 14px; font: 700 20px var(--title-font); color: var(--title); }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { margin-top: 3px; color: var(--navy); }
.form-grid { display: grid; gap: 14px; }
.form-grid input, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font: 14px var(--text-font); background: #fff; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.empty-note { text-align: center; color: var(--soft); padding: 40px 0; display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .search { flex-basis: 220px; }
  .banner-copy h2 { font-size: 62px; }
}
@media (max-width: 1024px) {
  .topbar, .header-bottom, .search, .tool-btn.account span, .nav-note { display: none; }
  .burger { display: grid; place-items: center; }
  .site-header { position: sticky; top: 0; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
  .header-main .container { height: 64px; gap: 10px; }
  .brand-index { top: 64px; }
  .logo { min-width: 0; margin-right: auto; }
  .logo img { height: 40px; border-radius: 6px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text b { font-size: 22px; } .logo-text small { font-size: 12px; }
  .tool-btn.account { padding: 0; border: 0; background: none; }
  .tool-btn.cart { padding: 0 12px; }
  .tool-btn.cart .cart-total { display: none; }
  .sticky-header { display: none; }
  .hero { height: 52vw; min-height: 260px; margin: 8px; border-radius: 8px; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .promo-inner { grid-template-columns: 1fr; gap: 16px; padding: 30px; }
  .about .container { grid-template-columns: 1fr; }
  .about-img { margin: 0 10px; }
  .carousel-track { grid-auto-columns: calc((100% - 30px) / 2); }
  .features .container { grid-template-columns: repeat(2, 1fr); height: auto; padding-top: 20px; padding-bottom: 20px; row-gap: 20px; }
  .feature:nth-child(3) { border-left: 0; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .newsletter { grid-column: 1 / -1; }
  .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-banner { height: 170px; margin: 0; }
  .banner-copy { left: 22px; max-width: 85%; }
  .banner-copy h2 { font-size: 44px; letter-spacing: 2px; }
  .banner-copy p { font-size: 13px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 14px 0 0; }
  .product-title { font-size: 14px; line-height: 19px; }
  .quick { display: none; }
  .promo-inner, .about-img, .carousel-track { margin: 0; }
  .carousel-track { grid-auto-columns: 85%; }
  .carousel-btn { display: none; }
  .features .container { grid-template-columns: 1fr; }
  .feature { border-left: 0; padding: 0 6px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; justify-content: center; gap: 10px; height: auto; padding-top: 16px; padding-bottom: 16px; }
  .page-head h1 { font-size: 30px; }
  .brand-head { margin: 12px 0 0; }
}

/* ==========================================================================
   WordPress / WooCommerce additions
   ========================================================================== */
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--navy); }
.main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; background: var(--yellow); border-radius: 2px; }
.logo .custom-logo-link { display: block; }
.logo .custom-logo { height: 58px; width: auto; border-radius: 8px; }
.sticky-header .logo .custom-logo { height: 46px; }
.drawer .logo .custom-logo { height: 48px; }
body.admin-bar .sticky-header { top: 32px; }
body.admin-bar .brand-index { top: 107px; }
@media (max-width: 1024px) { .logo .custom-logo { height: 40px; border-radius: 6px; } body.admin-bar .site-header { top: 46px; } body.admin-bar .brand-index { top: 110px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } body.admin-bar .brand-index { top: 64px; } }

.entry-content { font-size: 15px; color: #444; }
.entry-content h2 { font: 700 24px var(--title-font); color: var(--title); margin: 28px 0 10px; }
.entry-content h3 { font: 700 19px var(--title-font); color: var(--title); margin: 22px 0 8px; }
.entry-content a { color: var(--navy-2); text-decoration: underline; }
.article { max-width: 860px; }
.article-img { border-radius: 10px; overflow: hidden; margin-bottom: 26px; }
.article-img img { width: 100%; height: auto; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-excerpt { text-align: center; color: var(--soft); font-size: 14px; margin: 8px 10px 0; }
.pagination { margin-top: 30px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--line); margin: 0 3px; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.wt-notice { padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.wt-notice.ok { background: #e8f5e9; color: #1b5e20; }
.wt-notice.err { background: #fdecea; color: #8a1c1c; }
.newsletter form { flex-wrap: nowrap; }

/* WooCommerce */
.wt-woo .woocommerce-breadcrumb { font-size: 13px; color: var(--soft); margin-bottom: 20px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce-page .button {
  background: var(--navy) !important; color: #fff !important; border-radius: 35px !important; font: 600 14px var(--title-font) !important; padding: 12px 24px !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--navy-2) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 700 15px/21px var(--title-font) !important; color: #333; }
.woocommerce ul.products li.product a img { background: #fff; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--muted) !important; font-family: var(--text-font); }
.wt-price-request { color: var(--muted); font-size: 15px; }
.woocommerce span.onsale { background: var(--navy); color: #fff; }
.woocommerce .woocommerce-ordering select { border-radius: 30px; padding: 8px 14px; border: 1px solid var(--line); }
.wt-single { padding-top: 40px; }
.woocommerce div.product .product_title { font: 800 30px var(--title-font); color: var(--title); }
.wt-brand-line { color: var(--soft); margin: 6px 0 14px; }
.wt-quote-btn { margin: 6px 0 22px; }
.woocommerce div.product div.images img { background: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--navy) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--navy) !important; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* Shop archive grid: same card layout as the brand sections */
.wt-woo ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; margin: 10px 0 30px !important; padding: 0; }
.wt-woo ul.products::before, .wt-woo ul.products::after { display: none !important; }
.wt-woo ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; text-align: left; }
.wt-woo ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 12px !important; }
.wt-woo ul.products li.product .button { margin-top: 8px; font-size: 13px !important; padding: 9px 18px !important; }
.wt-woo .woocommerce-result-count, .wt-woo .woocommerce-ordering { margin-bottom: 18px !important; }
.wt-woo nav.woocommerce-pagination ul { border: 0 !important; }
.wt-woo nav.woocommerce-pagination ul li { border: 0 !important; margin: 0 3px !important; }
.wt-woo nav.woocommerce-pagination ul li a, .wt-woo nav.woocommerce-pagination ul li span { border-radius: 20px; border: 1px solid var(--line); padding: 8px 14px !important; }
.wt-woo nav.woocommerce-pagination ul li span.current { background: var(--navy) !important; color: #fff !important; }
@media (max-width: 1024px) { .wt-woo ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .wt-woo ul.products { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } }

/* ==========================================================================
   Uniform cards: identical image box and fixed text rows so every row lines up
   ========================================================================== */
.product-thumb { aspect-ratio: 1 / 1; background: #fff; }
.product-thumb img, .wt-card-img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; display: block; }
.wt-card-fallback { padding: 7%; box-sizing: border-box; }
.product-title { -webkit-line-clamp: 2; min-height: 42px; max-height: 42px; }
.product-brand { height: 20px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { height: 24px; line-height: 24px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price del { color: var(--soft); margin-right: 6px; }
.price ins { text-decoration: none; font-weight: 600; color: var(--title); }
.wt-woo ul.products li.product { display: flex; flex-direction: column; }
.wt-loop-thumb { display: block; aspect-ratio: 1 / 1; background: #fff; margin-bottom: 12px; overflow: hidden; }
.wt-woo ul.products li.product a img.wt-card-img { margin: 0 !important; height: 100%; }
.wt-woo ul.products li.product .woocommerce-loop-product__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; max-height: 42px; padding: 0 !important; margin: 0 0 6px !important; }
.wt-woo ul.products li.product .price { display: block; height: 24px; line-height: 24px; margin: 0 0 8px !important; }
.wt-woo ul.products li.product .button { margin-top: auto !important; align-self: flex-start; }
@media (max-width: 640px) {
  .product-title, .wt-woo ul.products li.product .woocommerce-loop-product__title { min-height: 38px; max-height: 38px; }
}

/* Brand sections: same side gutter as the header on screens narrower than the container */
@media (max-width: 1330px) {
  .brand-section { padding-left: 15px; padding-right: 15px; }
  .brand-section .brand-banner, .brand-section .products, .brand-section .brand-head { margin-left: 0; margin-right: 0; }
}

/* ---------- Homepage brand marquee ---------- */
/* The video fades into the page colour, so video → brand strip → brand sections read as one surface. */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.06) 18%, rgba(255,255,255,.22) 40%, rgba(255,255,255,.5) 62%, rgba(255,255,255,.82) 82%, #fff 100%); }
.hero video { display: block; }
.brand-marquee { padding: 14px 0 22px; background: var(--bg); overflow: hidden; }
/* Tablet/phone: the hero is a rounded card; square off its faded bottom so no edge line shows. */
@media (max-width: 1024px) {
  .hero { border-radius: 8px 8px 0 0; margin-bottom: 0; }
}
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee + .marquee { margin-top: 6px; }
.marquee-track { display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none; animation: wt-marquee var(--dur, 120s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; align-items: center; flex: none; }
.marquee-track li::after { content: ""; width: 8px; height: 8px; margin: 0 30px; background: var(--yellow); transform: rotate(45deg); flex: none; }
.marquee-track a { font: 400 38px/1.25 var(--banner-font); letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); opacity: .82; white-space: nowrap; transition: opacity .2s, color .2s; }
.marquee-track a:hover, .marquee-track a:focus-visible { opacity: 1; color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
@keyframes wt-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 640px) {
  .brand-marquee { padding: 8px 0 14px; }
  .marquee-track a { font-size: 28px; }
  .marquee-track li::after { width: 6px; height: 6px; margin: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
