/* IT Point — Soft Modern Electro theme (override layer, loaded last in header.php).
   Every rule is scoped to body.ip-soft so it beats the inline page styles.
   Remove class "ip-soft" from <body> in header.php to go back to the old look. */

body.ip-soft{
  --s-bg:#f4f7fb;
  --s-card:#ffffff;
  --s-line:#e8edf4;
  --s-ink:#0f172a;
  --s-text:#475569;
  --s-mute:#94a3b8;
  --s-tint:rgba(var(--primary-rgb),.08);
  --s-tint-2:rgba(var(--primary-rgb),.14);
  --s-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.06);
  --s-shadow-hi:0 2px 4px rgba(15,23,42,.04),0 20px 40px rgba(15,23,42,.10);
  --s-r:20px;
  background:var(--s-bg) !important;
  color:var(--s-text);
}
body.ip-soft,body.ip-soft *:not(i):not(.fa):not(.fas):not(.far):not(.fab){font-family:'Plus Jakarta Sans','Hind Siliguri',system-ui,sans-serif}

/* ---------- top bar: theme colour ---------- */
body.ip-soft .ml-topbar{background:linear-gradient(90deg,var(--primary-darker),var(--primary) 70%,var(--primary-dark)) !important;color:rgba(255,255,255,.9) !important;border-bottom:0}
body.ip-soft .ml-topbar .text-white,body.ip-soft .ml-topbar .text-white\/85{color:#fff !important}
body.ip-soft .ml-topbar a{color:rgba(255,255,255,.88)}
body.ip-soft .ml-topbar a:hover{color:#fff}
body.ip-soft .ml-topbar .ml-pulse{background:#4ade80;box-shadow:0 0 0 0 rgba(74,222,128,.6)}
body.ip-soft .ml-topbar .border-white\/20{border-color:rgba(255,255,255,.22) !important}
body.ip-soft .ml-topbar i{color:rgba(255,255,255,.85)}

/* ---------- header ---------- */
body.ip-soft header.sticky{border-bottom:0 !important;background:rgba(255,255,255,.85) !important;backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px);box-shadow:0 1px 0 var(--s-line),0 10px 30px rgba(15,23,42,.05) !important}
body.ip-soft header .border-gray-100{border-color:#eef2f7 !important}
body.ip-soft .rf-search{background:#f3f6fa;border:1px solid transparent;height:50px}
body.ip-soft .rf-search:hover{border-color:var(--s-line)}
body.ip-soft .rf-search:focus-within{background:#fff;border-color:rgba(var(--primary-rgb),.35);box-shadow:0 0 0 5px rgba(var(--primary-rgb),.10)}
body.ip-soft .rf-search .rf-sel{border-right-color:#e2e8f0}
body.ip-soft .rf-search button{box-shadow:0 6px 16px rgba(var(--primary-rgb),.25);background:linear-gradient(135deg,var(--primary-light),var(--primary))}
body.ip-soft .ml-hotline-ic{border-radius:14px;border:0;background:var(--s-tint)}
body.ip-soft .btn-secondary-theme{background:var(--s-tint) !important;color:var(--primary) !important;border-radius:9999px !important;padding:9px 16px !important;font-weight:600}
body.ip-soft .btn-secondary-theme:hover{background:var(--primary) !important;color:#fff !important}
body.ip-soft #cartCount{display:inline-block;min-width:20px;text-align:center}
body.ip-soft .ml-nav a.ml-link{color:#64748b;font-weight:600}
body.ip-soft .ml-nav a.ml-link::after{height:0;bottom:6px;left:-10px;right:-10px;top:6px;border-radius:9999px;background:var(--s-tint);transform:none;opacity:0;z-index:-1;transition:opacity .2s}
body.ip-soft .ml-nav a.ml-link:hover::after,body.ip-soft .ml-nav a.ml-link.is-active::after{opacity:1;height:auto}
body.ip-soft .ml-nav a.ml-link.is-active,body.ip-soft .ml-nav a.ml-link:hover{color:var(--primary)}
body.ip-soft .ml-nav a.ml-link{isolation:isolate}
body.ip-soft .ml-quote{box-shadow:0 6px 16px rgba(37,211,102,.22)}
body.ip-soft .dropdown-menu{border-radius:18px !important;border:1px solid var(--s-line) !important;box-shadow:var(--s-shadow-hi) !important}

/* ---------- hero ---------- */
body.ip-soft .ip-hero{background:radial-gradient(900px 420px at 0% 0%,rgba(var(--primary-rgb),.10),transparent 60%),radial-gradient(800px 420px at 100% 0%,rgba(139,92,246,.08),transparent 60%),var(--s-bg)}
body.ip-soft .ip-side{border:0;border-radius:24px;box-shadow:var(--s-shadow)}
body.ip-soft .ip-side-hd{background:transparent;color:var(--s-ink);font-weight:700;padding:16px 18px 10px;border-bottom:1px solid #f1f5f9}
body.ip-soft .ip-side-hd i{width:30px;height:30px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:var(--s-tint);color:var(--primary);font-size:13px}
body.ip-soft .ip-side li a{margin:1px 8px;padding:7px 10px;border-radius:12px;color:#475569}
body.ip-soft .ip-side li a img{width:28px;height:28px;padding:3px;border-radius:9px;background:#f4f7fb}
body.ip-soft .ip-side li a:hover{background:var(--s-tint)}
body.ip-soft #heroSlider{border-radius:24px;box-shadow:var(--s-shadow-hi) !important;--tw-ring-color:transparent}
body.ip-soft #heroSlider .hs-bar{background:rgba(255,255,255,.22)}

/* soft brand band (was navy) */
body.ip-soft .ip-band{background:linear-gradient(120deg,#ffffff 0%,#f3f9fe 45%,#f4f2ff 100%);color:var(--s-ink);border-radius:24px;box-shadow:var(--s-shadow);border:1px solid #fff}
body.ip-soft .ip-band::after{background:radial-gradient(rgba(var(--primary-rgb),.18),transparent 70%);left:auto;right:-120px;top:-180px}
body.ip-soft .ip-band h1{color:var(--s-ink);font-weight:800;letter-spacing:-.02em}
body.ip-soft .ip-band h1 span{color:var(--primary)}
body.ip-soft .ip-band p{color:#64748b}
body.ip-soft .ip-btn{border-radius:9999px;padding:11px 22px;background:linear-gradient(135deg,var(--primary-light),var(--primary));box-shadow:0 10px 22px rgba(var(--primary-rgb),.25)}
body.ip-soft .ip-btn:hover{filter:brightness(1.05);background:linear-gradient(135deg,var(--primary-light),var(--primary))}
body.ip-soft .ip-feat{background:#fff;border:1px solid #eef2f7;border-radius:18px;box-shadow:0 4px 14px rgba(15,23,42,.04);transition:transform .25s,box-shadow .25s}
body.ip-soft .ip-feat:hover{transform:translateY(-2px);box-shadow:var(--s-shadow)}
body.ip-soft .ip-feat b{color:var(--s-ink)}
body.ip-soft .ip-feat small{color:#64748b}
body.ip-soft .ip-feat .ic{border-radius:14px}
body.ip-soft .ip-feat:nth-child(1) .ic{background:var(--s-tint-2);color:var(--primary)}
body.ip-soft .ip-feat:nth-child(2) .ic{background:#dcfce7;color:#16a34a}
body.ip-soft .ip-feat:nth-child(3) .ic{background:#fef3c7;color:#d97706}
body.ip-soft .ip-feat:nth-child(4) .ic{background:#ede9fe;color:#7c3aed}

/* ---------- sections ---------- */
body.ip-soft section.bg-white,body.ip-soft section.bg-slate-50{background:transparent !important}
body.ip-soft .ip-sec-head{border-bottom:0;padding-bottom:0;margin-bottom:22px}
body.ip-soft .ip-sec-head::after{display:none}
body.ip-soft .ip-sec-head h2{font-weight:800;letter-spacing:-.02em;color:var(--s-ink);display:flex;align-items:center;gap:10px}
body.ip-soft .ip-sec-head h2::before{content:"";width:10px;height:10px;border-radius:4px;background:linear-gradient(135deg,var(--primary-light),var(--primary));box-shadow:0 0 0 5px var(--s-tint)}
body.ip-soft .ip-sec-head p{color:var(--s-mute)}
body.ip-soft .ip-link{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:9999px;background:#fff;box-shadow:var(--s-shadow);text-decoration:none !important;transition:background .2s,color .2s}
body.ip-soft .ip-link:hover{background:var(--primary);color:#fff}

/* categories: soft tiles with pastel icon wells */
body.ip-soft .ip-cat{flex-direction:column;justify-content:center;text-align:center;gap:10px;padding:18px 10px 16px;border:0;border-radius:var(--s-r);box-shadow:var(--s-shadow);transition:transform .25s,box-shadow .25s}
body.ip-soft .ip-cat:hover{transform:translateY(-4px);box-shadow:var(--s-shadow-hi);border:0}
body.ip-soft .ip-cat .im{flex:none;width:64px;height:64px;border-radius:20px;transition:transform .3s}
body.ip-soft .ip-cat:hover .im{transform:scale(1.06)}
body.ip-soft .ip-cat img{width:40px;height:40px}
body.ip-soft .ip-cat span{font-size:13.5px;color:#334155}
body.ip-soft .ip-cat:nth-child(6n+1) .im{background:var(--s-tint-2)}
body.ip-soft .ip-cat:nth-child(6n+2) .im{background:#ede9fe}
body.ip-soft .ip-cat:nth-child(6n+3) .im{background:#dcfce7}
body.ip-soft .ip-cat:nth-child(6n+4) .im{background:#fef3c7}
body.ip-soft .ip-cat:nth-child(6n+5) .im{background:#fce7f3}
body.ip-soft .ip-cat:nth-child(6n+6) .im{background:#e0e7ff}

/* ---------- product cards ---------- */
body.ip-soft .rf-card{border:0;border-radius:22px;box-shadow:var(--s-shadow);padding:8px}
body.ip-soft .rf-card:hover{transform:translateY(-5px);box-shadow:var(--s-shadow-hi)}
body.ip-soft .rf-img{border-radius:16px;background:linear-gradient(160deg,#f6f9fc,#eef3f8)}
body.ip-soft .rf-img img{padding:18px}
body.ip-soft .rf-badge{background:#fff;color:#e11d48;box-shadow:0 4px 12px rgba(15,23,42,.08);font-weight:700}
body.ip-soft .rf-star{background:rgba(255,255,255,.9);color:#b45309;box-shadow:0 4px 12px rgba(15,23,42,.06)}
body.ip-soft .rf-actions>*{border-radius:9999px;box-shadow:0 6px 16px rgba(15,23,42,.10)}
body.ip-soft .rf-body{padding:12px 8px 6px}
body.ip-soft .rf-cat{color:var(--primary);opacity:.8;font-weight:600;letter-spacing:.04em}
body.ip-soft .rf-name{font-weight:600;color:#1e293b}
body.ip-soft .rf-now{color:var(--s-ink);font-weight:800}
body.ip-soft .rf-save{color:#16a34a}
body.ip-soft .rf-order{border-radius:9999px;background:var(--s-tint);color:var(--primary);font-weight:700}
body.ip-soft .rf-order:hover{background:var(--primary);color:#fff}
body.ip-soft .rf-cart{border-radius:9999px;border:0;background:linear-gradient(135deg,var(--primary-light),var(--primary));color:#fff;box-shadow:0 6px 14px rgba(var(--primary-rgb),.25)}
body.ip-soft .rf-cart:hover{filter:brightness(1.06)}

/* promo banners + offers */
body.ip-soft .rounded-2xl{border-radius:24px}
body.ip-soft section .h-56.rounded-2xl,body.ip-soft section .sm\:h-64.rounded-2xl{box-shadow:var(--s-shadow-hi)}
body.ip-soft .rf-offers{background:radial-gradient(800px 360px at 10% 0%,rgba(244,63,94,.07),transparent 60%),radial-gradient(700px 300px at 95% 100%,rgba(var(--primary-rgb),.08),transparent 60%),var(--s-bg);border:0}

/* ---------- generic soft polish for inner pages (shop, detail, cart, checkout) ---------- */
body.ip-soft .bg-white.rounded-lg,body.ip-soft .bg-white.rounded-xl,body.ip-soft .bg-white.rounded-2xl{border-radius:20px !important}
body.ip-soft .bg-white.shadow,body.ip-soft .bg-white.shadow-sm,body.ip-soft .bg-white.shadow-md,body.ip-soft .bg-white.shadow-lg{box-shadow:var(--s-shadow) !important}
body.ip-soft input[type=text],body.ip-soft input[type=email],body.ip-soft input[type=tel],body.ip-soft input[type=number],body.ip-soft select,body.ip-soft textarea{border-radius:12px}

/* ---------- footer: deep but soft ---------- */
body.ip-soft footer{background:linear-gradient(180deg,#1e293b 0%,#0f172a 100%) !important;border-radius:32px 32px 0 0;overflow:hidden}
body.ip-soft footer > .h-1{display:none}
body.ip-soft footer .bg-black\/20{background:rgba(255,255,255,.03) !important}
body.ip-soft #backToTop{background:linear-gradient(135deg,var(--primary-light),var(--primary)) !important;box-shadow:0 10px 24px rgba(var(--primary-rgb),.35)}

@media (max-width:640px){
  body.ip-soft .rf-card{padding:6px;border-radius:18px}
  body.ip-soft .rf-img{border-radius:13px}
  body.ip-soft .grid:has(> .ip-cat){grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  body.ip-soft .ip-cat{padding:12px 6px;gap:8px;border-radius:16px}
  body.ip-soft .ip-cat .im{width:48px;height:48px;border-radius:14px}
  body.ip-soft .ip-cat img{width:32px;height:32px}
  body.ip-soft .ip-cat span{font-size:12px}
  body.ip-soft .ip-band,body.ip-soft #heroSlider{border-radius:20px}
  body.ip-soft footer{border-radius:24px 24px 0 0}
}
@media (prefers-reduced-motion:reduce){body.ip-soft .ip-cat,body.ip-soft .ip-feat,body.ip-soft .rf-card{transition:none !important}}

/* slider controls on light banners */
body.ip-soft #heroSlider .hs-bar{left:auto;right:18px;transform:none;background:rgba(255,255,255,.85);border-color:rgba(15,23,42,.06);box-shadow:0 8px 20px rgba(15,23,42,.08)}
body.ip-soft #heroSlider .hs-count{display:none}
body.ip-soft #heroSlider .hs-bar{bottom:10px;padding:7px 12px}
body.ip-soft #heroSlider .hs-dot{background:rgba(15,23,42,.18)}
body.ip-soft #heroSlider .hs-dot.is-active{background:rgba(15,23,42,.12)}
body.ip-soft #heroSlider .hs-dot.is-done{background:rgba(15,23,42,.35)}
body.ip-soft #heroSlider .hs-arrow{color:#334155;background:rgba(255,255,255,.8);border-color:rgba(15,23,42,.06)}
body.ip-soft #heroSlider .hs-arrow:hover{color:#fff}
@media (max-width:640px){
  body.ip-soft #heroSlider .hs-arrow{width:28px;height:28px;opacity:.85}
  body.ip-soft #heroSlider .hs-prev{left:4px}body.ip-soft #heroSlider .hs-next{right:4px}
  body.ip-soft #heroSlider .hs-bar{right:10px;bottom:8px}
}

/* small phones: keep cart pill on one line, shrink long shop names */
@media (max-width:640px){
  body.ip-soft header .btn-secondary-theme{white-space:nowrap;padding:8px 12px !important}
  body.ip-soft header h1{font-size:15px;letter-spacing:0}
  body.ip-soft header img.h-10{height:34px}
}
body.ip-soft .rf-img img.is-broken{opacity:.35;padding:28%}

/* 2026-11-01 owner: theme colour SOLID everywhere (no primary gradients) */
body.ip-soft .ml-topbar,body.ip-soft .top-header-bg,body.ip-soft .bg-gradient-primary{background:var(--primary) !important}
body.ip-soft .rf-search button,body.ip-soft .ip-btn,body.ip-soft .ip-btn:hover,body.ip-soft .rf-cart,body.ip-soft #backToTop,body.ip-soft .ip-sec-head h2::before{background:var(--primary) !important;background-image:none !important}
body.ip-soft .text-gradient-primary{background:none !important;-webkit-text-fill-color:var(--primary) !important;color:var(--primary) !important}

/* 2026-11-01 owner: HEADER in solid theme colour */
body.ip-soft header.sticky{background:var(--primary) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;box-shadow:0 6px 20px rgba(15,23,42,.12) !important}
body.ip-soft .ml-topbar{border-bottom:1px solid rgba(255,255,255,.14) !important}
body.ip-soft header .max-w-7xl > div.border-t{border-color:rgba(255,255,255,.16) !important}
body.ip-soft header a.flex.items-center > img{background:#fff;padding:4px 12px;border-radius:12px;box-sizing:content-box;box-shadow:0 4px 12px rgba(0,0,0,.12)}
body.ip-soft header a.flex.items-center > h1{color:#fff !important}
body.ip-soft header a.flex.items-center > span.bg-gray-300{background:rgba(255,255,255,.35) !important}
body.ip-soft header .rf-search{background:#fff !important;border-color:#fff !important}
body.ip-soft header .rf-search button{box-shadow:none !important}
body.ip-soft header .ml-hotline-ic{background:rgba(255,255,255,.16) !important;color:#fff !important}
body.ip-soft header .group\/hl .text-gray-400{color:rgba(255,255,255,.72) !important}
body.ip-soft header .group\/hl span[style]{color:#fff !important}
body.ip-soft header .relative.group > a.btn-secondary-theme{background:#fff !important;color:var(--primary) !important}
body.ip-soft header .relative.group > a.btn-secondary-theme:hover{background:#fcd34d !important;color:#0f172a !important}
body.ip-soft .ml-nav a.ml-link{color:rgba(255,255,255,.82) !important}
body.ip-soft .ml-nav a.ml-link i{color:rgba(255,255,255,.6) !important}
body.ip-soft .ml-nav a.ml-link:hover,body.ip-soft .ml-nav a.ml-link.is-active{color:#fff !important}
body.ip-soft .ml-nav a.ml-link:hover i,body.ip-soft .ml-nav a.ml-link.is-active i{color:#fff !important}
body.ip-soft .ml-nav a.ml-link::after{background:rgba(255,255,255,.16) !important}
body.ip-soft .ml-nav a.ml-quote{background:#fff !important;color:var(--primary) !important;box-shadow:0 6px 16px rgba(0,0,0,.12) !important}
body.ip-soft header #mobileMenuBtn i{color:#fff !important}
body.ip-soft header #mobileMenuBtn:hover{background:rgba(255,255,255,.15) !important}

/* 2026-11-01 owner: no grey background behind product images */
body.ip-soft .rf-img{background:#fff !important}
body.ip-soft .aspect-square.bg-gray-50,body.ip-soft .thumb-btn.bg-gray-50{background:#fff !important}

/* 2026-11-01 owner: top bar a little deeper, no lines in header */
body.ip-soft .ml-topbar{background:var(--primary-dark) !important;border-bottom:0 !important}
body.ip-soft header .max-w-7xl > div.border-t,body.ip-soft header .lg\:hidden.border-t{border-top:0 !important}
body.ip-soft header.sticky{box-shadow:none !important}

/* 2026-11-01 owner: product card title on ONE line (ellipsis), all screen sizes */
body.ip-soft .rf-name{display:block !important;-webkit-line-clamp:unset !important;min-height:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
body.ip-soft .rf-name a{display:inline}

/* 2026-11-01 owner: header Offers button colour — yellow (matches slider CTAs) */
body.ip-soft .ml-nav a.ml-quote{background:#fcd34d !important;color:#0f172a !important;box-shadow:0 6px 16px rgba(0,0,0,.15) !important}
body.ip-soft .ml-nav a.ml-quote i{color:#e11d48 !important}
body.ip-soft .ml-nav a.ml-quote:hover{background:#fde047 !important}

/* 2026-11-01 owner: FOOTER updated to match header — solid theme blue, yellow accents */
body.ip-soft footer{background:var(--primary-dark) !important}
body.ip-soft footer .text-primary-theme{color:#fcd34d !important}
body.ip-soft footer h3 > span.bg-primary-theme{background:#fcd34d !important}
body.ip-soft footer p[style*="primary-light"]{color:#fcd34d !important}
body.ip-soft footer .bg-white\/10{background:rgba(255,255,255,.14) !important}
body.ip-soft footer a.bg-white\/10:hover{background:#fff !important;color:var(--primary) !important}
body.ip-soft footer a.bg-primary-theme{background:#fcd34d !important;color:#0f172a !important}
body.ip-soft footer a.bg-primary-theme:hover{background:#fde047 !important;opacity:1 !important}
body.ip-soft footer .text-white\/70,body.ip-soft footer .text-white\/80{color:rgba(255,255,255,.88) !important}
body.ip-soft footer .text-white\/50,body.ip-soft footer .text-white\/60{color:rgba(255,255,255,.7) !important}
body.ip-soft footer .border-t.border-white\/10{border-top:0 !important;background:var(--primary-darker) !important}

/* 2026-11-01 owner: smoother page loading */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
body.ip-soft img.ip-fade{opacity:0;transition:opacity .45s ease}
body.ip-soft img.ip-fade.ip-in{opacity:1}
@media (prefers-reduced-motion:reduce){body.ip-soft *{animation:none !important}body.ip-soft img.ip-fade{opacity:1;transition:none}@view-transition{navigation:none}}
