/* ============================================================
   VOEP × FLATSOME — Custom Child Theme Stylesheet (v2)
   Replace assets/voep.css entirely with this file.
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
    --ink:        #0E0C09;
    --ink-soft:   #1A1612;
    --rust:       #C0390F;
    --rust-dim:   #8B2A0B;
    --brass:      #B8892A;
    --brass-dim:  #7A5A18;
    --fog:        #D6CFBF;
    --parchment:  #F2EDE4;
    --steel:      #4A4740;
    --ocean:      #1A2B38;
    --ocean-mid:  #243849;
    --white:      #FAF8F4;

    --container:  1280px;
    --gutter:     clamp(20px, 4vw, 64px);
}

/* ── BASE ───────────────────────────────────────────────────── */
body.home,
body.page-template-front-page {
    background: var(--ink);
    color: var(--parchment);
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 17px;
    line-height: 1.65;
}

body.home #main,
body.home .page-wrapper,
body.home .main-page-wrapper {
    background: var(--ink);
}

body.home h1,
body.home h2,
body.home h3,
body.home h4,
body.home h5,
body.home h6 {
    font-family: 'Bebas Neue', Impact, sans-serif;
    letter-spacing: 0.02em;
    color: var(--parchment);
    font-weight: 400;
    line-height: 1;
}

body.home p,
body.home a {
    color: var(--parchment);
}

body.home a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* ── SECTION CONTAINER (default for non-hero sections) ──────── */
body.home section {
    padding: clamp(60px, 10vw, 120px) var(--gutter);
    position: relative;
    background: var(--ink);
}

body.home section + section {
    border-top: 1px solid rgba(184, 137, 42, 0.12);
}

/* ── HERO LAYOUT ────────────────────────────────────────────── */
/* Hero overrides the default section padding — full-bleed split */
body.home section.voep-hero {
    padding: 0;
    border-top: none;
}

.voep-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    max-width: none;
    margin: 0;
    min-height: 88vh;
}

/* Hero left column — text content */
.voep-hero-left {
    padding: clamp(60px, 8vw, 120px) clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ink);
    position: relative;
    z-index: 2;
}

.voep-hero-eyebrow {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--brass);
    letter-spacing: 0.18em;
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(184, 137, 42, 0.3);
    display: inline-block;
    align-self: flex-start;
}

.voep-hero h1 {
    font-size: clamp(56px, 9vw, 120px);
    line-height: 0.95;
    margin: 0 0 32px 0;
    color: var(--parchment);
    text-transform: uppercase;
}

.voep-hero h1 em {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--rust);
    display: block;
    margin-top: 8px;
    text-transform: none;
}

.voep-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--fog);
    max-width: 520px;
    margin: 0 0 40px 0;
    font-family: 'Crimson Pro', serif;
    font-style: italic;
}

.voep-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.voep-btn-primary,
.voep-btn-outline {
    display: inline-block;
    padding: 16px 28px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.12em;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
}

.voep-btn-primary {
    background: var(--rust);
    color: var(--white);
    border-color: var(--rust);
}

.voep-btn-primary:hover {
    background: var(--rust-dim);
    border-color: var(--rust-dim);
    color: var(--white);
}

.voep-btn-outline {
    background: transparent;
    color: var(--parchment);
    border-color: rgba(242, 237, 228, 0.3);
}

.voep-btn-outline:hover {
    background: rgba(242, 237, 228, 0.08);
    color: var(--white);
    border-color: var(--parchment);
}

.voep-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(242, 237, 228, 0.15);
    max-width: 520px;
    justify-content: start;
}

.voep-hero-stat .n {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    color: var(--rust);
    line-height: 1;
    margin-bottom: 6px;
}

.voep-hero-stat .l {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--fog);
    line-height: 1.3;
}

/* ── HERO RIGHT — FULL-BLEED BLUEPRINT PANEL ────────────────── */
.voep-hero-right {
    display: none; /* hidden on mobile */
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(192, 57, 15, 0.06), transparent 55%),
        linear-gradient(180deg, #1f3852 0%, #15283c 100%);
}

/* Small grid layer */
.voep-hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 137, 42, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 137, 42, 0.10) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    z-index: 1;
}

/* Major grid layer (every 4 cells) */
.voep-hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 137, 42, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 137, 42, 0.16) 1px, transparent 1px);
    background-size: 224px 224px;
    pointer-events: none;
    z-index: 1;
}

/* Engine SVG container — fills the column, centers contents */
.voep-hero-engine-graphic {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 6vw, 100px) clamp(20px, 3vw, 60px);
    z-index: 2;
}

.voep-hero-engine-graphic .engine-svg {
    width: auto;
    height: clamp(380px, 70vh, 720px);
    max-width: 90%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
/* Brand tags pinned to bottom of blueprint panel */
.voep-hero-brand-tags {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    margin: 0;
}
.voep-brand-tag {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--brass);
    text-transform: uppercase;
    border: 1px solid rgba(184, 137, 42, 0.35);
    padding: 6px 14px;
    border-radius: 2px;
    background: transparent;
}

/* ── SHOP BY BRAND STRIP (between hero and categories) ──────── */
body.home section.voep-brand-strip,
body.home .voep-brand-strip {
    background: var(--ocean);
    border-top: 1px solid rgba(184, 137, 42, 0.15);
    border-bottom: 1px solid rgba(184, 137, 42, 0.15);
    padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 64px);
}

.voep-brand-strip-header {
    max-width: 1100px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.voep-brand-strip-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.16em;
    color: var(--brass);
    white-space: nowrap;
    flex-shrink: 0;
}

