/* =====================================================
   blocks.css — Block-specific styles
   DizzyBazaar
   ===================================================== */

/* --- Site Nav --- */
.site-nav {
    display: flex;
    gap: .25rem;
    align-items: center;
    flex: 1;
    padding-left: 2rem;
}

.site-nav__link {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: .35rem .65rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.site-nav__link:hover {
    color: var(--accent);
    background: var(--bg-muted, #f5f5f5);
}

/* --- Site Header --- */
.site-header {
    background-color: rgba(253, 247, 249, 0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 22px rgba(70, 35, 53, 0.08);
    backdrop-filter: blur(14px);
}

.site-ticker {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: .35rem 1rem;
    color: #fff;
    background: rgba(204, 61, 130, .88);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-ticker span {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}

.site-ticker span + span::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 82px;
    max-width: 1320px;
    margin: 0 auto;
}

.site-logo {
    display: block;
    width: 210px;
    flex: 0 0 210px;
    text-decoration: none;
    line-height: 0;
}

.site-logo svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.site-logo text {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
}

.site-logo__dizzy { fill: var(--text-primary); }
.site-logo__bazaar,
.site-logo__paw { fill: var(--accent); }

.site-logo:hover .site-logo__bazaar,
.site-logo:hover .site-logo__paw {
    fill: var(--accent-hover);
}

.site-logo__img {
    display: block;
    max-height: 48px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-logo__text {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Nav search ──────────────────────────────────────────────────────────── */
.nav-search {
    position: relative;
    flex: 0 1 240px;
}

.nav-search__bar {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search__icon {
    color: var(--text-muted);
    pointer-events: none;
    flex-shrink: 0;
    margin-right: .4rem;
}

.nav-search__input {
    width: 100%;
    padding: .68rem .9rem;
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-family: var(--font-body);
    font-size: .85rem;
    background: var(--bg-primary, #fff);
    color: var(--text-primary);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}

.nav-search__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(208,0,107,.1);
}

/* Dropdown */
.nav-search__dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    right: 0;
    min-width: 340px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 200;
    overflow: hidden;
}

.nav-search__result {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .85rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background .1s;
    border-bottom: 1px solid var(--border);
}

.nav-search__result:last-child { border-bottom: none; }

.nav-search__result:hover,
.nav-search__result.is-active {
    background: var(--bg-primary, #f5f5f5);
}

.nav-search__thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    display: block;
}

.nav-search__thumb--empty {
    background: var(--border);
    border-radius: 6px;
}

.nav-search__result-body {
    flex: 1;
    min-width: 0;
}

.nav-search__result-title {
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-search__result-price {
    font-size: .78rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: .1rem;
}

.nav-search__none {
    padding: 1rem;
    font-size: .85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Burger button ───────────────────────────────────────────────────────── */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: background .15s;
}

.burger-btn:hover {
    background: var(--bg-muted, rgba(204,61,130,.08));
}

.burger-btn__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, width .25s ease;
    transform-origin: center;
}

.burger-btn.is-open .burger-btn__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.is-open .burger-btn__bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.burger-btn.is-open .burger-btn__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav overlay ──────────────────────────────────────────────────── */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.mobile-nav-open {
    overflow: hidden;
}

/* ── Mobile nav panel ────────────────────────────────────────────────────── */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(310px, 85vw);
    background: var(--bg-primary, #fff);
    z-index: 400;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 32px rgba(0,0,0,.18);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.1rem .9rem 1.4rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: rgba(204,61,130,.06);
}

.mobile-nav__brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: background .15s, color .15s;
}

.mobile-nav__close:hover {
    background: var(--bg-muted, #f5f5f5);
    color: var(--text-primary);
}

.mobile-nav__search {
    padding: .9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.mobile-nav__search-input {
    width: 100%;
    padding: .65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-family: var(--font-body);
    font-size: .9rem;
    background: var(--bg-secondary, #f9f9f9);
    color: var(--text-primary);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.mobile-nav__search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(208,0,107,.1);
}

.mobile-nav__links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: .35rem 0;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    padding: .95rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background .15s, color .15s, padding-left .15s;
}

.mobile-nav__link:last-child {
    border-bottom: none;
}

.mobile-nav__link:hover,
.mobile-nav__link:active {
    background: rgba(204,61,130,.06);
    color: var(--accent);
    padding-left: 1.85rem;
}

.header-cart-btn {
    position: relative;
    background: none;
    border: 1px solid var(--border);
    border-radius: 2rem;
    color: var(--text-primary);
    min-height: 42px;
    padding: 0.5em 1.05em;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    transition: border-color var(--transition), color var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.header-cart-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    line-height: 1;
}

.cart-count[data-count="0"] {
    display: none;
}

/* --- Site Footer --- */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.site-footer a {
    color: var(--text-muted);
}

.site-footer a:hover {
    color: var(--accent);
}

/* --- Hero block --- */
.hero {
    padding: 7rem 1.5rem 6rem;
    background:
        linear-gradient(to top, rgba(204,61,130,0.18) 0%, rgba(0,0,0,0.30) 52%, rgba(0,0,0,0.56) 100%),
        url('../images/hero-bg-warm.jpg') center / cover no-repeat;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before { display: none; }
.hero::after  { display: none; }

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.8);
    margin: 0 auto 2.5rem;
    max-width: 520px;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Pink / accent hero variant (no background image) */
.hero--pink {
    background: linear-gradient(135deg, var(--accent) 0%, #c0006b 100%);
}

.hero--pink .hero h1 em,
.hero--pink h1 em {
    color: rgba(255,255,255,0.55);
}

/* Breadcrumb bar below hero */
.page-breadcrumb {
    background: var(--bg-secondary, #fff);
    border-bottom: 1px solid var(--border, #e5e5e5);
    padding: 0.75rem 1.5rem;
}

.page-breadcrumb__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.page-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.page-breadcrumb a:hover { color: var(--accent); }

.page-breadcrumb__sep { color: var(--text-secondary); opacity: 0.4; }

.page-breadcrumb span:last-child { color: var(--text-primary); font-weight: 600; }

/* "See all" CTA below product grid on homepage */
.product-grid-see-all {
    text-align: center;
    padding: 2.5rem 0 0.5rem;
}

/* --- Section header block --- */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Centered variant — used for homepage section breaks */
.section-header--center {
    justify-content: center;
    margin-bottom: 2rem;
}

/* Re-enable flanking lines for centered variant */
.section-header--center::before {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-header--center::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-header--center h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: normal;
    text-align: center;
    flex-shrink: 0;
    padding: 0 0.75rem;
}

.section-header--center h2::before,
.section-header--center h2::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url('../images/brand-paw.svg') center / contain no-repeat;
    flex-shrink: 0;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

/* --- Product card --- */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    color: inherit;
}

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

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.04);
}

.product-card__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.22em 0.6em;
    border-radius: 3px;
    z-index: 1;
    line-height: 1.4;
}

.product-card__body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.product-card__price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent);
}

.product-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* --- Product grid block --- */
.product-grid {
    padding: 2.5rem 1.5rem;
}

.product-grid-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

/* --- Product row (horizontal scroll strip) --- */
.product-row {
    padding: 2.5rem 0;
    overflow: hidden;
}

.product-row-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.product-row-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.product-row-scroll::-webkit-scrollbar {
    height: 4px;
}

.product-row-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.product-row-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.product-row-scroll .product-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

/* --- Feature strip block (3 columns, card style) --- */
.feature-strip {
    padding: 3rem 1.5rem;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-strip-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.feature-card__icon {
    width: 90px;
    height: 90px;
    background: var(--accent-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    overflow: hidden;
}

.feature-card__icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Brand statement cards ("Why DizzyBazaar") --- */
.trust-section {
    padding: 3.5rem 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.brand-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.brand-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.brand-card--1 { background: linear-gradient(145deg, #cc3d82 0%, #7a1f4a 100%); }
.brand-card--2 { background: linear-gradient(145deg, #1a1a2e 0%, #2d2d44 100%); }
.brand-card--3 { background: linear-gradient(145deg, #f97316 0%, #cc3d82 100%); }

.brand-card__body {
    padding: 1.75rem 1.5rem;
    width: 100%;
}

.brand-card__pre {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.6rem;
}

.brand-card__body h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.brand-card__body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* --- Cart drawer --- */
.cart-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 300;
    opacity: 0;
    transition: opacity var(--transition);
}

.cart-drawer-overlay.open {
    display: block;
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: min(420px, 100vw);
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 301;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-drawer-header h2 {
    font-size: 1.3rem;
}

.cart-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color var(--transition);
}

.cart-close-btn:hover {
    color: var(--text-primary);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
    background-color: var(--bg-card);
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item__price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    font-size: 1.05rem;
}

.cart-item__remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
    padding: 0;
    transition: color var(--transition);
}

.cart-item__remove:hover {
    color: var(--danger);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.cart-subtotal .amount {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent);
}

.cart-drawer-footer .btn {
    width: 100%;
}

/* --- Shipping confirm block (checkout) --- */
.shipping-policy-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.shipping-policy-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shipping-policy-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-line;
    margin-bottom: 1rem;
}

/* --- Product detail page --- */
.product-detail {
    padding: 2rem 1.5rem 4rem;
}

.product-detail-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.product-gallery__main {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.product-gallery__thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.product-gallery__thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color var(--transition);
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
    border-color: var(--accent);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info__back {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    transition: color var(--transition);
}

.product-info__back:hover {
    color: var(--accent);
}

.product-info__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-info__price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.product-info__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.product-info__stock {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.product-info__stock--out {
    color: var(--danger);
}

.product-info__desc {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    margin-bottom: 1.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.product-info__actions .btn {
    width: 100%;
    padding: 0.9em;
    font-size: 1.05rem;
}

/* --- Homepage: no listings message --- */
.no-listings {
    color: var(--text-muted);
    padding: 2rem 0;
}

/* --- Checkout page --- */
.checkout-page {
    padding: 2rem 1.5rem 4rem;
}

.checkout-page-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-page h1 {
    margin-bottom: 2rem;
}

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

.checkout-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.checkout-summary__header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

.checkout-summary__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.checkout-summary__item:last-child {
    border-bottom: none;
}

.checkout-summary__thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
    background: var(--bg-primary);
}

.checkout-summary__title {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.checkout-summary__qty {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.checkout-summary__line {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.checkout-summary__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
}

.checkout-summary__total {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent);
}

.checkout-form h2 {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

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

.checkout-submit {
    margin-top: 1.5rem;
}

.checkout-submit .btn {
    width: 100%;
    padding: 0.9em;
    font-size: 1.05rem;
}

/* --- Shipping policy box (reused on checkout) --- */
.shipping-policy-box {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 0;
}

.shipping-policy-box h3 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.shipping-policy-box p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- cart-item__thumb empty state --- */
.cart-item__thumb--empty {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background: var(--bg-primary);
    border-radius: var(--radius);
}

.cart-item__qty {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Order complete page --- */
.order-complete {
    padding: 3rem 1.5rem 5rem;
    text-align: center;
}

.order-complete-inner {
    max-width: 620px;
    margin: 0 auto;
}

.order-complete__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #15803d;
}

.order-complete h1 {
    margin-bottom: 0.5rem;
}

.order-complete__ref {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.order-complete__ref strong {
    color: var(--text-primary);
}

.order-complete__summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
    margin-bottom: 1.5rem;
}

.order-complete__summary-header {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.order-complete__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    gap: 1rem;
}

.order-complete__item:last-child {
    border-bottom: none;
}

.order-complete__item-title {
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

.order-complete__item-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.order-complete__item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.order-complete__total {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.order-complete__total .amount {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent);
}

.order-complete__address {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.order-complete__address h3 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .feature-strip-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .brand-cards-grid {
        grid-template-columns: 1fr;
    }

    .brand-card {
        min-height: 220px;
    }

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

    .product-detail-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .checkout-summary {
        position: static;
    }

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

@media (max-width: 600px) {
    .product-grid-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .site-header-inner {
        padding: 0 1rem;
    }
}

/* =====================================================
   Site Footer — policy links
   ===================================================== */

.site-footer-inner {
    text-align: center;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.footer-policy-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-policy-links a:hover {
    color: var(--accent);
}

/* =====================================================
   Policy page
   ===================================================== */

.policy-page {
    padding: 4rem 1.5rem;
    min-height: 60vh;
}

.policy-page-inner {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}

.policy-nav {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.policy-nav__link {
    display: block;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition);
}

.policy-nav__link:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.policy-nav__link--active {
    background-color: var(--accent-muted);
    color: var(--accent);
    font-weight: 600;
}

.policy-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.policy-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-line;
}

.policy-empty {
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 640px) {
    .policy-page-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .policy-nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* =====================================================
   Checkout — shipping line item
   ===================================================== */

.checkout-summary__footer--subtotal,
.checkout-summary__footer--shipping {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-bottom: 0.35rem;
}

.checkout-summary__footer--total {
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
}

.shipping-free {
    color: #16a34a;
    font-weight: 600;
}

.link-muted {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
}

/* --- Categories page --- */
.cat-page-hero {
    background: var(--accent);
    color: #fff;
    padding: 3rem 1.5rem;
    text-align: center;
}

.cat-page-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}

.cat-page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: .5rem;
    color: #fff;
}

.cat-page-hero p {
    font-size: 1.1rem;
    opacity: .88;
}

.cat-grid-section {
    padding: 3rem 0 4rem;
}

.cat-grid-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.cat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: calc(var(--radius) * 1.5);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: transform .18s, box-shadow .18s;
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.cat-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-muted, #f5f5f5);
}

.cat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.cat-card:hover .cat-card__image img {
    transform: scale(1.04);
}

.cat-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.cat-card__body {
    padding: 1rem 1.1rem 1.1rem;
}

.cat-card__name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 .2rem;
    color: var(--text-primary);
}

.cat-card__count {
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0;
}

/* Category product listing header */
/* Category page — hero variant */
.cat-hero {
    padding: 4rem 1.5rem 3.5rem;
}
.cat-hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    margin-bottom: 0.75rem;
}
.cat-hero .hero-desc {
    margin-bottom: 0;
}

.cat-header {
    background: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 3rem 1.5rem;
}

.cat-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 100%);
}

.cat-header:not([style*="background-image"])::before {
    display: none;
}

.cat-header__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.cat-header[style*="background-image"] .cat-header__inner {
    color: #fff;
}

.cat-header__breadcrumb {
    font-size: .82rem;
    margin-bottom: .5rem;
    opacity: .8;
}

.cat-header__breadcrumb a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cat-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin: 0 0 .35rem;
}

.cat-header__count {
    font-size: .9rem;
    opacity: .75;
    margin: 0;
}

@media (max-width: 640px) {
    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    .cat-card__name { font-size: 1.1rem; }
}

.link-muted:hover {
    color: var(--accent);
}

/* ============================================================
   Shop All — filter sidebar + product grid
   ============================================================ */

.shop-page {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    align-items: start;
}

/* ── Sidebar ── */
.shop-filters {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.5);
    padding: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.shop-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.shop-filters__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.shop-filters__clear {
    background: none;
    border: none;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-body);
}

.shop-filters__clear:hover { text-decoration: underline; }

.filter-group {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group__label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin: 0 0 .65rem;
}

.filter-group__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.filter-chip {
    background: var(--bg-primary, #fff);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 600;
    font-family: var(--font-body);
    padding: .3rem .75rem;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    line-height: 1.3;
}

.filter-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-chip--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.filter-chip--active:hover {
    background: var(--accent);
    color: #fff;
    opacity: .85;
}

.filter-chip--hidden {
    display: none;
}

.filter-show-more {
    background: none;
    border: none;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    padding: .2rem .1rem;
    margin-top: .1rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.filter-show-more:hover { opacity: .75; }

/* Search filter text input */
.filter-search__input {
    width: 100%;
    box-sizing: border-box;
    padding: .45rem .5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .85rem;
    font-family: var(--font-body);
    background: var(--bg-primary, #fff);
    color: var(--text-primary);
    transition: border-color .15s;
}

.filter-search__input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Price range */
.filter-price {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.filter-price__field {
    position: relative;
    flex: 1;
}

.filter-price__sym {
    position: absolute;
    left: .6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .78rem;
    color: var(--text-muted);
    pointer-events: none;
}

.filter-price__field input {
    width: 100%;
    padding: .45rem .5rem .45rem 1.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .82rem;
    font-family: var(--font-body);
    background: var(--bg-primary, #fff);
    color: var(--text-primary);
    transition: border-color .15s;
}

.filter-price__field input:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-price__sep {
    color: var(--text-muted);
    font-size: .8rem;
    flex-shrink: 0;
}

/* ── Toolbar ── */
.shop-results { min-width: 0; }

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: .75rem;
    flex-wrap: wrap;
}

.shop-count {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

.shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.shop-sort {
    padding: .4rem .75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .875rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-secondary);
    cursor: pointer;
}

.shop-filter-toggle { display: none; }

.shop-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 2px;
}

/* ── Active filter tags ── */
.shop-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
    min-height: 0;
}

.shop-active-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: .25rem .7rem;
    font-size: .78rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.shop-active-tag:hover {
    border-color: var(--danger, #e74c3c);
    color: var(--danger, #e74c3c);
}

/* ── Grid ── */
.shop-grid {
    transition: opacity .2s;
}

.shop-grid--loading {
    opacity: .45;
    pointer-events: none;
}

.shop-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

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

/* ── Mobile: sidebar becomes off-canvas panel ── */
@media (max-width: 860px) {
    .shop-page {
        grid-template-columns: 1fr;
        padding-top: 1.25rem;
    }

    .shop-filter-toggle { display: inline-flex; }

    .shop-filters {
        display: none;
        position: static;
        border-radius: var(--radius);
    }

    .shop-filters--open { display: block; }
}

/* ── Image lightbox ───────────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    cursor: pointer;
}

.lightbox__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 1;
    padding: 3rem 1rem 2.5rem;
    max-width: 98vw;
}

.lightbox__img {
    max-width: min(860px, 78vw);
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    user-select: none;
}

.lightbox__nav {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav--hidden { visibility: hidden; pointer-events: none; }

.lightbox__close {
    position: absolute;
    top: .25rem;
    right: .25rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .75);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: .2rem .5rem;
    transition: color .15s;
    z-index: 2;
}
.lightbox__close:hover { color: #fff; }

.lightbox__counter {
    position: absolute;
    bottom: .4rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
    white-space: nowrap;
    pointer-events: none;
}

/* ── FAQ accordion (homepage) ──────────────────────────────────────────────── */
.faq-section {
    padding: 4rem 1.5rem;
    background: var(--bg-secondary, #fff);
    border-top: 1px solid var(--border);
}

.faq-inner {
    max-width: 760px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-muted, #f9f9f9); }
.faq-question[aria-expanded="true"] { color: var(--accent); }

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: .6;
    transition: transform .25s ease;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
}
.faq-icon::before { width: 8px; height: 2px; }
.faq-icon::after  { width: 2px; height: 8px; transition: transform .25s ease; }

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: scaleY(0);
}

.faq-answer {
    overflow: hidden;
}
.faq-answer[hidden] { display: none; }
.faq-answer:not([hidden]) { display: block; }

.faq-answer-inner {
    padding: .25rem 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: .95rem;
}

/* ── FAQ standalone page ──────────────────────────────────────────────────── */
.faq-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.faq-page__empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 0;
}

/* ── Cart page ──────────────────────────────────────────────────────────────── */
.cart-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.cart-page__empty {
    text-align: center;
    padding: 4rem 0;
}

.cart-page__empty p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cart-page__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.cart-page-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-page-item:first-child { border-top: 1px solid var(--border); }

.cart-page-item__thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.cart-page-item__thumb--empty {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cart-page-item__info {
    flex: 1;
    min-width: 0;
}

.cart-page-item__title {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: .25rem;
}

.cart-page-item__title:hover { color: var(--accent); }

.cart-page-item__qty {
    font-size: .85rem;
    color: var(--text-muted);
}

.cart-page-item__right {
    text-align: right;
    flex-shrink: 0;
}

.cart-page-item__price {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.cart-page-item__remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: .8rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-family: var(--font-body);
}

.cart-page-item__remove:hover { color: var(--danger, #c0392b); }

/* Summary sidebar */
.cart-page__summary-inner {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

.cart-page__summary-inner h2 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.cart-page__totals { margin-bottom: 1.25rem; }

.cart-page__total-row {
    display: flex;
    justify-content: space-between;
    padding: .5rem 0;
    font-size: .95rem;
    border-bottom: 1px solid var(--border);
}

.cart-page__total-row--note {
    font-size: .8rem;
    color: var(--text-muted);
    border-bottom: none;
    justify-content: flex-start;
    padding-top: .35rem;
}

.cart-page__checkout-btn { width: 100%; text-align: center; margin-bottom: .75rem; }

.cart-page__continue {
    display: block;
    text-align: center;
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: none;
}

.cart-page__continue:hover { color: var(--accent); }

@media (max-width: 680px) {
    .cart-page__layout { grid-template-columns: 1fr; }
}

/* ── Cart drawer — view full basket link ────────────────────────────────────── */
.cart-drawer-view-basket {
    display: block;
    text-align: center;
    margin-top: .6rem;
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: none;
}

.cart-drawer-view-basket:hover { color: var(--accent); }

/* ── Checkout — T&C ─────────────────────────────────────────────────────────── */
.checkout-terms {
    margin: 1.25rem 0;
}

.checkout-terms__label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkout-terms__label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkout-terms__link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.checkout-terms__link:hover { opacity: .8; }

/* T&C Modal */
.terms-modal[hidden], .terms-modal-backdrop[hidden] { display: none !important; }

.terms-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 500;
}

.terms-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 501;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(0,0,0,.25);
    width: min(660px, calc(100vw - 2rem));
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.terms-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.terms-modal__header h2 { font-size: 1.1rem; margin: 0; }

.terms-modal__close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 .25rem;
}

.terms-modal__close:hover { color: var(--text-primary); }

.terms-modal__body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    font-size: .9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.terms-modal__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    text-align: right;
}

/* ── FAQ link ───────────────────────────────────────────────────────────────── */
.faq-link {
    margin-top: .75rem;
}

.faq-link a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.faq-link a:hover { opacity: .8; }

/* ── Checkout discount summary rows ─────────────────────────────────────────── */
.checkout-summary__footer--discount[hidden] { display: none !important; }

.checkout-summary__footer--discount {
    display: flex;
    justify-content: space-between;
    padding: .5rem 1.25rem;
    font-size: .875rem;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
}
.discount-saving {
    font-weight: 600;
}
.discount-code-tag {
    font-family: monospace;
    font-size: .8rem;
    background: var(--accent);
    color: #fff;
    border-radius: 3px;
    padding: 0 .35rem;
    margin-left: .3rem;
    vertical-align: middle;
}

/* ── Checkout promo code field ───────────────────────────────────────────────── */
.checkout-promo {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.checkout-promo__label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .5rem;
}
.checkout-promo__row {
    display: flex;
    gap: .5rem;
    align-items: center;
}
.checkout-promo__input {
    flex: 1;
    min-width: 0;
    padding: .45rem .75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .9rem;
    background: var(--bg-primary, #fff);
    color: var(--text-primary);
    outline: none;
    transition: border-color .15s;
}
.checkout-promo__input:focus { border-color: var(--accent); }
.checkout-promo__feedback {
    margin-top: .5rem;
    font-size: .82rem;
    min-height: 1.2em;
}
.checkout-promo__feedback[data-state="valid"]   { color: #16a34a; }
.checkout-promo__feedback[data-state="error"]   { color: #dc2626; }
.checkout-promo__feedback[data-state="loading"] { color: var(--text-muted); }

/* --- Checkout shipping method selector --- */
.checkout-shipping-methods {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.checkout-shipping-option {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .15s, background .15s;
    font-size: .9rem;
    background: var(--bg-primary, #fff);
}
.checkout-shipping-option:hover {
    border-color: var(--accent);
}
.checkout-shipping-option.is-selected {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.checkout-shipping-option input[type="radio"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}
.checkout-shipping-option__label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}
.checkout-shipping-option__cost {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* --- Checkout Stripe card element --- */
.checkout-card-section {
    margin-bottom: 1.25rem;
}
.checkout-card-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .5rem;
}
.checkout-card-element {
    padding: .65rem .75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-primary, #fff);
    transition: border-color .15s;
}
.checkout-card-element.StripeElement--focus {
    border-color: var(--accent);
}
.checkout-card-element.StripeElement--invalid {
    border-color: #dc2626;
}
.checkout-card-errors {
    margin-top: .4rem;
    font-size: .82rem;
    color: #dc2626;
    min-height: 1.1em;
}

/* =====================================================
   Homepage visual direction — August 2026 mockup
   ===================================================== */

.home-page {
    background: #efe4e9;
}

.home-page main {
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.62), transparent 28rem),
        linear-gradient(180deg, #f7eef2 0%, #eadde4 100%);
}

.home-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.34), transparent 34rem),
        linear-gradient(180deg, rgba(215,189,200,.48) 0%, rgba(234,220,228,.78) 54%, rgba(228,212,221,.88) 100%),
        url('../images/hero-bg-warm.jpg') 57% center / cover no-repeat,
        #e4d4dd;
}

/* Shared photographic layer; the product rail applies its own opaque texture above it. */
.home-showcase::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 0 auto;
    height: 1450px;
    max-height: 72%;
    background: url('../images/hero-bg-warm.jpg') 57% -185px / auto 1000px no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 58%, rgba(0,0,0,.72) 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 58%, rgba(0,0,0,.72) 72%, transparent 100%);
    pointer-events: none;
}

.home-showcase::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.34'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
    opacity: .08;
    pointer-events: none;
}

.home-showcase > section {
    position: relative;
    z-index: 1;
}

.home-page .hero {
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: 7.5rem 1.5rem 6rem;
    border: 0;
    box-shadow: none;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(75,28,51,.18) 0%, rgba(75,28,51,.05) 38%, transparent 52%),
        url('../images/hero-cat-boxes.jpg') center top / cover no-repeat;
}

.home-page .hero::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.34'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    opacity: .18;
    pointer-events: none;
}

.home-page .hero-inner {
    z-index: 1;
    width: min(100%, 1320px);
    max-width: 1320px;
}

.home-page .hero h1 {
    max-width: 650px;
    font-size: clamp(4rem, 6.1vw, 6rem);
    line-height: .88;
    color: #20181d;
    text-transform: uppercase;
    text-shadow: none;
    text-wrap: balance;
}

.home-page .hero h1 em {
    display: inline-block;
    color: #fff;
    font-style: italic;
    text-shadow: none;
}

.home-page .hero-desc {
    max-width: 430px;
    margin: 0 0 2.1rem;
    color: #49323e;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 700;
    text-shadow: none;
}

.home-page .hero-desc span {
    display: block;
    line-height: 1.22;
}

.home-page .hero-cta {
    justify-content: flex-start;
}

.home-page .hero .btn {
    min-width: 190px;
    min-height: 56px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .025em;
    box-shadow: 0 9px 24px rgba(40, 18, 30, .22);
}

.home-page .hero .btn--primary {
    background: rgba(204, 61, 130, .7);
    border-color: rgba(204, 61, 130, .7);
}

.home-page .hero .btn--primary:hover {
    background: rgba(204, 61, 130, .9);
    border-color: rgba(204, 61, 130, .9);
}

.home-page .hero .btn--ghost {
    color: #31242b;
    background: rgba(255,255,255,.94);
    border-color: rgba(255,255,255,.95);
}

.home-page .hero .btn--ghost:hover {
    color: var(--accent-hover);
    background: #fff;
}

.home-page .product-grid,
.home-page .feature-strip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-page .trust-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.32'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
    opacity: .055;
    pointer-events: none;
    z-index: -1;
}

.home-page .product-grid {
    padding: 4rem 1.5rem 3.75rem;
    background:
        linear-gradient(rgba(255, 244, 249, .1), rgba(222, 190, 207, .16)),
        url('../images/dusty-pink-texture.jpg') center / cover no-repeat;
}

.home-page .section-header {
    gap: 1.1rem;
}

.home-page .section-header h2 {
    font-size: clamp(2rem, 4.8vw, 3.15rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.025em;
}

.home-page .section-header--center::before,
.home-page .section-header--center::after {
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(204,61,130,.7) 0 10px, transparent 10px 18px);
}

.home-page .section-header--center h2::before,
.home-page .section-header--center h2::after {
    width: 30px;
    height: 30px;
    opacity: .9;
    mix-blend-mode: normal;
}

.home-page .product-grid-cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(218px, 1fr);
    gap: 1.15rem;
    overflow-x: auto;
    padding: .35rem .2rem 1.4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(204,61,130,.42) transparent;
}

.home-page .product-grid-cards::-webkit-scrollbar { height: 7px; }
.home-page .product-grid-cards::-webkit-scrollbar-track { background: transparent; }
.home-page .product-grid-cards::-webkit-scrollbar-thumb {
    background: rgba(204,61,130,.4);
    border-radius: 99px;
}

.home-page .product-card {
    scroll-snap-align: start;
    border-color: rgba(116,72,94,.16);
    border-radius: 15px;
    box-shadow: 0 12px 28px rgba(75, 44, 59, .13);
}

.home-page .product-card:hover {
    box-shadow: 0 18px 35px rgba(75, 44, 59, .2);
}

.home-page .product-card__badge {
    top: 10px;
    left: 10px;
    padding: .32em .85em;
    border-radius: 99px;
    text-transform: none;
    letter-spacing: .01em;
    font-size: .72rem;
    box-shadow: 0 4px 12px rgba(76,20,50,.18);
}

.home-page .product-card__body {
    background: linear-gradient(180deg, #fff 0%, #fff9fb 100%);
}

.home-page .product-card__price {
    color: #df367f;
}

.home-page .product-grid-see-all .btn {
    border-radius: 99px;
    border-color: rgba(204,61,130,.35);
    background: rgba(255,255,255,.7);
    color: var(--accent-hover);
}

.home-page .feature-strip {
    padding: 4rem 1.5rem 4.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-page .cat-journey {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    overflow: hidden;
    background:
        url('../images/cat-boxes-way.jpg') center top / 100% auto no-repeat,
        #c98592;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 26px;
    box-shadow: 0 20px 42px rgba(75,44,59,.18), inset 0 1px 0 rgba(255,255,255,.76);
}

.home-page .cat-journey::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 45%, rgba(91,42,67,.08) 100%);
    pointer-events: none;
}

.home-page .cat-journey__steps {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .cat-journey__step {
    position: relative;
    min-height: 220px;
    padding: 1.2rem 1rem 1rem;
    background: rgba(255,251,253,.93);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(72,31,53,.17), inset 0 1px 0 #fff;
    backdrop-filter: blur(8px);
    scroll-snap-align: start;
}

.home-page .cat-journey__number {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: .7rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #ec559d, #bd2f73);
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(126,31,76,.24);
}

.home-page .cat-journey__step h3 {
    margin-bottom: .55rem;
    color: #33232c;
    font-size: clamp(1.05rem, 1.45vw, 1.32rem);
    font-weight: 800;
    line-height: 1.05;
}

.home-page .cat-journey__step p {
    margin: 0;
    color: #63515b;
    font-size: .81rem;
    line-height: 1.52;
}

.home-page .trust-section {
    position: relative;
    isolation: isolate;
    padding: 4.5rem 1.5rem 5rem;
    background:
        radial-gradient(circle at 50% 10%, rgba(204,61,130,.22), transparent 34rem),
        linear-gradient(180deg, #352b34 0%, #1e1a20 100%);
    border: 0;
}

.home-page .trust-section::before {
    mix-blend-mode: screen;
    opacity: .09;
}

.home-page .trust-section .section-header h2 {
    color: #fff;
}

.home-page .trust-section .section-header--center::before,
.home-page .trust-section .section-header--center::after {
    background: repeating-linear-gradient(90deg, rgba(239,75,154,.75) 0 10px, transparent 10px 18px);
}

.home-page .brand-card {
    min-height: 440px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    box-shadow: 0 20px 44px rgba(0,0,0,.28);
    isolation: isolate;
    background-color: #38242f;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-page .brand-card--1 {
    background-image:
        linear-gradient(to top, rgba(25,13,21,.96) 0%, rgba(31,17,25,.78) 31%, rgba(31,17,25,.12) 68%, rgba(31,17,25,.02) 100%),
        url('../images/trust-real-stock.jpg');
}

.home-page .brand-card--2 {
    background-image:
        linear-gradient(to top, rgba(25,13,21,.96) 0%, rgba(31,17,25,.78) 31%, rgba(31,17,25,.12) 68%, rgba(31,17,25,.02) 100%),
        url('../images/trust-landfill.jpg');
}

.home-page .brand-card--3 {
    background-image:
        linear-gradient(to top, rgba(25,13,21,.96) 0%, rgba(31,17,25,.78) 31%, rgba(31,17,25,.12) 68%, rgba(31,17,25,.02) 100%),
        url('../images/trust-cats.jpg');
}

.home-page .brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.4'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    opacity: .15;
    pointer-events: none;
    z-index: -1;
}

.home-page .brand-card::after {
    content: '';
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    width: 54px;
    height: 54px;
    background: url('../images/brand-paw.svg') center / contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: .18;
}

.home-page .brand-card__body {
    padding: 2.1rem 1.8rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,.72);
}

.home-page .brand-card__pre {
    color: rgba(255,255,255,.72);
}

.home-page .brand-card__body h3 {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    min-height: 2.2em;
}

.home-page .brand-card__body p {
    color: rgba(255,255,255,.84);
    font-size: .97rem;
}

.home-page .site-footer {
    margin-top: 0;
    background: #19161a;
    border-top-color: rgba(255,255,255,.1);
}

.home-page .site-footer p,
.home-page .site-footer a {
    color: rgba(255,255,255,.6);
}

@media (max-width: 980px) {
    .site-logo {
        width: 176px;
        flex-basis: 176px;
    }

    .site-nav {
        padding-left: 1rem;
    }

    .site-nav__link {
        padding-inline: .45rem;
    }

    .nav-search {
        flex-basis: 190px;
    }

    .home-page .cat-journey {
        min-height: 0;
        display: block;
        padding: min(42.7vw, 420px) .8rem .8rem;
    }

    .home-page .cat-journey__steps {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(240px, 34vw);
        overflow-x: auto;
        padding: .25rem .15rem .65rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: rgba(126,31,76,.4) transparent;
    }
}

@media (max-width: 780px) {
    .site-ticker {
        gap: 1.25rem;
        font-size: .62rem;
        letter-spacing: .08em;
    }

    .site-ticker span:nth-child(3) {
        display: none;
    }

    .site-nav { display: none; }
    .burger-btn { display: flex; order: 10; }
    .header-cart-btn { order: 9; }

    .home-page .hero {
        min-height: 520px;
        padding: 4.5rem 1rem;
        background-position: 61% center;
    }

    .home-page .hero h1 {
        font-size: clamp(3.3rem, 14vw, 5.5rem);
    }

    .home-page .brand-card {
        min-height: 390px;
    }
}

@media (max-width: 560px) {
    .site-ticker span:not(:first-child) {
        display: none;
    }

    .site-header-inner {
        height: 58px;
        gap: .65rem;
    }

    .site-logo {
        width: 156px;
        flex-basis: 156px;
    }

    .nav-search { display: none; }

    .header-cart-btn {
        padding: .45em .7em;
    }

    .home-page .hero {
        min-height: 500px;
        background-position: 64% center;
    }

    .home-page .hero h1 {
        font-size: clamp(3rem, 16vw, 4.35rem);
        margin-bottom: 1.15rem;
    }

    .home-page .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.7rem;
    }

    .home-page .hero-cta {
        gap: .7rem;
    }

    .home-page .hero .btn {
        width: min(100%, 290px);
        min-height: 50px;
    }

    .home-page .product-grid,
    .home-page .feature-strip,
    .home-page .trust-section {
        padding-inline: 1rem;
    }

    .home-page .section-header h2 {
        font-size: 1.85rem;
    }

    .home-page .section-header--center h2::before,
    .home-page .section-header--center h2::after {
        width: 23px;
        height: 23px;
    }

    .home-page .product-grid-cards {
        grid-template-columns: none;
        grid-auto-columns: minmax(78vw, 1fr);
        gap: .9rem;
    }

    .home-page .cat-journey {
        border-radius: 18px;
    }

    .home-page .cat-journey__steps {
        grid-auto-columns: minmax(78vw, 1fr);
    }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

/* Shared inner-page banner. The homepage keeps its dedicated illustrated hero. */
body:not(.home-page) .hero {
    padding: 3rem 1.5rem 2.5rem;
    background: url('../images/page-header-paw-wall.jpg') center / cover no-repeat;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    align-items: start;
}

/* Only form, no sidebar */
.contact-layout:has(.contact-form-wrap):not(:has(.contact-details)) {
    grid-template-columns: 1fr;
    max-width: 640px;
}

/* Only sidebar, no form */
.contact-layout:has(.contact-details):not(:has(.contact-form-wrap)) {
    grid-template-columns: 1fr;
    max-width: 480px;
}

/* Fallback: empty page */
.contact-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 0;
}

/* --- Contact Detail Methods --- */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light, #f0e8ed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-method__icon--wa {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.contact-method__body h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    margin: 0 0 .2rem;
}

.contact-method__body a,
.contact-method__body address {
    font-size: .975rem;
    color: var(--text-primary);
    text-decoration: none;
    font-style: normal;
    line-height: 1.6;
}

.contact-method__body a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* --- Contact Form --- */

.contact-form-wrap {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #f0e8ed);
    border-radius: 12px;
    padding: 2rem;
}

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

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

.contact-form .form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .35rem;
    color: var(--text-primary);
}

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

.contact-form .form-input {
    width: 100%;
    box-sizing: border-box;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form__submit {
    width: 100%;
}

.form-error-banner {
    background: #fff0f3;
    border: 1px solid #ffc0cb;
    border-radius: 8px;
    padding: .75rem 1rem;
    color: #c0392b;
    font-size: .9rem;
    margin-bottom: 1.25rem;
}

/* Success state */
.contact-form-sent {
    text-align: center;
    padding: 2rem 1rem;
}

.contact-form-sent svg {
    display: block;
    margin: 0 auto 1rem;
}

.contact-form-sent h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 0 .5rem;
}

.contact-form-sent p {
    color: var(--text-muted);
}

/* --- Responsive --- */

@media (max-width: 680px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem 3rem;
    }

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

    .contact-form-wrap {
        padding: 1.25rem;
    }
}
