/* ========================================
   Header
======================================== */
:where(.wp-site-blocks) > .nook-category-main {
    margin-top: 0 !important;
}


:root {
    --site-header-offset: 74px;
}

.site-header {
    background: #C5DBDB;
    border-bottom: 0px solid #C5DBDB;
    padding: 10px 0 0;
    transition: background 0.2s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

body {
    background-color: #f5f1e8;
}

a,
a:visited {
    color: inherit;
}


/* ========================================
   CATEGORY HERO / STORY (2-col)
======================================== */
.nook-bestseller-collection .wc-block-components-product-image,
.nook-bestseller-collection .wp-block-woocommerce-product-image {
    margin-bottom: 70px; /* was likely 0 or very small */
}

.nook-bestseller-collection .wc-block-components-product-title {
    margin-top: 4px;
    margin-bottom: 6px;
}

.nook-bestseller-collection .wc-block-components-product-price {
    margin-top: 5px; /* on top of the 14px from before, adjust total as needed */
}

.nook-bestseller-collection {
    max-width: 240px;        /* slightly smaller card */
    padding: 12px 12px 14px;
}
.nook-bestseller-collection .wc-block-components-product-price {
    margin: 14px 0 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nook-bestseller-collection .wc-block-components-product-price del {
    color: #a8a29a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 1; /* WooCommerce sometimes dims this via inline opacity */
}

.nook-bestseller-collection .wc-block-components-product-price ins {
    color: #252525;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.nook-bestseller-collection .wc-block-components-product-image,
.nook-bestseller-collection .wp-block-woocommerce-product-image {
    aspect-ratio: 4 / 3;      /* was 1/1 — shorter image */
    max-height: 190px;
}

.nook-bestseller-collection .wc-block-components-product-title {
    font-size: 15px;
    margin: 10px 0 4px;
}

.nook-bestseller-collection .wc-block-components-product-price {
    font-size: 14px;
    margin: 0 0 10px;
}


.nook-category-hero {
    padding: 64px 24px;
}

.nook-category-hero__columns {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}

.nook-category-hero__text-col,
.nook-category-hero__product-col {
    width: auto !important;
    flex-basis: auto !important;
}

.nook-category-hero__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fffdf9;
    box-shadow: 0 5px 16px rgba(37, 37, 37, 0.08);
}

.nook-category-hero__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nook-category-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a4a4a;
    margin: 0 0 8px;
}

.nook-category-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #252525;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.nook-category-story-text {
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.75;
    color: #4a4a4a;
}

/* Bestseller card */
.nook-bestseller-collection {
    position: relative;
    max-width: 260px;
    margin: 0 auto;
    padding: 14px 14px 18px;
    background: #fffdf9;
    border: 1px solid #ebe4dc;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(37, 37, 37, 0.08);
}

.nook-bestseller-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: #252525;
    color: #fffdf9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
}

