/* KATILO HOMEPAGE V6 — complete replacement CSS. Scoped to .ktb. */
/* Katilo Homepage Gutenberg Blocks v5 Premium Motion — scoped to .ktb; no header/footer styling. */
.ktb{--ktb-blue:#155aa6;--ktb-blue2:#0c529e;--ktb-navy:#0b478c;--ktb-ink:#173e68;--ktb-muted:#6a839b;--ktb-pale:#eaf3fb;--ktb-border:#e4eaf0;--ktb-ease:cubic-bezier(.21,.65,.3,1)}
.ktb{font-family:inherit;direction:rtl;color:var(--ktb-ink);box-sizing:border-box;position:relative;margin-block:0 85px;line-height:1.7}
.ktb *, .ktb *::before,.ktb *::after{box-sizing:border-box}
.ktb :is(h1,h2,h3,p){font-family:inherit;margin:0}
.ktb :is(h1,h2,h3){color:var(--ktb-navy);font-weight:800;line-height:1.3}
.ktb img{display:block;width:100%;height:100%;object-fit:cover}
.ktb svg{width:20px;height:20px;display:inline-block;flex:0 0 auto}
.ktb a{text-decoration:none!important}
.ktb button{font-family:inherit;cursor:pointer;   }
.ktb [hidden]{display:none!important}
.ktb button:focus-visible,.ktb a:focus-visible,.ktb summary:focus-visible,.ktb [tabindex]:focus-visible{outline:3px solid #f5a81c;outline-offset:4px}
.ktb-frame{width:min(1320px,calc(100vw - 48px));max-width:none;margin-inline:calc((100% - min(1320px,calc(100vw - 48px)))/2)}
.ktb-heading{margin-bottom:30px}.ktb-heading h2{font-size:clamp(26px,3vw,43px);letter-spacing:-.025em}.ktb-heading p{font-size:clamp(14px,1.2vw,17px);color:var(--ktb-blue2);margin-top:6px;line-height:1.8}.ktb-heading-center{text-align:center;max-width:950px;margin-inline:auto;margin-bottom:32px}
.ktb-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:11px 24px;border-radius:999px;font-size:14px;font-weight:800;transition:transform .28s var(--ktb-ease),background .28s var(--ktb-ease),box-shadow .28s var(--ktb-ease);width:max-content;max-width:100%}
.ktb-btn svg{width:17px;height:17px}.ktb-btn:hover{transform:translateY(-3px)}
.ktb-btn-blue{background:var(--ktb-blue);color:#fff!important;box-shadow:0 8px 20px #155aa61c}.ktb-btn-blue:hover{background:#0b478c;box-shadow:0 12px 28px #155aa62c}
.ktb-btn-white{background:#fff;color:var(--ktb-blue)!important}.ktb-btn-white:hover{background:#eff7ff}
.ktb-empty{padding:25px;text-align:center;color:var(--ktb-muted);background:#f6f9fc;border:1px dashed #ccddea;border-radius:16px}
/* HERO — a real slider, no third-party library */
.ktb-hero{margin-top:20px;margin-bottom:15px;position:relative}.ktb-hero-viewport{height:clamp(320px,34vw,590px);position:relative;overflow:hidden;border-radius:clamp(22px,4vw,52px);isolation:isolate;background:#e8f0f7}
.ktb-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:scale(1.035);transition:opacity .8s var(--ktb-ease),transform 1.2s var(--ktb-ease),visibility 0s linear .8s;pointer-events:none}
.ktb-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}.ktb-hero-media{position:absolute;inset:0}.ktb-hero-media img{object-position:center 54%}
.ktb-hero-copy{position:absolute;z-index:1;right:7.5%;top:50%;width:min(570px,52%);transform:translateY(-50%);color:var(--ktb-navy);text-align:center;text-shadow:0 1px 18px #ffffff9e;pointer-events:none}
.ktb-hero-copy h1,.ktb-hero-copy h2{font-size:clamp(64px,8vw,132px);color:var(--ktb-blue2);font-weight:900;line-height:1.15;letter-spacing:-.045em;margin-bottom:8px}
.ktb-hero-copy p{font-size:clamp(21px,2.5vw,40px);color:var(--ktb-navy);font-weight:900;line-height:1.5}
.ktb-hero-controls{position:absolute;inset-inline:0;bottom:18px;display:flex;align-items:center;justify-content:center;gap:12px;z-index:3}.ktb-car-arrow{border:1px solid #ffffff8c;background:#ffffffd9;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;color:var(--ktb-blue2);padding:0}.ktb-car-arrow:hover{background:#fff}.ktb-car-arrow svg{width:16px;height:16px}.ktb-car-arrow[data-dir="1"] svg{transform:rotate(180deg)}
.ktb-car-dots{display:flex;gap:7px;align-items:center}.ktb-car-dots button{width:8px;height:8px;min-width:8px;min-height:8px;padding:0;border:0;border-radius:50px;background:#a9c4db;transition:width .25s,background .25s}.ktb-car-dots button.is-active{width:24px;background:var(--ktb-blue)}
/* BENEFITS */
.ktb-benefits{margin-bottom:100px}.ktb-benefits-grid{padding:19px 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-radius:14px;background:#f8f9f9;border:1px solid #f1f3f4;box-shadow:0 15px 38px #163a510e}
.ktb-benefit{display:flex;align-items:center;gap:13px;min-width:0;justify-content:center}.ktb-benefit-icon{color:var(--ktb-blue2);width:40px;height:40px;display:grid;place-items:center}.ktb-benefit-icon svg{width:28px;height:28px}.ktb-benefit h3{font-size:15px;color:var(--ktb-blue2)}.ktb-benefit p{font-size:11px;color:#577b9e;line-height:1.65;margin-top:3px}
/* STORY */
.ktb-story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.12fr);align-items:center;gap:clamp(28px,5vw,88px);margin-bottom:100px}
.ktb-story-copy{padding-inline:6px}.ktb-story-copy h2{font-size:clamp(30px,3.2vw,48px);margin-bottom:23px}.ktb-story-body{font-size:clamp(14px,1.12vw,17px);color:#43688c;line-height:1.9;text-align:justify}.ktb-story-body p{margin:0 0 12px}.ktb-story-copy .ktb-btn{margin-top:30px}
.ktb-story-collage{display:grid;grid-template-columns:1fr .88fr;gap:16px;min-height:465px;direction:ltr}.ktb-story-photo{border-radius:22px;overflow:hidden;background:#eaf3fa}.ktb-story-photo img{transition:transform .7s var(--ktb-ease)}.ktb-story-photo:hover img{transform:scale(1.04)}.ktb-story-photo-tall{min-height:465px}.ktb-story-stack{display:grid;grid-template-rows:100px 1fr;gap:15px;min-width:0}.ktb-story-years{border-radius:18px;background:var(--ktb-blue2);color:#fff;display:grid;place-items:center;font-weight:850;font-size:clamp(20px,2.4vw,36px);line-height:1.1}
/* PRODUCTS */
.ktb-products{margin-bottom:95px}.ktb-products-title{max-width:500px;margin-inline-start:0;margin-bottom:25px}.ktb-products-title .ktb-heading h2{font-size:clamp(29px,3vw,42px)}
.ktb-products-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:36px}.ktb-products-sidebar{padding-top:55px;border-inline-end:1px solid #dce6ee;padding-inline-end:19px}.ktb-products-sidebar h3{font-size:16px;color:#557c9e;margin:0 0 20px}
.ktb-category-tabs{display:flex;flex-direction:column;gap:7px}.ktb-category-tab{width:100%;border:0!important;background:transparent!important;color:#1c4264!important;border-radius:100px;padding:12px 16px;font-size:15px;font-weight:700;text-align:right;transition:background .2s,color .2s,transform .2s}.ktb-category-tab:hover:not(.is-active){background:#edf5fb!important;transform:translateX(-2px)}.ktb-category-tab.is-active{background:var(--ktb-blue)!important;color:#fff!important;box-shadow:0 8px 19px #155aa626}
.ktb-products-content{min-width:0}.ktb-product-panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.ktb-product-panel-header h3{font-size:22px;color:var(--ktb-blue2)}.ktb-product-panel-header p{font-size:13px;color:#738ba1;margin-top:7px;max-width:540px}.ktb-search-link a{font-size:12px;display:inline-flex;align-items:center;gap:7px;color:#a7b5c1}.ktb-search-link svg{width:15px;height:15px}.ktb-search-link a:hover{color:var(--ktb-blue)}
.ktb-track-wrap{min-width:0}.ktb-product-track{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding:0 3px;scrollbar-width:none;padding-block:4px 15px;direction:rtl}.ktb-product-track::-webkit-scrollbar{display:none}
.ktb-product{position:relative;min-width:0;flex:0 0 calc((100% - 28px)/3);border-radius:17px;overflow:hidden;aspect-ratio:.77;scroll-snap-align:start;background:#eaf1f7;isolation:isolate;transition:box-shadow .26s,transform .3s var(--ktb-ease)}.ktb-product:hover{transform:translateY(-5px);box-shadow:0 16px 32px #0f4b891d}
.ktb-product-link{display:block;height:100%;position:relative;color:#fff!important}.ktb-product-media{position:absolute;inset:0}.ktb-product-media img{transition:transform .65s var(--ktb-ease);object-position:center}.ktb-product:hover img{transform:scale(1.045)}.ktb-product-gradient{position:absolute;inset:35% 0 0;background:linear-gradient(0deg,#052e65c9,transparent)}
.ktb-product-desc{position:absolute;bottom:0;right:0;left:0;color:#fff;padding:17px 16px;display:flex;flex-direction:column;gap:6px;text-align:right}.ktb-product-desc strong{font-size:14px;font-weight:800;color:#fff}.ktb-price{font-weight:900;white-space:normal;font-size:15px}.ktb-price :is(.amount,bdi){color:#fff}.ktb-price del{opacity:.6}.ktb-price ins{text-decoration:none}
.ktb-products-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.ktb-products-footer a{color:var(--ktb-blue)!important;font-weight:800;font-size:13px;display:inline-flex;align-items:center;gap:6px}.ktb-products-footer a svg{width:14px;height:14px}.ktb-product-arrows{display:flex;align-items:center;gap:10px;direction:ltr}.ktb-product-arrows button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #cfe0ee;background:#fff;color:var(--ktb-blue);padding:0}.ktb-product-arrows button:hover{background:var(--ktb-blue);color:#fff}.ktb-product-arrows button svg{width:15px;height:15px}.ktb-product-arrows button[data-product-dir="1"] svg{transform:rotate(180deg)}.ktb-product-count{font-size:11px;color:var(--ktb-muted);white-space:nowrap;direction:ltr}
/* B2B STRIP */
.ktb-business{padding:25px clamp(20px,3vw,42px);margin-bottom:105px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:25px;border-radius:25px;background:var(--ktb-blue2);box-shadow:0 12px 30px #155aa61a;overflow:hidden;isolation:isolate}
.ktb-business::after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;border:1px solid #ffffff19;left:-50px;top:-165px;pointer-events:none}.ktb-business-copy{color:#fff}.ktb-business-copy span{font-size:12px;color:#d5e7fa;font-weight:650}.ktb-business h2{color:#fff;font-size:clamp(22px,2.25vw,33px);margin:2px 0 7px}.ktb-business p{color:#e1ecf8;font-size:13px;max-width:820px}
/* GALLERY */
.ktb-gallery{margin-bottom:110px}.ktb-gallery .ktb-heading-center{margin-bottom:26px}.ktb-gallery-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,clamp(110px,10.5vw,182px));gap:12px;border-radius:22px;padding:17px;background:#dce7f1}
.ktb-gallery-item{padding:0!important;border:0!important;background:#c9dbe7!important;border-radius:12px;overflow:hidden;min-width:0;position:relative}.ktb-gallery-item img{transition:transform .65s var(--ktb-ease),filter .4s}.ktb-gallery-item::after{content:"";position:absolute;inset:0;background:#105aa61e;opacity:0;transition:opacity .3s}.ktb-gallery-item:hover img{transform:scale(1.07)}.ktb-gallery-item:hover::after{opacity:1}
.ktb-lightbox{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;background:#061a2ce8;padding:50px 24px;backdrop-filter:blur(6px)}.ktb-lightbox[hidden]{display:none}.ktb-lightbox img{display:block;max-width:min(92vw,1200px);max-height:82vh;object-fit:contain;border-radius:13px;box-shadow:0 30px 70px #0005}.ktb-lightbox button{position:absolute;top:17px;inset-inline-end:24px;width:42px;height:42px;background:#fff;border:0;border-radius:50%;font-size:28px;line-height:1;cursor:pointer;color:#0a4789}.ktb-lightbox button:focus-visible{outline:3px solid #f5a81c}
/* PARTNERS */
.ktb-partnerships{margin-bottom:110px}.ktb-partnership-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin-top:40px}.ktb-partnership-card{border:1px solid #e4e7ed;border-radius:20px;padding:38px 28px 34px;min-height:235px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:#fff;transition:box-shadow .3s,transform .3s var(--ktb-ease)}.ktb-partnership-card:hover{transform:translateY(-6px);box-shadow:0 15px 30px #0b478c16}.ktb-partnership-card.ktb-partnership-featured{border-color:#f5f7fa;box-shadow:0 16px 45px #123f661a}.ktb-partnership-icon{display:grid;place-items:center;width:55px;height:55px;border-radius:50%;background:#e9f3ff;color:var(--ktb-blue2)}.ktb-partnership-icon svg{width:25px;height:25px}.ktb-partnership-card h3{font-size:17px}.ktb-partnership-card p{font-size:13px;color:#536b83;max-width:290px}
/* FAQ */
.ktb-faq{margin-bottom:115px}.ktb-faq-title{text-align:right;margin-bottom:28px}.ktb-faq-list{display:grid;gap:14px}.ktb-faq-item{background:#f6f6f6;border-radius:999px;color:var(--ktb-blue2);transition:background .2s,box-shadow .2s;overflow:hidden}.ktb-faq-item[open]{border-radius:25px;background:var(--ktb-blue2);color:#fff;box-shadow:0 10px 25px #155aa617}.ktb-faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;font-size:14px;font-weight:750;min-height:53px}.ktb-faq-item summary::-webkit-details-marker{display:none}.ktb-faq-toggle{width:18px;height:18px;display:block;position:relative;flex:0 0 18px}.ktb-faq-toggle::before,.ktb-faq-toggle::after{content:"";position:absolute;left:3px;right:3px;top:8px;height:2px;border-radius:4px;background:currentColor}.ktb-faq-toggle::after{transform:rotate(90deg);transition:transform .25s}.ktb-faq-item[open] .ktb-faq-toggle::after{transform:rotate(0deg)}.ktb-faq-answer{font-size:13px;line-height:2;color:#e3effb;padding:0 24px 19px}
/* animation is opt-in once JS is loaded; content stays visible without JS */
.ktb.ktb-reveal.ktb-animate-ready{opacity:0;transform:translateY(28px);transition:opacity .75s var(--ktb-ease),transform .75s var(--ktb-ease)}
.ktb.ktb-reveal.ktb-animate-ready.ktb-visible{opacity:1;transform:translateY(0)}
/* WOODMART / Gutenberg containment: no header/footer styling, no global layout resets */
.wp-block-katilo-hero,.wp-block-katilo-benefits,.wp-block-katilo-story,.wp-block-katilo-products,.wp-block-katilo-business,.wp-block-katilo-gallery,.wp-block-katilo-partnerships,.wp-block-katilo-faq{max-width:none}
@media(max-width:1199px){.ktb-frame{width:min(1000px,calc(100vw - 40px));margin-inline:calc((100% - min(1000px,calc(100vw - 40px)))/2)}.ktb-story{gap:32px}.ktb-story-collage{min-height:390px}.ktb-story-photo-tall{min-height:390px}.ktb-products-layout{grid-template-columns:185px minmax(0,1fr);gap:22px}.ktb-business{padding:22px}.ktb-gallery-board{gap:9px}}
@media(max-width:991px){.ktb{margin-bottom:68px}.ktb-hero-viewport{height:clamp(305px,44vw,475px)}.ktb-hero-copy{right:5%;width:58%}.ktb-hero-copy h1,.ktb-hero-copy h2{font-size:clamp(55px,8vw,95px)}.ktb-benefits-grid{gap:13px;padding:16px}.ktb-benefit{gap:6px}.ktb-benefit h3{font-size:13px}.ktb-benefit p{font-size:10px}.ktb-story{grid-template-columns:1fr 1fr;gap:20px}.ktb-story-collage{min-height:325px;gap:9px}.ktb-story-photo-tall{min-height:325px}.ktb-story-stack{grid-template-rows:75px 1fr;gap:9px}.ktb-story-copy h2{font-size:29px}.ktb-story-body{font-size:13px;line-height:1.75}.ktb-story-body p{margin-bottom:6px}.ktb-story-copy .ktb-btn{margin-top:15px}.ktb-products-layout{grid-template-columns:170px 1fr;gap:16px}.ktb-product{flex-basis:calc((100% - 14px)/2)}.ktb-partnership-cards{gap:13px}.ktb-partnership-card{padding:30px 14px;min-height:225px}.ktb-gallery-board{grid-template-rows:repeat(3,130px)}}
@media(max-width:767px){.ktb-frame{width:calc(100vw - 28px);margin-inline:calc((100% - (100vw - 28px))/2)}.ktb{margin-bottom:62px}.ktb-heading{margin-bottom:23px}.ktb-heading h2{font-size:clamp(26px,7vw,34px)}.ktb-heading p{font-size:13px}.ktb-hero{margin-top:12px;margin-bottom:13px}.ktb-hero-viewport{height:180px;border-radius:24px}.ktb-hero-copy{width:82%;right:9%;top:auto;bottom:15%;transform:none}.ktb-hero-copy h1,.ktb-hero-copy h2{font-size:clamp(64px,14vw,92px)}.ktb-hero-copy p{font-size:clamp(22px,5.5vw,30px)}.ktb-hero-media img{object-position:center}.ktb-benefits-grid{grid-template-columns:1fr;gap:0;padding:6px 16px}.ktb-benefit{justify-content:flex-start;padding:12px 0;gap:12px}.ktb-benefit+.ktb-benefit{border-top:1px solid #e4eaed}.ktb-benefit h3{font-size:14px}.ktb-benefit p{font-size:11px}.ktb-benefit-icon{width:32px;height:32px}.ktb-story{display:flex;flex-direction:column;align-items:stretch;gap:26px}.ktb-story-copy h2{font-size:31px;margin-bottom:15px}.ktb-story-body{font-size:14px;line-height:1.9}.ktb-story-copy .ktb-btn{margin-top:18px}.ktb-story-collage{order:-1;min-height:340px;grid-template-columns:1.1fr .9fr;gap:10px}.ktb-story-photo-tall{min-height:340px}.ktb-story-stack{grid-template-rows:73px 1fr;gap:10px}.ktb-story-years{font-size:24px;border-radius:13px}.ktb-story-photo{border-radius:16px}.ktb-products-title{margin-bottom:15px}.ktb-products-layout{display:flex;flex-direction:column;gap:19px}.ktb-products-sidebar{border:0;padding:0}.ktb-products-sidebar h3{margin-bottom:9px;font-size:14px}.ktb-category-tabs{display:flex;flex-direction:row;gap:7px;overflow-x:auto;scrollbar-width:none;padding:3px 0 8px}.ktb-category-tab{width:auto;flex:0 0 auto;padding:10px 16px;font-size:12px;white-space:nowrap}.ktb-product-panel-header{align-items:center}.ktb-product-panel-header h3{font-size:20px}.ktb-product-panel-header p{font-size:12px}.ktb-product{flex-basis:clamp(195px,59vw,270px);aspect-ratio:.85}.ktb-product-track{gap:10px}.ktb-product-desc{padding:15px}.ktb-business{border-radius:19px;flex-direction:column;align-items:flex-start;gap:16px;padding:23px}.ktb-business h2{font-size:25px}.ktb-business p{font-size:12px}.ktb-business .ktb-btn{min-height:40px;font-size:13px;padding:9px 17px}.ktb-gallery-board{padding:9px;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:7px}.ktb-gallery-item{height:clamp(115px,31vw,185px);border-radius:9px}.ktb-partnership-cards{grid-template-columns:1fr;gap:13px;margin-top:24px}.ktb-partnership-card{min-height:155px;padding:22px 18px;gap:8px}.ktb-partnership-card h3{font-size:16px}.ktb-partnership-card p{font-size:12px}.ktb-partnership-icon{width:42px;height:42px}.ktb-partnership-icon svg{width:22px;height:22px}.ktb-faq-item summary{font-size:13px;padding:15px 18px}.ktb-faq-answer{padding:0 18px 17px}.ktb-faq-list{gap:9px}}
@media(max-width:420px){.ktb-hero-viewport{height:340px}.ktb-hero-copy{bottom:18%}.ktb-hero-copy h1,.ktb-hero-copy h2{font-size:58px}.ktb-hero-copy p{font-size:19px}.ktb-story-collage{min-height:290px}.ktb-story-photo-tall{min-height:290px}.ktb-story-stack{grid-template-rows:60px 1fr}.ktb-story-years{font-size:18px}.ktb-product{flex-basis:74%}}
@media(prefers-reduced-motion:reduce){.ktb *,.ktb *::before,.ktb *::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.ktb.ktb-reveal.ktb-animate-ready{opacity:1;transform:none}}



/* ===== OPTIONAL PREMIUM BLOCK: CATEGORY SHOWCASE ===== */
.ktb-categories{margin-bottom:105px}
.ktb-category-showcase-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}.ktb-category-showcase-head>span{color:var(--ktb-green);font-weight:800;font-size:13px;white-space:nowrap}.ktb-category-showcase-head .ktb-heading{margin:0;max-width:760px}
.ktb-category-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ktb-category-showcase-card{position:relative;min-height:210px;overflow:hidden;border:1px solid #e1ebf2;border-radius:24px;background:linear-gradient(145deg,#f8fbfe,#fff);color:var(--ktb-navy)!important;box-shadow:0 10px 30px rgba(11,71,140,.055);display:grid;grid-template-columns:118px minmax(0,1fr) 38px;align-items:center;padding:16px 18px;gap:16px}
.ktb-category-showcase-card:hover{box-shadow:0 22px 50px rgba(11,71,140,.13);border-color:#c8ddea}
.ktb-category-showcase-media{position:relative;width:118px;height:160px;border-radius:20px;overflow:hidden;background:#edf5fb;box-shadow:0 12px 28px rgba(11,71,140,.1)}
.ktb-category-showcase-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ktb-ease)}.ktb-category-showcase-card:hover img{transform:scale(1.075)}
.ktb-category-showcase-copy{display:flex;flex-direction:column;gap:4px}.ktb-category-showcase-copy strong{font-size:20px;color:var(--ktb-navy)}.ktb-category-showcase-copy small{color:var(--ktb-muted);font-size:12px}
.ktb-category-showcase-arrow{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#edf5fb;color:var(--ktb-blue);transition:.25s}.ktb-category-showcase-card:hover .ktb-category-showcase-arrow{background:var(--ktb-blue);color:#fff;transform:translateX(-3px)}.ktb-category-showcase-arrow svg{width:16px;height:16px}

/* ===== OPTIONAL PREMIUM BLOCK: RESPONSIVE VISUAL BANNER ===== */
.ktb-visual-banner{margin-bottom:105px}
.ktb-visual-banner-shell{position:relative;overflow:hidden;border-radius:32px;min-height:420px;aspect-ratio:16/6.3;background:#dbeaf6;box-shadow:var(--ktb-shadow);isolation:isolate}
.ktb-visual-banner-media,.ktb-visual-banner-media .ktb-picture{position:relative;inset:0;display:contents}.ktb-visual-banner-media img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ktb-ease)}.ktb-visual-banner-shell:hover .ktb-visual-banner-media img{transform:scale(1.025)}
.ktb-visual-banner-shell::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none}
.ktb-visual-banner-overlay{position:absolute;z-index:4;right:7%;top:50%;transform:translateY(-50%);width:min(520px,48%);color:#fff}.ktb-visual-banner-overlay>span{display:inline-flex;padding:6px 11px;border:1px solid rgba(255,255,255,.28);border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}
.ktb-visual-banner-overlay h2{font-size:clamp(34px,4vw,35px);color:#fff;margin:10px 0}.ktb-visual-banner-overlay p{color:#e8f3fc;font-size:15px;line-height:1.9;margin-bottom:20px}

/* ===== OPTIONAL PREMIUM BLOCK: BRAND RIBBON ===== */
.ktb-brand-ribbon{width:100%;max-width:none;margin:0 0 88px;overflow:hidden;background:linear-gradient(90deg,#0a417e,#155aa6,#0a417e);color:#fff;border-block:1px solid rgba(255,255,255,.08);box-shadow:0 15px 34px rgba(11,71,140,.08)}
.ktb-ribbon-track{display:flex;width:max-content;align-items:center;animation:ktbRibbon var(--ktb-ribbon-speed,28s) linear infinite;will-change:transform}.ktb-brand-ribbon:hover .ktb-ribbon-track{animation-play-state:paused}
.ktb-ribbon-item{display:inline-flex;align-items:center;gap:28px;padding:14px 28px;font-size:14px;font-weight:800;white-space:nowrap}.ktb-ribbon-item i{width:7px;height:7px;border-radius:50%;background:var(--ktb-gold);box-shadow:0 0 0 5px rgba(245,168,28,.1)}
@keyframes ktbRibbon{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* register new block wrappers without global layout resets */
.wp-block-katilo-categories,.wp-block-katilo-visual-banner,.wp-block-katilo-brand-ribbon{max-width:none}

@media(max-width:991px){
  .ktb-category-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ktb-category-showcase-card{grid-template-columns:90px minmax(0,1fr) 34px;min-height:175px}
  .ktb-category-showcase-media{width:90px;height:135px}
}
@media(max-width:767px){
  .ktb-hero-viewport{height:auto!important;aspect-ratio:4/5;border-radius:24px}
  .ktb-hero-media img{object-position:center}
  .ktb-hero-copy{width:88%;right:6%;bottom:14%;top:auto;transform:none}
  .ktb-hero-copy h1,.ktb-hero-copy h2{font-size:clamp(46px,14vw,72px)}
  .ktb-hero-copy p{font-size:clamp(17px,5vw,24px)}
  .ktb-hero-controls{bottom:10px}
  .ktb-category-tab{grid-template-columns:34px auto;padding:7px 10px 7px 13px}
  .ktb-category-tab-thumb{width:34px;height:34px;border-radius:20px}
  .ktb-category-showcase-head{display:block}.ktb-category-showcase-head>span{display:block;margin-bottom:5px}
  .ktb-category-showcase-grid{grid-template-columns:1fr;gap:11px}
  .ktb-category-showcase-card{min-height:135px;grid-template-columns:78px minmax(0,1fr) 34px;padding:12px 14px;border-radius:19px}
  .ktb-category-showcase-media{width:78px;height:108px;border-radius:16px}.ktb-category-showcase-copy strong{font-size:17px}
  .ktb-visual-banner-shell{aspect-ratio:6/4;min-height:0;border-radius:24px}
  .ktb-visual-banner-overlay h2{font-size:34px}.ktb-visual-banner-overlay p{font-size:13px;margin-bottom:14px}
  .ktb-ribbon-item{padding:12px 19px;gap:20px;font-size:12px}
}
@media(max-width:420px){
  .ktb-hero-viewport{height:auto!important;aspect-ratio:4/5}
}


/* =============================================================
   KATILO V6 — CONSOLIDATED INTERACTION & UX FINISH
   Add no further V5/V5.2 animation layers below this section.
   Core layout + optional blocks remain unchanged.
   ============================================================= */
.ktb{
  --ktb-gold:#f5a81c;
  --ktb-green:#29a745;
  --ktb-soft:#f5f9fd;
  --ktb-shadow:0 15px 42px rgba(8,58,112,.09);
  --ktb-ease:cubic-bezier(.22,1,.36,1);
  --ktb-ui-ease:cubic-bezier(.4,0,.2,1);
  -webkit-tap-highlight-color:transparent;
}
.ktb :is(a,button,summary){touch-action:manipulation}
.ktb :is(a,button,summary):focus-visible{outline:3px solid var(--ktb-gold);outline-offset:3px}
.ktb button:disabled{cursor:not-allowed;opacity:.48}
.ktb :is(h1,h2,h3,p,strong,small){overflow-wrap:break-word;font-family:inherit}
.ktb img{backface-visibility:hidden}
/* Section entrance never obscures content on slow devices or if JS breaks. */
.ktb.ktb-reveal.ktb-animate-ready,
.ktb.ktb-reveal.ktb-animate-ready.ktb-visible,
.ktb.ktb-motion-ready .ktb-stagger-item{
  opacity:1;
  transform:none;
}

/* HERO — crossfade only; no clip-path, blur, zoom, sheen, bubbles or parallax. */
.ktb-hero-viewport{
  height:auto;
  aspect-ratio:1520/693;
  border-radius:clamp(18px,3vw,38px);
  border:1px solid rgba(21,90,166,.065);
  background:#e7f1f8;
  box-shadow:0 16px 42px rgba(8,58,112,.095);
  isolation:isolate;
}
.ktb-hero-slide{
  opacity:0;
  visibility:hidden;
  transform:none;
  filter:none;
  clip-path:none;
  pointer-events:none;
  transition:opacity 700ms var(--ktb-ui-ease),visibility 0s linear 700ms;
}
.ktb-hero-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  filter:none;
  clip-path:none;
  animation:none;
  transition:opacity 700ms var(--ktb-ui-ease),visibility 0s linear 0s;
}
.ktb-hero-media,.ktb-hero-media .ktb-picture{position:absolute;inset:0;display:block}
.ktb-hero-media img{
  width:100%;height:100%;object-fit:cover;
  object-position:center;
  transform:none;
  filter:none;
  animation:none;
  will-change:auto;
}
.ktb-hero-slide.is-active .ktb-hero-media img{animation:none;transform:none}
.ktb-hero-slide::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 64%,rgba(4,40,83,.05));
}
.ktb-hero-copy{z-index:2;text-shadow:0 1px 13px rgba(255,255,255,.45)}
.ktb-hero-slide.is-active .ktb-hero-copy :is(h1,h2,p){animation:none}
.ktb-hero-ambient,.ktb-media-sheen,.ktb-motion-bubble{display:none}
.ktb-hero-controls{
  bottom:clamp(12px,2vw,22px);
  margin-inline:auto;
  width:max-content;max-width:calc(100% - 24px);
  padding:5px 9px;gap:10px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  background:rgba(255,255,255,.90);
  box-shadow:0 8px 22px rgba(5,49,92,.11);
  backdrop-filter:none;
}
.ktb-car-arrow{
  width:40px;height:40px;flex:0 0 40px;
  box-shadow:none;
  transition:background 220ms var(--ktb-ui-ease),color 220ms var(--ktb-ui-ease);
}
.ktb-car-arrow svg{width:18px;height:18px}
.ktb-car-dots{gap:3px}
.ktb-car-dots button{
  position:relative;
  width:24px;min-width:24px;height:38px;min-height:38px;
  border:0;background:transparent;border-radius:999px;
  display:grid;place-items:center;
  transition:none;
}
.ktb-car-dots button::after{
  content:"";display:block;width:7px;height:7px;
  border-radius:999px;background:#afc5d8;
  transition:width 250ms var(--ktb-ui-ease),background 250ms var(--ktb-ui-ease);
}
.ktb-car-dots button.is-active{width:30px;min-width:30px;background:transparent}
.ktb-car-dots button.is-active::after{width:21px;background:var(--ktb-blue)}

/* Subtle tactile feedback; hover behavior only exists on fine pointers. */
.ktb-btn{
  transition:background 220ms var(--ktb-ui-ease),
    box-shadow 280ms var(--ktb-ui-ease),transform 280ms var(--ktb-ease);
}
.ktb-story-photo img,.ktb-product-media img,.ktb-gallery-item img,
.ktb-category-showcase-media img,.ktb-visual-banner-media img{
  transition:transform 650ms var(--ktb-ease);
}
.ktb-story-years::after,.ktb-category-tab.is-active::after,
.ktb-product::before,.ktb-product::after,.ktb-gallery-item::before{
  content:none;
}
.ktb-premium-tilt{
  transform:none;
  transform-style:flat;
  will-change:auto;
  transition:transform 350ms var(--ktb-ease),box-shadow 350ms var(--ktb-ui-ease);
}
.ktb-benefit-icon{border-radius:12px;background:#edf5fd;box-shadow:none}
.ktb-benefit-icon::after{content:none}
  .ktb-category-tab-thumb{width:34px;height:34px;border-radius:20px}
.ktb-product-gradient{background:linear-gradient(0deg,rgba(4,36,73,.85),transparent 88%)}
.ktb-product-desc{z-index:2}
.ktb-gallery-board{background:#eef4f9;box-shadow:none}
.ktb-gallery-item::after{background:rgba(10,67,126,.12)}
.ktb-partnership-card{transition:transform 350ms var(--ktb-ease),box-shadow 350ms var(--ktb-ui-ease),border-color 350ms}
.ktb-faq-item{border:1px solid #e8eef4;border-radius:22px;background:#f7f9fb}
.ktb-faq-item[open]{border-radius:22px;box-shadow:0 8px 25px rgba(9,64,119,.09)}
.ktb-faq-item summary{min-height:56px}
.ktb-faq-answer{max-width:100%;overflow-wrap:anywhere}
.ktb-visual-banner-shell{box-shadow:var(--ktb-shadow)}
.ktb-category-showcase-card{transition:box-shadow 300ms var(--ktb-ui-ease),border-color 300ms var(--ktb-ui-ease),transform 350ms var(--ktb-ease)}
.ktb-brand-ribbon .ktb-ribbon-track{animation:none;transform:none;flex-wrap:wrap;justify-content:center;width:100%}
.ktb-brand-ribbon .ktb-ribbon-item{white-space:normal;text-align:center}

@media(hover:hover) and (pointer:fine){
  .ktb-btn:hover{transform:translateY(-2px)}
  .ktb-premium-tilt:hover{transform:translateY(-3px)}
  .ktb-story-photo:hover img,.ktb-product:hover img,
  .ktb-category-showcase-card:hover img,.ktb-gallery-item:hover img{
    transform:scale(1.025);
  }
  .ktb-visual-banner-shell:hover img{transform:scale(1.015)}
  .ktb-product:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(8,58,112,.11)}
  .ktb-partnership-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(8,58,112,.10)}
  .ktb-category-showcase-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(8,58,112,.09)}
  .ktb-benefit:hover .ktb-benefit-icon{transform:none;box-shadow:none}
  .ktb-gallery-item:hover img{filter:none}
}
@media(hover:none), (pointer:coarse){
  .ktb :is(.ktb-product,.ktb-partnership-card,.ktb-premium-tilt):hover{transform:none;box-shadow:none}
  .ktb :is(.ktb-story-photo,.ktb-product,.ktb-gallery-item,.ktb-category-showcase-card):hover img{transform:none}
  .ktb-btn:hover{transform:none}
}
@media(max-width:767px){
  .ktb-hero-viewport{height:auto;aspect-ratio:4/5;border-radius:22px}
  .ktb-hero-copy{width:88%;right:6%;top:auto;bottom:17%;transform:none}
  .ktb-hero-copy h1,.ktb-hero-copy h2{font-size:clamp(44px,12vw,70px)}
  .ktb-hero-copy p{font-size:clamp(16px,4.5vw,23px)}
  .ktb-hero-controls{bottom:12px;padding:4px 7px;gap:5px}
  .ktb-car-arrow{width:40px;height:40px;flex-basis:40px}
  .ktb-product-track{scroll-padding-inline:2px;-webkit-overflow-scrolling:touch}
  .ktb-category-tabs{-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
  .ktb-category-tab{scroll-snap-align:start}
  .ktb-faq-item,.ktb-faq-item[open]{border-radius:18px}
  .ktb-visual-banner-overlay{right:7%;left:7%;bottom:7%;width:auto;top:auto;transform:none}
}
@media(max-width:420px){
  .ktb-hero-viewport{height:auto;aspect-ratio:4/5}
  .ktb-hero-copy{bottom:19%}
  .ktb-car-dots button{width:21px;min-width:21px}
  .ktb-car-dots button.is-active{width:26px;min-width:26px}
}
@media(prefers-reduced-motion:reduce){
  .ktb,.ktb *, .ktb *::before,.ktb *::after{
    scroll-behavior:auto!important;
    animation:none!important;
    transition-duration:0.01ms!important;
  }
  .ktb.ktb-reveal.ktb-animate-ready,
  .ktb.ktb-motion-ready .ktb-stagger-item{opacity:1!important;transform:none!important}
}
/* =========================================================
   KATILO VISUAL BANNER — FINAL FIX
   ========================================================= */

.ktb-visual-banner{
    margin-bottom:55px;
}

.ktb-visual-banner-shell{
    position:relative;
    width:100%;
    min-height:460px;
    aspect-ratio:16/7;
    overflow:hidden;
    border-radius:30px;
    isolation:isolate;
    background:#0b478c;
    box-shadow:0 20px 55px rgba(8,58,112,.13);
}

/* IMAGE */
.ktb-visual-banner-media{
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100%;
    height:100%;
}

.ktb-visual-banner-media img{
    position:absolute;
    inset:0;
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    object-position:center;
    transform:scale(1.01);
    transition:transform 1.2s cubic-bezier(.22,1,.36,1);
}

/* dark cinematic overlay */
.ktb-visual-banner-shell::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:
        linear-gradient(
            180deg,
            rgba(4,26,50,.24),
            rgba(4,29,57,.46)
        );
}

/* subtle image movement */
@media (hover:hover){
    .ktb-visual-banner-shell:hover
    .ktb-visual-banner-media img{
        transform:scale(1.035);
    }
}

/* restore sheen — V6 was hiding it */
.ktb-visual-banner .ktb-media-sheen{
    display:block !important;
    position:absolute;
    z-index:3;
    inset:-35% -50%;
    pointer-events:none;
    opacity:0;

    background:linear-gradient(
        110deg,
        transparent 39%,
        rgba(255,255,255,.04) 44%,
        rgba(255,255,255,.26) 50%,
        rgba(111,199,255,.15) 54%,
        transparent 61%
    );

    animation:ktbVisualSheen 6.5s ease-in-out infinite;
}

@keyframes ktbVisualSheen{
    0%,35%{
        transform:translateX(-60%) rotate(4deg);
        opacity:0;
    }

    46%{
        opacity:.75;
    }

    70%,100%{
        transform:translateX(60%) rotate(4deg);
        opacity:0;
    }
}


/* =========================================================
   TEXT — EXACT CENTER
   ========================================================= */

.ktb-visual-banner-overlay{
    position:absolute !important;
    z-index:5;

    inset:0 !important;
    top:0 !important;
    right:0 !important;
    left:0 !important;
    bottom:0 !important;

    width:100% !important;
    max-width:none !important;

    transform:none !important;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:40px clamp(22px,7vw,110px);
}

/* hide empty eyebrow */
.ktb-visual-banner-overlay > span:empty{
    display:none !important;
}


/* TITLE */
.ktb-visual-banner-overlay h2{
    position:relative;
    max-width:930px;
    margin:0 auto 18px !important;
    color:#fff !important;
    font-size:clamp(42px,5vw,45px) !important;
    font-weight:950 !important;
    line-height:1.14 !important;
    letter-spacing:-.035em;
    text-align:center;
    text-shadow:
        0 2px 0 #0b478c,
        0 0 12px rgba(21,90,166,.55),
        0 0 28px rgba(21,90,166,.28),
        0 8px 26px rgba(0,0,0,.32);
}

/* premium animated underline */
.ktb-visual-banner-overlay h2::after{
    content:"";
    display:block;

    width:110px;
    height:4px;

    margin:17px auto 0;

    border-radius:99px;

    background:linear-gradient(
        90deg,
        #155aa6,
        #76cbff,
        #fff,
        #29a745,
        #f5a81c,
        #155aa6
    );

    background-size:300% 100%;

    box-shadow:
        0 0 13px rgba(111,199,255,.42);

    animation:ktbTitleGlowLine 3.5s linear infinite;
}

@keyframes ktbTitleGlowLine{
    to{
        background-position:-300% 0;
    }
}


/* DESCRIPTION */
.ktb-visual-banner-overlay p{
    width:auto;
    max-width:720px;

    margin:0 auto !important;
    padding:0 !important;

    color:rgba(255,255,255,.96) !important;

    font-size:clamp(14px,1.25vw,18px) !important;
    font-weight:600;
    line-height:1.9 !important;

    text-align:center;

    background:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;

    text-shadow:
        0 2px 10px rgba(0,0,0,.48);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:767px){

    .ktb-visual-banner{
        margin-bottom:38px;
    }

    .ktb-visual-banner-shell{
        min-height:0;
        aspect-ratio:4/5;
        border-radius:22px;
    }

    .ktb-visual-banner-media img{
        object-position:center;
    }

    .ktb-visual-banner-overlay{
        inset:0 !important;
        width:100% !important;

        justify-content:center;
        align-items:center;

        padding:28px 19px;
        text-align:center;
    }

    .ktb-visual-banner-overlay h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(31px, 4vw, 28px) !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
        text-shadow: 0 2px 0 #0b478c, 0 0 10px rgba(21, 90, 166, .46), 0 5px 20px rgba(0, 0, 0, .35);
    }  

    .ktb-visual-banner-overlay h2::after{
        width:75px;
        height:3px;
        margin-top:12px;
    }

    .ktb-visual-banner-overlay p{
        max-width:94%;
        font-size:14px !important;
        line-height:1.75 !important;
    }

}


@media(max-width:420px){

    .ktb-visual-banner-overlay{
        padding:24px 16px;
    }

    .ktb-visual-banner-overlay h2{
        font-size:clamp(33px,10vw,44px) !important;
    }

    .ktb-visual-banner-overlay p{
        font-size:13px !important;
    }

}


/* accessibility */
@media(prefers-reduced-motion:reduce){

    .ktb-visual-banner .ktb-media-sheen,
    .ktb-visual-banner-overlay h2::after{
        animation:none !important;
    }

}

/* =========================================================
   V5.3 — PRODUCT CATEGORY BUILDER / MAIN CATEGORIES ONLY
   Professional WooCommerce taxonomy navigation
   ========================================================= */
.ktb-products-layout{
  grid-template-columns:272px minmax(0,1fr);
  gap:clamp(26px,3vw,42px);
  align-items:start;
}
.ktb-products-sidebar{
  position:relative;
  align-self:start;
  padding:16px;
  border:1px solid #dfeaf2;
  border-radius:24px;
  background:linear-gradient(180deg,#f7fbfe 0%,#f1f7fb 100%);
  box-shadow:0 14px 36px rgba(9,64,119,.055);
  overflow:hidden;
}
.ktb-products-sidebar::before{
  content:"";
  position:absolute;
  width:130px;height:130px;
  inset-inline-end:-54px;top:-66px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(21,90,166,.09),transparent 68%);
  pointer-events:none;
}
.ktb-products-sidebar-head{
  position:relative;
  z-index:1;
  padding:4px 6px 13px;
}
.ktb-products-sidebar-head>span{
  display:block;
  margin-bottom:2px;
  color:#7a96ad;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
.ktb-products-sidebar-head h3{
  margin:0!important;
  color:var(--ktb-navy)!important;
  font-size:17px!important;
  font-weight:900!important;
}
.ktb-category-tabs{
  position:relative;
  z-index:1;
  display:grid;
  gap:8px;
}
.ktb-category-tab{
  position:relative;
  width:100%;
  min-height:66px;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 30px;
  align-items:center;
  gap:11px;
  padding:9px 10px!important;
  border:1px solid #dbe6ee!important;
  border-radius:17px!important;
  background:#fff!important;
  color:#294c6e!important;
  text-align:right;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(8,58,112,.035);
  transition:transform .28s var(--ktb-ease),border-color .24s,box-shadow .28s,background .24s,color .24s;
}
.ktb-category-tab::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.18) 48%,transparent 70%);
  transform:translateX(110%);
  transition:transform .7s var(--ktb-ease);
}
.ktb-category-tab-icon{
  width:46px;height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#eaf3fb;
  color:var(--ktb-blue2);
  box-shadow:inset 0 0 0 1px rgba(21,90,166,.045);
  transition:transform .3s var(--ktb-ease),background .24s,color .24s;
}
.ktb-category-tab-icon svg{width:23px;height:23px}
.ktb-category-tab-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.ktb-category-tab-copy strong{
  color:inherit;
  font-size:14px;
  font-weight:850;
  line-height:1.45;
  white-space:normal;
}
.ktb-category-tab-copy small{
  color:#8aa0b3;
  font-size:10px;
  line-height:1.4;
  transition:color .24s;
}
.ktb-category-tab-arrow{
  width:28px;height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f2f7fb;
  color:#6f8ba2;
  transition:transform .3s var(--ktb-ease),background .24s,color .24s;
}
.ktb-category-tab-arrow svg{width:14px;height:14px}
.ktb-category-tab.is-active{
  background:linear-gradient(135deg,#155AA6 0%,#0B478C 100%)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 12px 24px rgba(11,71,140,.20);
  transform:translateX(-3px);
}
.ktb-category-tab.is-active .ktb-category-tab-icon{
  background:rgba(255,255,255,.14);
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
}
.ktb-category-tab.is-active .ktb-category-tab-copy small{color:#d5e7f8}
.ktb-category-tab.is-active .ktb-category-tab-arrow{
  background:#fff;
  color:var(--ktb-blue2);
  transform:translateX(-2px);
}
.ktb-category-tab-thumb{display:none!important}
.ktb-panel-kicker{
  display:block;
  margin-bottom:3px;
  color:var(--ktb-green);
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
}
.ktb-product-panel-header h3{margin-top:0!important}

@media(hover:hover) and (pointer:fine){
  .ktb-category-tab:hover:not(.is-active){
    transform:translateX(-3px);
    border-color:#bdd4e5!important;
    background:#fff!important;
    box-shadow:0 9px 20px rgba(8,58,112,.075);
  }
  .ktb-category-tab:hover::before{transform:translateX(-110%)}
  .ktb-category-tab:hover .ktb-category-tab-icon{transform:scale(1.055);background:#e2f0fb}
  .ktb-category-tab:hover .ktb-category-tab-arrow{background:#e7f1f9;color:var(--ktb-blue2)}
}

@media(max-width:991px){
  .ktb-products-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}
  .ktb-products-sidebar{padding:12px;border-radius:20px}
  .ktb-category-tab{grid-template-columns:40px minmax(0,1fr) 26px;min-height:59px;padding:8px!important;border-radius:15px!important}
  .ktb-category-tab-icon{width:40px;height:40px;border-radius:12px}
  .ktb-category-tab-copy strong{font-size:12.5px}
}

@media(max-width:767px){
  .ktb-products-layout{display:flex;flex-direction:column;gap:18px}
  .ktb-products-sidebar{
    width:100%;
    padding:11px;
    border-radius:18px;
    overflow:hidden;
  }
  .ktb-products-sidebar-head{padding:2px 3px 9px}
  .ktb-products-sidebar-head>span{display:none}
  .ktb-products-sidebar-head h3{font-size:14px!important}
  .ktb-category-tabs{
    display:flex;
    flex-direction:row;
    gap:8px;
    overflow-x:auto;
    padding:2px 1px 6px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .ktb-category-tabs::-webkit-scrollbar{display:none}
  .ktb-category-tab{
    flex:0 0 178px;
    width:178px;
    min-height:58px;
    grid-template-columns:38px minmax(0,1fr);
    gap:9px;
    padding:8px 9px!important;
    scroll-snap-align:start;
    border-radius:15px!important;
  }
  .ktb-category-tab.is-active{transform:none}
  .ktb-category-tab-icon{width:38px;height:38px;border-radius:11px}
  .ktb-category-tab-icon svg{width:20px;height:20px}
  .ktb-category-tab-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ktb-category-tab-copy small{font-size:9px}
  .ktb-category-tab-arrow{display:none}
  .ktb-product-panel-header{margin-top:2px}
}

/* =========================================================
   V5.4 — PRODUCT CATEGORY IMAGE TILES / NO HORIZONTAL SCROLL
   User-selected Media Library images, white icon surfaces,
   deliberate motion only. Overrides V5.3 category tab rules.
   ========================================================= */
.ktb-products-sidebar{
  background:
    radial-gradient(circle at 90% 5%,rgba(21,90,166,.055),transparent 29%),
    linear-gradient(180deg,#f8fbfe 0%,#f2f7fb 100%);
  border-color:#dfe9f1;
  box-shadow:0 18px 44px rgba(8,58,112,.06);
}
.ktb-products-sidebar::before{
  width:150px;height:150px;inset-inline-end:-72px;top:-82px;
  background:radial-gradient(circle,rgba(21,90,166,.08),transparent 70%);
}
.ktb-category-tabs{display:grid;gap:9px;overflow:visible!important;scroll-snap-type:none!important}
.ktb-category-tab{
  min-height:72px;
  grid-template-columns:54px minmax(0,1fr) 30px;
  gap:12px;
  padding:9px 10px!important;
  border-radius:18px!important;
  border:1px solid #dde8f0!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 5px 15px rgba(8,58,112,.035);
  transform:none;
  overflow:hidden;
}
.ktb-category-tab::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(108deg,transparent 24%,rgba(115,201,255,.09) 46%,transparent 67%);
  transform:translateX(115%);
  transition:transform .72s var(--ktb-ease);
  pointer-events:none;
}
.ktb-category-tab::after{
  content:"";
  position:absolute;
  inset-inline-start:0;top:16%;bottom:16%;width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--ktb-blue),var(--ktb-green));
  opacity:0;transform:scaleY(.35);
  transition:opacity .25s,transform .3s var(--ktb-ease);
}
.ktb-category-tab-icon{
  position:relative;
  width:54px;height:54px;
  display:grid;place-items:center;
  border-radius:16px;
  overflow:hidden;
  background:#fff!important;
  color:var(--ktb-blue2);
  border:1px solid #e2ebf2;
  box-shadow:0 7px 18px rgba(8,58,112,.07),inset 0 0 0 1px rgba(255,255,255,.7);
  transition:transform .34s var(--ktb-ease),box-shadow .3s,border-color .3s;
}
.ktb-category-tab-icon::after{
  content:"";
  position:absolute;inset:-45%;
  background:linear-gradient(112deg,transparent 38%,rgba(255,255,255,.92) 49%,transparent 60%);
  transform:translateX(70%) rotate(8deg);
  opacity:0;
  pointer-events:none;
}
.ktb-category-tab-icon img{
  width:100%!important;height:100%!important;
  object-fit:contain!important;
  padding:5px;
  transform:scale(.96);
  filter:saturate(1.02) contrast(1.01);
  transition:transform .38s var(--ktb-ease),filter .3s;
}
.ktb-category-tab-placeholder{
  font-size:21px;font-weight:950;color:var(--ktb-blue);line-height:1;
}
.ktb-category-tab-copy{position:relative;z-index:2;gap:2px}
.ktb-category-tab-copy strong{font-size:14px;font-weight:900;line-height:1.35;color:inherit}
.ktb-category-tab-copy small{font-size:10px;color:#879eb1}
.ktb-category-tab-arrow{position:relative;z-index:2}

.ktb-category-tab.is-active{
  background:linear-gradient(135deg,#155AA6 0%,#0B478C 100%)!important;
  border-color:#155AA6!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(11,71,140,.20);
  transform:none;
}
.ktb-category-tab.is-active::after{opacity:1;transform:scaleY(1);background:linear-gradient(180deg,#F5A81C,#29A745)}
.ktb-category-tab.is-active .ktb-category-tab-icon{
  background:#fff!important;
  color:var(--ktb-blue2)!important;
  border-color:rgba(255,255,255,.95);
  box-shadow:0 8px 20px rgba(2,35,69,.17);
}
.ktb-category-tab.is-active .ktb-category-tab-copy small{color:#d8e9f7}
.ktb-category-tab.is-active .ktb-category-tab-arrow{background:#fff;color:var(--ktb-blue2)}

/* one-time entrance when the product section appears */
.ktb-products.ktb-visible .ktb-category-tab{animation:ktbCategoryEnter .58s var(--ktb-ease) both}
.ktb-products.ktb-visible .ktb-category-tab:nth-child(2){animation-delay:.055s}
.ktb-products.ktb-visible .ktb-category-tab:nth-child(3){animation-delay:.11s}
.ktb-products.ktb-visible .ktb-category-tab:nth-child(4){animation-delay:.165s}
.ktb-products.ktb-visible .ktb-category-tab:nth-child(5){animation-delay:.22s}
.ktb-products.ktb-visible .ktb-category-tab:nth-child(6){animation-delay:.275s}
@keyframes ktbCategoryEnter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}

@media(hover:hover) and (pointer:fine){
  .ktb-category-tab:hover:not(.is-active){
    transform:translateY(-2px)!important;
    border-color:#bad3e5!important;
    box-shadow:0 13px 25px rgba(8,58,112,.085);
  }
  .ktb-category-tab:hover::before{transform:translateX(-115%)}
  .ktb-category-tab:hover .ktb-category-tab-icon{
    transform:translateY(-2px) scale(1.025);
    border-color:#c9dfea;
    box-shadow:0 12px 24px rgba(8,58,112,.11);
    background:#fff!important;
  }
  .ktb-category-tab:hover .ktb-category-tab-icon::after{animation:ktbCategoryImageSheen .72s var(--ktb-ease) both}
  .ktb-category-tab:hover .ktb-category-tab-icon img{transform:scale(1.035);filter:saturate(1.06) contrast(1.02)}
  .ktb-category-tab.is-active:hover{transform:translateY(-2px)!important}
}
@keyframes ktbCategoryImageSheen{0%{transform:translateX(70%) rotate(8deg);opacity:0}30%{opacity:.75}100%{transform:translateX(-70%) rotate(8deg);opacity:0}}

@media(max-width:991px){
  .ktb-products-layout{grid-template-columns:230px minmax(0,1fr);gap:21px}
  .ktb-category-tab{min-height:64px;grid-template-columns:46px minmax(0,1fr) 26px;padding:8px!important;border-radius:16px!important}
  .ktb-category-tab-icon{width:46px;height:46px;border-radius:14px}
  .ktb-category-tab-copy strong{font-size:12.5px}
}

@media(max-width:767px){
  .ktb-products-layout{display:flex;flex-direction:column;gap:18px}
  .ktb-products-sidebar{
    width:100%;padding:12px;border-radius:20px;
    overflow:visible!important;
  }
  .ktb-products-sidebar-head{padding:2px 4px 10px}
  .ktb-products-sidebar-head>span{display:block;font-size:9px}
  .ktb-products-sidebar-head h3{font-size:15px!important}
  .ktb-category-tabs{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    overflow:visible!important;
    padding:0!important;
    scroll-snap-type:none!important;
    scrollbar-width:auto;
  }
  .ktb-category-tab{
    width:100%!important;min-width:0!important;max-width:none!important;
    min-height:92px;
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    grid-template-rows:auto;
    align-items:center;
    gap:9px;
    padding:9px!important;
    white-space:normal!important;
    scroll-snap-align:none!important;
  }
  .ktb-category-tab-icon{width:48px;height:48px;border-radius:14px}
  .ktb-category-tab-copy strong{font-size:12px;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.45}
  .ktb-category-tab-copy small{font-size:9px}
  .ktb-category-tab-arrow{display:none!important}
  .ktb-category-tab.is-active{transform:none!important}
  .ktb-products.ktb-visible .ktb-category-tab{animation-duration:.45s}
}

@media(max-width:430px){
  .ktb-category-tabs{gap:7px}
  .ktb-category-tab{min-height:84px;grid-template-columns:43px minmax(0,1fr)!important;gap:7px;padding:7px!important;border-radius:14px!important}
  .ktb-category-tab-icon{width:43px;height:43px;border-radius:12px}
  .ktb-category-tab-icon img{padding:4px}
  .ktb-category-tab-copy strong{font-size:11px}
  .ktb-category-tab-copy small{font-size:8.5px}
}

@media(prefers-reduced-motion:reduce){
  .ktb-products.ktb-visible .ktb-category-tab,.ktb-category-tab-icon::after{animation:none!important}
}

/* =========================================================
   V5.4 — FOOD BRAND MOTION POLISH
   Purposeful, lightweight, scoped; no extra libraries.
   ========================================================= */
.ktb-hero-viewport::before{
  content:"";
  position:absolute;inset:0;z-index:4;pointer-events:none;
  border-radius:inherit;padding:1px;
  background:linear-gradient(115deg,rgba(255,255,255,.12),rgba(111,199,255,.72),rgba(255,255,255,.14),rgba(41,167,69,.34),rgba(245,168,28,.28),rgba(255,255,255,.12));
  background-size:260% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:ktbBrandBorderLight 8.5s ease-in-out infinite;
  opacity:.72;
}
.ktb-hero-slide.is-active .ktb-hero-media img{
  animation:ktbHeroBreath 10s ease-out both;
  transform-origin:center center;
}
.ktb-story-photo{position:relative;isolation:isolate}
.ktb-story-photo::after{
  content:"";position:absolute;inset:-35% -55%;z-index:2;pointer-events:none;
  background:linear-gradient(112deg,transparent 40%,rgba(255,255,255,.23) 49%,rgba(126,211,255,.10) 53%,transparent 62%);
  transform:translateX(70%) rotate(5deg);opacity:0;
}
.ktb-product-panel:not([hidden]){animation:ktbPanelReveal .48s var(--ktb-ease) both}
.ktb-business{position:relative}
.ktb-business::before{
  content:"";position:absolute;inset:-70% -40%;pointer-events:none;
  background:linear-gradient(112deg,transparent 42%,rgba(255,255,255,.12) 50%,transparent 58%);
  transform:translateX(75%) rotate(6deg);opacity:0;
}
.ktb-partnership-icon{position:relative;overflow:hidden}
.ktb-partnership-icon::after{
  content:"";position:absolute;inset:-45%;pointer-events:none;
  background:linear-gradient(112deg,transparent 40%,rgba(255,255,255,.92) 50%,transparent 60%);
  transform:translateX(70%) rotate(8deg);opacity:0;
}

@media(hover:hover) and (pointer:fine){
  .ktb-story-photo:hover::after{animation:ktbFoodSheen .78s var(--ktb-ease) both}
  .ktb-story-photo:hover img{transform:scale(1.025)}
  .ktb-business:hover::before{animation:ktbFoodSheen .82s var(--ktb-ease) both}
  .ktb-partnership-card:hover .ktb-partnership-icon::after{animation:ktbFoodSheen .72s var(--ktb-ease) both}
  .ktb-gallery-item:hover img{transform:scale(1.035)}
}

@keyframes ktbBrandBorderLight{
  0%,20%{background-position:125% 0;opacity:.28}
  48%{opacity:.8}
  72%,100%{background-position:-125% 0;opacity:.28}
}
@keyframes ktbHeroBreath{from{transform:scale(1)}to{transform:scale(1.022)}}
@keyframes ktbFoodSheen{0%{transform:translateX(70%) rotate(6deg);opacity:0}30%{opacity:.72}100%{transform:translateX(-70%) rotate(6deg);opacity:0}}
@keyframes ktbPanelReveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}

@media(max-width:767px){
  .ktb-hero-slide.is-active .ktb-hero-media img{animation:none!important;transform:none!important}
  .ktb-hero-viewport::before{animation-duration:11s;opacity:.45}
}
@media(prefers-reduced-motion:reduce){
  .ktb-hero-viewport::before,.ktb-hero-slide.is-active .ktb-hero-media img,.ktb-product-panel:not([hidden]){animation:none!important}
}

/* === V5.5 Gutenberg product category builder === */
.editor-styles-wrapper .ktb-ed-product-builder{margin:0 0 18px;padding:18px;border:1px solid #dbe6ee;border-radius:18px;background:#f7fbfe;box-shadow:0 10px 28px rgba(8,58,112,.06)}
.editor-styles-wrapper .ktb-ed-product-builder-title{margin-bottom:14px}
.editor-styles-wrapper .ktb-ed-product-builder-title strong{display:block;font-size:16px;color:#0b478c;margin-bottom:4px}
.editor-styles-wrapper .ktb-ed-product-builder-title p{margin:0;color:#637e94;font-size:12px;line-height:1.7}
.editor-styles-wrapper .ktb-ed-product-cat-card{padding:14px;margin-bottom:12px;border:1px solid #dce8f1;border-radius:15px;background:#fff}
.editor-styles-wrapper .ktb-ed-product-cat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid #edf2f6}
.editor-styles-wrapper .ktb-ed-product-cat-head strong{color:#123f67;font-size:14px}
.editor-styles-wrapper .ktb-ed-product-cat-head span{direction:ltr;color:#8ba1b3;font-size:10px}
.editor-styles-wrapper .ktb-ed-product-cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;align-items:start}
.editor-styles-wrapper .ktb-ed-product-cat-grid .ktb-ed-category-image{grid-column:1/-1;margin:0!important}
.editor-styles-wrapper .ktb-ed-product-cat-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media(max-width:782px){.editor-styles-wrapper .ktb-ed-product-cat-grid{grid-template-columns:1fr}}


/* ========================================================================== */
/* KATILO V6 — WPML LANGUAGE-AWARE DIRECTION | Aloaax.com                      */
/* All overrides scoped to these blocks. Arabic RTL remains unchanged.         */
/* ========================================================================== */
.ktb[dir="ltr"] { direction:ltr !important;text-align:left; }
.ktb[dir="ltr"] :is(.ktb-story-copy,.ktb-story-body,.ktb-heading,.ktb-products-title,.ktb-business-copy,.ktb-faq-title,.ktb-partnership-card,.ktb-category-showcase-copy,.ktb-visual-banner-overlay) { direction:ltr;text-align:left; }
.ktb[dir="ltr"] .ktb-heading-center,.ktb[dir="ltr"] .ktb-partnership-card { text-align:center; }
.ktb[dir="ltr"].ktb-hero .ktb-hero-copy { left:7.5%;right:auto;text-align:left; }
.ktb[dir="ltr"] .ktb-hero-copy :is(h1,h2) { font-size:clamp(38px,5.25vw,78px);line-height:1.14;letter-spacing:-.045em; }
.ktb[dir="ltr"] .ktb-hero-copy p { font-size:clamp(16px,2vw,27px);font-weight:700; }
.ktb[dir="ltr"] .ktb-benefit { text-align:left; }
.ktb[dir="ltr"] .ktb-story-body { text-align:left; }
.ktb[dir="ltr"] .ktb-story-collage { direction:ltr; }
.ktb[dir="ltr"] .ktb-category-tab { text-align:left; }
.ktb[dir="ltr"] .ktb-category-tab:hover:not(.is-active) { transform:translateX(2px); }
.ktb[dir="ltr"] .ktb-category-tab .ktb-category-tab-arrow svg { transform:rotate(180deg); }
.ktb[dir="ltr"] .ktb-product-track { direction:ltr !important; }
.ktb[dir="ltr"] .ktb-product-desc { text-align:left; }
.ktb[dir="ltr"] .ktb-product-panel-header { flex-direction:row-reverse; }
.ktb[dir="ltr"] .ktb-product-panel-header > div:last-child { flex:1; }
.ktb[dir="ltr"] .ktb-products-footer a svg,.ktb[dir="ltr"] .ktb-btn svg,.ktb[dir="ltr"] .ktb-category-showcase-arrow svg { transform:rotate(180deg); }
.ktb[dir="ltr"] .ktb-category-showcase-card:hover .ktb-category-showcase-arrow { transform:translateX(3px); }
.ktb[dir="ltr"] .ktb-visual-banner-overlay { left:7%;right:auto;text-align:left; }
.ktb[dir="ltr"] .ktb-visual-banner-overlay h2 { font-size:clamp(28px,3.2vw,45px); }
.ktb[dir="ltr"] .ktb-faq-title { text-align:left; }
.ktb[dir="ltr"] .ktb-faq-item { text-align:left; }
.ktb[dir="ltr"] .ktb-faq-item summary,.ktb[dir="ltr"] .ktb-faq-answer { text-align:left; }
.ktb[dir="ltr"] .ktb-product-panel-header p { max-width:650px; }
.ktb[dir="ltr"] .ktb-product-arrows { direction:ltr; }
.ktb[dir="ltr"] .ktb-category-showcase-head { direction:ltr; }
.ktb[dir="ltr"] .ktb-business::after { right:-50px;left:auto; }
.ktb-brand-ribbon[dir="ltr"] .ktb-ribbon-track { direction:ltr; }
.ktb-brand-ribbon[dir="rtl"] .ktb-ribbon-track { direction:rtl;animation-direction:reverse; }
.ktb[dir="ltr"] .ktb-product-count { direction:ltr;unicode-bidi:isolate; }
.ktb-lightbox[dir="ltr"] { direction:ltr; }
@media (max-width:991px) {
 .ktb[dir="ltr"].ktb-hero .ktb-hero-copy { left:5%;right:auto;width:66%; }
}
@media (max-width:767px) {
 .ktb[dir="ltr"].ktb-hero .ktb-hero-copy { left:6%;right:auto;bottom:14%;top:auto;width:88%;text-align:left; }
 .ktb[dir="ltr"] .ktb-hero-copy :is(h1,h2) { font-size:clamp(33px,8vw,53px); }
 .ktb[dir="ltr"] .ktb-hero-copy p { font-size:clamp(14px,3.9vw,19px); }
 .ktb[dir="ltr"] .ktb-product-panel-header { flex-direction:row-reverse; }
 .ktb[dir="ltr"] .ktb-visual-banner-overlay { left:7%;right:7%; }
 .ktb[dir="ltr"] .ktb-story-body { text-align:left; }
 .ktb[dir="ltr"] .ktb-category-tabs { direction:ltr; }
}
@media (max-width:420px) {
 .ktb[dir="ltr"] .ktb-hero-copy :is(h1,h2) { font-size:clamp(31px,8vw,45px); }
}

/* Latin-friendly font stack without external font requests. */
.ktb[dir="ltr"] { font-family: "Inter", "Segoe UI", Arial, sans-serif; }