.voep-brand-strip-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(184, 137, 42, 0.5), transparent);
    min-width: 40px;
}

.voep-brand-strip-stat {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--fog);
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(184, 137, 42, 0.25);
    padding: 6px 12px;
}

.voep-brand-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.voep-brand-pill {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    letter-spacing: 0.1em;
    color: var(--white);
    text-decoration: none;
    padding: 8px 20px;
    border: 1.5px solid rgba(184, 137, 42, 0.35);
    border-radius: 3px;
    background: rgba(184, 137, 42, 0.09);
    display: inline-block;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.voep-brand-pill:hover {
    color: var(--brass);
    border-color: rgba(184, 137, 42, 0.7);
    background: rgba(184, 137, 42, 0.18);
}

.voep-brand-pill--others {
    border-color: rgba(214, 207, 191, 0.2);
    color: var(--fog);
    background: rgba(214, 207, 191, 0.05);
    font-style: italic;
}

/* ── SECTION HEADER (shared across categories, reviews, etc.) ─ */
.voep-section-header {
    max-width: var(--container);
    margin: 0 auto 64px auto;
}

.voep-section-eyebrow {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--brass);
    letter-spacing: 0.18em;
    font-size: 13px;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(184, 137, 42, 0.3);
    display: inline-block;
}

.voep-section-title {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.95;
    margin: 0;
    color: var(--parchment);
}

/* ── CATEGORIES ─────────────────────────────────────────────── */

/* ── NEW STOCK / PRODUCT GRID ───────────────────────────────── */
.voep-new-stock {
    background: var(--ink);
}

.voep-new-stock .products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

/* Card = ocean blue block, no padding (image fills top, info band fills bottom) */
.voep-new-stock .products .product {
    background: var(--ocean);
    border: 1px solid rgba(184, 137, 42, 0.15);
    padding: 0;
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    list-style: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.voep-new-stock .products .product:hover {
    border-color: rgba(184, 137, 42, 0.4);
    transform: translateY(-2px);
}

/* Image area — square aspect, ocean blue background, photo or gear placeholder */
.voep-new-stock .products .product .box-image,
.voep-new-stock .products .product .product-image {
    background: var(--ocean);
    margin: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.voep-new-stock .products .product .box-image img,
.voep-new-stock .products .product .product-image img,
.voep-new-stock .products .product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gear icon placeholder when no product photo
   WooCommerce default placeholder image gets replaced visually with a gear */
.voep-new-stock .products .product .box-image img.wp-post-image[src*="placeholder"],
.voep-new-stock .products .product .product-image img[src*="placeholder"],
.voep-new-stock .products .product .box-image:not(:has(img))::after,
.voep-new-stock .products .product .product-image:not(:has(img))::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--ocean);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A18' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3'/><path d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 64px 64px;
    pointer-events: none;
}

/* Info band — the entire card is ocean-mid, image area overrides top with ocean */
.voep-new-stock .products .product {
    background: var(--ocean-mid);
}
/* Make the box-text fill available space, then push price to bottom */
.voep-new-stock .products .product .box-text,
.voep-new-stock .products .product .box-text-products {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

.voep-new-stock .products .product .title-wrapper {
    flex: 1 1 auto;
}

.voep-new-stock .products .product .price-wrapper {
    margin-top: auto;
}
.voep-new-stock .products .product .box-image,
.voep-new-stock .products .product .product-image {
    background: var(--ocean);
}

/* Brand category label — top of info band, brass on dark */
.voep-new-stock .products .product .category,
.voep-new-stock .products .product .product-category,
.voep-new-stock .products .product .posted_in,
.voep-new-stock .products .product .cat-label {
    display: inline-block;
    background: rgba(184, 137, 42, 0.12);
    color: var(--brass) !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 8px;
    margin: 16px 16px 8px 16px;
    border: 1px solid rgba(184, 137, 42, 0.4);
}

/* SKU — brass courier under brand */
.voep-new-stock .products .product .sku,
.voep-new-stock .products .product .product-sku {
    display: block;
    color: var(--brass);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.05em;
    margin: 0 16px 4px 16px;
}

/* Title — white parchment */
.voep-new-stock .products .product .name,
.voep-new-stock .products .product .product-title,
.voep-new-stock .products .product h2,
.voep-new-stock .products .product h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--parchment) !important;
    margin: 0 16px 12px 16px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price + add-to-cart row — sits at the bottom */
.voep-new-stock .products .product .price-wrapper,
.voep-new-stock .products .product .price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto 16px 16px 16px;
    color: var(--white) !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    text-decoration: none;
    margin-top: auto;
}

.voep-new-stock .products .product .price .amount,
.voep-new-stock .products .product .price ins,
.voep-new-stock .products .product .price ins .amount {
    color: var(--white) !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    text-decoration: none;
    font-weight: 400;
}

.voep-new-stock .products .product .price del,
.voep-new-stock .products .product .price del .amount {
    color: var(--steel);
    font-size: 16px;
}

