/* ==========================================================================
   AgriKenteken - Premium License Plate Funnel
   "The Tegel Funnel Cousin" - Refined & Unified Flow
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #1a1a1a;
    --color-primary-light: #2d2d2d;
    --color-accent: #FFC20E;
    /* Updated to official yellow */
    --color-accent-dim: rgba(255, 194, 14, 0.1);

    --bg-primary: #fafaf8;
    --bg-secondary: #ffffff;
    --bg-elevated: #f5f4f0;

    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --text-inverse: #ffffff;

    --success: #16a34a;
    /* Muted Ecomm Green */
    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-default: rgba(0, 0, 0, 0.1);

    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);

    --container-max: 1200px;
}

/* --------------------------------
   Base Styles
   -------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-modern>* {
    animation: fadeInScale 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal-modern>*:nth-child(1) {
    animation-delay: 0.1s;
}

.reveal-modern>*:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-modern>*:nth-child(3) {
    animation-delay: 0.3s;
}

.reveal-modern>*:nth-child(4) {
    animation-delay: 0.4s;
}

.hero-visual img {
    animation: slideInRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
}

/* --------------------------------
   Promobar
   -------------------------------- */
.promobar {
    background: var(--color-accent);
    color: var(--color-primary);
    overflow: hidden;
    padding: 12px 0;
}

/* Marquee for Mobile */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.promobar-track {
    display: flex;
    justify-content: center;
    gap: 32px;
}

@media (max-width: 768px) {
    .promobar-track {
        justify-content: flex-start;
        width: max-content;
        animation: marquee 15s linear infinite;
        padding-left: 32px;
    }

    .promobar-item {
        white-space: nowrap;
    }
}

.promobar-item {
    font-family: 'Fira Sans Condensed', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    /* Standaard (Desktop) naar 13px */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .promobar-item {
        font-size: 11px;
        /* Terug naar 11px op mobiel */
    }
}

.promobar-item svg {
    color: var(--color-primary);
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.step.dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-accent-dim);
}

.step.dot.complete {
    background: var(--success);
}

.step-line {
    width: 30px;
    height: 2px;
    background: #ddd;
}

.step-line.active {
    background: var(--color-primary);
}

.plate-mini-preview {
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
}

#miniPlateDisplay canvas {
    display: block;
    width: 100%;
    border-radius: 4px;
}

.page__header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1100;
    /* Higher than sticky preview if needed */
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--color-primary);
}

.btn-primary-sm {
    background: var(--color-primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
}

.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f5f5f5;
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.2s;
    text-decoration: none;
}

.header-cart:hover {
    background: #eeeeee;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .header-cart {
        width: 38px;
        height: 38px;
    }

    .header-cart svg {
        width: 18px;
        height: 18px;
    }
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-accent);
    color: #000;
    font-size: 10px;
    font-weight: 950;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
}

.hamburger-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
}

/* --------------------------------
   Hero Section
   -------------------------------- */
