/* ZonderReceptNL — синий дизайн, локальный CSS (без Tailwind CDN) */

:root {
    --blue-950: #172554;
    --blue-900: #1e3a8a;
    --blue-800: #1e40af;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-900: #111827;
    --white: #fff;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 1.75rem;
    --shadow: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(30,58,138,.08);
    --container: 80rem;
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--blue-950);
    text-align: center;
    margin-bottom: 1rem;
}

.section-lead {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

/* ─── Header / Navbar ───────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

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

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--blue-700);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.logo-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--blue-950);
    letter-spacing: -.02em;
}

.main-nav ul {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    font-size: .875rem;
    font-weight: 500;
    color: var(--blue-900);
}

.main-nav a:hover { color: var(--blue-600); }

.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .625rem 1rem;
    border-radius: var(--radius-lg);
    font-size: .875rem;
    font-weight: 600;
    color: var(--blue-900);
    background: var(--gray-100);
    transition: background .15s;
}

.btn-login:hover {
    background: var(--gray-200);
    color: var(--blue-900);
}

.btn-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--blue-700);
    color: var(--white);
    padding: .625rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: .875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

.btn-cart:hover { background: var(--blue-800); color: var(--white); }

.cart-badge {
    position: absolute;
    top: -.25rem;
    right: -.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 .25rem;
    background: #ef4444;
    color: var(--white);
    font-size: .6875rem;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue-950);
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background .15s, transform .15s;
}

.btn-primary {
    background: var(--white);
    color: var(--blue-900);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover { background: #fef3c7; }

.btn-secondary {
    background: var(--blue-700);
    color: var(--white);
    width: 100%;
}

.btn-secondary:hover { background: var(--blue-800); color: var(--white); }

.btn-block { width: 100%; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
    color: var(--white);
    padding: 4rem 0 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    padding: .625rem 1.25rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.status-dot {
    color: var(--emerald-400);
    font-size: .75rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
    max-width: 16ch;
}

.hero-lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--blue-100);
    max-width: 32rem;
    margin-bottom: 1.75rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}

.hero-features span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    padding: .75rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: .9375rem;
}

.hero-features span::before {
    content: '✓';
    color: var(--emerald-400);
    font-weight: 700;
}

.hero .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: var(--radius-xl);
}

/* ─── Trust bar ─────────────────────────────────────────────── */
.trust-bar {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .trust-grid { grid-template-columns: repeat(4, 1fr); }

    .trust-icon {
        width: 4rem;
        height: 4rem;
    }

    .trust-icon .icon-trust {
        width: 3rem;
        height: 3rem;
    }
}

.trust-item {
    padding: .5rem;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto .75rem;
    color: var(--emerald-500);
}

.trust-icon .icon-trust {
    width: 2.75rem;
    height: 2.75rem;
}

.icon {
    display: block;
    flex-shrink: 0;
}

.icon-btn {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-login .icon-btn {
    color: var(--blue-900);
}

.btn-cart .icon-btn {
    color: currentColor;
}

.trust-item strong {
    display: block;
    font-size: .9375rem;
    color: var(--blue-950);
}

.trust-item span {
    font-size: .8125rem;
    color: var(--gray-600);
}

/* ─── Sections ──────────────────────────────────────────────── */
section { padding: 4rem 0; }

.steps {
    background: var(--gray-50);
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    list-style: none;
}

.steps-list li {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.step-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #bfdbfe;
    margin-bottom: 1rem;
    line-height: 1;
}

.steps-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--blue-950);
}

.steps-list p {
    font-size: .9375rem;
    color: var(--gray-600);
}

/* ─── Categories ────────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-md);
}

.category-card img,
.category-placeholder {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    background: var(--blue-50);
}

.category-body { padding: 1.25rem; flex: 1; }

.category-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blue-950);
    margin-bottom: .375rem;
}

.category-body p {
    font-size: .875rem;
    color: var(--gray-600);
    margin-bottom: .5rem;
}

.cat-count {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--blue-700);
}

/* ─── Products ──────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: border-color .2s;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    background: var(--white);
}

.product-card:hover { border-color: #93c5fd; }

.product-card img {
    border-radius: var(--radius);
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--gray-50);
    margin-bottom: .5rem;
}

.product-card h2,
.product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-950);
}

.product-card h3 a:hover { color: var(--blue-700); }

.product-card ul {
    list-style: none;
    font-size: .875rem;
    color: var(--gray-600);
    flex: 1;
}

.product-card ul li::before { content: '• '; color: var(--blue-600); }

.price {
    font-weight: 700;
    color: var(--emerald-500);
    font-size: 1.0625rem;
}

.price-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-500);
}

.badge {
    display: inline-block;
    padding: .25rem .625rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}

.badge.in-stock { background: #d1fae5; color: #047857; }
.badge.out-stock { background: #fee2e2; color: #b91c1c; }
.badge.large { font-size: .875rem; padding: .375rem .875rem; }

/* ─── FAQ (py-20 bg-gray-50, max-w-4xl, space-y-12) ─────────── */
.faq {
    background: var(--gray-50);
    padding: 5rem 0;
}

