/* Public storefront design system: semantic colors, neutral surfaces, clear hierarchy. */
body.jolfa-public-theme{
  --brand-purple:#5b2a72;
  --brand-purple-strong:#432055;
  --brand-purple-soft:#f2eaf6;
  --action:#5b2a72;
  --action-strong:#432055;
  --action-soft:#f2eaf6;
  --teal:#0c9694;
  --teal-strong:#08716f;
  --teal-soft:#e7f7f5;
  --green:#16845b;
  --green-soft:#e9f7f0;
  --amber:#a45f00;
  --amber-soft:#fff4dc;
  --coral:#b43c49;
  --coral-soft:#fff0f1;
  --sky:#0d6fa8;
  --sky-soft:#e9f6fd;
  --ink:#172033;
  --bg:#f5f7fa;
  --surface:#fff;
  --surface-soft:#f1f4f8;
  --surface-tint:#eaf1fb;
  --surface-raised:#fff;
  --text:#172033;
  --muted:#687386;
  --border:#dce3ec;
  --primary:var(--action);
  --primary-strong:var(--action-strong);
  --accent:var(--teal);
  --accent-strong:var(--teal-strong);
  --success:var(--green);
  --warning:var(--amber);
  --danger:var(--coral);
  --focus:#6f3a84;
  --uupm-purple:var(--brand-purple);
  --uupm-violet:#74508a;
  --uupm-cyan:#16a6b2;
  --uupm-green:#1b9a69;
  --uupm-glass:rgba(255,255,255,.84);
  --uupm-glass-border:rgba(80,96,122,.15);
  --shadow:0 24px 64px rgba(28,43,68,.11);
  --shadow-soft:0 12px 30px rgba(28,43,68,.075);
  --shadow-card:0 12px 34px rgba(28,43,68,.075);
}
html[data-theme="dark"] body.jolfa-public-theme{
  --brand-purple:#c495d8;
  --brand-purple-strong:#d6b4e3;
  --brand-purple-soft:#2b2034;
  --action:#b77ac8;
  --action-strong:#d0a0dc;
  --action-soft:#2b2034;
  --teal:#48c9c2;
  --teal-strong:#7bddd7;
  --teal-soft:#132d2d;
  --green:#5ed29d;
  --green-soft:#153125;
  --amber:#f3bd62;
  --amber-soft:#342917;
  --coral:#ff8a92;
  --coral-soft:#392126;
  --sky:#6bc2ef;
  --sky-soft:#142c3a;
  --ink:#f1f5fb;
  --bg:#0b111b;
  --surface:#111a28;
  --surface-soft:#172231;
  --surface-tint:#192a43;
  --surface-raised:#15202f;
  --text:#eef3fa;
  --muted:#a8b4c6;
  --border:#263447;
  --uupm-glass:rgba(17,26,40,.86);
  --uupm-glass-border:rgba(158,179,210,.16);
  --shadow:0 24px 64px rgba(0,0,0,.42);
  --shadow-soft:0 12px 30px rgba(0,0,0,.26);
  --shadow-card:0 14px 38px rgba(0,0,0,.24);
}

body.jolfa-public-theme.uupm-web3{
  background:
    radial-gradient(circle at 7% 5%,color-mix(in srgb,var(--action) 8%,transparent),transparent 30rem),
    radial-gradient(circle at 92% 16%,color-mix(in srgb,var(--teal) 7%,transparent),transparent 28rem),
    linear-gradient(180deg,var(--bg),color-mix(in srgb,var(--bg) 96%,var(--surface)));
}
body.jolfa-public-theme.uupm-web3::before{
  opacity:.24;
  background-image:linear-gradient(color-mix(in srgb,var(--action) 7%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--action) 7%,transparent) 1px,transparent 1px);
  background-size:52px 52px;
}
body.jolfa-public-theme ::selection{background:color-mix(in srgb,var(--teal) 25%,transparent)}
body.jolfa-public-theme :focus-visible{outline-color:color-mix(in srgb,var(--focus) 62%,transparent)!important}