/* Add-to-cart button — small rust square with + icon (decoration for now) */
.voep-new-stock .products .product .button,
.voep-new-stock .products .product .add_to_cart_button {
    background: var(--rust);
    color: var(--white);
    border: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.voep-new-stock .products .product .button::before,
.voep-new-stock .products .product .add_to_cart_button::before {
    content: '+';
    font-size: 22px;
    line-height: 1;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
}

.voep-new-stock .products .product .button:hover,
.voep-new-stock .products .product .add_to_cart_button:hover {
    background: var(--rust-dim);
    color: var(--white);
}

/* Hide WooCommerce extras we don't want in the card */
.voep-new-stock .products .product .badge-container,
.voep-new-stock .products .product .out-of-stock-label,
.voep-new-stock .products .product .star-rating {
    display: none;
}

/* ── STORY ──────────────────────────────────────────────────── */
.voep-story {
    background: var(--ocean);
    color: var(--parchment);
}

.voep-story-inner {
    max-width: 820px;
    margin: 0 auto;
}

.voep-story-text .voep-section-title {
    margin-bottom: 32px;
}

.voep-story-text p {
    font-size: 19px;
    line-height: 1.7;
    color: var(--fog);
    font-family: 'Crimson Pro', serif;
}

/* ── REVIEWS — REFINED TO MATCH CONCEPT ─────────────────────── */

/* Section background flips to ocean blue */
body.home section.voep-reviews {
    background: var(--ink);
    padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 64px);
}

/* Header — left-aligned eyebrow + stacked headline (override the centered shared style) */
.voep-reviews-header {
    max-width: var(--container);
    margin: 0 auto clamp(48px, 6vw, 80px) auto;
    text-align: left;
}

.voep-reviews-header .voep-section-eyebrow {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brass);
    border-bottom: none;
    padding-bottom: 0;
    margin: 0 0 24px 0;
    display: block;
}

.voep-reviews-header .voep-section-title {
    font-size: clamp(56px, 8vw, 96px);
    line-height: 0.92;
    margin: 0;
    color: var(--parchment);
    text-transform: uppercase;
}

/* Cards — flip to ocean blue, drop the visible border */
body.home .voep-reviews-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

body.home .voep-review-card {
    background: var(--ocean);
    border: none;
    padding: clamp(28px, 3vw, 40px);
    transition: background 0.3s ease;
}

body.home .voep-review-card:hover {
    background: var(--ocean-mid);
    border: none;
}

body.home .voep-review-stars {
    color: var(--brass);
    letter-spacing: 0.25em;
    margin-bottom: 24px;
    font-size: 14px;
}

body.home .voep-review-text {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    color: var(--parchment);
    margin: 0 0 28px 0;
}

body.home .voep-review-author {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--brass);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    body.home .voep-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
/* ── TRUST STRIP (between product grid and story) ───────────── */
body.home section.voep-trust,
body.home .voep-trust {
    background: var(--ocean);
    border-top: 1px solid rgba(184, 137, 42, 0.15);
    border-bottom: 1px solid rgba(184, 137, 42, 0.15);
    padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
}

.voep-trust-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
}

.voep-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}

.voep-trust-icon {
    width: 48px;
    height: 48px;
    color: var(--brass);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voep-trust-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.voep-trust-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 0.16em;
    color: var(--parchment);
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.voep-trust-desc {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: var(--fog);
    max-width: 240px;
    margin: 0;
}

@media (min-width: 640px) {
    .voep-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 56px 32px;
    }
}

@media (min-width: 1024px) {
    .voep-trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}
/* ── STORY (refined two-column with timeline) ───────────────── */
body.home section.voep-story {
    background: var(--ocean);
    color: var(--parchment);
    padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 64px);
    position: relative;
    overflow: hidden;
}

/* Big "1964" watermark in the bottom-right corner */
.voep-story-watermark {
    position: absolute;
    right: -2vw;
    bottom: 8%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(180px, 32vw, 480px);
    line-height: 0.85;
    color: var(--parchment);
    opacity: 0.04;
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.voep-story-watermark-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--rust);
    border-radius: 50%;
    vertical-align: baseline;
    margin-left: 4px;
    opacity: 8; /* The watermark itself is 0.04, the dot needs to break through */
}

/* Two-column grid */
.voep-story-grid {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(64px, 8vw, 96px);
}

/* Shared eyebrow style for both columns */
.voep-story-eyebrow {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 32px 0;
}

/* ── LEFT COLUMN — TIMELINE ─────────────────────────────────── */
.voep-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Vertical line connecting the markers */
.voep-timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 12px;
    bottom: 24px;
    width: 1px;
    background: rgba(184, 137, 42, 0.3);
}

.voep-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding-bottom: 40px;
    align-items: start;
}

.voep-timeline-item:last-child {
    padding-bottom: 0;
}

/* Circle marker with year/today text */
.voep-timeline-marker {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(184, 137, 42, 0.5);
    background: var(--ocean);
    color: var(--brass);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.voep-timeline-item--current .voep-timeline-marker {
    border-color: var(--rust);
    color: var(--rust);
    background: rgba(192, 57, 15, 0.1);
}

.voep-timeline-content {
    padding-top: 8px;
}

.voep-timeline-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(18px, 1.8vw, 22px);
    letter-spacing: 0.08em;
    color: var(--parchment);
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.voep-timeline-desc {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: var(--fog);
    margin: 0;
}

/* ── RIGHT COLUMN — STORY TEXT ──────────────────────────────── */
body.home .voep-story-text .voep-section-title {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 0.95;
    margin: 0 0 32px 0;
    color: var(--parchment);
    text-transform: uppercase;
}

.voep-story-para {
    font-family: 'Crimson Pro', serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--parchment);
    margin: 0 0 28px 0;
}

.voep-story-para strong {
    font-weight: 600;
    color: var(--white);
}

.voep-story-quote {
    border-left: 2px solid var(--rust);
    padding: 8px 0 8px 24px;
    margin: 0 0 28px 0;
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.5;
    color: var(--parchment);
}

