/* Artisan / handicraft theme (Jayshree Arts style): maroon, gold and cream.
   Colours and surfaces only. Functions and layout are unchanged. */
body.theme-artisan{
  --sf-brand:#6b1c2a; --sf-acc:#c9a24a; --sf-bg:#fbf6ee; --sf-ink:#2a1518; --sf-line:#eadfcd; --sf-mut:#6f6058;
  background:#fbf6ee; color:#2a1518; font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.theme-artisan h1,
body.theme-artisan h2,
body.theme-artisan h3,
body.theme-artisan .sf-name,
body.theme-artisan #modalProductName{ font-family:Georgia,"Times New Roman",serif; }

/* Banner */
body.theme-artisan .sf-hero{ position:relative; overflow:hidden; isolation:isolate; min-height:260px; background:#3a0d16; color:#ffffff; }
body.theme-artisan .sf-hero > .sf-cover{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
body.theme-artisan .sf-hero::before{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg,rgba(40,8,14,.35) 0%,rgba(40,8,14,.78) 70%,rgba(40,8,14,.9) 100%); }
body.theme-artisan .sf-hero::after{ background:#c9a24a; width:64px; height:3px; margin:16px auto 0; }
body.theme-artisan .sf-hero-in{ position:relative; z-index:2; }
body.theme-artisan .sf-hero h1{ color:#ffffff; text-shadow:0 2px 14px rgba(0,0,0,.6); }
body.theme-artisan .sf-hero .sf-about{ color:#f6ecdc; }
body.theme-artisan .sf-hero .sf-slogan{ color:#e9c97a; font-weight:700; }
body.theme-artisan .sf-type{ background:#f6ecd9; color:#6b1c2a; border:0; font-weight:800; letter-spacing:.6px; text-transform:uppercase; font-size:11px; }
body.theme-artisan .sf-hero .sf-meta{ background:rgba(40,8,14,.7); border:1px solid rgba(201,162,74,.45); border-radius:18px; padding:12px 14px; }
body.theme-artisan .sf-hero .sf-meta li,
body.theme-artisan .sf-hero .sf-meta a{ color:#ffffff; font-weight:600; }
body.theme-artisan .sf-hero .sf-meta svg{ stroke:#e9c97a; }

/* Buttons */
body.theme-artisan .sf-hbtn-solid,
body.theme-artisan .sf-btn-primary{ background:#6b1c2a; border-color:#6b1c2a; color:#ffffff; box-shadow:0 10px 22px -12px rgba(107,28,42,.7); }
body.theme-artisan .sf-hbtn-solid:hover,
body.theme-artisan .sf-btn-primary:hover{ background:#571521; }
body.theme-artisan .sf-hbtn-ghost,
body.theme-artisan .sf-btn-ghost{ background:#ffffff; color:#6b1c2a; border:1px solid #d9c49a; }
body.theme-artisan .sf-hero .sf-hbtn-ghost{ background:rgba(255,255,255,.12); color:#ffffff; border-color:rgba(255,255,255,.5); }

/* Product cards */
body.theme-artisan .sf-card{ border-radius:18px; border:1px solid #eadfcd; background:#ffffff; box-shadow:0 12px 26px -18px rgba(60,20,25,.4); }
body.theme-artisan .sf-card:hover{ box-shadow:0 22px 40px -20px rgba(107,28,42,.42); }
body.theme-artisan .sf-card .sf-name{ color:#2a1518; font-size:17px; }
body.theme-artisan .sf-card .sf-desc{ color:#5b4c45; }
body.theme-artisan .sf-card .sf-price b{ color:#8a1f2f; }
body.theme-artisan .sf-card .sf-badge{ background:#6b1c2a; color:#ffffff; }
body.theme-artisan .sf-group-head h3,
body.theme-artisan .sf-heading h2{ color:#2a1518; }
body.theme-artisan .sf-group-head{ border-bottom:1px solid #eadfcd; }

/* Details window */
body.theme-artisan .modal-category{ background:#f6ecd9; color:#6b1c2a; }
body.theme-artisan .modal-price{ color:#8a1f2f; }
body.theme-artisan .modal-actions .modal-call-button{ background:#6b1c2a; color:#ffffff; border:0; }
body.theme-artisan .modal-actions .share-link{ background:#ffffff; color:#6b1c2a; border:1.5px solid #d9c49a; }
body.theme-artisan .modal-stock{ color:#6b1c2a; }

/* Footer */
body.theme-artisan .sf-footer{ background:#3a0d16; color:#f3e7d3; }

/* Welcome screen with loading ring (logo, name, tagline, bar) */
body.theme-artisan .fz-splash{
  position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px; padding:24px; text-align:center; color:#ffffff;
  background:radial-gradient(circle at 50% 35%,#5a1424 0%,#2a0a10 75%);
  animation:fz-splash-out .6s ease 4.4s forwards;
}
body.theme-artisan .fz-splash-logo{
  width:120px; height:120px; border-radius:50%; background:#ffffff; display:grid; place-items:center;
  box-shadow:0 0 0 7px rgba(201,162,74,.25),0 20px 40px -10px rgba(0,0,0,.5);
  animation:fz-splash-in .7s cubic-bezier(.34,1.56,.64,1) both;
}
body.theme-artisan .fz-splash-logo img{ width:92px; height:92px; object-fit:contain; border-radius:50%; }
body.theme-artisan .fz-splash-logo{ font-family:Georgia,serif; font-size:48px; font-weight:900; color:#6b1c2a; }
body.theme-artisan .fz-splash h1{ font-family:Georgia,serif; font-size:clamp(28px,6vw,44px); font-weight:800; margin-top:10px; animation:fz-splash-up .7s ease .25s both; }
body.theme-artisan .fz-splash h1 span{ color:#e9c97a; }
body.theme-artisan .fz-splash .sub{ color:#efe2cc; font-size:15px; animation:fz-splash-up .7s ease .45s both; }
body.theme-artisan .fz-splash .by{ margin-top:22px; display:flex; align-items:center; gap:8px; font-size:12px; letter-spacing:1.4px; text-transform:uppercase; color:#d9c8b0; animation:fz-splash-up .7s ease .65s both; }
body.theme-artisan .fz-splash .by img{ height:18px; width:auto; filter:brightness(0) invert(1); }
body.theme-artisan .fz-splash .bar{ width:170px; height:3px; border-radius:3px; background:rgba(255,255,255,.15); overflow:hidden; margin-top:8px; }
body.theme-artisan .fz-splash .bar::after{ content:""; display:block; height:100%; background:#c9a24a; animation:fz-bar 5s linear forwards; }
@keyframes fz-bar{ from{width:0} to{width:100%} }
@keyframes fz-splash-in{ from{opacity:0; transform:scale(.6) rotate(-8deg)} to{opacity:1; transform:none} }
@keyframes fz-splash-up{ from{opacity:0; transform:translateY(12px)} to{opacity:1; transform:none} }
@keyframes fz-splash-out{ to{opacity:0; visibility:hidden} }
@media (prefers-reduced-motion:reduce){
  body.theme-artisan .fz-splash{ animation:fz-splash-out .4s ease 4.6s forwards; }
  body.theme-artisan .fz-splash *{ animation:none !important; }
  body.theme-artisan .fz-splash .bar::after{ width:100%; }
}
@media (max-width:640px){
  body.theme-artisan .sf-hero{ min-height:0; }
  body.theme-artisan .sf-hero h1{ font-size:30px !important; }
}
