/*
Theme Name: Umvemnyama
Theme URI: https://umvemnyama.co.za
Author: Umvemnyama
Author URI: https://umvemnyama.co.za
Description: Custom WooCommerce theme for Umvemnyama – The Blacksheep
Version: 2.4.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: umvemnyama
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ===================================================
   TYPOGRAPHY
=================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1em; }

/* ===================================================
   LAYOUT
=================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-wrapper { overflow-x: hidden; }

/* ===================================================
   SITE PRELOADER
=================================================== */
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.preloader-active {
    overflow: hidden;
}

.preloader-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0;
    animation: preloaderFadeIn 0.6s ease forwards;
    animation-delay: 0s;
}

.preloader-mark {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    animation: preloaderFadeIn 0.6s ease forwards;
    animation-delay: 0.1s;
    margin-bottom: 36px;
}

.preloader-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 40px;
}

.preloader-copy span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(16px);
    animation: preloaderFadeUp 0.6s ease forwards;
}

.preloader-copy .pl-line1 { color: #555; animation-delay: 0.3s; }
.preloader-copy .pl-line2 { color: #fff; animation-delay: 0.45s; }

.preloader-bar-wrap {
    width: 220px;
    height: 1px;
    background: #2a2a2a;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: preloaderFadeIn 0.6s ease forwards;
    animation-delay: 0.6s;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: -40%;
    height: 100%;
    width: 40%;
    background: #fff;
    animation: preloaderBarSlide 1.6s ease-in-out infinite;
}

@keyframes preloaderBarSlide {
    0%   { left: -40%; }
    100% { left: 100%; }
}

@keyframes preloaderFadeIn {
    to { opacity: 1; }
}

@keyframes preloaderFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-logo,
    .preloader-mark,
    .preloader-copy span,
    .preloader-bar-wrap {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .preloader-bar {
        animation: none;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .preloader-copy span { font-size: 1.3rem; }
    .preloader-bar-wrap { width: 160px; }
}

/* ===================================================
   NOTIFICATION BAR (Free shipping)
=================================================== */
.site-notification-bar {
    background: #2e2e2e !important;
    color: #fff;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    position: relative;
}

.site-notification-bar a.dismiss-notif {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

.site-notification-bar a.dismiss-notif:hover { opacity: 1; }

/* ===================================================
   HEADER
=================================================== */
.site-header {
    background: #111;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.site-logo .logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}

.site-logo .logo-sub {
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

.main-nav > ul > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a {
    color: #ccc;
}

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    border: 1px solid #2a2a2a;
    border-top: 2px solid #fff;
    min-width: 220px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    z-index: 100;
}

.main-nav .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #999;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #1e1e1e;
}

.main-nav .sub-menu li a:hover {
    background: #1a1a1a;
    color: #fff;
}

.header-cart a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    padding: 8px 12px;
    border: 1px solid #333;
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}

.header-cart a:hover {
    border-color: #fff;
    color: #fff;
}

.header-cart .cart-count {
    background: #fff;
    color: #111;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #aaa;
    transition: all 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

/* ===================================================
   NAVIGATION
=================================================== */
.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav li:hover > .sub-menu { display: block; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

/* ===================================================
   HERO – EDITORIAL (dark)
=================================================== */
.hero-editorial {
    background: radial-gradient(ellipse at 65% 40%, #1c1c1c 0%, #0d0d0d 60%, #080808 100%);
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    padding: 56px 60px 64px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* "THE VOICE" label */
.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards;
    animation-delay: 0.1s;
}

.hero-label::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: #666;
}

.hero-label span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #777;
}

/* Headline — rotator container */
.hero-headline {
    position: relative;
    width: 100%;
    margin-bottom: 36px;
}

.hero-headline span {
    display: block;
    font-size: 4.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.15;
    transition: letter-spacing 0.4s ease, transform 0.4s ease, color 0.4s ease;
    cursor: default;
}

.hero-headline span:hover {
    letter-spacing: 4px;
    transform: translateY(-4px) scale(1.03);
}

/* Remove delay selectors that no longer apply (rotator handles stagger) */

.hero-headline .hl-white { color: #ffffff; }
.hero-headline .hl-muted { color: #555; }
.hero-headline .hl-muted:hover { color: #888; }

/* Footer bar */
.hero-footer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-top: 1px solid #2a2a2a;
    padding-top: 20px;
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards;
    animation-delay: 0.95s;
    max-width: 480px;
    margin: 0 auto;
}

.hero-footer-bar::before,
.hero-footer-bar::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #2a2a2a;
}

.hero-welcome {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #666;
    white-space: nowrap;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-label,
    .hero-footer-bar {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-headline span {
        transition: none;
    }

    .hero-headline span:hover {
        letter-spacing: 1px;
        transform: none;
    }

    .hero-phrase {
        animation: none !important;
        transition: none !important;
    }

    .hero-phrase.active {
        opacity: 1;
        transform: none;
    }

    .hero-dot.active::after {
        animation: none;
    }

    .herd-events-pulse::after {
        animation: none;
        opacity: 0.7;
    }

    .cat-tile::before,
    .cat-tile-content,
    .cat-tile-sub,
    .cat-tile-cta {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-dark {
    background: #222;
    color: #fff;
    border-color: #222;
}

.btn-dark:hover {
    background: transparent;
    color: #222;
}

.btn-outline {
    background: transparent;
    color: #222;
    border-color: #222;
}

.btn-outline:hover {
    background: #222;
    color: #fff;
}

/* ===================================================
   HERO: ROTATING PHRASES — smooth cross-fade + slide arrows
=================================================== */
.hero-rotator {
    position: relative;
    padding-bottom: 20px;
}

.hero-phrase {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-phrase.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.hero-phrase.exiting {
    opacity: 0;
    transform: translateY(-16px);
    position: absolute;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Slide arrow buttons */
.hero-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards;
    animation-delay: 1.1s;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    padding: 0;
    outline: none;
}

.hero-arrow:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Progress dots (between arrows) */
.hero-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    width: 24px;
    height: 2px;
    background: #333;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0;
    outline: none;
    transition: transform 0.3s ease;
}

.hero-dot.active {
    transform: scaleX(1.3);
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: #fff;
}

.hero-dot.active::after {
    animation: dotProgress 4s linear forwards;
}

@keyframes dotProgress {
    from { left: -100%; }
    to   { left: 0%; }
}

/* ===================================================
   CATEGORY TILES
=================================================== */
.category-tiles-section {
    background: #fff;
    padding: 70px 0 60px;
}

.category-tiles-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.cat-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

.category-tiles-header h2 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
    margin-bottom: 0;
}

.category-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.cat-tile {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111 center/cover no-repeat;
    text-decoration: none;
    cursor: pointer;
}

.cat-tile--placeholder {
    background-color: #111;
}

/* Zoom via inner bg pseudo-element so overflow:hidden clips it */
.cat-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-image: var(--cat-img, none);
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.cat-tile:hover::before {
    transform: scale(1.06);
}

/* Gradient overlay */
.cat-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.3) 45%,
        rgba(0,0,0,0.08) 100%
    );
    transition: background 0.5s ease;
    z-index: 1;
}

.cat-tile:hover .cat-tile-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.5) 55%,
        rgba(0,0,0,0.2) 100%
    );
}

.cat-tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    transform: translateY(28px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.cat-tile:hover .cat-tile-content {
    transform: translateY(0);
}

.cat-tile-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.cat-tile:hover .cat-tile-sub {
    opacity: 1;
    transform: translateY(0);
}

.cat-tile-name {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1.15;
    margin: 0;
}

.cat-tile-cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
}

.cat-tile:hover .cat-tile-cta {
    opacity: 1;
    transform: translateY(0);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.cat-tiles-footer {
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .category-tiles {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .cat-tile {
        aspect-ratio: 4 / 3;
    }

    .cat-tile-content {
        transform: translateY(0);
    }

    .cat-tile-sub,
    .cat-tile-cta {
        opacity: 1;
        transform: translateY(0);
    }

    .category-tiles-header h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .cat-tile { aspect-ratio: 3 / 2; }
}

/* ===================================================
   SECTION HEADINGS
=================================================== */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-heading h2 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #222;
}

/* ===================================================
   PRODUCT SECTIONS (Homepage)
=================================================== */
.products-section {
    padding: 60px 0;
}

.products-section.bg-light { background: #fafafa; }

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    position: relative;
    cursor: pointer;
}

.product-card-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-card-image img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-image img.primary-img { opacity: 0; }
.product-card:hover .product-card-image img.hover-img { opacity: 1; }

.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(255,255,255,0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-overlay { transform: translateY(0); }

.product-card-overlay .add-to-cart-btn,
.product-card-overlay .select-options-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #222;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.product-card-overlay .add-to-cart-btn:hover,
.product-card-overlay .select-options-btn:hover {
    background: #000;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #222;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    z-index: 2;
}

.product-card-info {
    padding: 12px 0 4px;
    text-align: center;
}

.product-card-info h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 6px;
}

.product-card-info h4 a { color: inherit; }
.product-card-info h4 a:hover { color: #666; }

.product-price {
    font-size: 13px;
    color: #222;
    font-weight: 600;
}

.product-price del {
    color: #999;
    font-weight: 400;
    margin-right: 5px;
    font-size: 12px;
}

.product-price ins {
    text-decoration: none;
    color: #222;
}

/* Star rating */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
    color: #f5a623;
    font-size: 11px;
}

/* See All Link */
.see-all-wrap {
    text-align: center;
    margin-top: 40px;
}

/* ===================================================
   SHOP PAGE BANNER
=================================================== */
.shop-banner {
    background: #111;
    padding: 60px 24px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, #1c1c1c 0%, #080808 100%);
}

.shop-banner-inner {
    position: relative;
    z-index: 2;
}

.shop-banner-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 12px;
}

.shop-banner h1.shop-banner-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.1;
}

