/*
Theme Name: Deo Global Lanka
Theme URI: https://deogloballanka.com
Author: Chalana Nuwan
Author URI: https://deogloballanka.com
Description: Official WordPress theme for Deo Global Lanka (Pvt) Ltd. — Sri Lanka's Premier Exporter. Features Deo Spices, Deo Peanuts, Deo Ceylon Cosmetics, Deo Air, and Avant Signature Builds product lines with a full admin dashboard for product and content management.
Version: 2.0.0
License: Private — Deo Group IT Department
License URI: https://deogloballanka.com
Text Domain: deo-global-lanka
Tags: business, export, products, sri-lanka, minimal, corporate

Developed by: Chalana Nuwan
Department:   Deo Group IT Department
Last Updated: 2026
*/


:root{
  --orange:#F47920;--green:#2EAA4A;--navy:#3B5EA6;--sky:#4BBFE8;
  --yellow:#F5C800;--gray:#6B7280;--white:#FFFFFF;--off:#F8F9FA;
  --dark:#0D1117;--dark2:#161B22;--mid:#1F2937;--border:#E5E7EB;
  --text:#111827;--muted:#6B7280;--r:8px;--rl:16px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif;color:var(--text);background:var(--white);overflow-x:hidden;}
img{display:block;max-width:100%;}
a{text-decoration:none;color:inherit;}
button{font-family:'Inter',sans-serif;cursor:pointer;}
.page{display:none;}
.page.active{display:block;}

/* NAV */
.site-nav{position:fixed;top:0;width:100%;z-index:500;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 6%;height:70px;backdrop-filter:blur(12px);}
.site-nav a>img,.site-nav .custom-logo-link img,.site-nav .custom-logo{max-height:48px!important;height:auto!important;max-width:200px!important;width:auto!important;object-fit:contain!important;display:block!important;}
.nav-links{display:flex;gap:32px;list-style:none;}
.nav-links a{font-size:13px;font-weight:500;color:var(--muted);letter-spacing:.3px;transition:.2s;padding-bottom:2px;border-bottom:2px solid transparent;}
.nav-links a:hover,.nav-links a.active{color:var(--navy);border-bottom-color:var(--orange);}
.nav-right{display:flex;gap:12px;align-items:center;}
.btn-nav{background:var(--orange);color:var(--white);padding:9px 22px;border-radius:var(--r);font-size:13px;font-weight:600;border:none;transition:.2s;}
.btn-nav:hover{background:#e06010;}
.btn-admin{background:transparent;border:1.5px solid var(--border);color:var(--muted);padding:8px 16px;border-radius:var(--r);font-size:12px;font-weight:500;cursor:pointer;}
.btn-admin:hover{border-color:var(--navy);color:var(--navy);}

/* HERO */
.hero{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:70px 0 0;overflow:hidden;}
.hero-left{padding:80px 6% 80px 8%;}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--orange);margin-bottom:24px;}
.hero-eyebrow::before{content:'';width:24px;height:2px;background:var(--orange);}
.hero h1{font-family:'Sora',sans-serif;font-size:clamp(36px,4.5vw,58px);font-weight:800;line-height:1.08;color:var(--dark);margin-bottom:24px;letter-spacing:-1px;}
.hero h1 .g{color:var(--green);}
.hero h1 .b{color:var(--navy);}
.hero-desc{font-size:16px;color:var(--muted);line-height:1.75;max-width:480px;margin-bottom:40px;}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap;}
.btn-primary{background:var(--orange);color:var(--white);padding:14px 30px;border-radius:var(--r);font-size:14px;font-weight:600;border:none;transition:.2s;display:inline-block;}
.btn-primary:hover{background:#e06010;}
.btn-secondary{background:transparent;border:2px solid var(--navy);color:var(--navy);padding:13px 28px;border-radius:var(--r);font-size:14px;font-weight:600;transition:.2s;display:inline-block;}
.btn-secondary:hover{background:var(--navy);color:var(--white);}
.hero-stats{display:flex;gap:40px;margin-top:56px;padding-top:40px;border-top:1px solid var(--border);flex-wrap:wrap;}
.hstat .num{font-family:'Sora',sans-serif;font-size:30px;font-weight:800;line-height:1;}
.hstat .lbl{font-size:12px;color:var(--muted);margin-top:4px;letter-spacing:.5px;}
.hero-right{height:100%;position:relative;background:var(--dark);}
.hero-img-placeholder{width:100%;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:linear-gradient(135deg,#0d1117 0%,#162234 100%);}
.hero-img-placeholder img{width:140px;opacity:.12;}
.hero-img-placeholder span{font-size:11px;color:rgba(255,255,255,.18);letter-spacing:2px;text-transform:uppercase;}
.hero-img-full{width:100%;min-height:100vh;object-fit:cover;display:block;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to right,var(--white) 0%,transparent 25%);}
.hero-badge{position:absolute;bottom:48px;left:-20px;background:var(--white);border-radius:var(--rl);padding:20px 24px;box-shadow:0 20px 60px rgba(0,0,0,.15);border-left:4px solid var(--orange);}
.hero-badge .bnum{font-family:'Sora',sans-serif;font-size:28px;font-weight:800;color:var(--orange);}
.hero-badge .blbl{font-size:12px;color:var(--muted);margin-top:2px;}

/* STRIP */
.strip{background:var(--dark);padding:0 6%;display:flex;border-bottom:3px solid var(--orange);}
.strip-item{flex:1;padding:20px 0;border-right:1px solid rgba(255,255,255,.06);}
.strip-item:last-child{border:none;}
.strip-item+.strip-item{padding-left:32px;}
.strip-label{font-size:10px;color:rgba(255,255,255,.35);text-transform:uppercase;letter-spacing:1.5px;margin-bottom:4px;}
.strip-val{font-size:13px;color:var(--white);font-weight:500;}

/* SECTIONS */
section.sec{padding:100px 8%;}
.sec-tag{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--orange);margin-bottom:16px;}
.sec-tag::before{content:'';width:20px;height:2px;background:var(--orange);}
.sec-title{font-family:'Sora',sans-serif;font-size:clamp(28px,3.5vw,44px);font-weight:800;color:var(--dark);line-height:1.1;letter-spacing:-.5px;}
.sec-title .ao{color:var(--orange);}
.sec-title .ag{color:var(--green);}
.sec-title .ab{color:var(--navy);}
.sec-desc{font-size:15px;color:var(--muted);line-height:1.8;max-width:560px;}

/* ABOUT */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;}
.about-img-wrap{position:relative;}
.about-img-ph{width:100%;height:500px;background:linear-gradient(135deg,var(--navy) 0%,#1a2744 100%);border-radius:var(--rl);display:flex;align-items:center;justify-content:center;}
.about-img-ph span{font-size:12px;color:rgba(255,255,255,.25);letter-spacing:2px;text-transform:uppercase;}
.about-img-real{width:100%;height:500px;object-fit:cover;border-radius:var(--rl);}
.about-accent{position:absolute;bottom:-16px;right:-16px;width:160px;height:160px;border-radius:var(--rl);background:var(--orange);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--white);}
.about-accent .big{font-family:'Sora',sans-serif;font-size:44px;font-weight:800;line-height:1;}
.about-accent .sm{font-size:10px;font-weight:600;letter-spacing:2px;text-transform:uppercase;margin-top:4px;opacity:.85;}
.about-text .sec-title{margin:16px 0;}
.about-text .sec-desc{margin-bottom:16px;}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 32px;}
.pill{padding:7px 16px;border-radius:100px;font-size:13px;font-weight:500;}
.po{background:rgba(244,121,32,.1);color:var(--orange);}
.pg{background:rgba(46,170,74,.1);color:var(--green);}
.pb{background:rgba(59,94,166,.1);color:var(--navy);}
.ps{background:rgba(75,191,232,.1);color:var(--sky);}

