/* 456KICKFLIP Theme Studio — decorative only; never restyle checkout, logos, or product photos. */
/* Fallback variables must have LOWER specificity than each individual theme. */
/* Previously :not([data-kf-theme="classic"]) outranked every holiday palette. */
html[data-kf-theme] {
  --kf-season-accent:#9fcee5;
  --kf-season-pale:#edf8ff;
  --kf-season-deep:#294355;
}
html[data-kf-theme="frost"]{--kf-season-accent:#9ed9f6;--kf-season-pale:#e9f7ff;--kf-season-deep:#20415c}
html[data-kf-theme="harvest"]{--kf-season-accent:#ff9d48;--kf-season-pale:#fff1df;--kf-season-deep:#623324}
html[data-kf-theme="love"]{--kf-season-accent:#fa769b;--kf-season-pale:#fff0f5;--kf-season-deep:#6b2944}
html[data-kf-theme="rain"]{--kf-season-accent:#67bcae;--kf-season-pale:#e6f7f4;--kf-season-deep:#1c575c}
html[data-kf-theme="sunshine"]{--kf-season-accent:#f5c14b;--kf-season-pale:#fff8dc;--kf-season-deep:#764b1a}

html[data-kf-theme]:not([data-kf-theme="classic"]) .hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(ellipse at 10% 0%, var(--kf-season-pale) 0%, transparent 64%),
    linear-gradient(130deg,#fff 22%,var(--kf-season-pale) 100%);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) .hero-copy,
html[data-kf-theme]:not([data-kf-theme="classic"]) .hero-art {position:relative;z-index:2}
html[data-kf-theme]:not([data-kf-theme="classic"]) .hero .kf-season-sky{
  position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;
}
.kf-season-sky[hidden],.kf-season-badge[hidden]{display:none!important}
.kf-season-sky .kf-particle{
  position:absolute;top:var(--top);left:var(--left);width:var(--size);height:var(--size);
  opacity:var(--opacity);transform:rotate(var(--rotation));
  animation:kf-season-float 9s ease-in-out infinite;animation-delay:var(--delay);
  color:var(--kf-season-deep);filter:drop-shadow(0 8px 16px #1112);pointer-events:none;
}
.kf-season-sky .kf-particle svg{width:100%;height:100%}
@keyframes kf-season-float{
  0%,100%{translate:0 0;rotate:-7deg}
  50%{translate:0 -14px;rotate:8deg}
}
/* Each season has recognizable motion, not merely a color swap. */
html[data-kf-theme="frost"] .kf-season-sky .kf-particle{
  animation-name:kf-season-snow;animation-duration:11s;color:#4b8db2;
}
html[data-kf-theme="harvest"] .kf-season-sky .kf-particle{
  animation-name:kf-season-ember;animation-duration:8s;color:#c26825;
}
html[data-kf-theme="love"] .kf-season-sky .kf-particle{
  animation-name:kf-season-heart;animation-duration:7s;color:#cd3e73;
}
html[data-kf-theme="rain"] .kf-season-sky .kf-particle{
  animation-name:kf-season-rain;animation-duration:3.5s;color:#348891;
}
html[data-kf-theme="sunshine"] .kf-season-sky .kf-particle{
  animation-name:kf-season-rays;animation-duration:9s;color:#d79b1d;
}
@keyframes kf-season-snow{
  0%{translate:-5px -28px;rotate:-14deg;opacity:.18}
  50%{translate:10px 0;rotate:7deg;opacity:.5}
  100%{translate:-8px 50px;rotate:30deg;opacity:.12}
}
@keyframes kf-season-ember{
  0%{translate:0 45px;scale:.8;opacity:.15}
  55%{translate:10px -5px;scale:1.2;opacity:.55}
  100%{translate:-5px -50px;scale:.7;opacity:0}
}
@keyframes kf-season-heart{
  0%,100%{translate:0 2px;rotate:-9deg;scale:.95}
  50%{translate:8px -14px;rotate:8deg;scale:1.13}
}
@keyframes kf-season-rain{
  0%{translate:0 -35px;opacity:.05}
  20%{opacity:.42}
  100%{translate:-13px 95px;opacity:0}
}
@keyframes kf-season-rays{
  0%,100%{scale:.85;rotate:-12deg;opacity:.2}
  50%{scale:1.25;rotate:14deg;opacity:.55}
}

.kf-season-badge{
  display:inline-flex;align-items:center;gap:9px;max-width:100%;
  border:1px solid color-mix(in srgb,var(--kf-season-deep),transparent 66%);
  padding:7px 12px;border-radius:999px;
  background:color-mix(in srgb,var(--kf-season-pale),white 30%);
  color:var(--kf-season-deep);font-size:11px;font-weight:900;letter-spacing:.075em;
  margin:0 0 12px;box-shadow:0 9px 24px #1111
}
.kf-season-badge .kf-icon{display:inline-flex;width:24px;height:24px;flex:0 0 24px}
.kf-season-badge svg{height:100%;width:100%}
html[data-kf-theme]:not([data-kf-theme="classic"]) .hero .btn-dark{background:var(--kf-season-deep);border-color:var(--kf-season-deep)}
html[data-kf-theme]:not([data-kf-theme="classic"]) .hero .btn-dark:hover{filter:brightness(1.12)}
html[data-kf-theme]:not([data-kf-theme="classic"]) .market>.section-head .eyebrow{color:var(--kf-season-deep)}
html[data-kf-theme]:not([data-kf-theme="classic"]) .shoe-tag{
  border-color:var(--kf-season-accent);box-shadow:0 0 0 1px var(--kf-season-accent) inset;
}
html[data-kf-theme]:not([data-kf-theme="classic"]) #brandCountToast::after{
  content:attr(data-kf-season-symbol);
  font-size:22px;line-height:1;align-self:center;margin-left:4px;
  animation:kf-season-pop .5s ease-out both;
}
@keyframes kf-season-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}
html[data-kf-theme="harvest"] .hero{
 background:radial-gradient(ellipse at 70% 12%,#ffcd8d55,transparent 55%),linear-gradient(135deg,#fff8ef,#fff0e2 70%,#f8ded0);
}
html[data-kf-theme="love"] .hero{
 background:radial-gradient(ellipse at 75% 10%,#ff9bbd66,transparent 60%),linear-gradient(125deg,#fff9fb,#ffebf3);
}
html[data-kf-theme="rain"] .hero{
 background:radial-gradient(ellipse at 80% 10%,#95d5d366,transparent 55%),linear-gradient(135deg,#f5fffd,#deedf2);
}
html[data-kf-theme="sunshine"] .hero{
 background:radial-gradient(circle at 74% 5%,#fff2a3aa,transparent 53%),linear-gradient(125deg,#fffdf2,#ffefd2);
}

/* Owner-only module: preview and activation remain visibly separate. */
#ownerDrawer .kf-studio{display:grid;gap:16px;color:#fff;max-width:960px}
#ownerDrawer .kf-studio-intro{margin:0;color:#a9a9a9;font-size:13px;line-height:1.55}
#ownerDrawer .kf-studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#ownerDrawer .kf-theme-option{
  display:flex;align-items:center;gap:12px;min-height:75px;padding:14px;
  border:1px solid #474747;border-radius:16px;background:#1d1d1d;color:#fff;
  cursor:pointer;text-align:left;font:inherit;transition:border .15s,transform .15s;
}
#ownerDrawer .kf-theme-option:hover,#ownerDrawer .kf-theme-option:focus-visible{border-color:#fff;transform:translateY(-1px)}
#ownerDrawer .kf-theme-option[aria-pressed="true"]{border:2px solid #fff;background:#303030}
#ownerDrawer .kf-theme-option .kf-theme-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:var(--tile);font-size:30px}
#ownerDrawer .kf-theme-option strong{font-size:13px;display:block}
#ownerDrawer .kf-theme-option small{font-size:11px;display:block;margin-top:4px;color:#c4c4c4}
#ownerDrawer .kf-studio-preview{
  overflow:hidden;border:1px solid #454545;border-radius:20px;padding:22px;
  background:radial-gradient(circle at 75% 16%,var(--preview-light),transparent 55%),
             linear-gradient(120deg,#171717,var(--preview-dark));
}
#ownerDrawer .kf-studio-preview .kf-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#ownerDrawer .kf-studio-preview .kf-preview-logo{width:120px;max-width:40%;height:auto;object-fit:contain}
#ownerDrawer .kf-studio-preview .kf-preview-symbol{font-size:40px}
#ownerDrawer .kf-studio-preview h3{font-size:clamp(19px,3vw,26px);color:#fff;margin:16px 0 6px}
#ownerDrawer .kf-studio-preview p{color:#f3f3f3;max-width:35ch;font-size:12px;margin:0}
#ownerDrawer .kf-studio-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#ownerDrawer .kf-studio-line label{font-size:12px;color:#eee}
#ownerDrawer .kf-studio-line select{background:#1a1a1a;color:#fff;padding:10px;border:1px solid #555;border-radius:10px}
#ownerDrawer .kf-studio-actions{display:flex;flex-wrap:wrap;gap:8px}
#ownerDrawer .kf-studio-actions button{border:1px solid #777;border-radius:12px;padding:11px 14px;color:#fff;background:#262626;font:700 12px/1.2 inherit;cursor:pointer}
#ownerDrawer .kf-studio-actions button.kf-activate{background:#fff;border-color:#fff;color:#111}
#ownerDrawer .kf-studio-actions button:disabled{opacity:.4;cursor:not-allowed}
#ownerDrawer .kf-studio-status{min-height:22px;margin:0;font-size:12px;color:#ddd}
#ownerDrawer .kf-studio-status[data-error="true"]{color:#ffb4b4}
@media(max-width:600px){
  #ownerDrawer .kf-studio-grid{grid-template-columns:1fr}
  #ownerDrawer .kf-studio-preview{padding:16px}
  .kf-season-badge{max-width:calc(100vw - 40px);font-size:10px}
  .kf-season-sky .kf-particle:nth-child(n+4){display:none}
}
@media(prefers-reduced-motion:reduce){
  .kf-season-sky .kf-particle,html[data-kf-theme]:not([data-kf-theme="classic"]) #brandCountToast::after{animation:none!important;transition:none!important}
}


/* Season-wide coverage. The previous experience styled only the homepage hero.
   Keep sneaker images, the approved logo, financial forms and all modal checkout UI intact. */
.kf-section-ribbon[hidden], .kf-nav-season[hidden]{display:none!important}
html[data-kf-theme]:not([data-kf-theme="classic"]) body {
  background:
    radial-gradient(ellipse at 5% 24%, color-mix(in srgb,var(--kf-season-pale),transparent 55%),transparent 62%),
    #f7f6f2;
}
html[data-kf-theme]:not([data-kf-theme="classic"]) .topbar {
  background:color-mix(in srgb,var(--kf-season-pale),white 45%);
  border-bottom:3px solid var(--kf-season-accent);
  box-shadow:0 7px 22px color-mix(in srgb,var(--kf-season-deep),transparent 92%);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) .topbar .nav a.active,
html[data-kf-theme]:not([data-kf-theme="classic"]) .topbar .nav a[aria-current="page"] {
  color:var(--kf-season-deep);text-decoration:underline;text-decoration-thickness:3px;
  text-underline-offset:7px;text-decoration-color:var(--kf-season-accent);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) .topbar .profile-btn {
  border-color:var(--kf-season-accent);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--kf-season-pale),white 40%);
}
.kf-nav-season {
  display:inline-grid;place-items:center;flex:none;
  width:35px;height:35px;padding:0;border-radius:12px;
  font-size:23px;line-height:1;
  background:var(--kf-season-pale);
  border:1px solid color-mix(in srgb,var(--kf-season-accent),#fff 35%);
  box-shadow:0 4px 14px #2221;
}

/* Distinct seasonal stage on EVERY primary marketplace destination. */
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #marketplace,#portfolio,#offers,#orders,#sell,#authentication,#guarantee
) {
  position:relative;
  isolation:isolate;
  margin-block:14px 24px;
  padding:clamp(24px,4vw,48px) clamp(15px,3vw,36px);
  background:
    radial-gradient(ellipse at 98% 0%,color-mix(in srgb,var(--kf-season-accent),transparent 74%),transparent 54%),
    linear-gradient(160deg,#fff 15%,var(--kf-season-pale) 100%);
  border:1px solid color-mix(in srgb,var(--kf-season-accent),white 48%);
  border-top:4px solid var(--kf-season-accent);
  border-radius:23px;
  box-shadow:0 12px 35px color-mix(in srgb,var(--kf-season-deep),transparent 95%);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #marketplace,#portfolio,#offers,#orders,#sell,#authentication,#guarantee
) > .section-head {
  padding:14px 18px 10px;
  margin:0 0 18px;
  border-left:4px solid var(--kf-season-accent);
  border-radius:0 14px 14px 0;
  background:color-mix(in srgb,var(--kf-season-pale),white 38%);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #marketplace,#portfolio,#offers,#orders,#sell,#authentication,#guarantee
) > .section-head .eyebrow {
  color:var(--kf-season-deep);font-weight:900;
}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #marketplace,#portfolio,#offers,#orders,#sell,#authentication,#guarantee
) > .section-head h2 {color:#171717}
.kf-section-ribbon{
  display:flex;align-items:center;gap:12px;
  position:relative;isolation:isolate;overflow:hidden;
  min-height:64px;padding:11px 16px;
  margin:0 0 22px;
  color:#fff;
  background:linear-gradient(115deg,#151515 0%,var(--kf-season-deep) 74%,#151515 100%);
  border:1px solid var(--kf-season-accent);
  border-left:5px solid var(--kf-season-accent);
  border-radius:16px;
  box-shadow:0 12px 25px color-mix(in srgb,var(--kf-season-deep),transparent 83%);
  box-sizing:border-box;
}
.kf-section-ribbon::before{
  content:"";position:absolute;width:200px;height:130px;
  right:-30px;top:-45px;border-radius:50%;
  z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse,color-mix(in srgb,var(--kf-season-accent),transparent 68%),transparent 72%);
}
.kf-section-symbol{
  display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;
  border-radius:13px;background:color-mix(in srgb,var(--kf-season-accent),transparent 85%);
  border:1px solid color-mix(in srgb,var(--kf-season-accent),transparent 40%);
  font-size:30px;line-height:1;color:#fff;
}
.kf-section-ribbon-text{display:grid;gap:3px;min-width:0}
.kf-section-name{font-size:12px;letter-spacing:.06em;line-height:1.3;font-weight:950;color:#fff}
.kf-section-subtitle{font-size:10px;letter-spacing:.085em;color:#fff9;font-weight:800}
.kf-section-flourish{
  margin-left:auto;padding:4px 10px;font-size:24px;color:var(--kf-season-accent);
  opacity:.9;user-select:none;flex-shrink:0;
}
html[data-kf-theme]:not([data-kf-theme="classic"])[data-kf-effects="on"] .kf-section-flourish{
  animation:kf-season-float 7s ease-in-out infinite;
}

/* Recognizable continuation in listings, collection cards, negotiations,
   fulfillment and the account panel. Photo areas stay untouched. */
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #portfolio .portfolio-add-card,#portfolio .portfolio-collection,
  #sell .seller-listing-card,#sell .seller-shipments,
  #offers .offer-lane,#offers .offer-center-summary,
  #orders .order-card,#marketplace .listing-card,
  #authentication .auth-card
) {
  border-color:color-mix(in srgb,var(--kf-season-accent),white 42%);
  box-shadow:0 8px 23px color-mix(in srgb,var(--kf-season-deep),transparent 94%);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #portfolio .portfolio-collection-head,#sell .seller-workspace-head,
  #sell .seller-listing-copy,#offers .offer-lane-head
) {
  border-bottom-color:var(--kf-season-accent);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #portfolio .eyebrow,#sell .eyebrow,#offers .eyebrow,#orders .eyebrow
) {color:var(--kf-season-deep)}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #portfolio .btn-dark,#sell .btn-dark,
  #offers .offer-primary,#orders .btn-dark
) {background:var(--kf-season-deep);border-color:var(--kf-season-deep);color:#fff}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #offers .offer-lane-head,#orders .kf-order-progress-head
) {background:color-mix(in srgb,var(--kf-season-pale),white 48%)}
html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
  #marketplace .empty,#portfolio .empty,#offers .offer-empty,
  #orders .empty,#sell .empty
) {
  border-color:var(--kf-season-accent);
  background:color-mix(in srgb,var(--kf-season-pale),white 50%);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) #accountPanel .account-panel-head {
  background:color-mix(in srgb,var(--kf-season-pale),white 25%);
  border-bottom:2px solid var(--kf-season-accent);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) #accountPanel .kf-section-ribbon{
  margin:14px 0 18px;
}
html[data-kf-theme]:not([data-kf-theme="classic"]) #accountPanel :is(
  .account-hub-action,.account-hub-status
) {
  border-color:color-mix(in srgb,var(--kf-season-accent),white 50%);
  box-shadow:inset 4px 0 0 color-mix(in srgb,var(--kf-season-accent),transparent 22%);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) #accountPanel .account-hub-action b {
  color:var(--kf-season-deep);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) #ownerConsole>.kf-section-ribbon{
  margin:15px 0 19px;
}
html[data-kf-theme]:not([data-kf-theme="classic"]) #ownerConsole .owner-module-menu>summary{
  border-bottom:2px solid var(--kf-season-accent);
}
html[data-kf-theme]:not([data-kf-theme="classic"]) .mobile-customer-dock a.active,
html[data-kf-theme]:not([data-kf-theme="classic"]) .mobile-customer-dock button.active{
  background:var(--kf-season-pale);
  color:var(--kf-season-deep);
  box-shadow:inset 0 -3px 0 var(--kf-season-accent);
}
@media(max-width:620px){
  .kf-nav-season{width:30px;height:30px;font-size:20px;border-radius:10px}
  .kf-section-ribbon{min-height:58px;padding:9px 11px;gap:9px;margin-bottom:16px}
  .kf-section-symbol{width:38px;height:38px;flex-basis:38px;font-size:26px}
  .kf-section-name{font-size:10px}
  .kf-section-subtitle{font-size:9px}
  .kf-section-flourish{font-size:18px;padding:3px}
  html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
    #marketplace,#portfolio,#offers,#orders,#sell,#authentication,#guarantee
  ){padding:20px 12px}
  html[data-kf-theme]:not([data-kf-theme="classic"]) :is(
    #marketplace,#portfolio,#offers,#orders,#sell,#authentication,#guarantee
  ) > .section-head{padding:12px 10px 8px}
}
@media(prefers-reduced-motion:reduce){
  .kf-section-flourish{animation:none!important}
}
