/* Colour and motion only. Geometry remains in storefront.css. */
.storefront {
    --primary:#7c3aed;
    --ink:#21143d;
    --muted:#70697f;
    --line:#ece7f5;
    --mint:#f3edff;
    --price:var(--primary);
    --accent:#cc299f;
    --action-gradient:linear-gradient(100deg,#5b21b6 0%,#7c3aed 55%,#9743ff 100%);
    background:#f8f6fc;
    color:var(--ink);
}
.storefront[style*="--primary:"]{--action-gradient:linear-gradient(100deg,color-mix(in srgb,var(--primary) 82%,#24103e) 0%,var(--primary) 55%,color-mix(in srgb,var(--primary) 80%,#f4a3ff) 100%)}
.storefront a:focus-visible,.storefront button:focus-visible{outline-color:#b69af2}
.storefront .market-header{background:#fff;color:var(--ink);box-shadow:0 1px 0 var(--line),0 4px 18px #25123b06}
.storefront .market-logo{color:var(--primary)}
.storefront .market-search{background:#f6f2fc;box-shadow:inset 0 0 0 1px #eee6f8}
.storefront .market-search input{color:var(--ink)}
.storefront .market-search input::placeholder{color:#8b809c}
.storefront .market-icon{background:var(--mint);color:var(--primary)}
.storefront .market-icon:hover{background:#e9dcfb}
.storefront .market-count{background:var(--primary)}
.storefront .shop-rail{border-color:var(--line)}
.storefront .rail-category-link>svg:last-child{color:#ad9bc3}
.storefront .rail-secondary a{color:var(--muted)}
.storefront .rail-secondary a:hover{color:var(--primary)}
.storefront .category-flyout{box-shadow:10px 14px 35px #3f1b6912}
.storefront .market-slide{background:linear-gradient(115deg,#faf6ff 0%,#f0e5ff 55%,#e4d1fc 100%)}
.storefront .market-hero{touch-action:pan-y pinch-zoom}
.storefront .slide-home{background:linear-gradient(115deg,#fff8fa,#f7e7f4 55%,#ecdbfa)}
.storefront .hero-kicker,.storefront .hero-delivery{color:#775b96}
.storefront .market-hero h1{color:var(--ink)}
.storefront .market-hero h1 em{background:linear-gradient(110deg,var(--primary),var(--accent));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.storefront .market-hero p{color:#71617f}
.storefront .hero-art-ring{border-color:#ffffff66}
.storefront .hero-main-photo{box-shadow:0 22px 35px #4e207d20}
.storefront .hero-small-photo{box-shadow:0 12px 25px #4e207d1c}
.storefront .hero-small-photo span{color:#765a8b}
.storefront .hero-float{box-shadow:0 8px 22px #4e207d12}
.storefront .hero-controls>button:not(.hero-next):after{background:#b99cd866}
.storefront .hero-controls>button[aria-pressed=true]:after{background:var(--primary)}
.storefront .hero-controls .hero-next{background:#ffffffd9;color:var(--primary)}
.storefront .button{background:var(--action-gradient);box-shadow:0 10px 24px #7c3aed30}
.storefront .button.outline{background:#fff;border-color:#d4bdf1;color:var(--primary);box-shadow:none}
.storefront .button.outline:hover{background:var(--mint)}
.storefront .button.light{background:#fff;color:var(--primary)}
.storefront .button.dark{background:#311756}
.storefront .button.danger{background:#b64d4d}
.storefront .market-services>a{box-shadow:0 3px 12px #37145603}
.storefront .market-services>a>svg{color:#b5a3c9}
.storefront .category-item{color:#665670}
.storefront .category-item small{color:#8d7f9a}
.storefront .category-item-image,.storefront .product-image{background:#f6f2fa}
.storefront .market-filter-chips a{background:#faf7ff;border-color:var(--line);color:#756183}
.storefront .market-filter-chips a.active,.storefront .market-filter-chips a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.storefront .product-card{box-shadow:0 3px 12px #37145603}
.storefront .product-card:hover{box-shadow:0 12px 28px #54227d14;border-color:#d5bdf3}
.storefront .product-info h3{color:#54455f}
.storefront .price del,.storefront .detail-price del{color:#9d92a7}
.storefront .product-category-tag{background:#f5f0fc;border-color:#e9def6;color:#7c6591}
.storefront .wish-button{color:#79648d}
.storefront .wish-button.saved{color:var(--accent)}
.storefront .wish-button.saved svg{fill:#cc299f19}
.storefront .add-button{background:var(--mint);color:var(--primary)}
.storefront .add-button:hover:not(:disabled){background:var(--primary);color:white}
.storefront .market-seller-banner{background:linear-gradient(110deg,#f4ecff,#efdcf7);border-color:#e7d5f5}
.storefront .market-seller-banner h2{color:#4a236b}
.storefront .market-seller-banner p{color:#7d648c}
.storefront .detail-description{color:var(--muted)}
.storefront .detail-specs dt{background:#f8f5fc}
.storefront .catalog-page-heading{background:linear-gradient(100deg,#fff,#faf7ff)}
.storefront .market-mobile-nav{background:#fffffffa;border-color:#ece4f6;box-shadow:0 -3px 18px #30114508}
.storefront .market-mobile-nav>a{color:#988aa5}
.storefront .market-mobile-nav>a.active{color:var(--primary)}
.storefront .support-fab{background:var(--action-gradient);box-shadow:0 5px 20px #6f2dc432}
.storefront .toast{border-color:#d8c4ee;box-shadow:0 12px 30px #3c1e5b20}

/* Match the reference's deep violet footer without moving any content. */
.storefront .market-footer{background:radial-gradient(ellipse at top right,#9b287d22,transparent 55%),linear-gradient(130deg,#1b1035,#2c1553);color:#d6c9e7;border-color:#39234f}
.storefront .footer-assurance,.storefront .footer-bottom{border-color:#ffffff1c}
.storefront .footer-assurance>span{color:#dbc9f3}
.storefront .footer-assurance svg{color:#c29cee}
.storefront .footer-grid>div>a.market-logo,.storefront .footer-grid h4{color:#fff}
.storefront .footer-grid>div>a:not(.market-logo){color:#d3c3e4}
.storefront .footer-grid>div>a:hover{color:#fff}
.storefront .footer-grid p,.storefront .footer-bottom{color:#b9a6cb}
.storefront .payment-marks span{background:#ffffff0a;border-color:#ffffff23;color:#d8c6ea}
.storefront .footer-grid>div>a.footer-seller{background:#ffffff0d;color:#e1ccfb}

/* Existing theme choices and affiliate accent colours still apply. */
[data-theme=studio] .storefront .market-slide{background:linear-gradient(120deg,#f0eee9,#e4e0e9)}
[data-theme=blossom] .storefront .market-slide{background:linear-gradient(120deg,#fff0f6,#eddaed)}

/* A light sweep stays inside each surface and never intercepts a tap. */
.storefront .shine-relative{position:relative}
.storefront .shine-surface{isolation:isolate;--shine-tint:#ffffff19;--shine-peak:#ffffff85}
.storefront .shine-soft{--shine-tint:#b78af526;--shine-peak:#ffffff99}
.storefront .shine-surface::after{
    content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;
    pointer-events:none;opacity:0;
    background:linear-gradient(112deg,transparent 32%,var(--shine-tint) 43%,var(--shine-peak) 50%,var(--shine-tint) 57%,transparent 68%);
    background-size:250% 100%;background-position:120% 0;
}
.storefront .shine-surface:disabled::after{display:none}
@keyframes storefront-shine{
    0%{background-position:120% 0;opacity:0}
    12%{opacity:1}
    82%{opacity:1}
    100%{background-position:-20% 0;opacity:0}
}
@keyframes storefront-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes storefront-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
@keyframes storefront-orbit{0%,100%{scale:1;opacity:.65}50%{scale:1.04;opacity:1}}
@keyframes storefront-feedback{0%,100%{scale:1}50%{scale:.85}}
@keyframes storefront-shimmer{from{background-position:120% 0}to{background-position:-120% 0}}
@media(prefers-reduced-motion:no-preference){
    .storefront .shine-surface.is-shining::after{animation:storefront-shine 1.15s cubic-bezier(.25,.46,.45,.94) var(--shine-delay,0ms) both}
    .storefront .button,.storefront .add-button,.storefront .wish-button,.storefront .market-icon{transition:background .25s,color .25s,box-shadow .25s,transform .25s}
    .storefront .button:hover{transform:translateY(-2px);box-shadow:0 13px 28px #7c3aed40;filter:none}
    .storefront .button:active,.storefront .add-button:active,.storefront .market-icon:active{transform:scale(.96)}
    .storefront .button svg,.storefront .market-section-heading>a svg,.storefront .category-panel-title>a svg{transition:transform .25s}
    .storefront .button:hover svg,.storefront .market-section-heading>a:hover svg,.storefront .category-panel-title>a:hover svg{transform:translateX(3px)}
    .storefront .market-search{transition:box-shadow .25s,background .25s}
    .storefront .market-search:focus-within{background:#fff;box-shadow:inset 0 0 0 1px #c9a7f0,0 0 0 3px #7c3aed10}
    .storefront .market-hero-art:is([data-reveal-state="entering"],[data-reveal-state="visible"]) .hero-small-photo,
    .storefront .market-hero-art:is([data-reveal-state="entering"],[data-reveal-state="visible"]) .hero-float{animation:storefront-float 4.5s ease-in-out .3s 1}
    .storefront .market-hero-art:is([data-reveal-state="entering"],[data-reveal-state="visible"]) .hero-art-ring{animation:storefront-orbit 4.5s ease-in-out 1}
    .storefront .hero-controls>button:after{transition:background .25s}
    .storefront .hero-controls>button:active{scale:.9}
    .storefront .product-card{transition:box-shadow .3s,transform .3s,border-color .3s}
    .storefront .product-image img,.storefront .category-item img{transition:transform .55s cubic-bezier(.22,.61,.36,1)}
    .storefront .product-card:hover .product-image img{transform:scale(1.045)}
    .storefront .category-panel,.storefront .market-services>a,.storefront .market-story{transition:box-shadow .3s,border-color .3s,transform .3s}
    .storefront .category-panel:hover,.storefront .market-services>a:hover,.storefront .market-story:hover{box-shadow:0 9px 24px #4f247810;border-color:#d8c5ec}
    .storefront .rail-category-link,.storefront .market-filter-chips a{transition:background .25s,color .25s}
    .storefront .category-flyout,.storefront .market-filters.is-open,.storefront details[open]>p{animation:storefront-enter .25s both}
    .storefront .wish-form:active .wish-button svg{animation:storefront-feedback .3s ease-out}
    .storefront .footer-grid>div>a{transition:color .25s}
    .storefront .support-fab{transition:transform .25s,box-shadow .25s}
    .storefront .support-fab:hover{transform:translateY(-4px);box-shadow:0 10px 25px #6f2dc440}
    .storefront .market-mobile-nav>a svg{transition:transform .25s}
    .storefront .market-mobile-nav>a:active svg{transform:translateY(-3px) scale(1.08)}
    .storefront .is-submitting{background-image:linear-gradient(100deg,transparent 30%,#ffffff55 50%,transparent 70%);background-size:250% 100%;animation:storefront-shimmer .8s ease-out 1}
}
@media(prefers-reduced-motion:reduce){
    .storefront *,.storefront *:before,.storefront *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
    .storefront .product-card:hover .product-image img{transform:none}
    .storefront .shine-surface::after{display:none}
}