/* SERVICES */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px;}
.svc-card{background:var(--white);border-radius:var(--rl);padding:32px;border:1px solid var(--border);transition:.3s;position:relative;overflow:hidden;}
.svc-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:var(--orange);transform:scaleY(0);transition:.3s;transform-origin:bottom;}
.svc-card:hover{transform:translateY(-4px);box-shadow:0 20px 60px rgba(0,0,0,.07);}
.svc-card:hover::before{transform:scaleY(1);}
.svc-num{font-family:'Sora',sans-serif;font-size:44px;font-weight:800;color:var(--border);line-height:1;margin-bottom:16px;}
.svc-card h3{font-size:16px;font-weight:700;color:var(--dark);margin-bottom:10px;}
.svc-card p{font-size:14px;color:var(--muted);line-height:1.7;}

/* PRODUCTS */
.prod-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:40px;flex-wrap:wrap;gap:20px;}
.cat-tabs{display:flex;gap:4px;background:var(--off);border-radius:var(--r);padding:4px;flex-wrap:wrap;}
.cat-tab{padding:9px 18px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;background:transparent;border:none;color:var(--muted);transition:.2s;}
.cat-tab.active{background:var(--white);color:var(--navy);font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.1);}
.cat-tab:hover:not(.active){color:var(--dark);}
.cat-section{display:none;}
.cat-section.active{display:block;}
.cat-bar{padding:18px 28px;border-radius:var(--r);margin-bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.cat-bar h3{font-family:'Sora',sans-serif;font-size:17px;font-weight:700;color:var(--white);}
.cat-bar p{font-size:13px;color:rgba(255,255,255,.65);max-width:540px;line-height:1.6;}
.prod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);grid-auto-rows:1fr;}
.prod-card{background:var(--white);cursor:pointer;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;height:100%;}
.prod-card:hover{z-index:2;box-shadow:0 8px 40px rgba(0,0,0,.11);}
.prod-img-wrap{
  width:100%;
  height:260px;
  overflow:hidden;
  background:#f8f9fa;
  position:relative;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid var(--border);
}
.prod-img-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  padding:12px;
  transition:transform .4s ease;
}
.prod-card:hover .prod-img-wrap img{transform:scale(1.05);}
.prod-img-ph{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;}
.prod-img-ph .ph-bg{position:absolute;inset:0;background:linear-gradient(135deg,var(--ph-c1,#1a2744) 0%,var(--ph-c2,#0d1117) 100%);}
.prod-img-ph .ph-pattern{position:absolute;inset:0;opacity:.06;background-image:radial-gradient(circle,rgba(255,255,255,.8) 1px,transparent 1px);background-size:24px 24px;}
.prod-img-ph .ph-logo{position:relative;z-index:1;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-family:Sora,sans-serif;font-size:22px;font-weight:800;color:rgba(255,255,255,.4);}
.prod-img-ph .ph-name{position:relative;z-index:1;font-family:Sora,sans-serif;font-size:13px;font-weight:700;color:rgba(255,255,255,.55);text-align:center;padding:0 16px;line-height:1.3;}
.prod-img-ph .ph-cat{position:relative;z-index:1;font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.25);margin-top:2px;}
/* Per-category placeholder gradients */
.prod-img-ph.ph-spices{--ph-c1:#1a3020;--ph-c2:#0d1f14;}
.prod-img-ph.ph-peanuts{--ph-c1:#2a1f0a;--ph-c2:#1a1205;}
.prod-img-ph.ph-cosmetics{--ph-c1:#28103a;--ph-c2:#180a22;}
.prod-img-ph.ph-air{--ph-c1:#0a1e2a;--ph-c2:#061218;}
.prod-img-ph.ph-avant{--ph-c1:#1a1508;--ph-c2:#0d0b04;}
.prod-img-ph .ph-accent{position:absolute;bottom:-30px;right:-30px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.03);z-index:0;}
.prod-img-ph .ph-accent2{position:absolute;top:-20px;left:-20px;width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,.03);z-index:0;}
.prod-body{padding:24px;flex:1;display:flex;flex-direction:column;}
.prod-cat-lbl{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--orange);margin-bottom:8px;}
.prod-name{font-family:'Sora',sans-serif;font-size:18px;font-weight:700;color:var(--dark);margin-bottom:8px;line-height:1.2;}
.prod-desc{font-size:13px;color:var(--muted);line-height:1.65;flex:1;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.prod-foot{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid var(--border);}
.prod-origin{font-size:12px;color:var(--muted);}
.prod-origin strong{color:var(--navy);}
.prod-link{font-size:12px;font-weight:700;color:var(--orange);}
.prod-link::after{content:' \2192';}

/* PRODUCT MODAL */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:2000;display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(6px);}
.overlay.open{display:flex;}
.modal{background:var(--white);border-radius:var(--rl);max-width:660px;width:100%;max-height:90vh;overflow-y:auto;position:relative;}
.modal-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;background:var(--off);border:1px solid var(--border);font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10;color:var(--muted);}
.modal-close:hover{background:var(--border);}
.modal-img{width:100%;height:240px;object-fit:cover;border-radius:var(--rl) var(--rl) 0 0;}
.modal-img-ph{width:100%;height:240px;background:linear-gradient(135deg,var(--navy),#1a2744);border-radius:var(--rl) var(--rl) 0 0;display:flex;align-items:center;justify-content:center;}
.modal-img-ph span{font-size:11px;color:rgba(255,255,255,.25);letter-spacing:2px;text-transform:uppercase;}
.modal-body{padding:32px;}
.modal-cat{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--orange);margin-bottom:10px;}
.modal-title{font-family:'Sora',sans-serif;font-size:26px;font-weight:800;color:var(--dark);margin-bottom:14px;}
.modal-desc{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:24px;}
.modal-specs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:28px;}
.spec{background:var(--off);border-radius:var(--r);padding:14px;}
.spec .sk{font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-bottom:4px;}
.spec .sv{font-size:14px;font-weight:600;color:var(--dark);}
.modal-actions{display:flex;gap:12px;}
.modal-actions a{flex:1;text-align:center;padding:14px;border-radius:var(--r);font-size:14px;font-weight:600;transition:.2s;}
.ma-p{background:var(--orange);color:var(--white);}
.ma-p:hover{background:#e06010;}
.ma-s{border:2px solid var(--navy);color:var(--navy);}
.ma-s:hover{background:var(--navy);color:var(--white);}

/* WHY */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:var(--rl);overflow:hidden;margin-top:56px;}
.why-item{padding:40px 28px;border-right:1px solid var(--border);}
.why-item:last-child{border:none;}
.why-num{font-family:'Sora',sans-serif;font-size:44px;font-weight:800;line-height:1;margin-bottom:8px;}
.why-item h4{font-size:15px;font-weight:700;color:var(--dark);margin-bottom:6px;}
.why-item p{font-size:13px;color:var(--muted);line-height:1.65;}

/* CONTACT */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:80px;align-items:start;}
.contact-left .sec-tag{color:var(--sky);}
.contact-left .sec-tag::before{background:var(--sky);}
.contact-left .sec-title{color:var(--white);margin:16px 0;}
.contact-left .sec-desc{color:rgba(255,255,255,.45);margin-bottom:40px;}
.ci{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px;}
.ci-dot{width:7px;height:7px;border-radius:50%;background:var(--orange);margin-top:7px;flex-shrink:0;}
.ci h4{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:rgba(255,255,255,.4);margin-bottom:4px;}
.ci p{font-size:15px;color:var(--white);font-weight:500;}
.cform{background:var(--white);border-radius:var(--rl);padding:40px;}
.cform h3{font-family:'Sora',sans-serif;font-size:22px;font-weight:700;color:var(--dark);margin-bottom:28px;}
.fg{margin-bottom:16px;}
.fg label{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:8px;}
.fg input,.fg textarea,.fg select{width:100%;background:var(--off);border:1.5px solid var(--border);border-radius:var(--r);padding:12px 14px;font-family:'Inter',sans-serif;font-size:14px;color:var(--text);outline:none;transition:.2s;}
.fg input:focus,.fg textarea:focus,.fg select:focus{border-color:var(--orange);}
.fg textarea{height:100px;resize:vertical;}
.fg select option{background:var(--white);}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.submit{width:100%;background:var(--orange);color:var(--white);border:none;padding:14px;border-radius:var(--r);font-size:14px;font-weight:700;cursor:pointer;transition:.2s;}
.submit:hover{background:#e06010;}

/* FOOTER */
footer{background:#0D1117;border-top:1px solid rgba(255,255,255,.06);padding:64px 8% 32px;}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:36px;margin-bottom:56px;}
.footer-brand img{
  height:auto;
  max-height:52px;
  width:auto;
  max-width:210px;
  object-fit:contain;
  display:block;
  margin-bottom:16px;
}
.footer-brand p{font-size:13px;color:rgba(255,255,255,.35);line-height:1.75;max-width:260px;}
.footer-col h4{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:rgba(255,255,255,.25);margin-bottom:18px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
.footer-col ul li a{font-size:13px;color:rgba(255,255,255,.45);transition:.2s;}
.footer-col ul li a:hover{color:var(--orange);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding-top:24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
.footer-bottom p{font-size:12px;color:rgba(255,255,255,.25);}
.certs{display:flex;gap:8px;}
.cert{font-size:11px;color:rgba(255,255,255,.25);border:1px solid rgba(255,255,255,.1);padding:4px 12px;border-radius:100px;}

/* ADMIN */
.admin-wrap{display:flex;min-height:100vh;background:var(--off);}
.admin-sidebar{width:240px;background:var(--dark);flex-shrink:0;position:fixed;top:0;left:0;bottom:0;z-index:100;display:flex;flex-direction:column;}
.admin-logo-area{padding:22px 20px;border-bottom:1px solid rgba(255,255,255,.06);}
.admin-logo-area img{height:28px;}
.admin-logo-area .back{font-size:12px;color:rgba(255,255,255,.3);margin-top:8px;cursor:pointer;transition:.2s;}
.admin-logo-area .back:hover{color:var(--orange);}
.admin-nav{flex:1;padding:16px 0;overflow-y:auto;}
.anav-sec{padding:8px 20px;font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.2);margin-top:8px;}
.admin-nav a{display:flex;align-items:center;gap:10px;padding:11px 20px;font-size:13px;color:rgba(255,255,255,.5);transition:.2s;border-left:3px solid transparent;text-decoration:none;}
.admin-nav a:hover{color:var(--white);background:rgba(255,255,255,.04);}
.admin-nav a.active{color:var(--white);background:rgba(244,121,32,.12);border-left-color:var(--orange);}
.admin-main{margin-left:240px;flex:1;padding:32px;}
.admin-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;}
.admin-topbar h1{font-family:'Sora',sans-serif;font-size:22px;font-weight:700;color:var(--dark);}
.apanel{display:none;}
.apanel.active{display:block;}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px;}
.stat-card{background:var(--white);border-radius:var(--rl);padding:24px;border:1px solid var(--border);}
.stat-card .slbl{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:8px;}
.stat-card .sval{font-family:'Sora',sans-serif;font-size:28px;font-weight:800;color:var(--dark);line-height:1;}
.stat-card .ssub{font-size:12px;color:var(--muted);margin-top:4px;}
.stat-bar{height:3px;border-radius:2px;margin-top:16px;}
.pcard{background:var(--white);border-radius:var(--rl);border:1px solid var(--border);overflow:hidden;}
.pcard-header{padding:20px 24px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
.pcard-header h2{font-size:15px;font-weight:700;color:var(--dark);}
.pcard-header p{font-size:13px;color:var(--muted);}
.btn-add{background:var(--orange);color:var(--white);border:none;padding:9px 20px;border-radius:var(--r);font-size:13px;font-weight:600;cursor:pointer;transition:.2s;}
.btn-add:hover{background:#e06010;}
.btn-sm{padding:6px 14px;font-size:12px;border-radius:6px;border:none;cursor:pointer;font-weight:600;transition:.2s;}
.btn-edit{background:var(--off);color:var(--navy);border:1px solid var(--border);}
.btn-edit:hover{background:rgba(59,94,166,.1);}
.btn-del{background:var(--off);color:#DC2626;border:1px solid var(--border);}
.btn-del:hover{background:rgba(220,38,38,.1);}
.ptable{width:100%;border-collapse:collapse;}
.ptable th{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:12px 24px;text-align:left;background:var(--off);border-bottom:1px solid var(--border);}
.ptable td{padding:14px 24px;border-bottom:1px solid var(--border);font-size:14px;color:var(--text);vertical-align:middle;}
.ptable tr:last-child td{border:none;}
.ptable tr:hover td{background:rgba(248,249,250,.7);}
.pthumb{width:48px;height:36px;border-radius:6px;object-fit:cover;background:var(--off);border:1px solid var(--border);}
.pthumb-ph{width:48px;height:36px;border-radius:6px;background:var(--off);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:9px;color:var(--muted);}
.badge{display:inline-block;padding:3px 10px;border-radius:100px;font-size:11px;font-weight:600;}
.bo{background:rgba(244,121,32,.1);color:var(--orange);}
.bg2{background:rgba(46,170,74,.1);color:var(--green);}
.bb{background:rgba(59,94,166,.1);color:var(--navy);}
.bs{background:rgba(75,191,232,.1);color:var(--sky);}
.by{background:rgba(245,200,0,.15);color:#B45309;}
.efw{display:none;position:fixed;inset:0;z-index:3000;background:rgba(0,0,0,.5);align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px);}
.efw.open{display:flex;}
.ef{background:var(--white);border-radius:var(--rl);max-width:620px;width:100%;max-height:90vh;overflow-y:auto;}
.ef-hdr{padding:22px 28px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;}
.ef-hdr h2{font-size:17px;font-weight:700;color:var(--dark);}
.ef-bdy{padding:28px;display:flex;flex-direction:column;gap:14px;}
.ef-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.ef-ftr{padding:18px 28px;border-top:1px solid var(--border);display:flex;gap:12px;justify-content:flex-end;}
.btn-cancel{background:var(--off);border:1px solid var(--border);color:var(--muted);padding:10px 20px;border-radius:var(--r);font-size:14px;font-weight:600;cursor:pointer;}
.btn-save{background:var(--orange);color:var(--white);border:none;padding:10px 24px;border-radius:var(--r);font-size:14px;font-weight:600;cursor:pointer;}
.upload-area{border:2px dashed var(--border);border-radius:var(--r);padding:20px;text-align:center;cursor:pointer;transition:.2s;background:var(--off);}
.upload-area:hover{border-color:var(--orange);}
.upload-area p{font-size:13px;color:var(--muted);margin-top:6px;}
.upload-area strong{font-size:12px;color:var(--orange);}
.img-prev{width:100%;height:120px;object-fit:cover;border-radius:var(--r);margin-bottom:8px;display:none;}
.color-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border);}
.color-row:last-child{border:none;}
.color-row label{font-size:14px;color:var(--text);}
.swatch-wrap{display:flex;align-items:center;gap:8px;}
.swatch{width:24px;height:24px;border-radius:50%;border:2px solid var(--border);}
.swatch-code{font-size:12px;font-family:monospace;color:var(--muted);}
.toast{position:fixed;bottom:24px;right:24px;background:var(--dark);color:var(--white);padding:14px 20px;border-radius:var(--r);font-size:14px;font-weight:500;z-index:9999;display:none;align-items:center;gap:10px;box-shadow:0 8px 32px rgba(0,0,0,.3);}
.toast.show{display:flex;}
.toast-dot{width:8px;height:8px;border-radius:50%;background:var(--green);}
.sp-card{background:var(--white);border-radius:var(--rl);border:1px solid var(--border);}
.sp-hdr{padding:20px 24px;border-bottom:1px solid var(--border);}
.sp-hdr h3{font-size:15px;font-weight:700;color:var(--dark);}
.sp-hdr p{font-size:12px;color:var(--muted);margin-top:2px;}
.sp-bdy{padding:24px;}
.sgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
@media(max-width:1024px){
  .hero{grid-template-columns:1fr;}
  .hero-right{display:none;}
  .about-grid,.contact-grid,.footer-grid{grid-template-columns:1fr;}
  .svc-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .why-item:nth-child(2){border-right:none;}
  .why-item:nth-child(3){border-top:1px solid var(--border);}
  .prod-grid{grid-template-columns:repeat(2,1fr);}
  .stats-row{grid-template-columns:repeat(2,1fr);}
  .admin-sidebar{width:200px;}
  .admin-main{margin-left:200px;}
}
@media(max-width:768px){
  .prod-grid{grid-template-columns:1fr;}
  .svc-grid{grid-template-columns:1fr;}
  .why-grid{grid-template-columns:1fr;}
  .why-item{border-right:none;border-top:1px solid var(--border);}
  .why-item:first-child{border-top:none;}
  .modal-specs{grid-template-columns:1fr;}
  .frow{grid-template-columns:1fr;}
  .sgrid{grid-template-columns:1fr;}
  .admin-sidebar{display:none;}
  .admin-main{margin-left:0;}
}

.branch-card:hover{transform:translateY(-3px);box-shadow:0 12px 40px rgba(0,0,0,.09);}

/* Group Companies */
.group-card:hover{background:var(--mid) !important;transform:translateY(-2px);}

/* ════════════════════════════════════════
   MOBILE NAVIGATION & RESPONSIVE
════════════════════════════════════════ */

/* Hamburger */
.hamburger{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:40px;height:40px;background:none;border:none;cursor:pointer;padding:4px;flex-shrink:0;z-index:1001;}
.hamburger .bar{display:block;width:22px;height:2px;background:var(--dark);border-radius:2px;transition:all .3s ease;}
.hamburger.open .bar:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.open .bar:nth-child(2){opacity:0;transform:scaleX(0);}
.hamburger.open .bar:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Mobile dropdown */
.mobile-nav{display:none;position:fixed;top:70px;left:0;right:0;background:var(--white);border-bottom:3px solid var(--orange);box-shadow:0 8px 32px rgba(0,0,0,.12);z-index:999;max-height:calc(100vh - 70px);overflow-y:auto;}
.mobile-nav.open{display:block;animation:slideDown .25s ease;}
@keyframes slideDown{from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}}
.mobile-nav ul{list-style:none;padding:8px 0;margin:0;}
.mobile-nav ul li a{display:block;padding:14px 24px;font-size:15px;font-weight:500;color:var(--text);border-bottom:1px solid var(--border);transition:background .15s,color .15s;}
.mobile-nav ul li:last-child a{border-bottom:none;}
.mobile-nav ul li a:hover,.mobile-nav ul li a.active{background:rgba(244,121,32,.06);color:var(--orange);}
.mobile-nav-footer{padding:16px 24px;background:var(--off);border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px;}
.mobile-hotline{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--navy);}
.mobile-hotline span{font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--orange);}
.mobile-quote{display:block;text-align:center;background:var(--orange);color:var(--white);padding:12px;border-radius:var(--r);font-size:14px;font-weight:700;text-decoration:none;}
.mobile-overlay{display:none;position:fixed;inset:0;top:70px;background:rgba(0,0,0,.4);z-index:998;}
.mobile-overlay.open{display:block;}

/* ── 900px breakpoint ── */
@media(max-width:900px){
  .nav-links,.nav-right{display:none!important;}
  .hamburger{display:flex!important;}

  /* Hero: show image as faded background on mobile */
  .hero{grid-template-columns:1fr!important;min-height:auto!important;padding-top:80px!important;position:relative!important;}
  .hero-left{padding:40px 6% 48px!important;position:relative;z-index:2;background:linear-gradient(to bottom,rgba(255,255,255,.97) 70%,rgba(255,255,255,.85) 100%);}
  .hero-right{display:block!important;position:absolute!important;inset:0!important;height:100%!important;z-index:0!important;overflow:hidden!important;}
  .hero-right img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center right!important;opacity:.2!important;}
  .hero-overlay{background:linear-gradient(to right,rgba(255,255,255,.95) 0%,rgba(255,255,255,.6) 60%,rgba(255,255,255,.1) 100%)!important;}
  .hero-badge{display:none!important;}
  .hero h1{font-size:clamp(32px,8vw,48px)!important;}
  .hero-stats{gap:20px!important;flex-wrap:wrap!important;}
  .hstat .num{font-size:24px!important;}

  /* Strip */
  .strip{flex-direction:column;gap:0;}
  .strip-item{border-right:none!important;border-bottom:1px solid rgba(255,255,255,.06);padding:14px 5%!important;}
  .strip-item:last-child{border-bottom:none;}

  /* Layouts */
  .about-grid,.contact-grid{grid-template-columns:1fr!important;gap:40px!important;}
  .about-img-wrap{display:none;}
  .footer-grid{grid-template-columns:1fr 1fr!important;gap:24px!important;}
  .svc-grid{grid-template-columns:1fr!important;}
  .why-grid{grid-template-columns:1fr!important;}
  .why-item{border-right:none!important;border-top:1px solid var(--border)!important;}
  .why-item:first-child{border-top:none!important;}

  /* Products */
  .prod-header{flex-direction:column!important;align-items:flex-start!important;gap:20px!important;}
  .cat-tabs{overflow-x:auto;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch;padding-bottom:4px;}
  .cat-tabs::-webkit-scrollbar{height:3px;}
  .cat-tabs::-webkit-scrollbar-thumb{background:var(--orange);border-radius:2px;}
  .prod-grid{grid-template-columns:1fr!important;}
  .modal-specs,.frow{grid-template-columns:1fr!important;}
}

