/*
Theme Name: Sankem Pharmaceuticals
Theme URI: https://sankempharmaceuticals.com
Author: Sankem Pharmaceuticals
Description: Custom theme for Sankem Pharmaceuticals Pvt. Ltd. Products are managed as a custom post type ("Products") with Product Categories, editable from the WordPress admin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sankem-pharma
*/

:root{--blue:#0755bd;--blue2:#0d3f98;--blue3:#eaf4ff;--green:#159b63;--text:#1e2632;--muted:#626d7c;--white:#fff;--soft:#f4f8fd;--shadow:0 8px 26px rgba(30,76,135,.12);--max:1180px}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:Inter,Arial,sans-serif;color:var(--text);line-height:1.5;background:#fff}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}.container{max-width:var(--max);margin:auto;padding:0 24px}
.topbar{height:38px;background:var(--blue2);color:#fff;font-size:12px}.topbar-inner{height:100%;display:flex;justify-content:space-between;align-items:center}.top-left,.top-right{display:flex;align-items:center;gap:24px}.social{font-weight:700;color:#fff}
.navbar{height:68px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.05);position:sticky;top:0;z-index:100}.nav-inner{height:100%;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:8px;min-width:210px}.brand img{width:112px;height:42px;object-fit:cover;object-position:left center}.brand span{font-family:Poppins,sans-serif;font-weight:700;color:#0d3d8d;font-size:19px;line-height:1}.brand small{display:block;font-family:Inter,sans-serif;font-size:8px;letter-spacing:1px;color:#159b63;margin-top:4px}.nav-inner nav{display:flex;justify-content:center;align-items:center;gap:28px;flex:1}.nav-inner nav a{font-size:13px;font-weight:500;color:#303b4a;position:relative;padding:25px 0}.nav-inner nav a.active,.nav-inner nav a:hover{color:#0755bd}.nav-inner nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:15px;height:2px;background:var(--green)}.enquiry,.primary-btn,.outline-btn,.white-btn,.newsletter button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:4px;font-weight:600;font-size:12px;padding:10px 18px;white-space:nowrap}.enquiry,.primary-btn{background:var(--blue);color:#fff}.enquiry b,.primary-btn b,.outline-btn b,.white-btn b,.newsletter button b{font-size:17px;line-height:10px}.outline-btn{border:1px solid #8ca5c9;color:#164d99;background:#fff}.hamburger{display:none;border:0;background:none}.hamburger span{display:block;width:24px;height:2px;background:#16488e;margin:5px}
.hero{position:relative;height:500px;overflow:hidden;background:#e8f4ff}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(238,248,255,.72) 0%,rgba(238,248,255,.30) 48%,rgba(238,248,255,.04) 100%);z-index:1;pointer-events:none}.hero-inner{height:100%;display:flex;align-items:center;position:relative;z-index:2}.hero-copy{width:52%;padding-left:24px;position:relative;z-index:3}.hero-copy h1{font:700 46px/1.08 Poppins,sans-serif;color:#123e83;margin-bottom:18px}.hero-copy h1 span{color:var(--green)}.hero-copy p{font-size:15px;max-width:430px;color:#283847;margin-bottom:24px}.hero-buttons{display:flex;gap:12px}.hero-art{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:hidden;z-index:0}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:center;border:0;opacity:1}
.features{margin-top:-35px;position:relative;z-index:5}.feature-card{background:#fff;border-radius:8px;box-shadow:var(--shadow);min-height:116px;display:grid;grid-template-columns:repeat(5,1fr);padding:16px 12px}.feature-card>div{text-align:center;padding:2px 14px;border-right:1px solid #d9dde4;display:flex;flex-direction:column;align-items:center}.feature-card>div:last-child{border-right:0}.feature-card i{width:42px;height:42px;border-radius:50%;background:#1460c8;color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:20px;margin-bottom:6px}.feature-card i.green{background:#17a168}.feature-card strong{font:700 11px Poppins,sans-serif;margin-bottom:3px}.feature-card span{font-size:9.5px;color:#6b7380;line-height:1.35}
.about{padding:70px 0 50px}.about-grid{display:grid;grid-template-columns:48% 52%;gap:46px;align-items:center}.about-photo{position:relative;height:275px;border-radius:6px;overflow:hidden}.about-photo>img{width:100%;height:100%;object-fit:cover;object-position:center}.experience{position:absolute;left:0;bottom:0;background:linear-gradient(145deg,#0e5ac4,#0b3e91);color:#fff;padding:12px 20px;border-radius:4px 4px 0 0;display:flex;align-items:center;gap:8px}.experience b{font:700 28px Poppins}.experience span{font-size:10px;line-height:1.3}.about-copy label,.section-title label{font-size:9px;font-weight:800;color:var(--green);letter-spacing:1.5px}.about-copy h2,.section-title h2{font:700 28px/1.15 Poppins,sans-serif;color:#121820;margin:7px 0 14px}.about-copy h2 span,.section-title h2 span{color:#1658bd}.about-copy p{font-size:11.5px;color:#58636f;max-width:510px;margin-bottom:13px}.about-copy ul{margin-bottom:16px}.about-copy li{font-size:10.5px;margin:6px 0;color:#47525d}.about-copy li:before{content:'✓';display:inline-flex;width:15px;height:15px;border:1px solid #38ad7a;border-radius:50%;align-items:center;justify-content:center;color:#159b63;margin-right:8px;font-size:9px}.small{padding:8px 14px;font-size:10px}
.products{background:#f3f8fe;padding:52px 0 38px}.section-title{text-align:center;margin-bottom:25px}.section-title h2{font-size:25px;margin-top:4px}.product-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.product-card{background:#fff;border-radius:7px;overflow:hidden;box-shadow:0 2px 9px rgba(24,69,118,.08);border:1px solid #e6edf5;padding-bottom:9px;transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-card img,.product-fallback{width:100%;height:95px;object-fit:cover}.product-fallback{background:linear-gradient(135deg,#1d5fbe,#49a0e8);display:flex;align-items:center;justify-content:center;color:#fff;font:700 25px Poppins}.product-card h3{font:700 10px Poppins,sans-serif;padding:8px 8px 3px;color:#222}.product-card p{font-size:8.5px;line-height:1.35;color:#737b84;padding:0 8px;min-height:34px}.product-card em{display:block;font-style:normal;font-size:8.5px;color:#1558b6;font-weight:700;padding:5px 8px 0}.center{text-align:center;margin-top:22px}
.partner{background:linear-gradient(105deg,#0b48a9,#1166d2);color:#fff;padding:23px 0}.partner-inner{display:grid;grid-template-columns:65% 35%;align-items:center}.stats{display:grid;grid-template-columns:repeat(5,1fr)}.stats>div{text-align:center;border-right:1px solid rgba(255,255,255,.25);padding:3px 8px}.stats>div:last-child{border-right:0}.stats b{display:block;font:700 25px Poppins}.stats span{display:block;color:#d9e7ff;font-size:8.5px}.partner-copy{padding-left:28px;border-left:1px solid rgba(255,255,255,.35)}.partner-copy h2{font:600 20px/1.1 Poppins;margin-bottom:5px}.partner-copy p{font-size:9px;color:#e0ebff;max-width:260px;margin-bottom:8px}.white-btn{background:#fff;color:#1551a5;padding:7px 14px;font-size:9px}
.certifications{padding:35px 0 28px}.cert-box{height:98px;background:#fff;border-radius:8px;box-shadow:0 2px 14px rgba(30,76,135,.07);overflow:hidden}.cert-box img{width:100%;height:100%;object-fit:contain;object-position:center}
.newsletter{background:#edf6ff;border-top:1px solid #dceafb;padding:15px 0}.newsletter-inner{display:flex;justify-content:space-between;align-items:center;gap:25px}.nl-copy{display:flex;align-items:center;gap:12px}.nl-copy>b{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e4f0ff;color:#1259bb}.nl-copy strong{display:block;font-size:11px}.nl-copy span{display:block;color:#697585;font-size:8.5px}.newsletter form{display:flex;width:43%;gap:8px}.newsletter input{flex:1;border:1px solid #d9e2ed;border-radius:3px;padding:8px 10px;font-size:9px}.newsletter button{border:0;background:#0755bd;color:#fff;padding:8px 14px;font-size:9px}
footer{background:#fff;border-top:1px solid #e8eef5}.footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr 1.25fr;gap:28px;padding:28px 24px}.footer-brand img{width:112px;height:40px;object-fit:cover;margin-bottom:8px}.footer-grid h4{font:700 11px Poppins;color:#273140;margin-bottom:10px}.footer-grid a,.footer-grid p{display:block;color:#657180;font-size:8.5px;line-height:1.7}.footer-grid a:hover{color:#0755bd}.footer-brand p{max-width:185px}.footer-social{font-size:12px;color:#1354a9;margin-top:8px;font-weight:700}.footer-bottom{background:#073b8f;color:#d7e5ff;font-size:7.5px;padding:7px 0}.footer-bottom .container{display:flex;justify-content:space-between}
@media(max-width:1000px){.nav-inner nav{gap:14px}.nav-inner nav a{font-size:11px}.brand{min-width:175px}.product-grid{grid-template-columns:repeat(4,1fr)}.partner-inner{grid-template-columns:1fr}.partner-copy{border-left:0;border-top:1px solid rgba(255,255,255,.3);padding:15px 0 0;margin-top:15px}.newsletter form{width:50%}}
@media(max-width:760px){.topbar{height:auto;padding:7px 0}.topbar-inner{flex-direction:column;align-items:flex-start;gap:4px}.top-left,.top-right{gap:12px;flex-wrap:wrap}.navbar{height:60px}.nav-inner nav{position:fixed;top:60px;left:-100%;width:78%;height:calc(100vh - 60px);background:#fff;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:28px;gap:12px;box-shadow:5px 0 20px rgba(0,0,0,.12);transition:.25s}.nav-inner nav.open{left:0}.nav-inner nav a{padding:8px;font-size:13px}.nav-inner nav a.active:after{bottom:0}.enquiry{display:none}.hamburger{display:block;margin-left:auto}.hero{height:auto;padding:34px 0 48px}.hero-inner{display:flex;flex-direction:column;align-items:stretch}.hero-copy{width:100%;text-align:left;padding:0}.hero-copy h1{font-size:36px}.hero-art{position:relative;inset:auto;width:100%;height:270px;order:-1;margin-bottom:18px}.hero-art img{object-position:center}.features{margin-top:-20px}.feature-card{grid-template-columns:repeat(2,1fr);gap:0}.feature-card>div{border-bottom:1px solid #e0e5ec;padding:12px}.feature-card>div:nth-child(2n){border-right:0}.about{padding:45px 0}.about-grid{grid-template-columns:1fr;gap:30px}.about-photo{height:250px}.product-grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stats>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.2)}.newsletter-inner{align-items:flex-start;flex-direction:column}.newsletter form{width:100%}.footer-grid{grid-template-columns:repeat(2,1fr);gap:20px}.footer-bottom .container{flex-direction:column;gap:4px}}
@media(max-width:430px){.container{padding:0 15px}.hero-copy h1{font-size:31px}.hero-art{height:220px}.feature-card{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.brand img{width:88px}.brand span{font-size:15px}}

/* =========================================================
   PREMIUM PRODUCT EXPERIENCE
   ========================================================= */
.products{padding:64px 0 52px;background:linear-gradient(180deg,#f7fbff 0%,#eef5fb 100%)}
.products .product-grid{grid-template-columns:repeat(4,1fr);gap:18px}
.products .product-card{border-radius:14px;padding-bottom:15px;box-shadow:0 8px 25px rgba(18,61,112,.08);border:1px solid #e4edf6}
.products .product-card img,.products .product-card .product-fallback{height:170px}
.products .product-card h3{font-size:14px;padding:13px 14px 5px}
.products .product-card p{font-size:10px;padding:0 14px;min-height:32px}
.products .product-card em{font-size:10px;padding:9px 14px 0}
.products .product-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(18,61,112,.14)}

.category-page{background:#fff}
.category-hero-premium{position:relative;overflow:hidden;background:linear-gradient(115deg,#eaf5ff 0%,#f7fbff 48%,#eaf8f2 100%);padding:32px 0 42px;border-bottom:1px solid #e2edf7}
.category-hero-premium:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-120px;top:-230px;background:rgba(15,86,188,.10)}
.category-hero-premium:after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;left:-130px;bottom:-180px;background:rgba(21,155,99,.08)}
.category-breadcrumb{display:flex;align-items:center;gap:9px;font-size:11px;color:#728196;margin-bottom:25px;position:relative;z-index:1}
.category-breadcrumb a{color:#0755bd;font-weight:700}.category-breadcrumb strong{color:#283b53}
.category-hero-content{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:30px}
.category-kicker{display:inline-block;color:#159b63;font-size:10px;font-weight:800;letter-spacing:1.8px;margin-bottom:8px}
.category-hero-content h1{font:700 38px/1.12 Poppins,sans-serif;color:#102d54;margin-bottom:10px}
.category-hero-content h1 span{color:#0755bd}.category-hero-content p{max-width:680px;color:#5d6b7c;font-size:13px}
.category-count{min-width:150px;height:112px;border-radius:18px;background:linear-gradient(145deg,#0755bd,#0c3d91);color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 15px 30px rgba(7,85,189,.18)}
.category-count strong{font:800 34px Poppins}.category-count span{font-size:10px;line-height:1.45;color:#dceaff;text-transform:uppercase;letter-spacing:.7px}
.medicine-section{padding:54px 0 72px;background:#fff}
.medicine-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px}
.medicine-heading>div>span{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#159b63}.medicine-heading h2{font:700 29px/1.2 Poppins;color:#18283c;margin-top:5px}.medicine-heading h2 em{font-style:normal;color:#0755bd}.medicine-heading p{font-size:11px;color:#738093;margin-top:6px}.back-products{border:1px solid #d7e3ef;color:#1756a5;background:#fff;border-radius:8px;padding:10px 14px;font-size:11px;font-weight:700;white-space:nowrap;transition:.2s}.back-products:hover{border-color:#0755bd;background:#eef6ff}
.medicine-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.medicine-card{background:#fff;border:1px solid #e3ebf3;border-radius:15px;overflow:hidden;box-shadow:0 7px 24px rgba(20,62,108,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;position:relative}
.medicine-card:hover{transform:translateY(-7px);box-shadow:0 18px 38px rgba(20,62,108,.14);border-color:#cbdceb}
.medicine-image{height:218px;background:#f5f9fd;position:relative;overflow:hidden;padding:8px}.medicine-image img{width:100%;height:100%;object-fit:cover;border-radius:10px}.product-tag{position:absolute;left:18px;top:17px;background:rgba(255,255,255,.93);border:1px solid #e4edf6;color:#0755bd;border-radius:20px;padding:5px 9px;font-size:8px;font-weight:800;letter-spacing:1px;box-shadow:0 4px 12px rgba(0,0,0,.05)}
.medicine-body{padding:15px 16px 16px}.medicine-body h3{font:700 15px/1.3 Poppins;color:#18283c;min-height:39px}.medicine-meta{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 13px}.medicine-meta span{font-size:8px;color:#607083;background:#f1f6fb;border-radius:20px;padding:4px 7px}.medicine-link{display:flex;align-items:center;justify-content:space-between;color:#0755bd;font-size:10px;font-weight:800;border-top:1px solid #edf1f5;padding-top:11px}.medicine-link b{font-size:16px;transition:transform .2s}.medicine-card:hover .medicine-link b{transform:translateX(4px)}

@media(max-width:1000px){.products .product-grid{grid-template-columns:repeat(3,1fr)}.medicine-grid{grid-template-columns:repeat(3,1fr)}.category-hero-content h1{font-size:33px}}
@media(max-width:760px){.products .product-grid{grid-template-columns:repeat(2,1fr);gap:13px}.products .product-card img,.products .product-card .product-fallback{height:150px}.category-hero-premium{padding:25px 0 32px}.category-hero-content{align-items:flex-start}.category-hero-content h1{font-size:30px}.category-count{min-width:110px;height:90px}.category-count strong{font-size:28px}.category-count span{font-size:8px}.medicine-section{padding:40px 0 55px}.medicine-heading{align-items:flex-start;flex-direction:column}.medicine-heading h2{font-size:26px}.medicine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.medicine-image{height:190px}.medicine-body{padding:13px}.medicine-body h3{font-size:13px}}
@media(max-width:430px){.products .product-grid{grid-template-columns:1fr 1fr}.products .product-card img,.products .product-card .product-fallback{height:130px}.category-hero-content{display:block}.category-count{margin-top:20px;width:100%;height:72px;justify-content:flex-start;padding-left:20px}.medicine-grid{grid-template-columns:1fr 1fr}.medicine-image{height:155px}.medicine-body h3{font-size:12px;min-height:46px}.medicine-meta{display:none}.medicine-link{font-size:9px;margin-top:8px}.category-breadcrumb{margin-bottom:18px}}

/* Admin-editable extras */
.wp-block-image img{border-radius:8px}
.single-product-hero{padding:50px 0}
.single-product-hero .medicine-image{height:320px}
.single-product-hero .medicine-body h3{font-size:26px;min-height:auto;margin-bottom:10px}
.single-product-hero .product-content{font-size:13px;color:#4b5768;line-height:1.8;margin:16px 0 22px}
.no-products-msg{padding:60px 20px;text-align:center;color:#728196;font-size:13px}