.faq-inner {
    max-width: 56rem;
}

.faq-title {
    font-size: 2.25rem;
    margin-bottom: 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-item p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.625;
}

/* details fallback (inner pages) */
details.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 0;
}

details.faq-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

details.faq-item p { padding: 0 1.25rem 1rem; }

/* ─── CTA ───────────────────────────────────────────────────── */
.cta {
    background: var(--blue-950);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: .75rem;
}

.cta p {
    font-size: 1.25rem;
    color: var(--blue-100);
    margin-bottom: 2rem;
}

.cta .btn-primary {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    border-radius: var(--radius-xl);
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon { width: 2.5rem; height: 2.5rem; }

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-col a {
    font-size: .875rem;
    color: var(--gray-400);
}

.footer-col a:hover { color: var(--white); }

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
}

.footer-address {
    font-style: normal;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--gray-400);
}

.footer-address-name {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: .375rem;
}

.footer-contact-details p {
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 0 .5rem;
}

.footer-contact-details p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 1.25rem 0;
    text-align: center;
    font-size: .8125rem;
}

/* ─── Breadcrumb, pages ───────────────────────────────────────── */
.breadcrumb {
    padding: 1rem 0;
    font-size: .875rem;
    color: var(--gray-600);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb a { color: var(--blue-700); }

.page-header { padding: 2rem 0; background: var(--white); }

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--blue-950);
}

.category-hero-img {
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding: 2rem 0;
    align-items: start;
}

.product-sidebar {
    position: sticky;
    top: 5rem;
    align-self: start;
    min-width: 0;
    width: 100%;
    max-width: 320px;
}

.product-image {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-50);
}

.product-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-buy-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .875rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin-top: 1rem;
    box-shadow: var(--shadow);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.product-buy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.product-buy-head .badge {
    flex-shrink: 0;
}

.product-buy-head .price-large {
    margin: 0;
    line-height: 1.2;
    font-size: 1.25rem;
    text-align: right;
    flex: 1 1 auto;
    min-width: 0;
}

.product-buy-box .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.product-content {
    min-width: 0;
}

.product-content h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--blue-950);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.product-rating-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    font-size: .9375rem;
}

.product-buy-box .btn.is-disabled,
.btn-order.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.disclaimer-small {
    font-size: .75rem;
    color: var(--gray-600);
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.article-body {
    line-height: 1.75;
    color: var(--gray-600);
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-body h2 {
    font-size: 1.375rem;
    color: var(--blue-950);
    margin: 2rem 0 1rem;
}

.article-body h3 {
    font-size: 1.125rem;
    color: var(--blue-900);
    margin: 1.5rem 0 .75rem;
}

.article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .9375rem;
}

.article-body th,
.article-body td {
    border: 1px solid var(--gray-200);
    padding: .625rem .875rem;
}

.article-body th { background: var(--gray-50); }

.reviews {
    padding: 2rem 0 3rem;
}

.reviews h2 {
    color: var(--blue-950);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: 1.25rem;
    color: var(--gray-600);
    font-size: .9375rem;
}

.review-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: .5rem;
    font-size: .875rem;
}

.review-head time {
    color: var(--gray-400);
    margin-left: auto;
}

.review-stars {
    letter-spacing: .05em;
}

.review-gate {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    max-width: 100%;
}

.review-gate-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: .5rem;
}

.review-gate h3 {
    font-size: 1.0625rem;
    color: var(--blue-950);
    margin-bottom: .5rem;
}

.review-gate > p {
    color: var(--gray-600);
    font-size: .9375rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    max-width: 36rem;
}

.review-gate .btn {
    width: auto;
    min-width: 12rem;
}

.review-gate-note {
    font-size: .8125rem;
    color: var(--gray-600);
    margin-top: .875rem;
    margin-bottom: 0;
    max-width: 36rem;
}

