:root{--sp-primary:#087b73;--sp-dark:#062d2a;--sp-soft:#e8f5f3;--sp-bg:#f7fafc;--sp-line:#e5edf0;--sp-text:#13202b;--sp-muted:#64748b;--sp-blue:#2563eb;--sp-green:#16a34a;--sp-red:#dc2626;--sp-orange:#f97316;--sp-purple:#7c3aed}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--sp-bg)!important;color:var(--sp-text)!important;-webkit-font-smoothing:antialiased}a{text-decoration:none!important}.topbar{background:#fff!important;color:var(--sp-text)!important;border-bottom:1px solid var(--sp-line)!important;box-shadow:0 8px 28px rgba(15,23,42,.06)!important}.logo{object-fit:contain}.topbar a{color:var(--sp-text)!important}.menu-btn{border:1px solid var(--sp-line)!important;border-radius:12px!important;width:42px;height:42px;line-height:1;background:#fff!important;color:var(--sp-primary)!important}.search,.search-box{height:46px!important;border-radius:14px!important;border:1px solid #cfe6e3!important;background:#eff8f7!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important}.search-wrap:after{content:'⌕';position:absolute;right:0;top:0;height:46px;width:54px;display:flex;align-items:center;justify-content:center;background:var(--sp-primary);color:#fff;border-radius:0 14px 14px 0;font-size:24px}.search-wrap input{padding-right:62px!important}.suggestions{border-radius:16px!important;border:1px solid var(--sp-line)!important;box-shadow:0 18px 50px rgba(15,23,42,.13)!important}.cart-link{width:44px;height:44px;border:1px solid var(--sp-line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--sp-primary)!important}.cart-link:before{content:'▣';font-size:20px}.cart-link>span:not(.cart-count){display:none}.cart-count{background:#ef4444!important;color:#fff!important;box-shadow:0 0 0 3px #fff}.nav-links a{font-weight:800!important}.layout{background:var(--sp-bg)}.main{padding:22px!important}.section-head{background:#fff;border:1px solid var(--sp-line);border-radius:16px;padding:16px 18px;margin-bottom:18px;box-shadow:0 8px 22px rgba(15,23,42,.04)}.section-title{margin:0!important;letter-spacing:-.02em}.slider,.slide img,.announcement a,.announcement img{border-radius:18px!important}.product-card{position:relative;background:#fff!important;border:1px solid var(--sp-line)!important;border-radius:18px!important;padding:12px!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;transition:.18s ease!important;overflow:hidden}.product-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(15,23,42,.10)!important}.product-card a{color:var(--sp-text)!important}.product-img{background:#fff;border-radius:14px!important;object-fit:contain}.product-name{font-weight:800!important;color:var(--sp-text)!important;min-height:38px}.pack{color:var(--sp-muted)!important;font-size:12px!important}.price{color:var(--sp-primary)!important;font-weight:900!important}.old-price{color:#94a3b8!important}.discount-badge{background:var(--sp-blue)!important;color:#fff!important;border-radius:0 0 8px 8px!important;font-weight:900!important}.btn-cart,.btn-main,.checkout-btn,.place-btn,input[type=submit],button[type=submit]{background:var(--sp-primary)!important;color:#fff!important;border:0!important;border-radius:12px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(8,123,115,.18)!important;transition:.18s ease!important}.btn-cart:hover,.btn-main:hover,.checkout-btn:hover,.place-btn:hover,input[type=submit]:hover,button[type=submit]:hover{transform:translateY(-1px);background:#06645e!important}.footer{background:#061f1d!important;color:#e8f5f3!important}.footer a,.footer p{color:#cde8e4!important}.footer-logo{border-radius:10px;background:#fff;padding:4px}.bottom-nav{background:#fff!important;border-top:1px solid var(--sp-line)!important;box-shadow:0 -10px 28px rgba(15,23,42,.08)!important}.bottom-nav a{color:var(--sp-muted)!important;font-weight:800}.bottom-nav a:before{display:block;font-size:19px;color:var(--sp-primary);line-height:1.2}.bottom-nav a:nth-child(1):before{content:'⌂'}.bottom-nav a:nth-child(2):before{content:'☰'}.bottom-nav a:nth-child(3):before{content:'▣'}.bottom-nav a:nth-child(4):before{content:'◌'}.bottom-nav span{display:none!important}.toast{border-radius:16px!important;background:#062d2a!important;color:#fff!important;box-shadow:0 18px 50px rgba(15,23,42,.20)!important}.toast:before{content:'✓ ';color:#60d394}.site-sidebar{width:265px;background:#fff;min-height:calc(100vh - 75px);max-height:calc(100vh - 75px);overflow:auto;position:fixed;left:0;top:75px;z-index:900;border-right:1px solid var(--sp-line);box-shadow:8px 0 28px rgba(15,23,42,.04);scrollbar-width:thin}.site-sidebar-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px;border-bottom:1px solid var(--sp-line)}.site-action{height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:900;white-space:nowrap}.site-call{border:1px solid #ef4444;color:#ef4444!important;background:#fff7f7}.site-pres{border:1px solid var(--sp-primary);color:var(--sp-primary)!important;background:#effaf8}.site-flash{height:44px;display:flex;align-items:center;gap:9px;padding:0 14px;border-bottom:1px solid var(--sp-line);color:#111!important}.site-flash strong{font-style:italic}.site-flash span:last-child{margin-left:auto;border:1px solid #111;border-radius:5px;padding:1px 6px;font-size:12px}.site-bolt{color:#f6b100;font-size:24px}.site-cat-list{padding:0}.site-cat-btn,.site-sub-btn,.site-leaf{width:100%;min-height:48px;background:#fff!important;border:0!important;border-bottom:1px solid #edf2f7!important;box-shadow:none!important;color:#0f172a!important;display:flex;align-items:center;gap:11px;padding:8px 12px!important;text-align:left;font-weight:800!important;border-radius:0!important;cursor:pointer}.site-cat-btn img,.site-sub-btn img,.site-leaf img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:1px solid #e6eef0;background:#fff;flex:0 0 auto}.site-sub-btn img,.site-leaf img{width:28px;height:28px}.site-cat-btn span,.site-sub-btn span,.site-leaf span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-cat-btn b,.site-sub-btn b{font-size:22px;color:#94a3b8;transition:.18s ease}.site-cat.open>.site-cat-btn,.site-sub.open>.site-sub-btn,.site-leaf.active,.site-cat-btn:hover,.site-sub-btn:hover,.site-leaf:hover{background:#e8f5f3!important;color:var(--sp-primary)!important}.site-cat.open>.site-cat-btn b,.site-sub.open>.site-sub-btn b{transform:rotate(90deg);color:var(--sp-primary)}.site-sub-wrap{display:none}.site-cat.open>.site-sub-wrap,.site-sub.open>.site-sub-wrap{display:block}.site-sub .site-sub-btn{padding-left:24px!important;font-size:13px!important}.site-sub .site-sub .site-sub-btn{padding-left:38px!important;font-size:12px!important}.site-leaf{padding-left:52px!important;font-size:12px!important;color:#334155!important}.site-dim{display:none}.site-sidebar~.container,.site-sidebar~main,.site-sidebar~.cart-wrapper,.site-sidebar~.wrap{margin-left:285px!important;width:calc(100% - 310px)!important;max-width:none!important}.product-box,.section,.cart-item,.summary,.checkout-box,.form-box,.orders-box{border:1px solid var(--sp-line)!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;background:#fff!important}.price{letter-spacing:-.02em}.mobile-sticky-cart{border-top:1px solid var(--sp-line)!important;box-shadow:0 -10px 28px rgba(15,23,42,.08)!important}.sp-back-btn{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--sp-line);padding:9px 12px;border-radius:12px;color:var(--sp-text)!important;font-weight:900;margin:0 0 12px 0;box-shadow:0 6px 18px rgba(15,23,42,.06)}.sp-back-btn:hover{background:var(--sp-soft);color:var(--sp-primary)!important}table{width:100%;border-collapse:collapse;background:#fff}th{position:sticky;top:0;background:#f1f5f9;z-index:1}th,td{padding:8px 7px!important;border:1px solid #edf2f7!important;font-size:12px!important;vertical-align:middle}tr:nth-child(even) td{background:#fbfdff}.table-wrap{width:100%;overflow:auto;border:1px solid var(--sp-line);border-radius:14px;background:#fff}.table-wrap table{min-width:680px}.table-wrap::-webkit-scrollbar{height:5px}.table-wrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:20px}.field input,.field select,.field textarea,input,select,textarea{border:1px solid #d9e6e9!important;border-radius:12px!important}input:focus,select:focus,textarea:focus{outline:2px solid rgba(8,123,115,.14)!important;border-color:var(--sp-primary)!important}
@media(max-width:900px){body{font-size:14px!important;padding-bottom:68px}.topbar{height:auto!important;min-height:64px!important;padding:8px 10px!important;gap:8px!important}.logo{height:40px!important}.menu-btn{display:inline-flex!important;align-items:center;justify-content:center;font-size:0!important}.menu-btn:before{content:'☰';font-size:22px}.search-wrap{order:3;flex-basis:100%;max-width:none!important}.search,.search-box{height:42px!important;font-size:16px!important}.search-wrap:after{height:42px;width:48px}.site-sidebar,.sidebar{left:-286px!important;top:0!important;height:100vh!important;max-height:100vh!important;z-index:4000!important;transition:.22s ease!important;box-shadow:14px 0 44px rgba(15,23,42,.22)!important}.site-sidebar.active,.sidebar.active{left:0!important}.site-dim.active,.overlay.active{display:block!important;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:3990}.site-sidebar~.container,.site-sidebar~main,.site-sidebar~.cart-wrapper,.site-sidebar~.wrap{margin-left:auto!important;width:94%!important;max-width:100%!important}.layout{display:block!important}.main{padding:10px!important}.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.product-card{padding:8px!important;border-radius:14px!important;min-height:202px!important}.product-img{height:94px!important}.product-name{font-size:12px!important;line-height:1.25!important}.pack{font-size:11px!important}.price{font-size:14px!important}.btn-cart{padding:6px 9px!important;font-size:11px!important}.product-box{grid-template-columns:1fr!important;padding:14px!important;gap:12px!important}.container{width:94%!important}.footer{display:none}.cart-item{display:grid!important;grid-template-columns:70px 1fr!important;gap:10px!important}.cart-img{width:70px!important;height:70px!important}.checkout-box{padding:14px!important}.bottom-nav{display:flex!important}.nav-links{font-size:12px}.cart-link{width:39px;height:39px}.sp-back-btn{font-size:12px;padding:7px 9px}th,td{font-size:11px!important;padding:6px 5px!important}input,select,textarea{font-size:16px!important;max-width:100%}}

/* ===== SHEFA PHARMA DISCOUNT BADGE MOVED DOWN FIX ===== */
/* Old badge was hiding behind the product image box. This moves it down cleanly. */

.product-card{
    position: relative !important;
    overflow: hidden !important;
    padding-top: 12px !important;
}

.product-card .discount-badge,
.discount-badge{
    position: absolute !important;
    top: 132px !important;
    left: 16px !important;
    z-index: 20 !important;
    min-width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e8f5f3 !important;
    color: #087b73 !important;
    border: 1px solid #b8eee5 !important;
    border-radius: 999px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 6px 16px rgba(8,123,115,.12) !important;
    pointer-events: none !important;
}

.product-card .discount-badge::after,
.discount-badge::after{
    content: " OFF";
}

/* Give product title a little top space so the new badge does not feel crowded */
.product-card .product-name{
    margin-top: 10px !important;
}

/* Mobile version */
@media(max-width:900px){
    .product-card .discount-badge,
    .discount-badge{
        top: 104px !important;
        left: 10px !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
    }
    .product-card .product-name{
        margin-top: 8px !important;
    }
}
