/* ============================================
   BRANDED BY SAMMI - Modern Industrial/Technical
   ============================================ */

/* Fonts: Roboto Condensed for headers, Inter for body, JetBrains Mono for technical */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Roboto+Condensed:wght@700;800;900&display=swap');

/* ============================================
   CSS VARIABLES - Clean White Theme with Accent
   ============================================ */
:root {
    /* Background Colors - CLEAN WHITE THEME */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-elevated: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-input: #FFFFFF;

    /* Sammi Accent - Primary Brand Color #1e2832 */
    --sammi-blue: #1e2832;
    --sammi-blue-dark: #151c23;
    --sammi-blue-light: #2d3a47;
    --sammi-blue-glow: rgba(30, 40, 50, 0.15);
    --sammi-blue-glow-strong: rgba(30, 40, 50, 0.25);

    /* Text Colors - LIGHT THEME */
    --text-primary: #1e2832;
    --text-secondary: #5a6672;
    --text-muted: #8a9199;
    --text-inverse: #FFFFFF;

    /* Border Colors - LIGHT THEME */
    --border-heavy: #E0E0E0;
    --border-medium: #EEEEEE;
    --border-light: #F5F5F5;
    --border-accent: var(--sammi-blue);

    /* Fonts */
    --font-heading: 'Roboto Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --grid-gap: 1.5rem;
    --section-padding: 4rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 5px var(--sammi-blue-glow), 0 0 10px var(--sammi-blue-glow); }
    50% { box-shadow: 0 0 15px var(--sammi-blue-glow-strong), 0 0 30px var(--sammi-blue-glow); }
}