.hero-premium {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    z-index: 3;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    /* More space for the text/CTA */
    gap: 40px;
    align-items: stretch;
    /* Allow columns to match height for bottom alignment */
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-cta-group {
    margin-top: auto;
    /* Push to bottom to align with social proof */
}

.hero-title {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 64px;
    /* Slightly smaller for 2-line wrap */
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-badge-text {
        font-size: 13px;
        /* make it smaller so it fits on 1 line */
    }
}


/* white-space: nowrap removed to allow responsive title wrapping */

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    max-width: 540px;
    letter-spacing: 0.01em;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

.btn-premium {
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 20px 40px;
    height: 64px;
    /* Explicit height to match btn-secondary */
    border-radius: var(--radius-lg);
    font-weight: 950;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    min-width: 240px;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    background: #f0cc00;
}

.btn-premium.disabled-state,
.btn-atc-main.disabled-state,
.btn-atc-mobile.disabled-state {
    opacity: 0.3;
    filter: none;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 20px 40px;
    height: 64px;
    /* Exact height to match btn-premium */
    border-radius: var(--radius-lg);
    font-weight: 950;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    min-width: 240px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Preview Animator */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* Removed fixed heights to allow natural content flow with auto-margins */
}

.hero-preview-animator {
    width: 100%;
    max-width: 800px;
    /* Much larger eyecatcher */
    background: rgba(255, 255, 255, 0.05);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.hero-preview-tag {
    font-size: 13px;
    /* Vergroot naar 13px op desktop */
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

#heroPlatePreview {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.social-proof-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    /* Push to bottom to align with CTAs */
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    backdrop-filter: blur(10px);
}

.avatar-group {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    /* Reordering for better stack effect */
    margin-left: 0;
}

.avatar-hero-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #000;
    margin-left: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 14px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.avatar-hero-circle:hover {
    z-index: 10;
    transform: scale(1.1) translateY(-5px);
}

/* --------------------------------
   Configurator (Step 1)
   -------------------------------- */
.configurator-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-heading {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 42px;
    font-weight: 900;
    margin: 12px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
}

.configurator-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.sticky-preview {
    position: sticky;
    top: 100px;
    z-index: 50;
    margin-bottom: 24px;
}

.configurator-preview {
    position: relative;
    height: 100%;
}

.preview-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.preview-label {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.preview-dimensions {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 16px;
    letter-spacing: 0.02em;
}

/* Preview Features */
.preview-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
}

.feat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.feat-item span {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.feat-item i {
    font-size: 20px;
    color: #bdc3c7;
}

/* Step Markers */
.config-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.step-number {
    width: 24px;
    height: 24px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    border-radius: 4px;
    flex-shrink: 0;
}

.config-card-title {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    margin: 0;
}

.config-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.config-sidebar-header {
    margin-bottom: 32px;
}

.config-sidebar-header .section-heading {
    text-align: left;
    margin: 0 0 8px 0;
    font-size: 24px;
}

.config-sidebar-header .section-description {
    text-align: left;
    margin: 0;
    font-size: 14px;
}

.modern-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 900;
    background: #fff;
    transition: all 0.2s;
}

.modern-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-dim);
}

.modern-input.input-limit-reached {
    border-color: #e74c31;
    background-color: #fff5f5;
    color: #e74c31;
}

.modern-input.input-limit-reached:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 49, 0.1);
}

/* Symbols Picker */
.symbols-picker {
    margin-top: 16px;
}

.picker-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.symbol-btn {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    font-family: 'Inter', 'Arial', sans-serif;
    color: #333;
    transition: all 0.2s;
}