.voep-story-cta {
    margin-top: 16px;
}

/* Responsive */
@media (min-width: 1024px) {
    .voep-story-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: clamp(64px, 6vw, 96px);
    }
}
/* ── RESPONSIVE BREAKPOINTS — restore deleted queries ───────── */
@media (min-width: 768px) {
    .voep-new-stock .products {
        grid-template-columns: repeat(3, 1fr);
    }
    .voep-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .voep-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .voep-hero {
        grid-template-columns: 1fr 1fr;
    }
    .voep-hero-right {
        display: block;
    }
    .voep-new-stock .products {
        grid-template-columns: repeat(4, 1fr);
    }
    .voep-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
    .voep-hero-brand-tags {
        display: none;
    }
}
/* ── SKU SEARCH BAND ────────────────────────────────────────── */
body.home section.voep-sku-search {
    padding: 0;
    background: var(--ink);
    border-top: none;
}

.voep-sku-search-inner {
    background: var(--rust);
    padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px);
    max-width: var(--container);
    margin: clamp(40px, 6vw, 80px) auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 4vw, 48px);
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Diagonal hatch pattern overlay */
.voep-sku-search-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 24px,
        rgba(255, 255, 255, 0.04) 24px,
        rgba(255, 255, 255, 0.04) 25px
    );
    pointer-events: none;
    z-index: 1;
}

/* Text column */
.voep-sku-search-text {
    position: relative;
    z-index: 2;
}

.voep-sku-search-eyebrow {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.7);
    margin: 0 0 16px 0;
}

.voep-sku-search-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
}

/* Form column */
.voep-sku-search-form {
    position: relative;
    z-index: 2;
}

/* ── FIBOSEARCH MINIMAL OVERRIDES ────────────────────────────── */

/* Container — fill the column */
.voep-sku-search-form .dgwt-wcas-search-wrapp,
.voep-sku-search-form form.dgwt-wcas-search-form,
.voep-sku-search-form .dgwt-wcas-sf-wrapp {
    width: 100%;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0;
    height: 56px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Input field */
.voep-sku-search-form input.dgwt-wcas-search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: var(--parchment) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 15px !important;
    letter-spacing: 0.05em !important;
    padding: 0 20px !important;
    height: 100% !important;
    box-shadow: none !important;
    outline: none !important;
}

.voep-sku-search-form input.dgwt-wcas-search-input::placeholder {
    color: rgba(242, 237, 228, 0.55) !important;
}

/* Hide everything FiboSearch puts inside that we don't want:
   - The submit button (the black rectangle)
   - The voice search button
   - The magnifier icon
   - The preloader */
.voep-sku-search-form button.dgwt-wcas-search-submit,
.voep-sku-search-form .dgwt-wcas-voice-search,
.voep-sku-search-form .dgwt-wcas-search-icon,
.voep-sku-search-form .js-dgwt-wcas-search-icon,
.voep-sku-search-form .dgwt-wcas-preloader {
    display: none !important;
}

/* Style the X close (clear) button — keep this one visible */
.voep-sku-search-form .dgwt-wcas-close,
.voep-sku-search-form .js-dgwt-wcas-search-close {
    color: var(--parchment) !important;
    background: transparent !important;
    opacity: 0.6;
    right: 16px !important;
}

.voep-sku-search-form .dgwt-wcas-close:hover {
    opacity: 1;
}

/* ── DROPDOWN SUGGESTIONS — global because they portal to <body> ── */
.dgwt-wcas-suggestions-wrapp,
div.dgwt-wcas-suggestions-wrapp {
    background: var(--ink) !important;
    border: 1px solid rgba(184, 137, 42, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    color: var(--parchment) !important;
}

.dgwt-wcas-suggestion {
    background: var(--ink) !important;
    color: var(--parchment) !important;
    border-bottom: 1px solid rgba(184, 137, 42, 0.1) !important;
    padding: 12px 16px !important;
}

.dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestion-focused {
    background: var(--ocean) !important;
    color: var(--white) !important;
}

.dgwt-wcas-st-title,
.dgwt-wcas-suggestion .dgwt-wcas-st-title {
    color: var(--parchment) !important;
    font-family: 'Crimson Pro', serif !important;
}

.dgwt-wcas-st-title strong {
    color: var(--brass) !important;
}

.dgwt-wcas-suggestion .dgwt-wcas-pi {
    background: var(--ink-soft) !important;
    border: 1px solid rgba(184, 137, 42, 0.15) !important;
    border-radius: 0 !important;
}

.dgwt-wcas-st-price,
.dgwt-wcas-st-price .amount {
    color: var(--rust) !important;
    font-family: 'Bebas Neue', sans-serif !important;
}

.dgwt-wcas-st-sku {
    color: var(--brass) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 12px !important;
}

.dgwt-wcas-details-title,
.dgwt-wcas-sd-title {
    background: var(--ink-soft) !important;
    color: var(--brass) !important;
    border-top: 1px solid rgba(184, 137, 42, 0.2) !important;
}
/* ── SHOP BY BRAND — BENTO GRID ─────────────────────────────── */
body.home section.voep-categories {
    background: var(--ink);
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 64px);
}

.voep-cat-header {
    max-width: var(--container);
    margin: 0 auto clamp(40px, 5vw, 64px) auto;
}

body.home .voep-cat-header .voep-section-eyebrow {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 24px 0;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
}

body.home .voep-cat-header .voep-section-title {
    font-size: clamp(56px, 8vw, 96px);
    line-height: 0.92;
    margin: 0;
    color: var(--parchment);
    text-transform: uppercase;
}

