/* ═══════════════════════════════════════════════════════════════════════════
   Mitzi's Menagerie — theme.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* ── CSS Variables (defaults; overridden by Customizer inline style) ──────── */
:root {
    --color-background:  hsl(40,30%,96%);
    --color-foreground:  hsl(195,25%,15%);
    --color-card:        hsl(40,20%,93%);
    --color-primary:     #3a9e8c;
    --color-primary-fg:  #ffffff;
    --color-secondary:   hsl(40,18%,90%);
    --color-muted:       hsl(35,12%,85%);
    --color-muted-fg:    hsl(195,10%,45%);
    --color-accent:      #cd7f3a;
    --color-accent-fg:   #ffffff;
    --color-border:      hsl(35,12%,85%);

    --font-display: 'giulia-plain','Playfair Display',serif;
    --font-body:    'Lato',sans-serif;

    --radius:      0.5rem;
    --radius-lg:   1rem;
    --radius-xl:   1.5rem;
    --radius-full: 9999px;

    --shadow-soft:     0 4px 20px -4px hsl(195 25% 15% / 0.06);
    --shadow-elevated: 0 8px 40px -8px hsl(195 25% 15% / 0.12);

    --transition: cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    background-color: var(--color-background);
    color: var(--color-foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-color: var(--color-border);
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* ── Layout helpers ───────────────────────────────────────────────────────── */
.container-wide {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
    .container-wide { padding-inline: 2rem; }
}

.text-center { text-align: center; }
.hidden { display: none !important; }
.bg-card { background-color: var(--color-card); }
.scroll-mt { scroll-margin-top: 5rem; }

/* ── Typography helpers ───────────────────────────────────────────────────── */
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-fg);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-top: 0.5rem;
    line-height: 1.2;
}