.shop-banner-sub {
    font-size: 13px;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .shop-banner { padding: 44px 20px 36px; }
    .shop-banner h1.shop-banner-title { font-size: 2rem; letter-spacing: 2px; }
}

/* ===================================================
   SHOP PAGE
=================================================== */
.shop-page {
    padding: 40px 0 60px;
}

.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.shop-header h1 {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.woocommerce-ordering select {
    padding: 8px 14px;
    font-size: 13px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.breadcrumb {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #333; }
.breadcrumb span { margin: 0 6px; }

/* ===================================================
   SINGLE PRODUCT PAGE
=================================================== */
.single-product-page { padding: 40px 0 60px; }

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery { position: relative; }

.product-gallery-main img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f5f5f5;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.product-gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover {
    border-color: #222;
}

.product-summary .product-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-summary .product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #888;
}

.product-summary .single-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.product-summary .single-price del { color: #aaa; font-weight: 400; font-size: 1rem; margin-right: 8px; }

.product-description {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

/* Variations */
.product-variations { margin-bottom: 20px; }

.variation-group { margin-bottom: 16px; }

.variation-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #333;
    margin-bottom: 8px;
}

.variation-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.swatch {
    padding: 8px 14px;
    border: 1px solid #ddd;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.swatch:hover, .swatch.active {
    border-color: #222;
    background: #222;
    color: #fff;
}

/* Qty + Add to Cart */
.add-to-cart-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.qty-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.qty-input button {
    width: 36px;
    height: 46px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.qty-input input {
    width: 50px;
    height: 46px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.single-add-to-cart {
    flex: 1;
    padding: 14px 24px;
    background: #222;
    color: #fff;
    border: 2px solid #222;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.single-add-to-cart:hover {
    background: transparent;
    color: #222;
}

.product-meta {
    font-size: 12px;
    color: #999;
    line-height: 2;
}

.product-meta strong { color: #555; }

/* ===================================================
   CART PAGE
=================================================== */
.cart-page { padding: 40px 0 60px; }

.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }

.cart-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #333;
    border-bottom: 2px solid #222;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 13px;
}

.cart-product-img { width: 70px; height: 70px; object-fit: cover; }

.cart-remove {
    color: #999;
    font-size: 18px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
}

.cart-remove:hover { color: #333; }

.cart-totals-box {
    max-width: 380px;
    margin-left: auto;
    border: 1px solid #eee;
    padding: 24px;
}

.cart-totals-box h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #222;
}

.cart-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-totals-row.total {
    font-weight: 700;
    font-size: 15px;
    border-bottom: none;
    padding-top: 14px;
}

.checkout-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 16px;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn:hover { background: #000; }

/* ===================================================
   OUR PEOPLE PAGE
=================================================== */

/* Hero banner */
.our-people-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    background: var(--banner, #111) center/cover no-repeat;
    overflow: hidden;
}

.our-people-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.15) 100%
    );
}

.our-people-hero-inner {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 700px;
}

.op-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.op-title {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    line-height: 1.0;
    margin-bottom: 12px;
}

.op-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.op-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.op-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 12px;
    text-transform: uppercase;
}

/* Intro strip */
.our-people-intro {
    background: #111;
    padding: 28px 0;
    text-align: center;
}

.our-people-intro p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Community photo grid */
.our-people-grid-section {
    padding: 60px 0 80px;
    background: #fafafa;
}

/* When the live Instagram feed (Smash Balloon) is active, give it
   breathing room and strip its default rounded corners/shadows so
   it matches the site's flat, high-contrast grid aesthetic. */
.our-people-grid-section--instagram {
    padding: 60px 0 90px;
}

.our-people-grid-section--instagram .sbi_header,
.our-people-grid-section--instagram .sb_instagram_header {
    display: none; /* the page already has its own hero + intro line */
}

.our-people-grid-section--instagram #sb_instagram .sbi_photo,
.our-people-grid-section--instagram #sb_instagram .sbi_item {
    border-radius: 0 !important;
}

