:root{--ink:#10241f;--muted:#65746f;--green:#1769e0;--mint:#eaf2ff;--cream:#f7f8f5;--line:#dfe7e3;--white:#fff;--shadow:0 20px 55px rgba(19,55,44,.09);--r:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.topbar{background:var(--ink);color:#dbe8e3;font-size:13px}.topbar-inner{display:flex;justify-content:space-between;padding:9px 0}header{position:sticky;top:0;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(223,231,227,.9);z-index:30}.nav{height:78px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:18px;letter-spacing:-.02em}.brandmark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--green);color:white;font-weight:800}.nav nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:650}.nav nav a:hover{color:var(--green)}.cart-link{padding:10px 14px;border-radius:999px;background:var(--mint)}.cart-link span{display:inline-grid;place-items:center;background:var(--green);color:white;width:22px;height:22px;border-radius:50%;margin-left:5px}.menu-btn{display:none;border:0;background:transparent;font-weight:700}.hero{padding:88px 0;background:radial-gradient(circle at 85% 15%,#d9e8ff 0,transparent 32%),linear-gradient(180deg,#fbfdfa 0,#fff 100%)}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800;color:var(--green)}h1,h2,h3{line-height:1.06;letter-spacing:-.035em;margin:0 0 16px}h1{font-size:clamp(42px,6vw,76px);max-width:850px}h2{font-size:clamp(30px,4vw,48px)}h3{font-size:21px}.hero p,.lead{font-size:19px;color:var(--muted);max-width:680px}.hero-actions{display:flex;gap:12px;margin:30px 0}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:13px;padding:13px 18px;font-weight:750;cursor:pointer;font:inherit}.primary{background:var(--green);color:white}.dark{background:var(--ink);color:white}.ghost{border:1px solid var(--line);background:white}.wide{width:100%}.trust-row{display:flex;gap:25px;color:var(--muted);font-size:13px}.trust-row span:before{content:"✓";color:var(--green);margin-right:6px}.hero-card{position:relative;overflow:hidden;background:var(--ink);color:white;padding:40px;border-radius:28px;min-height:360px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:flex-end}.hero-card p{color:#bdcec8;font-size:16px}.hero-card a{font-weight:750}.orb{position:absolute;width:240px;height:240px;background:radial-gradient(circle,#75a7ff 0,#2f6fd8 45%,transparent 70%);top:-55px;right:-45px;filter:blur(2px)}.section{padding-top:84px;padding-bottom:84px}.soft{background:var(--cream)}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-head h2{margin-top:8px}.section-head>a{font-weight:750}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-card{padding:26px;border:1px solid var(--line);border-radius:var(--r);transition:.2s;background:white}.category-card:hover,.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.category-card p{color:var(--muted);min-height:48px}.category-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--mint);color:var(--green);font-size:24px;margin-bottom:38px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{background:white;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:.2s}.product-image,.detail-image{display:grid;place-items:center;background:linear-gradient(145deg,#eef4ff,#dce9ff);aspect-ratio:1.15}.product-image span,.detail-image span{font-size:72px;font-weight:850;color:rgba(23,105,224,.22)}.product-body{padding:20px}.product-body p{color:var(--muted);font-size:14px;min-height:66px}.pill{display:inline-block;background:var(--mint);color:var(--green);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;margin-bottom:10px}.product-foot{display:flex;justify-content:space-between;align-items:center}.product-foot a{font-weight:750;color:var(--green)}.split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.split p{color:var(--muted);font-size:18px}.check-panel{border:1px solid var(--line);border-radius:var(--r);padding:14px 28px;background:var(--cream)}.check-panel div{padding:18px 0;border-bottom:1px solid var(--line);font-weight:700}.check-panel div:last-child{border:0}.page-head{margin-bottom:35px}.page-head h1{font-size:clamp(42px,5vw,66px);margin-top:8px}.page-head p{color:var(--muted);font-size:18px;max-width:720px}.filters{display:grid;grid-template-columns:1fr 260px auto;gap:10px;margin-bottom:28px}.filters input,.filters select,input,select,textarea{width:100%;border:1px solid var(--line);background:white;border-radius:12px;padding:13px 14px;font:inherit;color:var(--ink);outline:none}.filters input:focus,.filters select:focus,input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(23,105,224,.1)}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.detail-image{border-radius:28px;aspect-ratio:1}.price{font-size:32px;font-weight:850;margin:24px 0}.buy-row{display:flex;gap:10px;margin-bottom:28px}.buy-row input{width:90px}.prose{color:#42524d}.notice,.consult-box{padding:20px;border-radius:15px;background:var(--mint);margin:24px 0}.consult-box p{color:var(--muted)}.narrow{max-width:800px}.empty{text-align:center;padding:70px 20px;border:1px dashed var(--line);border-radius:var(--r)}.cart-list,.form-card,.summary{border:1px solid var(--line);border-radius:var(--r);background:white;padding:24px}.cart-item,.order-line{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.cart-item:last-child,.order-line:last-child{border-bottom:0}.cart-item p{margin:4px 0;color:var(--muted)}.cart-item>div:last-child{text-align:right}.link-btn{border:0;background:none;padding:0;color:var(--green);cursor:pointer}.summary{margin-top:18px}.summary>div{display:flex;justify-content:space-between;padding:8px 0}.summary .total{font-size:20px;border-top:1px solid var(--line);margin-top:10px;padding-top:16px}.summary p{color:var(--muted);font-size:13px}.checkout-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:start}.checkout-grid .summary{margin:0;position:sticky;top:105px}.form-card label{display:block;font-size:13px;font-weight:750;margin-bottom:16px}.form-card label input,.form-card label textarea,.form-card label select{margin-top:6px}.auth{display:grid;place-items:center}.auth-card{width:min(500px,100%);border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:var(--shadow)}.auth-card h1{font-size:48px;margin-top:8px}.auth-card label{display:block;margin:14px 0;font-weight:700;font-size:13px}.small{font-size:13px}.muted{color:var(--muted)}.flash{margin-top:16px;padding:13px 16px;border-radius:12px;background:var(--mint);color:var(--ink)}.flash.warn{background:#fff1dc;color:#6b4508}.account-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.account-head h1{font-size:52px}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.order-row{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}.order-row span{display:flex;flex-direction:column}.order-row span:last-child{text-align:right}.order-row small{color:var(--muted);margin-top:4px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-card{border:1px solid var(--line);padding:28px;border-radius:var(--r)}.service-card>span{color:var(--green);font-weight:850}.service-card p{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stats>div{padding:24px;border:1px solid var(--line);border-radius:var(--r);display:flex;flex-direction:column}.stats strong{font-size:36px}.stats span{color:var(--muted)}.admin-table{border:1px solid var(--line);border-radius:var(--r);overflow:hidden}.admin-row{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line)}.admin-row:last-child{border:0}.admin-row>div{display:flex;align-items:center;gap:14px}.admin-row>div:first-child{flex-direction:column;align-items:flex-start;gap:2px}.admin-row small{color:var(--muted)}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto!important;margin:0!important}footer{background:var(--ink);color:white;padding:60px 0 20px;margin-top:40px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:40px}.footer-grid h4{margin-top:0}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:10px}.footer-brand{margin-bottom:18px}.footer-grid .muted{color:#adbfba}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:45px;padding-top:18px;color:#adbfba;font-size:13px}@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr)}.category-grid,.service-grid{grid-template-columns:1fr 1fr}.hero-grid,.product-detail,.split,.checkout-grid,.dashboard-grid{grid-template-columns:1fr}.hero-card{min-height:300px}.footer-grid{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.checkout-grid .summary{position:static}.nav nav{display:none;position:absolute;left:20px;right:20px;top:78px;padding:20px;background:white;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav nav.open{display:flex}.menu-btn{display:block}.topbar{display:none}}@media(max-width:600px){.wrap{width:min(100% - 26px,1180px)}.hero{padding:58px 0}.section{padding-top:60px;padding-bottom:60px}.product-grid,.category-grid,.service-grid,.stats,.footer-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.section-head{align-items:start;gap:10px;flex-direction:column}.trust-row{flex-direction:column;gap:6px}.admin-row{align-items:flex-start;gap:15px;flex-direction:column}.admin-row>div:last-child{flex-wrap:wrap}.two{grid-template-columns:1fr}}
.product-image img,.detail-image img{width:100%;height:100%;object-fit:contain;padding:18px;background:white}

/* v3.4 catalogue/card/cart refinements */
.product-grid{align-items:stretch}
.product-card{display:flex;flex-direction:column;height:100%}
.product-card .product-image{flex:0 0 auto}
.product-card .product-body{display:flex;flex-direction:column;flex:1}
.product-card .product-body h3{min-height:2.2em}
.product-card .product-body p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:6.2em;margin-bottom:18px}
.product-card .product-foot{margin-top:auto;min-height:38px}
.card-cart-form{margin:0}
.add-cart-link{font-weight:800;color:#1266e3}
.payment-choice{margin:22px 0}
.payment-method{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:15px;margin-top:10px;background:#f8fbff}
.payment-method small{display:block;color:var(--muted);margin-top:2px}
.payment-dot{width:16px;height:16px;border-radius:50%;border:4px solid #1266e3;background:#fff}
.bank-details{border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:22px 0}
.bank-details>div{display:flex;justify-content:space-between;gap:20px;padding:14px 16px;border-bottom:1px solid var(--line)}
.bank-details>div:last-child{border-bottom:0}
.bank-details span{color:var(--muted)}
.checkout-summary{position:sticky;top:105px}

.category-card-photo{padding:0;overflow:hidden}
.category-card-photo img{display:block;width:100%;height:150px;object-fit:cover;border-bottom:1px solid var(--line)}
.category-card-copy{padding:22px}
.category-card-copy p{min-height:48px}
.shipping-picker{margin:24px 0}
.shipping-option{display:flex!important;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;padding:14px!important;margin:10px 0!important;cursor:pointer}
.shipping-option input{width:auto!important;margin:0!important}
.shipping-option span{display:flex;justify-content:space-between;gap:20px;width:100%;align-items:center}
.shipping-option small{font-weight:800;color:var(--green)}
.shipping-cards{display:grid;gap:12px}
.shipping-card{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:16px;padding:18px}
.shipping-card div{display:flex;flex-direction:column}
.shipping-card span{color:var(--muted);font-size:13px;margin-top:3px}
.contact-direct{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}

/* v3.6 pharmacy storefront */
.brand-text{font-size:21px;font-weight:500;letter-spacing:-.035em}
.brand-text b{font-weight:850}
.brandmark{display:none!important}
.topbar a{color:inherit}
.store-hero{background:linear-gradient(135deg,#f7fbff 0,#eef5ff 55%,#e0edff 100%);padding:72px 0;border-bottom:1px solid #dbe7f7}
.store-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:46px;align-items:center}
.store-hero-copy h1{font-size:clamp(46px,6vw,78px);max-width:820px}
.store-hero-copy>p{font-size:19px;color:var(--muted);max-width:700px}
.hero-search{display:flex;gap:10px;margin:26px 0 10px;max-width:690px;background:#fff;padding:8px;border:1px solid #d8e3f0;border-radius:17px;box-shadow:0 15px 40px rgba(38,83,139,.08)}
.hero-search input{border:0;box-shadow:none!important;background:transparent;padding:10px 12px}
.store-hero-panel{display:grid;gap:16px}
.hero-pharmacy-card,.hero-help-card{border-radius:24px;padding:28px;background:#0e2f55;color:#fff;box-shadow:0 22px 60px rgba(24,73,131,.16)}
.hero-help-card{background:#2563eb}
.mini-label{display:block;text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:800;opacity:.76;margin-bottom:15px}
.delivery-line{display:flex;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.14);padding:13px 0}
.delivery-line:last-of-type{margin-bottom:15px}
.hero-pharmacy-card>a,.hero-help-card>a{color:#fff;font-weight:800}
.hero-help-card strong{display:block;font-size:25px;margin-bottom:5px}
.store-benefits{background:#fff;border-bottom:1px solid var(--line)}
.store-benefits-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.store-benefits-grid>div{display:flex;align-items:center;gap:12px;padding:22px 18px;border-right:1px solid var(--line)}
.store-benefits-grid>div:last-child{border-right:0}
.store-benefits-grid div div{display:flex;flex-direction:column}
.store-benefits-grid small{color:var(--muted);margin-top:2px}
.benefit-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e8f1ff;color:#2563eb;font-weight:900}
.store-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.store-category-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;transition:.2s}
.store-category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.store-category-card img{display:block;width:100%;height:170px;object-fit:cover;background:#eef5ff}
.store-category-card>div{padding:18px}
.store-category-card h3{font-size:19px;margin-bottom:8px}
.store-category-card span{font-size:13px;font-weight:800;color:#2563eb}
.storefront-promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.storefront-promo{padding:38px;border-radius:26px}
.storefront-promo.blue{background:#0e2f55;color:#fff}
.storefront-promo.pale{background:#edf5ff}
.storefront-promo p{font-size:17px;max-width:560px}
.storefront-promo.blue p{color:#dce8f5}
.eyebrow.light{color:#9dc5ff}
.btn.white{background:#fff;color:#0e2f55}
.product-card .product-foot a{font-weight:800;color:#2563eb}
.add-cart-link{font-weight:800!important;color:#2563eb!important}
@media(max-width:900px){
  .store-hero-grid,.storefront-promo-grid{grid-template-columns:1fr}
  .store-benefits-grid{grid-template-columns:1fr 1fr}
  .store-category-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .store-benefits-grid,.store-category-grid{grid-template-columns:1fr}
  .store-benefits-grid>div{border-right:0;border-bottom:1px solid var(--line)}
  .store-hero{padding:50px 0}
  .hero-search{display:block}
  .hero-search .btn{width:100%;margin-top:8px}
}

.footer-grid-3{grid-template-columns:2fr 1fr 1fr}
@media(max-width:900px){.footer-grid-3{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.footer-grid-3{grid-template-columns:1fr}}

.product-price-wrap{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}
.product-price-wrap small{font-size:11px;color:var(--muted);font-weight:700;margin-top:4px}

/* v4.2 mobile admin orders shortcut */
.admin-orders-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:#0e2f55;
  color:#fff!important;
  font-weight:800;
}
.admin-orders-link:hover{background:#2563eb;color:#fff!important}
@media(max-width:900px){
  .nav nav .admin-orders-link{
    order:-1;
    width:100%;
    padding:13px 16px;
    border-radius:12px;
    text-align:center;
  }
  .admin-orders-page .admin-row{
    padding:16px;
  }
  .admin-orders-page .admin-row>div{
    width:100%;
  }
  .admin-orders-page .admin-row>div:last-child{
    justify-content:space-between;
    gap:10px;
  }
}