.section-header {
    margin-bottom: 3rem;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn--primary  { background: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }
.btn--primary:hover { opacity: 0.88; }
.btn--outline  { background: transparent; color: var(--color-foreground); border-color: var(--color-border); }
.btn--outline:hover { border-color: var(--color-foreground); }
.btn--lg       { padding: 0.875rem 2rem; font-size: 1rem; }
.btn--sm       { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn--pill      { border-radius: var(--radius-full); }
.btn--full      { width: 100%; }
.btn--glass     { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); color: #fff; backdrop-filter: blur(4px); }
.btn--glass:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn:disabled   { opacity: 0.6; pointer-events: none; }

/* ── Icons ────────────────────────────────────────────────────────────────── */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon svg { display: block; width: 100%; height: 100%; }
.icon--sm  { width: 1rem; height: 1rem; }
.icon--xs  { width: 0.75rem; height: 0.75rem; }
.icon--lg  { width: 2rem; height: 2rem; }
.icon--bag { width: 1.25rem; height: 1.25rem; }
.icon--x   { width: 1.25rem; height: 1.25rem; }
.icon--menu{ width: 1.25rem; height: 1.25rem; }
.icon--star{ width: 1rem; height: 1rem; color: var(--color-primary); fill: var(--color-primary); }
.text-primary { color: var(--color-primary); }
.cart-empty-icon { width: 2rem; height: 2rem; }
.shop-search-icon .icon { width: 1rem; height: 1rem; }
.faq-chevron .icon { width: 1rem; height: 1rem; }

/* ── Link Underline ───────────────────────────────────────────────────────── */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 1px;
    background: currentColor;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s var(--transition);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ── Crystal Glow ─────────────────────────────────────────────────────────── */
.crystal-glow {
    box-shadow: 0 0 30px -5px color-mix(in srgb, var(--color-primary) 30%, transparent),
                0 0 60px -10px color-mix(in srgb, var(--color-accent) 15%, transparent);
}

/* ── Scroll Reveal ────────────────────────────────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.scroll-reveal[data-direction="left"]  { transform: translateX(-32px); }
.scroll-reveal[data-direction="right"] { transform: translateX(32px); }
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee   { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.animate-fade-in  { animation: fadeIn  0.6s var(--transition) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition) forwards; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    background: rgba(var(--color-background-raw, 249,246,240), 0.95);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
}
.site-header.is-transparent {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}
.site-header.is-scrolled {
    background: color-mix(in srgb, var(--color-background) 95%, transparent);
    box-shadow: var(--shadow-soft);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    transition: height 0.3s;
}
.site-header.is-scrolled .site-nav { height: 3.5rem; }

@media (min-width: 1024px) {
    .site-nav { height: 5rem; }
    .site-header.is-scrolled .site-nav { height: 4rem; }
}

.site-logo--mobile { display: flex; }
@media (min-width: 1024px) { .site-logo--mobile { display: none; } }

.logo-img {
    height: 5.875rem;
    width: auto;
    transition: height 0.3s, filter 0.3s;
}
.site-header.is-scrolled .logo-img { height: 4.875rem; }
.is-transparent .logo-img { filter: brightness(0) invert(1); }

@media (min-width: 1024px) {
    .logo-img { height: 6.8125rem; }
    .site-header.is-scrolled .logo-img { height: 5.375rem; }
}

.site-nav__desktop {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) { .site-nav__desktop { display: flex; } }

.site-nav__left, .site-nav__right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}
.site-nav__left { justify-content: flex-end; }
.site-nav__right { justify-content: flex-start; }

.site-logo--desktop { flex-shrink: 0; margin-inline: 2.5rem; }

.nav-link {
    font-size: 0.875rem;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    transition: color 0.3s;
    color: var(--color-foreground);
}
.is-transparent .nav-link { color: #fff; }

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-btn {
    position: relative;
    padding: 0.5rem;
    color: var(--color-foreground);
    transition: opacity 0.2s;
}
.cart-btn:hover { opacity: 0.6; }
.is-transparent .cart-btn { color: #fff; }

.hamburger-btn {
    padding: 0.5rem;
    color: var(--color-foreground);
    transition: opacity 0.2s;
}
.hamburger-btn:hover { opacity: 0.6; }
.is-transparent .hamburger-btn { color: #fff; }
@media (min-width: 1024px) { .hamburger-btn { display: none; } }

.hamburger-close { display: none; }
.hamburger-btn.is-open .hamburger-icon { display: none; }
.hamburger-btn.is-open .hamburger-close { display: inline-flex; }

.mobile-menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    animation: fadeIn 0.2s ease;
}
.mobile-menu.is-open { display: block; }

.mobile-nav-link {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--color-primary); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.section-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--color-foreground) 50%, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 6rem 8rem;
}

@media (min-width: 1024px) {
    .hero-content { padding-block: 8rem; }
}

.hero-inner {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
    margin-bottom: 1.5rem;
}

.hero-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    color: rgba(255,255,255,0.8);
    font-size: 1.0625rem;
    line-height: 1.75;
    max-width: 28rem;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
@media (min-width: 640px) {
    .hero-ctas { flex-direction: row; justify-content: center; }
}

/* Hero entrance animations */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.7s var(--transition) forwards;
}
.hero-eyebrow { animation-delay: 0.2s; }
.hero-heading { animation-delay: 0.4s; }
.hero-subtext { animation-delay: 0.6s; }
.hero-ctas    { animation-delay: 0.8s; }

/* ── About ────────────────────────────────────────────────────────────────── */
.section-about { padding-block: 6rem; overflow: hidden; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.about-image-wrap { max-width: 28rem; margin-inline: auto; }
@media (min-width: 1024px) { .about-image-wrap { margin-inline: 0; } }

.about-image-inner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
}

.about-image { width: 100%; height: 100%; object-fit: cover; }

.about-content {}
.about-para {
    color: var(--color-muted-fg);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about-para--last { margin-bottom: 2rem; }

/* ── Services ─────────────────────────────────────────────────────────────── */
.section-services { padding-block: 6rem; }

.services-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (min-width: 1024px) {
    .services-top { grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 5rem; }
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted-fg);
    font-family: var(--font-body);
    margin-bottom: 1.5rem;
}
.services-badge__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}