/* Pastel background variants */
.nook-category-hero--groen   { background: #D8E8D5; }
.nook-category-hero--lila    { background: #DCCFF3; }
.nook-category-hero--perzik  { background: #F5D6C6; }
.nook-category-hero--geel    { background: #F3E6B3; }

@media (max-width: 760px) {
    .nook-category-hero__columns {
        display: flex !important;
        flex-direction: column;
        gap: 32px;
    }
    .nook-category-hero__text-col,
    .nook-category-hero__product-col {
        width: 100% !important;
    }
    .nook-category-subtitle { font-size: 26px; }
    .nook-category-story-text { max-width: none; }
}

/* Homepage story section */
.about-nook {
    margin-top: 72px !important;
    margin-bottom: 72px !important;
    padding: 72px 24px 76px;
    border-top: 1px solid rgba(37, 37, 37, 0.16);
    border-bottom: 1px solid rgba(37, 37, 37, 0.16);
    background: #aaa891;
}

.about-nook h2 {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.1;
}

.about-nook__copy {
    max-width: 700px !important;
    margin: 0 auto !important;
}

.about-nook__copy p {
    margin: 0 0 22px;
    color: #1b221d;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
}

.about-nook__copy .about-nook__lead {
    margin-bottom: 30px;
    color: #252525;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.65;
}

.about-nook__copy .about-nook__closing {
    margin-top: 34px;
    margin-bottom: 0;
    color: #252525;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .about-nook {
        margin-top: 48px !important;
        margin-bottom: 48px !important;
        padding: 48px 20px 52px;
    }

    .about-nook h2 {
        margin-bottom: 24px;
        font-size: 30px;
    }

    .about-nook__copy p {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-nook__copy .about-nook__lead {
        font-size: 17px;
    }
}

.wp-site-blocks {
    background-color: #f5f1e8;
}

body.tax-product_cat .wp-site-blocks {
    padding-top: calc(var(--site-header-offset) + 24px);
}

/* Push header down if WordPress Admin Bar is visible */
body.admin-bar .site-header {
    top: 32px;
}

body.admin-bar.tax-product_cat .wp-site-blocks {
    padding-top: calc(var(--site-header-offset) + 40px);
}

body.tax-product_cat.term-dierenkaarten .wp-block-query-title,
body.tax-product_cat.term-kindnesskaarten .wp-block-query-title,
body.tax-product_cat.term-kinderkaarten .wp-block-query-title,
body.tax-product_cat.term-natuurkaarten .wp-block-query-title,
body.tax-product_cat.term-originalskaarten .wp-block-query-title {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding: 0 !important;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
}

/* body.tax-product_cat.term-dierenkaarten .woocommerce-breadcrumb,
body.tax-product_cat.term-dierenkaarten .wc-block-breadcrumbs,
body.tax-product_cat.term-dierenkaarten .wp-block-woocommerce-breadcrumbs,
body.tax-product_cat.term-dierenkaarten .wp-block-query-title,
body.tax-product_cat.term-dierenkaarten .woocommerce-products-header__title,
body.tax-product_cat.term-kindnesskaarten .woocommerce-breadcrumb,
body.tax-product_cat.term-kindnesskaarten .wc-block-breadcrumbs,
body.tax-product_cat.term-kindnesskaarten .wp-block-woocommerce-breadcrumbs,
body.tax-product_cat.term-kindnesskaarten .wp-block-query-title,
body.tax-product_cat.term-kindnesskaarten .woocommerce-products-header__title,
body.tax-product_cat.term-kinderkaarten .woocommerce-breadcrumb,
body.tax-product_cat.term-kinderkaarten .wc-block-breadcrumbs,
body.tax-product_cat.term-kinderkaarten .wp-block-woocommerce-breadcrumbs,
body.tax-product_cat.term-kinderkaarten .wp-block-query-title,
body.tax-product_cat.term-kinderkaarten .woocommerce-products-header__title,
body.tax-product_cat.term-natuurkaarten .woocommerce-breadcrumb,
body.tax-product_cat.term-natuurkaarten .wc-block-breadcrumbs,
body.tax-product_cat.term-natuurkaarten .wp-block-woocommerce-breadcrumbs,
body.tax-product_cat.term-natuurkaarten .wp-block-query-title,
body.tax-product_cat.term-natuurkaarten .woocommerce-products-header__title,
body.tax-product_cat.term-originalskaarten .woocommerce-breadcrumb,
body.tax-product_cat.term-originalskaarten .wc-block-breadcrumbs,
body.tax-product_cat.term-originalskaarten .wp-block-woocommerce-breadcrumbs,
body.tax-product_cat.term-originalskaarten .wp-block-query-title,
body.tax-product_cat.term-originalskaarten .woocommerce-products-header__title {
    display: none !important;
} */

.nook-shop-main {
    padding-top: calc(var(--site-header-offset) + 18px);
    padding-bottom: 72px;
}

.nook-shop-title {
    margin: 0 0 24px !important;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
}

@media (max-width: 782px) {
    :root {
        --site-header-offset: 82px;
    }

    body.admin-bar .site-header {
        top: 46px;
    }

}

.site-header__inner {
    box-sizing: border-box;
    min-height: 54px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Logo */
.site-header .wp-block-site-logo {
    margin: 0;
}

.site-header .wp-block-site-logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
}

header.site-header .site-header__logo img,
.site-header img {
    max-height: 45px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    border: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    box-shadow: none !important;
}

/* Navigation */
.site-navigation {
    margin: 0;
}

.site-navigation .wp-block-navigation__container {
    gap: 8px;
}

.site-navigation .wp-block-navigation-item__content {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-navigation .wp-block-navigation-item__content:hover {
    background: #beb8b6;
}

/* Shop mega menu */
.site-navigation .shop-mega-menu > .wp-block-navigation__submenu-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: row;
    column-gap: 24px;
    row-gap: 8px;
    min-width: min(680px, calc(100vw - 40px));
    padding: 16px 24px;
    border: 0;
    border-top: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 0 0 12px 12px;
    background: #e6f1f1;
    box-shadow: 0 8px 18px rgba(37, 37, 37, 0.08);
}

.site-navigation .shop-mega-menu > .wp-block-navigation__submenu-container > .wp-block-navigation-item {
    min-width: 0;
}

.site-navigation .shop-mega-menu .shop-mega-menu__heading .wp-block-navigation-item__content {
    display: block;
    padding: 0 0 4px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #252525;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-navigation .shop-mega-menu > .wp-block-navigation__submenu-container > .wp-block-navigation-item:not(.shop-mega-menu__heading) .wp-block-navigation-item__content {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.site-navigation .shop-mega-menu > .wp-block-navigation__submenu-container > .wp-block-navigation-item:not(.shop-mega-menu__heading) .wp-block-navigation-item__content:hover {
    background: rgba(37, 37, 37, 0.08);
}

/* Mini Cart */
.site-header .wc-block-mini-cart {
    margin: 0;
}

.site-header .wc-block-mini-cart__button {
    margin: 0;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-header .wc-block-mini-cart__button:hover {
    background: #beb8b6;
}

/* =========================================================
   WOOCOMMERCE MINI CART DRAWER
   ========================================================= */

/* ---------------------------------------------------------
   DRAWER
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer {
    background: #f5f1e8;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
    background: #f5f1e8;
    color: #252525;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-drawer__header {
    position: relative;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100%;
    min-height: 100px;
    box-sizing: border-box;

    padding: 28px 68px 22px 32px !important;

    background: #f5f1e8;
    border-bottom: 1px solid rgba(37, 37, 37, 0.14);
    opacity: 1 !important;
}


/* ---------------------------------------------------------
   MINI CART TITLE

   Forces:

   Je winkelwagen (items: 106)

   onto ONE line.
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__title {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: baseline !important;
    justify-content: flex-start !important;

    flex: 1 1 auto !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 48px 0 8px !important;

    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #252525 !important;
    opacity: 1 !important;
    text-shadow: none !important;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    transform: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}


/* "Je winkelwagen" */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__title
.wp-block-woocommerce-mini-cart-title-label-block {
    display: inline-block !important;

    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.wc-block-mini-cart__drawer
.wp-block-woocommerce-mini-cart-title-label-block {
    color: #252525 !important;
    opacity: 1 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
    transform: none !important;
}


/* "(items: 106)" */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__title
.wp-block-woocommerce-mini-cart-title-items-counter-block {
    display: inline-block !important;

    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 0 0 6px !important;
    padding: 0 !important;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}


/* Anything inside the counter */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__title
.wp-block-woocommerce-mini-cart-title-items-counter-block * {
    white-space: nowrap !important;
}


/* ---------------------------------------------------------
   CLOSE BUTTON
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-drawer__close {
    position: absolute !important;

    top: 18px !important;
    right: 20px !important;

    z-index: 20;

    width: 40px;
    height: 40px;

    margin: 0 !important;
    padding: 0 !important;

    color: #252525 !important;
    background: transparent !important;
    border: 0 !important;
    transform: none !important;
}

.wc-block-mini-cart__drawer
.wc-block-components-drawer__close:hover {
    background: rgba(37, 37, 37, 0.08) !important;
}


/* ---------------------------------------------------------
   PRODUCTS AREA
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__products {
    padding: 12px 32px 24px !important;
}


/* ---------------------------------------------------------
   CART ITEM
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-cart-item {
    padding: 20px 0 !important;

    border-bottom: 1px solid rgba(37, 37, 37, 0.12);
}

.wc-block-mini-cart__drawer
.wc-block-cart-item__product {
    padding-left: 16px !important;
}


/* ---------------------------------------------------------
   PRODUCT NAME
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-product-name {
    display: inline-block;

    margin: 0 0 7px;

    color: #252525;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;

    text-decoration: none;
}

.wc-block-mini-cart__drawer
.wc-block-components-product-name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ---------------------------------------------------------
   PRODUCT META
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-product-metadata,
.wc-block-mini-cart__drawer
.wc-block-components-product-metadata p {
    color: #57524f;

    font-size: 13px;
    line-height: 1.5;
}

.wc-block-mini-cart__drawer
.wc-block-components-product-metadata {
    margin: 0 0 12px;
}


/* ---------------------------------------------------------
   PRODUCT PRICE
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-product-price {
    color: #252525;

    font-size: 15px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   QUANTITY SELECTOR
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-quantity-selector {
    min-height: 38px;

    margin-top: 12px;

    background: transparent;

    border-color: rgba(37, 37, 37, 0.3);
}

.wc-block-mini-cart__drawer
.wc-block-components-quantity-selector input {
    min-width: 42px;

    font-size: 14px;
}


/* ---------------------------------------------------------
   REMOVE LINK
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-cart-item__remove-link {
    margin-left: 12px;

    color: #252525;

    font-size: 13px;

    text-decoration: none;
}

.wc-block-mini-cart__drawer
.wc-block-cart-item__remove-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ---------------------------------------------------------
   TOTALS
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-totals-footer-item {
    padding: 22px 32px 10px !important;

    border-top: 1px solid rgba(37, 37, 37, 0.14);
}

.wc-block-mini-cart__drawer
.wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer
.wc-block-components-totals-item__value {
    color: #252525;

    font-size: 16px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   TOTAL NOTICE
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-components-totals-footer-item__notice {
    padding: 0 32px 14px !important;

    color: #57524f;

    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__footer {
    background: #f5f1e8;
}


/* ---------------------------------------------------------
   FOOTER BUTTONS
   --------------------------------------------------------- */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__footer
.wc-block-components-button {
    min-height: 48px;

    border-radius: 0;

    font-size: 14px;
    font-weight: 600;

    border: 1px solid #252525;
}


/* Checkout button */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__footer
.wc-block-components-button:not(.outlined) {
    background: #252525;
    color: #fffdf9;
}

.wc-block-mini-cart__drawer
.wc-block-mini-cart__footer
.wc-block-components-button:not(.outlined):hover {
    background: #3a3a3a;
    color: #fffdf9;
}


/* View cart button */

.wc-block-mini-cart__drawer
.wc-block-mini-cart__footer
.wc-block-components-button.outlined {
    background: #fffdf9;
    color: #252525;
}

.wc-block-mini-cart__drawer
.wc-block-mini-cart__footer
.wc-block-components-button.outlined:hover {
    background: #ebe4dc;
    color: #252525;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .wc-block-mini-cart__drawer
    .wc-block-components-drawer__header {
        min-height: 68px;

        padding: 22px 20px 18px !important;
    }

    .wc-block-mini-cart__drawer
    .wc-block-mini-cart__title {
        padding-right: 42px !important;

        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    .wc-block-mini-cart__drawer
    .wc-block-mini-cart__title
    .wp-block-woocommerce-mini-cart-title-items-counter-block {
        margin-left: 5px !important;
    }

    .wc-block-mini-cart__drawer
    .wc-block-mini-cart__products {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .wc-block-mini-cart__drawer
    .wc-block-components-totals-footer-item {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .wc-block-mini-cart__drawer
    .wc-block-components-totals-footer-item__notice {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
}



/* ========================================
   Header Mobile
======================================== */

@media (max-width: 781px) {
    .site-header {
        padding: 14px 0;
    }

    .site-header__inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-header .wp-block-site-logo img {
        max-width: 150px;
    }

    .site-navigation .shop-mega-menu > .wp-block-navigation__submenu-container {
        display: block;
        min-width: 0;
        padding: 8px 0 8px 16px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}


/* ========================================
   HOMEPAGE PRODUCT CARDS
======================================== */

.nook-category-toolbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 28px;
    padding: 14px 18px;
    border-top: 1px solid rgba(37, 37, 37, 0.16);
    border-bottom: 1px solid rgba(37, 37, 37, 0.16);
}

.nook-category-toolbar .wc-block-product-results-count {
    margin: 0;
    color: #4a4a4a;
    font-size: 14px;
}

.nook-category-toolbar .wc-block-catalog-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.nook-category-toolbar .wc-block-catalog-sorting__label {
    color: #4a4a4a;
    font-size: 13px;
    white-space: nowrap;
}

.nook-category-toolbar .wc-block-catalog-sorting select {
    min-height: 40px;
    min-width: 210px;
    padding: 8px 40px 8px 14px;
    border: 1px solid #252525;
    border-radius: 999px;
    background: #fffdf9;
    color: #252525;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #252525 50%), linear-gradient(135deg, #252525 50%, transparent 50%);
    background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nook-category-toolbar .wc-block-catalog-sorting select:hover,
.nook-category-toolbar .wc-block-catalog-sorting select:focus {
    background-color: #252525;
    color: #fffdf9;
    outline: none;
    background-image: linear-gradient(45deg, transparent 50%, #fffdf9 50%), linear-gradient(135deg, #fffdf9 50%, transparent 50%);
}

.nook-category-toolbar .wc-block-catalog-sorting select:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 37, 37, 0.18);
}

@media (max-width: 600px) {
    .nook-category-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
        padding: 12px 14px;
    }

    .nook-category-toolbar .wc-block-catalog-sorting {
        justify-content: space-between;
    }

    .nook-category-toolbar .wc-block-catalog-sorting select {
        flex: 1;
        min-width: 0;
    }
}


.nook-collection-story {
    max-width: none;
    margin: 42px 0 34px;
    padding: 58px 24px 62px;
    border-top: 1px solid rgba(37, 37, 37, 0.16);
    border-bottom: 1px solid rgba(37, 37, 37, 0.16);
    background: #aaa891;
    text-align: center;
}

.nook-collection-story {
    max-width: none;
    margin: 42px 0 34px;
    padding: 58px 24px 62px;
    border-top: 1px solid rgba(37, 37, 37, 0.16);
    border-bottom: 1px solid rgba(37, 37, 37, 0.16);
    background: #aaa891;
    text-align: center;
}

.nook-collection-story h1 {
    max-width: 760px;
    margin: 0 0 16px;
    margin-right: auto;
    margin-left: auto;
    color: #252525;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
}

.nook-collection-story p {
    max-width: 700px;
    margin: 0;
    margin-right: auto;
    margin-left: auto;
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
}

.tax-product_cat .wp-block-query-title {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

@media (max-width: 600px) {
    .nook-collection-story {
        margin-top: 28px;
        padding: 48px 20px 52px;
    }

    .nook-collection-story p {
        font-size: 15px;
        line-height: 1.7;
    }
}

.wp-block-woocommerce-product-collection {
    margin-top: 28px;
}

.wp-block-woocommerce-product-collection .wc-block-product-template {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wp-block-woocommerce-product-collection .wc-block-product {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 12px 16px;
    background: #fffdf9;
    border: 1px solid #ebe4dc;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(37, 37, 37, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-woocommerce-product-collection .wc-block-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(37, 37, 37, 0.1);
}

.wp-block-woocommerce-product-collection .wc-block-components-product-image {
    display: block;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 14px;
    background: #f2ece1;
    aspect-ratio: 1 / 1;
    box-shadow: 0 5px 16px rgba(37, 37, 37, 0.08);
}

.bestsellers-section .wc-block-product-template {
    grid-template-columns: repeat(3, minmax(0, calc((100% - 60px) / 4)));
    justify-content: center;
}

.wp-block-woocommerce-product-collection .wc-block-components-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wp-block-woocommerce-product-collection .wc-block-product:hover .wc-block-components-product-image img {
    transform: scale(1.04);
}

.wp-block-woocommerce-product-collection .wc-block-components-product-title {
    flex: 1;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.wp-block-woocommerce-product-collection .wc-block-components-product-title a {
    color: #252525 !important;
    text-decoration: none;
}

.wp-block-woocommerce-product-collection .wc-block-product a,
.wp-block-woocommerce-product-collection .wc-block-product a:visited,
.wp-block-woocommerce-product-collection .wc-block-product a:focus,
.wp-block-woocommerce-product-collection .wc-block-product a:active {
    color: #252525;
}

.wp-block-woocommerce-product-collection .wc-block-components-product-title a:hover {
    color: #252525 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wp-block-woocommerce-product-collection .wc-block-components-product-price {
    margin: 0 0 14px;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 600;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button {
    margin: 0;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .wp-block-button__link,
.wp-block-woocommerce-product-collection .wc-block-components-product-button__button {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 0;
    border-radius: 999px;
    background: #252525;
    color: #fffdf9;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.wp-block-woocommerce-product-collection .wc-block-components-product-button__button:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .wp-block-woocommerce-product-collection .wc-block-product-template {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .wp-block-woocommerce-product-collection .wc-block-product-template {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .bestsellers-section .wc-block-product-template > :last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 12px) / 2);
    }

    .wp-block-woocommerce-product-collection .wc-block-product {
        padding: 8px 8px 12px;
    }

    .wp-block-woocommerce-product-collection .wc-block-components-product-image {
        margin-bottom: 10px;
    }

    .wp-block-woocommerce-product-collection .wc-block-components-product-title {
        font-size: 13px;
    }
}


/* ========================================
   SINGLE PRODUCT PAGE STYLES
======================================== */

.nook-single-product-main {
    padding-top: calc(var(--site-header-offset) + 8px) !important;
    padding-bottom: 90px !important;
}

body.admin-bar .nook-single-product-main {
    padding-top: calc(var(--site-header-offset) + 40px) !important;
}

.nook-product-gallery-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(100%, 480px) !important;
    max-width: 480px;
}

.nook-back-link {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    color: #252525;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.nook-back-link > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nook-back-link:hover,
.nook-back-link:focus-visible {
    opacity: 0.7;
    text-decoration: none;
}

.nook-back-link span:first-child {
    font-size: 18px;
    line-height: 1;
    margin-top: 4px;
    transform: translateY(1px);
}

.nook-product-hero {
    margin-bottom: 12px;
    padding-top: 0;
}

.nook-product-hero .wp-block-columns {
    align-items: flex-start;
}

.nook-product-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 480px) minmax(300px, 380px);
    gap: 30px;
    align-items: start;
    justify-content: center;
}

.nook-product-columns > .nook-product-gallery-col,
.nook-product-columns > .nook-product-details-col {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    flex-basis: auto !important;
}

/* Product Titles & Pricing */
.nook-product-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #252525 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.01em;
}

.nook-product-price {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #252525 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.nook-product-rating {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.nook-product-description {
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

.nook-product-description > *:first-child {
    margin-top: 0;
}

.nook-product-description > *:last-child {
    margin-bottom: 0;
}

.nook-product-information {
    margin-top: 14px;
    border-top: 1px solid #dfd1c6;
}

.nook-product-information .wc-tabs,
.nook-product-information .woocommerce-tabs ul.tabs {
    display: none !important;
}

.nook-product-information .nook-product-tab-accordion {
    margin: 0;
    border-bottom: 1px solid #dfd1c6;
}

.nook-product-information .nook-product-tab-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: #252525;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.nook-product-information .nook-product-tab-accordion summary::-webkit-details-marker {
    display: none;
}

.nook-product-information .nook-product-tab-accordion summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.nook-product-information .nook-product-tab-accordion[open] summary::after {
    content: "-";
}

.nook-product-information .nook-product-tab-accordion > :not(summary) {
    margin-bottom: 20px;
}

.nook-product-information .nook-product-tab-accordion > .wc-tab,
.nook-product-information .nook-product-tab-accordion > .woocommerce-Tabs-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.nook-product-information .nook-product-tab-accordion > .wc-tab > h2:first-child,
.nook-product-information .nook-product-tab-accordion > .woocommerce-Tabs-panel > h2:first-child {
    display: none !important;
}

/* ========================================
   MODERN COMPACT GALLERY (ARROWS & NO ZOOM)
======================================== */

.nook-product-gallery-col {
    width: min(100%, 480px) !important;
    max-width: 480px !important;
}

.nook-product-gallery-col .woocommerce-product-gallery,
.nook-product-gallery-col .wp-block-woocommerce-product-gallery,
.nook-product-gallery-col .nook-product-gallery,
.nook-product-gallery-col .wc-block-components-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

/* Product gallery layout: thumbnails below the main image */
.nook-product-gallery-col .woocommerce-product-gallery,
.nook-product-gallery-col .wc-block-components-product-gallery,
.nook-product-gallery-col .wp-block-woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image,
.nook-product-gallery-col .wc-block-product-gallery-large-image,
.nook-product-gallery-col .wp-block-woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

/* Rounded Container for Main Image */
.nook-product-gallery-col .woocommerce-product-gallery__wrapper {
    border-radius: 20px;
    overflow: hidden;
    background-color: transparent;
    box-shadow: none;
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image,
.nook-product-gallery-col .wc-block-product-gallery-large-image,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image img,
.nook-product-gallery-col .wc-block-product-gallery-large-image img {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image,
.nook-product-gallery-col .wc-block-product-gallery-large-image {
    position: relative;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.nook-product-gallery-col .wc-block-product-gallery-large-image__container,
.nook-product-gallery-col .wc-block-product-gallery-large-image__wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
}

.nook-product-gallery-col figure {
    margin: 0;
}

/* Image Styling - Removed Zoom Hover Effect */
.nook-product-gallery-col .wc-block-components-product-gallery-large-image img,
.nook-product-gallery-col .wc-block-product-gallery-large-image img,
.nook-product-gallery-col .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 20px;
    pointer-events: none; /* Disables WooCommerce image lightboxes & hover zoom triggers */
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image a,
.nook-product-gallery-col .wc-block-product-gallery-large-image a,
.nook-product-gallery-col .woocommerce-product-gallery__image a {
    pointer-events: none !important;
}

/* Keep thumbnails visible and usable below the main image */
.nook-product-gallery-col .flex-control-thumbs,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails-container,
.nook-product-gallery-col .wc-block-components-product-gallery__thumbnails {
    display: flex !important;
    flex-direction: row;
    grid-column: 1;
    grid-row: 2;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
}

.nook-product-gallery-col .flex-control-thumbs li,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails li,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails-container li,
.nook-product-gallery-col .wc-block-components-product-gallery__thumbnails li,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails button,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails-container button,
.nook-product-gallery-col .wc-block-components-product-gallery__thumbnails button {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dcd6cd;
    border-radius: 10px;
    background: #f2ece1;
    cursor: pointer;
}

.nook-product-gallery-col .flex-control-thumbs img,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails img,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails-container img,
.nook-product-gallery-col .wc-block-components-product-gallery__thumbnails img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    pointer-events: auto;
}

.nook-product-gallery-col .flex-control-thumbs .flex-active,
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails button[aria-current="true"],
.nook-product-gallery-col .wc-block-components-product-gallery-thumbnails-container button[aria-current="true"],
.nook-product-gallery-col .wc-block-components-product-gallery__thumbnails button[aria-current="true"] {
    border-color: #252525;
}

/* Hide WooCommerce default lens/zoom triggers */
.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* WooCommerce block gallery navigation */
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__button,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__nav-button,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #252525 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none;
    appearance: none;
    transform: translateY(-50%);
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image__button::before,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__button::after,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__nav-button::before,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__nav-button::after,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image button::before,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image button::after {
    background: transparent !important;
    box-shadow: none !important;
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image__button:hover,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__nav-button:hover,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image button:hover {
    background: rgba(255, 255, 255, 0.82) !important;
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image__button--previous,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__nav-button--previous {
    left: 12px;
}

.nook-product-gallery-col .wc-block-components-product-gallery-large-image__button--next,
.nook-product-gallery-col .wc-block-components-product-gallery-large-image__nav-button--next {
    right: 12px;
}

/* Quantity & Add to Cart Forms */
.nook-product-details-col .cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.nook-product-details-col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    padding: 40px 0 28px 28px;
    border-left: 0;
}

.nook-product-details-col::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    width: 1px;
    background: #dfd1c6;
}

.nook-product-details-col .quantity input.qty {
    width: 64px;
    height: 48px;
    text-align: center;
    border: 1px solid #dcd6cd;
    border-radius: 999px;
    background: #fffdf9;
    font-size: 15px;
    font-weight: 600;
    color: #252525;
}

.nook-product-details-col .single_add_to_cart_button,
.nook-product-details-col .wp-block-button__link {
    height: 48px;
    padding: 0 32px;
    background: #252525 !important;
    color: #fffdf9 !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nook-product-details-col .single_add_to_cart_button:hover,
.nook-product-details-col .wp-block-button__link:hover {
    background: #3a3a3a !important;
    transform: translateY(-1px);
}

/* Related Products */
.nook-related-section {
    margin-top: 88px;
    padding-top: 12px;
    border-top: 1px solid #e7dbd0;
}

.nook-related-title {
    font-size: 26px !important;
    font-weight: 600 !important;
    margin-bottom: 32px !important;
    color: #252525;
}

.nook-related-section .wc-block-grid__products,
.nook-related-section .wc-block-product-template,
.nook-related-section ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
    align-items: stretch;
    margin: 0;
    padding: 0;
    width: 100% !important;
    max-width: none !important;
}

.nook-related-section .wc-block-grid__product,
.nook-related-section .wc-block-product,
.nook-related-section ul.products > li.product {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    flex: none !important;
    box-sizing: border-box;
    overflow: hidden;
    padding: 12px 12px 16px;
    background: #fffdf9;
    border: 1px solid #ebe4dc;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(37, 37, 37, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nook-related-section .wc-block-grid__product:hover,
.nook-related-section .wc-block-product:hover,
.nook-related-section ul.products > li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(37, 37, 37, 0.1);
}

.nook-related-section .wc-block-grid__product-link,
.nook-related-section .wc-block-grid__product-link:visited,
.nook-related-section .wc-block-grid__product-link:hover,
.nook-related-section .wc-block-grid__product-link:focus,
.nook-related-section .wc-block-grid__product a,
.nook-related-section .wc-block-grid__product a:visited,
.nook-related-section .wc-block-grid__product a:hover,
.nook-related-section .wc-block-grid__product a:focus,
.nook-related-section .wc-block-grid__product a:active {
    color: #252525;
    text-decoration: none;
}

.nook-related-section .wc-block-product a,
.nook-related-section .wc-block-product a:visited,
.nook-related-section .wc-block-product a:hover,
.nook-related-section .wc-block-product a:focus,
.nook-related-section .wc-block-product a:active,
.nook-related-section ul.products > li.product a,
.nook-related-section ul.products > li.product a:visited,
.nook-related-section ul.products > li.product a:hover,
.nook-related-section ul.products > li.product a:focus,
.nook-related-section ul.products > li.product a:active {
    color: #252525;
}

.nook-related-section .wc-block-grid__product-image,
.nook-related-section .wc-block-components-product-image,
.nook-related-section ul.products > li.product img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 14px;
    background: #f2ece1;
    box-shadow: 0 5px 16px rgba(37, 37, 37, 0.08);
}

.nook-related-section .wc-block-grid__product-image img,
.nook-related-section .wc-block-components-product-image img,
.nook-related-section ul.products > li.product img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.nook-related-section .wc-block-grid__product:hover .wc-block-grid__product-image img,
.nook-related-section .wc-block-product:hover .wc-block-components-product-image img,
.nook-related-section ul.products > li.product:hover img {
    transform: scale(1.04);
}

.nook-related-section .wc-block-grid__product-title,
.nook-related-section .wc-block-components-product-title {
    flex: 1;
    margin: 0 0 8px;
    color: #252525 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.nook-related-section .wc-block-grid__product-price,
.nook-related-section .wc-block-components-product-price {
    margin: 0 0 14px;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 600;
}

.nook-related-section .wp-block-button__link {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 0;
    border-radius: 999px;
    background: #252525;
    color: #fffdf9 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nook-related-section .wp-block-button__link:hover {
    background: #3a3a3a;
    color: #fffdf9 !important;
    transform: translateY(-1px);
}


/* Layout Breakpoints for Product Hero */
@media (max-width: 760px) {
    .nook-single-product-main {
        padding-top: calc(var(--site-header-offset) + 8px) !important;
    }

    body.admin-bar .nook-single-product-main {
        padding-top: calc(var(--site-header-offset) + 54px) !important;
    }

    .nook-product-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 0;
    }

    .nook-product-gallery-col,
    .nook-product-details-col {
        width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100%;
    }

    .nook-product-title {
        font-size: 26px !important;
    }

    .nook-product-hero {
        padding: 18px 0 0;
    }

    .nook-product-details-col {
        padding: 28px 0 0;
        border-top: 1px solid #dfd1c6;
        border-left: 0;
    }

    .nook-product-details-col::before {
        display: none;
    }

    .nook-product-gallery-col .woocommerce-product-gallery,
    .nook-product-gallery-col .wc-block-components-product-gallery,
    .nook-product-gallery-col .wp-block-woocommerce-product-gallery {
        grid-template-columns: 1fr;
    }

    .nook-product-gallery-col .wc-block-components-product-gallery-large-image,
    .nook-product-gallery-col .wc-block-product-gallery-large-image,
    .nook-product-gallery-col .wp-block-woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
        grid-column: 1;
    }

    .nook-product-gallery-col .flex-control-thumbs,
    .nook-product-gallery-col .wc-block-components-product-gallery-thumbnails,
    .nook-product-gallery-col .wc-block-components-product-gallery-thumbnails-container,
    .nook-product-gallery-col .wc-block-components-product-gallery__thumbnails {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        margin-top: 12px;
    }

    .nook-related-section .wc-block-grid__products,
    .nook-related-section .wc-block-product-template,
    .nook-related-section ul.products {
        grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
        gap: 16px 12px;
    }

    .nook-related-section .wc-block-grid__product {
        padding: 8px 8px 12px;
    }

    .nook-related-section .wc-block-grid__product-title {
        font-size: 13px;
    }
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
	position:relative;
    margin-top: 100px;
    padding: 0;
    background: #ebd7c6;
    color: #252525;
}

.site-footer::before {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ebd7c6' d='M0 0C240 0 360 80 720 72S1080 40 1440 40V80H0Z'/%3E%3C/svg%3E") center bottom / 100% 80px no-repeat;
    content: "";
    pointer-events: none;
}

.site-footer__main {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 70px;
}

.site-footer__brand {
    max-width: 300px;
}

.site-footer__brand p {
    max-width: 260px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__logo,
.site-footer__logo figure,
footer .site-footer__logo img {
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 80px !important;
    border-radius: 0 !important;
    border: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    box-shadow: none !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Footer Columns */
.site-footer__column h3 {
    margin: 0 0 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    color: #252525;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.6;
    transform: translateX(3px);
}

/* Newsletter */
.site-footer__newsletter {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px 50px;
    padding: 55px 50px;
    background: #aaa891;
    border-radius: 24px;
}

.site-footer__newsletter-content {
    flex: 1 1 320px;
    max-width: 480px;
    padding: 0;
}

.site-footer__newsletter h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
}

.site-footer__newsletter p {
    max-width: 420px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.85;
}

.site-footer__newsletter-form {
    display: flex;
    flex: 1 1 380px;
    max-width: 420px;
    gap: 10px;
}

.site-footer__newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    background: #fffdf9;
    font-size: 14px;
    color: #252525;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.site-footer__newsletter-form input[type="email"]::placeholder {
    color: #8a8a8a;
}

.site-footer__newsletter-form input[type="email"]:focus {
    box-shadow: 0 0 0 2px #252525;
}

.site-footer__newsletter-form button {
    flex-shrink: 0;
    padding: 14px 26px;
    border: none;
    border-radius: 999px;
    background: #252525;
    color: #fffdf9;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.site-footer__newsletter-form button:hover {
    opacity: 0.85;
}

/* Footer Bottom */
.site-footer__bottom {
    margin-top: 50px;
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid #ebe4dc;
}

.site-footer__copyright {
    margin: 0;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-legal li {
    margin: 0;
}

.footer-legal a {
    font-size: 13px;
    color: #252525;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.footer-socials li {
    margin: 0;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2ece1;
    color: #252525;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
    background: #beb8b6;
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 17px;
    height: 17px;
}

/* Footer Media Queries */
@media (max-width: 900px) {
    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 50px 30px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        margin-top: 70px;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__newsletter {
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px;
        padding: 36px 24px;
        gap: 24px;
    }

    .site-footer__newsletter-content {
        max-width: none;
    }

    .site-footer__newsletter h2 {
        font-size: 24px;
    }

    .site-footer__newsletter p {
        max-width: none;
        font-size: 14px;
    }

    .site-footer__newsletter-form {
        max-width: none;
        flex: 0 0 auto;
        flex-direction: column;
        align-self: stretch;
    }

    .site-footer__newsletter-form input[type="email"] {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .site-footer__newsletter-form button {
        width: 100%;
        flex: 0 0 auto;
        padding: 14px 26px;
    }

    .site-footer__bottom {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 15px;
    }
}


/* ========================================
   GENERIC CONTENT PAGES (Contact, FAQ, Verzending,
   Retourneren, Over ons, Over NOOK, Privacybeleid,
   Algemene voorwaarden)
======================================== */

.nook-page-main {
    padding-top: calc(var(--site-header-offset) + 8px) !important;
    padding-bottom: 100px !important;
}

body.admin-bar .nook-page-main {
    padding-top: calc(var(--site-header-offset) + 40px) !important;
}

.nook-page-content {
    max-width: 760px;
    margin: 0 auto;
}

.nook-page-title {
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #252525;
    margin: 0 0 16px !important;
}

.nook-page-intro {
    font-size: 16px;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0 0 40px;
}

.nook-page-updated {
    font-size: 13px;
    color: #8a8a8a;
    margin: 0 0 32px;
}

@media (max-width: 600px) {
    .nook-page-main {
        padding-top: calc(var(--site-header-offset) + 8px) !important;
    }

    body.admin-bar .nook-page-main {
        padding-top: calc(var(--site-header-offset) + 54px) !important;
    }

    .nook-page-title {
        font-size: 26px !important;
    }
}


/* ---- Contact page ---- */

.nook-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 50px;
    align-items: start;
}

.nook-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nook-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nook-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #252525;
}

.nook-form-row input,
.nook-form-row textarea {
    padding: 12px 16px;
    border: 1px solid #dcd6cd;
    border-radius: 14px;
    background: #fffdf9;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #252525;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.nook-form-row input:focus,
.nook-form-row textarea:focus {
    box-shadow: 0 0 0 2px #252525;
}

.nook-form-row textarea {
    resize: vertical;
    border-radius: 18px;
}

.nook-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.nook-form-submit {
    align-self: flex-start;
    height: 48px;
    padding: 0 32px;
    border: none;
    border-radius: 999px;
    background: #252525;
    color: #fffdf9;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nook-form-submit:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
}

.nook-form-notice {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    margin: 0 0 24px;
}

.nook-form-notice--success {
    background: #D8E8D5;
    color: #2c4429;
}

.nook-form-notice--error {
    background: #F5D6C6;
    color: #5c2e17;
}

.nook-contact-info {
    padding: 28px 24px;
    background: #f2ece1;
    border-radius: 18px;
}

.nook-contact-info h2 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
}

.nook-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nook-contact-info-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
}

.nook-contact-info-list strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a8a8a;
}

.nook-contact-info-list a {
    color: #252525;
    text-decoration: none;
}

.nook-contact-info-list a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .nook-contact-layout {
        grid-template-columns: 1fr;
    }
}


/* ---- Info pages (Verzending, Retourneren) ---- */

.nook-info-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nook-info-card {
    padding: 24px 0;
    border-bottom: 1px solid #ebe4dc;
}

.nook-info-card:last-child {
    border-bottom: none;
}

.nook-info-card h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.nook-info-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
}

.nook-info-card--note {
    background: #f2ece1;
    padding: 20px 24px;
    border-radius: 14px;
    border-bottom: none;
    margin-top: 8px;
}

.nook-info-note {
    margin-top: 10px !important;
    font-size: 13px !important;
    color: #8a8a8a !important;
}

.nook-shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.nook-shipping-table th,
.nook-shipping-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #ebe4dc;
}

.nook-shipping-table th {
    font-weight: 700;
    color: #252525;
}

.nook-shipping-table td {
    color: #4a4a4a;
}


/* ---- Numbered steps (Retourneren) ---- */

.nook-steps-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.nook-steps-list li h2 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
}

.nook-steps-list li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
}


/* ---- FAQ page (reuses the product-tab accordion look) ---- */

.nook-faq-group {
    margin-bottom: 36px;
}

.nook-faq-group-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a8a8a;
    margin: 0 0 8px;
}

.nook-faq-item {
    margin: 0;
    border-bottom: 1px solid #dfd1c6;
}

.nook-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: #252525;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.nook-faq-item summary::-webkit-details-marker {
    display: none;
}