/* Header and global navigation */
body.jolfa-public-theme .site-header{
  background:color-mix(in srgb,var(--surface) 91%,transparent)!important;
  border-bottom-color:color-mix(in srgb,var(--border) 88%,transparent)!important;
  box-shadow:0 1px 0 rgba(20,34,52,.02)!important;
}
body.jolfa-public-theme .site-header.is-scrolled{box-shadow:0 12px 34px rgba(31,48,72,.10)!important}
body.jolfa-public-theme .site-brand img{filter:drop-shadow(0 9px 18px color-mix(in srgb,var(--brand-purple) 20%,transparent))!important}
body.jolfa-public-theme .brand-wordmark::before,body.jolfa-public-theme .brand-wordmark::after{color:var(--teal)!important}
body.jolfa-public-theme .desktop-navigation{background:color-mix(in srgb,var(--surface-soft) 62%,transparent)!important;border-color:var(--border)!important}
body.jolfa-public-theme .desktop-navigation>a:hover,body.jolfa-public-theme .desktop-navigation>a.active,body.jolfa-public-theme .nav-dropdown__button:hover,body.jolfa-public-theme .nav-dropdown__button.active{
  background:var(--action-soft)!important;color:var(--action)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--action) 18%,transparent)!important;
}
body.jolfa-public-theme .desktop-navigation>a:hover i,body.jolfa-public-theme .desktop-navigation>a.active i,body.jolfa-public-theme .nav-dropdown__button:hover i,body.jolfa-public-theme .nav-dropdown__button.active i{color:var(--action)!important}
body.jolfa-public-theme .jolfa-nail-search input:focus{border-color:var(--action)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--action) 12%,transparent)!important}
body.jolfa-public-theme .header-cart-button{background:var(--amber-soft)!important;color:var(--amber)!important;border-color:color-mix(in srgb,var(--amber) 25%,var(--border))!important}
body.jolfa-public-theme .header-cart-button:hover{background:color-mix(in srgb,var(--amber) 15%,var(--surface))!important;border-color:color-mix(in srgb,var(--amber) 42%,var(--border))!important}
body.jolfa-public-theme .header-cart-button b,body.jolfa-public-theme .mobile-bottom-nav__badge{background:var(--coral)!important;color:#fff!important}
body.jolfa-public-theme .auth-button{background:linear-gradient(135deg,var(--brand-purple),#78458d)!important;border-color:transparent!important;box-shadow:0 10px 22px color-mix(in srgb,var(--brand-purple) 22%,transparent)!important}
body.jolfa-public-theme .nav-dropdown__menu,body.jolfa-public-theme .language-menu,body.jolfa-public-theme .panel-menu{border-color:var(--border)!important;box-shadow:var(--shadow)!important}
body.jolfa-public-theme .nav-dropdown__menu a:hover,body.jolfa-public-theme .language-menu a:hover,body.jolfa-public-theme .language-menu a.active,body.jolfa-public-theme .panel-menu a:hover{background:var(--action-soft)!important;color:var(--action)!important}

/* Semantic buttons */
body.jolfa-public-theme .button-primary,body.jolfa-public-theme .commerce-button--primary,body.jolfa-public-theme .commerce-add-primary,body.jolfa-public-theme .commerce-mobile-pdp-buybar__add,body.jolfa-public-theme .jolfa-checkout-submit{
  background:linear-gradient(135deg,var(--brand-purple),#78458d)!important;
  border-color:transparent!important;color:#fff!important;box-shadow:0 12px 28px color-mix(in srgb,var(--brand-purple) 24%,transparent)!important;
}
body.jolfa-public-theme .button-primary:hover,body.jolfa-public-theme .commerce-button--primary:hover,body.jolfa-public-theme .commerce-add-primary:hover,body.jolfa-public-theme .jolfa-checkout-submit:hover{
  background:linear-gradient(135deg,var(--brand-purple-strong),var(--brand-purple))!important;box-shadow:0 16px 34px color-mix(in srgb,var(--brand-purple) 30%,transparent)!important;
}
body.jolfa-public-theme .button-secondary{background:var(--teal-soft)!important;color:var(--teal-strong)!important;border-color:color-mix(in srgb,var(--teal) 26%,var(--border))!important}
body.jolfa-public-theme .button-soft,body.jolfa-public-theme .button-ghost{background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important;box-shadow:none!important}
body.jolfa-public-theme .button-soft:hover,body.jolfa-public-theme .button-ghost:hover{background:var(--surface-soft)!important;border-color:color-mix(in srgb,var(--action) 28%,var(--border))!important;color:var(--action)!important}
body.jolfa-public-theme .button-danger{background:linear-gradient(135deg,var(--coral),#9f3340)!important;color:#fff!important}
body.jolfa-public-theme input:not([type="checkbox"]):not([type="radio"]):focus,body.jolfa-public-theme textarea:focus,body.jolfa-public-theme select:focus,body.jolfa-public-theme .custom-select.is-open .custom-select__trigger{
  border-color:var(--action)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--action) 12%,transparent)!important;
}

/* Breadcrumbs and common storefront headings */
body.jolfa-commerce-theme .commerce-breadcrumb{color:var(--muted)!important}
body.jolfa-commerce-theme .commerce-breadcrumb a:hover{color:var(--action)!important}
body.jolfa-commerce-theme .commerce-breadcrumb a::after{color:color-mix(in srgb,var(--muted) 55%,transparent)!important}
body.jolfa-commerce-theme .market-section-head h2,body.jolfa-commerce-theme .landing-brand-heading h2,body.jolfa-commerce-theme .commerce-related-products__head h2{color:var(--ink)!important}
body.jolfa-commerce-theme .market-section-head>div>small,body.jolfa-commerce-theme .landing-brand-heading>small,body.jolfa-commerce-theme .commerce-related-products__head small{color:var(--teal-strong)!important}

/* Landing hero */
body.home-page.jolfa-public-theme .commerce-hero{border:1px solid var(--border)!important;box-shadow:var(--shadow-soft)!important;background:var(--surface)!important}
body.home-page.jolfa-public-theme .commerce-slide__eyebrow{background:var(--teal-soft)!important;color:var(--teal-strong)!important;border-color:color-mix(in srgb,var(--teal) 25%,var(--border))!important}
body.home-page.jolfa-public-theme .commerce-slide h1,body.home-page.jolfa-public-theme .commerce-slide h2{color:var(--ink)!important}
body.home-page.jolfa-public-theme .commerce-button--secondary{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--border)!important;box-shadow:0 8px 20px rgba(28,43,68,.06)!important}
body.home-page.jolfa-public-theme .commerce-button--secondary:hover{border-color:color-mix(in srgb,var(--teal) 35%,var(--border))!important;color:var(--teal-strong)!important}
body.home-page.jolfa-public-theme .commerce-carousel__dots button{background:color-mix(in srgb,var(--muted) 30%,transparent)!important}
body.home-page.jolfa-public-theme .commerce-carousel__dots button.active{background:var(--teal)!important}
body.home-page.jolfa-public-theme .commerce-carousel__arrows button,body.home-page.jolfa-public-theme .commerce-carousel__pause{background:color-mix(in srgb,var(--surface) 88%,transparent)!important;color:var(--ink)!important;border-color:var(--border)!important}

/* Quick links use accent families for scanning, not meaning. */
body.home-page .landing-quick-links__rail>a>span{box-shadow:none!important;transition:transform .18s ease,border-color .18s ease,background .18s ease!important}
body.home-page .landing-quick-links__rail>a:nth-child(6n+1)>span{background:var(--action-soft)!important;color:var(--action)!important;border-color:color-mix(in srgb,var(--action) 22%,var(--border))!important}
body.home-page .landing-quick-links__rail>a:nth-child(6n+2)>span{background:var(--teal-soft)!important;color:var(--teal-strong)!important;border-color:color-mix(in srgb,var(--teal) 22%,var(--border))!important}
body.home-page .landing-quick-links__rail>a:nth-child(6n+3)>span{background:var(--amber-soft)!important;color:var(--amber)!important;border-color:color-mix(in srgb,var(--amber) 24%,var(--border))!important}
body.home-page .landing-quick-links__rail>a:nth-child(6n+4)>span{background:var(--coral-soft)!important;color:var(--coral)!important;border-color:color-mix(in srgb,var(--coral) 22%,var(--border))!important}
body.home-page .landing-quick-links__rail>a:nth-child(6n+5)>span{background:var(--green-soft)!important;color:var(--green)!important;border-color:color-mix(in srgb,var(--green) 22%,var(--border))!important}
body.home-page .landing-quick-links__rail>a:nth-child(6n)>span{background:var(--brand-purple-soft)!important;color:var(--brand-purple)!important;border-color:color-mix(in srgb,var(--brand-purple) 20%,var(--border))!important}
body.home-page .landing-quick-links__rail>a:hover>span{transform:translateY(-3px) scale(1.03)!important}

/* Home shelves and cards */
body.home-page .market-shelf{background:transparent!important}
body.home-page .market-product-card{border:1px solid var(--border)!important;background:var(--surface)!important;box-shadow:0 6px 18px rgba(28,43,68,.045)!important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important}
body.home-page .market-product-card:hover{transform:translateY(-4px)!important;box-shadow:0 14px 32px rgba(28,43,68,.09)!important}
body.home-page .market-product-card--hardware:hover{border-color:color-mix(in srgb,var(--teal) 38%,var(--border))!important}
body.home-page .market-product-card--software:hover{border-color:color-mix(in srgb,var(--action) 36%,var(--border))!important}
body.home-page .market-product-card--hardware .market-product-card__media{background:linear-gradient(145deg,var(--teal-soft),var(--surface-soft))!important}
body.home-page .market-product-card--software .market-product-card__media{background:linear-gradient(145deg,var(--action-soft),var(--surface-soft))!important}
body.home-page .market-product-card--hardware .market-product-card__type{background:color-mix(in srgb,var(--teal) 12%,var(--surface))!important;color:var(--teal-strong)!important}
body.home-page .market-product-card--software .market-product-card__type{background:color-mix(in srgb,var(--action) 11%,var(--surface))!important;color:var(--action)!important}
body.home-page .market-product-card__price strong{color:var(--ink)!important}
body.home-page .market-amazing{background:linear-gradient(135deg,#b53d4d,#bb513e)!important;box-shadow:0 16px 34px rgba(145,55,67,.18)!important}
body.home-page .market-amazing__intro a{color:#9b3843!important}
body.home-page .market-amazing-card{background:#fff!important}
body.home-page .market-amazing-card__media b{background:#c94351!important}

/* Compact service and article blocks */
body.home-page .landing-services-compact-grid>*{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.home-page .landing-services-compact-grid>*:nth-child(4n+1) i{color:var(--action)!important;background:var(--action-soft)!important}
body.home-page .landing-services-compact-grid>*:nth-child(4n+2) i{color:var(--teal-strong)!important;background:var(--teal-soft)!important}
body.home-page .landing-services-compact-grid>*:nth-child(4n+3) i{color:var(--amber)!important;background:var(--amber-soft)!important}
body.home-page .landing-services-compact-grid>*:nth-child(4n) i{color:var(--brand-purple)!important;background:var(--brand-purple-soft)!important}
body.home-page .landing-articles-compact article{border-color:var(--border)!important;background:var(--surface)!important;box-shadow:none!important}

/* Category hero and category navigation */
body.jolfa-commerce-theme .commerce-category-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--action-soft),var(--teal-soft))!important;border:1px solid color-mix(in srgb,var(--action) 15%,var(--border))!important;box-shadow:none!important}
body.jolfa-commerce-theme .commerce-category-hero::after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;inset-inline-end:-70px;top:-90px;background:color-mix(in srgb,var(--teal) 10%,transparent);pointer-events:none}
body.jolfa-commerce-theme .commerce-category-hero__icon{background:var(--surface)!important;color:var(--action)!important;border:1px solid color-mix(in srgb,var(--action) 18%,var(--border))!important;box-shadow:0 10px 24px rgba(36,95,214,.10)!important}
body.jolfa-commerce-theme .commerce-subcategories>a{background:color-mix(in srgb,var(--surface) 88%,transparent)!important;border-color:var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .commerce-subcategories>a:nth-child(4n+1) i{color:var(--action)!important;background:var(--action-soft)!important}
body.jolfa-commerce-theme .commerce-subcategories>a:nth-child(4n+2) i{color:var(--teal-strong)!important;background:var(--teal-soft)!important}
body.jolfa-commerce-theme .commerce-subcategories>a:nth-child(4n+3) i{color:var(--amber)!important;background:var(--amber-soft)!important}
body.jolfa-commerce-theme .commerce-subcategories>a:nth-child(4n) i{color:var(--brand-purple)!important;background:var(--brand-purple-soft)!important}
body.jolfa-commerce-theme .commerce-subcategories>a:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--action) 28%,var(--border))!important}

/* Catalog filters */
body.jolfa-commerce-theme .commerce-filters{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .commerce-filters__head{border-bottom-color:var(--border)!important}
body.jolfa-commerce-theme .commerce-filter-group{border-color:var(--border)!important}
body.jolfa-commerce-theme .commerce-filter-group summary:hover{color:var(--action)!important}
body.jolfa-commerce-theme .commerce-check input:checked+span,body.jolfa-commerce-theme .commerce-switch input:checked+span{border-color:var(--action)!important;background:var(--action)!important}
body.jolfa-commerce-theme .commerce-price-range input[type="range"]{accent-color:var(--action)!important}
body.jolfa-commerce-theme .commerce-results-toolbar{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .commerce-filter-toggle{background:var(--surface)!important;border-color:var(--border)!important;color:var(--action)!important}

/* Product cards across category/search/related results */
body.jolfa-commerce-theme .commerce-product-card,body.jolfa-commerce-theme .commerce-related-card{background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:0 5px 18px rgba(28,43,68,.045)!important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important}
body.jolfa-commerce-theme .commerce-product-card:hover,body.jolfa-commerce-theme .commerce-related-card:hover{transform:translateY(-4px)!important;border-color:color-mix(in srgb,var(--action) 30%,var(--border))!important;box-shadow:0 14px 32px rgba(28,43,68,.09)!important}
body.jolfa-commerce-theme .commerce-product-card__media,body.jolfa-commerce-theme .commerce-related-card__image{background:linear-gradient(145deg,#f8fafc,var(--surface-soft))!important;border-bottom-color:var(--border)!important}
html[data-theme="dark"] body.jolfa-commerce-theme .commerce-product-card__media,html[data-theme="dark"] body.jolfa-commerce-theme .commerce-related-card__image{background:linear-gradient(145deg,#f8fafc,#edf2f7)!important}
body.jolfa-commerce-theme .commerce-brand{color:var(--teal-strong)!important}
body.jolfa-commerce-theme .commerce-card-price strong,body.jolfa-commerce-theme .commerce-related-card footer strong{color:var(--ink)!important}
body.jolfa-commerce-theme .commerce-stock-badge{background:var(--green-soft)!important;color:var(--green)!important;border-color:color-mix(in srgb,var(--green) 24%,var(--border))!important}
body.jolfa-commerce-theme .product-unavailable-price{color:var(--coral)!important}
body.jolfa-commerce-theme .product-free-price{color:var(--green)!important}
body.jolfa-commerce-theme .commerce-empty{background:var(--surface)!important;border-color:var(--border)!important}
body.jolfa-commerce-theme .commerce-empty i{color:var(--teal-strong)!important;background:var(--teal-soft)!important}

/* Product detail */
body.product-detail-page.jolfa-commerce-theme .commerce-product-gallery__main{background:linear-gradient(145deg,#fff,#f4f7fa)!important;border-color:var(--border)!important;box-shadow:none!important}
html[data-theme="dark"] body.product-detail-page.jolfa-commerce-theme .commerce-product-gallery__main{background:linear-gradient(145deg,#f8fafc,#edf2f7)!important}
body.product-detail-page .commerce-gallery-badge{background:color-mix(in srgb,var(--surface) 88%,transparent)!important;color:var(--action)!important;border-color:var(--border)!important}
body.product-detail-page .commerce-product-kicker>a:first-child{background:var(--action-soft)!important;color:var(--action)!important;border-color:color-mix(in srgb,var(--action) 20%,var(--border))!important}
body.product-detail-page .commerce-product-kicker .commerce-brand{background:var(--teal-soft)!important;color:var(--teal-strong)!important;border-color:color-mix(in srgb,var(--teal) 20%,var(--border))!important}
body.product-detail-page .commerce-product-info h1{color:var(--ink)!important}
body.product-detail-page .commerce-product-variants__options button.is-selected,body.product-detail-page .commerce-product-thumbs button.is-active{border-color:var(--action)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--action) 12%,transparent)!important}
body.product-detail-page .commerce-buy-box{background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--action-soft) 42%,var(--surface)))!important;border:1px solid color-mix(in srgb,var(--action) 18%,var(--border))!important;box-shadow:0 16px 38px rgba(28,43,68,.08)!important}
body.product-detail-page .commerce-buy-box__discount-line{color:var(--coral)!important;background:var(--coral-soft)!important}
body.product-detail-page .commerce-low-stock-note{background:var(--amber-soft)!important;color:var(--amber)!important;border-color:color-mix(in srgb,var(--amber) 24%,var(--border))!important}
body.product-detail-page .commerce-buy-detail i{color:var(--teal-strong)!important;background:var(--teal-soft)!important}
body.product-detail-page .commerce-service-strip{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.product-detail-page .commerce-service-strip>div:nth-child(4n+1) i{background:var(--green-soft)!important;color:var(--green)!important}
body.product-detail-page .commerce-service-strip>div:nth-child(4n+2) i{background:var(--teal-soft)!important;color:var(--teal-strong)!important}
body.product-detail-page .commerce-service-strip>div:nth-child(4n+3) i{background:var(--amber-soft)!important;color:var(--amber)!important}
body.product-detail-page .commerce-service-strip>div:nth-child(4n) i{background:var(--action-soft)!important;color:var(--action)!important}
body.product-detail-page .commerce-product-anchor-nav{background:var(--surface)!important;border-color:var(--border)!important}
body.product-detail-page .commerce-product-anchor-nav a:hover{color:var(--action)!important;background:var(--action-soft)!important}
body.product-detail-page .commerce-product-section{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.product-detail-page .commerce-product-section--overview .commerce-product-section__title>span{background:var(--teal-soft)!important;color:var(--teal-strong)!important}
body.product-detail-page .commerce-product-section--specs .commerce-product-section__title>span{background:var(--action-soft)!important;color:var(--action)!important}
body.product-detail-page .commerce-spec-table tr:nth-child(even){background:color-mix(in srgb,var(--surface-soft) 72%,transparent)!important}
body.product-detail-page .commerce-cart-stepper__box{border-color:color-mix(in srgb,var(--action) 25%,var(--border))!important;background:var(--surface)!important}
body.product-detail-page .commerce-cart-stepper__box button:first-child{color:var(--action)!important}
body.product-detail-page .commerce-cart-stepper__box button:last-child{color:var(--coral)!important}

/* Cart */
body.jolfa-commerce-theme .commerce-cart-page{--cart-accent:var(--action)}
body.jolfa-commerce-theme .jolfa-cart-card,body.jolfa-commerce-theme .jolfa-cart-summary__card{background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .jolfa-cart-card__head{border-bottom-color:var(--border)!important}
body.jolfa-commerce-theme .jolfa-cart-card__head i{background:var(--action-soft)!important;color:var(--action)!important}
body.jolfa-commerce-theme .jolfa-cart-item{border-color:var(--border)!important;background:var(--surface)!important}
body.jolfa-commerce-theme .jolfa-cart-item:hover{border-color:color-mix(in srgb,var(--action) 26%,var(--border))!important}
body.jolfa-commerce-theme .jolfa-cart-item__media{background:linear-gradient(145deg,#fff,var(--surface-soft))!important;border-color:var(--border)!important}
html[data-theme="dark"] body.jolfa-commerce-theme .jolfa-cart-item__media{background:linear-gradient(145deg,#f8fafc,#edf2f7)!important}
body.jolfa-commerce-theme .jolfa-cart-stock-meta{background:var(--green-soft)!important;color:var(--green)!important}
body.jolfa-commerce-theme .jolfa-cart-shipping-meta{background:var(--teal-soft)!important;color:var(--teal-strong)!important}
body.jolfa-commerce-theme .jolfa-cart-color{background:var(--surface-soft)!important;border-color:var(--border)!important}
body.jolfa-commerce-theme .jolfa-cart-quantity{border-color:var(--border)!important;background:var(--surface)!important}
body.jolfa-commerce-theme .jolfa-cart-quantity button:first-child{color:var(--action)!important}
body.jolfa-commerce-theme .jolfa-cart-quantity button:last-child{color:var(--coral)!important}
body.jolfa-commerce-theme .jolfa-cart-summary__card{position:relative;overflow:hidden}
body.jolfa-commerce-theme .jolfa-cart-summary__card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--action),var(--teal))}
body.jolfa-commerce-theme .jolfa-cart-checkout{background:linear-gradient(135deg,var(--brand-purple),#78458d)!important;color:#fff!important;box-shadow:0 12px 28px color-mix(in srgb,var(--brand-purple) 24%,transparent)!important}
body.jolfa-commerce-theme .jolfa-cart-recommendation{background:var(--surface)!important;border-color:var(--border)!important}
body.jolfa-commerce-theme .jolfa-cart-recommendation:hover{border-color:color-mix(in srgb,var(--teal) 30%,var(--border))!important}
body.jolfa-commerce-theme .jolfa-cart-empty__visual{background:var(--action-soft)!important;color:var(--action)!important}

/* Checkout */
body.jolfa-commerce-theme .jolfa-checkout-topbar{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .jolfa-checkout-back{background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--border)!important}
body.jolfa-commerce-theme .jolfa-checkout-progress li .jolfa-checkout-progress__node{background:var(--surface)!important;color:var(--muted)!important;border-color:var(--border)!important;box-shadow:0 0 0 3px var(--surface)!important}
body.jolfa-commerce-theme .jolfa-checkout-progress li.is-active .jolfa-checkout-progress__node{background:var(--action)!important;color:#fff!important;border-color:var(--action)!important;box-shadow:0 0 0 3px var(--surface),0 0 0 6px color-mix(in srgb,var(--action) 13%,transparent)!important}
body.jolfa-commerce-theme .jolfa-checkout-progress li.is-complete .jolfa-checkout-progress__node{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}
body.jolfa-commerce-theme .jolfa-checkout-progress li.is-complete::after{background:var(--green)!important}
body.jolfa-commerce-theme .jolfa-checkout-progress li.is-active::after{background:linear-gradient(90deg,var(--green),var(--action))!important}
body.jolfa-commerce-theme .jolfa-checkout-card,body.jolfa-commerce-theme .jolfa-checkout-summary__card{background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .jolfa-checkout-card__head{border-bottom-color:var(--border)!important}
body.jolfa-commerce-theme .jolfa-checkout-card:nth-of-type(1) .jolfa-checkout-section-icon{background:var(--action-soft)!important;color:var(--action)!important}
body.jolfa-commerce-theme .jolfa-checkout-card:nth-of-type(2) .jolfa-checkout-section-icon{background:var(--teal-soft)!important;color:var(--teal-strong)!important}
body.jolfa-commerce-theme .jolfa-checkout-card:nth-of-type(3) .jolfa-checkout-section-icon{background:var(--amber-soft)!important;color:var(--amber)!important}
body.jolfa-commerce-theme .jolfa-checkout-address,body.jolfa-commerce-theme .jolfa-shipping-option,body.jolfa-commerce-theme .jolfa-payment-method-card{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .jolfa-checkout-address:has(input:checked){background:var(--action-soft)!important;border-color:var(--action)!important}
body.jolfa-commerce-theme .jolfa-shipping-option:has(input:checked){background:var(--teal-soft)!important;border-color:var(--teal)!important}
body.jolfa-commerce-theme .jolfa-payment-method-card:has(input:checked){background:var(--action-soft)!important;border-color:var(--action)!important}
body.jolfa-commerce-theme .jolfa-shipping-option__icon{background:var(--teal-soft)!important;color:var(--teal-strong)!important}
body.jolfa-commerce-theme .jolfa-payment-method__icon{background:var(--action-soft)!important;color:var(--action)!important}
body.jolfa-commerce-theme .jolfa-shipping-collect-badge{background:var(--green-soft)!important;color:var(--green)!important}
body.jolfa-commerce-theme .jolfa-shipping-policy-note{background:var(--amber-soft)!important;border-color:color-mix(in srgb,var(--amber) 24%,var(--border))!important;color:color-mix(in srgb,var(--text) 76%,var(--amber))!important}
body.jolfa-commerce-theme .jolfa-shipping-policy-note i{color:var(--amber)!important}
body.jolfa-commerce-theme .jolfa-checkout-summary__card{position:relative;overflow:hidden}
body.jolfa-commerce-theme .jolfa-checkout-summary__card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--action),var(--teal))}
body.jolfa-commerce-theme .jolfa-checkout-total{background:var(--action-soft)!important;border-color:color-mix(in srgb,var(--action) 20%,var(--border))!important}
body.jolfa-commerce-theme .jolfa-checkout-alert{border-color:color-mix(in srgb,var(--amber) 28%,var(--border))!important;background:var(--amber-soft)!important}

/* Search and categories landing */
body.jolfa-commerce-theme .jolfa-search-page__head{background:linear-gradient(135deg,var(--action-soft),var(--teal-soft))!important;border:1px solid var(--border)!important}
body.jolfa-commerce-theme .jolfa-search-page__head>span{color:var(--teal-strong)!important}
body.jolfa-commerce-theme .jolfa-search-category-list a{background:var(--surface)!important;border-color:var(--border)!important}
body.jolfa-commerce-theme .jolfa-search-category-list a:nth-child(3n+1)>i:first-child{color:var(--action)!important;background:var(--action-soft)!important}
body.jolfa-commerce-theme .jolfa-search-category-list a:nth-child(3n+2)>i:first-child{color:var(--teal-strong)!important;background:var(--teal-soft)!important}
body.jolfa-commerce-theme .jolfa-search-category-list a:nth-child(3n)>i:first-child{color:var(--amber)!important;background:var(--amber-soft)!important}
body.jolfa-commerce-theme .mobile-category-browser{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}
body.jolfa-commerce-theme .mobile-category-root.is-active{background:var(--action-soft)!important;color:var(--action)!important;border-color:color-mix(in srgb,var(--action) 22%,var(--border))!important}
body.jolfa-commerce-theme .mobile-category-root:nth-child(3n+1) .mobile-category-root__icon{background:var(--action-soft)!important;color:var(--action)!important}
body.jolfa-commerce-theme .mobile-category-root:nth-child(3n+2) .mobile-category-root__icon{background:var(--teal-soft)!important;color:var(--teal-strong)!important}
body.jolfa-commerce-theme .mobile-category-root:nth-child(3n) .mobile-category-root__icon{background:var(--amber-soft)!important;color:var(--amber)!important}
body.jolfa-commerce-theme .mobile-category-group{border-color:var(--border)!important;background:var(--surface)!important}

/* Forms and feedback: colors carry meaning and keep text/icons. */
body.jolfa-public-theme .form-alert.success{background:var(--green-soft)!important;border-color:color-mix(in srgb,var(--green) 28%,var(--border))!important;color:var(--green)!important}
body.jolfa-public-theme .form-alert.warning{background:var(--amber-soft)!important;border-color:color-mix(in srgb,var(--amber) 30%,var(--border))!important;color:color-mix(in srgb,var(--text) 72%,var(--amber))!important}
body.jolfa-public-theme .form-alert.danger{background:var(--coral-soft)!important;border-color:color-mix(in srgb,var(--coral) 30%,var(--border))!important;color:color-mix(in srgb,var(--text) 68%,var(--coral))!important}

/* Mobile bottom navigation */
@media(max-width:980px){
  body.jolfa-public-theme .mobile-bottom-nav{background:color-mix(in srgb,var(--surface) 94%,transparent)!important;border-color:var(--border)!important;box-shadow:0 -10px 28px rgba(28,43,68,.08)!important}
  body.jolfa-public-theme .mobile-bottom-nav>a,body.jolfa-public-theme .mobile-bottom-panel-switcher>summary{color:var(--muted)!important}
  body.jolfa-public-theme .mobile-bottom-nav>a.is-active,body.jolfa-public-theme .mobile-bottom-panel-switcher.is-active>summary{color:var(--action)!important}
  body.jolfa-public-theme .mobile-bottom-nav>a.is-active i,body.jolfa-public-theme .mobile-bottom-panel-switcher.is-active>summary i{background:var(--action-soft)!important;color:var(--action)!important}
}

/* Footer intentionally inherits the established Jolfa footer design. */

/* Dark mode keeps primary actions purple with readable white text. */
html[data-theme="dark"] body.jolfa-public-theme .button-primary,
html[data-theme="dark"] body.jolfa-public-theme .commerce-button--primary,
html[data-theme="dark"] body.jolfa-public-theme .commerce-add-primary,
html[data-theme="dark"] body.jolfa-public-theme .commerce-mobile-pdp-buybar__add,
html[data-theme="dark"] body.jolfa-public-theme .jolfa-checkout-submit,
html[data-theme="dark"] body.jolfa-public-theme .jolfa-cart-checkout,
html[data-theme="dark"] body.jolfa-public-theme .auth-button{
  background:linear-gradient(135deg,#754389,#5b326d)!important;
  color:#fff!important;
}

/* Responsive refinement */
@media(max-width:760px){
  body.jolfa-public-theme{--radius-xl:22px;--radius-lg:18px}
  body.jolfa-commerce-theme .commerce-category-hero{border-radius:20px!important}
  body.jolfa-commerce-theme .commerce-product-card,body.home-page .market-product-card{box-shadow:none!important}
  body.product-detail-page .commerce-buy-box{box-shadow:none!important}
  body.jolfa-commerce-theme .jolfa-cart-summary__card,body.jolfa-commerce-theme .jolfa-checkout-summary__card{box-shadow:none!important}
}

@media(prefers-reduced-motion:reduce){
  body.jolfa-public-theme *,body.jolfa-public-theme *::before,body.jolfa-public-theme *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
