/* ============================================================ */
/* DanielsBooks — Stylesheet                                    */
/* ============================================================ */

/* ============================================================ */
/* 1. Fonts lokaal                                              */
/* ============================================================ */

@font-face {
    font-family: 'Crimson Pro';
    src: url('/fonts/crimson-pro/CrimsonPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Crimson Pro';
    src: url('/fonts/crimson-pro/CrimsonPro-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Crimson Pro';
    src: url('/fonts/crimson-pro/CrimsonPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================================ */
/* 2. Root                                                      */
/* ============================================================ */

:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-dark: #595959;
    --color-darker: #4F4F4F;
    --color-lessdark: #5F5F5F;
    --color-beige: #DED0B5;
    --color-brown: #3E1E05;

    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'Crimson Pro', Georgia, serif;
    --font-base: var(--font-serif);

    --max-width: 1200px;
    --gutter: 2rem;
    --radius: 4px;
}

/* ============================================================ */
/* 3. Basic reset                                               */
/* ============================================================ */

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

/* ============================================================ */
/* 4. Base global                                               */
/* ============================================================ */

html { 
    font-size: 16px; 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-base);
    color: var(--color-beige);
    background: var(--color-dark);
    line-height: 1.7;
}

button,
input,
select,
textarea {
    font-family: var(--font-base);
}

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

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

a:hover { 
    text-decoration: none; 
}

/* ============================================================ */
/* 5. Layout                                                    */
/* ============================================================ */

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

.page {
    width: 100%;
}

.page-header {
    text-align: center;
    margin: 60px 0 40px;
}

.text-white {
    color: var(--color-white);
}

/* ============================================================ */
/* 6. Buttons                                                   */
/* ============================================================ */

.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    font-family: var(--font-base);
    line-height: 1.2;
}

.btn--nav {
    background: var(--color-beige);
    color: var(--color-dark);
    border-color: var(--color-brown);
}

.btn--nav:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-brown);
    text-decoration: none;
}

.btn--action {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn--action:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-black);
    text-decoration: none;
}

.btn--full {
    width: 100%;
    text-align: center;
}

.btn--sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================================ */
/* XX. Formulieren                                              */
/* ============================================================ */

.form-group { 
    margin-bottom: 1.25rem; 
}

.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 500;
    margin-bottom: .35rem;
    color: var(--color-beige);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .65rem .9rem;
    border: 1px solid #d9d9d9;
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: var(--font-sans);
    color: var(--color-black);
    background: var(--color-white);
    transition: border-color .2s, box-shadow .2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
    opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: none;
}

.form-row { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.error {
    display: block;
    color: var(--color-beige);
    font-size: .8rem;
    margin-top: .25rem;
}

.error--checkbox {
    color: var(--color-beige);
}
.muted { color: rgba(222, 208, 181, 0.8); font-size: .88rem; }

/* ============================================================ */
/* 7. Header                                                    */
/* ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(
        to bottom,
        rgba(89, 89, 89, 1) 0%,
        rgba(89, 89, 89, 1) 55%,
        rgba(89, 89, 89, 0.50) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 2rem;
}

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-beige);
}

.main-nav a:hover {
    color: var(--color-white);
    text-decoration: none;
}

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

.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-beige);
    cursor: pointer;
    background: none;
    border: none;
    transition: color .2s ease, transform .2s ease, opacity .2s ease;
}

.icon-btn svg {
    display: block;
}

.icon-btn:hover {
    color: var(--color-white);
    transform: translateY(-1px);
}

.icon-btn--disabled {
    pointer-events: none;
    opacity: 0.4;
}

.icon-btn--disabled:hover {
    color: var(--color-beige);
    transform: none;
    cursor: default;
}

.header-socials {
    display: flex;
    gap: 1rem;
}

.header-socials a {
    color: var(--color-beige);
}

.header-socials a:hover {
    color: var(--color-white);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: .65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-beige);
}

.header-divider {
    height: 2px;
    background: var(--color-beige);
    width: 100%;
}

/* ============================================================ */
/* 08. Footer                                                    */
/* ============================================================ */

.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 1rem 0 1.5rem;
    margin-top: 0rem;
}

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

.footer-grid .footer-col:nth-child(2) {
    text-align: center;
}

.footer-grid .footer-col:nth-child(2) ul {
    padding: 0;
}

.footer-grid .footer-col:nth-child(3) {
    text-align: right;
}

.footer-grid .footer-col:nth-child(3) form {
    align-items: flex-end;
}

.footer-col h3 {
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    color: var(--color-beige);
}

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

.footer-col li + li {
    margin-top: .4rem;
}

.footer-col a {
    font-size: .88rem;
    color: var(--color-beige);
}

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

