/*
Theme Name: Tooltopia Store Child
Theme URI: https://tooltopiastore.co.ke
Description: Child theme for the Tooltopia Store parent theme. Sets the brand colour to #0047FF, keeps the parent homepage/design, and automatically builds all information pages (About, Shipping, Returns, Delivery & Installation, Contact, FAQ, Why Choose). Everything stays editable.
Author: Tooltopia Store
Template: toolstopia
Version: 2.0.8
Text Domain: toolstopia-child
*/

/* ===== Tools Topia brand colour: orange -> #0047FF (blue) ===== */
:root{
  --ts-primary:#0047FF;        /* was #0047FF */
  --ts-primary-600:#0033CC;    /* darker blue for hover, was #0033CC */
  --ts-primary-050:#e6edff;    /* light blue tint, was #e6edff */
  --ts-shadow-primary:0 10px 30px rgba(0,71,255,.30);
}
.ts-cta{background:linear-gradient(120deg,#0047FF 0%,#3d6bff 100%);}

/* ===== Neat product cards (default WooCommerce loop) ===== */
ul.products{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr)) !important;gap:16px !important;margin:0 !important;padding:0 !important;list-style:none !important}
ul.products li.product{position:relative;width:auto !important;margin:0 !important;float:none !important;background:#fff;border:1px solid #e6eaf0;border-radius:14px;padding:14px;display:flex;flex-direction:column;text-align:center;box-shadow:0 1px 3px rgba(20,36,58,.06)}
ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;text-decoration:none}
ul.products li.product img{width:100% !important;height:auto;aspect-ratio:1/1;object-fit:contain;background:#f7f9fc;border-radius:10px;margin:0 0 10px !important}
ul.products li.product .woocommerce-loop-product__title{font-size:.92rem;line-height:1.35;font-weight:600;color:#14243a;min-height:2.7em;margin:2px 0 8px}
ul.products li.product .price{color:#14243a;font-weight:700;margin-bottom:10px;display:block}
ul.products li.product .price del{color:#9aa7b8;font-weight:400;margin-right:6px}
ul.products li.product .price ins{text-decoration:none}
ul.products li.product .onsale{position:absolute;margin:8px;background:#0047FF;color:#fff;border-radius:999px;padding:2px 10px;font-size:.72rem;z-index:2}
ul.products li.product .button,ul.products li.product .add_to_cart_button,ul.products li.product .added_to_cart{margin-top:auto;background:#0047FF;color:#fff;border-radius:999px;padding:9px 14px;font-weight:600;text-decoration:none;display:inline-block}

/* ===== Custom homepage (tabarak-style) ===== */
.tt-home{max-width:1240px;margin:0 auto;padding:0 16px}
.tt-hero{display:grid;grid-template-columns:270px 1fr;gap:18px;margin:18px 0}
.tt-hero__cats{background:#fff;border:1px solid #e6eaf0;border-radius:14px;padding:10px 6px}
.tt-hero__cats h3{margin:8px 12px;font-size:.95rem;color:#14243a}
.tt-hero__cats ul{list-style:none;margin:0;padding:0;max-height:400px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c3cede #eef2f7}
.tt-hero__cats ul::-webkit-scrollbar{width:8px}
.tt-hero__cats ul::-webkit-scrollbar-thumb{background:#c3cede;border-radius:8px}
.tt-hero__cats ul::-webkit-scrollbar-track{background:#f2f5f9;border-radius:8px}
.tt-hero__cats a{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:8px;color:#243244;text-decoration:none;font-size:.9rem}
.tt-hero__cats a:hover{background:#e6edff;color:#0047FF}
.tt-hero__cats a span{color:#9aa7b8;font-size:.8rem}
.tt-hero__slider{position:relative;border-radius:16px;overflow:hidden;min-height:360px}
.tt-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;height:100%;min-height:360px;scroll-behavior:smooth}
.tt-slides::-webkit-scrollbar{display:none}
.tt-slide{min-width:100%;scroll-snap-align:start;display:flex;align-items:center;padding:44px;color:#fff;background:linear-gradient(120deg,#14243a 0%,#0047FF 100%)}
.tt-slide--2{background:linear-gradient(120deg,#0f2740 0%,#0033CC 100%)}
.tt-slide--3{background:linear-gradient(120deg,#10261d 0%,#1f9d55 100%)}
.tt-slide .eyebrow{letter-spacing:.12em;text-transform:uppercase;font-size:.72rem;color:#e6eefb}
.tt-slide h2{color:#fff;font-size:2rem;margin:8px 0}
.tt-slide p{max-width:520px;opacity:.92;margin:0 0 6px}
.tt-btn{display:inline-block;background:#0047FF;color:#fff !important;padding:10px 18px;border-radius:999px;font-weight:700;text-decoration:none;margin:10px 8px 0 0}
.tt-btn--wa{background:#25D366}
.tt-btn--full{display:block;text-align:center;margin:10px 8px}
.tt-trust{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}
.tt-trust div{flex:1 1 200px;background:#fff;border:1px solid #e6eaf0;border-radius:12px;padding:14px 16px}
.tt-trust b{display:block;color:#14243a}
.tt-trust small{color:#5b6b80}
.tt-sec{margin:28px 0}
.tt-sec__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.tt-sec__head h2{margin:0;font-size:1.4rem;color:#14243a}
.tt-sec__head a{color:#0047FF;text-decoration:none;font-weight:600;font-size:.9rem}
.tt-scroll{overflow-x:auto;padding-bottom:10px}
.tt-scroll::-webkit-scrollbar{height:8px}
.tt-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}
.tt-scroll ul.products{display:flex !important;flex-wrap:nowrap !important;grid-template-columns:none !important;gap:14px !important;width:max-content;padding:0;margin:0}
.tt-scroll ul.products li.product{min-width:200px;width:200px !important;flex:0 0 200px}
.tt-brands{display:flex;gap:12px}
.tt-brand{flex:0 0 auto;min-width:130px;text-align:center;padding:24px 10px;background:#fff;border:1px solid #e6eaf0;border-radius:12px;color:#334155;font-weight:700;text-decoration:none}
.tt-brand:hover{border-color:#0047FF;color:#0047FF}
@media(max-width:820px){.tt-hero{grid-template-columns:1fr}.tt-slide h2{font-size:1.5rem}}

/* ===== v1.6.0 refinements ===== */

/* Hero image slider */
.tt-home .tt-hero__slider{position:relative;overflow:hidden;border-radius:16px;min-height:400px}
.tt-home .tt-slides{min-height:400px}
.tt-home .tt-slide{position:relative;min-width:100%;scroll-snap-align:start;display:flex;align-items:center;padding:48px 56px;color:#fff;background-color:#14243a;background-position:center center;background-size:cover;background-repeat:no-repeat}
.tt-home .tt-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,17,30,.9) 0%,rgba(9,17,30,.6) 42%,rgba(9,17,30,.12) 100%)}
.tt-home .tt-slide__inner{position:relative;z-index:2;max-width:560px}
.tt-home .tt-slide h2{color:#fff;font-size:2.1rem;line-height:1.15;margin:8px 0}
.tt-home .tt-slide p{max-width:520px;opacity:.95;margin:0 0 6px}
.tt-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#14243a;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.tt-nav:hover{background:#fff}
.tt-nav.prev{left:14px}.tt-nav.next{right:14px}
.tt-dots{position:absolute;left:56px;bottom:16px;z-index:4;display:flex;gap:8px}
.tt-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:width .2s}
.tt-dots button.active{background:#fff;width:22px;border-radius:6px}
@media(max-width:820px){.tt-home .tt-slide h2{font-size:1.5rem}.tt-home .tt-hero__slider,.tt-home .tt-slides{min-height:300px}}

/* Kill WooCommerce clearfix pseudo-cells (fixes category + related empty space) */
ul.products::before,ul.products::after{content:none !important;display:none !important}

/* Shop by Category: curated tiles, 6 desktop / 3 tablet / 2 mobile */
.tt-home .tt-catgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.tt-home .tt-cat{display:flex;flex-direction:column;background:#fff;border:1px solid #e6eaf0;border-radius:14px;overflow:hidden;text-decoration:none;transition:box-shadow .15s,transform .15s}
.tt-home .tt-cat:hover{box-shadow:0 6px 18px rgba(20,36,58,.10);transform:translateY(-2px)}
.tt-home .tt-cat__img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#f7f9fc;border-bottom:1px solid #eef2f7;transition:transform .3s ease}
.tt-home .tt-cat:hover .tt-cat__img{transform:scale(1.05)}
.tt-home .tt-cat__label{display:block;padding:11px 8px;text-align:center;font-weight:600;font-size:.9rem;color:#14243a;line-height:1.2}
@media(max-width:1024px){.tt-home .tt-catgrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.tt-home .tt-catgrid{grid-template-columns:repeat(2,1fr)}}

/* Homepage product rows: 6 visible, horizontal scroll */
.tt-home .tt-scroll.tt-products ul.products{display:flex !important;flex-wrap:nowrap !important;width:max-content}
.tt-home .tt-products ul.products li.product{flex:0 0 190px !important;width:190px !important;min-width:190px !important}
@media(max-width:640px){.tt-home .tt-products ul.products li.product{flex:0 0 150px !important;width:150px !important;min-width:150px !important}}

/* Uniform product cards + sale badge fully visible */
ul.products li.product{overflow:visible !important}
ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;max-height:2.6em}
ul.products li.product .onsale{position:absolute !important;top:8px !important;left:8px !important;right:auto !important;bottom:auto !important;margin:0 !important;background:#e23744 !important;color:#fff !important;border-radius:999px !important;padding:3px 10px !important;font-size:.7rem !important;font-weight:700 !important;line-height:1 !important;min-height:0 !important;z-index:6 !important}

/* Inner category / shop archive: clean grid, no empty first cell */
body.tax-product_cat ul.products,body.post-type-archive-product ul.products,body.tax-product_tag ul.products{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(190px,1fr)) !important;gap:18px !important}
body.tax-product_cat ul.products li.product,body.post-type-archive-product ul.products li.product{float:none !important;margin:0 !important;clear:none !important;width:auto !important}
@media(max-width:640px){body.tax-product_cat ul.products,body.post-type-archive-product ul.products{grid-template-columns:repeat(2,1fr) !important}}

/* Related / up-sell products: aligned 4-up grid, proper spacing */
.woocommerce .related.products,.woocommerce .upsells.products{clear:both;margin-top:44px}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2{margin-bottom:16px}
.woocommerce .related.products ul.products,.woocommerce .upsells.products ul.products{display:grid !important;grid-template-columns:repeat(4,1fr) !important;gap:16px !important;width:auto !important}
@media(max-width:640px){.woocommerce .related.products ul.products,.woocommerce .upsells.products ul.products{grid-template-columns:repeat(2,1fr) !important}}

/* Product-page trust badges (tabarak-style 2x2 box) */
.tt-badges{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;border:1px solid #e6eaf0;border-radius:12px;padding:14px 16px;margin:16px 0;background:#fbfcfe}
.tt-badges .tt-b{display:flex;gap:8px;align-items:flex-start;font-size:.86rem;line-height:1.3;color:#334155}
.tt-badges .tt-b svg{flex:0 0 auto;margin-top:1px}
@media(max-width:600px){.tt-badges{grid-template-columns:1fr}}

/* Dark / light toggle button */
.tt-theme-toggle{background:transparent;border:0;cursor:pointer;color:inherit;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%}
.tt-theme-toggle:hover{background:rgba(0,0,0,.06)}
.tt-theme-toggle--float{position:fixed;right:16px;bottom:84px;z-index:9999;background:#14243a;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.25)}

/* Dark theme (first pass) */
html.tt-dark,html.tt-dark body,html.tt-dark .site,html.tt-dark #page,html.tt-dark #content,html.tt-dark .site-content,html.tt-dark main,html.tt-dark .tt-home{background:#0f1720 !important;color:#e5e7eb !important}
html.tt-dark .tt-hero__cats,html.tt-dark ul.products li.product,html.tt-dark .tt-trust div,html.tt-dark .tt-brand,html.tt-dark .tt-badges,html.tt-dark .tt-cat{background:#161f2b !important;border-color:#25324a !important;color:#e5e7eb !important}
html.tt-dark .tt-sec__head h2,html.tt-dark .woocommerce-loop-product__title,html.tt-dark .woocommerce-loop-product__title a,html.tt-dark .tt-trust b,html.tt-dark .tt-cat__label,html.tt-dark h1,html.tt-dark h2,html.tt-dark h3{color:#f1f5f9 !important}
html.tt-dark .price,html.tt-dark .tt-trust small,html.tt-dark .tt-badges .tt-b{color:#cbd5e1 !important}
html.tt-dark a{color:#cfe0f7}
html.tt-dark .tt-hero__cats a{color:#cbd5e1}
html.tt-dark .tt-hero__cats a:hover{background:#1e2a3d;color:#6a8dff}

/* ===== v1.7.0 refinements ===== */

/* Live search dropdown */
.tt-search-results{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:99990;background:#fff;border:1px solid #e6eaf0;border-radius:12px;box-shadow:0 14px 34px rgba(20,36,58,.18);max-height:72vh;overflow:auto;display:none}
.tt-search-results.open{display:block}
.tt-sr-item{display:flex;gap:10px;align-items:center;padding:10px 12px;text-decoration:none;border-bottom:1px solid #f1f4f8}
.tt-sr-item:hover{background:#f5f9ff}
.tt-sr-item img{width:46px;height:46px;object-fit:contain;background:#f7f9fc;border-radius:8px;flex:0 0 auto}
.tt-sr-info{min-width:0}
.tt-sr-title{font-size:.86rem;color:#14243a;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tt-sr-price{font-size:.82rem;color:#0047FF;font-weight:700;margin-top:2px}
.tt-sr-msg{padding:14px 12px;color:#5b6b80;font-size:.86rem}
.tt-sr-all{display:block;text-align:center;padding:11px;font-weight:700;color:#fff;background:#0047FF;text-decoration:none;position:sticky;bottom:0}
html.tt-dark .tt-search-results{background:#161f2b;border-color:#25324a}
html.tt-dark .tt-sr-item{border-color:#22304a}
html.tt-dark .tt-sr-title{color:#e5e7eb}

/* Product page: align Order on WhatsApp next to Add to Cart */
.woocommerce div.product form.cart{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:0}
.woocommerce div.product .entry-summary a[href*="wa.me"],.woocommerce div.product .entry-summary a[href*="whatsapp"],.woocommerce div.product .summary a[href*="wa.me"]{display:inline-flex !important;align-items:center;gap:8px;vertical-align:middle;margin:10px 0 0 0 !important;line-height:1.2}
.woocommerce div.product .entry-summary .quantity{margin:0}

/* ===== Custom footer ===== */
.tt-footer{background:#0f1b2d;color:#c7d2e0;padding:44px 16px 18px;margin-top:40px}
.tt-footer__inner{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1.2fr;gap:28px}
.tt-footer h4{color:#fff;font-size:.95rem;margin:0 0 12px}
.tt-footer a{color:#c7d2e0;text-decoration:none;display:block;padding:4px 0;font-size:.9rem}
.tt-footer a:hover{color:#6a8dff}
.tt-footer p{font-size:.9rem;line-height:1.55;margin:0 0 12px}
.tt-foot-brand__logo{font-weight:800;font-size:1.2rem;color:#fff;letter-spacing:.02em;margin-bottom:10px}
.tt-foot-pay{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tt-foot-pay span{background:#1b2942;border:1px solid #2a3a58;border-radius:6px;padding:5px 11px;font-size:.78rem;color:#dbe4f0}
.tt-foot-contact div{margin:0 0 8px;font-size:.9rem;line-height:1.4}
.tt-foot-contact b{color:#fff;font-weight:600}
.tt-footer__bottom{max-width:1240px;margin:22px auto 0;padding-top:16px;border-top:1px solid #21304a;display:flex;justify-content:space-between;gap:12px;font-size:.82rem;color:#8ea0b6;flex-wrap:wrap}
@media(max-width:820px){.tt-footer__inner{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.tt-footer__inner{grid-template-columns:1fr}.tt-footer__bottom{flex-direction:column;text-align:center}}

/* ===== Mobile header + slide-out menu ===== */
.tt-mob-toggle{display:none}
.tt-mob-menu{position:fixed;top:0;left:0;bottom:0;width:84%;max-width:340px;background:#fff;z-index:100000;transform:translateX(-102%);transition:transform .25s ease;overflow-y:auto;box-shadow:0 0 40px rgba(0,0,0,.3)}
.tt-mob-menu.open{transform:none}
.tt-mob-menu__head{background:#0f1b2d;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:15px 16px}
.tt-mob-menu__head b{font-size:1.05rem}
.tt-mob-menu__close{background:#1b2942;border:0;color:#fff;width:34px;height:34px;border-radius:8px;font-size:18px;cursor:pointer}
.tt-mob-menu__search{padding:12px 14px;border-bottom:1px solid #eef2f7}
.tt-mob-menu__search input{width:100%;box-sizing:border-box;padding:11px 14px;border:1px solid #d7dee8;border-radius:999px;font-size:.95rem}
.tt-mob-menu a{display:flex;justify-content:space-between;padding:13px 16px;color:#14243a;text-decoration:none;border-bottom:1px solid #f0f3f8;font-weight:600;font-size:.95rem}
.tt-mob-menu a:hover{background:#f5f9ff}
.tt-mob-menu .tt-mm-label{padding:14px 16px 6px;color:#8494a8;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;font-weight:700}
.tt-mob-menu a span{color:#9aa7b8;font-weight:400}
.tt-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:99999;display:none}
.tt-backdrop.open{display:block}
@media(max-width:768px){
  .tt-mob-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:0;background:transparent;color:inherit;cursor:pointer}
  .tt-mobnav-hide{display:none !important}
}
html.tt-dark .tt-mob-menu{background:#161f2b}
html.tt-dark .tt-mob-menu a{color:#e5e7eb;border-color:#22304a}

/* ===== Mobile: Shop by Category = 2 visible + horizontal scroll ===== */
@media(max-width:640px){
  .tt-home .tt-catgrid{display:flex !important;grid-template-columns:none !important;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:10px;-webkit-overflow-scrolling:touch}
  .tt-home .tt-cat{flex:0 0 44% !important;scroll-snap-align:start}
  /* Per-category product rows = 2 per row, 2 rows (show 4) */
  .tt-home .tt-scroll.tt-products{overflow:visible}
  .tt-home .tt-scroll.tt-products ul.products{display:grid !important;grid-template-columns:repeat(2,1fr) !important;width:auto !important;gap:12px !important}
  .tt-home .tt-products ul.products li.product{flex:none !important;width:auto !important;min-width:0 !important}
  .tt-home .tt-products ul.products li.product:nth-child(n+5){display:none !important}
  /* tighter hero on phones */
  .tt-home .tt-slide{padding:26px 22px}
  .tt-home .tt-slide h2{font-size:1.35rem}
  .tt-home .tt-hero{margin-top:10px}
}

/* ===== v1.7.2 ===== */

/* Product card titles: reserve 2 lines, never collide with price */
.tt-home ul.products li.product .woocommerce-loop-product__title,
.tt-home ul.products li.product h2.woocommerce-loop-product__title,
.tt-home ul.products li.product h3{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.6em;line-height:1.3;margin:0 0 6px;
}
.tt-home ul.products li.product .price{display:block;margin-top:2px}
@media(max-width:640px){
  .tt-home ul.products li.product .woocommerce-loop-product__title,
  .tt-home ul.products li.product h2.woocommerce-loop-product__title,
  .tt-home ul.products li.product h3{font-size:.9rem;min-height:2.35em}
  .tt-home ul.products li.product{padding-bottom:6px}
}

/* Slide-in cart drawer */
.tt-cart-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100001;display:none}
.tt-cart-backdrop.open{display:block}
.tt-cart-drawer{position:fixed;top:0;right:0;bottom:0;width:88%;max-width:390px;background:#fff;z-index:100002;transform:translateX(103%);transition:transform .28s ease;display:flex;flex-direction:column;box-shadow:-8px 0 40px rgba(0,0,0,.25)}
.tt-cart-drawer.open{transform:none}
.tt-cart-drawer__head{background:#0f1b2d;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:15px 16px}
.tt-cart-drawer__head b{font-size:1.05rem}
.tt-cart-close{background:#1b2942;border:0;color:#fff;width:34px;height:34px;border-radius:8px;font-size:18px;cursor:pointer}
.tt-cart-ok{display:flex;align-items:center;gap:8px;background:#e9f9ee;color:#12813f;padding:11px 16px;font-size:.9rem;font-weight:700}
.tt-cart-body{flex:1;overflow:auto;padding:6px 16px}
.tt-cart-item{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f7}
.tt-cart-item img{width:52px;height:52px;object-fit:contain;background:#f7f9fc;border-radius:8px;flex:0 0 auto}
.tt-cart-item .n{font-size:.86rem;color:#14243a;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tt-cart-item .q{font-size:.8rem;color:#5b6b80;margin-top:2px}
.tt-cart-sub{display:flex;justify-content:space-between;font-weight:800;color:#14243a;padding:12px 16px;border-top:1px solid #eef2f7;font-size:.98rem}
.tt-cart-foot{padding:10px 16px 18px;display:grid;gap:9px}
.tt-cart-foot a{display:block;text-align:center;padding:13px;border-radius:10px;font-weight:700;text-decoration:none}
.tt-cart-foot .co{background:#0047FF;color:#fff}
.tt-cart-foot .vc{background:#eef3fb;color:#14243a}
.tt-cart-foot .cont{background:transparent;color:#5b6b80;padding:4px;font-weight:600}
html.tt-dark .tt-cart-drawer{background:#161f2b}
html.tt-dark .tt-cart-item .n{color:#e5e7eb}
html.tt-dark .tt-cart-sub{color:#e5e7eb}

/* Injected static bottom nav */
.tt-bnav{position:fixed;left:0;right:0;bottom:0;z-index:99998;background:#fff;border-top:1px solid #e6eaf0;display:none;justify-content:space-around;align-items:center;padding:6px 0 calc(6px + env(safe-area-inset-bottom))}
.tt-bnav a,.tt-bnav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:#5b6b80;font-size:.68rem;font-weight:600;background:none;border:0;cursor:pointer;font-family:inherit}
.tt-bnav a svg,.tt-bnav button svg{width:22px;height:22px}
.tt-bnav a:active,.tt-bnav button:active{color:#0047FF}
html.tt-dark .tt-bnav{background:#121a26;border-color:#22304a}
html.tt-dark .tt-bnav a,html.tt-dark .tt-bnav button{color:#aeb9c7}

/* Injected mobile search bar */
.tt-msearch{display:none}
.tt-hide-mobile{}
@media(max-width:768px){
  .tt-bnav{display:flex}
  body{padding-bottom:66px}
  .tt-parent-bnav-hide{display:none !important}
  .tt-hide-mobile{display:none !important}
  .tt-msearch{display:block;padding:9px 12px;background:#fff;border-bottom:1px solid #eef2f7}
  html.tt-dark .tt-msearch{background:#121a26;border-color:#22304a}
  .tt-msearch form{display:flex;position:relative;margin:0}
  .tt-msearch input{flex:1;min-width:0;padding:11px 14px;border:1px solid #d7dee8;border-radius:999px 0 0 999px;font-size:.95rem;outline:none}
  .tt-msearch button{border:0;background:#0047FF;color:#fff;padding:0 18px;border-radius:0 999px 999px 0;font-weight:700;font-size:.9rem}
  .tt-annc-bar{font-size:.72rem !important;line-height:1.35 !important;padding-top:6px !important;padding-bottom:6px !important;white-space:normal !important}
  .site-header img.custom-logo,header img[class*="logo"],.site-header a.logo img,.site-branding img{max-height:38px !important;width:auto !important}
}


/* ===== v1.7.4: styles for auto-generated content pages (.ttx) moved out of page bodies ===== */
.ttx{font-family:inherit;color:#243244;max-width:1000px;margin:0 auto;line-height:1.6}
.ttx h1,.ttx h2{color:#14243a;line-height:1.25}
.ttx h1{font-size:1.8rem;margin:0 0 10px}
.ttx h2{font-size:1.5rem;margin:28px 0 12px}
.ttx p{margin:0 0 14px}
.ttx-intro{background:#e6edff;border-left:4px solid #0047FF;border-radius:10px;padding:16px 20px;margin:0 0 22px}
.ttx-cards{display:flex;flex-wrap:wrap;gap:16px;margin:8px 0}
.ttx-card{flex:1 1 210px;background:#fff;border:1px solid #e6eaf0;border-radius:14px;padding:18px 20px;box-shadow:0 1px 3px rgba(20,36,58,.06)}
.ttx-card .n{display:inline-block;background:#0047FF;color:#fff;font-weight:700;border-radius:8px;padding:6px 12px;margin-bottom:10px}
.ttx-card b{display:block;margin-bottom:4px;color:#14243a}
.ttx-card small{color:#5b6b80;font-size:.92rem}
.ttx-cta{background:#14243a;color:#fff;border-radius:14px;padding:22px 24px;margin:22px 0}
.ttx-cta b{color:#fff;font-size:1.1rem;display:block;margin-bottom:6px}
.ttx-cta a{color:#cfe0f7;text-decoration:none;font-weight:600;margin-right:16px}

.ttx{font-family:inherit;color:#243244;max-width:1000px;margin:0 auto;line-height:1.6}
.ttx h2{color:#14243a;font-size:1.5rem;margin:28px 0 12px;line-height:1.25}
.ttx p{margin:0 0 14px}
.ttx-intro{background:#e6edff;border-left:4px solid #0047FF;border-radius:10px;padding:16px 20px;margin:0 0 22px}
.ttx-cards{display:flex;flex-wrap:wrap;gap:16px;margin:8px 0}
.ttx-card{flex:1 1 210px;background:#fff;border:1px solid #e6eaf0;border-radius:14px;padding:18px 20px;box-shadow:0 1px 3px rgba(20,36,58,.06)}
.ttx-card .n{display:inline-block;background:#0047FF;color:#fff;font-weight:700;border-radius:8px;padding:6px 12px;margin-bottom:10px}
.ttx-card b{display:block;margin-bottom:4px;color:#14243a}
.ttx-card small{color:#5b6b80;font-size:.92rem}
.ttx-list{list-style:none;padding:0;margin:0 0 14px}
.ttx-list li{padding:9px 14px;margin:0 0 8px;border-radius:8px;background:#f7f9fc}
.ttx-list.good li{border-left:4px solid #1f9d55}
.ttx-list.bad li{border-left:4px solid #d64545}
.ttx-steps{counter-reset:s;list-style:none;padding:0;margin:0 0 14px}
.ttx-steps li{position:relative;padding:8px 0 8px 44px;margin:0 0 8px}
.ttx-steps li:before{counter-increment:s;content:counter(s);position:absolute;left:0;top:6px;width:28px;height:28px;border-radius:50%;background:#0047FF;color:#fff;text-align:center;line-height:28px;font-weight:700}
.ttx-cta{background:#14243a;color:#fff;border-radius:14px;padding:22px 24px;margin:22px 0}
.ttx-cta b{color:#fff;font-size:1.1rem;display:block;margin-bottom:6px}
.ttx-cta a{color:#cfe0f7;text-decoration:none;font-weight:600;margin-right:16px}
.ttx-faq{border:1px solid #e6eaf0;border-radius:10px;padding:2px 18px;margin:0 0 10px;background:#fff}
.ttx-faq summary{font-weight:700;color:#14243a;cursor:pointer;padding:12px 0;list-style:none}
.ttx-faq summary::-webkit-details-marker{display:none}
.ttx-faq[open]{border-color:#0047FF}
.ttx-faq p{margin:0 0 12px;color:#4a5666}

/* ===== v1.7.5 ===== */

/* Product titles never clip (homepage + archive) */
.tt-home ul.products li.product .woocommerce-loop-product__title,
.tt-home ul.products li.product h2,
.tt-home ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product a h2,
.woocommerce ul.products li.product a h3{
  display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden !important;
  min-height:2.6em;max-height:none !important;line-height:1.3 !important;white-space:normal !important;margin:0 0 6px !important;
}
.tt-home ul.products li.product,.woocommerce ul.products li.product{overflow:visible !important;height:auto !important}

/* Contact top bar (mobile) */
.tt-annc-contact{display:flex !important;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}
.tt-annc-contact a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:5px;font-weight:600;font-size:.8rem}
.tt-annc-contact a svg{width:14px;height:14px;flex:0 0 auto}
.tt-annc-contact .d{opacity:.45;color:#fff}

/* Hero "Shop All Categories" -> accordion on mobile */
@media(max-width:768px){
  .tt-home .tt-hero__cats{border:1px solid #e6eaf0;border-radius:12px;background:#fff}
  .tt-home .tt-hero__cats h3{cursor:pointer;display:flex;justify-content:space-between;align-items:center;margin:0;padding:14px 16px;font-size:1.05rem}
  .tt-home .tt-hero__cats h3::after{content:"\25be";color:#0047FF;transition:transform .2s;font-size:.9rem;margin-left:8px}
  .tt-home .tt-hero__cats.tt-acc-open h3::after{transform:rotate(180deg)}
  .tt-home .tt-hero__cats ul{display:none;margin:0;max-height:58vh;overflow:auto}
  .tt-home .tt-hero__cats > a.tt-btn{display:none}
  .tt-home .tt-hero__cats.tt-acc-open ul{display:block}
  .tt-home .tt-hero__cats.tt-acc-open > a.tt-btn{display:block}
}

/* Menu category count pills */
.tt-mob-menu a span{background:#eef3fb;color:#0047FF;border-radius:999px;padding:1px 9px;font-size:.72rem;font-weight:700}

/* Advanced filter button + drawer */
.tt-filter-bar{display:flex;gap:10px;align-items:center;margin:0 0 14px}
.tt-filter-open{display:inline-flex;align-items:center;gap:8px;background:#0047FF;color:#fff;border:0;border-radius:10px;padding:11px 18px;font-weight:700;cursor:pointer;font-size:.92rem}
.tt-filter-open svg{width:18px;height:18px}
.tt-filter-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100001;display:none}
.tt-filter-backdrop.open{display:block}
.tt-filter-drawer{position:fixed;top:0;left:0;bottom:0;width:88%;max-width:360px;background:#fff;z-index:100002;transform:translateX(-103%);transition:transform .28s;display:flex;flex-direction:column;box-shadow:8px 0 40px rgba(0,0,0,.25)}
.tt-filter-drawer.open{transform:none}
.tt-filter-drawer__head{background:#0f1b2d;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:15px 16px}
.tt-filter-close{background:#1b2942;border:0;color:#fff;width:34px;height:34px;border-radius:8px;font-size:18px;cursor:pointer}
.tt-filter-body{flex:1;overflow:auto;padding:14px 16px}
.tt-filter-body h4{margin:16px 0 8px;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#8494a8}
.tt-filter-body h4:first-child{margin-top:0}
.tt-filter-body select,.tt-filter-body input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d7dee8;border-radius:8px;font-size:.92rem;margin-bottom:6px}
.tt-price-row{display:flex;gap:8px}
.tt-cat-list{max-height:240px;overflow:auto;border:1px solid #eef2f7;border-radius:8px}
.tt-cat-list label{display:flex;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid #f1f4f8;font-size:.9rem;cursor:pointer;margin:0}
.tt-cat-list label:last-child{border-bottom:0}
.tt-cat-list input{width:auto;margin:0}
.tt-filter-foot{padding:12px 16px 18px;display:grid;gap:9px;border-top:1px solid #eef2f7}
.tt-filter-foot button{display:block;text-align:center;padding:12px;border-radius:10px;font-weight:700;border:0;cursor:pointer;font-size:.92rem}
.tt-filter-foot .apply{background:#0047FF;color:#fff}
.tt-filter-foot .clear{background:#eef3fb;color:#14243a}
html.tt-dark .tt-filter-drawer{background:#161f2b}
html.tt-dark .tt-filter-body select,html.tt-dark .tt-filter-body input{background:#0f1723;border-color:#25324a;color:#e5e7eb}

/* ===== v1.7.6: contact bar, brands, map, product info, stats, certs ===== */
.tt-contact-bar{display:none}
@media (max-width:768px){
  .tt-contact-bar{display:flex;gap:12px;align-items:center;justify-content:center;background:#0f1b2d;color:#fff;padding:7px 12px;flex-wrap:wrap;font-size:.8rem;line-height:1.2}
  .tt-contact-bar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:5px;font-weight:600;white-space:nowrap}
  .tt-contact-bar a svg{width:14px;height:14px;flex:none}
  .tt-contact-bar .d{opacity:.45}
  .tt-annc-hide-mobile{display:none !important}
}
.ttx-brands{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:22px 0}
.ttx-brand{display:flex;align-items:center;justify-content:center;text-align:center;min-height:64px;padding:10px 8px;border:1px solid #e2e6ee;border-radius:12px;background:#fff;font-weight:800;letter-spacing:.3px;color:#0f1b2d;text-transform:uppercase;font-size:.9rem;box-shadow:0 1px 3px rgba(16,27,45,.06)}
.ttx-brand:hover{border-color:#0047FF;color:#0047FF}
.ttx-map{margin:26px 0 4px}
.ttx-map h3{margin:0 0 8px}
.tt-mapwrap{border-radius:14px;overflow:hidden;border:1px solid #e2e6ee;line-height:0}
.tt-mapwrap iframe{width:100%;height:340px;border:0;display:block}
.tt-pinfo{margin:16px 0;border:1px solid #e6eaf1;border-radius:12px;padding:14px 16px;background:#f8fafc}
.tt-pinfo ul{list-style:none;margin:0;padding:0}
.tt-pinfo li{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid #eef1f6;font-size:.92rem}
.tt-pinfo li:last-child{border-bottom:0}
.tt-pinfo-k{color:#64748b;font-weight:600}
.tt-pinfo-v{color:#0f1b2d;font-weight:600;text-align:right}
.tt-pinfo-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tt-pinfo-badges span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#0a7d33;background:#e7f6ec;border:1px solid #bfe6c9;padding:4px 9px;border-radius:999px}
.tt-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;max-width:1200px;margin:26px auto;padding:22px 16px;background:linear-gradient(135deg,#0f1b2d,#1c3050);border-radius:16px;color:#fff}
.tt-stat{text-align:center;padding:6px 4px}
.tt-stat b{display:block;font-size:1.7rem;font-weight:800;line-height:1.1;color:#fff}
.tt-stat small{display:block;margin-top:5px;font-size:.8rem;color:#cbd6e6;letter-spacing:.2px}
.tt-certs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:1200px;margin:0 auto 26px;padding:0 16px}
.tt-cert{display:flex;align-items:center;gap:10px;justify-content:center;padding:14px 12px;border:1px solid #e2e6ee;border-radius:12px;background:#fff;font-weight:700;color:#0f1b2d;font-size:.92rem}
.tt-cert__i{display:inline-flex;width:26px;height:26px;color:#0a7d33;flex:none}
.tt-cert__i svg{width:26px;height:26px}
@media (max-width:768px){
  .tt-stats{grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 12px;padding:16px 10px;border-radius:14px}
  .tt-stat b{font-size:1.35rem}
  .tt-stat:last-child{grid-column:span 2}
  .tt-certs{grid-template-columns:repeat(2,1fr);gap:10px;margin:0 12px 18px;padding:0}
  .tt-cert{font-size:.85rem;padding:12px 8px}
}

.tt-legal{max-width:1200px;margin:0 auto;padding:10px 16px 22px;text-align:center;font-size:.78rem;color:#8a97a8;line-height:1.5}

.tt-brand--logo{display:flex;align-items:center;justify-content:center;min-width:150px;height:84px;background:#fff;border:1px solid #e6ebf1;border-radius:12px;padding:14px 18px}
.tt-brand--logo img{max-height:100%;max-width:140px;width:auto;height:auto;object-fit:contain}

.tt-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0}
.tt-photo{margin:0;border:1px solid #e6ebf1;border-radius:14px;overflow:hidden;background:#fff}
.tt-photo img{display:block;width:100%;height:220px;object-fit:cover}
.tt-photo figcaption{padding:10px 14px;font-size:.85rem;color:#4a5568;font-weight:600}


/* ===================================================================
   Tooltopia Store - Phase 2 design polish (electric blue #0047FF)
   Appended: additive refinements only; later rules win. No forced overrides.
   =================================================================== */
:root{ --tt-blue:#0047FF; --tt-blue-600:#0033CC; --tt-ink:#0f1b2d; }

/* Section headings with an electric-blue accent bar */
.tt-sec__head h2, .tt-why h2{position:relative;padding-bottom:12px;letter-spacing:-.01em}
.tt-sec__head h2::after, .tt-why h2::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--tt-blue),#3d6bff)}
.tt-sec__head a{color:var(--tt-blue);font-weight:700}
.tt-sec__head a:hover{color:var(--tt-blue-600)}

/* Category tiles: rounded, hover lift + image zoom */
.tt-cat{border-radius:16px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease;box-shadow:0 4px 14px rgba(9,17,30,.06)}
.tt-cat:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,71,255,.18)}
.tt-cat__img{transition:transform .35s ease}
.tt-cat:hover .tt-cat__img{transform:scale(1.06)}
.tt-cat__label{font-weight:700}

/* Trust + confidence badges: card style with a blue top accent */
.tt-trust>div,.tt-confidence>div{position:relative;background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:18px 16px 16px;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease}
.tt-trust>div::before,.tt-confidence>div::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--tt-blue),#3d6bff)}
.tt-trust>div:hover,.tt-confidence>div:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,71,255,.14)}
.tt-trust>div b,.tt-confidence>div b{color:var(--tt-ink)}

/* Hero slide scrim so overlay text stays legible on any slide */
.tt-slide{position:relative}
.tt-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,18,54,.80) 0%,rgba(0,18,54,.42) 44%,rgba(0,18,54,0) 74%);pointer-events:none}
.tt-slide__inner{position:relative;z-index:2}
.tt-slide__inner .eyebrow{display:inline-block;background:var(--tt-blue);color:#fff;padding:5px 12px;border-radius:999px;font-weight:700;letter-spacing:.02em}
.tt-slide__inner h2{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.35)}
.tt-slide__inner p{color:#eaf0ff}

/* Buttons: bold electric blue with hover lift */
.tt-btn{background:var(--tt-blue);color:#fff;border-radius:12px;font-weight:700;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;box-shadow:0 6px 16px rgba(0,71,255,.28)}
.tt-btn:hover{background:var(--tt-blue-600);transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,71,255,.36)}
.tt-btn--wa{background:#25D366;box-shadow:0 6px 16px rgba(37,211,102,.30)}
.tt-btn--wa:hover{background:#1db855}

/* Page content cards + CTA blocks */
.ttx-card{border-radius:14px;transition:transform .16s ease,box-shadow .16s ease}
.ttx-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,71,255,.12)}
.ttx-card b{color:var(--tt-ink)}
.ttx-cta{background:linear-gradient(120deg,#eef3ff,#e6edff);border:1px solid #cfe0f7;border-radius:16px}
.ttx-cta a{background:var(--tt-blue);color:#fff;border-radius:10px;font-weight:700}
.ttx-cta a:hover{background:var(--tt-blue-600)}

/* FAQ accordions as clean cards */
.ttx-faq{border:1px solid #e6ebf1;border-radius:12px;padding:2px 16px;margin:10px 0;background:#fff;transition:box-shadow .16s ease}
.ttx-faq[open]{box-shadow:0 10px 24px rgba(0,71,255,.10);border-color:#cfe0f7}
.ttx-faq summary{font-weight:700;color:var(--tt-ink);padding:14px 0;cursor:pointer}
.ttx-faq[open] summary{color:var(--tt-blue)}

/* Trust icons + brand chips */
.tt-cert__i{color:var(--tt-blue)}
.ttx-brand{border:1px solid #cfe0f7;color:var(--tt-blue-600);border-radius:999px;font-weight:700;background:#f5f9ff}

/* Shop by Brand chips: clean logo-style cards; reliable text fallback when a logo image is missing */
.tt-brand{display:flex;align-items:center;justify-content:center;min-width:150px;height:82px;background:#fff;border:1px solid #e6ebf1;border-radius:12px;padding:14px 20px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-size:1.05rem;color:#0f1b2d;text-decoration:none;white-space:nowrap;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,color .16s ease}
.tt-brand:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,71,255,.14);border-color:#cfe0f7;color:#0047FF}

/* =========================================================================
   v2.0.8 - Checkout (WooCommerce Cart & Checkout Blocks) UI/UX
   Primary fix: the order-summary line item was wrapping one character per
   line because its description column collapsed to near-zero width. These
   rules force a clean grid layout with normal word wrapping, brand-blue
   actions and a tidy, sticky summary card. Scoped to WooCommerce block
   classes (plus classic-checkout fallbacks) so nothing else is affected.
   ========================================================================= */

/* ---- Order summary line item: the main fix ---- */
.wc-block-components-order-summary-item{
  display:grid !important;
  grid-template-columns:56px minmax(0,1fr) auto;
  gap:14px;
  align-items:start;
  padding:14px 0;
  border-bottom:1px solid #eef1f6;
}
.wc-block-components-order-summary__content .wc-block-components-order-summary-item:last-child{border-bottom:0}
.wc-block-components-order-summary-item__image{width:56px;min-width:56px;margin:0;position:relative}
.wc-block-components-order-summary-item__image img{
  width:56px;height:56px;object-fit:contain;background:#f7f9fc;
  border:1px solid #eef1f6;border-radius:10px;padding:4px;display:block;
}
/* description column MUST be able to shrink and wrap normally */
.wc-block-components-order-summary-item__description{min-width:0}
.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__description *{
  overflow-wrap:break-word;word-break:normal;hyphens:none;white-space:normal;
}
.wc-block-components-order-summary-item__description .wc-block-components-product-name{
  font-weight:600;line-height:1.3;font-size:.92rem;color:#14243a;
}
/* keep the auto-generated blurb to two tidy lines */
.wc-block-components-product-metadata__description{
  font-size:.8rem;color:#64748b;line-height:1.4;margin-top:3px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.wc-block-components-order-summary-item__total-price{
  white-space:nowrap;text-align:right;font-weight:700;color:#14243a;font-size:.92rem;
}
.wc-block-components-order-summary-item__total-price .wc-block-components-product-badge{
  display:inline-block;margin-top:6px;font-size:.68rem;font-weight:700;white-space:nowrap;
}
.wc-block-components-order-summary-item__quantity{transform:translate(-45%,-45%)}

/* ---- Summary totals + sticky sidebar on desktop ---- */
.wc-block-checkout__sidebar{position:sticky;top:16px;align-self:flex-start}
.wc-block-components-totals-wrapper{padding:6px 0}
.wc-block-components-totals-item{padding:5px 0}
.wc-block-components-totals-footer-item{font-size:1.06rem}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-weight:800;color:#0047FF}

/* ---- Brand-blue actions & selections ---- */
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout-actions-block .wc-block-components-button.contained,
#place_order,
.woocommerce #place_order{
  background:#0047FF !important;border-color:#0047FF !important;color:#fff !important;
  border-radius:999px !important;font-weight:700 !important;
}
.wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-checkout-actions-block .wc-block-components-button.contained:hover,
#place_order:hover,
.woocommerce #place_order:hover{background:#0033CC !important;border-color:#0033CC !important}
.wc-block-components-radio-control__input,
.wc-block-components-checkbox__input{accent-color:#0047FF}
.wc-block-components-text-input input:focus,
.wc-block-components-address-form input:focus{border-color:#0047FF;box-shadow:0 0 0 1px #0047FF}

/* ---- Classic checkout fallback (shortcode pages) ---- */
.woocommerce-checkout #order_review table.shop_table td,
.woocommerce-checkout #order_review table.shop_table th{overflow-wrap:break-word;word-break:normal}
.woocommerce-checkout #order_review .cart_item .product-name{width:66%}
.woocommerce-checkout #order_review img{max-width:56px;height:auto;border-radius:8px}

/* ---- Mobile ---- */
@media (max-width:900px){
  .wc-block-checkout__sidebar{position:static}
}
@media (max-width:560px){
  .wc-block-components-order-summary-item{grid-template-columns:46px minmax(0,1fr) auto;gap:10px}
  .wc-block-components-order-summary-item__image,
  .wc-block-components-order-summary-item__image img{width:46px;height:46px;min-width:46px}
}