.nook-faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.nook-faq-item[open] summary::after {
    content: "-";
}

.nook-faq-item > div {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
}

.nook-faq-item > div a {
    color: #252525;
}


/* ---- Story pages (Over ons, Over NOOK) ---- */

.nook-story-block {
    margin-bottom: 32px;
}

.nook-story-block h2 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
}

.nook-story-block p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
}


/* ---- Legal pages (Privacybeleid, Algemene voorwaarden) ---- */

.nook-legal-block {
    margin-bottom: 28px;
}

.nook-legal-block h2 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.nook-legal-block p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #4a4a4a;
}

.nook-legal-block a {
    color: #252525;
}

.nook-legal-disclaimer {
    margin-top: 40px;
    padding: 16px 20px;
    background: #F5D6C6;
    border-radius: 14px;
    font-size: 13px;
    color: #5c2e17;
}

/* ========================================
   Header right-side group (nav + search + account + cart)
======================================== */

.site-header__right {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

/* Live search */
.nook-search {
    position: relative;
}

.nook-search__form {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 16px;
    background: #fffdf9;
    border-radius: 999px;
    min-width: 220px;
}

.nook-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #252525;
}

.nook-search__input::placeholder {
    color: #8a8a8a;
}

.nook-search__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #252525;
    color: #fffdf9;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.nook-search__button:hover {
    background: #3a3a3a;
}

