/* Shifa-e-Hikmat Store — Premium International Design System */
:root{
  --sh-primary:#14532d; --sh-primary-dark:#0b351b; --sh-primary-light:#e6f0e8;
  --sh-secondary:#c6a15b; --sh-gold-dark:#a8863f; --sh-gold-light:#f7efdc;
  --sh-bg:#ffffff; --sh-surface:#fafaf7; --sh-surface-2:#f2f3ec;
  --sh-ink:#1a231c; --sh-muted:#6b756d; --sh-border:#e8ebe4;
  --sh-danger:#b42318; --sh-success:#168044; --sh-warning:#b7791f;
  --sh-r-sm:10px; --sh-r-md:16px; --sh-r-lg:24px; --sh-r-xl:32px;
  --sh-shadow-sm:0 2px 8px rgba(20,35,26,.06);
  --sh-shadow-md:0 10px 30px rgba(20,35,26,.08);
  --sh-shadow-lg:0 24px 60px rgba(20,35,26,.12);
  --sh-font:'Inter',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--sh-font);color:var(--sh-ink);background:var(--sh-bg);margin:0;line-height:1.6;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
h1,h2,h3,h4,h5{font-weight:800;letter-spacing:-.02em;line-height:1.2;color:var(--sh-ink)}
.container-sh{max-width:1280px;margin:0 auto;padding:0 clamp(14px,3vw,32px);width:100%}