/* ── 480px breakpoint ── */
@media(max-width:480px){
  section.sec{padding:60px 5%!important;}
  .hero-left{padding:36px 5% 40px!important;}
  .hero h1{font-size:clamp(28px,9vw,40px)!important;}
  .hero-btns{flex-direction:column!important;gap:10px!important;}
  .btn-primary,.btn-secondary{width:100%!important;text-align:center!important;display:block!important;}
  .footer-grid{grid-template-columns:1fr!important;}
  .hero-stats{gap:16px!important;}
  .hstat .num{font-size:22px!important;}
  .cat-tab{padding:8px 14px!important;font-size:12px!important;}
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL MODAL
═══════════════════════════════════════════════════ */
.prod-modal-overlay{
  position:fixed;inset:0;z-index:9000;
  background:rgba(0,0,0,.65);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  display:none;align-items:center;justify-content:center;
  padding:16px;
  opacity:0;transition:opacity .25s ease;
}
.prod-modal-overlay.open{display:flex;opacity:1;}

.prod-modal{
  background:var(--white);
  border-radius:20px;
  max-width:640px;width:100%;
  max-height:92vh;overflow-y:auto;
  position:relative;
  transform:translateY(20px);
  transition:transform .3s ease;
  -webkit-overflow-scrolling:touch;
}
.prod-modal-overlay.open .prod-modal{transform:translateY(0);}

/* Close button */
.prod-modal-close{
  position:sticky;top:12px;float:right;margin:12px 12px 0 0;
  width:36px;height:36px;border-radius:50%;
  background:rgba(0,0,0,.08);border:none;
  font-size:20px;line-height:1;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  color:var(--muted);transition:background .2s;
  z-index:10;flex-shrink:0;
}
.prod-modal-close:hover{background:rgba(0,0,0,.15);}

/* Image area */
.prod-modal-img-wrap{
  width:100%;min-height:260px;
  border-radius:20px 20px 0 0;overflow:hidden;
  background:var(--off);
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.prod-modal-img-wrap img{
  width:100%;height:280px;
  object-fit:cover;display:block;
}
.prod-modal-img-ph{
  width:100%;height:260px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  background:linear-gradient(135deg,#1a2744 0%,#0d1117 100%);
}
.prod-modal-img-ph .ph-initials{
  width:80px;height:80px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:'Sora',sans-serif;font-size:28px;font-weight:800;
}
.prod-modal-img-ph .ph-pname{
  font-family:'Sora',sans-serif;font-size:16px;font-weight:700;
  color:rgba(255,255,255,.65);text-align:center;padding:0 24px;
}

/* Loading spinner */
.prod-modal-img-loading{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:260px;
}
.prod-modal-spinner{
  width:36px;height:36px;border-radius:50%;
  border:3px solid var(--border);
  border-top-color:var(--orange);
  animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg);}}

/* Body */
.prod-modal-body{padding:24px 28px 32px;}
.prod-modal-cat{
  font-size:10px;font-weight:700;letter-spacing:2.5px;
  text-transform:uppercase;color:var(--orange);margin-bottom:10px;
}
.prod-modal-title{
  font-family:'Sora',sans-serif;font-size:24px;font-weight:800;
  color:var(--dark);line-height:1.2;margin-bottom:14px;
}
.prod-modal-desc{
  font-size:14px;color:var(--muted);line-height:1.8;
  margin-bottom:22px;
}

/* Specs grid */
.prod-modal-specs{
  display:grid;grid-template-columns:1fr 1fr;
  gap:10px;margin-bottom:26px;
}
.pms-item{
  background:var(--off);border-radius:10px;padding:13px 14px;
}
.pms-item .pms-key{
  font-size:10px;font-weight:700;text-transform:uppercase;
  letter-spacing:1.5px;color:var(--muted);margin-bottom:4px;
}
.pms-item .pms-val{
  font-size:14px;font-weight:600;color:var(--dark);line-height:1.3;
}

/* Action buttons */
.prod-modal-actions{display:flex;gap:12px;flex-wrap:wrap;}
.prod-modal-actions a{
  flex:1;min-width:140px;text-align:center;
  padding:13px 16px;border-radius:var(--r);
  font-size:14px;font-weight:700;transition:.2s;
  text-decoration:none;
}
.pma-primary{background:var(--orange);color:var(--white);}
.pma-primary:hover{background:#e06010;}
.pma-secondary{border:2px solid var(--navy);color:var(--navy);}
.pma-secondary:hover{background:var(--navy);color:var(--white);}

/* Mobile modal */
@media(max-width:600px){
  .prod-modal-overlay{padding:0;align-items:flex-end;}
  .prod-modal{
    border-radius:20px 20px 0 0;
    max-height:88vh;width:100%;
  }
  .prod-modal-specs{grid-template-columns:1fr;}
  .prod-modal-title{font-size:20px;}
  .prod-modal-body{padding:20px 20px 28px;}
}



/* ═══════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE  —  single-deo_product.php
═══════════════════════════════════════════════════════ */

/* Hero strip */
.sp-hero{
  background:var(--white);
  padding-top:70px; /* nav height */
  border-bottom:1px solid var(--border);
}
.sp-hero-inner{
  max-width:1200px;margin:0 auto;
  padding:16px 5%;
}
.sp-breadcrumb{
  display:flex;align-items:center;gap:6px;
  font-size:13px;color:var(--muted);flex-wrap:wrap;
}
.sp-breadcrumb a{
  color:var(--orange);text-decoration:none;font-weight:500;
}
.sp-breadcrumb a:hover{text-decoration:underline;}
.sp-breadcrumb span{color:var(--muted);}
.sp-bc-current{color:var(--dark);font-weight:600;}

/* Main layout */
.sp-main{
  max-width:1200px;margin:0 auto;
  padding:48px 5% 80px;
}
.sp-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:64px;
  align-items:start;
}

/* ── Image box ───────────────────────────────────── */
.sp-left{position:sticky;top:90px;}
.sp-img-box{
  border-radius:20px;
  overflow:hidden;
  background:#f8f9fa;
  border:1px solid var(--border);
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.sp-product-img{
  width:100%;
  height:100%;
  object-fit:contain;   /* show full product, no crop */
  object-position:center;
  display:block;
  padding:24px;
  transition:transform .4s ease;
}
.sp-img-box:hover .sp-product-img{transform:scale(1.03);}

/* Placeholder when no image */
.sp-img-fallback{
  width:100%;aspect-ratio:1/1;
  border-radius:20px;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:16px;
}
.sp-fallback-init{
  font-family:'Sora',sans-serif;
  font-size:52px;font-weight:800;
  width:120px;height:120px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.sp-fallback-name{
  font-family:'Sora',sans-serif;
  font-size:18px;font-weight:700;
  color:rgba(255,255,255,.6);
  text-align:center;padding:0 28px;
}

/* Quick contact below image */
.sp-quick-contact{
  margin-top:20px;
  background:var(--off);
  border-radius:12px;
  border:1px solid var(--border);
  padding:20px;
}
.sp-qc-label{
  font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:1.5px;
  color:var(--muted);margin-bottom:14px;
}
.sp-qc-email,.sp-qc-phone{
  display:flex;align-items:center;gap:10px;
  font-size:13px;font-weight:500;color:var(--dark);
  text-decoration:none;padding:8px 0;
  border-bottom:1px solid var(--border);
  transition:color .2s;
}
.sp-qc-phone{border:none;padding-bottom:0;}
.sp-qc-email:hover,.sp-qc-phone:hover{color:var(--orange);}
.sp-qc-icon{
  width:32px;height:32px;border-radius:8px;
  background:rgba(244,121,32,.1);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;flex-shrink:0;
}

/* ── Info column ─────────────────────────────────── */
.sp-right{padding-top:4px;}
.sp-cat-badge{
  display:inline-block;
  font-size:11px;font-weight:700;
  letter-spacing:2px;text-transform:uppercase;
  padding:5px 14px;border-radius:100px;
  margin-bottom:14px;
}
.sp-name{
  font-family:'Sora',sans-serif;
  font-size:clamp(24px,3vw,38px);
  font-weight:800;color:var(--dark);
  line-height:1.15;margin-bottom:14px;
  letter-spacing:-0.5px;
}
.sp-origin{
  display:flex;align-items:center;gap:6px;
  font-size:14px;color:var(--muted);margin-bottom:0;
}
.sp-origin strong{color:var(--dark);}
.sp-origin-icon{font-size:16px;}
.sp-divider{
  height:1px;background:var(--border);
  margin:24px 0;
}

/* Description */
.sp-description{
  font-size:15px;color:var(--muted);
  line-height:1.85;margin-bottom:0;
}
.sp-description p{margin-bottom:14px;}
.sp-description p:last-child{margin-bottom:0;}
.sp-description ul,.sp-description ol{
  padding-left:20px;margin-bottom:14px;
}
.sp-description li{margin-bottom:6px;line-height:1.7;}
.sp-description strong,.sp-description b{
  color:var(--dark);font-weight:700;
}

/* Specs */
.sp-specs-wrap{margin:0;}
.sp-specs-heading{
  font-size:13px;font-weight:700;
  text-transform:uppercase;letter-spacing:1px;
  color:var(--dark);margin-bottom:14px;
}
.sp-specs-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.sp-spec-item{
  background:var(--off);
  border-radius:10px;
  padding:14px 16px;
  border:1px solid var(--border);
}
.sp-spec-key{
  font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:1.5px;
  color:var(--muted);margin-bottom:5px;
}
.sp-spec-val{
  font-size:14px;font-weight:600;
  color:var(--dark);line-height:1.4;
}

/* CTA buttons */
.sp-cta-row{
  display:flex;gap:14px;flex-wrap:wrap;
}
.sp-cta-primary{
  flex:1;min-width:150px;text-align:center;
  background:var(--orange);color:var(--white);
  padding:15px 24px;border-radius:var(--r);
  font-size:15px;font-weight:700;
  text-decoration:none;display:block;
  transition:background .2s,transform .15s;
}
.sp-cta-primary:hover{background:#e06010;transform:translateY(-1px);}
.sp-cta-secondary{
  flex:1;min-width:150px;text-align:center;
  border:2px solid var(--navy);color:var(--navy);
  padding:14px 24px;border-radius:var(--r);
  font-size:15px;font-weight:700;
  text-decoration:none;display:block;
  transition:background .2s,color .2s;
}
.sp-cta-secondary:hover{background:var(--navy);color:var(--white);}

/* Back link */
.sp-back-wrap{margin-top:28px;}
.sp-back{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:600;color:var(--navy);
  text-decoration:none;
  padding:10px 18px;
  border:1.5px solid var(--border);
  border-radius:var(--r);
  transition:border-color .2s,background .2s;
}
.sp-back:hover{border-color:var(--navy);background:rgba(59,94,166,.05);}

/* ── Responsive ──────────────────────────────────── */
@media(max-width:1024px){
  .sp-grid{grid-template-columns:1fr 1.2fr;gap:40px;}
}
@media(max-width:900px){
  .sp-left{position:static;}
  .sp-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
  .sp-img-box{
    max-width:480px;
    margin:0 auto;
  }
  .sp-quick-contact{display:none;}  /* shown in CTA row instead */
  .sp-specs-grid{grid-template-columns:1fr;}
  .sp-cta-row{flex-direction:column;}
  .sp-cta-primary,.sp-cta-secondary{min-width:100%;}
  .sp-main{padding:32px 5% 60px;}
}
@media(max-width:480px){
  .sp-name{font-size:clamp(22px,7vw,30px);}
  .sp-description{font-size:14px;}
  .sp-img-box{max-width:100%;}
}