.footer-col p {
    font-size: .88rem;
    color: var(--color-beige);
    margin-bottom: .75rem;
}

.newsletter-form {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
}

.newsletter-form input,
.newsletter-form button {
    height: 40px;
}

.newsletter-form input {
    flex: 3;
    padding: .5rem .75rem;
    border: 1px solid var(--color-dark);
    border-radius: var(--radius);
    font-size: .85rem;
    font-family: var(--font-sans);
    font-weight: 500;
}

.newsletter-form input::placeholder {
    font-family: var(--font-sans);
    color: rgba(89,89,89,0.6);
}

.newsletter-form button {
    flex: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(222,208,181,.2);
    padding-top: 0rem;
    font-size: .8rem;
    color: var(--color-beige);
    text-align: center;
    width: 100%;
}


/* ============================================================ */
/* 8. Flash                                                     */
/* ============================================================ */

.flash {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    
    background: var(--color-white);
    color: var(--color-dark);

    padding: 16px 24px;
    border: 1px solid var(--color-beige);
    border-radius: var(--radius);

    text-align: center;
    z-index: 9999;
}

.flash,
.flash--success,
.flash--error {
    background: var(--color-white) !important;
    color: var(--color-dark) !important;
}

/* ============================================================ */
/* 9. Hero                                                      */
/* ============================================================ */

.home-page .hero {
    position: relative;
    width: 100%;
}

.home-page .hero-bg {
    position: relative;
    width: 100%;
}

.home-page .hero-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.home-page .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.home-page .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding-bottom: 0.25rem;
}

.btn--shop-now {
    position: relative;
    z-index: 2;
    transform: translateY(17.5%);
}

.home-page .hero-content .btn {
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: .05em;
}

.home-page .hero-divider {
    height: 2px;
    background: var(--color-beige);
    width: 100%;
    display: block;
    margin-top: 0;
}

/* ============================================================ */
/* 10. Preview                                                  */
/* ============================================================ */

.home-page .chapter-preview {
    background: var(--color-dark);
}

.home-page .chapter-bar {
    height: 8px;
    background: var(--color-dark);
    width: 100%;
}

.home-page .chapter-toggle {
    width: 100%;
    background: var(--color-beige);
    color: var(--color-dark);
    border: 2px solid var(--color-brown);
    border-left: none;
    border-right: none;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .05em;
    padding: 1rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    transition: background .2s, color .2s;
    position: relative;
}

.home-page .chapter-toggle:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.home-page .chapter-toggle .toggle-arrow {
    font-size: 1.1rem;
    transition: transform .3s;
    position: absolute;
    right: 2rem;
}

.home-page .chapter-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

.home-page .chapter-content {
    overflow: hidden;
}

.home-page .chapter-content[hidden] {
    display: none;
}

.home-page .chapter-scroll {
    max-height: 60vh;
    overflow-y: auto;
    padding: 2rem var(--gutter);
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    scrollbar-width: thin;
    scrollbar-color: var(--color-dark) #e8e8e8;
}

.home-page .chapter-scroll::-webkit-scrollbar {
    width: 6px;
}

.home-page .chapter-scroll::-webkit-scrollbar-track {
    background: #e8e8e8;
}

.home-page .chapter-scroll::-webkit-scrollbar-thumb {
    background: var(--color-dark);
    border-radius: 3px;
}

.home-page .chapter-scroll h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.home-page .chapter-scroll p {
    margin-bottom: 1rem;
    color: var(--color-dark);
    line-height: 1.9;
}

.home-page .chapter-location {
    color: var(--color-dark) !important;
    font-weight: 700;
    margin: 1.5rem 0 0 !important;
    font-style: normal !important;
}

.home-page .chapter-subtitle {
    color: var(--color-dark) !important;
    margin: 0 0 1rem !important;
    font-weight: 600;
    font-style: italic;
}

.home-page .chapter-meta {
    color: var(--color-dark) !important;
    font-style: italic;
    margin: 1.5rem 0 .5rem !important;
    font-weight: 600;
}

.home-page .chapter-review {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, .2);
    border-left: 4px solid var(--color-beige);
}

.home-page .chapter-review blockquote {
    font-style: italic;
    margin-bottom: .5rem;
    color: var(--color-white);
}

.home-page .chapter-review cite {
    font-size: .85rem;
    color: var(--color-beige);
}

.section-divider {
    height: 2px;
    background: var(--color-beige);
    width: 100%;
}

/* ============================================================ */
/* 12. Quotes                                                   */
/* ============================================================ */

.quote-section {
    background: var(--color-dark);
    text-align: center;
}

.quote-block {
    max-width: 800px;
    margin: 0 auto;
}