.nook-search__button svg {
    width: 16px;
    height: 16px;
}

.nook-search__results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
    background: #fffdf9;
    border: 1px solid #ebe4dc;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(37, 37, 37, 0.14);
}

.nook-search__result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: #252525;
    transition: background 0.15s ease;
}

.nook-search__result:hover {
    background: #f2ece1;
}

.nook-search__result-image {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f2ece1;
}

.nook-search__result-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nook-search__result-info {
    min-width: 0;
}

.nook-search__result-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nook-search__result-price {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #4a4a4a;
}

.nook-search__no-results,
.nook-search__loading {
    padding: 14px 10px;
    font-size: 13px;
    color: #4a4a4a;
    text-align: center;
}

/* Account icon */
.nook-account a,
.wc-block-customer-account__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #252525;
    transition: background 0.2s ease;
}

.nook-account a:hover,
.wc-block-customer-account__link:hover {
    background: #beb8b6;
}

.nook-account svg {
    width: 20px;
    height: 20px;
}

/* Mobile */
@media (max-width: 900px) {
    .site-header__inner {
        gap: 16px;
    }

    .site-navigation .wp-block-navigation__container {
        gap: 2px;
    }

    .nook-search__form {
        min-width: 160px;
    }
}

@media (max-width: 781px) {
    .site-header__right {
        gap: 10px;
        flex-wrap: wrap;
    }

    .nook-search {
        order: 3;
        width: 100%;
    }

    .nook-search__form {
        width: 100%;
        min-width: 0;
    }
}

