/*
Theme Name: TBK — Toko Bahan Kimia V2
Theme URI: https://tokobahankimia.com/
Author: TBK
Description: Retail chemical catalog with seeded products, search, category and function browsing.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tbk-v2
*/
:root{--ink:#063d4b;--muted:#526b75;--red:#ee0928;--paper:#f5f6f5;--line:#e3e9e9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{text-decoration:none;color:inherit}button,input{font:inherit}img{max-width:100%}.wrap{max-width:1320px;margin:auto;padding:0 32px}.site-header{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 3px 18px #002b3b16}.nav{display:flex;align-items:center;gap:28px;min-height:74px}.brand{display:flex;align-items:center;gap:9px;flex:none}.mark{width:45px;height:45px;border-radius:50%;background:var(--red);display:grid;place-items:center;color:#fff;font-size:25px}.brand strong{font-size:31px;line-height:.8;letter-spacing:-2px}.brand small{display:block;font-size:7px;letter-spacing:.7px}.nav-links{display:flex;gap:24px;align-items:center;margin-left:auto;font-size:13px;font-weight:700;white-space:nowrap}.nav-links a:hover,.nav-links .active{color:var(--red)}.nav-search{display:flex;align-items:center;background:#f4f6f7;border-radius:25px;padding:0 13px;max-width:250px;min-width:150px}.nav-search input{background:none;border:0;outline:0;width:100%;padding:11px;font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 19px;border-radius:5px;border:1px solid var(--ink);font-size:13px;font-weight:700;cursor:pointer;background:white}.button.red{background:var(--red);color:#fff;border-color:var(--red)}.button:hover{transform:translateY(-1px)}.shop-link{white-space:nowrap;font-size:12px}.hero{min-height:460px;background:linear-gradient(90deg,transparent 35%,#dff4f88c 72%,#dff4f8ab),url('assets/hero.png') center/cover;display:flex;align-items:center}.hero .wrap{width:100%;display:flex;justify-content:flex-end}.hero-copy{width:52%;padding:35px 0}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:1.4px;font-weight:800}.hero h1{font-size:clamp(35px,4vw,57px);line-height:1.04;letter-spacing:-2.3px;margin:10px 0}.hero h1 i{color:var(--red);font-style:normal}.hero p{max-width:490px;margin:0 auto 20px;text-align:center;line-height:1.45}.hero-search{display:flex;align-items:center;background:#fff;border-radius:40px;padding:7px;box-shadow:0 5px 20px #00435c24}.hero-search input{flex:1;min-width:0;border:0;outline:0;padding:12px 16px}.hero-search button{border:0;border-radius:50%;background:var(--red);color:white;width:43px;height:43px;cursor:pointer}.popular{display:flex;justify-content:center;align-items:center;gap:8px;margin:16px 0;font-size:11px}.popular a,.chips span{background:#fff;border:1px solid var(--line);border-radius:18px;padding:6px 13px;font-weight:700}.section{padding:26px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.section h2{font-size:28px;letter-spacing:-1.3px;line-height:1;margin:0}.section-head>a{font-size:12px;font-weight:700}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.category{background:#fff;border-radius:10px;text-align:center;padding:17px 8px 14px;font-size:14px;font-weight:800;min-height:145px}.category .icon{width:64px;height:64px;border-radius:14px;display:grid;place-items:center;font-size:32px;margin:0 auto 8px;background:#e8f4f3}.category:nth-child(2) .icon{background:#fcf2e8}.category:nth-child(3) .icon{background:#eaf2fd}.category:nth-child(4) .icon{background:#fcecee}.category:nth-child(5) .icon{background:#e9f5f2}.category:nth-child(6) .icon{background:#eaf2ff}.promos{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.promo{min-height:190px;border-radius:11px;padding:22px;position:relative;overflow:hidden;background:linear-gradient(110deg,#fceced 50%,#fff6e7);}.promo:nth-child(2){background:linear-gradient(110deg,#e8f5ee 48%,#d9e4df)}.promo:nth-child(3){background:linear-gradient(110deg,#e9f4ff 48%,#dcebf4)}.promo:after{content:'◯';position:absolute;right:-16px;bottom:-67px;font-size:230px;color:#ffffff99;pointer-events:none}.promo h3{font-size:25px;line-height:1.06;margin:8px 0}.promo p{font-size:13px;line-height:1.35;max-width:220px}.promo .button{position:relative;z-index:1}.filters{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 8px}.filter{border:1px solid var(--line);border-radius:20px;background:#fff;padding:7px 19px;font-size:11px;font-weight:700;cursor:pointer}.filter.active{background:var(--red);color:white;border-color:var(--red)}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.products.six{grid-template-columns:repeat(6,1fr)}.product{background:white;border-radius:8px;padding:14px 16px;min-width:0;display:flex;flex-direction:column}.product-image{height:150px;display:grid;place-items:center;position:relative}.product-image img{height:145px;width:100%;object-fit:contain}.pack{width:100px;height:132px;position:relative;background:linear-gradient(100deg,#e6e7e7,#fff 25%,#fff 75%,#d8dcdc);clip-path:polygon(6% 0,94% 0,100% 100%,0 100%);box-shadow:0 4px 14px #0002;border:1px solid #edf0f0}.pack:before{content:'';position:absolute;top:12px;left:10px;right:10px;border-top:3px solid #dfe3e3}.pack:after{content:'TBK';position:absolute;top:48px;left:17px;right:17px;text-align:center;color:#b3bdbe;font-size:16px;font-weight:900}.bottle{width:72px;height:113px;border:3px solid #c8c6b8;border-radius:13px 13px 9px 9px;background:linear-gradient(90deg,#ded7ab,#f7f5df 30%,#e5d7a0 83%,#b5a978);position:relative;margin-top:20px}.bottle:before{content:'';position:absolute;top:-20px;left:18px;width:30px;height:17px;background:#e8e9e8;border-radius:4px 4px 1px 1px}.bottle:after{content:'TBK';position:absolute;top:40px;left:4px;right:4px;background:#fff;text-align:center;color:#aab4b7;font-size:12px;padding:11px 0}.product h3{font-size:15px;margin:5px 0 3px;line-height:1.2}.product p{color:var(--muted);font-size:12px;line-height:1.3;margin:0 0 7px;min-height:31px}.price{color:var(--red);font-weight:800;font-size:15px;margin-top:auto}.chips{display:flex;gap:4px;flex-wrap:wrap;margin:7px 0 10px}.chips span{font-size:10px;padding:5px 8px;border-radius:4px}.product-link{font-size:12px;font-weight:800;margin-top:auto}.cta{margin:14px auto 10px;border-radius:10px;background:linear-gradient(100deg,#f8f1ed 35%,#d8e4de);padding:32px 40px;min-height:185px;display:flex;align-items:center}.cta h2{font-size:29px;max-width:400px;line-height:1.05}.cta p{font-size:14px}.cta-actions{display:flex;gap:9px}.site-footer{background:#fff;margin-top:15px;padding:28px 0 38px}.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:25px}.footer-grid>div+div{border-left:1px solid var(--line);padding-left:22px}.footer-grid h4{margin:0 0 7px;font-size:12px}.footer-grid a{display:block;font-size:12px;color:#657c88;line-height:1.55}.footer-grid p{font-size:13px;font-weight:700}.archive-heading{padding:50px 0 18px}.archive-heading h1{font-size:38px;margin:0 0 8px}.archive-heading p{color:var(--muted)}.archive-products{padding-bottom:50px}.single-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:55px 0}.single-image{background:white;border-radius:15px;min-height:420px;display:grid;place-items:center}.single-image .pack{transform:scale(1.8)}.single-image .bottle{transform:scale(1.8)}.single-image img{max-height:360px}.single-layout h1{font-size:42px;margin:5px 0}.single-layout .price{font-size:23px}.content{line-height:1.65;color:#34525d}.notice{background:#edf5f5;padding:15px;border-radius:7px;font-size:13px}.menu-toggle{display:none}@media(max-width:1000px){.nav{gap:15px}.nav-links{gap:11px}.nav-search{display:none}.products.six{grid-template-columns:repeat(3,1fr)}}@media(max-width:740px){.wrap{padding:0 18px}.nav{min-height:64px;flex-wrap:wrap}.brand strong{font-size:26px}.mark{width:38px;height:38px}.menu-toggle{display:block;margin-left:auto;border:0;background:none;font-size:24px}.nav-links{order:5;display:none;width:100%;flex-direction:column;align-items:flex-start;padding:10px 0 18px}.nav-links.open{display:flex}.shop-link{display:none}.hero{min-height:560px;background-position:24% center;align-items:flex-end}.hero .wrap{justify-content:center;background:linear-gradient(transparent,#e7f7f5d9 22%)}.hero-copy{width:100%;padding:65px 0 17px;text-align:center}.hero h1{font-size:39px}.hero p{font-size:13px}.popular{flex-wrap:wrap}.category-grid{grid-template-columns:repeat(3,1fr)}.category{font-size:12px;min-height:125px}.category .icon{width:50px;height:50px}.promos{grid-template-columns:1fr}.promo{min-height:165px}.products,.products.six{grid-template-columns:repeat(2,1fr)}.product{padding:12px}.product-image{height:125px}.pack{transform:scale(.84)}.bottle{transform:scale(.85)}.section h2{font-size:25px}.cta{padding:28px 22px}.cta-actions{flex-wrap:wrap}.footer-grid{grid-template-columns:repeat(2,1fr)}.footer-grid>div+div{border:0;padding:0}.single-layout{grid-template-columns:1fr;gap:20px}.single-image{min-height:280px}}
.mark img{width:100%;height:100%;object-fit:cover;border-radius:50%}.product-container{min-width:0}.product-container .product{height:100%}.product-container[hidden]{display:none}
/* V2.1 inner page layouts */
.hero-copy .hero-search{width:min(660px,calc(100vw - 48px));position:relative;left:50%;transform:translateX(-50%)}.hero-copy .popular{width:min(660px,calc(100vw - 48px));position:relative;left:50%;transform:translateX(-50%)}
.inner-hero{min-height:245px;background-position:center;background-size:cover;display:flex;align-items:center}.inner-hero .wrap{width:100%}.inner-hero h1{font-size:clamp(32px,3.6vw,52px);letter-spacing:-1.8px;line-height:1.03;margin:8px 0;max-width:510px}.inner-hero p{max-width:480px;font-size:14px;line-height:1.5}.inner-hero.catalog{background-image:url('assets/catalog-banner.jpg')}.inner-hero.function{background-image:url('assets/function-banner.jpg')}.inner-hero.wholesale{background-image:url('assets/wholesale-banner.jpg')}.inner-hero.article{background-image:url('assets/article-banner.jpg')}.catalog-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;padding-top:24px;padding-bottom:45px}.catalog-sidebar{background:#fff;padding:20px 13px;border-radius:8px;align-self:start}.catalog-sidebar h3{font-size:13px;margin:0 0 12px}.catalog-sidebar a{display:block;padding:10px 12px;font-size:12px;border-radius:4px}.catalog-sidebar a:hover,.catalog-sidebar a.current{background:#fff1f2;color:var(--red);font-weight:700}.catalog-content .section-head{align-items:center}.catalog-content .section-head h2{font-size:23px}.catalog-content .section-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.catalog-content select{border:1px solid var(--line);background:#fff;padding:8px 10px;border-radius:5px;color:var(--ink);font-size:12px}.catalog-content .products{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-content .product-image{height:130px}.catalog-content .product{box-shadow:0 3px 15px #00303c08}.pack img,.bottle img{display:block;position:absolute;z-index:2;width:23px!important;height:23px!important;object-fit:contain!important;top:29px;left:50%;transform:translateX(-50%)}.pack b,.bottle b{position:absolute;z-index:2;top:58px;left:5px;right:5px;text-align:center;font-size:8px;line-height:1.05;color:#073e50;text-transform:uppercase}.pack small,.bottle small{position:absolute;z-index:2;bottom:10px;left:0;right:0;text-align:center;font-size:8px;color:#e60929;font-weight:900}.pack:after,.bottle:after{display:none}.bottle img{top:14px}.bottle b{top:44px}.bottle small{bottom:13px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:19px 0 30px}.feature{display:flex;align-items:start;gap:10px;font-size:12px}.feature strong{display:block}.feature span{font-size:21px}.function-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:20px 0}.function-card{height:215px;position:relative;overflow:hidden;border-radius:7px;background:#e6eff0}.function-card img{width:100%;height:100%;object-fit:cover}.function-card:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#052e3ebf)}.function-card strong{position:absolute;z-index:2;bottom:14px;left:15px;right:15px;color:#fff;font-size:15px}.search-strip{padding:18px 0 7px}.search-strip .hero-search{max-width:760px}.kit-grid,.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding-bottom:38px}.kit-card,.article-card{background:#fff;border-radius:8px;overflow:hidden}.kit-card .visual,.article-card .visual{height:175px;background-size:cover;background-position:center}.kit-card .body,.article-card .body{padding:16px}.kit-card h3,.article-card h3{font-size:16px;margin:2px 0 8px}.kit-card p,.article-card p{font-size:12px;color:var(--muted);line-height:1.5}.kit-card .button{width:100%;margin-top:12px}.wholesale-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;padding-bottom:45px}.wholesale-grid .product{padding:10px}.wholesale-grid .product-image{height:110px}.wholesale-grid .product h3{font-size:12px}.wholesale-grid .product p{display:none}.wholesale-grid .price{font-size:12px}.article-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.article-tabs a{background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px 16px;font-size:12px}.article-tabs a:first-child{background:var(--ink);color:#fff}.article-card .meta{font-size:10px;color:var(--muted)}.single-layout{padding-top:45px}.single-image{box-shadow:0 3px 15px #00303c0d}.single-image .pack b,.single-image .bottle b{font-size:8px}.single-layout .content{margin-top:26px}.single-layout .chips span{font-size:13px;padding:9px 16px}.empty-note{padding:24px;background:#fff;border-radius:8px;color:var(--muted)}
@media(max-width:900px){.catalog-layout{grid-template-columns:170px 1fr}.catalog-content .products,.function-grid{grid-template-columns:repeat(2,1fr)}.wholesale-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.inner-hero{min-height:270px;background-position:58% center}.inner-hero .wrap{background:linear-gradient(90deg,#f7f8f6e8,#f7f8f699);padding-top:25px;padding-bottom:25px}.catalog-layout{display:block}.catalog-sidebar{display:flex;overflow:auto;gap:5px;margin-bottom:18px;padding:8px}.catalog-sidebar h3{display:none}.catalog-sidebar a{white-space:nowrap}.catalog-content .products,.kit-grid,.article-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr)}.function-card{height:170px}.wholesale-grid{grid-template-columns:repeat(2,1fr)}.inner-hero h1{font-size:34px}.kit-card .visual,.article-card .visual{height:110px}}
@media(min-width:741px){.hero{position:relative}.hero-copy{padding-bottom:100px}.hero-copy .hero-search{position:absolute;top:66%;left:50%;transform:translateX(-50%);width:min(680px,76vw);z-index:2}.hero-copy .popular{position:absolute;top:82%;left:50%;transform:translateX(-50%);width:min(680px,76vw);z-index:2}}
@media(max-width:740px){.hero-copy .hero-search,.hero-copy .popular{position:static;transform:none;width:100%}}
/* V2.2: centered hero, authentic assets, clear section backgrounds */
.hero-copy{width:57%;text-align:center;padding:26px 0}.hero-copy .eyebrow,.hero-copy h1,.hero-copy p{margin-left:auto;margin-right:auto}.hero-copy h1{max-width:610px}.hero-copy p{max-width:530px}.hero-copy .hero-search,.hero-copy .popular{position:static;left:auto;top:auto;transform:none;width:min(680px,100%);margin-left:auto;margin-right:auto}.hero-copy .popular{margin-top:15px}
.promos .promo{background-size:cover;background-position:center;isolation:isolate}.promos .promo:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff9 0%,#fff8 54%,transparent 100%);z-index:-1}.promos .promo:after{display:none}.promos .promo:nth-child(1){background-image:url('assets/promo-make.jpg')}.promos .promo:nth-child(2){background-image:url('assets/promo-grosir.jpg')}.promos .promo:nth-child(3){background-image:url('assets/promo-artikel.jpg')}.promos .promo:nth-child(1):before{background:linear-gradient(90deg,#fff0f0ed 0%,#fff0f0c7 52%,transparent 100%)}.promos .promo:nth-child(2):before{background:linear-gradient(90deg,#ecf8f1f0 0%,#ecf8f1c7 52%,transparent 100%)}.promos .promo:nth-child(3):before{background:linear-gradient(90deg,#eaf5ffef 0%,#eaf5ffc6 52%,transparent 100%)}.promo p{max-width:210px}.cta{background:#f3f0ee url('assets/cta.jpg') center/cover;position:relative;isolation:isolate}.cta:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f8f3f1e8 0%,#f8f3f1a8 48%,transparent 75%);z-index:-1}.cta>div{position:relative;z-index:1}
.category .icon img{width:39px;height:39px;object-fit:contain}.category .icon{display:grid}.category{transition:transform .18s,box-shadow .18s}.category:hover{transform:translateY(-3px);box-shadow:0 8px 22px #053b4c13}
.product-mockup{display:block;position:relative;width:100%;height:100%;max-width:170px;margin:auto}.product-mockup .mockup-base{display:block;width:100%!important;height:100%!important;object-fit:contain!important}.product-mockup .mockup-label{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:54%;min-height:32px;background:#fffffff0;border-radius:2px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2px;color:var(--ink);box-shadow:0 1px 4px #0001}.product-mockup .mockup-label img{width:17px!important;height:17px!important;object-fit:contain!important;margin:0 0 1px}.product-mockup .mockup-label b{font-size:7px;line-height:1.05;text-transform:uppercase;max-height:22px;overflow:hidden}.product-mockup.liquid .mockup-label{width:35%;top:54%;min-height:39px}.product-mockup.liquid .mockup-label b{font-size:6px}.single-image .product-mockup{max-width:320px;height:350px}.single-image .product-mockup .mockup-label{min-height:65px}.single-image .product-mockup .mockup-label img{width:32px!important;height:32px!important}.single-image .product-mockup .mockup-label b{font-size:13px;max-height:none}.single-image .product-mockup.liquid .mockup-label b{font-size:11px}.contact-card{max-width:640px;background:#fff;border-radius:12px;padding:30px;box-shadow:0 5px 25px #00303c0d}.contact-card p{line-height:1.5}
@media(max-width:740px){.hero-copy{width:100%;padding:65px 0 20px}.hero-copy .hero-search,.hero-copy .popular{width:100%}.promos .promo{background-position:center}.cta{background-position:60% center}.cta:before{background:linear-gradient(90deg,#f8f3f1f0,#f8f3f1cc 58%,#f8f3f166)}.product-mockup .mockup-label{min-height:28px}.product-mockup .mockup-label b{font-size:6px}}
