:root {
    --bg: #f3f4f6;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --text-main: #0f172a;
    --text-soft: #6b7280;
    --accent: #ff5a3c;
    --accent-dark: #e0492f;
    --accent-soft: rgba(255, 90, 60, 0.12);

    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;

    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.10);
}

/* RESET / GLOBAL
   ---------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    color: var(--text-main);
    background: var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Baloo 2", system-ui, sans-serif;
    margin-top: 0;
}

/* Container */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ===== HEADER + NAV ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo {
    font-family: "Pacifico", system-ui, sans-serif;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.header-tagline {
    font-size: 11px;
    color: var(--text-soft);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--text-soft);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover {
    background: rgba(148, 163, 184, 0.18);
    color: var(--text-main);
    transform: translateY(-1px);
}

/* Hamburger */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #ffffff;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    margin: 0 auto;
}

/* Mobile nav */

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 10px 16px 12px;
        display: none;
        z-index: 50;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .header-tagline {
        font-size: 10px;
    }
}

/* ===== HERO ===== */

.hero {
    padding: 40px 0 60px;
}

.hero-home {
    padding: 40px 0 60px;
    background:
        radial-gradient(circle at top left, #e0fbea 0, #f9fafb 50%, #f3f4f6 100%);
    border-bottom: 1px solid var(--border);
}

/* Basis: mobiel = alles onder elkaar in DOM-volgorde */
.hero-home-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Chip + titel */

.hero-chip {
    align-self: flex-start;
    margin-bottom: 4px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-soft);
    gap: 6px;
}

.chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.hero-title {
    font-size: clamp(30px, 5.2vw, 38px);
    line-height: 1.12;
    margin: 8px 0 4px;
}

.hero-title span {
    color: var(--accent);
}

/* Foto (komt op mobiel direct na de titel) */

.hero-image-wrap {
    max-width: 420px;
}

.hero-image-inline {
    margin: 4px 0 4px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #ffffff;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, #eef2ff, #e3ffe6);
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-inner {
    background: #ffffffcc;
    padding: 16px 22px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
}

/* Tekst / bullets / CTA */

.hero-text {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-soft);
    margin-bottom: 4px;
    max-width: 520px;
}

.hero-list {
    margin: 8px 0 0;
    padding-left: 20px;
    font-size: 15px;
    color: var(--text-soft);
    font-family: montserrat;
}

.hero-list li {
    margin-bottom: 4px;
}

.hero-starting-price {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-soft);
}

.hero-starting-price strong {
    color: var(--accent);
}

.hero-cta {
    margin-top: 14px;
    align-self: flex-start;
}

/* Mobiel: minder padding & kleinere foto */
@media (max-width: 768px) {
    .hero-home {
        padding: 24px 0 32px;
    }

    .hero-image-inline {
        margin: 8px 0 8px;
    }

    .hero-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
}

/* Desktop: nette 2-koloms grid (foto links, content rechts) */
@media (min-width: 900px) {
    .hero-home-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        column-gap: 40px;
        grid-template-areas:
            "image chip"
            "image title"
            "image text"
            "image list"
            "image price"
            "image cta";
        align-items: center;
    }

    .hero-image-wrap {
        grid-area: image;
        justify-self: flex-start;
    }

    .hero-chip {
        grid-area: chip;
    }

    .hero-title {
        grid-area: title;
    }

    .hero-text {
        grid-area: text;
    }

    .hero-list {
        grid-area: list;
    }

    .hero-starting-price {
        grid-area: price;
    }

    .hero-cta {
        grid-area: cta;
        justify-self: flex-start;
    }
}


/* ===== PRODUCTS GRID ===== */

.products-section {
    padding: 32px 0 64px;
    background: #f9fafb;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    margin: 0;
}