/* Announcement bar */
.sh-topbar{background:var(--sh-primary);color:#eef4ee;font-size:.82rem;padding:9px 0;letter-spacing:.01em}
.sh-topbar a{color:#fff;font-weight:600;text-decoration:underline}

/* Navbar */
.sh-navbar{background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--sh-border);position:sticky;top:0;z-index:100}
.sh-navbar .container-sh{display:flex;align-items:center;gap:18px;min-height:74px}
.sh-brand{display:flex;align-items:center;gap:12px;font-weight:850;color:var(--sh-primary);font-size:1.12rem;letter-spacing:-.01em;flex-shrink:0}
.sh-brand img{width:44px;height:44px;object-fit:contain;border-radius:12px}
.sh-nav{display:flex;align-items:center;gap:4px;margin-left:8px}
.sh-nav a{padding:9px 14px;border-radius:10px;font-weight:600;color:#334036;font-size:.94rem;transition:.18s}
.sh-nav a:hover,.sh-nav a.active{background:var(--sh-primary-light);color:var(--sh-primary)}
.sh-search{display:flex;gap:8px;flex:1;max-width:380px;margin-left:auto}
.sh-search input{flex:1;min-height:44px;border:1px solid var(--sh-border);border-radius:var(--sh-r-sm);padding:0 14px;font-size:.92rem;background:var(--sh-surface)}
.sh-search input:focus{outline:none;border-color:var(--sh-primary);box-shadow:0 0 0 3px rgba(20,83,45,.12)}
.sh-nav-toggle{display:none;background:none;border:1px solid var(--sh-border);border-radius:10px;width:44px;height:44px;font-size:1.1rem;color:var(--sh-primary);cursor:pointer}
.sh-nav-mobile{display:none}

/* Buttons */
.sh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:var(--sh-r-sm);font-weight:700;font-size:.95rem;border:1px solid transparent;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s;min-height:44px;text-align:center}
.sh-btn-primary{background:var(--sh-primary);color:#fff}
.sh-btn-primary:hover{background:var(--sh-primary-dark);color:#fff;transform:translateY(-1px);box-shadow:var(--sh-shadow-md)}
.sh-btn-outline{border-color:var(--sh-primary);color:var(--sh-primary);background:transparent}
.sh-btn-outline:hover{background:var(--sh-primary);color:#fff}
.sh-btn-gold{background:var(--sh-secondary);color:#1a1405}
.sh-btn-gold:hover{background:var(--sh-gold-dark);color:#fff}
.sh-btn-block{width:100%}

/* Hero */
.sh-hero{background:radial-gradient(circle at 85% 15%,var(--sh-gold-light) 0,transparent 45%),linear-gradient(135deg,#f7f9f4 0%,#eef3ea 100%);padding:clamp(48px,7vw,96px) 0;overflow:hidden}
.sh-hero h1{font-size:clamp(2.2rem,5vw,4rem);font-weight:900;letter-spacing:-.035em;color:#0f2e1a;line-height:1.08}
.sh-hero p{color:var(--sh-muted);font-size:1.08rem;max-width:560px;line-height:1.8}
.sh-eyebrow{font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--sh-primary);margin-bottom:14px}
.sh-hero-img{width:100%;border-radius:var(--sh-r-lg);box-shadow:var(--sh-shadow-lg);aspect-ratio:4/3;object-fit:cover;background:var(--sh-surface-2)}

/* Sections */
.sh-section{padding:clamp(44px,6vw,84px) 0}
.sh-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:34px;flex-wrap:wrap}
.sh-section-head h2{font-size:clamp(1.6rem,3vw,2.4rem);margin:6px 0 8px}
.sh-section-head p{color:var(--sh-muted);margin:0}

/* Product card */
.sh-product-card{height:100%;background:#fff;border:1px solid var(--sh-border);border-radius:var(--sh-r-md);overflow:hidden;display:flex;flex-direction:column;transition:transform .22s,box-shadow .22s}
.sh-product-card:hover{transform:translateY(-4px);box-shadow:var(--sh-shadow-md)}
.sh-product-media{position:relative;aspect-ratio:1/1;background:linear-gradient(145deg,#fafbf7,#eef1e8);display:grid;place-items:center;overflow:hidden}
.sh-product-media img{width:100%;height:100%;object-fit:contain;padding:14px;transition:transform .3s}
.sh-product-card:hover .sh-product-media img{transform:scale(1.05)}
.sh-product-body{padding:18px;display:flex;flex-direction:column;flex:1}
.sh-product-body h3{font-size:1rem;font-weight:750;line-height:1.4;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sh-product-desc{color:var(--sh-muted);font-size:.86rem;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px;min-height:2.6em}
.sh-price-row{margin-top:auto;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.sh-price{font-size:1.18rem;font-weight:850;color:var(--sh-primary)}
.sh-price-old{color:#9aa39c;text-decoration:line-through;font-size:.88rem}
.sh-badge{position:absolute;top:12px;left:12px;padding:5px 10px;border-radius:8px;font-size:.72rem;font-weight:800;letter-spacing:.04em;z-index:2}
.sh-badge-sale{background:var(--sh-danger);color:#fff}
.sh-badge-featured{background:var(--sh-secondary);color:#1a1405}
.sh-card-actions{display:flex;gap:8px;margin-top:14px}
.sh-card-actions .sh-btn{flex:1;padding:10px 8px;font-size:.85rem;min-height:40px}

/* Trust / benefit cards */
.sh-trust-grid{display:grid;gap:16px}
.sh-trust-card{background:#fff;border:1px solid var(--sh-border);border-radius:var(--sh-r-md);padding:22px;box-shadow:var(--sh-shadow-sm);height:100%}
.sh-trust-card i{color:var(--sh-primary);font-size:1.4rem;margin-bottom:12px}
.sh-trust-card strong{display:block;font-weight:750;margin-bottom:6px}
.sh-trust-card span{color:var(--sh-muted);font-size:.88rem}

/* Category card */
.sh-cat-card{position:relative;border-radius:var(--sh-r-md);overflow:hidden;aspect-ratio:4/3;background:linear-gradient(135deg,var(--sh-primary),var(--sh-primary-dark));display:grid;place-items:center;color:#fff;transition:transform .22s}
.sh-cat-card:hover{transform:translateY(-3px)}
.sh-cat-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
.sh-cat-card span{position:relative;z-index:2;font-weight:800;font-size:1.1rem;background:rgba(15,46,26,.55);padding:8px 18px;border-radius:10px;backdrop-filter:blur(4px)}

/* Testimonials */
.sh-testimonial{background:#fff;border:1px solid var(--sh-border);border-radius:var(--sh-r-md);padding:26px;height:100%;box-shadow:var(--sh-shadow-sm)}
.sh-testimonial .stars{color:var(--sh-secondary);margin-bottom:12px}
.sh-testimonial p{color:#3a463e;font-style:italic;line-height:1.7;margin-bottom:18px}
.sh-testimonial strong{display:block}
.sh-testimonial small{color:var(--sh-muted)}

/* Footer */
.sh-footer{background:#0c2416;color:#cdd8cf;padding:60px 0 24px;margin-top:40px}
.sh-footer h4{color:#fff;font-size:1rem;margin-bottom:18px;font-weight:750}
.sh-footer p,.sh-footer a{color:#a9b8ac;font-size:.92rem;line-height:1.9}
.sh-footer a:hover{color:var(--sh-secondary)}
.sh-footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:36px;padding-top:20px;font-size:.84rem;color:#8fa093;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.sh-social a{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);margin-right:8px;color:#fff;transition:.18s}
.sh-social a:hover{background:var(--sh-secondary);color:#0c2416}

/* Floating WhatsApp */
.sh-wa-float{position:fixed;bottom:22px;right:22px;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-size:1.6rem;box-shadow:0 10px 28px rgba(0,0,0,.25);z-index:90;transition:transform .2s}
.sh-wa-float:hover{transform:scale(1.08);color:#fff}

/* Forms */
.sh-input,.sh-select{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--sh-border);border-radius:var(--sh-r-sm);font-size:.94rem;background:#fff;font-family:inherit;color:var(--sh-ink)}
.sh-input:focus,.sh-select:focus{outline:none;border-color:var(--sh-primary);box-shadow:0 0 0 3px rgba(20,83,45,.12)}
textarea.sh-input{min-height:100px;resize:vertical}
.sh-label{display:block;font-weight:700;font-size:.88rem;color:#334036;margin-bottom:7px}
.sh-card{background:#fff;border:1px solid var(--sh-border);border-radius:var(--sh-r-md);padding:clamp(18px,3vw,30px);box-shadow:var(--sh-shadow-sm)}
.sh-alert{padding:14px 18px;border-radius:var(--sh-r-sm);font-weight:600;font-size:.92rem;margin-bottom:18px}
.sh-alert-success{background:#e8f5ec;color:#0f5132;border:1px solid #bad6c2}
.sh-alert-error{background:#fdecea;color:#842029;border:1px solid #f1c0bb}
.sh-alert-info{background:#eaf2fb;color:#1e4e8c;border:1px solid #c3d8ef}

/* Breadcrumb */
.sh-breadcrumb{font-size:.84rem;color:var(--sh-muted);margin-bottom:20px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.sh-breadcrumb a:hover{color:var(--sh-primary)}
.sh-breadcrumb .sep{color:#b8c0ba}

/* Tabs */
.sh-tabs{display:flex;gap:4px;border-bottom:1px solid var(--sh-border);margin-bottom:22px;flex-wrap:wrap}
.sh-tab-btn{background:none;border:none;padding:12px 18px;font-weight:700;font-size:.92rem;color:var(--sh-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;font-family:inherit}
.sh-tab-btn.active{color:var(--sh-primary);border-bottom-color:var(--sh-primary)}
.sh-tab-panel{display:none}
.sh-tab-panel.active{display:block}

/* Product detail gallery */
.sh-gallery-main{width:100%;aspect-ratio:1/1;object-fit:contain;background:var(--sh-surface);border-radius:var(--sh-r-md);border:1px solid var(--sh-border)}
.sh-gallery-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.sh-gallery-thumb{width:76px;height:76px;object-fit:cover;border-radius:10px;border:2px solid var(--sh-border);cursor:pointer;transition:.15s;background:var(--sh-surface)}
.sh-gallery-thumb.active,.sh-gallery-thumb:hover{border-color:var(--sh-primary)}
.sh-qty{display:inline-flex;align-items:center;border:1px solid var(--sh-border);border-radius:var(--sh-r-sm);overflow:hidden}
.sh-qty button{width:44px;height:44px;border:none;background:var(--sh-surface);font-size:1.1rem;cursor:pointer;color:var(--sh-primary);font-weight:700}
.sh-qty input{width:56px;height:44px;border:none;text-align:center;font-weight:700;font-size:1rem;-moz-appearance:textfield}
.sh-qty input::-webkit-outer-spin-button,.sh-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Checkout courier */
.sh-courier{border:1px solid var(--sh-border);border-radius:var(--sh-r-md);padding:16px;cursor:pointer;transition:.15s;height:100%;display:block;position:relative}
.sh-courier:has(input:checked){border-color:var(--sh-primary);background:var(--sh-primary-light);box-shadow:0 0 0 3px rgba(20,83,45,.1)}
.sh-courier input{position:absolute;top:16px;right:16px;accent-color:var(--sh-primary)}
.sh-summary{background:var(--sh-surface);border-radius:var(--sh-r-md);padding:22px;border:1px solid var(--sh-border)}
.sh-summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:.94rem}
.sh-summary-total{border-top:1px solid var(--sh-border);margin-top:10px;padding-top:14px;font-size:1.15rem;font-weight:850;color:var(--sh-primary)}

/* Empty state */
.sh-empty{border:2px dashed var(--sh-border);border-radius:var(--sh-r-lg);padding:56px 24px;text-align:center;color:var(--sh-muted)}
.sh-empty i{font-size:3rem;color:#c8d0c9;margin-bottom:16px}

/* Print (invoice) */
@media print{.sh-no-print{display:none!important}body{background:#fff}}

/* ===== Responsive: 6 breakpoints ===== */
/* Large screens >=1921 */
@media(min-width:1921px){.container-sh{max-width:1600px}.sh-hero h1{font-size:4.6rem}}
/* Desktop 1367-1920 — default */
/* Small laptop 1025-1366 */
@media(max-width:1366px){.container-sh{max-width:1140px}}
/* Tablet 768-1024 */
@media(max-width:1024px){
  .sh-search{max-width:240px}
  .sh-nav a{padding:8px 10px;font-size:.88rem}
}
/* Large mobile 481-767 */
@media(max-width:767px){
  .sh-nav-toggle{display:inline-grid;place-items:center}
  .sh-nav{display:none}
  .sh-nav-mobile.open{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid var(--sh-border)}
  .sh-nav-mobile a{padding:12px 16px;font-weight:600;border-radius:10px}
  .sh-nav-mobile a:hover{background:var(--sh-primary-light)}
  .sh-navbar .container-sh{flex-wrap:wrap}
  .sh-search{order:3;width:100%;max-width:none;margin:8px 0 4px}
  .sh-section{padding:44px 0}
  .sh-section-head{align-items:flex-start;flex-direction:column}
  .sh-card-actions{flex-direction:column}
  .sh-footer-bottom{flex-direction:column;text-align:center}
  .sh-wa-float{width:50px;height:50px;bottom:16px;right:16px;font-size:1.4rem}
  .sh-gallery-thumb{width:60px;height:60px}
}
/* Mobile 320-480 */
@media(max-width:480px){
  .sh-brand{font-size:.98rem}
  .sh-brand img{width:38px;height:38px}
  .sh-hero{padding:40px 0}
  .sh-hero h1{font-size:2rem}
  .sh-hero p{font-size:.96rem}
  .sh-btn{padding:11px 18px;font-size:.88rem}
  .sh-product-body{padding:12px}
  .sh-product-body h3{font-size:.9rem}
  .sh-product-desc{font-size:.8rem}
  .sh-price{font-size:1.02rem}
  .sh-card-actions .sh-btn{font-size:.8rem;padding:9px 6px}
  .sh-section-head h2{font-size:1.5rem}
  .sh-topbar{font-size:.74rem;text-align:center}
  .sh-qty button,.sh-qty input{width:40px;height:40px}
  .sh-qty input{width:48px}
}