/* ========================================
   MY ACCOUNT PAGE
   REPLACE your entire existing "MY ACCOUNT PAGE"
   section in custom.css with this block.
======================================== */

.nook-account-main {
    padding-top: calc(var(--site-header-offset) + 8px) !important;
    padding-bottom: 100px !important;
}

body.admin-bar .nook-account-main {
    padding-top: calc(var(--site-header-offset) + 40px) !important;
}

@media (max-width: 760px) {
    .nook-account-main {
        padding-top: calc(var(--site-header-offset) + 8px) !important;
    }

    body.admin-bar .nook-account-main {
        padding-top: calc(var(--site-header-offset) + 54px) !important;
    }
}

.nook-account-hero {
    padding: 18px 0 24px;
}

.nook-account-title {
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #252525 !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
}

@media (max-width: 600px) {
    .nook-account-title {
        font-size: 26px !important;
    }
}

.nook-account-wrap .woocommerce-notices-wrapper:empty {
    display: none;
}

.nook-account-wrap .woocommerce > .woocommerce-notices-wrapper {
    display: contents !important;
}

.nook-account-wrap .woocommerce > .woocommerce-notices-wrapper > * {
    grid-column: 1 / -1;
}

/* ----------------------------------------
   Layout — nav + content, wide and open like
   the product page (minmax(0,480px) / 380px, gap 30px)
---------------------------------------- */