.section-subtitle {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--text-soft);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* Desktop: productkaarten niet te breed maken */
@media (min-width: 900px) {
    .products-grid {
        justify-content: center;
    }

    .product-card {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* Product cards */

.product-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
    border-color: rgba(148, 163, 184, 0.7);
}

.product-image-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #eef2ff, #e5e7eb);
}

.product-image-placeholder span {
    font-size: 14px;
    color: var(--text-soft);
    text-decoration: none;
}

.product-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.product-desc {
    margin: 0;
    font-size: 13px;
    color: var(--text-soft);
}

.product-price-row {
    margin-top: 8px;
}

.product-price-main {
    font-size: 15px;
    font-weight: 700;
}

.product-price-sub {
    font-size: 12px;
    color: var(--text-soft);
}

.product-btn {
    margin-top: 10px;
    align-self: flex-start;
    padding-inline: 18px;
}

/* ===== OVER ONS ===== */

.about-section {
    padding: 36px 0 48px;
    background: #f9fafb;
    border-top: 1px solid var(--border);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

.about-image-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: #e5e7eb;
}

.about-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
}

.about-text h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.about-text p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--text-soft);
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* ===== FORM & GENERAL ===== */

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-main);
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

textarea {
    resize: vertical;
}

.card {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px 18px 22px;
    box-shadow: var(--shadow-soft);
}

.card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

.hint {
    font-size: 11px;
    color: var(--text-soft);
}

/* Alerts */

.alert {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 10px;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* Buttons */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 9px 18px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7f50, #ff5a3c);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(248, 113, 113, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(248, 113, 113, 0.45);
    background: linear-gradient(135deg, #ff9064, #ff5a3c);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.btn-full {
    width: 100%;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
    padding: 14px 0 18px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-soft);
}

.footer-link {
    text-decoration: none;
    color: var(--text-soft);
}

.footer-link:hover {
    color: var(--text-main);
}

/* ===== ADMIN STYLES ===== */

.admin-body {
    background: #f3f4f6;
    color: var(--text-main);
}

.admin-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.admin-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-nav a {
    font-size: 13px;
    text-decoration: none;
    color: var(--text-soft);
    margin-left: 10px;
}

.admin-main {
    padding: 22px 0 32px;
}

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 360px;
}

.admin-login-card h1 {
    margin-top: 0;
    margin-bottom: 14px;
}

/* Admin tables */