@keyframes border-glow {
    0%, 100% { border-color: var(--sammi-blue); }
    50% { border-color: var(--sammi-blue-light); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes text-shimmer {
    0% { background-position: 100% center; }
    100% { background-position: -100% center; }
}

/* ============================================
   INDUSTRIAL TEXTURE BACKGROUNDS - DARK
   ============================================ */
/* Fine dot-grid pattern */
.texture-dots {
    background-image: radial-gradient(circle, #2A2A2A 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Technical grid pattern */
.texture-grid {
    background-image:
        linear-gradient(to right, #1F1F1F 1px, transparent 1px),
        linear-gradient(to bottom, #1F1F1F 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Noise grain overlay */
.texture-noise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

main { 
    flex-grow: 1; 
}

/* WCAG - Skip to main content link */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    background: var(--sammi-blue);
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

body.layout-centered main {
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

/* ============================================
   TYPOGRAPHY - Industrial/Mechanical
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
}

/* Monospace for technical details */
.mono, .sku, .price-value, .vat-toggle {
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

/* ============================================
   HEADER / NAVIGATION - Accent Color Header
   ============================================ */
header {
    background-color: var(--sammi-blue);
    border-bottom: none;
    width: 100%;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    width: 100%;
}

.nav-container { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

/* Left - Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo { 
    height: 55px;
    width: auto;
    transition: filter var(--transition-normal);
}

.logo:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Mobile Left - Hidden on desktop */
.nav-mobile-left {
    display: none;
}

/* Right section - Navigation Links, Account, VAT, Basket */
.nav-right {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nav-right > a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-normal);
}

.nav-right > a:hover {
    border-bottom-color: #FFFFFF;
    color: #FFFFFF;
    opacity: 0.9;
}

/* Mobile Menu Toggle - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    transition: all var(--transition-fast);
}

/* Mobile Menu - hidden on desktop */
.nav-mobile-menu {
    display: none;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #FFFFFF;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    border-bottom-color: #FFFFFF;
    color: #FFFFFF;
    opacity: 0.9;
}

.nav-dropdown-trigger svg {
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #FFFFFF;
    border: 1px solid var(--border-heavy);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-medium);
    background: var(--bg-elevated);
}

.dropdown-header a {
    color: var(--sammi-blue);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-header a:hover {
    text-decoration: underline;
}

.dropdown-grid {
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-medium);
    transition: all var(--transition-fast);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--bg-elevated);
    padding-left: 1.25rem;
}

.dropdown-item-name {
    font-weight: 500;
}

.dropdown-item-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 0.15rem 0.4rem;
}

.dropdown-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Admin Link Style - Highlighted for visibility on dark header */
.nav-admin-link {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    font-size: 0.75rem !important;
}

.nav-admin-link:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* VAT Toggle in Header - Compact */
.nav-right .vat-toggle {
    padding: 0.25rem 0.5rem;
    gap: 0.35rem;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    font-size: 0.7rem;
}

.nav-right .vat-toggle:hover {
    border-color: rgba(255,255,255,0.5);
}

.nav-right .vat-toggle .vat-label {
    font-size: 0.6rem;
    color: #FFFFFF;
}

.nav-right .vat-toggle .vat-label-ex,
.nav-right .vat-toggle .vat-label-inc {
    color: rgba(255,255,255,0.6);
}

.nav-right .vat-toggle:has(input:checked) .vat-label-inc,
.nav-right .vat-toggle:not(:has(input:checked)) .vat-label-ex {
    color: #FFFFFF;
}

.nav-right .vat-toggle input[type="checkbox"] {
    width: 28px;
    height: 14px;
}

.nav-right .vat-toggle input[type="checkbox"]::before {
    width: 8px;
    height: 8px;
    top: 1px;
    left: 1px;
}

.nav-right .vat-toggle input[type="checkbox"]:checked::before {
    transform: translateX(14px);
}

/* Cart Icon - Compact */
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.5rem;
}

.nav-cart:hover {
    color: #FFFFFF;
    opacity: 0.8;
}

.nav-cart svg {
    width: 22px;
    height: 22px;
}

.nav-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #FFFFFF;
    color: var(--sammi-blue);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
}

/* Mobile/Desktop visibility classes */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex;
}

/* ============================================
   FOOTER - Clean with Accent
   ============================================ */
footer {
    background-color: var(--sammi-blue);
    border-top: none;
    box-shadow: none;
    width: 100%;
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-container { 
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-col h4 {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    display: inline-block;
}

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

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-col a:hover {
    color: #FFFFFF;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    margin: 0;
    font-family: var(--font-mono);
}

.footer-links { 
    display: flex; 
    gap: 1.5rem;
}

.footer-links a { 
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: var(--font-mono);
    transition: all var(--transition-normal);
}

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

.footer-powered {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-powered p {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    letter-spacing: 0.05em;
}

.footer-powered a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-powered a:hover {
    color: #FFFFFF;
}

/* ============================================
   PAGE CONTAINERS - Technical Grid
   ============================================ */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--section-padding) 2rem;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-heavy);
}

.section-header h2 {
    margin: 0;
}

.section-header .view-all {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--sammi-blue);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-normal);
}

.section-header .view-all:hover {
    text-shadow: 0 0 10px var(--sammi-blue-glow);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-elevated);
    border: 2px dashed var(--border-heavy);
    transition: all var(--transition-normal);
}

.empty-state:hover {
    border-color: var(--sammi-blue);
    box-shadow: inset 0 0 30px var(--sammi-blue-glow);
}

