/*
Theme Name: Unmanned Systems Source
Theme URI: https://www.unmannedsystemssource.com
Author: Pinkerton Marketing
Description: Custom theme for Unmanned Systems Source – professional UAV component supplier. AS9100D certified.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.0
License: Proprietary
Text Domain: uss-theme
*/

/* =============================================
   DESIGN SYSTEM
   West Marine-style layout + Military aesthetic
   Olive #7A8C4A | Charcoal #1E2022 | White #FFFFFF
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --olive: #7A8C4A;
  --olive-dark: #5C6A35;
  --olive-light: #96A85E;
  --olive-pale: #EEF1E6;
  --charcoal: #1E2022;
  --charcoal-mid: #3D3D3D;
  --charcoal-light: #505050;
  --white: #FFFFFF;
  --off-white: #F7F7F5;
  --light-gray: #EBEBEB;
  --border: #DCDCDA;
  --red: #C0392B;
}

body { font-family: 'Inter', sans-serif; color: var(--charcoal); background: var(--white); line-height: 1.7; font-size: 15px; }
h1,h2,h3,h4,h5 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
p { color: var(--charcoal-mid); }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ========== TOP BAR ========== */
.top-bar { background: var(--charcoal); padding: 7px 0; font-size: 12px; color: #C8C8C0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-right { display: flex; gap: 20px; }
.top-bar a { color: #C8C8C0; transition: color .2s; }
.top-bar a:hover { color: var(--olive-light); }
.top-bar strong { color: var(--olive-light); }

/* ========== MAIN HEADER ========== */
.main-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; gap: 24px; }
.header-logo img { height: 50px; width: auto; flex-shrink: 0; }

.header-search { flex: 1; display: flex; border: 2px solid var(--border); border-radius: 3px; overflow: hidden; transition: border-color .2s; }
.header-search:focus-within { border-color: var(--olive); }
.search-category { background: var(--off-white); border: none; border-right: 1px solid var(--border); padding: 0 14px; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--charcoal-mid); cursor: pointer; white-space: nowrap; }
.search-input { flex: 1; border: none; padding: 11px 16px; font-family: 'Inter', sans-serif; font-size: 14px; outline: none; }
.search-input::placeholder { color: #888; }
.search-btn { background: var(--olive); border: none; padding: 0 20px; cursor: pointer; font-size: 18px; color: white; transition: background .2s; }
.search-btn:hover { background: var(--olive-dark); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-action-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; border-radius: 3px; cursor: pointer; transition: background .2s; font-size: 11px; color: var(--charcoal-mid); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.header-action-btn:hover { background: var(--off-white); }
.header-action-btn .icon { font-size: 20px; }
.cart-btn { position: relative; }
.cart-badge { position: absolute; top: 2px; right: 6px; background: var(--olive); color: white; font-size: 10px; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ========== MEGA NAV ========== */
.mega-nav { background: var(--charcoal); position: relative; z-index: 190; }
.mega-nav-inner { display: flex; align-items: stretch; }
.mega-nav-item { position: relative; }
.mega-nav-link { display: flex; align-items: center; gap: 5px; padding: 13px 18px; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); transition: background .2s, color .2s; white-space: nowrap; cursor: pointer; }
.mega-nav-link:hover, .mega-nav-item:hover .mega-nav-link { background: var(--olive); color: white; }
.mega-nav-link .chevron { font-size: 10px; opacity: 0.6; transition: transform .2s; }
.mega-nav-item:hover .chevron { transform: rotate(180deg); }
.mega-nav-link.highlight { background: var(--olive); }
.mega-nav-link.highlight:hover { background: var(--olive-dark); }

.mega-dropdown { display: none; position: absolute; top: 100%; left: 0; background: white; border: 1px solid var(--border); border-top: 3px solid var(--olive); box-shadow: 0 12px 40px rgba(0,0,0,0.15); min-width: 680px; padding: 28px; z-index: 300; }
.mega-nav-item:hover .mega-dropdown { display: flex; gap: 32px; }
.dropdown-col { flex: 1; }
.dropdown-col-title { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.dropdown-links { display: flex; flex-direction: column; gap: 8px; }
.dropdown-links a { font-size: 14px; color: var(--charcoal); transition: color .2s, padding-left .2s; display: flex; align-items: center; gap: 6px; }
.dropdown-links a:hover { color: var(--olive); padding-left: 4px; }
.dropdown-links a::before { content: '›'; color: var(--olive); font-size: 16px; opacity: 0; transition: opacity .2s; }
.dropdown-links a:hover::before { opacity: 1; }
.dropdown-featured { background: var(--off-white); border-radius: 3px; padding: 16px; min-width: 180px; }
.dropdown-featured-title { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal-light); margin-bottom: 12px; }
.featured-brand { display: flex; align-items: center; gap: 10px; padding: 8px; background: white; border-radius: 2px; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--charcoal); transition: box-shadow .2s; }
.featured-brand:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.featured-brand-dot { width: 8px; height: 8px; background: var(--olive); border-radius: 50%; flex-shrink: 0; }

/* ========== PROMO BANNER ========== */
.promo-banner { background: var(--olive); text-align: center; padding: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.05em; color: white; }
.promo-banner a { color: white; text-decoration: underline; }

/* ========== BUTTONS ========== */
.btn-primary { background: var(--olive); color: white; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 30px; border-radius: 2px; transition: background .2s, transform .1s; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--olive-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: white; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 30px; border-radius: 2px; border: 2px solid rgba(255,255,255,0.25); transition: border-color .2s, color .2s; }
.btn-outline:hover { border-color: var(--olive-light); color: var(--olive-light); }
.btn-white { background: white; color: var(--olive-dark); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 36px; border-radius: 2px; transition: transform .1s, box-shadow .2s; display: inline-block; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-cart { width: 100%; background: var(--charcoal); color: white; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px; border: none; border-radius: 2px; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-cart:hover { background: var(--olive); }
.btn-quote-small { width: 100%; margin-top: 6px; background: transparent; color: var(--charcoal-light); font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px; border: 1px solid var(--border); border-radius: 2px; cursor: pointer; transition: border-color .2s, color .2s; }
.btn-quote-small:hover { border-color: var(--olive); color: var(--olive); }

/* ========== SECTION HEADERS ========== */
.section-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--olive); margin-bottom: 6px; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; text-transform: uppercase; color: var(--charcoal); }
.section-header { margin-bottom: 32px; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.view-all-link { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive); display: flex; align-items: center; gap: 5px; transition: gap .2s; }
.view-all-link:hover { gap: 9px; }

/* ========== HERO ========== */
.hero { background: linear-gradient(135deg, var(--charcoal) 0%, #2A2F1A 65%, #1A1E0E 100%); padding: 80px 0; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237A8C4A' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { display: grid; grid-template-columns: 55% 45%; gap: 48px; align-items: center; position: relative; }
.hero-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--olive-light); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--olive); display: block; }
.hero h1 { font-size: 68px; font-weight: 800; text-transform: uppercase; color: white; margin-bottom: 20px; }
.hero h1 em { color: var(--olive-light); font-style: normal; display: block; }
.hero-desc { font-size: 17px; color: #D8D8D0; line-height: 1.85; margin-bottom: 36px; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #C0C0B8; font-weight: 500; }
.hero-trust-item span { font-size: 16px; }
.hero-panel { background: rgba(255,255,255,0.04); border: 1px solid rgba(122,140,74,0.2); border-radius: 4px; overflow: hidden; }
.hero-panel-header { background: rgba(122,140,74,0.15); padding: 14px 20px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--olive-light); border-bottom: 1px solid rgba(122,140,74,0.2); }
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.hero-stat { padding: 20px; border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); text-align: center; }
.hero-stat:nth-child(even) { border-right: none; }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; color: var(--olive-light); line-height: 1; }
.stat-label { font-size: 11px; color: #B0B0A8; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; font-weight: 600; }
.hero-cert-strip { padding: 14px 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cert-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-light); border: 1px solid rgba(122,140,74,0.3); padding: 3px 10px; border-radius: 1px; }