/* Grid — mobile: single column, desktop: 2fr 1fr 1fr × 2 rows */
.voep-cat-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Card — base */
.voep-cat-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    aspect-ratio: 16 / 10;
    min-height: 220px;
}

/* Background container — holds the SVG pattern + brand mark */
.voep-cat-card-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.voep-cat-card:hover .voep-cat-card-bg {
    transform: scale(1.04);
}

/* Brand-specific gradient backgrounds */
.voep-cat-card--mercury .voep-cat-card-bg {
    background: linear-gradient(160deg, #6b1208 0%, #8a1a0a 50%, #a02010 100%);
}
.voep-cat-card--yamaha .voep-cat-card-bg {
    background: linear-gradient(160deg, #6a0808 0%, #880a0a 50%, #aa1010 100%);
}
.voep-cat-card--suzuki .voep-cat-card-bg {
    background: linear-gradient(160deg, #0a2a4a 0%, #0d3860 50%, #104878 100%);
}
.voep-cat-card--honda .voep-cat-card-bg {
    background: linear-gradient(160deg, #680808 0%, #880a0a 50%, #a01010 100%);
}
.voep-cat-card--johnson .voep-cat-card-bg {
    background: linear-gradient(160deg, #0d2540 0%, #123560 50%, #184878 100%);
}

/* Geometric SVG pattern fills the card */
.voep-cat-svg-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

/* Brand wordmark SVG centered */
.voep-cat-svg-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    opacity: 0.8;
}

.voep-cat-svg-mark--two-lines {
    width: 75%;
}

/* Diagonal hatch overlay */
.voep-cat-card-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(184, 137, 42, 1) 0px,
        rgba(184, 137, 42, 1) 1px,
        transparent 1px,
        transparent 24px
    );
    pointer-events: none;
}

/* Dark gradient overlay for legibility */
.voep-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(14, 12, 9, 0.95) 0%,
        rgba(14, 12, 9, 0.5) 50%,
        rgba(14, 12, 9, 0.2) 100%);
    pointer-events: none;
}

/* Content — bottom-left of card */
.voep-cat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}

.voep-cat-card-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.08em;
    color: var(--white);
    line-height: 1;
}

.voep-cat-card-count {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--fog);
    margin-top: 8px;
    opacity: 0.7;
}

/* Arrow indicator — top-right of card */
.voep-cat-card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(184, 137, 42, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brass);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-8px);
    z-index: 2;
}

.voep-cat-card:hover .voep-cat-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── BENTO LAYOUT — DESKTOP ─────────────────────────────────── */
@media (min-width: 768px) {
    .voep-cat-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 260px 260px;
    }

    /* Mercury hero spans both rows on the left */
    .voep-cat-card--mercury {
        grid-row: 1 / 3;
        grid-column: 1;
        aspect-ratio: auto;
    }

    .voep-cat-card--yamaha,
    .voep-cat-card--suzuki,
    .voep-cat-card--honda,
    .voep-cat-card--johnson {
        aspect-ratio: auto;
        min-height: 0;
    }

    /* Mercury name is bigger */
    .voep-cat-card--mercury .voep-cat-card-name {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .voep-cat-grid {
        grid-template-rows: 300px 300px;
    }
}
/* ── FOOTER ─────────────────────────────────────────────────── */
.voep-footer {
    background: var(--ink);
    color: var(--fog);
    padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px) 0;
    border-top: 1px solid rgba(184, 137, 42, 0.12);
}

.voep-footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

/* Brand column */
.voep-footer-brand-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.voep-footer-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.voep-footer-brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 0.06em;
    color: var(--parchment);
    line-height: 1.1;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.voep-footer-brand-meta {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--brass);
    text-transform: uppercase;
}

.voep-footer-tagline {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(214, 207, 191, 0.7);
    margin: 0;
    max-width: 460px;
}

/* Column heading */
.voep-footer-heading {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 32px 0;
    font-weight: 400;
}

/* Link lists */
.voep-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.voep-footer-links li {
    font-family: 'Crimson Pro', serif;
    font-size: 17px;
    line-height: 1.4;
    color: rgba(214, 207, 191, 0.65);
}