.empty-state-icon {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.empty-state:hover .empty-state-icon {
    color: var(--sammi-blue);
    filter: drop-shadow(0 0 10px var(--sammi-blue-glow));
}

.empty-state-icon svg {
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.empty-state:hover .empty-state-icon svg {
    opacity: 1;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.empty-state p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS - Sharp Industrial with Glow
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    /* SHARP CORNERS - No rounded */
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

/* Button shine effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--sammi-blue);
    color: white;
    border-color: var(--sammi-blue);
    box-shadow: 0 0 0 rgba(0, 119, 182, 0);
}

.btn-primary:hover {
    background-color: var(--sammi-blue-light);
    border-color: var(--sammi-blue-light);
    box-shadow: 0 0 20px var(--sammi-blue-glow), 0 0 40px var(--sammi-blue-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-heavy);
}

.btn-secondary:hover {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--sammi-blue);
    box-shadow: 0 0 15px var(--sammi-blue-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--sammi-blue);
    border-color: var(--sammi-blue);
}

.btn-outline:hover {
    background-color: var(--sammi-blue);
    color: white;
    box-shadow: 0 0 20px var(--sammi-blue-glow);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================
   CARDS - Dark Industrial with Hard Edges
   ============================================ */
.card {
    background-color: var(--bg-card);
    border: 2px solid var(--border-heavy);
    /* NO ROUNDED CORNERS */
    border-radius: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px var(--sammi-blue-glow), 0 0 20px var(--sammi-blue-glow);
    border-color: var(--sammi-blue);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-bottom: 2px solid var(--border-heavy);
    background-color: var(--bg-elevated);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--sammi-blue);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px var(--sammi-blue-glow);
}

.card-content {
    padding: 1.25rem;
}

.card-sku {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.card-price .price-value {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
}

.card-price .price-vat {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ============================================
   PRODUCT GRID - Technical Layout
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

/* ============================================
   STORY LINKS - Instagram-style circles
   ============================================ */
.story-links-section {
    display: block;
    background: var(--bg-primary);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-medium);
    overflow: visible;
}

.story-links-container {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 2rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.story-links-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.story-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 80px;
    padding: 0.25rem;
}

.story-link-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2.5px solid var(--sammi-blue);
    padding: 2px;
    overflow: hidden;
    background: var(--bg-primary);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.story-link-item:hover .story-link-circle,
.story-link-item:focus .story-link-circle {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px var(--sammi-blue-glow);
}

.story-link-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-link-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

/* Mobile adjustments for story links */
@media (max-width: 768px) {
    .story-links-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 0 1rem;
    }

    .story-link-item {
        min-width: 70px;
    }

    .story-link-circle {
        width: 64px;
        height: 64px;
    }

    .story-link-title {
        font-size: 0.65rem;
        max-width: 70px;
    }
}

/* ============================================
   HERO SECTION - Light Gradient Background
   ============================================ */
.hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 50%, #F0F2F5 100%);
    border-bottom: 1px solid var(--border-medium);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(30, 40, 50, 0.03) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(30, 40, 50, 0.02) 0%, transparent 40%);
    opacity: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slide-in-left 0.8s ease-out;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    color: var(--text-secondary);
}

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

/* Hero buttons on light background */
.hero-actions .btn-primary {
    background: var(--sammi-blue);
    color: #FFFFFF;
    border-color: var(--sammi-blue);
}

.hero-actions .btn-primary:hover {
    background: var(--sammi-blue-dark);
    border-color: var(--sammi-blue-dark);
    transform: translateY(-2px);
}

.hero-actions .btn-secondary,
.hero-actions .btn-outline {
    background: transparent;
    color: var(--sammi-blue);
    border-color: var(--sammi-blue);
}

.hero-actions .btn-secondary:hover,
.hero-actions .btn-outline:hover {
    background: var(--sammi-blue);
    border-color: var(--sammi-blue);
    color: #FFFFFF;
}

.hero-image {
    animation: slide-in-right 0.8s ease-out;
    position: relative;
    border: 3px solid var(--border-heavy);
    background: var(--bg-elevated);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-normal);
}

.hero-image:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    display: block;
}

/* Technical corner accents with glow */
.hero-image::before,
.hero-image::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #FFFFFF;
}

.hero-image::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.hero-image::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

/* ============================================
   CATEGORY BLOCKS - Dark Industrial
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 2px solid var(--border-heavy);
}

.category-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-right: 2px solid var(--border-heavy);
    border-bottom: 2px solid var(--border-heavy);
    background-color: var(--bg-elevated);
    text-decoration: none;
}

.category-item:nth-child(3n) {
    border-right: none;
}

.category-item:nth-last-child(-n+3) {
    border-bottom: none;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.category-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 3px solid var(--sammi-blue);
    padding: 1rem;
}

.category-label h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
}

.category-label span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ============================================
   CATEGORY SHOWCASE - With Product Previews
   ============================================ */
.categories-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-showcase-item {
    background: #FFFFFF;
    border: 1px solid var(--border-heavy);
    padding: 1.5rem;
}

.category-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-medium);
}

.category-showcase-title {
    text-decoration: none;
    color: inherit;
}

.category-showcase-title:hover h3 {
    color: var(--sammi-blue);
}

.category-showcase-title h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.category-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.view-category-link {
    font-size: 0.85rem;
    color: var(--sammi-blue);
    text-decoration: none;
    font-weight: 600;
}

.view-category-link:hover {
    text-decoration: underline;
}

.category-products-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mini-product-card {
    text-decoration: none;
    color: inherit;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    transition: all var(--transition-fast);
}