/* ─── Auth / inloggen ───────────────────────────────────────── */
.auth-page {
    padding: 2rem 0 4rem;
}

.auth-container {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 24rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-md);
}

.auth-card h1 {
    font-size: 1.5rem;
    color: var(--blue-950);
    margin-bottom: .5rem;
}

.auth-lead {
    color: var(--gray-600);
    font-size: .9375rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.auth-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: .75rem;
}

.auth-tab {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-400);
    padding: .25rem .5rem .5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    font-family: inherit;
}

.auth-tab.is-active {
    color: var(--blue-700);
    border-bottom-color: var(--blue-700);
}

.auth-panel[hidden] {
    display: none;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    width: 100%;
    max-width: 100%;
    font-size: .8125rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.45;
    margin: .25rem 0 1rem;
    cursor: pointer;
    box-sizing: border-box;
}

.auth-check span {
    flex: 1;
    min-width: 0;
}

.auth-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    margin: .15rem 0 0;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--blue-700);
}

.auth-check a {
    color: var(--blue-700);
    text-decoration: underline;
}

.auth-form label:not(.auth-check) {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: .375rem;
}

.auth-form input:not([type="checkbox"]) {
    width: 100%;
    padding: .625rem .875rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .9375rem;
    margin-bottom: .875rem;
    box-sizing: border-box;
}

.auth-form input:not([type="checkbox"]):focus {
    outline: 2px solid var(--blue-100);
    border-color: var(--blue-600);
}

.auth-message {
    margin-top: 1rem;
    padding: .875rem 1rem;
    background: #eff6ff;
    color: var(--blue-900);
    border-radius: var(--radius);
    font-size: .875rem;
    line-height: 1.5;
}

.auth-note {
    font-size: .8125rem;
    color: var(--gray-600);
    margin-top: 1rem;
    line-height: 1.5;
}

.auth-back {
    margin-top: 1rem;
    font-size: .875rem;
}

.auth-back a {
    color: var(--blue-700);
    font-weight: 600;
}

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

.star { color: #d1d5db; }
.star.filled { color: #fbbf24; }

.review-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.page-content { padding: 2rem 0 3rem; }

.empty-msg { text-align: center; color: var(--gray-600); padding: 3rem; }

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

.btn-outline:hover { background: var(--blue-50); }

/* ─── Cart page ─────────────────────────────────────────────── */
.cart-page { padding: 2rem 0 4rem; }

.cart-container { max-width: 42rem; }

.cart-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; }

.cart-empty p { color: var(--gray-600); margin-bottom: .75rem; }

.cart-empty-hint { font-size: .9375rem; margin-bottom: 1.5rem !important; }

.cart-list {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.cart-table-head,
.cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
}

.cart-table-head {
    background: var(--blue-50);
    font-size: .8125rem;
    font-weight: 700;
    color: var(--blue-900);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cart-row { border-top: 1px solid var(--gray-200); }

.cart-item-name { font-weight: 600; color: var(--blue-950); }

.cart-item-qty { color: var(--gray-600); font-weight: 500; }

.cart-item-price { color: var(--emerald-500); font-weight: 600; white-space: nowrap; }

.cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center;
}

.cart-demo-note {
    width: 100%;
    text-align: center;
    font-size: .875rem;
    color: var(--gray-600);
    margin-bottom: .25rem;
}

/* ─── Product page: tablet ──────────────────────────────────── */
@media (max-width: 991px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
        max-width: none;
    }

    .product-buy-box {
        max-width: 28rem;
    }
}

@media (max-width: 767px) {
    .nav-toggle { display: flex; }

    .main-nav {
        display: none;
        width: 100%;
        order: 4;
        padding: .75rem 0;
        border-top: 1px solid var(--gray-200);
    }

    .main-nav.open { display: block; }

    .main-nav ul {
        flex-direction: column;
        gap: .75rem;
    }

    .header-actions .btn-cart span.hide-mobile { display: none; }

    .product-buy-box {
        max-width: none;
        padding: 1rem;
    }

    .hero { padding: 2.5rem 0 3rem; }

    section { padding: 2.5rem 0; }
}

@media (min-width: 768px) {
    .main-nav { display: block !important; }

    .review-gate {
        max-width: 22rem;
        padding: 1rem 1.125rem;
    }

    .review-gate h3 {
        font-size: 1rem;
    }

    .review-gate > p,
    .review-gate-note {
        font-size: .875rem;
    }
}