.symbol-btn:hover {
    background: var(--color-accent-dim);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

.input-meta {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: right;
}

.config-substep {
    margin-top: 24px;
}

.substep-title {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

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

    .visual-tile-wrapper {
        padding: 4px;
    }
}

@media (max-width: 400px) {
    .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Trust Grid Responsive Layout */
.trust-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 900px) {

    .trust-grid-container,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.visual-tile-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
}

.visual-tile-wrapper:hover {
    transform: translateY(-2px);
}

.visual-tile {
    width: 100%;
    aspect-ratio: 3.5/1;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-tile-wrapper.active {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    box-shadow: none;
}

.tile-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .tile-label {
        font-size: 9px;
    }
}

.toggle-group {
    display: flex;
    gap: 8px;
}

.toggle-group button {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-default);
    background: #fff;
    border-radius: 8px;
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.toggle-group button:hover {
    transform: translateY(-2px);
}

.toggle-group button.active {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    color: #000;
    box-shadow: none;
    z-index: 5;
}

.toggle-group button.text-color-red {
    background: #CC0000;
    color: #fff;
    border-color: #b30000;
}

.toggle-group button.text-color-red.active {
    border-color: var(--color-accent);
    background: #CC0000;
    box-shadow: none;
    z-index: 5;
}

.toggle-group button.text-color-black {
    background: #000000;
    color: #fff;
    border-color: #000000;
}

.toggle-group button.text-color-black.active {
    border-color: var(--color-accent);
    background: #000000;
    box-shadow: none;
    z-index: 5;
}

/* Sticker Selection Grid */
.sticker-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

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

@media (max-width: 400px) {
    .sticker-selector-grid {
        grid-template-columns: 1fr;
    }
}

.sticker-option-card {
    border: 2px solid var(--border-default);
    border-radius: 12px;
    padding: 12px 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    min-width: 0;
}

.sticker-option-card:hover {
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.sticker-option-card input {
    position: absolute;
    opacity: 0;
}

.sticker-option-card.active {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    box-shadow: none;
    z-index: 5;
}

.sticker-visual {
    width: 34px;
    height: 72px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-weight: 950;
    font-size: 10px;
    color: #fff;
    overflow: hidden;
    position: relative;
    padding-bottom: 4px;
}

.eu-circle {
    width: 24px;
    height: 24px;
    margin-top: 8px;
    flex-shrink: 0;
    display: block;
}

.eu-dot {
    fill: #FFD700;
}

.sticker-visual.black .eu-dot {
    fill: #999;
}

.sticker-code {
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sticker-visual.none {
    background: #eee;
    color: #aaa;
    border: 1px dashed #ccc;
    font-size: 9px;
}

.sticker-visual.blue {
    background: #003399;
}

.sticker-visual.black {
    background: #1a1a1a;
}

.s-detail {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sticker-label-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 0;
    width: 100%;
}

.s-name {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.s-price {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
}

/* ATC Card (Summary) */
.atc-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    margin-top: 32px;
}

.atc-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.total-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

.total-amount {
    font-size: 42px;
    font-weight: 950;
    line-height: 1;
}

.btn-atc-main {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    padding: 22px;
    border-radius: var(--radius-lg);
    font-size: 18px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
}

.atc-free-shipping {
    margin-top: 12px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.atc-free-shipping svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.atc-free-shipping strong {
    color: var(--success);
    font-weight: 900;
}

.atc-free-shipping.reached {
    background: #f0fdf4;
    border-color: #dcfce7;
    color: var(--success);
}

.atc-free-shipping.reached svg {
    color: var(--success);
}

/* --------------------------------
   Upsell Page Components
   -------------------------------- */
.upsell-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.upsell-product-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.upsell-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.upsell-product-card.selected {
    border-color: var(--success);
    background: #fafffa;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.05);
    /* Reduced shadow */
}

.upsell-img-box {
    width: 110px;
    height: 110px;
    background: transparent;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
    /* Removed outline */
}

.upsell-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Removed hover scale */

.upsell-info {
    flex: 1;
}

.upsell-info h4 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 4px;
}

.upsell-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
}

.upsell-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.upsell-variations {
    margin: 8px 0;
}

.variation-select {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    background-color: #fff;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s;
}

.variation-select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.upsell-price {
    font-size: 16px;
    font-weight: 950;
}

.upsell-action {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upsell-product-card.selected .upsell-action {
    background: var(--success);
    color: #fff;
}

.summary-sidebar {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-subtle);
    position: sticky;
    top: 100px;
}

.config-card-title {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.summary-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 24px;
    /* Removed border-bottom */
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 12px;
}

.summary-item.total {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 950;
    font-size: 18px;
}

/* --------------------------------
   Footer & Common
   -------------------------------- */
.footer {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-block-unified {
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
    /* Remove margin to fix colored whitespace */
    padding-top: 0;
    /* Spacing handled by whitespace div in HTML */
    /* Maintain dark base while allowing background-image */
}


.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 10px;
    opacity: 0.3;
}

/* Mobile Sticky */
.sticky-atc-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border-default);
    padding: 12px 24px;
    /* Increased padding for better breathing room */
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 1000;
}

/* Address Row for Checkout */
.address-row {
    display: grid;
    grid-template-columns: 5fr 3fr 2fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .address-row {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px;
    }
}