.quote-block .quote-title {
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-beige);
    margin: 0;
    text-align: center;
}

.quote-author {
    display: block;
    font-size: 0.9rem;
    color: var(--color-beige);
    opacity: 0.85;
}

/* ============================================================ */
/* 13. Producten                                                */
/* ============================================================ */

.home-page .products-section {
    background: var(--color-dark);
    text-align: center;
    color: var(--color-beige);
}

.home-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 280px));
    gap: 2.5rem;
    padding-top: 1rem;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    border: 1px solid rgba(222, 208, 181, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-lessdark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--color-beige);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.product-card__image-link {
    display: block;
}

.product-card__image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--color-darker);
}

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

.product-card__body {
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card__body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    color: var(--color-beige);
}

.product-card__price,
.product-card__status-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 1rem;
    color: var(--color-beige);
}

.product-card__body .btn {
    width: 100%;
    text-align: center;
}

/* niet actief / alleen weergave */
.product-card--disabled {
    pointer-events: none;
}

.product-card--disabled:hover {
    transform: none;
    box-shadow: none;
}

.product-card__image-link--disabled {
    pointer-events: none;
    cursor: default;
}

.product-card__title-static {
    display: inline-block;
    color: var(--color-beige);
}

.product-card--disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    z-index: 2;
    pointer-events: none;
}

.product-card--disabled .product-card__image,
.product-card--disabled .product-card__body {
    position: relative;
    z-index: 1;
}

.product-card--disabled .product-card__image img,
.product-card--disabled .product-card__body {
    opacity: 0.72;
}

/* ============================================================ */
/* XX. Auteur                                                   */
/* ============================================================ */

.home-page .author-section {
    background: var(--color-dark);
}

.home-page .author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    row-gap: 0;
    align-items: end;
}

.home-page .author-image {
    position: relative;
    height: 620px;
    overflow: hidden;
    border-radius: var(--radius);
}

.home-page .author-image img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 150%;
    height: auto;
    object-fit: cover;
    transform: translateX(-50%) translateY(200px);
    max-width: none;
    border-radius: var(--radius);
}

.home-page .author-text {
    align-self: end;
    width: 100%;
}

.home-page .author-text p {
    color: var(--color-beige);
    margin: 0 0 0.8rem 0;
}

.home-page .author-text p:last-child {
    margin-bottom: 0;
}

.home-page .author-section .author-quote {
    background: var(--color-beige);
    padding: 1.3rem;
    border: 2px solid var(--color-brown);
    margin: 0.4rem 0 0;
    border-radius: 4px;
    width: 100%;
}

.home-page .author-section .author-quote blockquote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
    color: var(--color-dark);
}

.home-page .author-section .author-quote cite {
    font-size: .85rem;
    color: var(--color-dark);
}

.home-page .author-text strong {
    color: var(--color-white);
}

.home-page .author-text em {
    color: var(--color-white);
}

/* ============================================================ */
/* XX. Nieuws                                                   */
/* ============================================================ */

.home-page .news-section {
    background: var(--color-dark);
}

.home-page .news-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    padding-top: 0.5rem;    
    padding-bottom: 0.5rem; 
}

.home-page .news-grid.news-grid--page {
    margin-bottom: 1.5rem;
}

.home-page .news-grid--full {
    margin-bottom: 1rem;
} 

.home-page .news-card {
    background: var(--color-lessdark);
    border-radius: 8px;
    border: 1px solid rgba(222, 208, 181, 0.2);

    width: 300px;
    height: 360px;                 /* 👈 vaste hoogte */
    
    display: flex;
    flex-direction: column;
    overflow: hidden;

    flex: 0 0 auto;
    scroll-snap-align: start;

    transition: transform .25s ease, box-shadow .25s ease;
}

.home-page .news-card img {
    width: 100%;
    height: 140px;                /* 👈 vaste hoogte */
    object-fit: cover;
}

.home-page .news-card__body {
    color: var(--color-beige);
    padding: 0.5rem 0.75rem 0.75rem;  
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    margin: 1rem; /* was 0 */
}

.home-page .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: var(--color-beige);
}

.home-page .news-card__body time {
    font-size: .8rem;
    color: var(--color-beige);
    margin-bottom: 0.5rem; 
    display: block;
}

.home-page .news-card__body h3 {
    font-family: var(--font-serif);
    margin: 0 0 0.25rem;
}

.home-page .news-card {
    position: relative;
}

.home-page .news-card__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    text-decoration: none;
}

.home-page .news-card__body,
.home-page .news-card img,
.home-page .news-card iframe {
    position: relative;
    z-index: 1;
}

.home-page .news-card iframe {
    pointer-events: none;
}