.mini-product-card:hover {
    border-color: var(--sammi-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mini-product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.mini-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.mini-product-card:hover .mini-product-image img {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.mini-product-info {
    padding: 0.75rem;
}

.mini-product-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-product-price {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sammi-blue);
    margin: 0;
}

@media (max-width: 1024px) {
    .category-products-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-products-row .mini-product-card:nth-child(4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .category-products-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-products-row .mini-product-card:nth-child(3),
    .category-products-row .mini-product-card:nth-child(4) {
        display: none;
    }

    .category-showcase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   CUSTOMER REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card {
    background: #FFFFFF;
    border: 1px solid var(--border-heavy);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
}

.review-card:hover {
    border-color: var(--sammi-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.review-stars {
    margin-bottom: 1rem;
}

.review-stars .star {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-right: 0.1rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-medium);
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-source svg {
    color: #4285f4;
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid .review-card:nth-child(3) {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid .review-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }

    .review-text {
        -webkit-line-clamp: 4;
    }
}

/* ============================================
   VAT TOGGLE - Dark Technical Monospace
   ============================================ */
.vat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 2px solid var(--border-heavy);
}

.vat-toggle label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.vat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

/* Default state: EX VAT is active (checkbox unchecked) */
.vat-label-ex {
    color: var(--sammi-blue);
}

.vat-label-inc {
    color: var(--text-muted);
}

/* When checkbox is checked: INC VAT is active */
.vat-toggle:has(input:checked) .vat-label-ex {
    color: var(--text-muted);
}

.vat-toggle:has(input:checked) .vat-label-inc {
    color: var(--sammi-blue);
}

.vat-toggle input[type="checkbox"] {
    appearance: none;
    width: 40px;
    height: 20px;
    background: var(--bg-input);
    border: 2px solid var(--border-heavy);
    position: relative;
    cursor: pointer;
}

.vat-toggle input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--text-muted);
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.vat-toggle input[type="checkbox"]:checked {
    background: var(--sammi-blue);
    border-color: var(--sammi-blue);
}

.vat-toggle input[type="checkbox"]:checked::before {
    transform: translateX(20px);
    background: white;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-input);
    border: 2px solid var(--border-heavy);
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--sammi-blue);
    box-shadow: 0 0 10px var(--sammi-blue-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   QUANTITY SELECTOR - Dark Industrial
   ============================================ */
.qty-selector {
    display: inline-flex;
    border: 2px solid var(--border-heavy);
}

.qty-selector button {
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: none;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.qty-selector button:hover {
    background: var(--sammi-blue);
}

.qty-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-input);
    border: none;
    border-left: 2px solid var(--border-heavy);
    border-right: 2px solid var(--border-heavy);
}

/* ============================================
   BREADCRUMBS - Technical
   ============================================ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--sammi-blue);
}

.breadcrumbs span {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--text-primary);
}

/* ============================================
   BANNER / ANNOUNCEMENT BAR - Clean Theme Style
   ============================================ */
.announcement-bar {
    background: linear-gradient(90deg, #2d3a47 0%, #1e2832 50%, #2d3a47 100%);
    background-size: 200% 100%;
    color: #FFFFFF;
    padding: 0.875rem 2rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(30, 40, 50, 0.2);
    animation: banner-shimmer 4s ease-in-out infinite;
}

@keyframes banner-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.announcement-bar span {
    color: #FFFFFF;
}

.announcement-divider {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.5rem;
}

.announcement-bar a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 800;
}

.announcement-bar a:hover {
    text-decoration: none;
}

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

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

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

.border-t { border-top: 2px solid var(--border-heavy); }
.border-b { border-bottom: 2px solid var(--border-heavy); }
.border-accent { border-color: var(--sammi-blue); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-item:nth-child(2n) {
        border-right: none;
    }

    .category-item:nth-child(3n) {
        border-right: 2px solid var(--border-heavy);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-item {
        border-right: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .products-toolbar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ============================================
   PLACEHOLDER IMAGES - Light Theme
   ============================================ */
.card-image,
.hero-image,
.category-item {
    /* Industrial dot grid background as fallback - LIGHT */
    background-color: var(--bg-elevated);
    background-image:
        radial-gradient(circle, #E0E0E0 1px, transparent 1px),
        linear-gradient(to bottom right, #F5F5F5 0%, #FAFAFA 100%);
    background-size: 16px 16px, 100% 100%;
}

/* Product placeholder icon - shows when no image */
.card-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    /* T-shirt/clothing icon for products */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='none' stroke='%23CCCCCC' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 01-8 0L3.62 3.46a2 2 0 00-1.34 2.23l.58 3.47a1 1 0 00.99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 002-2V10h2.15a1 1 0 00.99-.84l.58-3.47a2 2 0 00-1.34-2.23z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

/* Category placeholder icon */
.category-item::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    /* Grid/category icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 24 24' fill='none' stroke='%23CCCCCC' stroke-width='1' stroke-linecap='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.card-image img,
.hero-image img,
.category-item img {
    position: relative;
    z-index: 2;
}

/* Hide placeholder icon when image is present and loaded */
.card-image:has(img) .card-image::after,
.category-item:has(img) .category-item::after {
    display: none;
}

/* Hide broken images completely */
.card-image img[src=""],
.card-image img:not([src]),
.category-item img[src=""],
.category-item img:not([src]) {
    display: none;
}

/* ============================================
   PRODUCTS PAGE STYLES
   ============================================ */

/* Page Header */
.page-header {
    background: var(--bg-secondary);
    border-bottom: 3px solid var(--sammi-blue);
    padding: 2rem 0;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* Products Page Layout */
.products-page {
    padding: 2rem 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--bg-card);
    border: 2px solid var(--border-heavy);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-medium);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sammi-blue);
    display: inline-block;
}

/* Search Input */
.search-input-wrapper {
    display: flex;
    border: 2px solid var(--border-heavy);
}

.search-input-wrapper .form-input {
    border: none;
    flex: 1;
}

.search-btn {
    background: var(--bg-elevated);
    border: none;
    padding: 0 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.search-btn:hover {
    background: var(--sammi-blue);
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.5rem;
    /* Custom scrollbar styling */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--border-heavy) transparent;
}

/* Webkit scrollbar (Chrome/Safari/Edge) */
.filter-options::-webkit-scrollbar {
    width: 6px;
}

.filter-options::-webkit-scrollbar-track {
    background: transparent;
}

.filter-options::-webkit-scrollbar-thumb {
    background: var(--border-heavy);
    border-radius: 3px;
}

.filter-options::-webkit-scrollbar-thumb:hover {
    background: var(--sammi-blue);
}

/* Fade effect at bottom when scrollable */
.filter-group {
    position: relative;
}

.filter-options.scrollable::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, var(--bg-secondary));
    pointer-events: none;
}

/* Collapsible Filter Expand/Collapse for Mobile */
.filter-expand-btn {
    display: none;
    width: 100%;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    color: var(--sammi-blue);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    transition: color var(--transition-fast);
}

.filter-expand-btn:hover {
    color: var(--text-primary);
}

.filter-expand-btn .expand-icon {
    transition: transform var(--transition-fast);
}

.filter-expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

.filter-expand-btn .collapse-text {
    display: none;
}

.filter-expand-btn.expanded .expand-text {
    display: none;
}

.filter-expand-btn.expanded .collapse-text {
    display: inline;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.35rem 0;
    transition: color var(--transition-fast);
}

.filter-option:hover {
    color: var(--sammi-blue);
}

.filter-option input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-heavy);
    background: var(--bg-input);
    cursor: pointer;
    position: relative;
}

.filter-option input[type="radio"]:checked {
    border-color: var(--sammi-blue);
    background: var(--sammi-blue);
}

.filter-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: white;
}

.filter-option-child {
    padding-left: 1.5rem;
    font-size: 0.8rem;
}

.filter-count {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-left: auto;
}

/* Size Chips */
.size-options {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-chip {
    padding: 0.25rem 0.75rem !important;
    border: 1px solid var(--border-heavy);
    background: var(--bg-elevated);
    font-family: var(--font-mono);
    font-size: 0.75rem !important;
}

.size-chip:has(input:checked) {
    border-color: var(--sammi-blue);
    background: var(--sammi-blue);
    color: white;
}

.size-chip input {
    display: none;
}

/* Price Range */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-heavy);
    background: var(--bg-input);
    flex: 1;
}