.sticky-price-total {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sticky-label {
    font-size: 10px;
    font-weight: 900;
    color: var(--text-muted);
}

.sticky-amount {
    font-size: 18px;
    font-weight: 950;
}

.btn-atc-mobile {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    flex: 1;
    gap: 6px;
}

@media (max-width: 900px) {
    .nav-desktop {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .hero-container,
    .upsell-layout,
    .reviews-grid,
    .steps-grid,
    .trust-grid-container {
        /* Ensure all grids stack on mobile */
        grid-template-columns: 1fr !important;
    }

    .configurator-container {
        display: block !important;
    }

    .configurator-controls {
        margin-top: 24px;
    }

    .hero-container {
        text-align: center;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group .btn-premium,
    .hero-cta-group .btn-secondary {
        width: 100%;
        justify-content: center;
        min-width: 0;
    }

    .hero-visual {
        order: 1;
        /* Visual and Review block below text/CTA */
        min-height: auto;
        gap: 32px;
        margin-top: 40px;
    }

    .social-proof-hero {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 40px !important;
        line-height: 1.1;
    }

    .hero-cta-group,
    .social-proof-hero {
        margin-top: 24px;
        /* Reset auto-margins for mobile stacking */
    }

    .hero-preview-tag {
        font-size: 13px;
        letter-spacing: 0.1em;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .sticky-atc-mobile {
        display: flex;
    }

    /* --- Mobile Sticky Preview --- */
    .configurator-preview {
        position: sticky;
        top: 65px;
        /* below the sticky header */
        z-index: 500;
        margin-bottom: 0;
    }

    /* Base card style on mobile — transitions for smooth collapse */
    .preview-card {
        padding: 16px !important;
        border-radius: 0 0 16px 16px !important;
        border-top: 3px solid var(--color-accent) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: padding 0.3s ease;
    }

    /* Canvas: smoothly shrinks when sticky */
    #platePreview canvas {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        transition: height 0.3s ease;
    }

    /* USP items: animatable via max-height collapse */
    .preview-label,
    .preview-dimensions,
    .preview-features {
        overflow: hidden;
        max-height: 120px;
        opacity: 1;
        transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.3s ease;
    }

    .preview-label {
        max-height: 30px;
    }

    .preview-dimensions {
        max-height: 30px;
    }

    .preview-features {
        max-height: 80px;
    }
}

/* is-sticky state: collapse USPs and shrink canvas */
@media (max-width: 900px) {

    .preview-card.is-sticky {
        padding: 8px 16px !important;
    }

    /* Collapse USPs by squashing max-height to 0 */
    .preview-card.is-sticky .preview-label,
    .preview-card.is-sticky .preview-dimensions,
    .preview-card.is-sticky .preview-features {
        max-height: 0 !important;
        opacity: 0 !important;
        margin: 0 !important;
        pointer-events: none;
    }

    /* Shrink canvas to compact height */
    .preview-card.is-sticky #platePreview canvas {
        height: 52px !important;
        width: auto !important;
    }
}

/* keyboard-open state: keep preview strictly fixed under the header when mobile keyboard is open */
@media (max-width: 900px) {
    body.keyboard-open .configurator-preview {
        position: fixed !important;
        top: 65px !important;
        left: 0;
        right: 0;
        z-index: 999;
        margin: 0;
        width: 100%;
    }

    /* Push content down to account for fixed preview */
    body.keyboard-open .configurator-controls {
        padding-top: 150px;
    }

    body.keyboard-open .preview-card {
        padding: 8px 16px !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    }

    body.keyboard-open .preview-card .preview-label,
    body.keyboard-open .preview-card .preview-dimensions,
    body.keyboard-open .preview-card .preview-features {
        display: none !important;
    }

    body.keyboard-open .preview-card #platePreview canvas {
        height: 52px !important;
        width: auto !important;
    }
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: 0.3s;
    padding: 32px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ================================
   Reviews Section — Premium Cards
   ================================ */
.reviews-section {
    padding: 100px 0;
    background: #fff;
}

.review-score-badge {
    margin-top: 16px;
}

.review-stars-large {
    font-size: 28px;
    color: var(--color-accent);
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.review-score-text {
    font-size: 16px;
    color: var(--text-muted);
}

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

.review-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 64px;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}

.review-card-stars {
    font-size: 16px;
    color: var(--color-accent);
    letter-spacing: 2px;
}

.review-card-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    flex: 1;
    font-style: italic;
}

.review-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
}

/* Hover-lift for Steps & Trust items */
.step-card,
.trust-item-box {
    transition: all 0.3s ease !important;
}

.step-card:hover,
.trust-item-box:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--color-accent) !important;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ins-plate-text {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
}

.ins-info h3 {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ins-info p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
}