.home-page .news-card--link:hover {
    text-decoration: none;
}

.home-page .news-card--link:hover h2,
.home-page .news-card--link:hover p,
.home-page .news-card--link:hover time,
.home-page .news-card--link:hover .read-more {
    text-decoration: none;
}

.home-page .read-more {
    font-size: .85rem;
    font-weight: 500;
}
.home-page .news-grid::-webkit-scrollbar {
    height: 6px;
padding-bottom: 1rem; 
}

.home-page .news-grid::-webkit-scrollbar-thumb {
    background: var(--color-beige);
}

/*************************************************************/
/* XX. AGENDA                                                */
/*************************************************************/

.home-page .agenda-section {
    background: var(--color-dark);
}

.home-page .agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.home-page .agenda-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    color: var(--color-dark);
}

.home-page .agenda-card__body {
    display: block;
}

.home-page .agenda-card__date {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--color-dark);
}

.home-page .agenda-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 .25rem 0;
    color: var(--color-dark);
}

.home-page .agenda-card__subtitle,
.home-page .agenda-card__location {
    font-size: .85rem;
    color: var(--color-dark);
    margin: 0;
}

.home-page .agenda-card__subtitle + .agenda-card__location {
    margin-top: .35rem;
}

.home-page .agenda-empty {
    color: var(--color-beige);
}
 
/* ============================================================ */
/* XX. Contact                                                  */
/* ============================================================ */

.home-page .contact-section {
    background: var(--color-dark);
}

.home-page .contact-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-page .contact-content p {
    color: var(--color-beige);
    margin-bottom: 1rem;
}

.contact-form .btn--action {
    padding: 1.05rem 2.7rem;   /* iets groter */
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03em;    /* subtiele “presence boost” */
}

/* ============================================================ */
/* XX. Home page section system                                 */
/* ============================================================ */

.home-page .section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.home-page .section-title {
    margin: 0 0 1rem 0;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.1;
    color: var(--color-beige);
}

.home-page .section-divider {
    height: 2px;
    background: var(--color-beige);
    width: 100%;
    margin: 0;
}

/* ============================================================ */
/* 08. Page setup subpages                                      */
/* ============================================================ */

.page-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--gutter) 1rem;
}

.page-header {
    margin: 2rem 0 0;
    padding: 0;
}

.page-header h1 {
    margin: 0;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.1;
    color: var(--color-beige);
}

.cart-page__header h1 {
    text-align: left;
}

.page-header + * {
    margin-top: 2rem;
}

/* ============================================================ */
/* XX. Productensubpagina                                       */
/* ============================================================ */

.products-grid--full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    gap: 2rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 1rem;
}

.products-grid--full .product-card {
    border: 1px solid rgba(222, 208, 181, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-dark);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-grid--full .product-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
    border-color: var(--color-beige);
}

.products-grid--full .product-card__image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-darker);
}

.products-grid--full .product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-grid--full .product-card__body h2 {
    font-family: var(--font-serif);
    letter-spacing: 0.02em;
}

.products-grid--full .product-sku {
    font-size: 0.8rem;
    color: rgba(222, 208, 181, 0.75);
    margin-bottom: 0.5rem;
}

.products-grid--full .product-card__body h2 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.products-grid--full .product-card__body h2 a {
    color: var(--color-beige);
}

.products-grid--full .product-card__price {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: auto;
    margin-bottom: 1rem;
    color: var(--color-beige);
    letter-spacing: 0.03em;
}

.products-grid--full .product-card__body form {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.products-grid--full .product-card__body .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-service .product-detail__cta {
    margin-top: 1.5rem;
}

.availability-block {
    padding: 2rem 0;
}

.availability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.availability-card {
    background: var(--color-white);
    color: var(--color-black);
    border-radius: 8px;
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.availability-col h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1.25rem;
    text-align: center;
}

.availability-body {
    text-align: center;
}

.availability-col p {
    margin: 0;
    color: var(--color-black);
    line-height: 1.55;
}

.availability-body > p + p {
    margin-top: 0.45rem;
}

.availability-note {
    color: var(--color-black);
    font-size: 0.98rem;
}

.availability-note--spaced {
    margin-top: 1.5rem;
}

.availability-list {
    margin-top: 0.25rem;
}

.availability-list p {
    margin: 0;
    color: var(--color-black);
}

.availability-list p + p {
    margin-top: 1rem;
}

.availability-list strong {
    display: inline;
    font-weight: 700;
}

/* ============================================================ */
/* XX. Winkelwagen                                              */
/* ============================================================ */

.cart-page {
    padding: 0 0 2rem;
}

.cart-page__header {
    margin: 2rem 0 2rem;
    padding: 0;
}

.cart-page__header h1 {
    margin: 0;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.1;
    color: var(--color-beige);
}

.cart-empty {
    text-align: center;
    padding: 3rem 0;
}

.cart-empty p {
    margin-bottom: 1rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(222, 208, 181, 0.2);
}

.cart-item__image img {
    width: 80px;
    height: 100px;
    object-fit: cover;
}

.cart-item__info h3 {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
    color: var(--color-beige);
}

.cart-item__variant,
.cart-item__meta,
.cart-item__message {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-beige);
}