.price-prefix {
    padding: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.price-input input {
    border: none;
    background: transparent;
    padding: 0.5rem;
    width: 100%;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.price-input input:focus {
    outline: none;
}

.price-separator {
    color: var(--text-muted);
}

/* Products Main Area */
.products-main {
    min-width: 0;
}

/* Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-heavy);
}

.results-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sort-options select {
    padding: 0.5rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border-heavy);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
}

.sort-options select:focus {
    outline: none;
    border-color: var(--sammi-blue);
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
}

.active-filters-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--sammi-blue);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--sammi-blue);
}

.filter-tag a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

.filter-tag a:hover {
    color: var(--sammi-blue);
}

/* Card Meta */
.card-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.meta-item {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 0.25rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-heavy);
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-heavy);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--sammi-blue);
    box-shadow: 0 0 10px var(--sammi-blue-glow);
}

.pagination-btn.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.pagination-num {
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 2px solid var(--border-heavy);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-num:hover {
    border-color: var(--sammi-blue);
}

.pagination-num.active {
    background: var(--sammi-blue);
    border-color: var(--sammi-blue);
    color: white;
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: var(--text-muted);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-elevated);
    border: 2px solid var(--border-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: crosshair;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    padding: 2rem;
}

.no-image-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.3;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.thumbnail-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid var(--border-heavy);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: var(--sammi-blue);
    box-shadow: 0 0 10px var(--sammi-blue-glow);
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    border-bottom: 2px solid var(--border-heavy);
    padding-bottom: 1.5rem;
}

