/*
Theme Name: Auson Distribution Ireland
Text Domain: auson
*/

/* ============================================
   CSS VARIABLES - Auson Tar/Industrial Palette
   ============================================ */
:root {
    /* Primary Colors - Dark Gray/Black (Durability/Tar) */
    --navy: #111111;
    --navy-dark: #0a0a0a;
    --navy-light: #1a1a1a;
    
    /* Secondary Colors - Darkened for Contrast */
    --gray-dark: #1f2937;
    --gray-medium: #4b5563;
    --gray-light: #6b7280;
    --gray-border: #d1d5db;
    --gray-bg: #f3f4f6;
    
    /* Accent Colors - Deep Red/Brown (Falu Red/Tar) */
    --falu-red: #801818;
    --falu-red-light: #a02020;
    --falu-red-dark: #5c1212;
    --tar-brown: #6b4423;
    --coral: #ea580c;
    --coral-light: #f97316;
    --coral-dark: #c2410c;
    --yellow: #ea580c;
    --yellow-light: #f97316;
    --yellow-dark: #c2410c;
    --red: #dc2626;
    --red-light: #ef4444;
    
    /* Utility - High Contrast */
    --white: #ffffff;
    --black: #000000;
    --text: #1f2937;
    --text-light: #4b5563;
    
    /* Fonts */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem;
    --container-max: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #111111;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--falu-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--falu-red-dark);
}

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

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1400px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-navy {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    color: #f3f4f6;
}

.section-navy p {
    color: #e5e7eb;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy h5,
.section-navy h6 {
    color: #ffffff;
}

.section-gray {
    background: var(--gray-bg);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-top {
    background: #111111;
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-top a {
    color: var(--white);
    font-weight: 500;
}

.header-top a:hover {
    color: var(--falu-red-light);
}

.header-distributor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-main {
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: var(--falu-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #111111;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--gray-dark);
    border-radius: 4px;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav .current-menu-item a {
    color: var(--falu-red);
    background: var(--gray-bg);
}

.main-nav .cta-nav a {
    background: var(--falu-red);
    color: var(--white);
    font-weight: 600;
}

.main-nav .cta-nav a:hover {
    background: var(--falu-red-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111111;
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--falu-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--falu-red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--yellow);
    color: var(--navy-dark);
}

.btn-secondary:hover {
    background: var(--yellow-light);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--falu-red);
    border: 2px solid var(--falu-red);
}

.btn-outline:hover {
    background: var(--falu-red);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: #111111;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.97) 0%, rgba(17,17,17,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(128,24,24,0.15);
    color: var(--falu-red-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-trust {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

.hero-trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--falu-red-light);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--falu-red);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: #4b5563;
    font-size: 1.125rem;
}

/* ============================================
   INDUSTRY CARDS
   ============================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--falu-red);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.industry-icon svg {
    width: 30px;
    height: 30px;
    color: var(--falu-red);
}

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.industry-card p {
    color: #4b5563;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.industry-card .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--falu-red);
}

.industry-card .link-arrow:hover {
    gap: 0.75rem;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
}

.feature-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--falu-red);
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #4b5563;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-image {
    height: 200px;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--falu-red);
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: #4b5563;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-border);
    font-size: 0.875rem;
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
    background: #111111;
    color: var(--white);
    padding: 4rem 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: #e5e7eb;
    margin: 0;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-section {
    padding: 3rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-medium);
}

.trust-item svg {
    width: 32px;
    height: 32px;
    color: var(--falu-red);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--falu-red);
    box-shadow: 0 0 0 3px rgba(128,24,24,0.15);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0a0a0a;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-main {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #e5e7eb;
    font-size: 0.9375rem;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #e5e7eb;
    font-size: 0.9375rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--falu-red-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #d1d5db;
    font-size: 0.9375rem;
}

.footer-menu a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .header-top-left {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        gap: 2rem;
    }
    
    .features-grid,
    .industries-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SWEDISH/DISTRIBUTOR BADGES
   ============================================ */
.badge-distributor {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(107,68,35,0.15);
    color: var(--tar-brown);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(107,68,35,0.3);
}

.badge-distributor svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ============================================
   AUSON-FIX 2026-07-24 (round 2): responsive helpers
   ============================================ */
/* Two-column blocks that must stack on small screens (replaces inline 1fr 1fr grids) */
.auson-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.auson-2col-tight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Product anchors (/products/#mercasol-831-ml etc.) must clear the sticky header */
[id] {
    scroll-margin-top: 130px;
}

@media (max-width: 768px) {
    .auson-2col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .auson-2col-tight {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Mobile top bar: single tidy row — hide the badge, keep phone + downloads link */
@media (max-width: 640px) {
    .header-distributor-badge {
        display: none;
    }

    .header-top-left {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .header-top-content {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }
}

/* ============================================
   AUSON-FIX 2026-07-24 (round 3): 3D features
   ============================================ */
/* Homepage van viewer */
.auson-3d-stage {
    position: relative;
    height: 440px;
    border-radius: 12px;
    background: radial-gradient(ellipse at 50% 70%, #232323 0%, #141414 60%, #101010 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: grab;
}

.auson-3d-stage:active {
    cursor: grabbing;
}

.auson-3d-stage canvas {
    width: 100% !important;
    height: 100% !important;
}

.auson-3d-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8125rem;
    pointer-events: none;
}

.auson-zone-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.auson-zone-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.2s, background 0.2s;
}

.auson-zone-btn .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.auson-zone-btn[data-zone-btn="cavity"] .dot { background: #ffb43c; }
.auson-zone-btn[data-zone-btn="underbody"] .dot { background: #e23c3c; }

.auson-zone-btn:hover { border-color: rgba(255, 255, 255, 0.6); }

.auson-zone-btn.is-active {
    background: rgba(128, 24, 24, 0.5);
    border-color: #a02424;
}

/* 3D can slots inside product cards */
[data-can3d] {
    width: 100%;
    height: 100%;
    min-height: 190px;
    cursor: grab;
}

[data-can3d]:active { cursor: grabbing; }

.can3d-toggle {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    border: 1px solid var(--gray-border);
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.can3d-toggle:hover {
    background: #801818;
    color: #fff;
    border-color: #801818;
}

@media (max-width: 640px) {
    .auson-3d-stage { height: 330px; }
}

/* Fix: white cards inside dark sections must keep dark headings
   (pre-existing: .section-navy h3 turned pine-tar card names invisible) */
.section-navy .product-card h3,
.section-navy .product-card h4 {
    color: #111111;
}