.cart-item__variant {
    margin-bottom: 0.25rem;
}

.cart-item__message {
    margin-top: 0.35rem;
}

.cart-item__subtotal {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-beige);
    padding-top: 0.15rem;
}

.cart-item__remove {
    padding-top: 0;
}

.btn--remove-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 600;
}

.cart-summary {
    background: var(--color-white);
    color: var(--color-dark);
    padding: 1.5rem;
    border-radius: var(--radius);
    position: sticky;
    top: 80px;
}

.cart-summary__value {
    text-align: right;
    white-space: nowrap;
}

.cart-summary h2 {
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
    color: var(--color-dark);
}

.cart-summary__total {
    font-weight: 700;
    font-size: 1.08rem;
    border-top: 1px solid rgba(89, 89, 89, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.cart-summary__note {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-dark);
}

.cart-summary .btn {
    margin-top: 0.75rem;
}

/*********************************************************/
/* Dit moet uitgezocht worden deel cart/checkout/product */
/*********************************************************/

.product-detail {
    padding: 1rem 0 2rem;
    background: var(--color-dark);
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.product-detail__images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image-main {
    width: 75%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
}

.product-image-main img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(222, 208, 181, 0.2);
    background: var(--color-darker);
    transition: transform .3s ease;
    transform-origin: center center;
}

.product-image-main:hover img,
.product-image-main:active img {
    transform: scale(1.2);
}

.product-image-thumbs {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
    justify-content: center;
}

.thumb {
    width: 70px;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 2px;
    transition: border-color .2s ease, transform .2s ease;
}

.thumb:hover {
    transform: translateY(-2px);
    border-color: var(--color-beige);
}

.thumb.active {
    border-color: var(--color-beige);
}

.product-detail__info h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: .75rem;
    color: var(--color-beige);
}

.product-detail__price {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-beige);
}

.product-detail__desc {
    margin-bottom: 1.5rem;
    color: var(--color-beige);
    line-height: 1.8;
}

.product-detail__info {
    display: flex;
    flex-direction: column;
}

.product-detail__custom-intro {
    margin-top: 1rem;
}

.product-detail__custom-intro p {
    margin: 0;
    padding: 1.2rem 0;
    line-height: 1.7;
    border-bottom: 1px solid rgba(222, 208, 181, 0.2);
}

.product-detail__custom-intro p:first-child {
    padding-top: 0;
}

.product-detail__custom-intro p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-detail__custom-intro strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--color-beige);
}

.product-detail__cta {
    margin-top: 0rem;
}

.product-detail__meta-row {
    padding-right: 3.5rem;
}

.product-detail__custom-intro--book {
    margin: 0 0 1.1rem;
    line-height: 1.6;
    color: var(--color-beige);
}

.product-detail__meta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin: 0.35rem 1rem 1.1rem 0;
    font-size: 0.98rem;
    color: var(--color-beige);
}

.product-detail__meta-row-item {
    min-width: 0;
}

.product-detail__meta-row strong {
    color: var(--color-beige);
    font-weight: 600;
}

.product-detail__meta-row-item--shipping {
    white-space: nowrap;
}

.product-detail__accordion {
    margin: 0.6rem 0;
    border: 1px solid rgba(222, 208, 181, 0.25);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.product-detail__accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 1rem;
    font-weight: 600;
    color: var(--color-beige);
    background: rgba(0, 0, 0, 0.15);
}

.product-detail__accordion summary::-webkit-details-marker {
    display: none;
}

.product-detail__accordion summary::after {
    content: '+';
    float: right;
    font-size: 1.1rem;
}

.product-detail__accordion[open] summary::after {
    content: '–';
}

.product-detail__accordion-content {
    padding: 1rem;
    background: var(--color-white);
    color: var(--color-dark);
}

.product-detail__data-table {
    width: 100%;
    border-collapse: collapse;
}

.product-detail__data-table th,
.product-detail__data-table td {
    text-align: left;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e7e1d6;
    font-size: 0.95rem;
    vertical-align: top;
}

.product-detail__data-table th {
    width: 38%;
    font-weight: 600;
}