.product-brand {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-short-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.product-price-section {
    border-bottom: 2px solid var(--border-heavy);
    padding-bottom: 1.5rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-display .price-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-display .price-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-display .price-vat {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.embroidery-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--sammi-blue-glow);
    border: 2px solid var(--sammi-blue);
    color: var(--sammi-blue);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.stock-status.in-stock {
    color: #10b981;
}

.stock-status.out-of-stock {
    color: #ef4444;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn {
    flex: 1;
}

/* Product Description */
.product-description {
    border-top: 2px solid var(--border-heavy);
    padding-top: 1.5rem;
}

.product-description h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Mobile Filter Toggle Button */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 2px solid var(--border-heavy);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.mobile-filter-toggle:hover {
    border-color: var(--sammi-blue);
    color: var(--sammi-blue);
}

.mobile-filter-toggle svg {
    flex-shrink: 0;
}

.filter-active-badge {
    background: var(--sammi-blue);
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    margin-left: 0.5rem;
}

/* Filters Header (visible on mobile) */
.filters-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-heavy);
}

.filters-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0;
}

.filters-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
}

.filters-close:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 350px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        margin: 0;
        z-index: 1001;
        overflow-y: auto;
        transition: left var(--transition-normal);
        padding: 1.5rem;
        padding-top: 4.5rem; /* Space for close button */
        background: var(--bg-card);
        border-right: 2px solid var(--border-heavy);
        box-sizing: border-box;
    }

    .filters-sidebar.filters-open {
        left: 0;
    }

    .filters-header {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem 1.5rem;
        background: var(--bg-card);
        border-bottom: 2px solid var(--border-heavy);
        z-index: 1;
    }

    .filter-options {
        max-height: none;
    }

    /* Collapsible filter options for mobile */
    .filter-options.filter-collapsed {
        max-height: 180px;
        overflow: hidden;
        position: relative;
    }

    .filter-options.filter-collapsed::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to bottom, transparent, var(--bg-secondary));
        pointer-events: none;
    }

    .filter-options.filter-expanded {
        max-height: none;
        overflow: visible;
    }

    .filter-options.filter-expanded::after {
        display: none;
    }

    .collapsible-filter .filter-expand-btn {
        display: flex;
    }

    /* Overlay when filters are open */
    body.filters-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-images {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }

    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-title {
        font-size: 1.75rem;
    }

    .price-display .price-value {
        font-size: 2rem;
    }
}

/* ============================================
   IMAGE ZOOM FUNCTIONALITY
   ============================================ */

.zoomable-image {
    transition: opacity 0.2s ease;
}

.zoom-lens {
    display: none;
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--sammi-blue);
    background: rgba(0, 119, 182, 0.1);
    pointer-events: none;
    z-index: 10;
}

.zoom-result {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 1rem);
    width: 400px;
    height: 400px;
    border: 2px solid var(--border-heavy);
    background-color: var(--bg-elevated);
    background-repeat: no-repeat;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.zoom-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    pointer-events: none;
    opacity: 0.8;
}