.btn-use-design {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.review-author-name {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.review-verified {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 11px;
    color: #27ae60;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ================================
   Inspiration — Showcase Grid
   ================================ */
.portfolio-section {
    padding: 140px 0;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.inspiration-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.inspiration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.inspiration-visual {
    height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.inspiration-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.02));
}

/* Mini Plate Styles for Inspiration */
.ins-plate {
    width: 280px;
    height: 60px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.plate-yellow {
    background: #FFC20E;
}

.plate-black {
    background: #1a1a1a;
}

.plate-red {
    background: #c0392b;
}

.plate-blue {
    background: #003da5;
}

.plate-green {
    background: #006B3F;
}

.plate-pink {
    background: #FF69B4;
}

.ins-plate-text {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #000;
}

.text-white {
    color: #fff;
}

.text-yellow {
    color: #FFC20E;
}

.text-black {
    color: #000;
}

.ins-sticker {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    color: #fff;
    font-size: 8px;
    font-weight: 950;
}

.sticker-nl {
    background: #003399;
}

.sticker-be-black {
    background: #1a1a1a;
}

.ins-sticker-stars {
    width: 18px;
    height: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.inspiration-content {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ins-info h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px;
}

.ins-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-use-design {
    padding: 10px 18px;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s;
}

.inspiration-card:hover .btn-use-design {
    background: var(--color-accent);
    color: #000;
}

.inspiration-cta {
    margin-top: 100px;
    padding-bottom: 40px;
    text-align: center;
}

.inspiration-cta p {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-muted);
}

.btn-primary-large {
    display: inline-block;
    padding: 20px 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 16px;
    font-weight: 900;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 51, 153, 0.2);
}

.btn-primary-large:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 51, 153, 0.3);
}

/* ================================
   Subfooter Trust Bar
   ================================ */
.sub-footer-trust {
    padding: 80px 0;
    background: #0a0a0a;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-text h4 {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #fff;
}

.trust-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   Main Footer
   ================================ */
.main-footer {
    padding: 80px 0 40px;
}

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

.footer-tagline {
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}


.social-link {
    width: 36px;
    height: 36px;
    background: #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.social-link:hover {
    background: var(--color-primary);
    color: #fff;
}

.footer-nav-col h4 {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #000;
}

.footer-nav-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.2s;
}

.footer-nav-col a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom-premium {
    padding-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.pay-badges-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.pay-logo {
    height: 28px;
    /* Verkleind van 32px naar 28px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 2px 8px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.pay-logo img {
    height: 15px;
    /* Verkleind van 18px naar 15px */
    width: auto;
    object-fit: contain;
}

/* Specific groupings */
.pay-logo.wide {
    gap: 12px;
}

.pay-logo img.logo-sm {
    height: 18px;
    /* Smaller logos need more breathing room */
}

/* On dark footer, allow logos to pop slightly more */
.main-footer .pay-logo {
    border-color: rgba(255, 255, 255, 0.1);
}

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

    .sub-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-premium {
        flex-direction: column;
        gap: 20px;
    }
}

/* ================================
   Funnel Progress Bar
   ================================ */
.funnel-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    color: #bbb;
    cursor: default;
}

a.progress-step {
    cursor: pointer;
}

.progress-step-number {
    display: flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    background: #eee;
    color: #999;
    transition: all 0.3s;
}

.progress-step.active .progress-step-number {
    background: var(--color-accent);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 194, 14, 0.3);
}

.progress-step.completed .progress-step-number {
    background: var(--success);
    color: #fff;
}

.progress-step.active .progress-step-label {
    color: var(--color-accent);
}

.progress-step.completed .progress-step-label {
    color: var(--success);
}

.progress-line {
    width: 40px;
    height: 2px;
    background: #ddd;
    border-radius: 2px;
}

.progress-line.completed {
    background: var(--success);
}

@media (max-width: 640px) {
    .progress-step-label {
        display: none;
    }

    .funnel-progress-bar {
        gap: 4px;
    }

    .progress-line {
        width: 24px;
    }
}

/* ================================
   RDW Validation Error
   ================================ */
.rdw-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #FFF0F0;
    border: 1px solid #FFcccc;
    border-radius: 12px;
    color: #CC0000;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 10px;
    animation: shake-subtle 0.4s ease;
}

@keyframes shake-subtle {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    60% {
        transform: translateX(-3px);
    }

    80% {
        transform: translateX(2px);
    }
}

.input-microcopy {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.01em;
}

/* ================================
   Free Shipping Indicator
   ================================ */
.free-shipping-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    padding: 10px 16px;
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px dashed #ddd;
    transition: all 0.3s;
}

.free-shipping-indicator.reached {
    background: #f0fff4;
    color: var(--success);
    border-color: #bbf7d0;
}

/* ================================
   Toast Notifications
   ================================ */