.services-heading {
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.services-top__right { display: flex; align-items: flex-end; }
@media (min-width: 1024px) { .services-top__right { justify-content: flex-end; } }

.services-subtext {
    color: var(--color-muted-fg);
    line-height: 1.75;
    max-width: 28rem;
}

.services-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .services-bottom { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-btn {
    position: relative;
    text-align: left;
    border-radius: var(--radius-xl);
    padding: 1rem 2rem;
    transition: padding 0.3s var(--transition);
}
.service-btn.is-active { padding-block: 1.5rem; }
.service-btn__bg {
    position: absolute;
    inset: 0;
    background: var(--color-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}
.service-btn__title {
    font-size: clamp(1.25rem, 2vw, 1.875rem);
    letter-spacing: -0.01em;
    color: rgba(var(--color-muted-fg-raw, 80,95,95), 0.4);
    transition: color 0.3s;
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 700;
}
.service-btn:hover .service-btn__title { color: var(--color-muted-fg); }
.service-btn.is-active .service-btn__title { color: var(--color-foreground); }

.services-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.services-image-wrap {
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.services-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s var(--transition), transform 0.4s var(--transition);
    transform: scale(1.05);
}
.services-image.is-active { opacity: 1; transform: scale(1); }

.services-desc-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.services-desc {
    color: var(--color-muted-fg);
    line-height: 1.75;
    max-width: 20rem;
    display: none;
}
.services-desc.is-active { display: block; }

/* ── Shop ─────────────────────────────────────────────────────────────────── */
.section-shop { padding-block: 5rem; }

.shop-search-wrap {
    position: relative;
    max-width: 28rem;
    margin-inline: auto;
    margin-bottom: 1.5rem;
}
.shop-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted-fg);
    pointer-events: none;
}
.shop-search-input {
    width: 100%;
    height: 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-background);
    padding: 0 2.5rem 0 2.5rem;
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--color-foreground);
    outline: none;
    transition: box-shadow 0.2s;
}
.shop-search-input::placeholder { color: var(--color-muted-fg); }
.shop-search-input:focus { box-shadow: 0 0 0 2px var(--color-primary); }
.shop-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted-fg);
    transition: color 0.2s;
}
.shop-search-clear:hover { color: var(--color-foreground); }

.shop-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    background: var(--color-secondary);
    color: var(--color-foreground);
    transition: all 0.3s;
}
.filter-btn:hover { background: var(--color-muted); }
.filter-btn.is-active { background: var(--color-primary); color: var(--color-primary-fg); }

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3,1fr); gap: 2rem; } }

.product-card-wrap { display: block; }
.product-card-wrap.is-hidden { display: none; }

/* ── Product Card ─────────────────────────────────────────────────────────── */
.wc-product-card {
    transition: transform 0.3s var(--transition);
}
.wc-product-card:hover { transform: translateY(-6px); }
.wc-product-card:focus { outline: 2px solid var(--color-primary); border-radius: var(--radius-lg); }

.product-card__img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--color-secondary);
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
}
.product-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}
.wc-product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__img.is-soldout { opacity: 0.6; }

.sold-out-badge {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    background: var(--color-foreground);
    color: var(--color-background);
    z-index: 1;
}
.new-badge {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #fff;
    z-index: 1;
}

.product-card__quick-add {
    position: absolute;
    bottom: 0.75rem; right: 0.75rem;
    width: 2rem; height: 2rem;
    border-radius: 50%;
    background: rgba(var(--color-background-raw, 249,246,240), 0.9);
    backdrop-filter: blur(4px);
    color: var(--color-foreground);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s, transform 0.15s;
    z-index: 2;
    border: none;
}
.product-card__quick-add:hover { background: var(--color-primary); color: #fff; transform: scale(1.15); }
.product-card__quick-add.is-added { background: var(--color-primary); color: #fff; }
.product-card__quick-add:active  { transform: scale(0.95); }

.product-card__body {}
.product-card__category {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-fg);
    font-family: var(--font-body);
    display: block;
    margin-bottom: 0.25rem;
}
.product-card__name {
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: opacity 0.2s;
    display: block;
    margin-bottom: 0.25rem;
}
.wc-product-card:hover .product-card__name { opacity: 0.7; }
.product-card__price {
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    font-family: var(--font-body);
}

/* ── Reviews ──────────────────────────────────────────────────────────────── */
.section-reviews { padding-block: 5rem; }

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px)  { .reviews-grid { grid-template-columns: repeat(3,1fr); } }

.review-card {
    background: var(--color-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.35s var(--transition), box-shadow 0.5s;
    cursor: default;
}
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); }