.product-main-image:hover .zoom-hint {
    opacity: 0;
}

/* Zoom Modal (Lightbox) */
.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 2px solid var(--border-heavy);
}

.zoom-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.zoom-modal-close:hover {
    color: var(--sammi-blue);
}

/* Thumbnail Active State */
.thumbnail-img.active {
    border-color: var(--sammi-blue);
    box-shadow: 0 0 10px var(--sammi-blue-glow);
}

/* ============================================
   PRODUCT OPTIONS FORM
   ============================================ */
.product-options-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.option-group {
    border-bottom: 1px solid var(--border-medium);
    padding-bottom: 1.5rem;
}

.option-group:last-of-type {
    border-bottom: none;
}

.option-group h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.option-group h4 .required {
    color: #ef4444;
}

/* Color Options */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 2px solid var(--border-heavy);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.color-option:hover {
    border-color: var(--sammi-blue);
}

.color-option:has(input:checked) {
    border-color: var(--sammi-blue);
    background: var(--sammi-blue-glow);
    box-shadow: 0 0 10px var(--sammi-blue-glow);
}

.color-option input {
    display: none;
}

.color-swatch-large {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-heavy);
}

.color-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-option {
    display: block;
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-label {
    display: block;
    padding: 0.75rem 1.25rem;
    background: var(--bg-elevated);
    border: 2px solid var(--border-heavy);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-align: center;
    min-width: 60px;
    transition: all var(--transition-fast);
}

.size-option:hover .size-label {
    border-color: var(--sammi-blue);
}

.size-option input:checked + .size-label {
    border-color: var(--sammi-blue);
    background: var(--sammi-blue);
    color: white;
}

.size-guide-link {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}

.size-guide-link a {
    color: var(--sammi-blue);
    text-decoration: underline;
}

/* Quantity Selector */
.quantity-selector {
    display: inline-flex;
    border: 2px solid var(--border-heavy);
}

.qty-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-elevated);
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--sammi-blue);
}

.quantity-selector input {
    width: 80px;
    height: 50px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-primary);
    background: var(--bg-input);
    border: none;
    border-left: 2px solid var(--border-heavy);
    border-right: 2px solid var(--border-heavy);
}


.quantity-selector input:focus {
    outline: none;
    background: var(--bg-elevated);
}

/* Stock Status Display */
.stock-status-display {
    padding: 1rem 0;
}

/* ============================================
   MARKDOWN DESCRIPTION CONTENT
   ============================================ */
.description-content {
    line-height: 1.8;
    color: var(--text-secondary);
}

.description-content p {
    margin-bottom: 1rem;
}

.description-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.description-content em {
    font-style: italic;
}

.description-content ul,
.description-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.description-content li {
    margin-bottom: 0.5rem;
}

.description-content ul li {
    list-style-type: disc;
}

.description-content ol li {
    list-style-type: decimal;
}

.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.description-content h3 {
    font-size: 1.1rem;
}

.description-content h4 {
    font-size: 1rem;
}

.description-content code {
    font-family: var(--font-mono);
    background: var(--bg-elevated);
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
}

.description-content blockquote {
    border-left: 3px solid var(--sammi-blue);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-style: italic;
}

.description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.description-content th,
.description-content td {
    padding: 0.75rem;
    border: 1px solid var(--border-heavy);
    text-align: left;
}

.description-content th {
    background: var(--bg-elevated);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE - Product Detail
   ============================================ */
@media (max-width: 1024px) {
    .zoom-result {
        display: none !important;
    }

    .zoom-lens {
        display: none !important;
    }

    .zoom-hint {
        display: none;
    }
}

@media (max-width: 768px) {
    .color-options {
        gap: 0.5rem;
    }

    .color-option {
        padding: 0.4rem 0.75rem;
    }

    .size-label {
        padding: 0.5rem 1rem;
        min-width: 50px;
    }

    .quantity-selector {
        width: 100%;
    }

    .quantity-selector input {
        flex: 1;
    }

    .qty-btn {
        width: 60px;
    }
}

/* ============================================
   AUTH PAGES - Login/Register
   ============================================ */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--bg-card);
    border: 2px solid var(--border-heavy);
    padding: 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-heavy);
    background: var(--bg-input);
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--sammi-blue);
    border-color: var(--sammi-blue);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label a {
    color: var(--sammi-blue);
}