/* ========== TRUST STRIP ========== */
.trust-strip { background: var(--off-white); border-bottom: 1px solid var(--border); }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 28px; flex-shrink: 0; }
.trust-title { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal); }
.trust-desc { font-size: 13px; color: var(--charcoal-light); margin-top: 2px; font-weight: 500; }
.trust-cert-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--olive); margin-top: 3px; transition: color .2s; text-transform: uppercase; letter-spacing: 0.05em; }
.trust-cert-link:hover { color: var(--olive-dark); }

/* ========== CERT BANNER ========== */
.cert-banner { background: linear-gradient(90deg, var(--charcoal) 0%, #2A2F1A 50%, var(--charcoal) 100%); border-top: 3px solid var(--olive); border-bottom: 3px solid var(--olive); padding: 28px 0; }
.cert-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cert-banner-left { display: flex; align-items: center; gap: 20px; }
.cert-seal { width: 72px; height: 72px; background: var(--olive); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(122,140,74,0.25); }
.cert-text-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--olive-light); margin-bottom: 4px; }
.cert-text-title { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: white; margin-bottom: 4px; }
.cert-text-desc { font-size: 14px; color: #C0C0B8; line-height: 1.7; max-width: 420px; }
.cert-text-desc strong { color: #E0E0D8; }
.cert-banner-right { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; }
.btn-cert { display: inline-flex; align-items: center; gap: 8px; background: var(--olive); color: white; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 24px; border-radius: 2px; transition: background .2s, transform .1s; }
.btn-cert:hover { background: var(--olive-dark); transform: translateY(-1px); }
.cert-expiry { font-size: 13px; color: #A0A098; text-align: right; }
.cert-expiry strong { color: var(--olive-light); }

/* ========== CATEGORIES ========== */
.categories-section { padding: 64px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s; position: relative; display: block; }
.cat-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }
.cat-card-img { height: 110px; background: linear-gradient(135deg, var(--off-white) 0%, #EAEAE6 100%); display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { padding: 14px 16px 18px; }
.cat-card-name { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal); margin-bottom: 4px; }
.cat-card-count { font-size: 12px; color: var(--olive); font-weight: 600; letter-spacing: 0.05em; }
.cat-card-arrow { position: absolute; bottom: 14px; right: 14px; background: var(--charcoal); color: white; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; opacity: 0; transform: scale(0.7) translateX(4px); transition: opacity .2s, transform .2s; }
.cat-card:hover .cat-card-arrow { opacity: 1; transform: scale(1) translateX(0); }

/* ========== PRODUCT CARDS ========== */
.products-grid, .shop-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop-products-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { background: white; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.product-card[data-href] { cursor: pointer; }
.product-img-wrap { height: 200px; background: var(--off-white); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #CCC; }
.product-placeholder-icon { font-size: 48px; }
.product-placeholder-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.product-tag { position: absolute; top: 10px; left: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 1px; }
.product-tag.tag-stock { background: var(--olive); color: white; }
.product-tag.tag-new { background: var(--charcoal); color: white; }
.product-tag.tag-sale { background: var(--red); color: white; }
.product-wishlist { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); opacity: 0; transition: opacity .2s; cursor: pointer; }
.product-card:hover .product-wishlist { opacity: 1; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); margin-bottom: 5px; }
.product-name { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1.3; margin-bottom: 8px; color: var(--charcoal); flex: 1; }
.product-sku { font-size: 12px; color: #777; margin-bottom: 12px; font-weight: 500; }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.product-price { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--charcoal); }
.product-price-old { font-size: 14px; color: #888; text-decoration: line-through; }

/* ========== SHOP PAGE ========== */
.shop-wrap { padding: 40px 0 80px; }
.shop-inner { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.sidebar-block { margin-bottom: 28px; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.sidebar-block-title { background: var(--off-white); padding: 12px 16px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.sidebar-block-title span { font-size: 12px; color: #AAA; font-weight: 400; letter-spacing: 0; text-transform: none; }
.sidebar-block-body { padding: 14px 16px; }
.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-item { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.filter-item input { accent-color: var(--olive); width: 15px; height: 15px; cursor: pointer; }
.filter-item label { font-size: 13px; color: var(--charcoal-mid); cursor: pointer; flex: 1; }
.filter-item .filter-count { font-size: 11px; color: #AAA; }
.price-input { flex: 1; border: 1px solid var(--border); border-radius: 2px; padding: 7px 10px; font-size: 13px; font-family: 'Inter', sans-serif; }
.price-input:focus { outline: none; border-color: var(--olive); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.shop-count { font-size: 14px; color: var(--charcoal-mid); }
.shop-count strong { color: var(--charcoal); font-weight: 700; }
.sort-select { border: 1px solid var(--border); border-radius: 2px; padding: 7px 12px; font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; background: white; }
.sort-select:focus { outline: none; border-color: var(--olive); }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--border); background: var(--off-white); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--charcoal-light); }
.breadcrumb-inner a { color: var(--charcoal-light); transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--olive); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-inner span { color: var(--charcoal); font-weight: 500; }

/* ========== PROCUREMENT ========== */
.procurement-banner { background: var(--charcoal); padding: 60px 0; }
.procurement-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.procurement-text .section-title { color: white; margin-bottom: 14px; }
.procurement-text .section-eyebrow { color: var(--olive-light); }
.procurement-text p { color: #C8C8C0; font-size: 16px; line-height: 1.85; margin-bottom: 28px; }
.procurement-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.procurement-item { display: flex; align-items: flex-start; gap: 10px; color: #D0D0C8; font-size: 15px; }
.check-badge { width: 20px; height: 20px; background: var(--olive); border-radius: 1px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: white; flex-shrink: 0; margin-top: 2px; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cert-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 3px; padding: 20px; text-align: center; }
.cert-card-icon { font-size: 32px; margin-bottom: 10px; }
.cert-card-name { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: white; margin-bottom: 4px; }
.cert-card-desc { font-size: 13px; color: #B0B0A8; line-height: 1.6; margin-top: 4px; }

/* ========== BRANDS ========== */
.brands-section { padding: 52px 0; border-bottom: 1px solid var(--border); }
.brands-label { text-align: center; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: #777; margin-bottom: 28px; font-weight: 600; }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.brand-pill { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal-mid); padding: 8px 20px; border: 1px solid var(--border); border-radius: 2px; transition: color .2s, border-color .2s, background .2s; cursor: pointer; }
.brand-pill:hover { color: var(--olive); border-color: var(--olive); background: var(--olive-pale); }

/* ========== CTA ========== */
.cta-section { background: linear-gradient(135deg, var(--olive-dark), var(--olive)); padding: 64px 0; text-align: center; }
.cta-section h2 { font-size: 44px; color: white; margin-bottom: 12px; text-transform: uppercase; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ========== FOOTER ========== */
footer { background: var(--charcoal); }
.footer-top { padding: 56px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo img { height: 42px; margin-bottom: 16px; filter: brightness(0.85); }
.footer-about { font-size: 14px; color: #A8A8A0; line-height: 1.8; margin-bottom: 20px; }
.footer-social-section { margin-top: 20px; }
.footer-social-label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive-light); margin-bottom: 14px; }
.footer-social { display: flex; gap: 20px; flex-wrap: wrap; }
.social-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; }
.social-btn-icon { width: 44px; height: 44px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; transition: transform .2s, opacity .2s; }
.social-btn:hover .social-btn-icon { transform: translateY(-2px); opacity: 0.85; }
.social-btn-label { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #888; transition: color .2s; }
.social-btn:hover .social-btn-label { color: var(--olive-light); }
.social-linkedin .social-btn-icon { background: #0A66C2; color: white; }
.social-youtube .social-btn-icon { background: #FF0000; color: white; }
.social-instagram .social-btn-icon { background: linear-gradient(135deg, #405DE6, #C13584, #E1306C, #FD1D1D, #F56040); color: white; }
.social-tiktok .social-btn-icon { background: #010101; color: white; border: 1px solid rgba(255,255,255,0.1); }
.social-facebook .social-btn-icon { background: #1877F2; color: white; }
.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive-light); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; color: #A8A8A0; transition: color .2s; }
.footer-links a:hover { color: var(--olive-light); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-input { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 2px; padding: 10px 14px; font-family: 'Inter', sans-serif; font-size: 13px; color: white; outline: none; }
.newsletter-input::placeholder { color: #555; }
.newsletter-input:focus { border-color: var(--olive); }
.btn-subscribe { background: var(--olive); color: white; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 20px; border: none; border-radius: 2px; cursor: pointer; transition: background .2s; }
.btn-subscribe:hover { background: var(--olive-dark); }
.footer-bottom { background: rgba(0,0,0,0.25); padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: #888; }
.footer-badges { display: flex; gap: 8px; }
.footer-badge { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); border: 1px solid rgba(122,140,74,0.3); padding: 3px 10px; border-radius: 1px; }
.footer-badge a { color: var(--olive); }
.footer-badge a:hover { color: var(--olive-light); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 13px; color: #888; transition: color .2s; }
.footer-legal a:hover { color: var(--olive-light); }

/* ========== PRODUCT DETAIL PAGE ========== */
.product-page { padding: 40px 0 80px; }
.product-layout { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.gallery-main { background: var(--off-white); border: 1px solid var(--border); border-radius: 3px; height: 460px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb { width: 80px; height: 80px; background: var(--off-white); border: 2px solid var(--border); border-radius: 2px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s; overflow: hidden; flex-shrink: 0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gallery-thumb.active { border-color: var(--olive); }
.gallery-thumb:hover { border-color: var(--olive-light); }
.product-info-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
.product-info-name { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 800; text-transform: uppercase; line-height: 1.1; color: var(--charcoal); margin-bottom: 10px; }
.product-info-sku-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-size: 13px; color: #777; }
.product-info-sku-row strong { color: var(--charcoal-mid); font-weight: 600; }
.product-stock-badge { display: inline-flex; align-items: center; gap: 5px; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 1px; }
.product-stock-badge.in-stock { background: #EEF5E8; color: #3A6B1C; border: 1px solid #C0DBA0; }
.product-price-main { font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 800; color: var(--charcoal); line-height: 1; margin-bottom: 4px; }
.product-micro-trust { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--off-white); border: 1px solid var(--border); border-radius: 3px; margin-bottom: 16px; }
.micro-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--charcoal-mid); font-weight: 500; }
.product-tabs-section { margin-top: 40px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 36px; }
.tab-btn { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 24px; border: none; background: transparent; cursor: pointer; color: var(--charcoal-light); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; }
.tab-btn.active { color: var(--olive); border-bottom-color: var(--olive); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =============================================
   WOOCOMMERCE OVERRIDES
============================================= */

/* Reset WooCommerce default margins */
.woocommerce-page .woocommerce,
.woocommerce-page .woocommerce-page { margin: 0; }

/* Breadcrumb */
.woocommerce-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px !important; color: var(--charcoal-light) !important; padding: 14px 0 !important; border-bottom: 1px solid var(--border) !important; margin-bottom: 32px !important; background: var(--off-white); }
.woocommerce-breadcrumb a { color: var(--charcoal-light) !important; }
.woocommerce-breadcrumb a:hover { color: var(--olive) !important; }

/* ---- SHOP / ARCHIVE ---- */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: white !important;
  border: 1px solid var(--border) !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  transition: box-shadow .2s, transform .2s !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.1) !important; transform: translateY(-2px) !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product a img {
  height: 200px !important;
  width: 100% !important;
  object-fit: contain !important;
  background: var(--off-white) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  color: var(--charcoal) !important;
  padding: 14px 16px 4px !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .price {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--charcoal) !important;
  padding: 0 16px 10px !important;
  display: block !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .price del { font-size: 14px !important; color: #888 !important; }
.woocommerce ul.products li.product .button {
  margin: 0 16px 16px !important;
  width: calc(100% - 32px) !important;
  box-sizing: border-box !important;
  background: var(--charcoal) !important;
  color: white !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 10px !important;
  border: none !important;
  border-radius: 2px !important;
  transition: background .2s !important;
  text-align: center !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--olive) !important; }
.woocommerce ul.products li.product .onsale {
  background: var(--red) !important;
  border-radius: 1px !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  top: 10px !important;
  left: 10px !important;
  min-height: auto !important;
  min-width: auto !important;
  padding: 3px 8px !important;
  line-height: 1.5 !important;
}

/* ---- SINGLE PRODUCT ---- */
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: 1fr 420px !important;
  gap: 56px !important;
  align-items: start !important;
  padding: 40px 0 !important;
}
.woocommerce div.product .woocommerce-product-gallery { margin: 0 !important; }
.woocommerce div.product .woocommerce-product-gallery__image img { border: 1px solid var(--border); border-radius: 3px; }
.woocommerce div.product .summary { padding: 0 !important; }
.woocommerce div.product .product_title { font-family: 'Barlow Condensed', sans-serif !important; font-size: 34px !important; font-weight: 800 !important; text-transform: uppercase !important; line-height: 1.1 !important; color: var(--charcoal) !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: 'Barlow Condensed', sans-serif !important; font-size: 42px !important; font-weight: 800 !important; color: var(--charcoal) !important; line-height: 1 !important; }
.woocommerce div.product .product_meta { font-size: 13px; color: #777; margin: 12px 0; }
.woocommerce div.product .product_meta span { margin-right: 16px; }
.woocommerce div.product form.cart .qty { border: 1px solid var(--border) !important; border-radius: 2px !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 18px !important; font-weight: 700 !important; height: 44px !important; padding: 0 12px !important; width: 60px !important; text-align: center !important; }
.woocommerce div.product form.cart .single_add_to_cart_button { background: var(--charcoal) !important; color: white !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; padding: 13px 24px !important; border: none !important; border-radius: 2px !important; cursor: pointer !important; transition: background .2s !important; height: auto !important; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--olive) !important; }

/* Product tabs */
.woocommerce div.product .woocommerce-tabs .tabs { border-bottom: 2px solid var(--border) !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs .tabs li { border: none !important; background: transparent !important; margin: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs .tabs li a { font-family: 'Barlow Condensed', sans-serif !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: var(--charcoal-light) !important; padding: 14px 24px !important; border-bottom: 3px solid transparent !important; margin-bottom: -2px !important; display: block !important; }
.woocommerce div.product .woocommerce-tabs .tabs li.active a { color: var(--olive) !important; border-bottom-color: var(--olive) !important; }
.woocommerce div.product .woocommerce-tabs .tabs li::before, .woocommerce div.product .woocommerce-tabs .tabs li::after { display: none !important; }

/* ---- CART ---- */
.woocommerce-cart .woocommerce { margin-top: 40px; }
.woocommerce-cart table.cart { border: 1px solid var(--border) !important; border-radius: 3px !important; border-collapse: separate !important; border-spacing: 0 !important; }
.woocommerce-cart table.cart th { background: var(--off-white) !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0.15em !important; text-transform: uppercase !important; color: var(--charcoal-light) !important; border-bottom: 1px solid var(--border) !important; padding: 12px 16px !important; }
.woocommerce-cart table.cart td { border-bottom: 1px solid var(--border) !important; padding: 16px !important; vertical-align: middle !important; }
.woocommerce-cart table.cart td.product-thumbnail img { width: 72px !important; height: 72px !important; object-fit: contain !important; border: 1px solid var(--border) !important; border-radius: 2px !important; padding: 4px !important; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none !important; width: 100% !important; max-width: 380px !important; margin-left: auto !important; border: 1px solid var(--border) !important; border-radius: 3px !important; overflow: hidden !important; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { background: var(--charcoal) !important; color: white !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; padding: 14px 20px !important; margin: 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { background: var(--olive) !important; color: white !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 17px !important; font-weight: 800 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; padding: 15px !important; border-radius: 2px !important; display: block !important; text-align: center !important; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { background: var(--olive-dark) !important; }

/* ---- CHECKOUT ---- */
.woocommerce-checkout .woocommerce { margin-top: 40px; }
.woocommerce form .form-row label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); }
.woocommerce form .form-row input, .woocommerce form .form-row select, .woocommerce form .form-row textarea { border: 1px solid var(--border) !important; border-radius: 2px !important; padding: 10px 14px !important; font-family: 'Inter', sans-serif !important; font-size: 14px !important; width: 100% !important; box-sizing: border-box !important; }
.woocommerce form .form-row input:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus { border-color: var(--olive) !important; outline: none !important; }
.woocommerce-checkout #payment #place_order { background: var(--olive) !important; color: white !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 18px !important; font-weight: 800 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; padding: 16px !important; border-radius: 2px !important; width: 100% !important; border: none !important; }
.woocommerce-checkout #payment #place_order:hover { background: var(--olive-dark) !important; }

/* Notices */
.woocommerce-message { border-top-color: var(--olive) !important; }
.woocommerce-info { border-top-color: var(--charcoal) !important; }
.woocommerce .button.wc-forward { background: var(--olive) !important; color: white !important; font-family: 'Barlow Condensed', sans-serif !important; font-weight: 700 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; border-radius: 2px !important; }

/* Results count and ordering */
.woocommerce-result-count { font-size: 14px; color: var(--charcoal-mid); }
.woocommerce-ordering select { border: 1px solid var(--border); border-radius: 2px; padding: 7px 12px; font-family: 'Inter', sans-serif; font-size: 13px; }

/* =============================================
   PAGE TRANSITIONS
============================================= */

/* Page starts invisible — JS adds .page-ready to fade in */
body {
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  transform: translateY(4px);
}
body.page-ready {
  opacity: 1;
  transform: translateY(0);
}
/* Fade out when navigating away */
body.page-leaving {
  opacity: 0;
  transform: translateY(-4px);
}

/* Thin olive progress bar at very top of page */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--olive-light);
  z-index: 9999;
  transition: width 0.4s ease, opacity 0.3s ease;
  pointer-events: none;
}
body.page-leaving::before {
  width: 100%;
  opacity: 0;
}

/* =============================================
   ACTIVE NAV STATE
============================================= */

/* Highlighted by JS when on matching page/category */
.mega-nav-link.is-active {
  background: var(--olive-dark) !important;
  color: white !important;
}
.mega-nav-link.is-active .chevron {
  opacity: 1;
}

/* Dropdown link hover — smoother */
.dropdown-links a {
  border-radius: 2px;
  padding: 4px 6px;
  margin: 0 -6px;
  transition: color .15s ease, padding-left .15s ease, background .15s ease;
}
.dropdown-links a:hover {
  background: var(--olive-pale);
  color: var(--olive-dark);
  padding-left: 10px;
}

/* Smooth hover on all nav links */
.mega-nav-link {
  transition: background 0.15s ease, color 0.15s ease !important;
}

/* Category cards — smoother transition */
.cat-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease !important;
}

/* Product cards — smoother */
.product-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease !important;
}

/* Buttons — consistent feel */
.btn-primary, .btn-cart, .btn-outline, .btn-white, .btn-cert {
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease !important;
}