.review-quote-icon { color: color-mix(in srgb, var(--color-primary) 20%, transparent); margin-bottom: 1rem; }
.review-card:hover .review-quote-icon { color: color-mix(in srgb, var(--color-primary) 40%, transparent); }

.review-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }

.review-text {
    color: var(--color-muted-fg);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.review-author { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.review-name     { font-family: var(--font-display); font-size: 0.875rem; }
.review-location { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.125rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.section-faq { padding-block: 5rem; }
.faq-container { max-width: 48rem; }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
    background: var(--color-background);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-foreground);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-trigger:hover { color: var(--color-primary); }

.faq-question { flex: 1; }

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.25s;
    color: var(--color-muted-fg);
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s var(--transition);
}
.faq-answer:not([hidden]) { max-height: 500px; }
.faq-answer[hidden] { display: block !important; visibility: hidden; max-height: 0; }

.faq-answer__inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-muted-fg);
    line-height: 1.75;
    font-family: var(--font-body);
}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.section-contact { padding-block: 6rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.contact-subtext {
    color: var(--color-muted-fg);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-muted-fg);
}
.contact-link { font-family: var(--font-body); transition: color 0.2s; }
.contact-link:hover { color: var(--color-foreground); }

.contact-socials__title { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 1rem; }
.social-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social-pill {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    background: var(--color-card);
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: background 0.3s, color 0.3s;
}
.social-pill:hover { background: var(--color-primary); color: var(--color-primary-fg); }

.contact-form-card {
    background: var(--color-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-label { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); }
.form-input, .form-select, .form-textarea {
    padding: 0.75rem 1rem;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--color-foreground);
    outline: none;
    transition: box-shadow 0.2s;
    width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-muted-fg); }
.form-input:focus, .form-select:focus, .form-textarea:focus { box-shadow: 0 0 0 2px var(--color-primary); }
.form-select { color: var(--color-muted-fg); cursor: pointer; }
.form-textarea { resize: none; }

.form-status { margin-top: 0.75rem; font-size: 0.875rem; text-align: center; font-family: var(--font-body); }
.form-status--success { color: var(--color-primary); }
.form-status--error   { color: #e53e3e; }

/* ── Newsletter ───────────────────────────────────────────────────────────── */
.section-newsletter { padding-block: 3rem 5rem; }

.newsletter-card {
    background: var(--color-foreground);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.newsletter-bg-image {
    display: none;
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 420px;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    border-radius: 0 1.5rem 1.5rem 0;
}
@media (min-width: 1024px) { .newsletter-bg-image { display: block; } }

.newsletter-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    max-width: 36rem;
}
@media (min-width: 768px) { .newsletter-content { padding: 4rem; } }

.newsletter-heading {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--color-background);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.newsletter-subtext {
    color: color-mix(in srgb, var(--color-background) 70%, transparent);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 28rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 28rem;
}
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    transition: box-shadow 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus { box-shadow: 0 0 0 2px var(--color-primary); }

.newsletter-status { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
}

.footer-brand { padding-block: 4rem 2.5rem; text-align: center; }
.footer-brand__inner { display: flex; flex-direction: column; align-items: center; }

.footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.footer-logo-img { height: 8.4375rem; width: auto; margin-inline: auto; }

.footer-tagline {
    color: var(--color-muted-fg);
    font-size: 0.875rem;
    line-height: 1.75;
    max-width: 28rem;
    margin-inline: auto;
}

.footer-grid {
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4,1fr); gap: 3rem; } }

.footer-col__title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-muted-fg) 50%, transparent);
    font-family: var(--font-body);
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-link {
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    transition: color 0.2s;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-link:hover { color: var(--color-foreground); }
.footer-link--icon { gap: 0.625rem; }
.footer-link--social { gap: 0.375rem; }

.footer-link-bar {
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s;
}
.footer-link:hover .footer-link-bar { width: 0.75rem; }

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    font-family: var(--font-body);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
}
.footer-bottom__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    padding-block: 1.25rem;
}
@media (min-width: 640px) {
    .footer-bottom__inner { flex-direction: row; justify-content: space-between; }
}

.footer-copyright, .footer-credit {
    font-size: 0.6875rem;
    color: color-mix(in srgb, var(--color-muted-fg) 50%, transparent);
    font-family: var(--font-body);
}
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.footer-credit a:hover { color: var(--color-foreground); }