.voep-footer-links a {
    color: rgba(214, 207, 191, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.voep-footer-links a:hover {
    color: var(--brass);
}

/* Bottom bar */
.voep-footer-bottom {
    border-top: 1px solid rgba(184, 137, 42, 0.12);
    padding: 28px 0 36px 0;
}

.voep-footer-bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.voep-footer-copyright,
.voep-footer-vat {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: rgba(214, 207, 191, 0.45);
    text-transform: uppercase;
}

/* Desktop — brand wide on left, 3 link cols pushed right and tight together */
@media (min-width: 768px) {
    .voep-footer-inner {
        grid-template-columns: 2.4fr auto auto auto;
        gap: clamp(40px, 5vw, 72px);
        justify-content: space-between;
        align-items: start;
    }

    .voep-footer-col:not(.voep-footer-brand) {
        min-width: 160px;
    }

    /* The 3 link columns sit closer together, separated from brand by the natural space-between */
    .voep-footer-inner > .voep-footer-col:nth-child(2),
    .voep-footer-inner > .voep-footer-col:nth-child(3),
    .voep-footer-inner > .voep-footer-col:nth-child(4) {
        margin-left: 0;
    }

    .voep-footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .voep-footer-inner {
        grid-template-columns: 2.6fr 1fr 1fr 1.3fr;
        gap: 48px;
    }

    /* Brand column gets all the breathing room; 3 link cols are tight as a unit */
    .voep-footer-brand {
        padding-right: clamp(40px, 6vw, 96px);
    }
}
/* ── MOBILE SIDE PANEL — DARK NAUTICAL THEME ────────────────── */

/* Panel background and overall colors */
.mfp-content .off-canvas,
.mfp-content .off-canvas-center,
#main-menu.mfp-ready,
.header-block-block-1,
.mobile-sidebar,
#main-menu .sidebar-menu {
    background: var(--ocean) !important;
    color: var(--parchment) !important;
}

/* Force panel container to ocean blue */
.mfp-container .mfp-content {
    background: var(--ocean) !important;
}

/* All text inside the mobile panel */
#main-menu,
#main-menu *,
.mobile-sidebar *,
.mobile-nav * {
    color: var(--parchment) !important;
}

/* Menu items */
.mobile-nav .nav-sidebar > li > a,
#main-menu .nav-sidebar > li > a,
.mobile-sidebar .nav > li > a {
    color: var(--parchment) !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 17px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid rgba(184, 137, 42, 0.15) !important;
    background: transparent !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}

.mobile-nav .nav-sidebar > li > a:hover,
#main-menu .nav-sidebar > li > a:hover,
.mobile-sidebar .nav > li > a:hover {
    color: var(--brass) !important;
    background: var(--ocean-mid) !important;
}

/* Active / current page menu item */
.mobile-nav .nav-sidebar > li.current-menu-item > a,
#main-menu .nav-sidebar > li.current-menu-item > a {
    color: var(--brass) !important;
    background: var(--ocean-mid) !important;
}

/* Dividers between menu items */
.mobile-nav .nav-sidebar > li,
#main-menu .nav-sidebar > li {
    border-color: rgba(184, 137, 42, 0.15) !important;
    background: transparent !important;
}

/* Search input field — dark, brass border, parchment text */
#main-menu .searchform input.search-field,
.mobile-sidebar .searchform input.search-field,
#main-menu input[type="search"],
.mobile-sidebar input[type="search"] {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(184, 137, 42, 0.3) !important;
    color: var(--parchment) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 14px !important;
    letter-spacing: 0.05em !important;
    height: 48px !important;
    padding: 0 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#main-menu .searchform input.search-field::placeholder,
.mobile-sidebar input[type="search"]::placeholder {
    color: rgba(242, 237, 228, 0.5) !important;
}

/* Search submit button — keep it rust */
#main-menu .searchform button[type="submit"],
.mobile-sidebar .searchform button[type="submit"],
#main-menu .submit-button {
    background: var(--rust) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 0 !important;
    height: 48px !important;
    width: 48px !important;
}

#main-menu .searchform button[type="submit"]:hover,
.mobile-sidebar .searchform button[type="submit"]:hover {
    background: var(--rust-dim) !important;
}

/* Search wrapper layout */
#main-menu .searchform,
.mobile-sidebar .searchform {
    display: flex !important;
    margin: 16px 20px 24px 20px !important;
    background: transparent !important;
}

/* Top header area inside the panel (logo / VOEP / EST. 1964) */
.mobile-sidebar .header-block,
#main-menu .header-block,
.mfp-content .header-bg-color {
    background: var(--ocean) !important;
}

/* Hamburger close icon */
.mfp-close,
#main-menu .mfp-close {
    color: var(--parchment) !important;
    opacity: 0.7 !important;
}

.mfp-close:hover {
    color: var(--brass) !important;
    opacity: 1 !important;
}

/* Social icons row at bottom */
.mobile-sidebar .social-icons a,
#main-menu .social-icons a,
.mobile-nav .social-icons a {
    color: rgba(184, 137, 42, 0.6) !important;
    background: transparent !important;
    border-color: rgba(184, 137, 42, 0.3) !important;
}

.mobile-sidebar .social-icons a:hover,
#main-menu .social-icons a:hover {
    color: var(--brass) !important;
    border-color: var(--brass) !important;
}

/* Hide LOGIN and NEWSLETTER menu items — Flatsome default cruft */
.mobile-nav .nav-sidebar > li.html_topbar_left,
.mobile-nav .nav-sidebar > li.account-item,
.mobile-nav .nav-sidebar > li.has-icon-bg,
#main-menu .nav-sidebar > li.account-item,
#main-menu .nav-sidebar > li.has-icon-bg {
    display: none !important;
}

/* More aggressive fallback — hide any menu item containing "login" or "newsletter" text 
   (Flatsome injects these via theme options, not menu, so class-based targeting is unreliable) */
.mobile-nav .nav-sidebar > li > a[href*="my-account"],
.mobile-nav .nav-sidebar > li > a[href*="login"],
.mobile-nav .nav-sidebar > li > a[href*="register"],
.mobile-nav .nav-sidebar > li > a[href*="newsletter"],
.mobile-nav .nav-sidebar > li > a[href*="mailto"],
#main-menu .nav-sidebar > li > a[href*="my-account"],
#main-menu .nav-sidebar > li > a[href*="newsletter"] {
    display: none !important;
}

/* Hide the parent <li> when the link inside is hidden */
.mobile-nav .nav-sidebar > li:has(> a[href*="my-account"]),
.mobile-nav .nav-sidebar > li:has(> a[href*="login"]),
.mobile-nav .nav-sidebar > li:has(> a[href*="newsletter"]),
#main-menu .nav-sidebar > li:has(> a[href*="my-account"]),
#main-menu .nav-sidebar > li:has(> a[href*="newsletter"]) {
    display: none !important;
}
/* ── FIBOSEARCH MOBILE OVERLAY — DARK NAUTICAL ──────────────── */

