/*
 * ByThomas Commerce Core 1.0.3 — White-label visual token enforcement
 * Loaded after all page-specific styles. Its job is to keep Home, catalog,
 * product, institutional/legal pages, cart, search and footer on the same
 * configurable palette instead of leaking legacy beige/pink/brown values.
 */

:root{
  --btc-surface:#FFFDF8;
  --btc-accent:#C89B4B;
  --btc-accent-2:#8D6427;
  --btc-accent-soft:#E8D4A7;
  --btc-dark:#0D0B09;
  --btc-dark-2:#1B140E;
}

body.btc-core-active{
  background:var(--btc-paper)!important;
  color:var(--btc-ink)!important;
}

/* Core surfaces and readable controls */
body.btc-core-active .btc-header,
body.btc-core-active .btc-search-panel,
body.btc-core-active .btc-bag-drawer,
body.btc-core-active .btc-bag-drawer__footer,
body.btc-core-active .btc-contact-panel,
body.btc-core-active .btc-location-card,
body.btc-core-active .btc-location-info-card,
body.btc-core-active .btc-faq-item,
body.btc-core-active .btc-brand-select__list,
body.btc-core-active .btc-nav-catalog__panel{
  background:var(--btc-surface)!important;
  color:var(--btc-ink)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active .btc-header{
  background:var(--btc-surface)!important;
  border-bottom-color:color-mix(in srgb,var(--btc-line) 72%,transparent)!important;
}
body.btc-core-active .btc-header.is-scrolled{
  background:var(--btc-surface)!important;
  box-shadow:0 8px 28px color-mix(in srgb,var(--btc-dark) 8%,transparent)!important;
}

/* Navigation and interactive accents */
body.btc-core-active .btc-main-nav a:hover,
body.btc-core-active .btc-topbar a:hover,
body.btc-core-active .btc-nav-catalog.has-current .btc-nav-catalog__trigger,
body.btc-core-active .btc-story-values svg,
body.btc-core-active .btc-location-card>svg,
body.btc-core-active .btc-location-info-card>svg,
body.btc-core-active .btc-brand-select__chevron,
body.btc-core-active .btc-section-kicker,
body.btc-core-active .btc-ref-kicker{
  color:var(--btc-accent)!important;
}
body.btc-core-active a:focus-visible,
body.btc-core-active button:focus-visible,
body.btc-core-active input:focus-visible,
body.btc-core-active select:focus-visible,
body.btc-core-active textarea:focus-visible{
  outline-color:var(--btc-focus)!important;
}

/* Top promotional bar */
body.btc-core-active .btc-topbar{
  background:var(--btc-dark)!important;
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-topbar p,
body.btc-core-active .btc-topbar a,
body.btc-core-active .btc-topbar a:visited{
  color:var(--btc-on-dark)!important;
}

/* Buttons: black/brand contrast, gold as hover/detail rather than large fill */
body.btc-core-active .btc-btn--dark,
body.btc-core-active .btc-ref-button,
body.btc-core-active .btc-search-form button,
body.btc-core-active .btc-whatsapp-checkout:not(.btc-whatsapp-checkout--brand),
body.btc-core-active .woocommerce a.button:not(.btc-location-wa),
body.btc-core-active .woocommerce button.button:not(.btc-location-wa){
  background:var(--btc-dark)!important;
  border-color:var(--btc-dark)!important;
  color:var(--btc-on-dark)!important;
}
@media(hover:hover) and (pointer:fine){
  body.btc-core-active .btc-btn--dark:hover,
  body.btc-core-active .btc-ref-button:hover,
  body.btc-core-active .btc-search-form button:hover{
    background:var(--btc-accent-2)!important;
    border-color:var(--btc-accent-2)!important;
    color:var(--btc-dark)!important;
  }
}
body.btc-core-active .btc-btn--light,
body.btc-core-active .btc-fs-button--light{
  background:var(--btc-surface)!important;
  border-color:var(--btc-surface)!important;
  color:var(--btc-dark)!important;
}

/* Inputs, filters and custom selects */
body.btc-core-active input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
body.btc-core-active textarea,
body.btc-core-active select,
body.btc-core-active .btc-brand-select__button,
body.btc-core-active .btc-catalog-filters select,
body.btc-core-active .btc-catalog-filters input[type="number"]{
  background:var(--btc-surface)!important;
  color:var(--btc-ink)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active input::placeholder,
body.btc-core-active textarea::placeholder{color:var(--btc-muted)!important}
body.btc-core-active .btc-brand-select__option.is-selected,
body.btc-core-active .btc-faq-layout .btc-faq-item[open] summary,
body.btc-core-active .btc-catalog-active a{
  background:var(--btc-soft)!important;
  color:var(--btc-ink)!important;
  border-color:var(--btc-line)!important;
}

/* Generic text and dividers */
body.btc-core-active .btc-archive-hero p,
body.btc-core-active .btc-inner-hero p,
body.btc-core-active .btc-story-layout__copy p,
body.btc-core-active .btc-story-values p,
body.btc-core-active .btc-location-card p,
body.btc-core-active .btc-location-info-card p,
body.btc-core-active .btc-faq-panel__inner p,
body.btc-core-active .btc-product-card__meta,
body.btc-core-active .btc-bag-note,
body.btc-core-active .btc-bag-item__attrs,
body.btc-core-active .woocommerce-result-count{
  color:var(--btc-muted)!important;
}
body.btc-core-active .btc-story-values>div,
body.btc-core-active .btc-faq-item,
body.btc-core-active .btc-location-card,
body.btc-core-active .btc-contact-panel,
body.btc-core-active .btc-bag-drawer__head,
body.btc-core-active .btc-bag-drawer__footer,
body.btc-core-active .btc-bag-item,
body.btc-core-active .btc-qty{
  border-color:var(--btc-line)!important;
}

/* Inner, archive and institutional page chapters */
body.btc-core-active .btc-archive-hero,
body.btc-core-active .btc-inner-hero,
body.btc-core-active .btc-location-section,
body.btc-core-active .btc-faq-section{
  background:var(--btc-paper)!important;
  color:var(--btc-ink)!important;
}
body.btc-core-active .btc-inner-hero{
  background:linear-gradient(180deg,var(--btc-paper) 0%,var(--btc-soft) 100%)!important;
}

/* HOME — Occasion chapter. This specifically replaces the old fixed rose/beige gradient. */
body.btc-core-active .btc-home .btc-ref-occasions{
  background:linear-gradient(118deg,var(--btc-dark) 0%,var(--btc-dark-2) 58%,color-mix(in srgb,var(--btc-dark-2) 76%,var(--btc-accent) 24%) 100%)!important;
  color:var(--btc-on-dark)!important;
  border-top:1px solid color-mix(in srgb,var(--btc-accent) 22%,transparent)!important;
  border-bottom:1px solid color-mix(in srgb,var(--btc-accent) 22%,transparent)!important;
}
body.btc-core-active .btc-home .btc-ref-occasions::before{
  background:radial-gradient(circle at 12% 16%,color-mix(in srgb,var(--btc-accent) 13%,transparent),transparent 38%)!important;
}
body.btc-core-active .btc-home .btc-ref-occasions__intro h2,
body.btc-core-active .btc-home .btc-ref-occasion-col h3,
body.btc-core-active .btc-home .btc-ref-occasions .btc-ref-link,
body.btc-core-active .btc-home .btc-ref-occasions .btc-ref-link:visited{
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-home .btc-ref-occasions__intro p,
body.btc-core-active .btc-home .btc-ref-occasion-col p{
  color:var(--btc-on-dark-muted)!important;
}
body.btc-core-active .btc-home .btc-ref-occasion-col>span,
body.btc-core-active .btc-home .btc-ref-occasions .btc-ref-link span{
  color:var(--btc-accent)!important;
}
body.btc-core-active .btc-home .btc-ref-occasion-col{
  border-color:color-mix(in srgb,var(--btc-accent) 24%,transparent)!important;
}
body.btc-core-active .btc-home .btc-ref-occasions .btc-ref-link{
  border-bottom-color:color-mix(in srgb,var(--btc-accent) 62%,transparent)!important;
}
@media(hover:hover) and (pointer:fine){
  body.btc-core-active .btc-home .btc-ref-occasions .btc-ref-link:hover{
    color:var(--btc-accent-soft)!important;
    border-bottom-color:var(--btc-accent)!important;
  }
}

/* Dark editorial/institutional blocks */
body.btc-core-active .btc-faq-side,
body.btc-core-active .btc-location-premium__main,
body.btc-core-active .btc-location-map__info{
  background:linear-gradient(145deg,var(--btc-dark-2),var(--btc-dark))!important;
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-faq-side h2,
body.btc-core-active .btc-location-premium__copy h2,
body.btc-core-active .btc-location-map__info h2,
body.btc-core-active .btc-location-premium__address{
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-faq-side p,
body.btc-core-active .btc-location-premium__copy p,
body.btc-core-active .btc-location-map__info p,
body.btc-core-active .btc-location-map__info address{
  color:var(--btc-on-dark-muted)!important;
}
body.btc-core-active .btc-faq-side .btc-section-kicker,
body.btc-core-active .btc-location-premium__copy .btc-section-kicker,
body.btc-core-active .btc-location-map__info .btc-section-kicker{
  color:var(--btc-accent)!important;
}

/* Footer owns the darkest closing chapter on every page */
body.btc-core-active .btc-site-footer{
  background:var(--btc-dark)!important;
  color:var(--btc-on-dark)!important;
  border-color:color-mix(in srgb,var(--btc-accent) 22%,transparent)!important;
}
body.btc-core-active .btc-site-footer__visit,
body.btc-core-active .btc-site-footer__top,
body.btc-core-active .btc-site-footer__bottom,
body.btc-core-active .btc-site-footer__group{
  border-color:color-mix(in srgb,var(--btc-accent) 20%,transparent)!important;
}
body.btc-core-active .btc-site-footer h3,
body.btc-core-active .btc-site-footer__nav h3,
body.btc-core-active .btc-site-footer__eyebrow{
  color:var(--btc-accent)!important;
}
body.btc-core-active .btc-site-footer__visit-copy p,
body.btc-core-active .btc-site-footer__brand p,
body.btc-core-active .btc-site-footer__bottom,
body.btc-core-active .btc-site-footer li,
body.btc-core-active .btc-site-footer li span{
  color:var(--btc-on-dark-muted)!important;
}
body.btc-core-active .btc-site-footer a,
body.btc-core-active .btc-site-footer a:link,
body.btc-core-active .btc-site-footer a:visited{
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-site-footer__route{
  background:var(--btc-surface)!important;
  color:var(--btc-dark)!important;
  border-color:var(--btc-surface)!important;
}

/* Catalog */
body.btc-core-active .btc-catalog-tools{
  border-color:var(--btc-line)!important;
}
body.btc-core-active .btc-catalog-tools__toggle:focus-visible,
body.btc-core-active .btc-catalog-active a:focus-visible,
body.btc-core-active .btc-catalog-filters__actions a:focus-visible{
  outline-color:var(--btc-focus)!important;
}
body.btc-core-active .btc-catalog-filters label>span{color:var(--btc-muted)!important}
body.btc-core-active .btc-catalog-filters__checks input{accent-color:var(--btc-accent)!important}
body.btc-core-active .btc-catalog-filters,
body.btc-core-active .btc-catalog-filters select,
body.btc-core-active .btc-catalog-filters input[type="number"]{
  background:var(--btc-surface)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active .btc-catalog-filters__actions button{
  background:var(--btc-dark)!important;
  border-color:var(--btc-dark)!important;
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-catalog-filters__actions a,
body.btc-core-active .btc-catalog-active a span{color:var(--btc-accent-2)!important}

/* WooCommerce loops and product page */
body.btc-core-active.woocommerce .woocommerce-ordering select,
body.btc-core-active.woocommerce ul.products li.product .button,
body.btc-core-active.woocommerce nav.woocommerce-pagination ul li a,
body.btc-core-active.woocommerce nav.woocommerce-pagination ul li span{
  background:var(--btc-surface)!important;
  color:var(--btc-ink)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--btc-dark)!important;
  color:var(--btc-on-dark)!important;
  border-color:var(--btc-dark)!important;
}
body.btc-core-active.single-product .btc-product-gallery__zoom{
  background:color-mix(in srgb,var(--btc-surface) 92%,transparent)!important;
  color:var(--btc-ink)!important;
  border-color:color-mix(in srgb,var(--btc-line) 74%,transparent)!important;
}
body.btc-core-active .btc-product-lightbox__backdrop{
  background:color-mix(in srgb,var(--btc-dark) 94%,transparent)!important;
}
body.btc-core-active .btc-product-lightbox__counter,
body.btc-core-active .btc-product-lightbox__stage figcaption{color:var(--btc-on-dark-muted)!important}
body.btc-core-active .btc-product-lightbox__dialog,
body.btc-core-active .btc-product-lightbox__close,
body.btc-core-active .btc-product-lightbox__arrow{color:var(--btc-on-dark)!important}

/* Legal pages inherit the exact store palette. */
body.btc-core-active .btc-legal-page{
  --legal-paper:var(--btc-paper);
  --legal-surface:var(--btc-soft);
  --legal-line:var(--btc-line);
  --legal-ink:var(--btc-ink);
  --legal-muted:var(--btc-muted);
  --legal-accent:var(--btc-accent);
  background:var(--btc-paper)!important;
  color:var(--btc-ink)!important;
}
body.btc-core-active .btc-legal-hero{
  background:linear-gradient(180deg,var(--btc-soft) 0%,var(--btc-paper) 100%)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active .btc-legal-eyebrow,
body.btc-core-active .btc-legal-list li::marker,
body.btc-core-active .btc-legal-index,
body.btc-core-active .btc-cookie-list span{color:var(--btc-accent-2)!important}
body.btc-core-active .btc-legal-block,
body.btc-core-active .btc-legal-grid>div,
body.btc-core-active .btc-cookie-list>div,
body.btc-core-active .btc-legal-nav a{
  background:var(--btc-surface)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active .btc-legal-block--references,
body.btc-core-active .btc-legal-note{background:var(--btc-soft)!important}
body.btc-core-active .btc-legal-block a,
body.btc-core-active .btc-legal-nav a.is-active{color:var(--btc-accent-2)!important}
body.btc-core-active .btc-legal-contact{
  background:linear-gradient(145deg,var(--btc-dark-2),var(--btc-dark))!important;
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-legal-contact h2,
body.btc-core-active .btc-legal-contact dd,
body.btc-core-active .btc-legal-contact a:not(.btc-legal-btn--whatsapp){color:var(--btc-on-dark)!important}
body.btc-core-active .btc-legal-contact p,
body.btc-core-active .btc-legal-contact .btc-legal-eyebrow,
body.btc-core-active .btc-legal-contact dt{color:var(--btc-on-dark-muted)!important}
body.btc-core-active .btc-legal-btn--primary,
body.btc-core-active .btc-legal-btn--primary:visited{
  background:var(--btc-surface)!important;
  border-color:var(--btc-surface)!important;
  color:var(--btc-dark)!important;
  -webkit-text-fill-color:var(--btc-dark)!important;
}

/* Scrollbars belong to the brand instead of the legacy brown palette. */
html{scrollbar-color:var(--btc-accent-2) var(--btc-soft)}
html::-webkit-scrollbar-track,
.btc-main-nav::-webkit-scrollbar-track,
.btc-bag-drawer__body::-webkit-scrollbar-track,
.btc-search-panel::-webkit-scrollbar-track,
.btc-search-preview__results::-webkit-scrollbar-track,
.btc-brand-select__list::-webkit-scrollbar-track{background:var(--btc-soft)!important}
html::-webkit-scrollbar-thumb,
.btc-main-nav::-webkit-scrollbar-thumb,
.btc-bag-drawer__body::-webkit-scrollbar-thumb,
.btc-search-panel::-webkit-scrollbar-thumb,
.btc-search-preview__results::-webkit-scrollbar-thumb,
.btc-brand-select__list::-webkit-scrollbar-thumb{
  background:var(--btc-accent-2)!important;
  border-color:var(--btc-soft)!important;
}

/* WhatsApp intentionally keeps its official green; it is an action brand, not a store color. */

/* Home light chapters use the same neutral system; no legacy rose/beige survives. */
body.btc-core-active .btc-ref-hero,
body.btc-core-active .btc-ref-hero__stage,
body.btc-core-active .btc-ref-categories,
body.btc-core-active .btc-ref-products,
body.btc-core-active .btc-ref-services,
body.btc-core-active .btc-ref-services--after-hero{
  background:var(--btc-paper)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active .btc-ref-hero{
  background:linear-gradient(90deg,var(--btc-paper) 0%,var(--btc-soft) 36%,var(--btc-soft) 36%,var(--btc-soft) 100%)!important;
}
body.btc-core-active .btc-ref-category-card__media,
body.btc-core-active .btc-ref-edit__image{background:var(--btc-soft)!important}
body.btc-core-active .btc-ref-edit{
  background:linear-gradient(120deg,var(--btc-paper) 0%,var(--btc-soft) 100%)!important;
  color:var(--btc-ink)!important;
}
body.btc-core-active .btc-ref-edit__copy p{color:var(--btc-muted)!important}
body.btc-core-active .btc-ref-edit__index{
  border-color:var(--btc-line)!important;
  color:var(--btc-accent-2)!important;
}
body.btc-core-active .btc-ref-edit__index small{color:var(--btc-accent-2)!important}
body.btc-core-active .btc-ref-number{color:var(--btc-muted)!important}
body.btc-core-active .btc-ref-number.is-active:after{background:var(--btc-accent)!important}
body.btc-core-active .btc-ref-button{
  background:var(--btc-dark)!important;
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-ref-link{color:var(--btc-ink)!important;border-color:var(--btc-line)!important}
body.btc-core-active .btc-ref-link span{color:var(--btc-accent)!important}

/* Category/menu icon cards */
body.btc-core-active .btc-nav-catalog__root{
  background:var(--btc-paper)!important;
  border-color:var(--btc-line)!important;
  color:var(--btc-ink)!important;
}
body.btc-core-active .btc-category-icon{
  background:var(--btc-surface)!important;
  border-color:var(--btc-line)!important;
  color:var(--btc-accent-2)!important;
}
@media(hover:hover) and (pointer:fine){
  body.btc-core-active .btc-nav-catalog__root:hover{
    background:var(--btc-soft)!important;
    border-color:var(--btc-accent-soft)!important;
  }
}


/* ==========================================================================
   1.0.2 — AVELYREN / Luxury Noir editorial refinement
   The palette remains token-driven and white-label; these rules only define
   hierarchy so the same tokens stay coherent across every storefront page.
   ========================================================================== */

/* Warm ivory chrome instead of sterile white. */
body.btc-core-active .btc-header,
body.btc-core-active .btc-header.is-scrolled{
  background:var(--btc-paper)!important;
  border-bottom-color:color-mix(in srgb,var(--btc-accent-2) 18%,var(--btc-line))!important;
}
body.btc-core-active .btc-nav-catalog__panel,
body.btc-core-active .btc-search-panel,
body.btc-core-active .btc-bag-drawer,
body.btc-core-active .btc-bag-drawer__footer{
  background:var(--btc-surface)!important;
}

/* Antique gold is the primary action on dark/editorial surfaces. */
body.btc-core-active .btc-btn--dark,
body.btc-core-active .btc-ref-button,
body.btc-core-active .btc-catalog-filters__actions button,
body.btc-core-active .btc-search-form button,
body.btc-core-active .woocommerce a.button:not(.btc-location-wa),
body.btc-core-active .woocommerce button.button:not(.btc-location-wa){
  background:var(--btc-accent)!important;
  border-color:var(--btc-accent)!important;
  color:var(--btc-dark)!important;
}
@media(hover:hover) and (pointer:fine){
  body.btc-core-active .btc-btn--dark:hover,
  body.btc-core-active .btc-ref-button:hover,
  body.btc-core-active .btc-catalog-filters__actions button:hover,
  body.btc-core-active .btc-search-form button:hover{
    background:var(--btc-accent-2)!important;
    border-color:var(--btc-accent-2)!important;
    color:var(--btc-on-dark)!important;
  }
}

/* Hero: dark editorial canvas; real banner images sit above this fallback. */
body.btc-core-active .btc-home .btc-ref-hero{
  background:linear-gradient(108deg,var(--btc-dark) 0%,var(--btc-dark-2) 58%,color-mix(in srgb,var(--btc-dark-2) 84%,var(--btc-accent) 16%) 100%)!important;
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-home .btc-ref-hero__copy h1,
body.btc-core-active .btc-home .btc-ref-hero__copy .btc-ref-link,
body.btc-core-active .btc-home .btc-ref-hero__copy .btc-ref-link:visited{
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-home .btc-ref-hero__copy>p{color:var(--btc-on-dark-muted)!important}
body.btc-core-active .btc-home .btc-ref-hero__copy .btc-section-kicker,
body.btc-core-active .btc-home .btc-ref-hero__copy .btc-ref-kicker,
body.btc-core-active .btc-home .btc-ref-number.is-active{color:var(--btc-accent)!important}
body.btc-core-active .btc-home .btc-ref-hero__copy .btc-ref-link{border-color:color-mix(in srgb,var(--btc-accent) 58%,transparent)!important}
body.btc-core-active .btc-home .btc-ref-hero__stage{
  background:linear-gradient(135deg,var(--btc-dark-2),color-mix(in srgb,var(--btc-dark) 76%,var(--btc-accent) 24%))!important;
}

/* Trust/benefit bar stays light and warm, matching the ivory header. */
body.btc-core-active .btc-ref-services,
body.btc-core-active .btc-ref-services--after-hero{
  background:var(--btc-surface)!important;
  border-color:var(--btc-line)!important;
}
body.btc-core-active .btc-ref-services__grid>div{border-color:var(--btc-line)!important}
body.btc-core-active .btc-ref-services svg{stroke:var(--btc-accent-2)!important}
body.btc-core-active .btc-ref-services strong{color:var(--btc-ink)!important}
body.btc-core-active .btc-ref-services span{color:var(--btc-muted)!important}

/* Light commerce chapters: warm paper, no rose/pink leakage. */
body.btc-core-active .btc-ref-categories,
body.btc-core-active .btc-ref-products,
body.btc-core-active .btc-product-section,
body.btc-core-active .btc-archive-hero,
body.btc-core-active .btc-woo-content,
body.btc-core-active .btc-inner-section{
  background:var(--btc-paper)!important;
}
body.btc-core-active .btc-ref-category-card__media,
body.btc-core-active .btc-product-card__media,
body.btc-core-active.woocommerce ul.products li.product img{
  background:var(--btc-soft)!important;
}

/* Editorial chapter is intentionally dark, like the approved visual mockup. */
body.btc-core-active .btc-home .btc-ref-edit{
  background:linear-gradient(112deg,var(--btc-dark) 0%,var(--btc-dark-2) 72%,color-mix(in srgb,var(--btc-dark-2) 82%,var(--btc-accent) 18%) 100%)!important;
  color:var(--btc-on-dark)!important;
  border-color:color-mix(in srgb,var(--btc-accent) 20%,transparent)!important;
}
body.btc-core-active .btc-home .btc-ref-edit__image{
  background:linear-gradient(145deg,var(--btc-dark-2),var(--btc-dark))!important;
}
body.btc-core-active .btc-home .btc-ref-edit__copy h2,
body.btc-core-active .btc-home .btc-ref-edit__copy .btc-ref-link,
body.btc-core-active .btc-home .btc-ref-edit__copy .btc-ref-link:visited{
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-home .btc-ref-edit__copy p{color:var(--btc-on-dark-muted)!important}
body.btc-core-active .btc-home .btc-ref-edit__index{
  border-color:color-mix(in srgb,var(--btc-accent) 30%,transparent)!important;
  color:var(--btc-accent)!important;
}
body.btc-core-active .btc-home .btc-ref-edit__index small,
body.btc-core-active .btc-home .btc-ref-edit .btc-ref-kicker{color:var(--btc-accent)!important}
body.btc-core-active .btc-home .btc-ref-edit__copy .btc-ref-link{
  border-color:color-mix(in srgb,var(--btc-accent) 60%,transparent)!important;
}

/* Occasion chapter: espresso-to-bronze depth, less flat black. */
body.btc-core-active .btc-home .btc-ref-occasions{
  background:
    radial-gradient(circle at 84% 16%,color-mix(in srgb,var(--btc-accent) 12%,transparent),transparent 34%),
    linear-gradient(108deg,var(--btc-dark) 0%,var(--btc-dark-2) 68%,color-mix(in srgb,var(--btc-dark-2) 78%,var(--btc-accent) 22%) 100%)!important;
}

/* Light cards and controls retain a warm ivory/cream feel site-wide. */
body.btc-core-active .btc-faq-item,
body.btc-core-active .btc-location-card,
body.btc-core-active .btc-location-info-card,
body.btc-core-active .btc-contact-panel,
body.btc-core-active .btc-legal-block,
body.btc-core-active .btc-legal-grid>div,
body.btc-core-active .btc-cookie-list>div,
body.btc-core-active .btc-legal-nav a,
body.btc-core-active input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
body.btc-core-active textarea,
body.btc-core-active select,
body.btc-core-active .btc-brand-select__button{
  background:var(--btc-surface)!important;
}

/* Gold text on light backgrounds uses the darker accessible antique tone. */
body.btc-core-active .btc-ref-categories .btc-ref-kicker,
body.btc-core-active .btc-ref-products .btc-ref-kicker,
body.btc-core-active .btc-archive-hero .btc-section-kicker,
body.btc-core-active .btc-inner-hero .btc-section-kicker,
body.btc-core-active .btc-legal-eyebrow,
body.btc-core-active .btc-catalog-filters__actions a,
body.btc-core-active .btc-catalog-active a span{
  color:var(--btc-accent-2)!important;
}

/* Footer stays the deepest black and carries restrained antique-gold dividers. */
body.btc-core-active .btc-site-footer{
  background:linear-gradient(180deg,var(--btc-dark) 0%,#080706 100%)!important;
}
body.btc-core-active .btc-site-footer__route{
  background:var(--btc-paper)!important;
  border-color:var(--btc-paper)!important;
  color:var(--btc-dark)!important;
}

/* Product/archive current states use gold rather than a separate black accent. */
body.btc-core-active.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--btc-accent)!important;
  border-color:var(--btc-accent)!important;
  color:var(--btc-dark)!important;
}
body.btc-core-active .btc-catalog-filters__checks input{accent-color:var(--btc-accent)!important}


/* ==========================================================
   1.0.3 — AVELYREN approved logo preset
   Only applies to the bundled demo logo. Client-uploaded logos
   keep the generic white-label sizing and treatment.
========================================================== */
body.btc-core-active .btc-header--avelyren .btc-header__inner{
  grid-template-columns:190px minmax(0,1fr) auto!important;
}
body.btc-core-active .btc-brand--builtin-avelyren{
  width:180px!important;
  height:58px!important;
  overflow:visible!important;
}
body.btc-core-active .btc-brand--builtin-avelyren img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:none!important;
  opacity:1!important;
}
body.btc-core-active .btc-site-footer .btc-brand--footer.btc-brand--builtin-avelyren{
  width:205px!important;
  height:58px!important;
}
body.btc-core-active .btc-site-footer .btc-brand--footer.btc-brand--builtin-avelyren img{
  filter:none!important;
  opacity:1!important;
}
body.btc-core-active .btc-site-intro--avelyren .btc-site-intro__inner{
  width:min(84vw,430px)!important;
}
body.btc-core-active .btc-site-intro--avelyren .btc-site-intro__mark--avelyren{
  width:min(82vw,390px)!important;
  aspect-ratio:1200/290!important;
}
body.btc-core-active .btc-site-intro--avelyren .btc-site-intro__caption{display:none!important}
@media(max-width:760px){
  body.btc-core-active .btc-header--avelyren .btc-header__inner{
    grid-template-columns:minmax(0,1fr) 44px auto!important;
  }
  body.btc-core-active .btc-brand--builtin-avelyren{
    width:148px!important;
    height:48px!important;
  }
  body.btc-core-active .btc-site-footer .btc-brand--footer.btc-brand--builtin-avelyren{
    width:190px!important;
    height:54px!important;
    margin-inline:auto!important;
  }
}
@media(max-width:360px){
  body.btc-core-active .btc-brand--builtin-avelyren{width:138px!important}
}


/* ==========================================================
   1.0.4 — product image fidelity + contrast-safe commerce UI
   Research basis: WCAG 2.2 contrast guidance and WooCommerce's
   recommendation to avoid scaling catalog thumbnails past their source size.
   ========================================================== */

/* Light surfaces: decorative champagne stays in borders/icons; readable
   navigation, kickers and commercial text use the darker derived accent. */
body.btc-core-active .btc-header .btc-main-nav a:hover,
body.btc-core-active .btc-header .btc-main-nav a[aria-current="page"],
body.btc-core-active .btc-header .current-menu-item>a,
body.btc-core-active .btc-header .btc-nav-catalog.has-current .btc-nav-catalog__trigger,
body.btc-core-active .btc-inner-hero .btc-section-kicker,
body.btc-core-active .btc-archive-hero .btc-section-kicker,
body.btc-core-active .btc-ref-categories .btc-ref-kicker,
body.btc-core-active .btc-ref-products .btc-ref-kicker,
body.btc-core-active .btc-category-icon,
body.btc-core-active .btc-ref-link span{
  color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
}


/* Focus indicators are UI graphics, so keep at least a clearly visible darker
   brand tone on light surfaces. */
body.btc-core-active a:focus-visible,
body.btc-core-active button:focus-visible,
body.btc-core-active input:focus-visible,
body.btc-core-active select:focus-visible,
body.btc-core-active textarea:focus-visible{
  outline-color:var(--btc-focus-safe,var(--btc-accent-2))!important;
}
body.btc-core-active .btc-catalog-tools__clear{
  color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
}
body.btc-core-active .btc-catalog-filters label>span{
  color:var(--btc-muted-safe,var(--btc-muted))!important;
  font-size:13px!important;
}

/* Body/secondary copy must remain readable on ivory. */
body.btc-core-active .btc-archive-hero p,
body.btc-core-active .btc-inner-hero p,
body.btc-core-active .btc-product-card__sizes,
body.btc-core-active .btc-woocommerce-shell .woocommerce-result-count{
  color:var(--btc-muted-safe,var(--btc-muted))!important;
}
body.btc-core-active .btc-product-card__sizes span{
  color:var(--btc-muted-safe,var(--btc-muted))!important;
  font-weight:650!important;
}
body.btc-core-active .btc-product-card__title-row>span{
  color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
}

/* Current/sale chip text is computed against the configured fill, avoiding
   white-on-light-gold failures when a client changes the palette. */
body.btc-core-active .btc-sale-discount{
  color:var(--btc-on-sale,#fff)!important;
  -webkit-text-fill-color:var(--btc-on-sale,#fff)!important;
}
body.btc-core-active.woocommerce nav.woocommerce-pagination ul li span.current{
  color:var(--btc-on-accent,var(--btc-dark))!important;
}

/* Native and Commerce Core product cards use a high-resolution responsive
   source. CSS still owns the exact card geometry; no visual size increases. */
body.btc-core-active .btc-product-card__image,
body.btc-core-active.woocommerce ul.products li.product img{
  image-rendering:auto!important;
  -webkit-font-smoothing:antialiased;
}

/* Promotions receive a deliberate dark editorial chapter. Unlike the old
   mixed state, all copy now switches together to the on-dark palette. */
body.btc-core-active .btc-commerce-page--sale .btc-commerce-hero{
  background:
    radial-gradient(circle at 82% 18%,color-mix(in srgb,var(--btc-accent) 10%,transparent),transparent 34%),
    linear-gradient(112deg,var(--btc-dark) 0%,var(--btc-dark-2) 72%,color-mix(in srgb,var(--btc-dark-2) 84%,var(--btc-accent) 16%) 100%)!important;
  color:var(--btc-on-dark)!important;
  border-bottom:1px solid color-mix(in srgb,var(--btc-accent) 18%,transparent)!important;
}
body.btc-core-active .btc-commerce-page--sale .btc-commerce-hero h1{
  color:var(--btc-on-dark)!important;
}
body.btc-core-active .btc-commerce-page--sale .btc-commerce-hero p{
  color:var(--btc-on-dark-safe,var(--btc-on-dark-muted))!important;
}
body.btc-core-active .btc-commerce-page--sale .btc-commerce-hero .btc-section-kicker{
  color:var(--btc-accent)!important;
}
body.btc-core-active .btc-commerce-page--sale .btc-inner-section{
  background:var(--btc-paper)!important;
}

/* News stays a quiet light chapter, creating visual distinction from Sale. */
body.btc-core-active .btc-commerce-page--news .btc-commerce-hero{
  background:linear-gradient(180deg,var(--btc-paper) 0%,var(--btc-soft) 100%)!important;
  color:var(--btc-ink)!important;
}
body.btc-core-active .btc-commerce-page--news .btc-commerce-hero h1{color:var(--btc-ink)!important}
body.btc-core-active .btc-commerce-page--news .btc-commerce-hero p{color:var(--btc-muted-safe,var(--btc-muted))!important}
body.btc-core-active .btc-commerce-page--news .btc-commerce-hero .btc-section-kicker{color:var(--btc-accent-on-light,var(--btc-accent-2))!important}

/* Product pricing: keep the reference price readable rather than fading it
   below contrast just because it is struck through. */
body.btc-core-active .btc-product-card__price del,
body.btc-core-active.woocommerce ul.products li.product .price del,
body.btc-core-active.single-product div.product p.price del,
body.btc-core-active.single-product div.product span.price del{
  color:var(--btc-muted-safe,var(--btc-muted))!important;
  -webkit-text-fill-color:var(--btc-muted-safe,var(--btc-muted))!important;
  opacity:1!important;
}

@media(max-width:760px){
  body.btc-core-active .btc-commerce-page--sale .btc-commerce-hero{
    text-align:center!important;
    padding-top:38px!important;
    padding-bottom:28px!important;
  }
  body.btc-core-active .btc-commerce-page--sale .btc-commerce-hero h1,
  body.btc-core-active .btc-commerce-page--sale .btc-commerce-hero p{
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* ==========================================================
   1.0.5 — menu hover legibility + lighter sale discount chip
   Keeps the mega-menu on a light editorial surface during hover and
   removes the dark-on-dark feeling from the percentage discount badge.
   ========================================================== */

/* Product mega-menu: some theme/global anchor hover rules can paint the
   category root dark. Lock this component to a light champagne interaction
   state and explicitly carry readable text colors through every child. */
body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root,
body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root:visited{
  background:var(--btc-surface)!important;
  border-color:var(--btc-line)!important;
  color:var(--btc-ink)!important;
  -webkit-text-fill-color:var(--btc-ink)!important;
}
body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root .btc-nav-catalog__root-copy{
  color:var(--btc-ink)!important;
  -webkit-text-fill-color:var(--btc-ink)!important;
}
body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root .btc-nav-catalog__root-arrow{
  color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
  -webkit-text-fill-color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
}
@media(hover:hover) and (pointer:fine){
  body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root:hover{
    background:var(--btc-soft)!important;
    background:color-mix(in srgb,var(--btc-accent-soft) 34%,var(--btc-surface) 66%)!important;
    border-color:var(--btc-accent-soft)!important;
    color:var(--btc-ink)!important;
    -webkit-text-fill-color:var(--btc-ink)!important;
    box-shadow:0 8px 22px color-mix(in srgb,var(--btc-dark) 7%,transparent)!important;
  }
  body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root:hover .btc-nav-catalog__root-copy{
    color:var(--btc-ink)!important;
    -webkit-text-fill-color:var(--btc-ink)!important;
  }
  body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root:hover .btc-category-icon{
    background:var(--btc-surface)!important;
    border-color:var(--btc-accent-soft)!important;
    color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
  }
  body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root:hover .btc-nav-catalog__root-arrow{
    color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
    -webkit-text-fill-color:var(--btc-accent-on-light,var(--btc-accent-2))!important;
  }
}
body.btc-core-active .btc-header .btc-main-nav .btc-nav-catalog__panel a.btc-nav-catalog__root:focus-visible{
  background:var(--btc-soft)!important;
  background:color-mix(in srgb,var(--btc-accent-soft) 34%,var(--btc-surface) 66%)!important;
  color:var(--btc-ink)!important;
  -webkit-text-fill-color:var(--btc-ink)!important;
}

/* Percentage discount: use a light champagne chip with strong dark copy.
   The sale price itself remains antique gold, so the hierarchy is still
   premium without placing small black text on a muddy/dark fill. */
body.btc-core-active .btc-sale-discount,
body.btc-core-active .btc-sale-discount--loop,
body.btc-core-active .btc-sale-discount--single{
  background:var(--btc-soft)!important;
  background:color-mix(in srgb,var(--btc-accent-soft) 62%,var(--btc-surface) 38%)!important;
  border:1px solid color-mix(in srgb,var(--btc-accent) 46%,var(--btc-line) 54%)!important;
  color:var(--btc-ink)!important;
  -webkit-text-fill-color:var(--btc-ink)!important;
  font-weight:850!important;
  box-shadow:none!important;
}