/* ── Cart Badge ───────────────────────────────────────────────────────────── */
.theme-cart-count {
    position: absolute;
    top: -2px; right: -2px;
    width: 1.25rem; height: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-primary-fg);
}
.theme-cart-count:empty { display: none; }

/* ── Side Cart ────────────────────────────────────────────────────────────── */
#theme-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay {
    opacity: 1;
    pointer-events: all;
}

#theme-cart-drawer {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background: var(--color-background);
    box-shadow: var(--shadow-elevated);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s var(--transition);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }

#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.cart-drawer__header-left { display: flex; align-items: center; gap: 0.75rem; }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; }
.cart-empty-btn {
    font-size: 0.75rem;
    color: var(--color-muted-fg);
    transition: color 0.2s;
}
.cart-empty-btn:hover { color: #e53e3e; }
.cart-close-btn { padding: 0.25rem; transition: opacity 0.2s; }
.cart-close-btn:hover { opacity: 0.6; }

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    gap: 1rem;
}
.cart-empty-icon { color: var(--color-muted-fg); }
.cart-empty-text { color: var(--color-muted-fg); font-family: var(--font-body); }

.cart-item {
    display: flex;
    gap: 1rem;
}
.cart-item__img-link {
    width: 5rem; height: 6rem;
    background: var(--color-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
.cart-item__img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__details { flex: 1; min-width: 0; }
.cart-item__name-link {
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity 0.2s;
    margin-bottom: 0.25rem;
}
.cart-item__name-link:hover { opacity: 0.7; }
.cart-item__price {
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    margin-bottom: 0.25rem;
}
.cart-item__attrs {
    font-size: 0.75rem;
    color: var(--color-muted-fg);
    margin-bottom: 0.25rem;
}
.cart-item__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.qty-btn {
    padding: 0.25rem;
    border-radius: var(--radius);
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--color-secondary); }
.qty-val { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.cart-item-remove {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--color-muted-fg);
    transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--color-foreground); }

.cart-drawer__footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}
.cart-subtotal-label { color: var(--color-muted-fg); }
.cart-subtotal-value { font-weight: 500; }
.cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-fg); }

/* ── Single Product ───────────────────────────────────────────────────────── */
.single-product-page { padding-top: 6rem; }
@media (min-width: 1024px) { .single-product-page { padding-top: 8rem; } }

.back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    transition: color 0.2s;
    padding-block: 1.5rem;
}
.back-to-shop:hover { color: var(--color-foreground); }

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 5rem;
}
@media (min-width: 1024px) {
    .product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* Product Gallery */
.product-gallery {}
.product-main-img-wrap {
    aspect-ratio: 4/5;
    background: var(--color-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: zoom-in;
}
#product-main-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-main-img-wrap:hover #product-main-img { transform: scale(1.04); }

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}
.product-thumb {
    flex-shrink: 0;
    width: 5rem; height: 6rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-secondary);
    border: 2px solid transparent;
    transition: border-color 0.2s;
    cursor: pointer;
    padding: 0;
}
.product-thumb.is-active { border-color: var(--color-foreground); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-info { padding-block: 0; }
@media (min-width: 1024px) { .product-info { padding-top: 2.5rem; } }

.product-category { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); display: block; }
.product-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0.5rem; margin-bottom: 1rem; font-weight: 500; }
.product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.product-sold-out-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-muted);
    color: var(--color-muted-fg);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.product-description {
    color: var(--color-muted-fg);
    line-height: 1.8;
    margin-bottom: 2rem;
    white-space: pre-line;
}

/* Variants */
.variant-group { margin-bottom: 1.5rem; }
.variant-label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.75rem; display: block; }
.variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    font-family: var(--font-body);
}
.variant-btn:hover { border-color: var(--color-foreground); }
.variant-btn.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

/* Quantity + Add to Cart */
.product-actions { display: flex; gap: 0.75rem; margin-bottom: 2rem; align-items: stretch; }
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.qty-ctrl-btn {
    padding: 0.75rem;
    transition: background 0.2s;
}
.qty-ctrl-btn:hover { background: var(--color-secondary); }
.qty-display {
    padding: 0.75rem;
    min-width: 2.5rem;
    text-align: center;
    font-family: var(--font-body);
}
.add-to-cart-btn { flex: 1; }
.add-to-cart-btn:disabled,
.add-to-cart-btn.disabled { opacity: 0.6; cursor: not-allowed; }

