/* ===== TPF custom storefront (Salla Pro) ===== */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
:root{
  --color-primary:#0A9245 !important; --color-primary-dark:#0A6E36 !important;
  --color-primary-light:#3FAF6E !important; --color-primary-reverse:#ffffff !important;
  --font-main:'Almarai' !important; --s-radius:.6rem !important;
  --tpf-green:#0A9245; --tpf-green-d:#0A6E36; --tpf-green-deep:#0B3D22; --tpf-brass:#A9793F;
  --tpf-ink:#0F2318; --tpf-muted:#5B6C61; --tpf-paper:#F6F9F5; --tpf-paper2:#EFF5EE;
  --tpf-line:#E3EBE2; --tpf-line2:#CFDACD; --tpf-card:#FFFFFF;
}
body,input,select,textarea,button,h1,h2,h3,h4,h5,h6,[class*="title"]{font-family:'Almarai',system-ui,'Segoe UI',Tahoma,sans-serif !important;}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
header,.s-header{border-bottom:1px solid rgba(15,35,24,.08) !important;}
.s-product-card-entry{border:1px solid var(--tpf-line) !important;border-radius:.7rem !important;overflow:hidden !important;transition:transform .2s,box-shadow .2s !important;}
.s-product-card-entry:hover{transform:translateY(-4px) !important;box-shadow:0 20px 42px -24px rgba(12,46,29,.45) !important;}
.s-slider-nav-arrow{background:#fff !important;color:var(--tpf-green) !important;border:1px solid var(--tpf-line) !important;box-shadow:0 8px 22px -10px rgba(12,46,29,.35) !important;}
/* HOME: hide default, mount custom */
body.index main>salla-hook,body.index section.s-block{display:none !important;}
#tpf-home .wrap{max-width:1200px;margin-inline:auto;padding-inline:clamp(18px,4vw,40px);}
#tpf-home img{max-width:100%;display:block;}
#tpf-home .eyebrow{font-family:'IBM Plex Mono',monospace;font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--tpf-green-d);display:inline-flex;align-items:center;gap:.6em;}
#tpf-home .eyebrow::before{content:"";width:26px;height:2px;background:var(--tpf-brass);}
#tpf-home h2{font-size:clamp(1.7rem,3.4vw,2.5rem);font-weight:800;letter-spacing:-.01em;margin:.4rem 0 0;}
#tpf-home .lead{color:var(--tpf-muted);}
#tpf-home .tpf-btn{display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:.98rem;border-radius:.5rem;padding:13px 24px;cursor:pointer;border:0;transition:transform .15s,box-shadow .2s,background .2s;text-decoration:none;}
#tpf-home .tpf-btn.solid{background:var(--tpf-green);color:#fff;box-shadow:0 12px 24px -12px rgba(10,146,69,.8);}
#tpf-home .tpf-btn.solid:hover{background:var(--tpf-green-d);transform:translateY(-2px);}
#tpf-home .tpf-btn.ghost{background:#fff;color:var(--tpf-ink);border:1px solid var(--tpf-line2);}
#tpf-home .tpf-btn.ghost:hover{border-color:var(--tpf-green);color:var(--tpf-green-d);}
#tpf-home .tpf-btn.white{background:#fff;color:var(--tpf-green-d);}
#tpf-home .hero{background:radial-gradient(90% 120% at 90% -10%,rgba(10,146,69,.10),transparent 55%),linear-gradient(180deg,#fff,var(--tpf-paper));border-bottom:1px solid var(--tpf-line);}
#tpf-home .hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,60px);align-items:center;padding-block:clamp(46px,7vw,88px);}
#tpf-home .hero h1{font-size:clamp(2.1rem,5vw,3.7rem);font-weight:800;line-height:1.16;letter-spacing:-.02em;margin:18px 0 0;}
#tpf-home .hero h1 b{color:var(--tpf-green);}
#tpf-home .hero .lead{margin-top:18px;font-size:clamp(1rem,1.6vw,1.18rem);max-width:44ch;}
#tpf-home .hero .cta{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px;}
#tpf-home .spec{display:flex;flex-wrap:wrap;gap:0;margin-top:38px;border-top:1px solid var(--tpf-line);}
#tpf-home .spec div{padding:15px 22px 2px;border-inline-start:1px solid var(--tpf-line);}
#tpf-home .spec div:first-child{padding-inline-start:0;border-inline-start:0;}
#tpf-home .spec .k{font-family:'IBM Plex Mono',monospace;font-size:1.45rem;font-weight:600;color:var(--tpf-green-d);}
#tpf-home .spec .l{font-size:.75rem;color:var(--tpf-muted);}
#tpf-home .hero .art .frame{position:relative;border-radius:.9rem;overflow:hidden;box-shadow:0 40px 70px -34px rgba(12,46,29,.5);border:1px solid var(--tpf-line);background:#fff;}
#tpf-home .hero .art .frame img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3.2;}
#tpf-home .hero .art .tag{position:absolute;z-index:2;inset-block-start:14px;inset-inline-start:14px;background:var(--tpf-brass);color:#221603;font-family:'IBM Plex Mono',monospace;font-size:.7rem;font-weight:600;letter-spacing:.08em;padding:6px 11px;border-radius:3px;}
#tpf-home .trust{background:var(--tpf-paper2);border-bottom:1px solid var(--tpf-line);}
#tpf-home .trust .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:0;}
#tpf-home .trust .c{padding:26px 22px;border-inline-start:1px solid var(--tpf-line);}
#tpf-home .trust .c:first-child{border-inline-start:0;}
#tpf-home .trust .n{font-family:'IBM Plex Mono',monospace;font-size:1.7rem;font-weight:600;color:var(--tpf-green-d);display:flex;align-items:baseline;gap:6px;}
#tpf-home .trust .n small{font-size:.85rem;color:var(--tpf-brass);font-weight:500;}
#tpf-home .trust .t{font-size:.85rem;color:var(--tpf-muted);margin-top:2px;}
#tpf-home .sec{padding-block:clamp(52px,7vw,88px);}
#tpf-home .sec.tint{background:var(--tpf-paper2);}
#tpf-home .sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:38px;flex-wrap:wrap;}
#tpf-home .sec-head .lead{max-width:44ch;}
#tpf-home .cats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
#tpf-home .cat{position:relative;background:var(--tpf-card);border:1px solid var(--tpf-line);border-radius:.7rem;padding:26px 22px;overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;flex-direction:column;min-height:210px;text-decoration:none;color:var(--tpf-ink);}
#tpf-home .cat::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:var(--tpf-green);transform:scaleY(0);transform-origin:bottom;transition:transform .28s;}
#tpf-home .cat:hover{transform:translateY(-4px);box-shadow:0 22px 44px -26px rgba(12,46,29,.4);border-color:var(--tpf-line2);}
#tpf-home .cat:hover::before{transform:scaleY(1);}
#tpf-home .cat .idx{font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:var(--tpf-brass);letter-spacing:.14em;}
#tpf-home .cat .ci{margin:14px 0 auto;color:var(--tpf-green-d);}
#tpf-home .cat .ci svg{width:40px;height:40px;}
#tpf-home .cat h3{font-size:1.15rem;font-weight:800;margin-top:14px;}
#tpf-home .cat .go{margin-top:12px;padding-top:12px;border-top:1px solid var(--tpf-line);font-family:'IBM Plex Mono',monospace;font-size:.74rem;color:var(--tpf-muted);display:flex;justify-content:space-between;align-items:center;}
#tpf-home .cat .go span{color:var(--tpf-green-d);font-size:1rem;transition:transform .2s;}
#tpf-home .cat:hover .go span{transform:translateX(-5px);}
#tpf-home .feats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
#tpf-home .feat{background:var(--tpf-card);border:1px solid var(--tpf-line);border-radius:.7rem;padding:26px;transition:transform .2s,box-shadow .2s;}
#tpf-home .feat:hover{transform:translateY(-3px);box-shadow:0 20px 40px -26px rgba(12,46,29,.35);}
#tpf-home .feat .fi{width:46px;height:46px;display:grid;place-items:center;color:var(--tpf-green-d);background:rgba(10,146,69,.10);border-radius:.5rem;}
#tpf-home .feat .fi svg{width:24px;height:24px;}
#tpf-home .feat h3{font-size:1.08rem;font-weight:800;margin:14px 0 6px;}
#tpf-home .feat p{color:var(--tpf-muted);font-size:.93rem;}
#tpf-home .about{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,60px);align-items:center;}
#tpf-home .about .media{position:relative;border-radius:.8rem;overflow:hidden;border:1px solid var(--tpf-line);box-shadow:0 30px 60px -34px rgba(12,46,29,.4);aspect-ratio:5/4;}
#tpf-home .about .media img{width:100%;height:100%;object-fit:cover;}
#tpf-home .about .media .badge{position:absolute;inset-block-end:0;inset-inline-start:0;background:var(--tpf-green);color:#fff;padding:13px 18px;font-weight:800;}
#tpf-home .about .media .badge small{display:block;font-family:'IBM Plex Mono',monospace;font-weight:500;font-size:.68rem;color:#d3f0dc;letter-spacing:.06em;}
#tpf-home .about .lead{margin-top:14px;}
#tpf-home .chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px;}
#tpf-home .chip{font-family:'IBM Plex Mono',monospace;font-size:.76rem;padding:8px 13px;border:1px solid var(--tpf-line2);border-radius:3px;background:var(--tpf-card);}
#tpf-home .chip b{color:var(--tpf-green-d);}
#tpf-home .certs .row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:10px;}
#tpf-home .cbadge{background:var(--tpf-card);border:1px solid var(--tpf-line);border-radius:.6rem;padding:22px 14px;text-align:center;transition:border-color .2s;}
#tpf-home .cbadge:hover{border-color:var(--tpf-green);}
#tpf-home .cbadge .b1{font-family:'IBM Plex Mono',monospace;font-weight:600;color:var(--tpf-green-d);}
#tpf-home .cbadge .b2{font-size:.74rem;color:var(--tpf-muted);margin-top:4px;}
#tpf-home .ctaband{background:linear-gradient(120deg,var(--tpf-green-deep),var(--tpf-green));color:#fff;position:relative;overflow:hidden;}
#tpf-home .ctaband::before{content:"";position:absolute;inset:0;background:radial-gradient(70% 130% at 90% 10%,rgba(169,121,63,.32),transparent 60%);}
#tpf-home .ctaband .wrap{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;padding-block:clamp(40px,6vw,64px);flex-wrap:wrap;}
#tpf-home .ctaband h2{color:#fff;}
#tpf-home .ctaband p{color:#dff0e4;margin-top:8px;max-width:48ch;}
#tpf-home .ctaband .cta{display:flex;gap:13px;flex-wrap:wrap;}
@media(max-width:900px){#tpf-home .hero .wrap{grid-template-columns:1fr;}#tpf-home .hero .art{order:-1;}#tpf-home .cats{grid-template-columns:1fr 1fr;}#tpf-home .feats{grid-template-columns:1fr 1fr;}#tpf-home .about{grid-template-columns:1fr;}#tpf-home .about .media{order:-1;}#tpf-home .certs .row{grid-template-columns:repeat(2,1fr);}#tpf-home .trust .wrap{grid-template-columns:1fr 1fr;}#tpf-home .trust .c:nth-child(3){border-inline-start:0;}}
@media(max-width:560px){#tpf-home .cats,#tpf-home .feats{grid-template-columns:1fr;}}
@media(prefers-reduced-motion:reduce){#tpf-home *{transition:none !important;}}