.our-people-grid-section--instagram #sb_instagram {
    max-width: 100%;
}

.our-people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}

.op-grid-item { }

.op-grid-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8e8e8;
}

.op-grid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.op-grid-item:hover .op-grid-img-wrap img {
    transform: scale(1.06);
}

.op-grid-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
    transition: background 0.3s ease;
}

.op-grid-item:hover .op-grid-overlay {
    background: rgba(0,0,0,0.5);
}

.op-grid-caption {
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 4px;
}

.op-grid-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease 0.05s;
    display: block;
}

.op-grid-item:hover .op-grid-caption,
.op-grid-item:hover .op-grid-tag {
    opacity: 1;
    transform: translateY(0);
}

/* Empty state */
.op-empty {
    text-align: center;
    padding: 80px 20px;
}

.op-empty-icon {
    font-size: 2.5rem;
    color: #ddd;
    margin-bottom: 20px;
}

.op-empty h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #333;
    margin-bottom: 10px;
}

.op-empty p {
    font-size: 13px;
    color: #999;
    margin-bottom: 0;
}

.op-empty p a { color: #333; font-weight: 700; }

.op-starter-note {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 28px;
}

.op-starter-note a {
    color: #333;
    font-weight: 700;
}

/* CTA strip */
.op-cta-strip {
    background: #111;
    padding: 50px 20px;
    text-align: center;
}

.op-cta-strip p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

.op-cta-strip .btn-dark {
    border-color: #fff;
    color: #fff;
}

.op-cta-strip .btn-dark:hover {
    background: #fff;
    color: #111;
}

/* Mobile */
@media (max-width: 768px) {
    .our-people-hero { min-height: 380px; }
    .our-people-hero-inner { padding: 40px 24px; }
    .op-title { font-size: 3rem; }
    .our-people-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .our-people-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .op-title { font-size: 2.4rem; }
}

/* ===================================================
   OUR STORY PAGE
=================================================== */
.our-story-page { padding: 60px 0; }

.our-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.our-story-text h1 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.our-story-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 16px;
}