.nook-account-wrap .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.nook-account-wrap .woocommerce::before,
.nook-account-wrap .woocommerce::after {
    display: none !important;
}

.nook-account-wrap .woocommerce > .woocommerce-MyAccount-navigation {
    grid-column: 1;
    grid-row: 1;
}

.nook-account-wrap .woocommerce > .woocommerce-MyAccount-content {
    grid-column: 2;
    grid-row: 1;
}

@supports not selector(:has(a)) {
    .woocommerce-MyAccount-navigation {
        margin-bottom: 24px;
    }
}

/* ----------------------------------------
   Sidebar navigation — no card box, just a
   clean vertical list
---------------------------------------- */

.woocommerce-MyAccount-navigation {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* WooCommerce outputs a stray <br> before the link text — hide it,
   it was creating a blank second line inside every pill. */
.woocommerce-MyAccount-navigation-link a br {
    display: none !important;
}

.woocommerce-MyAccount-navigation-link a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    border: 0 !important;
    border-left: 2px solid transparent !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #252525 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.woocommerce-MyAccount-navigation-link a:hover {
    color: #8a5a44 !important;
    border-left-color: #8a5a44 !important;
}

.woocommerce-MyAccount-navigation-link.is-active a {
    color: #252525 !important;
    border-left-color: #252525 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #dfd1c6;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #a15a4a !important;
}