/* The overlay container — full-screen on mobile */
.dgwt-wcas-overlay-mobile,
body.dgwt-wcas-mobile-overlay-trigger-active .dgwt-wcas-overlay-mobile {
    background: var(--ink) !important;
}

/* The header bar inside the overlay */
.dgwt-wcas-om-bar {
    background: var(--ocean) !important;
    border-bottom: 1px solid rgba(184, 137, 42, 0.2) !important;
    padding: 12px 16px !important;
}

/* Overlay close button */
.dgwt-wcas-om-return {
    color: var(--parchment) !important;
}

.dgwt-wcas-om-return svg {
    fill: var(--parchment) !important;
}

/* Search input INSIDE the overlay — large tap target, dark theme */
.dgwt-wcas-overlay-mobile .dgwt-wcas-search-input,
.dgwt-wcas-overlay-mobile input.dgwt-wcas-search-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(184, 137, 42, 0.3) !important;
    color: var(--parchment) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 16px !important;  /* 16px prevents iOS zoom on focus */
    letter-spacing: 0.05em !important;
    height: 52px !important;
    padding: 0 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
}

.dgwt-wcas-overlay-mobile .dgwt-wcas-search-input::placeholder {
    color: rgba(242, 237, 228, 0.5) !important;
}

/* Suggestions area inside overlay — fills the screen */
.dgwt-wcas-overlay-mobile .dgwt-wcas-suggestions-wrapp,
body.dgwt-wcas-mobile-overlay-trigger-active .dgwt-wcas-suggestions-wrapp {
    background: var(--ink) !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
}

/* ── INDIVIDUAL SUGGESTION ROWS — MOBILE-FRIENDLY LAYOUT ────── */

.dgwt-wcas-suggestion {
    background: var(--ink) !important;
    color: var(--parchment) !important;
    border-bottom: 1px solid rgba(184, 137, 42, 0.1) !important;
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 72px !important;  /* tap target */
}

.dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestion-focused {
    background: var(--ocean) !important;
}

/* Product image thumbnail — fixed size, doesn't squish */
.dgwt-wcas-suggestion .dgwt-wcas-pi {
    flex-shrink: 0 !important;
    width: 56px !important;
    height: 56px !important;
    background: var(--ink-soft) !important;
    border: 1px solid rgba(184, 137, 42, 0.15) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.dgwt-wcas-suggestion .dgwt-wcas-pi img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Text content area — flexible, takes remaining space */
.dgwt-wcas-suggestion .dgwt-wcas-content-wrapp,
.dgwt-wcas-suggestion .dgwt-wcas-st {
    flex: 1 !important;
    min-width: 0 !important;  /* allows text-overflow to work */
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    overflow: hidden !important;
}

/* Product title — single line, ellipsis if too long */
.dgwt-wcas-st-title,
.dgwt-wcas-suggestion .dgwt-wcas-st-title {
    color: var(--parchment) !important;
    font-family: 'Crimson Pro', serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.dgwt-wcas-st-title strong {
    color: var(--brass) !important;
    font-weight: 600 !important;
}

/* SKU — small, brass, courier, separate line */
.dgwt-wcas-st-sku,
.dgwt-wcas-suggestion .dgwt-wcas-st-sku {
    color: var(--brass) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Price — fixed to the right, doesn't fight title for space */
.dgwt-wcas-st-price,
.dgwt-wcas-suggestion .dgwt-wcas-st-price {
    color: var(--rust) !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    padding-left: 12px !important;
    white-space: nowrap !important;
}

.dgwt-wcas-st-price .amount {
    color: var(--rust) !important;
    font-family: 'Bebas Neue', sans-serif !important;
}

/* Section headings inside suggestions ("Products", "Categories") */
.dgwt-wcas-details-title,
.dgwt-wcas-sd-title,
.dgwt-wcas-suggestion-headline {
    background: var(--ink-soft) !important;
    color: var(--brass) !important;
    border-top: 1px solid rgba(184, 137, 42, 0.2) !important;
    border-bottom: 1px solid rgba(184, 137, 42, 0.1) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    padding: 12px 16px !important;
}

/* "View all results" link at the bottom */
.dgwt-wcas-suggestion-more,
.dgwt-wcas-suggestion-more-total {
    background: var(--ocean) !important;
    color: var(--brass) !important;
    border-top: 1px solid rgba(184, 137, 42, 0.2) !important;
    border-bottom: none !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 18px 16px !important;
    text-align: center !important;
    justify-content: center !important;
}

.dgwt-wcas-suggestion-more:hover {
    background: var(--ocean-mid) !important;
    color: var(--white) !important;
}

/* "No results" message */
.dgwt-wcas-suggestion-nores,
.dgwt-wcas-nores {
    background: var(--ink) !important;
    color: var(--fog) !important;
    font-family: 'Crimson Pro', serif !important;
    font-style: italic !important;
    padding: 24px 16px !important;
    text-align: center !important;
}

/* ── DESKTOP DROPDOWN — KEEP EXISTING TREATMENT REFINED ─────── */

@media (min-width: 768px) {
    /* Constrain dropdown width on desktop — don't let it grow wider than input */
    .dgwt-wcas-suggestions-wrapp:not(.dgwt-wcas-overlay-mobile .dgwt-wcas-suggestions-wrapp) {
        max-width: 600px !important;
        width: auto !important;
    }

    /* Slightly tighter rows on desktop */
    .dgwt-wcas-suggestion {
        min-height: 64px !important;
        padding: 12px 16px !important;
    }
}

/* ── HIDE THE BROKEN STATE ON MOBILE WHEN OVERLAY ISN'T TRIGGERED ── */
/* (fallback so users never see the cramped dropdown even if overlay setting is off) */

@media (max-width: 767px) {
    /* Make sure the in-page dropdown becomes full-width if overlay isn't on */
    .voep-sku-search-form .dgwt-wcas-suggestions-wrapp,
    body:not(.dgwt-wcas-mobile-overlay-trigger-active) .dgwt-wcas-suggestions-wrapp {
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        max-height: 70vh !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-y: auto !important;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6) !important;
        border-top: 1px solid rgba(184, 137, 42, 0.3) !important;
        border-radius: 0 !important;
    }
}
/* ── HIDE THE BROKEN STATE ON MOBILE WHEN OVERLAY ISN'T TRIGGERED ── */
@media (max-width: 767px) {
    .voep-sku-search-form .dgwt-wcas-suggestions-wrapp,
    body:not(.dgwt-wcas-mobile-overlay-trigger-active) .dgwt-wcas-suggestions-wrapp {
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        max-height: 70vh !important;
        ...
    }
}
/* ====== PRODUCT CARD PRICE ALIGNMENT FIX ====== */
/* Pin product prices to bottom of card regardless of title length */
.voep-new-stock .products .product .product-small.box {
    height: 100% !important;
}
.voep-new-stock .products .product .product-small.box > .box-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}
.voep-new-stock .products .product .product-small.box > .box-text > .title-wrapper {
    flex: 1 1 auto !important;
}
.voep-new-stock .products .product .product-small.box > .box-text > .price-wrapper {
    margin-top: auto !important;
}
/* Height propagation from grid cell down to card */
.voep-new-stock .products .product {
    display: flex !important;
    height: 100% !important;
}
.voep-new-stock .products .product > .col-inner {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
}
.voep-new-stock .products .product > .col-inner > .product-small.box {
    flex: 1 1 auto !important;
    height: auto !important;
}/* Force the box-text to flex column with proper height */
.voep-new-stock .product-small.box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.voep-new-stock .product-small.box > .box-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}
.voep-new-stock .product-small.box > .box-text > .title-wrapper {
    flex: 1 1 auto !important;
}
.voep-new-stock .product-small.box > .box-text > .price-wrapper {
    margin-top: auto !important;
}