/* ===================================================
   CONTACT PAGE V2
=================================================== */
.contact-page-v2 { }

/* Dark hero header */
.contact-hero {
    background: radial-gradient(ellipse at 60% 50%, #1a1a1a 0%, #0a0a0a 100%);
    padding: 100px 24px 80px;
    text-align: center;
}

.contact-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
}

.contact-title {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.1;
}

.contact-subtitle {
    font-size: 13px;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Body section */
.contact-body {
    padding: 70px 0 80px;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

/* Info cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border: 1px solid #eee;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    border-color: #222;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-card-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #999;
}

.contact-card-value {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card-value:hover { color: #555; }

.contact-card-note {
    font-size: 11px;
    color: #aaa;
}

/* Social row */
.contact-socials {
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.contact-social-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 12px;
}

.contact-social-links {
    display: flex;
    gap: 10px;
}

.contact-social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    color: #333;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-social-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Form column */
.contact-form-wrap {
    background: #fafafa;
    padding: 40px;
    border: 1px solid #eee;
}

.contact-form-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #111;
}

/* Native form + CF7 override */
.contact-form-native,
.contact-form-wrap .wpcf7 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-row {
    display: flex;
    gap: 16px;
}

.cf-row--half .cf-group { flex: 1; }

.cf-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.cf-group label,
.contact-form-wrap .wpcf7 label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
}