@media (max-width: 760px) {
    .woocommerce-MyAccount-navigation ul {
        gap: 4px;
    }

    .woocommerce-MyAccount-navigation-link a {
        padding: 10px 12px !important;
    }

    .woocommerce-MyAccount-navigation-link--customer-logout {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0;
    }
}

/* ----------------------------------------
   Content — open, no boxed card, generous
   line length like the product description
---------------------------------------- */

.woocommerce-MyAccount-content {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    max-width: none;
    padding: 0 0 0 30px;
    border-left: 1px solid #dfd1c6;
}

.woocommerce-MyAccount-content > *:first-child {
    margin-top: 0;
}

.woocommerce-MyAccount-content p {
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #252525;
}

.woocommerce-MyAccount-content h2 {
    font-size: 20px;
    margin: 0 0 16px;
}

.woocommerce-MyAccount-content p a,
.woocommerce-MyAccount-content li a {
    color: #252525 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Dashboard / orders / addresses tables and forms still get their own
   full width inside the content column (not capped to 640px) */
.woocommerce-MyAccount-content:has(.woocommerce-orders-table),
.woocommerce-MyAccount-content:has(.woocommerce-Addresses),
.woocommerce-MyAccount-content:has(form) {
    max-width: none;
}

/* ----------------------------------------
   Notices
---------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: block !important;
    margin: 0 0 24px !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    list-style: none !important;
    max-width: 640px;
}

.woocommerce-message { background: #D8E8D5 !important; }
.woocommerce-info { background: #F3E6B3 !important; }
.woocommerce-error { background: #F5D6C6 !important; }

.woocommerce-message .button,
.woocommerce-info .button {
    margin-left: 12px;
}

/* ----------------------------------------
   Forms — edit account, addresses, login, register
---------------------------------------- */

.woocommerce-MyAccount-content form {
    max-width: 680px;
}

.woocommerce-MyAccount-content .form-row,
#customer_login .form-row {
    margin: 0 0 16px !important;
}

