/*
 * KTHpart 0.6.4 professional visual system.
 * Loaded after the theme and Core styles so it can safely refine Elementor,
 * WooCommerce, catalogue and fallback theme output without editing page data.
 */
:root{
  --kth-primary:#c8102e;
  --kth-primary-dark:#9e0c25;
  --kth-primary-soft:#fff1f3;
  --kth-navy:#0d1b2a;
  --kth-navy-2:#13283b;
  --kth-ink:#17212b;
  --kth-muted:#687787;
  --kth-line:#e3e8ed;
  --kth-canvas:#f6f8fa;
  --kth-card:#fff;
  --kth-success:#198754;
  --kth-radius-sm:10px;
  --kth-radius:16px;
  --kth-radius-lg:24px;
  --kth-shadow-xs:0 1px 2px rgba(13,27,42,.05);
  --kth-shadow-sm:0 8px 24px rgba(13,27,42,.07);
  --kth-shadow-md:0 18px 45px rgba(13,27,42,.11);
  --kth-shadow-lg:0 26px 70px rgba(13,27,42,.16);
  --kth-container:1320px;
}

body{background:var(--kth-canvas);color:var(--kth-ink);font-size:14px}
body.admin-bar .site-header--elementor{top:32px}
@media(max-width:782px){body.admin-bar .site-header--elementor{top:46px}}

/* ---------- Global rhythm and controls ---------- */
.site-main{padding-block:42px}
.page-content,.content-card,.feature-grid article{border-color:var(--kth-line);border-radius:var(--kth-radius);box-shadow:var(--kth-shadow-xs)}
.button,button,input[type=submit],.elementor-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  min-height:44px;border-radius:12px!important;padding-inline:20px;background:var(--kth-primary);box-shadow:none;font-weight:800;transition:transform .18s ease,box-shadow .18s ease,background .18s ease
}
.button:hover,button:hover,input[type=submit]:hover,.elementor-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{
  background:var(--kth-primary-dark);box-shadow:0 9px 22px rgba(200,16,46,.2);transform:translateY(-1px)
}
input[type=text],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=password],input[type=number],textarea,select,
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container .select2-selection{
  border:1px solid #d5dde4!important;border-radius:12px!important;background:#fff;box-shadow:0 1px 0 rgba(13,27,42,.02);transition:border-color .18s ease,box-shadow .18s ease
}
input:focus,textarea:focus,select:focus,.select2-container--focus .select2-selection{
  border-color:#7296b4!important;box-shadow:0 0 0 4px rgba(52,105,148,.1)!important;outline:none
}

/* ---------- Professional Elementor header ---------- */
.site-header--elementor{
  position:sticky;top:0;z-index:999;border:0;background:#fff;box-shadow:0 8px 30px rgba(13,27,42,.09)
}
.site-header--elementor .elementor-widget,.site-header--elementor .elementor-widget-wrap{margin-bottom:0!important}
.site-header--elementor .elementor-section>.elementor-container,
.site-header--elementor .e-con>.e-con-inner{
  width:min(calc(100% - 36px),var(--kth-container));max-width:var(--kth-container)!important;margin-inline:auto
}