.toast-message {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #222;
    color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
}

.toast-message.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-message.error {
    background: #CC0000;
}

/* ================================
   Shipping Progress Bar (Upsells)
   ================================ */
.shipping-progress-bar {
    padding: 12px 0;
    margin-bottom: 16px;
}

.shipping-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    margin-bottom: 8px;
}

.shipping-progress-track {
    height: 6px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.shipping-progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* ================================
   Quantity Control
   ================================ */
.quantity-control-wrapper {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

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

.qty-label {
    font-size: 13px;
    font-weight: 800;
    color: #333;
}

.qty-buttons {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f1f1f1;
    border-radius: 10px;
    padding: 2px;
    border: 1px solid #e5e5e5;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.qty-value {
    width: 44px;
    text-align: center;
    font-weight: 900;
    font-size: 15px;
    color: #111;
}

.qty-btn:hover {
    background: var(--color-accent);
    color: #000;
}

.qty-value {
    font-size: 16px;
    font-weight: 900;
    min-width: 24px;
    text-align: center;
}

/* ================================
   Shipping / Payment Indicators
   ================================ */
.shipping-free {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.shipping-cost {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    margin-bottom: 12px;
}

.summary-item.sub {
    font-size: 12px;
    color: #999;
    padding-left: 12px;
}

/* ================================
   Cart Item Card (Upsells Summary)
   ================================ */
.cart-item-card {
    background: #FFFDF5;
    /* Very Light Yellow */
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cart-item-card:hover {
    border-color: #333;
    /* Dark/Black hover as requested */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-item-card.is-active {
    border: 2px solid var(--color-accent);
    /* Solid Brand Yellow */
    background: #FFFEF2;
    box-shadow: 0 6px 15px rgba(255, 194, 14, 0.08);
    /* Reduced shadow */
}

.cart-item-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-mini-plate-wrap {
    flex: 1;
    max-width: 140px;
}

.cart-mini-plate-wrap canvas {
    display: block;
    width: 100%;
    border-radius: 4px;
    /* Less rounded for authenticity */
}

.cart-item-actions {
    display: flex;
    gap: 8px;
}

.cart-item-actions button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit-item:hover {
    background: #f8faff;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-remove-item:hover {
    background: #fff5f5;
    border-color: #ffcccc;
    color: #cc0000;
}

/* Integrated Quantity inside Card */
.cart-item-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 2px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.cart-qty-btn:hover {
    background: var(--color-accent);
}

.cart-qty-value {
    width: 32px;
    text-align: center;
    font-weight: 950;
    font-size: 13px;
}

.cart-item-details {
    border-top: 1px dashed #eee;
    padding-top: 12px;
}

.cart-item-main-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.cart-item-text {
    font-weight: 950;
    font-size: 14px;
    color: #111;
}

.cart-item-text small {
    color: #999;
    font-weight: 700;
    margin-left: 4px;
}

.cart-item-price {
    font-weight: 900;
    font-size: 14px;
    color: #111;
}

.cart-item-sub-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin-bottom: 2px;
}

.sub-label {
    opacity: 0.9;
    padding-left: 2px;
}

.sub-marker {
    color: var(--color-accent);
    margin-right: 4px;
    font-weight: 900;
}


.add-plate-card {
    background: #FFFCEB;
    /* Light Yellow */
    border: 3px dashed var(--color-accent);
    /* Brand Yellow Dashed */
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 32px;
    transition: all 0.3s ease;
}

.add-plate-card:hover {
    transform: translateY(-2px);
}

/* Icon removed from HTML, keeping styles as reference if needed but cleaning up layout */
.add-plate-info {
    flex: 1;
}

.plate-plus-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-primary);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.hot-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #000;
    font-size: 10px;
    font-weight: 950;
    padding: 3px 8px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.add-plate-info h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 4px;
}

.add-plate-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.add-plate-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-new-plate {
    padding: 18px 32px;
    border: none;
    background: #000;
    color: #fff;
    border-radius: 14px;
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 16px;
    font-weight: 950;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.btn-new-plate:hover {
    background: #222;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.btn-copy-plate {
    background: #ffffff;
    color: #000000;
    border: 2px solid #eeeeee;
}

.btn-new-plate {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.btn-copy-plate:hover,
.btn-new-plate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-copy-plate:hover {
    border-color: #cccccc;
}

.btn-new-plate:hover {
    background: #222;
    border-color: #222;
}

.upsell-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    background: var(--color-accent);
    color: #000;
    border-radius: 4px;
    margin-bottom: 4px;
}

.upsell-product-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 900px) {
    .add-plate-card {
        flex-direction: column;
        text-align: center;
    }

    .add-plate-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .add-plate-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .add-plate-icon {
        margin: 0 auto;
    }

    .add-plate-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-new-plate {
        width: 100%;
        min-width: 0;
    }
}

/* ================================
   Checkout Page Styles
   ================================ */
.checkout-main {
    padding: 40px 0 80px;
    background: #fafaf8;
    min-height: 80vh;
}

.back-link-checkout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.back-link-checkout:hover {
    color: var(--color-primary);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.checkout-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 4px;
    font-family: 'Fira Sans Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.checkout-subtitle {
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
}

.checkout-form-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}

.checkout-section-title {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Fira Sans Condensed', sans-serif;
}

.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.checkout-form-group {
    margin-bottom: 16px;
}

.checkout-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    color: #555;
}