.cf-group label span { color: #999; }

.cf-group input,
.cf-group textarea,
.cf-group select,
.contact-form-wrap .wpcf7 input[type="text"],
.contact-form-wrap .wpcf7 input[type="email"],
.contact-form-wrap .wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 13px;
    font-family: inherit;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.cf-group input:focus,
.cf-group textarea:focus,
.cf-group select:focus,
.contact-form-wrap .wpcf7 input:focus,
.contact-form-wrap .wpcf7 textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.cf-group textarea { height: 140px; resize: vertical; }

.cf-submit,
.contact-form-wrap .wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #111;
    color: #fff;
    border: 2px solid #111;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-top: 4px;
    align-self: flex-start;
}

.cf-submit:hover,
.contact-form-wrap .wpcf7 input[type="submit"]:hover {
    background: transparent;
    color: #111;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-title { font-size: 2.4rem; }
    .contact-hero { padding: 70px 24px 60px; }
    .cf-row--half { flex-direction: column; }
    .contact-form-wrap { padding: 28px 20px; }
}

/* ===================================================
   NEWSLETTER
=================================================== */
.newsletter-section {
    background: #f5f5f5;
    padding: 50px 20px;
    text-align: center;
}

.newsletter-section h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 13px;
    outline: none;
}

.newsletter-form button {
    padding: 12px 22px;
    background: #222;
    color: #fff;
    border: 1px solid #222;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover { background: #000; }

/* ===================================================
   FOOTER
=================================================== */
.site-footer {
    background: #222;
    color: #ccc;
    padding: 50px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 0 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo .logo-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-logo .logo-sub {
    font-size: 10px;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-logo p {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 12px;
    color: #999;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #555;
    color: #ccc;
    font-size: 14px;
    transition: all 0.2s;
    border-radius: 2px;
}

.footer-social a:hover {
    border-color: #fff;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #777;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #777;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #ccc; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: #222;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ===================================================
   WOOCOMMERCE OVERRIDES
=================================================== */
.woocommerce-message,
.woocommerce-info {
    background: #f5f5f5;
    border-top: 3px solid #222;
    padding: 14px 18px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce-notices-wrapper { max-width: 1200px; margin: 20px auto 0; padding: 0 20px; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Hide nav by default on mobile */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111;
        border-top: 1px solid #222;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        flex-direction: column;
        align-items: stretch;
        z-index: 998;
    }

    /* Only show when JS adds .open */
    .main-nav.open { display: flex; }

    /* Show the hamburger button */
    .nav-toggle { display: flex; }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav > ul > li > a {
        padding: 16px 24px;
        border-bottom: 1px solid #1e1e1e;
        color: #fff;
        font-size: 12px;
    }

    .main-nav > ul > li > a:hover { color: #ccc; }

    /* Sub-menus: hidden by default on mobile, expanded via JS toggle */
    .main-nav .sub-menu {
        display: none;
        position: static;
        border: none;
        box-shadow: none;
        background: #0a0a0a;
    }

    .main-nav li.open > .sub-menu { display: block; }

    /* Remove hover-based sub-menu trigger on mobile */
    .main-nav li:hover > .sub-menu { display: none; }
    .main-nav li.open > .sub-menu { display: block; }

    .main-nav .sub-menu li a {
        padding: 12px 24px 12px 40px;
        color: #888;
        border-bottom: 1px solid #1a1a1a;
        font-size: 11px;
    }

    .main-nav .sub-menu li a:hover { color: #fff; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .single-product-layout { grid-template-columns: 1fr; }
    .our-story-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }

    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .hero-editorial { min-height: 560px; }
    .hero-inner { padding: 40px 24px 48px; }
    .hero-headline span { font-size: 2.6rem; }
    .hero-footer-bar { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 12px; }
    .hero-editorial { min-height: 460px; }
    .hero-inner { padding: 32px 18px 40px; }
    .hero-headline span { font-size: 1.8rem; }
    .hero-label span { font-size: 9px; letter-spacing: 2px; }
    .hero-welcome { font-size: 9px; letter-spacing: 3px; }
    .footer-top { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"] { border-right: 1px solid #ddd; }
}

/* ===================================================
   THE HERD — Members Page
=================================================== */

/* Hero */
.herd-hero {
    position: relative;
    background: #000;
}

.herd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.herd-hero-image {
    position: relative;
    overflow: hidden;
}

.herd-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) contrast(1.1);
}

.herd-hero-content {
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 70px;
}

.herd-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
}

.herd-hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.05;
}

.herd-hero-sub {
    font-size: 14px;
    color: #777;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.herd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.herd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.herd-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.herd-btn-outline:hover {
    background: #fff;
    color: #111;
}

.herd-btn-ghost {
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #2a2a2a;
}

.herd-btn-ghost:hover {
    background: #3a3a3a;
    color: #fff;
}

/* Section headings shared */
.herd-section-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    text-align: center;
    margin-bottom: 14px;
}

.herd-section-title {
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #181818;
    text-align: center;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
}

.herd-section-title--center { margin-bottom: 8px; }

/* How It Works */
.herd-how {
    background: #f0efed;
    padding: 70px 24px 60px;
}

.herd-tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.herd-tab {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    padding: 0 0 16px;
    position: relative;
    transition: color 0.3s;
}

.herd-tab.active {
    color: #181818;
}

.herd-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #181818;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.herd-tab.active::after {
    transform: scaleX(1);
}

