:root {
    --navy: #102656;
    --teal: #004d6c;
    --blue: #0070c0;
    --blue-light: #3d9ee8;
    --sky: #c1d2f5;
    --sky-soft: #e8eefb;
    --surface: #ffffff;
    --surface-tint: #f4f7fd;
    --yellow: #e8b84a;
    --text: #102656;
    --text-muted: #5a6d8f;
    --border: rgba(16, 38, 86, 0.12);
    --shadow: 0 4px 20px rgba(16, 38, 86, 0.1);
    --shadow-hover: 0 8px 28px rgba(16, 38, 86, 0.16);
    --radius: 10px;
    --radius-sm: 6px;
    --sidebar-width: 220px;
    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Outfit', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(193, 210, 245, 0.65), transparent),
        linear-gradient(180deg, #eef3fc 0%, var(--sky-soft) 100%);
    min-height: 100vh;
}

a {
    color: var(--blue);
}

a:hover {
    color: var(--teal);
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Top strip */
.top-strip {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    border-bottom: 2px solid var(--blue);
}

.top-strip__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.top-strip__notice {
    font-weight: 600;
    color: var(--sky);
}

.top-strip__sep {
    opacity: 0.35;
}

.top-strip__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.top-strip__link:hover {
    color: var(--sky);
}

.top-strip__text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.88;
}

/* Shell */
.site-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 2rem;
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 1.75rem;
    align-items: start;
}

.main-area {
    min-width: 0;
}

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

/* Sidebar */
.sidebar {
    position: sticky;
    top: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1rem;
    box-shadow: var(--shadow);
    z-index: 40;
}

.sidebar__brand {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.sidebar__logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.sidebar__logo:hover {
    color: var(--blue);
}

.sidebar__tagline {
    margin: 0.3rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.sidebar-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav__label {
    margin: 0.85rem 0 0.25rem;
    padding: 0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.sidebar-nav__label:first-child {
    margin-top: 0;
}

.sidebar-nav__link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0;
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}

.sidebar-nav__link .icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.65;
}

.sidebar-nav__link:hover {
    color: var(--blue);
}

.sidebar-nav__link:hover .icon {
    opacity: 1;
}

.sidebar-nav__link.is-active {
    color: var(--navy);
    font-weight: 600;
}

.sidebar-nav__link.is-active .icon {
    opacity: 1;
    color: var(--blue);
}

/* Mobile header */
.mobile-header {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
}

.mobile-header__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
    text-decoration: none;
}

.nav-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.nav-toggle__bar {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.15s, opacity 0.15s;
}

.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16, 38, 86, 0.45);
    z-index: 30;
}

/* Welcome panel (home) */
.welcome-panel {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 55%, var(--blue) 100%);
    color: #fff;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.welcome-panel__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.welcome-panel__text {
    margin: 0;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 48ch;
}

.welcome-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

/* Page intro (inner pages) */
.page-intro {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.page-intro--compact {
    padding-bottom: 0.5rem;
}

.page-intro--inset {
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.page-intro__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

.page-intro__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 52ch;
}

.page-intro__links {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
}

.page-intro__links a {
    font-weight: 600;
    text-decoration: none;
}

.page-intro__links span {
    margin: 0 0.35rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding-top: 0;
}

.section--card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem 1.5rem;
    box-shadow: var(--shadow);
}

.section--plain {
    padding-top: 0;
}

.section__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.section__note {
    margin: -0.5rem 0 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Catalog grid (homepage) */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-tint);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.catalog-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sky);
}

.catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.catalog-card__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.catalog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.catalog-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.catalog-card__cta {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.catalog-card:hover .catalog-card__cta {
    color: var(--teal);
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sky-soft);
}

.product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.product-gallery__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.product-gallery__image.is-active {
    opacity: 1;
}

.product-card:hover .product-gallery__image.is-active {
    transform: scale(1.03);
}

.product-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(16, 38, 86, 0.8);
    color: #fff;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.product-gallery__nav--prev { left: 0.5rem; }
.product-gallery__nav--next { right: 0.5rem; }

.product-gallery__counter {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    padding: 0.2rem 0.5rem;
    background: rgba(16, 38, 86, 0.8);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 999px;
}

.product-card__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.product-card__price {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    padding: 0.3rem 0.65rem;
    background: rgba(16, 38, 86, 0.9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.product-card__body {
    padding: 1rem 1.05rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__name {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
}

.product-card__prices {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
}

.product-card__prices li {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
}

.product-card__prices li + li {
    margin-top: 0.1rem;
}

.product-card__description {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.product-card__tags {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.product-card__tags li {
    padding: 0.2rem 0.5rem;
    background: var(--sky-soft);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--teal);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.btn--primary:hover {
    background: var(--sky);
    color: var(--navy);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.page-intro .btn,
.section--plain .btn {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    border-radius: var(--radius-sm);
}

.page-intro .btn:hover,
.section--plain .btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* Contact list */
.contact-list {
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.contact-list__item {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-list__item:last-child {
    border-bottom: none;
}

.contact-list__item dt {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.contact-list__item dd {
    margin: 0.2rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-list__item a {
    text-decoration: none;
}

/* Legal / voorwaarden content */
.legal-content {
    max-width: 68ch;
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-content p {
    margin: 0 0 1rem;
}

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

.legal-content__heading {
    margin: 1.75rem 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
}

.legal-content__heading:first-of-type {
    margin-top: 0.5rem;
}

/* Empty state */
.empty-state {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.empty-state p {
    margin: 0 0 0.75rem;
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
    margin-top: 0;
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 1.75rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.5rem 2rem;
}

.site-footer__name {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.site-footer__tagline {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    max-width: 34ch;
}

.site-footer__contact {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
}

.site-footer__contact a {
    color: #fff;
    text-decoration: none;
}

.site-footer__contact a:hover {
    color: var(--sky);
}

.site-footer__nav-title {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yellow);
}

.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__nav li {
    margin-bottom: 0.35rem;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.88rem;
}

.site-footer__nav a:hover {
    color: #fff;
}

.site-footer__copy {
    margin: 0;
    padding: 0.9rem 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Lightbox */
body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 38, 86, 0.92);
}

.lightbox__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 1000px);
    max-height: calc(100vh - 2rem);
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 7rem);
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox__caption {
    margin: 0.65rem 0 0;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

.lightbox__counter {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    z-index: 2;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
}

.lightbox__close {
    top: 0;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.4rem;
    line-height: 1;
}

.lightbox__nav {
    top: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }

/* Responsive */
@media (max-width: 900px) {
    .catalog-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .site-shell {
        grid-template-columns: 1fr;
        padding: 0.85rem 0.85rem 1.5rem;
    }

    .mobile-header {
        display: flex;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(280px, 85vw);
        border-radius: 0 var(--radius) var(--radius) 0;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        overflow-y: auto;
    }

    .nav-open .sidebar {
        transform: translateX(0);
    }

    .nav-open .sidebar-backdrop {
        display: block;
    }

    .catalog-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .top-strip__sep:nth-of-type(2) {
        display: none;
    }

    .welcome-panel__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .top-strip__inner {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .top-strip__sep {
        display: none;
    }
}