.woocommerce-MyAccount-content label,
#customer_login label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #252525;
}

.woocommerce-MyAccount-content input.input-text,
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select,
#customer_login input.input-text {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #dcd6cd !important;
    border-radius: 14px !important;
    background: #fffdf9 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #252525 !important;
    outline: none;
    transition: border-color 0.2s ease;
}

.woocommerce-MyAccount-content textarea {
    min-height: 100px;
}

.woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus,
#customer_login input.input-text:focus {
    border-color: #252525 !important;
}

.woocommerce-form-row--first,
.woocommerce-form-row--last {
    display: inline-block;
    box-sizing: border-box;
    width: 48%;
    vertical-align: top;
}

.woocommerce-form-row--first {
    margin-right: 4%;
}

@media (max-width: 600px) {
    .woocommerce-form-row--first,
    .woocommerce-form-row--last {
        width: 100%;
        margin-right: 0;
    }
}

.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
}

/* Buttons — match the single_add_to_cart_button style exactly */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content input[type="submit"],
#customer_login .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 32px !important;
    background: #252525 !important;
    color: #fffdf9 !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover,
#customer_login .button:hover {
    background: #3a3a3a !important;
    transform: translateY(-1px);
}

.woocommerce-MyAccount-content .button.cancel {
    background: transparent !important;
    color: #252525 !important;
    border: 1px solid #dcd6cd !important;
}

.woocommerce-MyAccount-content .button.cancel:hover {
    background: #f2ece1 !important;
    transform: none;
}

/* ----------------------------------------
   Orders table — plain rows, no boxed table card
---------------------------------------- */

.woocommerce-orders-table {
    width: 100%;
    max-width: 820px;
    border-collapse: collapse;
    font-size: 14px;
}

.woocommerce-orders-table th {
    padding: 0 12px 12px 0;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8a8a8a;
    border-bottom: 1px solid #ebe4dc;
}

.woocommerce-orders-table td {
    padding: 18px 12px 18px 0;
    border-bottom: 1px solid #ebe4dc;
    color: #252525;
}

.woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
    color: #252525 !important;
    text-decoration: none !important;
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #f2ece1;
    font-size: 12px;
    font-weight: 600;
}

.order-status.status-completed,
.order-status.status-processing { background: #D8E8D5; }
.order-status.status-cancelled,
.order-status.status-failed { background: #F5D6C6; }
.order-status.status-pending,
.order-status.status-on-hold { background: #F3E6B3; }

.woocommerce-orders-table__cell-order-actions .button {
    height: 36px !important;
    padding: 0 18px !important;
    font-size: 12px !important;
    margin: 2px;
}

@media (max-width: 600px) {
    .woocommerce-orders-table thead { display: none; }

    .woocommerce-orders-table tr {
        display: block;
        margin-bottom: 14px;
        border-bottom: 1px solid #ebe4dc;
    }

    .woocommerce-orders-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px solid #f2ece1;
    }

    .woocommerce-orders-table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #8a8a8a;
    }

    .woocommerce-orders-table td:last-child { border-bottom: 0; }
}

.woocommerce-order-details,
.woocommerce-customer-details {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #ebe4dc;
    max-width: 820px;
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: 10px 8px;
    border-bottom: 1px solid #ebe4dc;
    text-align: left;
}

/* ----------------------------------------
   Addresses — flat list, not tight little cards.
   Single column with generous space between; only
   goes side-by-side once there's real room for it.
---------------------------------------- */

.woocommerce-Addresses {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 640px;
}

@media (min-width: 900px) {
    .woocommerce-Addresses {
        flex-direction: row;
        gap: 60px;
        max-width: none;
    }

    .woocommerce-Address {
        flex: 1 1 280px;
    }
}

@media (max-width: 760px) {
    .nook-account-wrap .woocommerce {
        display: flex !important;
        flex-direction: column;
        gap: 28px;
    }

    .woocommerce-MyAccount-content {
        padding: 28px 0 0;
        border-top: 1px solid #dfd1c6;
        border-left: 0;
    }
}

.woocommerce-Address {
    padding: 0;
    border: 0;
    background: transparent;
    border-top: 1px solid #ebe4dc;
    padding-top: 20px;
}

.woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 10px;
}

.woocommerce-Address-title h3 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.woocommerce-Address-title .edit {
    float: none !important;
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: #252525 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.woocommerce-Address address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4a;
}

/* ----------------------------------------
   Login / Register — real classnames are
   #customer_login.col2-set > .col-1 / .col-2
---------------------------------------- */

#customer_login.col2-set {
    display: grid;
    grid-template-columns: minmax(0, 680px);
    gap: 24px;
    max-width: 100%;
}

#customer_login .col-1,
#customer_login .col-2 {
    box-sizing: border-box;
    padding: 0 0 28px;
    border: 0;
    border-bottom: 1px solid #ebe4dc;
    background: transparent;
}

#customer_login h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
}

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
}

.woocommerce-LostPassword {
    display: block;
    margin-top: 14px;
    font-size: 13px;
}

.woocommerce-LostPassword a {
    color: #252525 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

@media (max-width: 700px) {
    #customer_login.col2-set {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    #customer_login .col-1,
    #customer_login .col-2,
    .woocommerce-MyAccount-content {
        padding-bottom: 20px;
    }
}