.herd-tabs-underline {
    height: 1px;
    background: #ddd;
    max-width: 1000px;
    margin: -1px auto 36px;
}

.herd-tab-panels {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 80px;
}

.herd-tab-panel {
    display: none;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.herd-tab-panel.active {
    display: block;
    animation: herdFadeIn 0.4s ease;
}

@keyframes herdFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Tier Cards */
.herd-tiers {
    background: #000;
    padding: 70px 24px 90px;
}

.herd-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.herd-tier-col {
    display: flex;
    flex-direction: column;
}

.herd-tier-col--gold {
    transform: translateY(-16px);
}

/* The patch itself */
.herd-patch-wrap {
    width: 100%;
    max-width: 230px;
    margin: 0 auto 26px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.herd-patch-wrap:hover {
    transform: scale(1.04) rotate(-1.5deg);
}

.herd-patch {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.55));
}

.herd-patch-outer {
    stroke: rgba(255,255,255,0.3);
    stroke-width: 2.5;
    stroke-dasharray: 5,4;
}

.herd-patch--renegade .herd-patch-outer {
    stroke: #e8c468;
}

.herd-patch-inner {
    stroke: rgba(255,255,255,0.15);
    stroke-width: 1;
}

.herd-patch--renegade .herd-patch-inner {
    stroke: rgba(232,196,104,0.3);
}

.herd-patch-letter {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: 92px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
}

.herd-patch--renegade .herd-patch-letter {
    stroke: #e8c468;
}

.herd-tier-rank {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    text-align: center;
    margin-bottom: 6px;
}

.herd-tier-name--gold {
    color: #e8c468;
}