.admin-form {
    max-width: 640px;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.orders-table-wrapper {
    margin-top: 14px;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.orders-table th,
.orders-table td {
    padding: 8px 8px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: inline-block;
    margin-right: 2px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.badge-new {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-in_production {
    background: #fef9c3;
    color: #854d0e;
}

.badge-shipped {
    background: #dcfce7;
    color: #166534;
}

.badge-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.status-form select {
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 999px;
}

.admin-stats-grid {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 12px 14px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
}

/* Responsive footer + misc */

@media (max-width: 767px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ========== TWEAKS: HERO & TYPOGRAFIE ========== */

/* Iets grotere basistekst */
body {
    font-size: 15px;
}

/* Hero-titel iets groter en krachtiger */
.hero-home h1 {
    font-size: clamp(30px, 5.2vw, 38px);
}

/* Intro en bullets beter leesbaar */
.hero-text {
    font-size: 16px;
    line-height: 1.55;
}

.hero-list {
    font-size: 15px;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Mobiel: minder padding en kleinere foto */
@media (max-width: 768px) {
    .hero-home {
        padding: 24px 0 32px;
    }

    /* Foto minder hoog zodat hij niet de hele eerste screen pakt */
    .hero-image-inline {
        margin: 12px 0 10px;
    }

    .hero-image {
        width: 100%;
        height: 220px;       /* was auto / 4:3 */
        object-fit: cover;   /* snijdt een klein beetje af, maar oogt strakker */
    }
}

/* Extra marge links/rechts specifiek voor de header */
.header-container {
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1200px) {
    .header-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* ===== CART ICON IN HEADER ===== */

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    text-decoration: none;
}

.cart-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    position: relative;
}

.cart-icon::before,
.cart-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.cart-icon::before {
    bottom: 6px;
    width: 14px;
    height: 8px;
    border-radius: 4px;
    border: 2px solid #0f172a;
    border-top: 0;
}

.cart-icon::after {
    top: 6px;
    width: 10px;
    height: 6px;
    border-radius: 999px;
    border: 2px solid #0f172a;
    border-bottom: 0;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 16px;
    padding: 0 4px;
    height: 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== PRODUCT PAGE ===== */

.product-main {
    padding: 24px 0 40px;
}

.back-link {
    display: inline-block;
    font-size: 13px;
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--text-soft);
}

.back-link:hover {
    color: var(--text-main);
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.product-page-title {
    font-size: 26px;
    margin-bottom: 8px;
}

.product-page-subtitle {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 12px;
}

.product-price-block {
    margin-bottom: 16px;
}

.product-price-line {
    font-size: 14px;
}

.product-price-main {
    font-size: 20px;
    font-weight: 700;
    margin-right: 6px;
}

.product-price-sub {
    font-size: 13px;
    color: var(--text-soft);
}

.product-deal-pill {
    display: inline-flex;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
}

.product-shipping-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.product-shipping-info p {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.product-card-config {
    margin-top: 4px;
}

.product-form .form-group:last-of-type {
    margin-bottom: 16px;
}

/* Color swatches */

.color-swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.16);
    cursor: pointer;
    padding: 0;
    outline: none;
    background-clip: padding-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.color-swatch.selected {
    transform: scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft);
}

/* Preview badge – keychain vorm rond de tekst */
.preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 14px 5px 20px;   /* weinig verticale padding, dicht op de tekst */
    border-radius: 999px;
    background: #000000;          /* wordt in JS overschreven met onderkantkleur */
    color: #ffffff;               /* wordt in JS deels overschreven voor tekst */
    font-weight: 700;
    font-size: 18px;
    line-height: 1;               /* geen extra hoogte boven/onder de letters */
    position: relative;
}

/* Ring die visueel 'vastzit' aan de vorm */
.preview-ring {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 3px solid #ffffff;    /* wordt in JS overschreven met letterkleur */
    margin-right: 4px;
    margin-left: -12px;           /* trekt de ring in de vorm */
    background: transparent;
    /* deze shadow vullen we in JS met dezelfde kleur als de onderkant,
       zodat de ring echt 'uit' de vorm komt */
    box-shadow: -6px 0 0 #000000;
}


/* ===== CART PAGE ===== */

.cart-main {
    padding: 24px 0 40px;
}

.cart-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.cart-deal-banner {
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    background: #fef3c7;
    color: #92400e;
    font-size: 13px;
    margin-bottom: 14px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cart-item {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.cart-item-name {
    margin: 0 0 4px;
    font-size: 16px;
}

.cart-item-product {
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 13px;
    color: var(--text-soft);
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.cart-item-colors .color-dot {
    width: 18px;
    height: 18px;
}

.cart-item-side {
    text-align: right;
    min-width: 90px;
}

.cart-item-price {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}

.cart-remove-link {
    font-size: 12px;
    color: var(--text-soft);
    text-decoration: none;
}

.cart-remove-link:hover {
    color: var(--text-main);
}

.cart-summary {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 14px 14px 16px;
}

.cart-summary h2 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 10px;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
}

.cart-summary-row-savings {
    color: #16a34a;
}

.cart-summary-total {
    font-weight: 700;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #e5e7eb;
}

.cart-summary-actions {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== CHECKOUT ===== */

.checkout-main {
    padding: 24px 0 40px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.checkout-title {
    font-size: 24px;
    margin-bottom: 6px;
}

.checkout-subtitle {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 10px;
}

.checkout-form-col .card,
.checkout-summary-card {
    box-shadow: var(--shadow-soft);
}

.checkout-form {
    margin-top: 10px;
}

.form-inline {
    display: flex;
    gap: 10px;
}

.form-inline .form-group {
    flex: 1;
}

.checkout-hint {
    font-size: 12px;
    color: var(--text-soft);
    margin-top: 8px;
}

.checkout-summary-card h2 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 10px;
}

.checkout-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.checkout-items-list li {
    padding: 4px 0;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-item-name {
    font-size: 14px;
    font-weight: 600;
}

.checkout-item-meta {
    font-size: 12px;
    color: var(--text-soft);
}

.checkout-summary-row,
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.checkout-summary-row-savings {
    color: #16a34a;
}

.checkout-summary-total {
    font-weight: 700;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #e5e7eb;
}

.checkout-success-card h1 {
    margin-top: 0;
    margin-bottom: 8px;
}

/* ===== PRODUCT PAGE ===== */

.product-main {
    padding: 24px 0 40px;
}

.product-page-header {
    margin-bottom: 12px;
}

.product-page-title {
    font-size: 26px;
    margin-bottom: 4px;
}

.product-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 4px;
}

.product-price-main {
    font-size: 20px;
    font-weight: 700;
}

.product-price-note {
    font-size: 13px;
    color: var(--text-soft);
}

.product-deal-pill {
    display: inline-flex;
    margin-top: 4px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
}

/* Foto bovenaan */

.product-photo-section {
    margin: 10px 0 14px;
}

.product-photo-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    //border: 1px solid rgba(148, 163, 184, 0.5);
}

.product-main-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-main-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #eef2ff, #e5e7eb);
    font-size: 14px;
    color: var(--text-soft);
}

/* Configuratiekaart */

.product-config-section {
    margin-bottom: 18px;
}

.product-card-config {
    margin-top: 4px;
}

.product-form .form-group:last-of-type {
    margin-bottom: 16px;
}

/* Preview badge – keychain vorm */

.preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
    position: relative;
}

.preview-ring {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 3px solid #ffffff;
    margin-right: 4px; /* ring mooi tegen de naam aan */
}

/* Info blokken onderaan */

.product-info-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 20px;
    margin-top: 12px;
}

.product-info-block h2 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 6px;
}

.product-info-block p {
    font-size: 14px;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .product-info-section {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== KEYCHAIN SVG PREVIEW ===== */

.preview-svg-wrap {
    margin-top: 6px;
}

.keychain-preview-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    background-color: gainsboro;
}

/* Ring */
.ring-outer {
    fill: #f8dfd8;
    stroke: #f8dfd8;
    stroke-width: 4;
    r: 25;  
}

.ring-inner {
    fill: #ffffff;
    r: 12;
}

/* Blob-outline: vult rondom de tekst zodat de vorm exact de naam volgt */
.text-outline {
    fill: #f8dfd8;
    stroke: #f8dfd8;
    stroke-width: 30;
    stroke-linejoin: round;
    stroke-linecap: round;
    paint-order: stroke;
}

/* Tekst zelf; wordt overschreven in JS op basis van letterkleur */
.text-main {
    fill: #f7a53b;
}

/* PRODUCT FOTO SLIDER */

.product-photo-section {
    margin-top: 18px;
    margin-bottom: 22px;
}

.product-photo-card {
    max-width: 440px;
}

.product-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    background: #e5e7eb;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* zorgt dat de foto nooit groter wordt dan het frame */
    display: block;
}

.product-photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15, 23, 42, 0.40);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    backdrop-filter: blur(6px);
    transition: background 0.15s ease, transform 0.15s ease;
}

.product-photo-nav:hover {
    background: rgba(15, 23, 42, 0.65);
    transform: translateY(-50%) scale(1.05);
}

.product-photo-nav-left {
    left: 10px;
}

.product-photo-nav-right {
    right: 10px;
}

.product-main-placeholder {
    width: 100%;
    height: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(135deg, #eef2ff, #e3ffe6);
    font-size: 14px;
    color:#4b5563;
}