.form-link {
    font-size: 0.875rem;
    color: var(--sammi-blue);
    text-decoration: none;
}

.form-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-medium);
}

.auth-footer p {
    margin: 0;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--sammi-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 2px solid;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

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

.account-card {
    background: var(--bg-card);
    border: 2px solid var(--border-heavy);
}

.account-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--sammi-blue);
}

.account-card-header h3 {
    margin: 0;
    font-size: 1rem;
}

.account-card-body {
    padding: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.status-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-buttons .btn {
    text-align: center;
}

/* ============================================
   MOBILE RESPONSIVE - Navigation
   ============================================ */

/* Tablets */
@media (max-width: 1100px) {
    .nav-container {
        gap: 1rem;
    }

    .nav-left,
    .nav-right {
        gap: 1rem;
    }

    .nav-left > a,
    .nav-left .nav-dropdown-trigger,
    .nav-right > a {
        font-size: 0.7rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Mobile nav container - 3 columns: basket | logo | hamburger */
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 0 1rem;
        gap: 0;
    }

    /* Mobile left - basket */
    .nav-mobile-left {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-mobile-left .mobile-cart {
        display: flex;
        color: #FFFFFF;
    }

    /* Hide desktop nav sections */
    .nav-left {
        display: none;
    }

    /* Hide text links and VAT toggle on mobile, also hide desktop cart */
    .nav-right > a,
    .nav-right .vat-toggle,
    .nav-right .nav-admin-link,
    .nav-right .nav-dropdown,
    .nav-right .nav-cart {
        display: none;
    }

    /* Keep only hamburger visible on the right */
    .nav-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
    }

    /* Logo centered */
    .nav-logo {
        display: flex;
        justify-content: center;
    }

    .logo {
        height: 40px;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: var(--bg-secondary);
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        border-left: 2px solid var(--border-heavy);
        transition: right var(--transition-normal);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-mobile-menu.mobile-open {
        right: 0;
    }

    .nav-mobile-menu > a {
        display: block;
        padding: 1rem 0;
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-primary);
        text-decoration: none;
        border-bottom: 1px solid var(--border-medium);
    }

    .nav-mobile-menu > a:hover {
        color: var(--sammi-blue);
    }

    /* Mobile dropdown */
    .nav-mobile-menu .nav-dropdown {
        border-bottom: 1px solid var(--border-medium);
    }

    .nav-mobile-menu .nav-dropdown-trigger {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 0;
        font-size: 1rem;
        border-bottom: none;
        color: var(--text-primary);
    }

    .nav-mobile-menu .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transform: none;
        border: none;
        background: var(--bg-primary);
        box-shadow: none;
        transition: max-height var(--transition-normal);
    }

    .nav-mobile-menu .nav-dropdown.active .nav-dropdown-menu {
        max-height: 400px;
    }

    .nav-mobile-menu .dropdown-item {
        padding: 0.75rem 1rem;
    }

    /* Mobile VAT toggle */
    .nav-mobile-menu .mobile-vat {
        margin-top: 1.5rem;
        padding: 1rem;
        justify-content: center;
        border: 1px solid var(--border-medium);
    }

    /* Mobile overlay */
    body.mobile-menu-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    /* Mobile dropdown active state */
    .nav-mobile-menu .nav-dropdown.active .nav-dropdown-trigger svg {
        transform: rotate(180deg);
    }
}

/* ============================================
   BUNDLE DEALS - HOMEPAGE SECTION
   ============================================ */
.bundle-deals-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.bundles-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.bundle-home-card {
    background: white;
    border: 2px solid var(--border-heavy);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.bundle-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-color: var(--sammi-blue);
}

.bundle-home-card.featured {
    border-color: var(--sammi-blue);
}

.bundle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--sammi-blue);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.bundle-home-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.bundle-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bundle-home-content {
    padding: 1.25rem;
}

.bundle-home-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.bundle-short-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    line-height: 1.4;
}

.bundle-home-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bundle-was {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.bundle-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sammi-blue);
    font-family: var(--font-mono);
}

.bundle-vat {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bundle-home-cta {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .bundles-home-grid {
        grid-template-columns: 1fr;
    }

    .bundle-home-card {
        max-width: 400px;
        margin: 0 auto;
    }
}