.product-detail__variant-title {
    margin: 1.5rem 0 0.85rem;
    color: var(--color-beige);
    font-size: 1.2rem;
    font-weight: 700;
}

.product-variant-options {
    display: grid;
    gap: 0.8rem;
}

.product-variant-option {
    display: block;
    border: 1px solid rgba(222, 208, 181, 0.28);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.product-variant-option:hover {
    border-color: rgba(222, 208, 181, 0.55);
}

.product-variant-option input[type="radio"] {
    accent-color: var(--color-black);
    margin: 0;
    flex: 0 0 auto;
}

.product-variant-option__content {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1rem;
    width: 100%;
}

.product-variant-option__title {
    font-size: 1.08rem;
    line-height: 1.35;
    min-width: 0;
    color: var(--color-beige);
}

.product-variant-option__price {
    white-space: nowrap;
    text-align: right;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-beige);
}

.product-variant-option.is-active {
    border-color: var(--color-beige);
    background: rgba(222, 208, 181, 0.08);
}

.add-to-cart-form textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
}

.add-to-cart-form small,
.add-to-cart-form label,
.add-to-cart-form .form-group {
    color: var(--color-beige);
}

.add-to-cart-buttons .btn--action {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 1rem 2.5rem;
}

.product-detail__images {
    padding-top: 0;
}

.product-image-main {
    margin-top: 1.4rem;
}

.product-detail__message-group.is-hidden {
    display: none;
}

.product-service .product-detail__custom-intro p {
    margin: 0;
    padding: 1.2rem 0;
    line-height: 1.7;
    border-bottom: 1px solid rgba(222, 208, 181, 0.2);
}

.product-service .product-detail__custom-intro p:first-child {
    padding-top: 0;
}

.product-service .product-detail__custom-intro p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-service .product-detail__custom-intro strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--color-beige);
}

.add-to-cart-form label {
    color: var(--color-beige);
}

.add-to-cart-form .form-group--qty {
    max-width: 120px;
    margin-bottom: 1rem;
}

.add-to-cart-buttons {
    margin-top: 0.5rem;
}

.add-to-cart-buttons .btn {
    width: 100%;
    text-align: center;
}

.product-back-cover {
    margin-top: 2rem;
    padding: 1.3rem;
    background: var(--color-beige);
    border: 2px solid var(--color-brown);
    border-radius: 4px;
}

.product-back-cover h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: .75rem;
    color: var(--color-dark);
}

.product-back-cover__scroll {
    max-height: 240px;
    overflow-y: auto;
    color: var(--color-dark);
    line-height: 1.8;
    padding-right: .5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-dark) #e8e8e8;
}

.product-back-cover__scroll::-webkit-scrollbar {
    width: 6px;
}

.product-back-cover__scroll::-webkit-scrollbar-track {
    background: #e8e8e8;
}

.product-back-cover__scroll::-webkit-scrollbar-thumb {
    background: var(--color-dark);
    border-radius: 3px;
}

/* ============================================================ */
/* XX. Checkout                                                 */
/* ============================================================ */

