/* IrwaStyle V3.7 — state-aware theme ink; fixes regression caused by v3.6 generic link rule.
   Primary selected filter chips are DARK FILLED. Never assign a link-on-white ink there. */
.storefront .easy-filter-scroll button.chosen,
.storefront .easy-filter-scroll button.chosen:hover,
.storefront .easy-filter-scroll button.chosen:focus-visible,
.storefront .filter-tabs .filter-tab.is-selected,
.storefront .filter-tabs .filter-tab.is-selected:hover {
 background:var(--site-primary,#77344f)!important;
 border-color:var(--site-primary,#77344f)!important;
 color:var(--site-on-primary,#ffffff)!important;
 opacity:1!important;
 text-shadow:none!important;
}
.storefront .easy-filter-scroll button:not(.chosen),
.storefront .filter-tabs .filter-tab:not(.is-selected){
 background:#fff!important;
 color:var(--site-link-on-white,#77344f)!important;
 border-color:#e4c8d5!important;
}
.storefront .easy-filter-scroll button:not(.chosen):hover,
.storefront .filter-tabs .filter-tab:not(.is-selected):hover{
 background:#fff4f8!important;
 color:var(--site-link-on-white,#77344f)!important;
 border-color:var(--site-link-on-white,#77344f)!important;
}
.storefront .easy-filter-scroll button:focus-visible,
.storefront .filter-tabs .filter-tab:focus-visible{
 outline:2px solid #ffffff!important;
 outline-offset:2px!important;
 box-shadow:0 0 0 5px #251525!important;
}
/* Switching from dark to light palettes must not animate through unreadable mid-colours.
   Keep only non-colour movement; theme ink changes instantly. */
.storefront .easy-filter-scroll button,
.storefront .filter-tabs .filter-tab{transition-property:transform,box-shadow!important;transition-duration:.18s!important}
/* Theme palettes may be very light; announcement, footer and promotional links must follow the fill. */
.storefront .store-announcement{
 background:var(--site-primary,#77344f)!important;
 color:var(--site-on-primary,#ffffff)!important;
}
.storefront footer :is(h3,p,span,a):not(.btn){color:var(--site-on-primary,#ffffff)!important}
.storefront footer :is(p,small){opacity:.9}
.storefront footer a.btn,
.storefront footer a.btn *{background:#fff!important;color:var(--site-link-on-white,#77344f)!important;opacity:1!important}
.storefront .blog-shop-prompt a{background:var(--site-primary,#77344f)!important;color:var(--site-on-primary,#fff)!important}
/* Prevent the original first-child colour rule from repainting a live API error as a success banner. */
.storefront>div[role=alert]:first-child{background:#fff1bf!important;color:#6b3908!important}
/* Owner's photo controls; directly beside the image uploader so nobody has to discover an advanced menu. */
.easy-topline:has(.easy-quick-jumps){flex-wrap:wrap}
.easy-quick-jumps{display:flex;flex-basis:100%;flex-wrap:wrap;gap:8px;margin:5px 0 0}
.easy-quick-jumps a{border:1px solid #dfbdcb;border-radius:999px;padding:9px 13px;background:#fff6fa;color:#66304c;font-size:12px;font-weight:800;text-decoration:none}
.easy-quick-jumps a:hover{background:#fceaf1}
.easy-direct-sizes{display:grid;gap:10px;padding:15px;border:1px solid #f0cddb;background:#fffbfd;border-radius:14px}
.easy-direct-sizes>strong{font-size:14px;color:#6a304d}
.easy-direct-sizes>p{font-size:12px!important;line-height:1.55;color:#77586a!important;margin:0!important}
.easy-direct-sizes .easy-tweak-control{padding:8px 0}
.easy-direct-sizes .easy-tweak-control input[type=range]{min-height:40px}
.easy-direct-sizes .easy-tweak-label output{font-size:14px;font-weight:850;min-width:57px;text-align:center}
#logo-sizing,#banner-sizing,#photo-sizing{scroll-margin-top:105px}
.storefront[data-tweaks=custom] .easy-category-photo{
 width:min(100%,var(--t-category-desktop,165px));max-width:var(--t-category-desktop,165px)!important;height:auto;aspect-ratio:1;
}
@media(max-width:767px){
 .storefront[data-tweaks=custom] .easy-category-photo{width:clamp(64px,calc(18vw + (var(--t-category-size,82px) - 82px)),var(--t-category-size,82px));height:auto;aspect-ratio:1}
}
@media(prefers-reduced-motion:reduce){.easy-quick-jumps a,.storefront .easy-filter-scroll button{transition:none!important}}
