/* =====================================================================
   COZY.PK — v2 design (header, home, cards, footer, shop, product)
   Matches the supplied mockups. Loaded after main.css.
   ===================================================================== */

:root {
    --cz-ink: #1F1E1B;
    --cz-text: #3B3934;
    --cz-muted: #75716A;
    --cz-line: #E7E1D7;
    --cz-cream: #F7F3ED;
    --cz-beige: #EFE7DC;
    --cz-olive: #26301F;
    --cz-olive-2: #3D4A38;
    --cz-brown: #7A5236;
    --cz-orange: #DE5B2B;
    --cz-orange-dark: #C44C20;
    --cz-red: #D8372A;
    --cz-star: #F2A93B;
    --cz-white: #FFFFFF;
    --cz-radius: 10px;
    --cz-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --cz-sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --cz-shadow: 0 10px 30px rgba(31, 30, 27, .08);
}

body {
    font-family: var(--cz-sans);
    color: var(--cz-text);
    background: var(--cz-white);
}

.cozy-container { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .cozy-container { padding: 0 16px; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100001; background: #fff; padding: 10px 14px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.cz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; white-space: nowrap; }
.cz-btn-dark { background: var(--cz-olive); color: #fff; }
.cz-btn-dark:hover { background: #1E261C; color: #fff; }
.cz-btn-light { background: #fff; color: var(--cz-ink); }
.cz-btn-light:hover { background: var(--cz-cream); color: var(--cz-ink); }
.cz-btn-outline { background: transparent; color: var(--cz-ink); border-color: var(--cz-ink); }
.cz-btn-outline:hover { background: var(--cz-ink); color: #fff; }
.cz-btn-orange { background: var(--cz-orange); color: #fff; border-radius: 6px; }
.cz-btn-orange:hover { background: var(--cz-orange-dark); color: #fff; }

/* ---------- Logo (identical everywhere) ---------- */
.brand-title { font-family: var(--cz-serif); font-weight: 800; font-size: 30px; letter-spacing: .5px; color: var(--cz-ink); line-height: 1; }
.brand-title .brand-pk { color: #B07D52; }
.brand-sub { display: block; font-family: var(--cz-sans); font-size: 9.5px; font-weight: 700; letter-spacing: 3px; color: var(--cz-ink); margin-top: 4px; }
.custom-logo-link, .cz-logo { display: inline-flex; flex-direction: column; text-decoration: none; }

/* ---------- Top bar ---------- */
.cz-topbar { background: var(--cz-olive); color: #fff; font-size: 13px; }
.cz-topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.cz-topbar-item { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; opacity: .95; }
a.cz-topbar-item:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 900px) {
    .cz-hide-sm { display: none; }
    .cz-topbar-inner { justify-content: center; }
}

/* ---------- Header ---------- */
.cz-header { background: #fff; border-bottom: 1px solid var(--cz-line); position: sticky; top: 0; z-index: 1000; }
.admin-bar .cz-header { top: 32px; }
.cz-header .cozy-container, .cz-topbar .cozy-container { max-width: 1480px; }
.cz-header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.cz-brand { flex-shrink: 0; }
.cz-nav { flex: 1; min-width: 0; }
.cz-nav-list { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.cz-nav-item { position: static; }
.cz-nav-item > a { display: block; padding: 27px 0 25px; font-size: 14px; font-weight: 500; color: var(--cz-ink); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.cz-nav-item > a:hover, .cz-nav-item.is-current > a { border-bottom-color: var(--cz-orange); }
.cz-nav-sale > a { color: var(--cz-red); font-weight: 700; }

.cz-search { width: 260px; flex: 0 1 260px; position: relative; max-width: none; margin: 0; }
.cz-search .search-form { position: relative; }
.cz-search .search-field { width: 100%; height: 44px; border: 0; border-radius: 999px; background: #F2EEE8; padding: 0 48px 0 20px; font-size: 13.5px; color: var(--cz-ink); outline: none; }
.cz-search .search-field:focus { box-shadow: 0 0 0 2px var(--cz-olive) inset; background: #fff; }
.cz-search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--cz-ink); padding: 8px; cursor: pointer; display: flex; }
.cz-search .live-search-dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1100; }

.cz-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.cz-actions .action-btn { position: relative; color: var(--cz-ink); display: flex; }
.cz-actions .action-count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cz-orange); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cz-burger { display: none; }

/* Mega menu */
.cz-mega { position: absolute; left: 0; right: 0; top: 100%; background: transparent; padding: 0 24px 24px; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 1001; }
.cz-nav-item:hover > .cz-mega, .cz-nav-item:focus-within > .cz-mega { visibility: visible; opacity: 1; transform: none; }
.cz-mega-inner { max-width: 1272px; margin: 0 auto; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 24px 50px rgba(31, 30, 27, .14); display: grid; grid-template-columns: 340px 1fr 300px; overflow: hidden; }
.cz-mega-hero { position: relative; min-height: 330px; background-size: cover; background-position: center; color: #fff; display: flex; align-items: flex-end; }
.cz-mega-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(25,20,15,.75) 100%); }
.cz-mega-hero-copy { position: relative; padding: 26px; }
.cz-mega-hero-copy .cz-eyebrow { color: #fff; opacity: .9; }
.cz-mega-hero-copy h3 { font-family: var(--cz-serif); font-size: 34px; line-height: 1.05; margin: 6px 0 10px; color: #fff; }
.cz-mega-hero-copy p { font-size: 14px; margin: 0 0 16px; color: #fff; opacity: .95; }
.cz-mega-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 28px 30px; }
.cz-mega-col h4 { font-family: var(--cz-sans); font-size: 15px; font-weight: 700; color: var(--cz-ink); margin: 0 0 14px; }
.cz-mega-col a { display: flex; align-items: center; gap: 6px; padding: 7px 0; font-size: 14px; color: var(--cz-text); text-decoration: none; }
.cz-mega-col a::after { content: "\2192"; font-size: 12px; opacity: .55; }
.cz-mega-col a:hover { color: var(--cz-orange); }
.cz-mega-col + .cz-mega-col { border-left: 1px solid var(--cz-line); padding-left: 30px; }
.cz-mega-featured { padding: 28px 26px 22px; border-left: 1px solid var(--cz-line); }
.cz-mega-featured h4 { font-size: 15px; font-weight: 700; margin: 0 0 14px; color: var(--cz-ink); }
.cz-mega-feat { display: grid; grid-template-columns: 92px 1fr; gap: 14px; text-decoration: none; margin-bottom: 14px; }
.cz-mega-feat img { width: 92px; height: 78px; object-fit: cover; border-radius: 6px; background: var(--cz-cream); }
.cz-mega-feat strong { display: block; font-size: 14px; color: var(--cz-ink); line-height: 1.3; }
.cz-mega-feat span { display: block; font-size: 12.5px; color: var(--cz-muted); margin: 3px 0 4px; }
.cz-mega-feat em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--cz-ink); }

@media (max-width: 1440px) {
    .cz-header-inner { gap: 20px; }
    .cz-search { width: 210px; flex-basis: 210px; }
    .cz-nav-list { gap: 15px; }
    .cz-nav-item > a { font-size: 13.5px; }
}
@media (max-width: 1300px) {
    .cz-search { width: 170px; flex-basis: 170px; }
    .cz-nav-list { gap: 12px; }
    .cz-nav-item > a { font-size: 13px; }
    .cz-actions { gap: 14px; }
}
@media (max-width: 1220px) {
    .cz-nav { display: none; }
    .cz-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; cursor: pointer; }
    .cz-burger span { width: 22px; height: 2px; background: var(--cz-ink); display: block; }
    .cz-search { flex: 1 1 auto; width: auto; }
    .cz-header-inner { gap: 16px; }
}
@media (max-width: 640px) {
    .cz-header-inner { flex-wrap: wrap; min-height: 64px; gap: 10px 14px; padding-top: 8px; padding-bottom: 10px; }
    .cz-search { order: 5; flex: 1 1 100%; }
    .cz-actions { margin-left: auto; gap: 14px; }
    .brand-title { font-size: 24px; }
    .brand-sub { font-size: 8px; letter-spacing: 2px; }
    .admin-bar .cz-header { top: 0; }
}

.cz-drawer-highlight { color: var(--cz-olive) !important; font-weight: 700; }
.cz-drawer-sale { color: var(--cz-red) !important; font-weight: 700; }

/* ---------- Section scaffolding ---------- */
.cz-section { padding: 44px 0; }
.cz-section-tight { padding-top: 8px; padding-bottom: 8px; }
.cz-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.cz-section-title { font-family: var(--cz-serif); font-size: 30px; font-weight: 700; color: var(--cz-ink); margin: 0 0 4px; line-height: 1.15; }
.cz-section-sub { margin: 0; color: var(--cz-muted); font-size: 14px; }
.cz-link-more { font-size: 14px; font-weight: 600; color: var(--cz-ink); text-decoration: none; }
.cz-link-more:hover { color: var(--cz-orange); }
.cz-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--cz-text); margin: 0; }

/* ---------- Hero slider ---------- */
.cz-hero { position: relative; height: clamp(440px, 46vw, 600px); overflow: hidden; background: var(--cz-cream); }
.cz-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center right; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.cz-hero-slide.is-active { opacity: 1; visibility: visible; }
.cz-hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 240, 231, .97) 0%, rgba(247, 240, 231, .9) 32%, rgba(247, 240, 231, .35) 55%, rgba(247, 240, 231, 0) 70%); }
.cz-hero-inner { position: relative; height: 100%; display: flex; align-items: center; }
.cz-hero-copy { max-width: 560px; }
.cz-hero-title { font-family: var(--cz-serif); font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; font-weight: 600; color: var(--cz-ink); margin: 14px 0 16px; }
.cz-hero-text { font-size: 16px; line-height: 1.6; color: var(--cz-text); margin: 0 0 26px; max-width: 460px; }
.cz-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.cz-hero-usps { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.cz-hero-usps li { display: flex; flex-direction: column; font-size: 12.5px; padding-left: 14px; border-left: 2px solid var(--cz-brown); }
.cz-hero-usps strong { color: var(--cz-ink); font-weight: 600; }
.cz-hero-usps span { color: var(--cz-muted); }
.cz-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 26px; line-height: 1; cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; }
.cz-hero-arrow.cz-prev { left: 18px; background: rgba(255, 255, 255, .75); color: var(--cz-ink); }
.cz-hero-arrow.cz-next { right: 18px; background: var(--cz-ink); color: #fff; }
.cz-hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.cz-dot { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .7); cursor: pointer; transition: width .2s; padding: 0; }
.cz-dot.is-active { width: 26px; background: #fff; }
@media (max-width: 768px) {
    .cz-hero { height: auto; min-height: 520px; }
    .cz-hero-slide { background-position: center; }
    .cz-hero-slide::before { background: linear-gradient(180deg, rgba(247, 240, 231, .2) 0%, rgba(247, 240, 231, .92) 45%, rgba(247, 240, 231, .98) 100%); }
    .cz-hero-inner { align-items: flex-end; padding-bottom: 54px; }
    .cz-hero-usps { gap: 14px; }
    .cz-hero-arrow { display: none; }
}

/* ---------- Category row ---------- */
.cz-cat-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cz-cat-card { background: #fff; border: 1px solid var(--cz-line); border-radius: 8px; overflow: hidden; text-decoration: none; text-align: center; padding-bottom: 12px; transition: box-shadow .2s, transform .2s; }
.cz-cat-card:hover { box-shadow: var(--cz-shadow); transform: translateY(-2px); }
.cz-cat-img { display: block; aspect-ratio: 4 / 3; background: var(--cz-cream); overflow: hidden; margin-bottom: 10px; }
.cz-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cz-cat-card strong { display: block; font-size: 14px; font-weight: 600; color: var(--cz-ink); }
.cz-cat-card span:last-child { display: block; font-size: 11.5px; color: var(--cz-muted); margin-top: 2px; padding: 0 6px; }
@media (max-width: 1100px) { .cz-cat-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .cz-cat-row { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Promo banners ---------- */
.cz-promo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.cz-promo { position: relative; display: grid; grid-template-columns: 45% 55%; min-height: 250px; border-radius: 6px; overflow: hidden; text-decoration: none; }
.cz-promo-dark { background: var(--cz-olive); color: #fff; }
.cz-promo-light { background: var(--cz-beige); color: var(--cz-ink); }
.cz-promo-copy { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; position: relative; z-index: 1; }
.cz-promo-copy h2 { font-family: var(--cz-serif); font-size: 32px; font-weight: 500; line-height: 1.08; margin: 0; }
.cz-promo-dark .cz-promo-copy h2, .cz-promo-dark .cz-promo-copy p, .cz-promo-dark .cz-eyebrow { color: #fff; }
.cz-promo-copy p { margin: 0 0 8px; font-size: 14px; }
.cz-promo-sub { font-family: var(--cz-serif); font-size: 20px !important; }
.cz-promo-img { background-size: cover; background-position: center; }
@media (max-width: 900px) {
    .cz-promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .cz-promo { grid-template-columns: 1fr; }
    .cz-promo-img { min-height: 190px; order: -1; }
}

/* ---------- Product card ---------- */
.cz-card { background: #fff; border: 1px solid var(--cz-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.cz-card:hover { box-shadow: var(--cz-shadow); }
.cz-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--cz-cream); }
.cz-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cz-card-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--cz-red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.cz-card-heart { position: absolute; top: 8px; right: 8px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--cz-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.cz-card-heart.active, .cz-card-heart.active svg { color: var(--cz-red); fill: var(--cz-red); }
.cz-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cz-card-title { font-family: var(--cz-sans); font-size: 14.5px; font-weight: 600; line-height: 1.35; margin: 0; }
.cz-card-title a { color: var(--cz-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cz-card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cz-card-price strong { font-size: 17px; color: var(--cz-ink); }
.cz-card-price del { font-size: 13px; color: var(--cz-muted); }
.cz-card-off { font-size: 12px; font-weight: 700; color: var(--cz-red); background: #FCE8E4; padding: 2px 7px; border-radius: 4px; }
.cz-card-stars { color: var(--cz-star); font-size: 14px; letter-spacing: 1px; }
.cz-card-stars span { color: var(--cz-muted); font-size: 12px; margin-left: 4px; letter-spacing: 0; }
.cz-card-swatches { display: flex; gap: 6px; align-items: center; }
.cz-card-swatches i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); display: block; }
.cz-card-swatches small { font-size: 11.5px; color: var(--cz-muted); }
.cz-card-cart { margin-top: auto; display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--cz-olive) !important; color: #fff !important; border: 0 !important; border-radius: 4px !important; padding: 11px 12px !important; font-size: 13.5px !important; font-weight: 600 !important; text-decoration: none; text-align: center; }
.cz-card-cart:hover { background: #1E261C !important; }
.cz-card-cart.loading { opacity: .7; }
.cz-card-cart.added::after { content: " \2713"; }
.cz-card .added_to_cart { display: block; text-align: center; font-size: 12.5px; color: var(--cz-olive); font-weight: 600; margin-top: 4px; }
.cz-card-orange .cz-card-cart, .cz-shop .cz-card-cart { background: var(--cz-orange) !important; border-radius: 6px !important; }
.cz-card-orange .cz-card-cart:hover, .cz-shop .cz-card-cart:hover { background: var(--cz-orange-dark) !important; }

/* ---------- Carousel + tabs ---------- */
.cz-tabs-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cz-tabs { display: flex; gap: 22px; }
.cz-tab { background: none; border: 0; padding: 6px 0; font-size: 14px; color: var(--cz-muted); cursor: pointer; border-bottom: 2px solid transparent; font-family: inherit; }
.cz-tab.is-active { color: var(--cz-ink); font-weight: 700; border-bottom-color: var(--cz-ink); }
.cz-arrows { display: flex; gap: 8px; }
.cz-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--cz-line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--cz-ink); display: flex; align-items: center; justify-content: center; }
.cz-arrow:hover { background: var(--cz-ink); color: #fff; }
.cz-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cz-carousel::-webkit-scrollbar { display: none; }
.cz-carousel > * { scroll-snap-align: start; }
.cz-hidden { display: none !important; }
@media (max-width: 1200px) { .cz-carousel { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 860px) { .cz-carousel { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; } }
@media (max-width: 560px) {
    .cz-carousel { grid-auto-columns: 72%; gap: 12px; }
    .cz-tabs { gap: 16px; overflow-x: auto; max-width: 100%; }
    .cz-tabs-wrap { width: 100%; justify-content: space-between; }
}

/* ---------- USP bar ---------- */
.cz-usp-bar { background: var(--cz-cream); border-top: 1px solid var(--cz-line); border-bottom: 1px solid var(--cz-line); }
.cz-usp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.cz-usp { display: flex; align-items: center; gap: 14px; color: var(--cz-ink); }
.cz-usp + .cz-usp { border-left: 1px solid var(--cz-line); padding-left: 16px; }
.cz-usp strong { display: block; font-size: 14px; font-weight: 600; }
.cz-usp span { display: block; font-size: 12.5px; color: var(--cz-muted); }
@media (max-width: 1000px) {
    .cz-usp-grid { grid-template-columns: repeat(2, 1fr); }
    .cz-usp + .cz-usp { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) { .cz-usp-grid { grid-template-columns: 1fr; } }

/* ---------- Split banners ---------- */
.cz-split-banners { display: grid; grid-template-columns: 1.6fr 1fr; min-height: 300px; }
.cz-split { position: relative; text-decoration: none; display: flex; min-height: 300px; background-size: cover; background-position: center; }
.cz-split-bedroom { background: #EADFD1; }
.cz-split-img { width: 55%; background-size: cover; background-position: center; }
.cz-split-copy { padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; max-width: 420px; }
.cz-split-copy h2 { font-family: var(--cz-serif); font-size: 34px; font-weight: 500; line-height: 1.1; color: var(--cz-ink); margin: 0; }
.cz-split-copy p { margin: 0 0 8px; font-size: 14.5px; color: var(--cz-text); }
.cz-split-custom .cz-split-copy h2, .cz-split-custom .cz-split-copy p { color: #fff; }
@media (max-width: 900px) {
    .cz-split-banners { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .cz-split-bedroom { flex-direction: column; }
    .cz-split-img { width: 100%; min-height: 200px; }
    .cz-split-copy { padding: 26px 20px; }
    .cz-split-copy h2 { font-size: 28px; }
}

/* ---------- Reviews / promises ---------- */
.cz-review-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cz-review { background: #fff; border: 1px solid var(--cz-line); border-radius: 8px; padding: 22px 24px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cz-review-stars { color: var(--cz-star); font-size: 17px; letter-spacing: 2px; }
.cz-review blockquote { margin: 0; font-size: 14.5px; color: var(--cz-text); line-height: 1.6; }
.cz-review figcaption strong { display: block; color: var(--cz-ink); font-size: 14px; }
.cz-review figcaption span { font-size: 12.5px; color: var(--cz-muted); }
.cz-promise strong { font-family: var(--cz-serif); font-size: 20px; color: var(--cz-ink); }
.cz-promise p { margin: 0; font-size: 14px; line-height: 1.6; }
.cz-promise a { font-size: 13.5px; font-weight: 600; color: var(--cz-brown); text-decoration: none; margin-top: auto; }
@media (max-width: 860px) { .cz-review-row { grid-template-columns: 1fr; } }

/* ---------- SEO about block ---------- */
.cz-about { background: var(--cz-cream); }
.cz-about-inner { max-width: 980px; }
.cz-about h2 { font-family: var(--cz-serif); font-size: 24px; color: var(--cz-ink); margin: 0 0 12px; }
.cz-about p { font-size: 14px; line-height: 1.75; color: var(--cz-text); margin: 0 0 10px; }
.cz-about a { color: var(--cz-brown); font-weight: 600; }

/* ---------- Newsletter band (above footer) ---------- */
.cz-community { padding: 36px 0 10px; }
.cz-community-card { position: relative; border-radius: 14px; overflow: hidden; background-size: cover; background-position: center right; min-height: 250px; display: flex; align-items: center; }
.cz-community-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 236, 224, .97) 0%, rgba(246, 236, 224, .9) 40%, rgba(246, 236, 224, .2) 70%, rgba(246, 236, 224, 0) 100%); }
.cz-community-copy { position: relative; padding: 36px 40px; max-width: 560px; }
.cz-community-copy h2 { font-family: var(--cz-serif); font-size: 38px; font-weight: 600; color: var(--cz-ink); margin: 0 0 10px; line-height: 1.1; }
.cz-community-copy p { font-size: 16px; color: var(--cz-text); margin: 0 0 20px; }
.cz-newsletter-form { display: flex; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); max-width: 480px; flex-wrap: wrap; }
.cz-newsletter-form input { flex: 1; border: 0; background: transparent; padding: 0 20px; font-size: 15px; min-height: 48px; outline: none; min-width: 0; }
.cz-newsletter-form button { background: var(--cz-orange); color: #fff; border: 0; border-radius: 999px; padding: 0 30px; font-weight: 700; font-size: 15px; cursor: pointer; min-height: 48px; }
.cz-newsletter-form button:hover { background: var(--cz-orange-dark); }
.cz-newsletter-msg { flex-basis: 100%; margin: 6px 16px 2px; font-size: 13px; color: var(--cz-olive); }
.cz-newsletter-msg:empty { display: none; }
@media (max-width: 640px) {
    .cz-community-card::before { background: rgba(246, 236, 224, .93); }
    .cz-community-copy { padding: 28px 20px; }
    .cz-community-copy h2 { font-size: 28px; }
    .cz-newsletter-form button { padding: 0 18px; }
}

/* ---------- Footer USP strip + footer ---------- */
.cz-footer-usps { border-bottom: 1px solid var(--cz-line); }
.cz-footer-usps .cz-usp-grid { padding-top: 30px; padding-bottom: 30px; }
.cz-footer { background: #FBF8F4; color: var(--cz-text); font-size: 14px; }
.cz-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 28px; padding-top: 40px; padding-bottom: 36px; }
.cz-footer-brand p { margin: 16px 0 20px; line-height: 1.65; max-width: 280px; color: var(--cz-text); }
.cz-footer h4 { font-family: var(--cz-sans); font-size: 15px; font-weight: 700; color: var(--cz-ink); margin: 0 0 14px; }
.cz-footer ul { list-style: none; margin: 0; padding: 0; }
.cz-footer li { margin-bottom: 8px; }
.cz-footer a { color: var(--cz-text); text-decoration: none; }
.cz-footer a:hover { color: var(--cz-orange); }
.cz-footer-contact { border-left: 1px solid var(--cz-line); padding-left: 28px; }
.cz-contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.cz-contact-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--cz-beige); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--cz-ink); }
.cz-contact-row span { display: block; line-height: 1.5; }
.cz-socials { display: flex; gap: 10px; }
.cz-socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--cz-beige); display: flex; align-items: center; justify-content: center; color: var(--cz-ink); }
.cz-footer-bottom { border-top: 1px solid var(--cz-line); }
.cz-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 12.5px; }
.cz-legal { display: flex; gap: 0; flex-wrap: wrap; }
.cz-legal a { padding: 0 12px; border-left: 1px solid var(--cz-line); }
.cz-legal a:first-child { border-left: 0; }
.cz-pay { display: flex; gap: 8px; align-items: center; }
.cz-pay span { border: 1px solid var(--cz-line); background: #fff; border-radius: 4px; padding: 5px 10px; font-weight: 700; font-size: 12px; color: var(--cz-ink); }
@media (max-width: 1100px) {
    .cz-footer-main { grid-template-columns: repeat(3, 1fr); }
    .cz-footer-brand { grid-column: 1 / -1; }
    .cz-footer-contact { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
    .cz-footer-main { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .cz-footer-contact { grid-column: 1 / -1; }
    .cz-legal a { padding: 0 8px; }
}

/* Hide old footer/newsletter blocks replaced by the v2 footer */
.site-footer:not(.cz-footer) { display: none; }

@media (max-width: 768px) {
    .cz-header .header-search.cz-search { display: block; }
}

/* Card variants: home shows the corner badge; shop/wishlist show the inline % OFF chip, swatches and flags */
.cz-card-off, .cz-card-swatches, .cz-card-flag { display: none; }
.cz-shop .cz-card-off, .cz-wish .cz-card-off { display: inline-block; }
.cz-shop .cz-card-swatches, .cz-wish .cz-card-swatches { display: flex; }
.cz-shop .cz-card-badge, .cz-wish .cz-card-badge { display: none; }
.cz-shop .cz-card-flag, .cz-wish .cz-card-flag { display: block; position: absolute; top: 10px; left: 10px; z-index: 1; background: rgba(40, 33, 24, .85); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 4px; }
.cz-card-stock { font-size: 12.5px; color: #1F8A43; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cz-card-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cz-card-stock.is-out { color: var(--cz-red); }
.cz-card-details { display: block; text-align: center; border: 1px solid var(--cz-line); border-radius: 6px; padding: 9px; font-size: 13px; font-weight: 600; color: var(--cz-ink); text-decoration: none; }
.cz-card-details:hover { border-color: var(--cz-ink); }
.cz-card-cart svg { flex-shrink: 0; }

/* Hero: hide the outgoing slide's text immediately so two headlines never overlap */
.cz-hero-slide .cz-hero-copy { transition: opacity .35s ease .25s, transform .35s ease .25s; }
.cz-hero-slide:not(.is-active) .cz-hero-copy { opacity: 0; transform: translateY(8px); transition: opacity .15s ease, transform .15s ease; }

/* Home: New Arrivals grid (2 rows) */
.cz-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .cz-grid-5 { grid-template-columns: repeat(4, 1fr); } .cz-grid-5 > :nth-child(n+9) { display: none; } }
@media (max-width: 860px) { .cz-grid-5 { grid-template-columns: repeat(3, 1fr); } .cz-grid-5 > :nth-child(n+7) { display: none; } }
@media (max-width: 560px) { .cz-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cz-grid-5 > :nth-child(n+7) { display: flex; } .cz-grid-5 > :nth-child(n+9) { display: none; } }

/* Product cards: identical image frame and aligned text on every card (overrides older theme rules) */
.cz-card { height: 100%; padding: 0 !important; margin: 0 !important; }
.cz-card-media { position: relative !important; aspect-ratio: 4 / 3 !important; width: 100% !important; overflow: hidden !important; padding: 0 !important; margin: 0 !important; background: var(--cz-cream); flex-shrink: 0; }
.cz-card-media > a { position: absolute; inset: 0; display: block; padding: 0 !important; margin: 0 !important; }
.cz-card-media img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; object-position: center !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; transform: none !important; }
.cz-card-title { min-height: 2.7em; }
.cz-card-title a { -webkit-line-clamp: 2; line-clamp: 2; }
.cz-card-price { min-height: 1.6em; }

/* Footer contact icons: keep the icon centred inside its circle */
.cz-contact-row > .cz-contact-icon { display: flex !important; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 42px; border-radius: 50%; line-height: 1; }
.cz-contact-row > .cz-contact-icon svg { display: block; margin: 0; }
.cz-contact-row > div { display: flex; flex-direction: column; justify-content: center; min-height: 42px; }
.cz-socials a svg, .cz-usp svg, .cz-info-row i svg, .cz-topic-row i svg, .cz-info-usps i svg { display: block; flex-shrink: 0; }

/* WooCommerce notices everywhere: replace the icon-font glyph (renders as a broken box) with a clean SVG icon */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.cart-empty {
    position: relative !important;
    display: flex !important; align-items: center; gap: 12px; flex-wrap: wrap;
    background: #fff !important; border: 1px solid var(--cz-line) !important; border-left: 4px solid var(--cz-olive) !important;
    border-radius: 8px !important; padding: 14px 18px !important; margin: 0 0 18px !important;
    font-family: var(--cz-sans) !important; font-size: 15px !important; color: var(--cz-ink) !important; list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, p.cart-empty::before {
    content: "" !important; font-family: inherit !important; position: static !important;
    width: 22px; height: 22px; min-width: 22px; flex-shrink: 0; display: block !important; margin: 0 !important;
    background: no-repeat center / 22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F3A2C' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}
.woocommerce-message::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A3E' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='8 12.5 11 15.5 16 9.5'/%3E%3C/svg%3E"); }
.woocommerce-message { border-left-color: #1F7A3E !important; }
.woocommerce-error { border-left-color: var(--cz-red) !important; }
.woocommerce-error::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8372A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E"); }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto !important; order: 3; }
p.cart-empty { font-family: var(--cz-serif) !important; font-size: 20px !important; }

/* "Return to shop" and other orange WooCommerce buttons: always white text */
.return-to-shop .button, .return-to-shop a.button, .cz-wc .return-to-shop .button {
    background: var(--cz-orange) !important; color: #fff !important; border-radius: 999px !important;
    padding: 14px 28px !important; font-weight: 700 !important; text-decoration: none !important; display: inline-block;
}
.return-to-shop .button:hover { background: var(--cz-orange-dark) !important; color: #fff !important; }

/* Review stars without the WooCommerce icon font (otherwise they show as "SSSSS") */
.star-rating { position: relative; display: inline-block; overflow: hidden; width: 5.6em; height: 1.2em; line-height: 1.2; font-size: 15px; font-family: Arial, sans-serif !important; letter-spacing: .12em; vertical-align: middle; }
.star-rating::before { content: "\2605\2605\2605\2605\2605" !important; font-family: Arial, sans-serif !important; color: #DDD6CA; position: absolute; top: 0; left: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; height: 1.2em; }
.star-rating span::before { content: "\2605\2605\2605\2605\2605" !important; font-family: Arial, sans-serif !important; color: var(--cz-star); position: absolute; top: 0; left: 0; }
p.stars { margin: 6px 0 14px; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a { position: relative; display: inline-block; width: 1.3em; height: 1.3em; overflow: hidden; text-indent: -999em; font-size: 22px; text-decoration: none; }
p.stars a::before { content: "\2606" !important; font-family: Arial, sans-serif !important; position: absolute; top: 0; left: 0; text-indent: 0; line-height: 1.3em; color: var(--cz-star); }
p.stars:hover a::before, p.stars.selected a::before { content: "\2605" !important; }
p.stars:hover a:hover ~ a::before, p.stars.selected a.active ~ a::before { content: "\2606" !important; }
p.stars.selected a.active::before { content: "\2605" !important; }

/* Cart "remove item" and other WooCommerce glyph buttons */
a.remove { font-family: Arial, sans-serif !important; font-size: 22px !important; line-height: 1 !important; text-decoration: none !important; }