/* ============================================== */
/* BRAND PAGES (Mercury, Yamaha, Suzuki, etc.)    */
/* ============================================== */

/* Page background: dark ink */
body.voep-brand-page {
    background: var(--ink) !important;
    color: var(--parchment);
}

body.voep-brand-page #main,
body.voep-brand-page .page-wrapper,
body.voep-brand-page .main-page-wrapper {
    background: var(--ink) !important;
}

/* Page title (e.g. "Mercury" h1 above the products) */
body.voep-brand-page h1.entry-title,
body.voep-brand-page .entry-header h1,
body.voep-brand-page .page-title {
    color: var(--parchment) !important;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(48px, 6vw, 80px);
    margin: 40px 0 20px 0;
    text-align: left;
    padding: 0 var(--gutter);
}

/* Products by Category h2 (the heading inside the page) */
body.voep-brand-page h2.wp-block-heading {
    color: var(--brass) !important;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 14px;
    text-align: left;
    margin: 40px 0 16px 0;
    padding: 0 var(--gutter);
    font-weight: normal;
}

/* Product titles inside cards - make them readable */
body.voep-brand-page .voep-new-stock .products .product .name,
body.voep-brand-page .voep-new-stock .products .product .product-title,
body.voep-brand-page .voep-new-stock .products .product h2,
body.voep-brand-page .voep-new-stock .products .product h3,
body.voep-brand-page .voep-new-stock .products .product .product-title a {
    color: var(--parchment) !important;
}

/* ====== MAKE WHOLE PRODUCT CARD CLICKABLE ====== */
.voep-new-stock .product-small.box {
    position: relative;
}

.voep-new-stock .product-small.box .product-title a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* Keep MERCURY brand pill non-clickable visually but above the overlay */
.voep-new-stock .product-small.box .category,
.voep-new-stock .product-small.box .product-category,
.voep-new-stock .product-small.box .cat-label {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

/* Keep price visible on top of overlay */
.voep-new-stock .product-small.box .price-wrapper,
.voep-new-stock .product-small.box .price {
    position: relative;
    z-index: 3;
}

/* Hover: subtle border highlight on the whole card */
.voep-new-stock .product-small.box:hover {
    border-color: rgba(184, 137, 42, 0.4);
}

.voep-new-stock .product-small.box:hover .product-title a {
    color: var(--brass) !important;
}

/* ====== PAGINATION ====== */
.voep-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 60px var(--gutter);
    padding-top: 32px;
    border-top: 1px solid rgba(184, 137, 42, 0.15);
}

.voep-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: var(--brass);
    background: var(--ocean-mid);
    border: 1px solid rgba(184, 137, 42, 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
}

.voep-pagination .page-numbers:hover {
    color: var(--white);
    background: var(--ocean);
    border-color: var(--brass);
}

.voep-pagination .page-numbers.current {
    color: var(--white);
    background: var(--rust);
    border-color: var(--rust);
}

.voep-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: var(--steel);
}

/* Critical: keep cart and checkout LIGHT (do not break) */
body.woocommerce-cart,
body.woocommerce-checkout {
    background: var(--parchment) !important;
    color: var(--ink) !important;
}