/* Hide WooCommerce "View cart" link after AJAX add-to-cart (drawer is used instead) */
.single-product-page .added_to_cart.wc-forward,
.added_to_cart.wc-forward { display: none !important; }

.product-note { font-size: 0.75rem; color: var(--color-muted-fg); text-align: center; margin-bottom: 1rem; }

/* Product Details */
.product-details-section { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 0.5rem; }
.product-details-title { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.product-details-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-muted-fg);
}
.product-details-list li::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.4rem;
}

/* Related products */
.related-products { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.related-products__title { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; margin-bottom: 2.5rem; }
.related-products__grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.5rem;
}
@media (min-width: 1024px) { .related-products__grid { grid-template-columns: repeat(4,1fr); gap: 2rem; } }

/* Contact CTA banner */
.contact-cta-section {
    position: relative;
    padding-block: 8rem 10rem;
    overflow: hidden;
    background: var(--color-foreground);
}
.contact-cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 20%, transparent), transparent, color-mix(in srgb, var(--color-accent) 20%, transparent));
}
.contact-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.contact-cta-icon { color: var(--color-primary); margin-bottom: 1.5rem; width: 2rem; height: 2rem; margin-inline: auto; }
.contact-cta-heading {
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--color-background);
    margin-bottom: 1.5rem;
}
.contact-cta-subtext {
    color: color-mix(in srgb, var(--color-background) 70%, transparent);
    font-size: 1.125rem;
    max-width: 32rem;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

/* ── WooCommerce Archive ───────────────────────────────────────────────────── */
.archive-shop-page { padding-top: 6rem; padding-bottom: 5rem; }
.archive-shop-header { margin-bottom: 2.5rem; }
.archive-shop-header h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ── Page Content ─────────────────────────────────────────────────────────── */
.page-content { padding-top: 8rem; padding-bottom: 5rem; min-height: 60vh; }

.entry-content {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--color-muted-fg);
}
.entry-content h1,.entry-content h2,.entry-content h3 { color: var(--color-foreground); margin-bottom: 1rem; margin-top: 2rem; }
.entry-content p { margin-bottom: 1rem; }

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.error-404 { padding-block: 5rem; }
.error-404 h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.error-404__desc { color: var(--color-muted-fg); margin-bottom: 2rem; }

/* ── Checkout ─────────────────────────────────────────────────────────────── */
body.woocommerce-checkout .entry-content { max-width: 100%; }

body.woocommerce-checkout .checkout-page-header {
    margin-bottom: 1.5rem;
    text-align: center;
}
body.woocommerce-checkout .checkout-page-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    color: var(--color-foreground);
    line-height: 1.2;
}