.checkout-input {
    width: 100%;
    height: 52px;
    /* Fixed height for consistency */
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    box-sizing: border-box;
}

.checkout-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-dim);
}

select.checkout-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.checkout-input.error {
    border-color: #CC0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.08);
}

/* Shipping Options (Checkout) */
.checkout-shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-shipping-option {
    cursor: pointer;
    display: block;
}

.checkout-shipping-option input {
    position: absolute;
    opacity: 0;
}

.checkout-shipping-content {
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.2s;
}

.checkout-shipping-option input:checked+.checkout-shipping-content {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.checkout-shipping-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.checkout-shipping-name {
    font-size: 15px;
    font-weight: 800;
}

.checkout-shipping-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.checkout-shipping-price {
    font-size: 15px;
    font-weight: 900;
    color: var(--color-primary);
    white-space: nowrap;
}

.checkout-shipping-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Payment Options (Checkout) */
.checkout-payment-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.checkout-payment-option {
    cursor: pointer;
    flex: 1;
    min-width: 100px;
}

.checkout-payment-option input {
    position: absolute;
    opacity: 0;
}

.checkout-payment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    transition: all 0.2s;
}

.checkout-payment-option input:checked+.checkout-payment-content {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.pay-method-icon {
    font-size: 24px;
}

/* Legal Text */
.checkout-legal-text {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-top: 8px;
}

.checkout-legal-text p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 6px;
}

.checkout-legal-text p:last-child {
    margin-bottom: 0;
}

/* Order Summary (Checkout Sidebar) */
.checkout-order-summary {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 28px;
    position: sticky;
    top: 100px;
}

.checkout-summary-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.checkout-cart-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-item-preview {
    width: 90px;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.checkout-item-preview canvas {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.checkout-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
}

.checkout-item-meta {
    font-size: 11px;
    color: #999;
}

.checkout-item-qty {
    font-size: 11px;
    color: #999;
}

.checkout-item-price {
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.checkout-cart-sub-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    padding: 6px 0 6px 12px;
}

.checkout-price-breakdown {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.checkout-price-row.total {
    border-top: 1px solid #eee;
    padding-top: 14px;
    margin-top: 14px;
    font-size: 18px;
    font-weight: 950;
}

.checkout-secure-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

.checkout-pay-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.checkout-trust-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}

.checkout-trust-stars {
    font-size: 22px;
    color: var(--color-accent);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.checkout-trust-card p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.checkout-trust-sub {
    font-size: 11px !important;
    margin-top: 4px !important;
}

/* Loading */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
}

.checkout-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #eee;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

    .checkout-form-row {
        grid-template-columns: 1fr;
    }

    .checkout-order-summary {
        position: static;
    }
}

/* ================================
   Plate Mini Preview (Upsells)
   ================================ */
.plate-mini-preview {
    text-align: center;
}

/* ================================
   Funnel Mini Footer (Sub Pages)
   ================================ */
.funnel-mini-footer {
    padding: 24px 0;
    border-top: 1px solid #eee;
    text-align: center;
    margin-top: 40px;
}

.funnel-mini-footer p {
    font-size: 13px;
    color: #999;
    margin: 0;
}