/* Nexar Web Services — ChoColours shop and archive layouts. */
body.nidd-catalog-page #primary { width: 100%; margin: 0; padding: 0; border: 0; }
body.nidd-catalog-page #secondary { display: none; }
body.nidd-catalog-page #content > .ast-container { max-width: 1280px; display: block; padding-left: 24px; padding-right: 24px; }
.nidd-catalog { --nidd-ink: #2d2628; --nidd-muted: #655d60; --nidd-blush: #f6edf0; --nidd-line: #e8dce0; width: 100%; max-width: 1200px; margin: 0 auto; padding: 32px 0 72px; color: var(--nidd-ink); }
.nidd-catalog a { color: inherit; }
.nidd-catalog a:focus-visible { outline: 2px solid #805466; outline-offset: 5px; }
.nidd-catalog .nidd-breadcrumb { margin: 0 0 24px; font-size: 13px; color: var(--nidd-muted); }
.nidd-catalog-hero { padding: 32px 36px; margin-bottom: 28px; background: var(--nidd-blush); border-radius: 6px; }
.nidd-catalog .nidd-eyebrow { margin: 0 0 12px; font-size: 11px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; }
.nidd-catalog h1 { margin: 0 0 14px; color: var(--nidd-ink); font-family: Marcellus, Georgia, serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; font-weight: 400; }
.nidd-catalog-intro { max-width: 850px; font-size: 15px; line-height: 1.85; color: var(--nidd-muted); }
.nidd-catalog-intro > :last-child { margin-bottom: 0; }
.nidd-category-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.nidd-category-nav .nidd-category-pill { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 17px; border: 1px solid var(--nidd-line); border-radius: 99px; background: #fff; font-size: 13px; text-decoration: none; line-height: 1.4; }
.nidd-category-nav .nidd-category-pill:hover, .nidd-category-nav .nidd-category-pill[aria-current="page"] { background: var(--nidd-blush); border-color: #d4a6b6; }
.nidd-category-section { margin-bottom: 56px; scroll-margin-top: 140px; }
.nidd-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 17px; margin-bottom: 24px; border-bottom: 1px solid var(--nidd-line); }
.nidd-catalog .nidd-section-heading h2 { margin: 0; font-family: Marcellus, Georgia, serif; font-size: clamp(25px, 3vw, 34px); font-weight: 400; line-height: 1.25; }
.nidd-section-heading h2 a { text-decoration: none; }
.nidd-section-heading h2 a:hover { color: #805466; }
.nidd-catalog .nidd-view-all { flex-shrink: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.nidd-catalog ul.nidd-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 26px; list-style: none; margin: 0; padding: 0; }
.nidd-catalog ul.nidd-product-grid::before, .nidd-catalog ul.nidd-product-grid::after { display: none; }
.nidd-catalog li.nidd-product-card { list-style: none; float: none; width: auto; min-width: 0; margin: 0; padding: 0; display: flex; flex-direction: column; background: #fff; }
.nidd-product-image { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: #f7f5f4; border-radius: 4px; }
.nidd-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; transition: transform .25s ease; }
@media (prefers-reduced-motion: no-preference) { .nidd-product-image:hover img { transform: scale(1.035); } }
.nidd-product-badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 3px; background: #fff; color: var(--nidd-ink); font-size: 11px; font-weight: 600; }
.nidd-product-details { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 19px 2px 0; }
.nidd-catalog .nidd-product-details h3 { font-family: Marcellus, Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.4; margin: 0 0 10px; }
.nidd-product-details h3 a { text-decoration: none; }
.nidd-product-details h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nidd-product-price { font-size: 15px; line-height: 1.6; color: var(--nidd-ink); margin-bottom: 12px; }
.nidd-product-price ins { background: transparent; text-decoration: none; }
.nidd-product-price del { color: var(--nidd-muted); }
.nidd-catalog .nidd-delivery-window { margin: 0 0 15px; padding: 7px 10px; border-radius: 3px; background: var(--nidd-blush); color: #664653; font-size: 12px; line-height: 1.5; }
.nidd-catalog .nidd-product-cta { display: inline-flex; align-items: center; min-height: 42px; margin-top: auto; padding: 9px 16px; border: 1px solid var(--nidd-line); border-radius: 3px; text-decoration: none; font-size: 13px; line-height: 1.4; background: #fff; }
.nidd-product-cta:hover { background: var(--nidd-blush); border-color: #d4a6b6; }
.nidd-catalog .nidd-delivery-note { margin: 28px 0 0; font-size: 13px; line-height: 1.7; color: var(--nidd-muted); }
.nidd-catalog-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.nidd-catalog-toolbar .woocommerce-notices-wrapper { width: 100%; }
.nidd-catalog-toolbar .woocommerce-notices-wrapper:empty { display: none; }
.nidd-catalog-toolbar .woocommerce-result-count, .nidd-catalog-toolbar .woocommerce-ordering { float: none; margin: 0; font-size: 14px; }
.nidd-catalog-toolbar select { min-height: 42px; max-width: 100%; border: 1px solid var(--nidd-line); border-radius: 3px; background: #fff; color: var(--nidd-ink); }
.nidd-catalog .woocommerce-pagination { margin-top: 42px; }
@media (max-width: 850px) { .nidd-catalog ul.nidd-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .nidd-catalog-hero { padding: 26px; } }
@media (max-width: 540px) { body.nidd-catalog-page #content > .ast-container { padding-left: 18px; padding-right: 18px; } .nidd-catalog { padding-top: 22px; } .nidd-catalog-hero { padding: 24px 20px; } .nidd-catalog-intro { font-size: 14px; } .nidd-category-nav { gap: 8px; margin-bottom: 34px; } .nidd-category-nav .nidd-category-pill { font-size: 12px; padding: 8px 12px; } .nidd-catalog ul.nidd-product-grid { grid-template-columns: 1fr; } .nidd-category-section { margin-bottom: 40px; } .nidd-section-heading { gap: 12px; } .nidd-catalog .nidd-view-all { font-size: 12px; } }

/* Share content rows across neighbouring cards without truncating product names. */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 541px) {
        .nidd-catalog ul.nidd-product-grid { row-gap: 0; }
        .nidd-catalog li.nidd-product-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; margin-bottom: 36px; }
        .nidd-product-image { grid-row: 1; }
        .nidd-product-details { display: grid; grid-template-rows: subgrid; grid-row: 2 / span 4; row-gap: 0; justify-items: start; align-items: start; }
        .nidd-product-details h3 { grid-row: 1; }
        .nidd-product-price { grid-row: 2; }
        .nidd-product-details .nidd-delivery-window { grid-row: 3; }
        .nidd-catalog .nidd-product-cta { grid-row: 4; margin-top: 0; align-self: start; }
    }
}