.checkout-page {
    padding: 0 0 2rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

.checkout-form h2,
.checkout-summary h2 {
    font-family: var(--font-serif);
    margin: 0 0 1rem 0;
}

.checkout-required-note {
    display: block;
    text-align: right;
    margin: -2.55rem 0 0.9rem 0;
    font-size: 0.9rem;
    color: rgba(222, 208, 181, 0.85);
    line-height: 1;
}

.checkout-form form {
    margin-top: -0.35rem;
}

.checkout-form .form-group,
.checkout-shipping-fields .form-group {
    margin-bottom: 1rem;
}

.checkout-name-row .form-group,
.checkout-address-row .form-group {
    margin-bottom: 0;
}

.checkout-form > form > .form-group,
.checkout-form > form > .checkout-name-row,
.checkout-form > form > .checkout-address-row,
.checkout-shipping-fields > .form-group,
.checkout-shipping-fields > .checkout-name-row,
.checkout-shipping-fields > .checkout-address-row {
    margin-top: 0;
    margin-bottom: 1rem;
}

.checkout-summary {
    background: var(--color-white);
    color: var(--color-dark);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(222, 208, 181, 0.35);
    position: sticky;
    top: 80px;
}

.checkout-summary h2 {
    color: var(--color-dark);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(89, 89, 89, 0.2);
    font-size: 0.95rem;
    color: var(--color-dark);
}

.checkout-item strong {
    color: var(--color-dark);
}

.checkout-total-divider {
    height: 3px;
    background: var(--color-white);
    margin: 1rem 0 0.95rem 0;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0;
    padding-top: 0;
    font-size: 1.1rem;
    color: var(--color-dark);
    border-top: none;
}

.checkout-submit {
    font-size: 1.28rem;
    font-weight: 600;
}

.checkout-shipping-fields {
    margin-top: 1.75rem;
}

.checkout-shipping-fields h2 {
    margin-bottom: 1rem;
}

.checkout-name-row {
    display: grid;
    grid-template-columns: 90px 1.5fr 1fr 1.5fr;
    gap: 1rem;
    margin-bottom: 0;
}

.checkout-address-row {
    display: grid;
    grid-template-columns: 1.68fr 0.72fr 0.72fr 0.72fr 1.46fr;
    gap: 1rem;
    margin-bottom: 0;
}

.checkout-country-group {
    max-width: 280px;
}

.checkout-name-row select {
    height: 42px;
    cursor: pointer;
}

/* ============================================================ */
/* XX. Bestelling geplaatst                                     */
/* ============================================================ */

.confirmation-page { padding: 5rem 0; text-align: center; }
.confirmation-box { max-width: 480px; margin: 0 auto; }
.confirmation-icon { font-size: 3rem; color: var(--color-beige); margin-bottom: 1rem; }
.confirmation-box h1 { font-family: var(--font-serif); margin-bottom: 1rem; }
.confirmation-box p { margin-bottom: .5rem; color: var(--color-dark); }
.confirmation-box .btn { margin-top: 2rem; }

/* ============================================================ */
/* XX. Erik page                                                */
/* ============================================================ */

.erik-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.erik-grid img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

.erik-text {
    color: var(--color-beige);
}

.erik-text p {
    margin-bottom: 1rem;
}

.erik-text strong {
    color: var(--color-white);
}

.erik-review {
    background: var(--color-beige);
    padding: 2rem;
    border: 2px solid var(--color-brown);
    margin: 1rem 0 0;
    border-radius: var(--radius);
}

.erik-review blockquote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: .75rem;
    font-family: var(--font-serif);
    color: var(--color-dark);
}

.erik-review cite {
    font-size: .85rem;
    color: var(--color-dark);
}

/* ============================================================ */
/* XX. Blog detail                                              */
/* ============================================================ */

.blog-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
    color: var(--color-beige);
}

.blog-detail__title {
    margin: 0 0 2rem 0;
    text-align: center;
}

.blog-detail__title h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.1;
    color: var(--color-beige);
}

.blog-detail__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-detail__media,
.blog-detail__side {
    min-width: 0;
}

.blog-detail__hero {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: transparent;
}

.blog-detail__hero img,
.blog-detail__hero iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--radius);
}

.blog-detail__meta {
    margin: 0 0 1rem 0;
}

.blog-detail__meta h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--color-beige);
}

.blog-detail__content {
    color: var(--color-beige);
}

.blog-detail__content p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    color: var(--color-beige);
}

.blog-detail__content p:last-child {
    margin-bottom: 0;
}

.blog-detail__actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-start;
}

.blog-detail--portrait .blog-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.blog-detail--portrait .blog-detail__media {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.blog-detail--portrait .blog-detail__hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.blog-detail--portrait .blog-detail__hero img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 220px);
    object-fit: contain;
    margin: 0 auto;
}

.blog-detail--portrait .blog-detail__side {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 100%;
    width: 100%;
    max-width: 540px;
    justify-self: start;
}

.blog-detail--portrait .blog-detail__content,
.blog-detail--portrait .blog-detail__actions {
    max-width: 540px;
}

.blog-detail--portrait .blog-detail__actions {
    margin-top: auto;
    padding-top: 1.25rem;
    justify-content: flex-start;
    align-items: flex-end;
}

.blog-detail--landscape .blog-detail__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.blog-detail--landscape .blog-detail__hero img,
.blog-detail--landscape .blog-detail__hero iframe {
    max-height: 75vh;
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.blog-detail--landscape .blog-detail__side {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.blog-detail--landscape .blog-detail__content,
.blog-detail--landscape .blog-detail__actions {
    max-width: 760px;
}

/* ============================================================ */
/* XX. Contact                                                  */
/* ============================================================ */

.contact-page {
    padding: 0 0 1rem; /* 3 */
    max-width: 600px;
}

.contact-form {
    color: var(--color-beige);
}

.contact-form .alert {
    background: var(--color-beige);
    color: var(--color-dark);
    border: 2px solid var(--color-brown);
}

.contact-form .alert--error {
    border-color: var(--color-black);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-black);
    -webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset;
    box-shadow: 0 0 0px 1000px var(--color-white) inset;
    transition: background-color 9999s ease-in-out 0s;
}

.contact-form .btn {
    margin-top: .5rem;
}

.form-group--checkbox {
    margin: 0 0 1.25rem;
}

.form-group--checkbox .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--color-beige);
    margin: 0;
}