body.woocommerce-checkout .wc-block-checkout {
    font-family: var(--font-body) !important;
    color: var(--color-foreground) !important;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

/* Express Checkout on top */
body.woocommerce-checkout .wc-block-components-express-payment-area,
body.woocommerce-checkout [class*="express-payment"] {
    margin-bottom: 0.5rem;
}
body.woocommerce-checkout .wc-block-components-express-payment-area .wc-block-components-express-payment__title,
body.woocommerce-checkout [class*="express-payment"] h2 {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
    text-align: center;
}
body.woocommerce-checkout .wc-block-components-express-payment-area .wc-block-components-express-payment__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Separator "Or continue below" */
body.woocommerce-checkout .wc-block-components-checkout-separator,
body.woocommerce-checkout [class*="checkout-separator"] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0 !important;
    font-family: var(--font-body) !important;
    font-size: 0.875rem !important;
    color: var(--color-muted-fg) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-separator::before,
body.woocommerce-checkout .wc-block-components-checkout-separator::after,
body.woocommerce-checkout [class*="checkout-separator"]::before,
body.woocommerce-checkout [class*="checkout-separator"]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* All form fields – force site styling */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-checkout input[type="text"],
body.woocommerce-checkout .wc-block-checkout input[type="email"],
body.woocommerce-checkout .wc-block-checkout select,
body.woocommerce-checkout .wc-block-checkout textarea {
    width: 100% !important;
    background: var(--color-background) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius) !important;
    font-family: var(--font-body) !important;
    font-size: 0.875rem !important;
    color: var(--color-foreground) !important;
    outline: none !important;
    transition: box-shadow 0.2s;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-checkout input:focus,
body.woocommerce-checkout .wc-block-checkout select:focus,
body.woocommerce-checkout .wc-block-checkout textarea:focus {
    box-shadow: 0 0 0 2px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-checkout input::placeholder,
body.woocommerce-checkout .wc-block-checkout textarea::placeholder {
    color: var(--color-muted-fg) !important;
}

/* Section headings (Contact, Shipping, Payment) */
body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-checkout [class*="step__heading"] h2,
body.woocommerce-checkout .wc-block-checkout h3 {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--color-foreground) !important;
    margin-bottom: 0.75rem !important;
}

/* Address display box + Edit link – only the card, wrappers stay neutral */
body.woocommerce-checkout .wc-block-components-address-address-wrapper,
body.woocommerce-checkout .wc-block-components-address-card-wrapper {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-address-card {
    padding: 1rem 1.25rem !important;
    background: var(--color-card) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius) !important;
    font-family: var(--font-body) !important;
    font-size: 0.875rem !important;
    color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-address-card a,
body.woocommerce-checkout [class*="shipping-address"] a[href] {
    color: var(--color-primary) !important;
    text-decoration: underline;
    font-weight: 500;
}
body.woocommerce-checkout .wc-block-components-address-card a:hover,
body.woocommerce-checkout [class*="shipping-address"] a[href]:hover {
    opacity: 0.88;
}

/* Radio buttons – custom circle */
body.woocommerce-checkout .wc-block-checkout input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    border: 2px solid var(--color-border) !important;
    border-radius: 50% !important;
    background: var(--color-background) !important;
    margin: 0 0.5rem 0 0 !important;
    vertical-align: middle;
    cursor: pointer;
}
body.woocommerce-checkout .wc-block-checkout input[type="radio"]:checked {
    background: var(--color-foreground) !important;
    border-color: var(--color-foreground) !important;
    box-shadow: inset 0 0 0 2px var(--color-background);
}
body.woocommerce-checkout .wc-block-components-radio-control__input,
body.woocommerce-checkout .wc-block-components-radio-control__label {
    font-family: var(--font-body) !important;
    color: var(--color-foreground) !important;
}

/* Checkboxes – custom square + check */
body.woocommerce-checkout .wc-block-checkout input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    border: 2px solid var(--color-border) !important;
    border-radius: 4px !important;
    background: var(--color-background) !important;
    margin: 0 0.5rem 0 0 !important;
    vertical-align: middle;
    cursor: pointer;
    flex-shrink: 0;
}
body.woocommerce-checkout .wc-block-checkout input[type="checkbox"]:checked {
    border-color: var(--color-foreground) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important;
    background-size: 0.875rem !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
body.woocommerce-checkout .wc-block-components-checkbox-control__label {
    font-family: var(--font-body) !important;
    color: var(--color-foreground) !important;
}

/* Order summary – product list */
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar {
    font-family: var(--font-body) !important;
    color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-order-summary__heading,
body.woocommerce-checkout .wc-block-checkout__sidebar-title {
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}
body.woocommerce-checkout .wc-block-cart-items__row,
body.woocommerce-checkout .wc-block-components-order-summary-item {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.875rem !important;
}
body.woocommerce-checkout .wc-block-cart-items__product-name,
body.woocommerce-checkout .wc-block-components-order-summary-item__product-name {
    font-family: var(--font-body) !important;
    color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__variation {
    font-size: 0.8125rem !important;
    color: var(--color-muted-fg) !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices {
    font-family: var(--font-body) !important;
    color: var(--color-foreground) !important;
}

/* Totals – Subtotal, Shipping, Total */
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-order-summary-totals-row {
    font-family: var(--font-body) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item,
body.woocommerce-checkout .wc-block-components-order-summary-totals-row:last-child {
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding-top: 0.75rem !important;
    margin-top: 0.5rem !important;
    border-top: 1px solid var(--color-border);
}

/* Place order button */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background: var(--color-primary) !important;
    color: var(--color-primary-fg) !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    padding: 0.875rem 2rem !important;
    border: none !important;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.88 !important; }

body.woocommerce-checkout .wc-block-components-notice-banner {
    border-radius: var(--radius);
    font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-cart-items {
    font-family: var(--font-body);
}

/* Two-column layout: form left (wider), summary right */
@media (min-width: 768px) {
    body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr !important;
        gap: 2.5rem !important;
        align-items: start !important;
        width: 100% !important;
    }
    body.woocommerce-checkout .wc-block-checkout__main { order: 1 !important; }
    body.woocommerce-checkout .wc-block-checkout__sidebar { order: 2 !important; }
}

/* ── Thank You Page ───────────────────────────────────────────────────────── */
.theme-thankyou-page .site-header { background: color-mix(in srgb, var(--color-background) 95%, transparent); }

.theme-thankyou .thankyou-order-received-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.theme-thankyou-page .woocommerce-order {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.theme-thankyou-page ul.woocommerce-order-overview.order_details,
.theme-thankyou-page ul.woocommerce-order-overview.woocommerce-thankyou-order-details {
    list-style: none;
    margin: 0;
    padding: 1rem 1.25rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-foreground);
}

.theme-thankyou-page ul.woocommerce-order-overview li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-body);
    color: var(--color-foreground);
}

.theme-thankyou-page ul.woocommerce-order-overview li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.theme-thankyou-page ul.woocommerce-order-overview li:first-child {
    padding-top: 0;
}

.theme-thankyou-page ul.woocommerce-order-overview li strong {
    font-weight: 700;
    color: var(--color-foreground);
    margin-left: 0.35rem;
}

.theme-thankyou-page .woocommerce-table--order-details.shop_table.order_details,
.theme-thankyou-page table.shop_table.order_details {
    width: 100%;
    margin-top: 0.5rem;
    border: 1px solid var(--color-border);
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-foreground);
    background: var(--color-background);
}

.theme-thankyou-page .woocommerce-table--order-details thead th,
.theme-thankyou-page table.shop_table.order_details thead th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    background: var(--color-card);
    color: var(--color-foreground);
    border-bottom: 1px solid var(--color-border);
}

