/* gannaganna.lk — green compact theme (loaded after style.css) */
:root{--green:#1E9E3E;--green-d:#167A30;--lime:#6CC04A;--yellow:#FFD21F;--orange:#FFD21F;--soft:#F2F8EF;--line:#E3EBE0;--r:14px;--shadow:0 6px 18px -10px rgba(20,60,20,.28)}
body{background:#F4F8F2;line-height:1.45}
.bgfloat{display:none!important}
.container{width:min(1200px,100% - 20px)}
h1,h2{letter-spacing:-.01em}

/* top strip + header */
.announce{background:var(--green-d)!important;color:#fff!important;font-size:12px!important;padding:4px 0!important}
.header{background:linear-gradient(120deg,#178A35 0%,#1E9E3E 45%,#55B947 100%)!important;border:0!important;backdrop-filter:none!important;box-shadow:0 4px 14px -8px rgba(0,0,0,.35)}
.header-in{padding-top:8px!important;padding-bottom:8px!important;gap:12px!important;min-height:0!important}
.header .g1,.footer .g1{color:#fff!important}
.header .g2,.footer .g2{color:var(--yellow)!important}
.header .logo-word small{color:#E7F6E7!important}
.header .logo-si{color:#DDF3DD!important}
.header .logo-mark{background:#fff;border-radius:12px;padding:2px}
.hsearch input{background:#fff!important;border:0!important;border-radius:999px!important;height:40px!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.hsearch button{border-radius:999px!important}
.hcall{background:rgba(255,255,255,.18)!important;color:#fff!important;border:0!important;padding:8px 14px!important}
.cartlink{background:#fff!important;color:var(--green-d)!important;padding:8px 14px!important}
.cartlink em,.cartlink b{background:var(--yellow)!important;color:#1A2E10!important}
.catnav{background:#fff!important;border-bottom:1px solid var(--line)!important}
.catnav-in{gap:2px!important;padding:2px 0!important}
.catnav-in a{padding:7px 12px!important;font-size:14px!important;border-radius:999px}
.catnav-in a:hover{background:var(--soft)}

/* sections: less empty space */
main .sec{padding-top:16px!important;padding-bottom:4px!important;margin-top:0!important;margin-bottom:0!important}
.sec-head{margin-bottom:10px!important;align-items:center}
.sec-head h2,.sec h2{font-size:21px!important;margin-bottom:0}
.sec-head a{color:var(--green)!important;font-weight:700;font-size:14px}

/* banner: rounded green card with photo */
.banners{width:min(1200px,100% - 20px);margin:12px auto 0!important;border-radius:18px;overflow:hidden;min-height:0!important}
.banner{min-height:0!important;background:linear-gradient(110deg,#178A35,#1E9E3E 55%,#6CC04A)!important}
.banner-track{height:clamp(210px,24vw,270px)!important}
.banner-in{min-height:0!important;padding:16px 64px!important;gap:18px!important;align-items:center}
.banner-copy h2{font-size:clamp(24px,3.2vw,36px)!important;margin-bottom:6px!important;color:#fff}
.banner-copy p{font-size:15px!important;margin-bottom:12px!important;color:#EAF7EA}
.banner-copy .btn,.banner-copy .btn-white{background:var(--yellow)!important;color:#1A2E10!important;border:0!important;padding:10px 20px!important;font-size:15px!important;border-radius:999px!important;box-shadow:none!important}
.banner-art{max-height:230px}
.banner-art img{max-height:230px;width:auto;margin-inline:auto}
.banner-art img.photo{width:100%;height:210px;object-fit:cover;border-radius:16px;border:4px solid rgba(255,255,255,.35)}
.orb{opacity:.35}
.bn-arrow{width:34px!important;height:34px!important}
.bn-dots{bottom:8px!important}
.bn-dots button.on{background:var(--yellow)!important}

/* trust row */
.trust{margin-top:10px!important;gap:8px!important;position:static!important;transform:none!important}
.trust>div{padding:10px 12px!important;border-radius:12px!important;box-shadow:none!important;border:1px solid var(--line)!important;background:#fff!important;min-height:0!important}
.trust>div>span{font-size:22px!important}
.trust b,.trust strong{font-size:14px}
.trust small{font-size:12px!important;line-height:1.3}

/* categories: round photo circles */
.catgrid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
.catcard{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;text-align:center;min-height:0!important;transform:none!important}
.catcard .cc-img{width:92px!important;height:92px!important;border-radius:50%!important;margin:0 auto 6px!important;overflow:hidden;display:block!important;background:#E6F3E2!important;border:3px solid #fff;box-shadow:0 6px 14px -8px rgba(0,0,0,.35);padding:0!important}
.catcard .cc-img img{width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important;transform:none!important}
.catcard:hover .cc-img{box-shadow:0 0 0 3px var(--green)}
.catcard b{display:block;font-size:14px!important;line-height:1.2;color:var(--ink)}
.catcard small{font-size:11px!important;color:var(--muted)}

/* product cards: compact, photo, green price, round + */
.pgrid{gap:10px!important;grid-template-columns:repeat(auto-fill,minmax(168px,1fr))!important}
.pcard{border-radius:14px!important;border:1px solid var(--line)!important;box-shadow:none!important;background:#fff!important;overflow:hidden}
.pcard:hover{box-shadow:var(--shadow)!important;transform:none!important}
.pcard .thumb,.thumb{background:#fff!important;border-radius:0!important;aspect-ratio:1/1;padding:0!important}
.thumb img{width:100%;height:100%;object-fit:contain!important}
.thumb.ph.art{background:var(--soft)!important}
.pcard-body{padding:8px 10px 10px!important;gap:2px!important;position:relative}
.pcard-title{font-size:14px!important;font-weight:700;line-height:1.25;color:var(--ink)}
.pcard-si{font-size:12px!important;margin:0!important}
.pcard-price{margin:4px 0 6px!important}
.pcard-price b{color:var(--green)!important;font-size:16px!important}
.pcard-price span{font-size:12px}
.pcard .btn,.pcard-act .btn{border-radius:999px!important;padding:7px 10px!important;font-size:13px!important}
.tag{font-size:10px!important;padding:2px 8px!important;border-radius:999px!important}
.tag-hot{background:var(--yellow)!important;color:#1A2E10!important}

/* buttons */
.btn-primary{background:var(--green)!important;border-color:var(--green)!important;color:#fff!important}
.btn-primary:hover{background:var(--green-d)!important}

/* lower home blocks: tighter */
.how{padding:18px!important;border-radius:16px!important;margin:0!important}
.how h3{font-size:16px!important}
.fees{padding:20px!important;border-radius:16px!important;background:linear-gradient(120deg,#145F27,#1E9E3E)!important}
.areachips a{padding:6px 12px!important;font-size:13px!important;background:#fff!important;border:1px solid var(--line)!important}
.faq details{padding:10px 14px!important}
.printpromo,.lazybox{padding:12px 16px!important;border-radius:14px!important;margin-bottom:8px!important}

/* product detail page */
.detail{gap:18px!important}
.thumb-lg{border:1px solid var(--line);border-radius:16px!important;overflow:hidden}

/* footer */
.footer{background:#103D1C!important;margin-top:20px!important}
.footer-grid{padding-top:24px!important;padding-bottom:14px!important;gap:18px!important}
.footer-bottom{padding:10px 0!important;font-size:12px!important}
.footer-bottom a{text-decoration:underline}

/* floating WhatsApp */
.fab,.wa-fab{background:#25D366!important}

/* phones */
@media (max-width:760px){
  .header-in{flex-wrap:wrap;gap:8px!important}
  .hsearch{order:3;flex:1 0 100%}
  .hcall span{display:none}
  .banner-track{height:200px!important}
  .banner-in{padding:14px 44px!important;grid-template-columns:1fr 110px!important;display:grid!important}
  .banner-copy h2{font-size:22px!important}
  .banner-copy p{font-size:13px!important;margin-bottom:8px!important}
  .banner-art,.banner-art img{max-height:120px}
  .banner-art img.photo{height:120px;border-radius:12px;border-width:3px}
  .trust{grid-template-columns:repeat(2,1fr)!important;display:grid!important}
  .catgrid{display:flex!important;overflow-x:auto;gap:12px!important;padding-bottom:4px;scrollbar-width:none}
  .catcard{flex:0 0 78px}
  .catcard .cc-img{width:68px!important;height:68px!important}
  .catcard b{font-size:12px!important}
  .catcard small{display:none}
  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .pcard-title{font-size:13px!important}
  main .sec{padding-top:12px!important}
  .sec-head h2,.sec h2{font-size:18px!important}
}

/* tighter info blocks */
.how>div,.how .step,.how article{padding:14px!important}
.how p,.fees p,.fees li{font-size:14px!important}
.fees>div:last-child{background:linear-gradient(135deg,#FFD21F,#F4B400)!important;color:#1A2E10!important}
.printpromo{background:#EEF7EA!important;border-color:#CFE6C6!important}
.printpromo em{background:var(--green)!important;color:#fff!important}
@media (min-width:761px){.detail{grid-template-columns:minmax(0,420px) 1fr!important;align-items:start}}
/* full-width photo banners */
.banner.bgimg{background-repeat:no-repeat!important;background-size:cover!important;background-position:right center!important}
.banner.bg-veg{background-image:url(../img/banner-bg-veg.jpg)!important}
.banner.bg-meat{background-image:url(../img/banner-bg-meat.jpg)!important}
.banner.bg-veg2{background-image:url(../img/banner-bg-veg2.jpg)!important}
.banner.bg-groc{background-image:url(../img/banner-bg-groc.jpg)!important}
.banner.bg-books{background-image:url(../img/banner-bg-books.jpg)!important}
.banner.bg-print{background-image:url(../img/banner-bg-print.jpg)!important}
.banner.bg-deliver{background-image:url(../img/banner-bg-deliver.jpg)!important}
.banner.bgimg .banner-art,.banner.bgimg .orb{display:none!important}
.banner.bgimg .banner-in{display:flex!important}
.banner.bgimg .banner-copy{max-width:46%}
.banner.bgimg .banner-copy h2,.banner.bgimg .banner-copy p{text-shadow:0 2px 10px rgba(0,0,0,.25)}
@media (max-width:760px){.banner.bgimg .banner-copy{max-width:58%}.banner.bgimg{background-position:62% center!important}}

/* print page hero photo */
.pagehead.printhero{background:#1E9E3E url(../img/banner-bg-print.jpg) right center/cover no-repeat!important;color:#fff!important;padding:34px 0!important;min-height:220px;display:flex;align-items:center}
.pagehead.printhero h1,.pagehead.printhero p{color:#fff!important;max-width:520px;text-shadow:0 2px 10px rgba(0,0,0,.25)}
@media (max-width:760px){.pagehead.printhero{background-position:65% center!important;min-height:180px}.pagehead.printhero p{max-width:62%}}
/* readable text over busy banner photos */
.banner.bgimg::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,110,45,.92) 0%,rgba(22,128,52,.75) 34%,rgba(22,128,52,0) 55%);z-index:1;pointer-events:none}
.banner.bgimg .banner-in{position:relative;z-index:2}

.banner.bg-any{background-image:url(../img/banner-bg-any.jpg)!important}

/* category page photo headers */
.pagehead.cathero{background-color:#1E9E3E!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:right center!important;color:#fff!important;padding:30px 0!important;min-height:200px;display:flex;align-items:center;position:relative}
.pagehead.cathero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,110,45,.95) 0%,rgba(22,128,52,.8) 35%,rgba(22,128,52,0) 58%);pointer-events:none}
.pagehead.cathero .container{position:relative;z-index:1}
.pagehead.cathero h1,.pagehead.cathero p,.pagehead.cathero .crumbs,.pagehead.cathero .crumbs a{color:#fff!important;max-width:540px;text-shadow:0 2px 10px rgba(0,0,0,.25)}
.pagehead.cathero .pagehead-art{display:none!important}
.pagehead.ch-veg{background-image:url(../img/banner-bg-veg.jpg)!important}
.pagehead.ch-groc{background-image:url(../img/banner-bg-groc.jpg)!important}
.pagehead.ch-meat{background-image:url(../img/banner-bg-meat.jpg)!important}
.pagehead.ch-any{background-image:url(../img/banner-bg-any.jpg)!important}
.pagehead.ch-books{background-image:url(../img/banner-bg-books.jpg)!important}
@media (max-width:760px){.pagehead.cathero{background-position:68% center!important;min-height:170px}.pagehead.cathero p{max-width:62%;font-size:13px}}