.form-group--checkbox input[type="checkbox"] {
    width: auto;
    min-width: 18px;
    height: 18px;
    accent-color: var(--color-beige);
    cursor: pointer;
    margin: 0;
    flex: 0 0 auto;
}

.form-group--checkbox .checkbox-label span {
    position: relative;
    top: 1px;
}

.form-group--checkbox .error--checkbox {
    margin-top: 6px;
}

.contact-form .btn--dark {
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .85rem;
    padding: 1rem 3rem; 
    border-radius: var(--radius);
    cursor: pointer;
}

.contact-form .btn--dark:hover {
    background: var(--color-white);
    color: var(--color-dark);
    text-decoration: none;
}

/* ============================================================ */
/* XX. 404 page                                                 */
/* ============================================================ */

.page-404 {
    padding: 5rem 0;
    text-align: center;
}

.page-404__code {
    font-family: var(--font-serif);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.page-404__text {
    color: var(--color-dark);
    margin-bottom: 2rem;
}

/* ============================================================ */
/* XX. Melding                                                  */
/* ============================================================ */

.melding-content {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
}

.melding-spacer {
    margin: 2rem 0;
}

.melding-cta {
    margin-top: 3.5rem;
}

.melding-bottom-space {
    height: 3rem;
}

/* ============================================================ */
/* XX. Cookie banner                                            */
/* ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-dark);
    color: var(--color-beige);
    border-top: 2px solid var(--color-beige);
    padding: 1rem 1.5rem;
    z-index: 9999;
    display: none;
}

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

.cookie-text h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--color-beige);
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-beige);
}

.cookie-text a {
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.cookie-modal.is-open {
    display: block;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.cookie-modal__panel {
    position: relative;
    max-width: 700px;
    margin: 8vh auto 0;
    background: var(--color-beige);
    border: 2px solid var(--color-brown);
    border-radius: 6px;
    padding: 1.5rem;
    z-index: 1;
    color: var(--color-dark);
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cookie-modal__header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-dark);
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--color-dark);
    cursor: pointer;
}

.cookie-modal__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(62, 30, 5, 0.2);
}

.cookie-option:first-child {
    border-top: none;
    padding-top: 0;
}

.cookie-option h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.cookie-option p {
    color: var(--color-dark);
    font-size: 0.9rem;
}

.cookie-modal__actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #b8ab93;
    transition: .2s;
    border-radius: 999px;
}

.cookie-slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
    background: var(--color-white);
    transition: .2s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background: var(--color-brown);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(22px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================================ */
/* XX. Responsive                                               */
/* ============================================================ */

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

@media (max-width: 900px) {
    .blog-detail {
        padding: 2rem 0 3rem;
    }

    .blog-detail__title {
        margin: 0 0 1.5rem 0;
    }

    .blog-detail--portrait .blog-detail__layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .blog-detail--portrait .blog-detail__hero img {
        max-height: none;
        width: 100%;
    }

    .blog-detail--portrait .blog-detail__side,
    .blog-detail--portrait .blog-detail__content,
    .blog-detail--portrait .blog-detail__actions,
    .blog-detail--landscape .blog-detail__side,
    .blog-detail--landscape .blog-detail__content,
    .blog-detail--landscape .blog-detail__actions {
        max-width: 100%;
    }

    .blog-detail--portrait .blog-detail__actions,
    .blog-detail--landscape .blog-detail__actions {
        justify-content: flex-start;
    }

    .product-detail__meta-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 1rem;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid rgba(89, 89, 89, 0.2);
        padding: 1rem var(--gutter);
        z-index: 99;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

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

    .availability-card {
        padding: 1.5rem 1.25rem;
    }

    .erik-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .main-nav--open ul li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(89, 89, 89, 0.12);
    }

    .home-page .author-grid {
        grid-template-columns: 1fr;
    }

    .home-page .author-image {
        max-width: 240px;
        margin: 0 auto;
    }
    
    .product-variant-option__content {
       grid-template-columns: 24px 1fr;
       row-gap: 0.45rem;
    }

    .product-variant-option__price {
        grid-column: 2 / 3;
        text-align: left;
    }

    .product-detail__meta-row-item--shipping {
        white-space: normal;
    }

    .product-image-main {
        margin-top: 0;
    }

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

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

    .checkout-country-group {
        max-width: 100%;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary,
    .checkout-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 60px 1fr auto;
    }

    .cart-item__subtotal {
        grid-column: 2;
    }

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

    .product-image-main {
        width: 70%;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-modal__panel {
        margin: 4vh 1rem 0;
        max-width: none;
    }

    .cookie-option {
        align-items: flex-start;
    }

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

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

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