.theme-thankyou-page .woocommerce-table--order-details tbody td,
.theme-thankyou-page .woocommerce-table--order-details tbody th,
.theme-thankyou-page table.shop_table.order_details tbody td,
.theme-thankyou-page table.shop_table.order_details tbody th {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
    font-family: var(--font-body);
    color: var(--color-foreground);
}

.theme-thankyou-page .woocommerce-table--order-details tbody tr:last-child td,
.theme-thankyou-page .woocommerce-table--order-details tbody tr:last-child th,
.theme-thankyou-page table.shop_table.order_details tbody tr:last-child td,
.theme-thankyou-page table.shop_table.order_details tbody tr:last-child th {
    border-bottom: none;
}

.theme-thankyou-page .woocommerce-table--order-details tfoot th,
.theme-thankyou-page .woocommerce-table--order-details tfoot td,
.theme-thankyou-page table.shop_table.order_details tfoot th,
.theme-thankyou-page table.shop_table.order_details tfoot td {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-secondary);
    font-family: var(--font-body);
    color: var(--color-foreground);
}

.theme-thankyou-page .woocommerce-table--order-details tfoot tr:first-child th,
.theme-thankyou-page .woocommerce-table--order-details tfoot tr:first-child td,
.theme-thankyou-page table.shop_table.order_details tfoot tr:first-child th,
.theme-thankyou-page table.shop_table.order_details tfoot tr:first-child td {
    border-top: 2px solid var(--color-border);
}

.theme-thankyou-page .woocommerce-order-details__title,
.theme-thankyou-page .woocommerce-column__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.theme-thankyou-page .woocommerce-customer-details address {
    font-style: normal;
    padding: 1rem 1.25rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-foreground);
    line-height: 1.6;
}

/* ── WooCommerce default overrides ───────────────────────────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background: var(--color-card);
}
.woocommerce-message::before { color: var(--color-primary); }

/* ── Inner page hero spacing ──────────────────────────────────────────────── */
.theme-no-hero .site-header:not(.is-transparent) { border-bottom-color: var(--color-border); }