.kth-elementor-site-header-topbar{background:linear-gradient(90deg,var(--kth-navy),#132c42);color:#dce8f0}
.kth-elementor-site-header-topbar>.elementor-container{min-height:34px!important}
.kth-elementor-site-header-topbar .elementor-column,.kth-elementor-site-header-topbar .elementor-widget-wrap{width:100%!important;padding:0!important}
.kth-header-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:34px;font-size:.7rem}
.kth-header-topbar__trust,.kth-header-topbar__links{display:flex;align-items:center;gap:20px}
.kth-header-topbar__trust span{position:relative;padding-inline-start:13px;white-space:nowrap}
.kth-header-topbar__trust span:before{position:absolute;right:0;top:50%;width:5px;height:5px;border-radius:50%;background:#5ee18e;content:"";transform:translateY(-50%);box-shadow:0 0 0 4px rgba(94,225,142,.09)}
.kth-header-topbar__links a{color:#dce8f0}
.kth-header-topbar__links a:hover{color:#fff}

.kth-elementor-site-header-main{background:#fff}
.kth-elementor-site-header-main>.elementor-container{
  display:grid!important;grid-template-columns:minmax(190px,21%) minmax(360px,1fr) minmax(380px,35%);align-items:center;gap:22px;min-height:88px;padding-block:10px
}
.kth-elementor-site-header-main .elementor-column{width:auto!important;min-width:0}
.kth-elementor-site-header-main .elementor-column>.elementor-widget-wrap{display:flex!important;align-items:center;padding:0!important}
.kth-elementor-header-logo-column .elementor-widget-wrap{justify-content:flex-start}
.kth-elementor-header-search-column .elementor-widget-wrap{justify-content:center}
.kth-elementor-header-actions-column .elementor-widget-wrap{justify-content:flex-end}

.kth-elementor-site-logo{display:grid!important;grid-template-columns:46px auto;grid-template-rows:auto auto;column-gap:10px;direction:ltr;color:var(--kth-navy)!important;line-height:1;white-space:nowrap}
.kth-elementor-site-logo__mark{grid-row:1/3;display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:linear-gradient(145deg,var(--kth-primary),#e22a49);box-shadow:0 8px 18px rgba(200,16,46,.22);color:#fff;font-size:1.45rem;font-weight:950}
.kth-elementor-site-logo__word{align-self:end;font-size:1.6rem;font-weight:950;letter-spacing:-1px}
.kth-elementor-site-logo__word b{color:var(--kth-primary)}
.kth-elementor-site-logo small{align-self:start;margin-top:5px;color:#82909c;font-size:.57rem;font-weight:600;letter-spacing:0;direction:rtl}

.kth-elementor-header-search-column .elementor-widget,.kth-elementor-header-search-column .elementor-widget-container{width:100%}
.kth-elementor-header-search-column .kth-part-search{position:relative;display:flex;width:100%;max-width:650px;margin-inline:auto;padding:4px;border:1px solid #dbe2e8;border-radius:15px;background:#f8fafb;box-shadow:inset 0 1px 0 rgba(13,27,42,.02)}
.kth-elementor-header-search-column .kth-part-search:focus-within{border-color:#90aabd;box-shadow:0 0 0 4px rgba(45,101,145,.09)}
.kth-elementor-header-search-column .search-field{min-height:45px;border:0!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;padding-inline:16px;font-size:.85rem}
.kth-elementor-header-search-column .search-submit{min-width:112px;min-height:45px;border-radius:11px!important;padding-inline:18px}

.kth-elementor-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;width:100%}
.kth-elementor-header-actions .header-action{position:relative;display:flex;min-width:76px;align-items:center;justify-content:center;gap:8px;padding:9px 10px;border:1px solid transparent;border-radius:13px;color:#263746;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.kth-elementor-header-actions .header-action:hover{border-color:#e2e8ed;background:#f8fafb;color:var(--kth-primary);transform:translateY(-1px)}
.kth-elementor-header-actions .kth-icon{width:21px;height:21px}
.kth-elementor-header-actions .header-action>span:not(.cart-count){display:grid;line-height:1.25;text-align:right}
.kth-elementor-header-actions .header-action b,.kth-elementor-header-actions .vehicle-badge__label{font-size:.74rem;font-weight:850;white-space:nowrap}
.kth-elementor-header-actions .header-action small{max-width:105px;overflow:hidden;color:#82909c;font-size:.6rem;text-overflow:ellipsis;white-space:nowrap}
.kth-elementor-header-actions .cart-count{position:absolute;top:2px;left:3px;display:grid;min-width:18px;height:18px;place-items:center;border:2px solid #fff;border-radius:999px;background:var(--kth-primary);color:#fff;font-size:.6rem}

.kth-elementor-site-header-nav{border-top:1px solid #edf0f3;border-bottom:1px solid #dfe5ea;background:#fff}
.kth-elementor-site-header-nav>.elementor-container{
  display:grid!important;grid-template-columns:minmax(215px,23%) minmax(0,1fr) minmax(170px,18%);align-items:stretch;gap:0;min-height:54px
}
.kth-elementor-site-header-nav .elementor-column{width:auto!important;min-width:0}
.kth-elementor-site-header-nav .elementor-column>.elementor-widget-wrap{display:flex!important;align-items:stretch;padding:0!important}
.kth-elementor-site-header-nav .elementor-widget,.kth-elementor-site-header-nav .elementor-widget-container{width:100%;height:100%}

.kth-elementor-header-catalog-column .catalog-menu-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;height:54px;direction:rtl}
.kth-elementor-header-catalog-column .catalog-menu{position:relative;width:100%;height:54px}
.kth-elementor-header-catalog-column .catalog-menu>summary{display:flex;min-height:54px;align-items:center;justify-content:center;gap:6px;padding-inline:10px;border-radius:10px;background:linear-gradient(135deg,var(--kth-primary),#de2140);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);color:#fff;font-size:.77rem;font-weight:900;cursor:pointer;list-style:none;white-space:nowrap}
.kth-elementor-header-catalog-column .catalog-menu>summary::-webkit-details-marker{display:none}
.kth-elementor-header-catalog-column .catalog-menu>summary .catalog-menu__summary-label{display:flex;min-width:0;align-items:center;gap:6px}
.kth-elementor-header-catalog-column .catalog-menu>summary .catalog-menu__summary-label>span{overflow:hidden;text-overflow:ellipsis}
.kth-elementor-header-catalog-column .catalog-menu>summary .catalog-menu__summary-label .kth-icon{width:18px;height:18px}
.kth-elementor-header-catalog-column .catalog-menu>summary .kth-icon:last-child{margin-inline-start:auto;width:15px}
.kth-elementor-header-catalog-column .catalog-menu__panel{top:calc(100% + 8px);right:0;left:auto;display:block;width:min(360px,calc(100vw - 56px));transform:translateX(var(--kth-catalog-panel-shift,0px));border:1px solid #e0e6eb;border-radius:18px;box-shadow:var(--kth-shadow-lg);overflow:visible}
.kth-elementor-header-catalog-column .catalog-menu__panel--categories{display:block;grid-template-columns:1fr;gap:0;width:min(440px,calc(100vw - 56px))}
.kth-elementor-header-catalog-column .catalog-menu--models .catalog-menu__panel{right:auto;left:0}
.kth-elementor-header-catalog-column .catalog-menu:not([open])>.catalog-menu__panel{display:none}

.kth-elementor-primary-nav{display:flex;width:100%;height:100%;align-items:stretch;overflow:visible}
.kth-elementor-primary-nav ul,.kth-elementor-primary-nav .menu,.kth-elementor-primary-menu{
  display:flex!important;width:100%;height:100%;align-items:stretch;justify-content:center;gap:5px;margin:0!important;padding:0 18px!important;list-style:none!important;white-space:nowrap
}
.kth-elementor-primary-nav li,.kth-elementor-primary-menu li{position:relative;display:flex!important;align-items:stretch;margin:0!important;padding:0!important;list-style:none!important}
.kth-elementor-primary-nav li:before,.kth-elementor-primary-menu li:before{display:none!important;content:none!important}
.kth-elementor-primary-nav>ul>li>a,.kth-elementor-primary-menu>li>a{
  position:relative;display:flex!important;align-items:center;padding:0 14px!important;color:#233443;font-size:.82rem;font-weight:800
}
.kth-elementor-primary-nav>ul>li>a:after,.kth-elementor-primary-menu>li>a:after{position:absolute;right:14px;bottom:0;left:14px;height:3px;border-radius:4px 4px 0 0;background:var(--kth-primary);content:"";opacity:0;transform:scaleX(.5);transition:opacity .18s ease,transform .18s ease}
.kth-elementor-primary-nav>ul>li>a:hover,.kth-elementor-primary-menu>li>a:hover{color:var(--kth-primary)}
.kth-elementor-primary-nav>ul>li>a:hover:after,.kth-elementor-primary-menu>li>a:hover:after,.kth-elementor-primary-nav .current-menu-item>a:after,.kth-elementor-primary-menu .current-menu-item>a:after{opacity:1;transform:scaleX(1)}
.kth-elementor-primary-nav .sub-menu,.kth-elementor-primary-menu .sub-menu{position:absolute!important;z-index:70;top:calc(100% + 8px);right:0;display:none!important;width:230px!important;height:auto!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;padding:9px!important;border:1px solid #e0e6eb;border-radius:14px;background:#fff;box-shadow:var(--kth-shadow-md);white-space:normal!important}
.kth-elementor-primary-nav li:hover>.sub-menu,.kth-elementor-primary-nav li:focus-within>.sub-menu,.kth-elementor-primary-menu li:hover>.sub-menu,.kth-elementor-primary-menu li:focus-within>.sub-menu{display:flex!important}
.kth-elementor-primary-nav .sub-menu li,.kth-elementor-primary-menu .sub-menu li{display:block!important;width:100%}
.kth-elementor-primary-nav .sub-menu a,.kth-elementor-primary-menu .sub-menu a{display:block!important;padding:9px 11px!important;border-radius:9px;color:#354552;font-size:.76rem}
.kth-elementor-primary-nav .sub-menu a:hover,.kth-elementor-primary-menu .sub-menu a:hover{background:var(--kth-primary-soft);color:var(--kth-primary)}

.kth-elementor-header-quick-column .elementor-widget-wrap{padding-right:12px!important}
.kth-elementor-header-quick-column .elementor-button{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center;border:1px solid #d6dee5;border-radius:11px!important;background:#fff;color:var(--kth-navy);font-size:.78rem;font-weight:900;box-shadow:none}
.kth-elementor-header-quick-column .elementor-button:before{display:inline-block;width:7px;height:7px;margin-inline-end:8px;border-radius:50%;background:#45bf70;box-shadow:0 0 0 4px rgba(69,191,112,.12);content:""}
.kth-elementor-header-quick-column .elementor-button:hover{border-color:var(--kth-primary);background:var(--kth-primary-soft);color:var(--kth-primary);box-shadow:none}

.kth-elementor-site-header-mobile{display:none;background:#fff}
.kth-elementor-site-header-mobile>.elementor-container{width:100%!important;max-width:none!important}
.kth-elementor-site-header-mobile .elementor-column,.kth-elementor-site-header-mobile .elementor-widget-wrap{width:100%!important;padding:0!important}
.kth-mobile-header{display:flex;min-height:68px;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid #e2e7eb;background:#fff}
.kth-mobile-header__logo{direction:ltr;color:var(--kth-navy)!important;font-size:1.35rem;font-weight:950}
.kth-mobile-header__logo span{color:var(--kth-primary)}
.kth-mobile-header__tools{display:flex;align-items:center;gap:7px}
.kth-mobile-header__tool,.kth-mobile-header__menu>summary{position:relative;display:grid;width:42px;height:42px;place-items:center;border:1px solid #e0e6eb;border-radius:12px;background:#f8fafb;color:#263746;cursor:pointer}
.kth-mobile-header__tool .kth-icon,.kth-mobile-header__menu .kth-icon{width:21px;height:21px}
.kth-mobile-header__cart>span{position:absolute;top:-4px;left:-4px;display:grid;min-width:18px;height:18px;place-items:center;border:2px solid #fff;border-radius:50%;background:var(--kth-primary);color:#fff;font-size:.58rem}
.kth-mobile-header__menu>summary::-webkit-details-marker{display:none}
.kth-mobile-header__panel{position:fixed;z-index:1100;top:0;right:0;bottom:0;width:min(88vw,380px);overflow-y:auto;padding:20px;background:#fff;box-shadow:-18px 0 50px rgba(13,27,42,.22)}
.kth-mobile-header__menu:not([open]) .kth-mobile-header__panel{display:none}
.kth-mobile-header__panel-head{display:grid;gap:3px;margin-bottom:18px;padding-bottom:15px;border-bottom:1px solid #e5eaee}
.kth-mobile-header__panel-head strong{font-size:1rem}
.kth-mobile-header__panel-head span{color:var(--kth-muted);font-size:.68rem}
.kth-mobile-header__search .kth-part-search{display:flex;padding:4px;border:1px solid #dbe2e8;border-radius:13px;background:#f7f9fb}
.kth-mobile-header__search .search-field{min-width:0;min-height:42px;border:0!important;background:transparent!important;box-shadow:none!important;font-size:.75rem}
.kth-mobile-header__search .search-submit{min-height:42px;padding-inline:12px;border-radius:10px!important;font-size:.7rem}
.kth-mobile-header__vehicle{display:flex;align-items:center;gap:11px;margin:14px 0;padding:13px;border:1px solid #dce4ea;border-radius:13px;background:linear-gradient(145deg,#f8fafc,#fff)}
.kth-mobile-header__vehicle>span{display:grid;font-size:.73rem}
.kth-mobile-header__vehicle small{color:var(--kth-muted);font-size:.62rem}
.kth-mobile-header__nav ul{display:grid!important;gap:4px;margin:0!important;padding:0!important;list-style:none!important}
.kth-mobile-header__nav li{list-style:none!important}
.kth-mobile-header__nav a{display:block;padding:11px 12px;border-radius:10px;color:#293a48;font-size:.78rem;font-weight:750}
.kth-mobile-header__nav a:hover{background:var(--kth-primary-soft);color:var(--kth-primary)}
.kth-mobile-header__nav .sub-menu{margin:2px 12px 5px 0!important;padding-right:10px!important;border-right:2px solid #edf0f3}
.kth-mobile-header__links{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:18px}
.kth-mobile-header__links a{display:grid;min-height:58px;place-items:center;padding:8px;border:1px solid #e0e6eb;border-radius:11px;background:#f8fafb;text-align:center;font-size:.68rem;font-weight:800}

/* ---------- Native fallback header gets the same visual language ---------- */
.site-header:not(.site-header--elementor){border:0;background:#fff;box-shadow:0 8px 30px rgba(13,27,42,.08)}
.site-header:not(.site-header--elementor) .header-main{min-height:88px;grid-template-columns:190px minmax(340px,1fr) auto;gap:22px}
.site-header:not(.site-header--elementor) .site-title{color:var(--kth-navy);font-size:1.7rem}
.site-header:not(.site-header--elementor) .header-search .kth-part-search{display:flex;padding:4px;border:1px solid #dbe2e8;border-radius:15px;background:#f8fafb}
.site-header:not(.site-header--elementor) .header-search .search-field{border:0!important;background:transparent!important;box-shadow:none!important}
.site-header:not(.site-header--elementor) .main-navigation{border-color:#e5eaee}

/* ---------- Homepage and Elementor sections ---------- */
.kth-elementor-catalog-hero,.kth-catalog-hero{border-radius:0 0 30px 30px;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08)}
.kth-elementor-catalog-hero:before,.kth-catalog-hero:after{background:linear-gradient(90deg,rgba(5,15,25,.1) 15%,rgba(7,22,35,.88) 73%,rgba(7,22,35,.98))}
.kth-elementor-hero-copy .elementor-heading-title,.kth-catalog-hero h1{letter-spacing:-.7px;text-shadow:0 3px 22px rgba(0,0,0,.18)}
.kth-elementor-finder,.kth-hero-finder{border:1px solid rgba(91,151,191,.35);border-radius:20px;background:rgba(232,246,255,.97);box-shadow:0 18px 44px rgba(23,62,88,.15);backdrop-filter:blur(10px)}
.kth-elementor-popular,.kth-elementor-accessories,.kth-elementor-intro,.kth-elementor-models,.kth-elementor-confidence{width:min(calc(100% - 32px),var(--kth-container));margin-inline:auto}
.kth-elementor-promo,.kth-promo-strip{border-radius:22px;box-shadow:var(--kth-shadow-md);overflow:hidden}

/* ---------- Vehicle finder and catalogue controls ---------- */
.kth-vehicle-selector{gap:8px!important;border-radius:16px!important}
.kth-vehicle-selector select,.kth-vehicle-selector button{min-height:44px!important;border-radius:11px!important}
.kth-vehicle-selector__status{color:#6d7d89!important;font-size:.68rem!important}
.kth-garage,.kth-b2b-cta,.kth-smart-search-notice{border:1px solid #e0e6eb!important;border-radius:var(--kth-radius)!important;background:#fff!important;box-shadow:var(--kth-shadow-sm)}
.kth-vehicle-parts__header{border-radius:20px!important;background:linear-gradient(135deg,#0b1b2a,#183a52)!important;box-shadow:var(--kth-shadow-md)!important}
.kth-parts-tree__node{border-color:#dce4ea!important;border-radius:13px!important;box-shadow:var(--kth-shadow-xs)}
.kth-parts-tree__node>summary{background:linear-gradient(180deg,#fbfcfd,#f5f8fa)!important}
.kth-tree-product{border-color:#e3e8ed!important;border-radius:12px!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.kth-tree-product:hover{border-color:#ef9dad!important;box-shadow:var(--kth-shadow-sm);transform:translateY(-2px)}

/* ---------- WooCommerce catalogue ---------- */
.woocommerce .woocommerce-breadcrumb{font-size:.72rem}
.woocommerce .products{gap:20px!important}
.woocommerce ul.products li.product{position:relative;display:flex;min-width:0;flex-direction:column;overflow:hidden;padding:0!important;border:1px solid #e0e6eb!important;border-radius:18px!important;background:#fff;box-shadow:var(--kth-shadow-xs);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.woocommerce ul.products li.product:hover{border-color:#ef9aaa!important;box-shadow:var(--kth-shadow-md);transform:translateY(-4px)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;min-height:100%;flex:1;flex-direction:column}
.woocommerce ul.products li.product a img{width:100%!important;height:210px!important;margin:0!important;padding:18px;object-fit:contain;background:linear-gradient(145deg,#fbfcfd,#f1f4f6);transition:transform .25s ease}
.woocommerce ul.products li.product:hover a img{transform:scale(1.035)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:58px;margin:0!important;padding:16px 16px 6px!important;color:#223340;font-size:.85rem!important;line-height:1.8}
.woocommerce ul.products li.product .price{margin-top:auto;padding:0 16px 13px;color:var(--kth-primary)!important;font-size:.86rem!important;font-weight:900}
.woocommerce ul.products li.product .button{margin:0 14px 14px!important;border-radius:11px!important;text-align:center}
.woocommerce span.onsale{top:12px!important;right:12px!important;left:auto!important;min-width:auto!important;min-height:auto!important;padding:5px 9px!important;border-radius:9px!important;background:var(--kth-primary)!important;font-size:.66rem!important;line-height:1.3!important}
.woocommerce-ordering select{min-height:42px;padding-inline:12px}
.shop-toolbar,.archive-header--shop{padding:18px;border:1px solid #e1e7ec;border-radius:16px;background:#fff;box-shadow:var(--kth-shadow-xs)}

/* ---------- Product detail ---------- */
.woocommerce div.product{gap:28px!important}
.woocommerce div.product .woocommerce-product-gallery,.woocommerce div.product .summary{padding:24px;border:1px solid #e0e6eb;border-radius:20px;background:#fff;box-shadow:var(--kth-shadow-sm)}
.woocommerce div.product .woocommerce-product-gallery{overflow:hidden}
.woocommerce div.product .product_title{margin-top:0;color:#142533;font-size:clamp(1.65rem,2.5vw,2.35rem);letter-spacing:-.5px}
.woocommerce div.product .price{font-size:1.5rem!important}
.woocommerce div.product .woocommerce-tabs{padding:24px;border:1px solid #e0e6eb;border-radius:20px;background:#fff;box-shadow:var(--kth-shadow-xs)}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:7px;padding:0!important;border:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:1px solid #e0e6eb!important;border-radius:10px!important;background:#f7f9fa!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-color:var(--kth-primary)!important;background:var(--kth-primary-soft)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:9px 15px!important}
.related.products,.upsells.products{padding:22px;border:1px solid #e0e6eb;border-radius:20px;background:#fff}

/* ---------- Cart, checkout and account ---------- */
.woocommerce table.shop_table{overflow:hidden;border-color:#e0e6eb!important;border-radius:16px!important;background:#fff;box-shadow:var(--kth-shadow-xs)}
.woocommerce table.shop_table th{background:#f5f8fa}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review,.woocommerce-account .woocommerce-MyAccount-content{border-color:#e0e6eb!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--kth-shadow-sm)}
.woocommerce-account .woocommerce-MyAccount-navigation ul{border-color:#e0e6eb!important;border-radius:14px!important;background:#fff}

/* ---------- Footer ---------- */
.site-footer--elementor{position:relative;margin-top:48px;background:var(--kth-navy);color:#e6eef4}
.kth-elementor-site-footer-services{border:0!important;background:#fff!important;color:#20323f!important}
.kth-elementor-service-strip{gap:0;border:1px solid #e0e6eb;border-radius:20px 20px 0 0;background:#fff;box-shadow:0 -10px 35px rgba(13,27,42,.07);overflow:hidden}
.kth-elementor-service-strip>div{position:relative;min-height:96px;padding:20px 26px;border-color:#e6ebef!important}
.kth-elementor-service-strip>div:before{display:block;width:30px;height:4px;margin-bottom:9px;border-radius:4px;background:linear-gradient(90deg,var(--kth-primary),#ec667c);content:""}
.kth-elementor-site-footer-main{padding:54px 0 36px!important;background:linear-gradient(135deg,var(--kth-navy),#142d42)!important}
.kth-elementor-site-footer-main .elementor-column>.elementor-widget-wrap{padding:10px 24px!important}
.kth-elementor-footer-block h3{font-size:1rem!important}
.kth-elementor-footer-block a{transition:color .18s ease,transform .18s ease}
.kth-elementor-footer-block a:hover{display:inline-block;color:#fff!important;transform:translateX(-3px)}
.kth-elementor-site-footer-bottom{border-color:rgba(255,255,255,.09)!important;background:#0a1723!important}

/* ---------- Elementor editor friendliness ---------- */
.elementor-editor-active .site-header--elementor{position:relative;top:0}
.elementor-editor-active .kth-elementor-site-header-topbar,
.elementor-editor-active .kth-elementor-site-header-main,
.elementor-editor-active .kth-elementor-site-header-nav,
.elementor-editor-active .kth-elementor-site-header-mobile{outline:1px dashed rgba(200,16,46,.28);outline-offset:-1px}

/* ---------- Responsive header ---------- */
@media(max-width:1240px){
  .kth-elementor-site-header-main>.elementor-container{grid-template-columns:170px minmax(300px,1fr) minmax(275px,30%);gap:14px}
  .kth-elementor-header-actions .header-action{min-width:44px;padding:9px 7px}
  .kth-elementor-header-actions .header-action>span:not(.cart-count){display:none}
  .kth-elementor-site-header-nav>.elementor-container{grid-template-columns:205px minmax(0,1fr) 155px}
  .kth-elementor-primary-nav ul,.kth-elementor-primary-nav .menu,.kth-elementor-primary-menu{gap:0;padding-inline:8px!important}
  .kth-elementor-primary-nav>ul>li>a,.kth-elementor-primary-menu>li>a{padding-inline:10px!important;font-size:.76rem}
}

@media(max-width:900px){
  .kth-elementor-site-header-topbar,.kth-elementor-site-header-main,.kth-elementor-site-header-nav{display:none!important}
  .kth-elementor-site-header-mobile{display:block!important}
  .site-header--elementor{position:sticky}
  .site-main{padding-block:28px}
  .woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .woocommerce div.product .woocommerce-product-gallery,.woocommerce div.product .summary{padding:18px}
}

@media(max-width:767px){
  body.admin-bar .kth-mobile-header__panel{top:46px}
  .kth-elementor-popular,.kth-elementor-accessories,.kth-elementor-intro,.kth-elementor-models,.kth-elementor-confidence{width:min(calc(100% - 20px),var(--kth-container))}
  .kth-elementor-finder,.kth-hero-finder{border-radius:16px}
  .woocommerce div.product .woocommerce-tabs{padding:14px}
  .woocommerce div.product .woocommerce-tabs ul.tabs{overflow-x:auto}
  .woocommerce div.product .woocommerce-tabs ul.tabs li{white-space:nowrap}
  .kth-elementor-service-strip{grid-template-columns:1fr 1fr!important;border-radius:16px 16px 0 0}
}

@media(max-width:480px){
  .kth-mobile-header{padding-inline:10px}
  .kth-mobile-header__links{grid-template-columns:1fr}
  .woocommerce .products{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .woocommerce ul.products li.product a img{height:145px!important;padding:10px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:56px;padding:11px 10px 4px!important;font-size:.72rem!important}
  .woocommerce ul.products li.product .price{padding:0 10px 9px;font-size:.72rem!important}
  .woocommerce ul.products li.product .button{min-height:38px;margin:0 8px 8px!important;padding-inline:8px;font-size:.68rem}
  .kth-elementor-service-strip{grid-template-columns:1fr!important}
}
@media(max-width:1100px){.kth-elementor-header-catalog-column .catalog-menu>summary{padding-inline:5px;font-size:.7rem}.kth-elementor-header-catalog-column .catalog-menu>summary .catalog-menu__summary-label .kth-icon:first-child{display:none}}