.herd-tier-name {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.herd-tier-spend {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.herd-tier-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.herd-tier-perks li {
    font-size: 13px;
    line-height: 1.6;
    color: #bbb;
    padding-left: 18px;
    position: relative;
    margin-bottom: 10px;
}

.herd-tier-perks li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #666;
}

/* Perks grid */
.herd-perks {
    background: #f0efed;
    padding: 70px 24px 80px;
    text-align: center;
}

.herd-perks-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 50px;
}

.herd-perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.herd-perk-icon {
    font-size: 22px;
    color: #181818;
    margin-bottom: 18px;
}

.herd-perk h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #181818;
    margin-bottom: 10px;
}

.herd-perk p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Exclusive Events Teaser — Herd Sessions */
.herd-events {
    position: relative;
    background: #000;
    padding: 110px 24px;
    text-align: center;
    overflow: hidden;
}

.herd-events-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(232,196,104,0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 80%, rgba(255,255,255,0.04) 0%, transparent 45%),
        linear-gradient(180deg, #050505 0%, #000 100%);
}

/* Subtle grain texture via layered radial dots */
.herd-events-grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
}

.herd-events-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.herd-events-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e8c468;
    margin-bottom: 18px;
}

.herd-events-title {
    font-size: 3.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 26px;
    line-height: 1.05;
}

.herd-events-lead {
    font-size: 17px;
    font-weight: 600;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 18px;
}

.herd-events-body {
    font-size: 14px;
    color: #888;
    line-height: 1.85;
    margin-bottom: 36px;
}

.herd-events-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.herd-events-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ccc;
    border: 1px solid #2a2a2a;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
}

.herd-events-tag i { color: #e8c468; font-size: 11px; }

.herd-events-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 10px 20px;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}

.herd-events-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8c468;
    position: relative;
    flex-shrink: 0;
}

.herd-events-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #e8c468;
    animation: herdPulse 1.8s ease-out infinite;
}

@keyframes herdPulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(3); opacity: 0; }
}

.herd-events-status-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e8c468;
}

.herd-events-note {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.herd-events-cta {
    border-color: #e8c468;
    color: #e8c468;
}

.herd-events-cta:hover {
    background: #e8c468;
    color: #111;
}

@media (max-width: 768px) {
    .herd-events { padding: 70px 24px; }
    .herd-events-title { font-size: 2.2rem; }
    .herd-events-lead { font-size: 15px; }
}

/* Final CTA */
.herd-final-cta {
    position: relative;
    background: #050505;
    padding: 100px 24px;
    text-align: center;
    overflow: hidden;
}

.herd-final-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, #161616 0%, #050505 70%);
}

.herd-final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.herd-final-cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 30px;
}

.herd-final-cta .herd-hero-actions {
    justify-content: center;
}

.herd-subscribe-form {
    display: flex;
    gap: 0;
}

.herd-subscribe-form input {
    padding: 15px 18px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    font-size: 12px;
    width: 220px;
    outline: none;
}

.herd-subscribe-form input::placeholder { color: #666; }

.herd-subscribe-form .herd-btn { border-left: none; }

/* Mobile */
@media (max-width: 900px) {
    .herd-hero-grid { grid-template-columns: 1fr; }
    .herd-hero-image { aspect-ratio: 16/10; }
    .herd-hero-content { padding: 50px 28px; }
    .herd-hero-title { font-size: 2.4rem; }

    .herd-tiers-grid { grid-template-columns: 1fr; max-width: 420px; }
    .herd-tier-col--gold { transform: none; }

    .herd-perks-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

    .herd-tabs { gap: 28px; }

    .herd-section-title { font-size: 1.8rem; letter-spacing: 3px; }

    .herd-final-cta-title { font-size: 1.8rem; }
    .herd-hero-actions { flex-direction: column; align-items: stretch; }
    .herd-subscribe-form { flex-direction: column; }
    .herd-subscribe-form input { width: 100%; }
}

@media (max-width: 480px) {
    .herd-tabs { flex-direction: column; gap: 16px; align-items: center; }
    .herd-perks-grid { grid-template-columns: 1fr; }
}

.herd-newsletter-msg {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.herd-newsletter-msg--success { color: #8fd19e; }
.herd-newsletter-msg--error { color: #e08b8b; }
