/* TEVCO 6.30 — consistent internal-storefront experience. Visual only: no cart, price or order logic changes. */
body.tevco-ux-6300:not(.home){
 --tevco-ui-navy:#0b2f4f;--tevco-ui-deep:#112e48;--tevco-ui-red:#a60517;
 --tevco-ui-bg:#f7f9fb;--tevco-ui-surface:#fff;--tevco-ui-line:#e1e7ed;
 --tevco-ui-text:#192f45;--tevco-ui-muted:#62758a;--tevco-ui-radius:16px;
 background:#f7f9fb;color:#192f45;
}
body.tevco-ux-6300:not(.home) :is(.tevco-shop-main,.tevco-content,.tevco-search-page){
 max-width:1430px;width:calc(100% - 44px);margin-inline:auto;
}
body.tevco-ux-6300:not(.home) .tevco-shop-main{padding-block:26px 62px}
/* General informational, policy and editorial pages. */
body.tevco-ux-6300:not(.home) .tevco-content{padding-block:28px 66px}
body.tevco-ux-6300:not(.home) .tevco-content>article{max-width:100%;min-width:0}
body.tevco-ux-6300:not(.home) .tevco-inner-page-header-6300{
 position:relative;background:#fff;border:1px solid var(--tevco-ui-line);border-radius:18px;
 margin:0 0 25px;padding:25px clamp(18px,3vw,36px);box-shadow:0 8px 25px rgba(11,47,79,.035);
}
body.tevco-ux-6300:not(.home) .tevco-inner-page-header-6300::before{
 content:"";position:absolute;inset-inline-start:0;top:22px;bottom:22px;width:3px;background:#a60517;border-radius:3px;
}
body.tevco-ux-6300:not(.home) .tevco-inner-page-header-6300 h1{
 margin:9px 0 0;color:#102c46;font-size:clamp(24px,2.8vw,34px);line-height:1.45;font-weight:850;
}
body.tevco-ux-6300:not(.home) .tevco-page-breadcrumb-6300{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;color:#697b8e}
body.tevco-ux-6300:not(.home) .tevco-page-breadcrumb-6300 a{color:#425d76;text-decoration:none}
body.tevco-ux-6300:not(.home) .tevco-page-breadcrumb-6300 a:hover{color:#a60517;text-decoration:underline}
body.tevco-ux-6300:not(.home) .tevco-content :is(.tevco-info-page h2,.tevco-info-page h3,.tevco-article h2,.tevco-article h3){color:#132f48}
body.tevco-ux-6300:not(.home) :is(.tevco-content,.tevco-shop-main) :is(p,li){overflow-wrap:break-word}
body.tevco-ux-6300:not(.home) :is(.tevco-content,.tevco-shop-main) a:focus-visible{
 outline:3px solid rgba(166,5,23,.65);outline-offset:3px;
}
/* Breadcrumbs and the shop/category archive intro. */
body.tevco-ux-6300 :is(.woocommerce-breadcrumb,.woocommerce .woocommerce-breadcrumb){
 font-size:12px!important;color:#748296!important;margin:0 0 16px!important;line-height:1.75!important;
}
body.tevco-ux-6300 .woocommerce-breadcrumb a{color:#45617a!important;text-decoration:none}
body.tevco-ux-6300 .woocommerce-breadcrumb a:hover{color:#a60517!important}
body.tevco-ux-6300 .tevco-catalog-intro{
 background:#fff!important;border:1px solid #e0e7ef!important;border-radius:20px!important;
 box-shadow:0 12px 34px rgba(11,47,79,.045)!important;overflow:hidden;
}
body.tevco-ux-6300 .tevco-catalog-intro h1{color:#0b2f4f!important;font-size:clamp(25px,3vw,37px)!important;line-height:1.45!important}
body.tevco-ux-6300 .tevco-catalog-intro p{color:#62768a!important;line-height:1.85!important;max-width:65ch}
body.tevco-ux-6300 .tevco-catalog-toolbar{
 background:#fff!important;border:1px solid #e1e7ed!important;border-radius:13px!important;
 padding:12px 15px!important;display:flex;align-items:center;flex-wrap:wrap;gap:10px;
}
body.tevco-ux-6300 .tevco-filter-open,
body.tevco-ux-6300 .tevco-filter-actions button{
 background:#0b2f4f!important;color:#fff!important;border-radius:10px!important;min-height:43px!important;
}
body.tevco-ux-6300 :is(.woocommerce-ordering select,.tevco-price-inputs input){
 min-height:44px;border:1px solid #d8e1e9!important;border-radius:10px!important;background:#fff;color:#203b53;
}
/* Product grid; preserve the merchant's number of columns and WooCommerce purchase hooks. */
body.tevco-ux-6300 .woocommerce ul.products li.product{
 background:#fff!important;border:1px solid #e2e8ef!important;border-radius:16px!important;
 overflow:hidden;box-shadow:0 7px 23px rgba(11,47,79,.045)!important;
 transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease!important;
}
body.tevco-ux-6300 .woocommerce ul.products li.product:hover{
 border-color:#c4d1dc!important;box-shadow:0 15px 32px rgba(11,47,79,.095)!important;transform:translateY(-2px);
}
body.tevco-ux-6300 .woocommerce ul.products li.product :is(.woocommerce-loop-product__title,h2){
 color:#162f48!important;font-size:13px!important;line-height:1.65!important;font-weight:750!important;
}
body.tevco-ux-6300 .woocommerce ul.products li.product .price{color:#a60517!important;font-weight:850!important;line-height:1.45!important}
body.tevco-ux-6300 .woocommerce ul.products li.product .button{
 border-radius:10px!important;background:#a60517!important;color:#fff!important;border:1px solid #a60517!important;
 box-shadow:none!important;min-height:43px!important;
}
body.tevco-ux-6300 .woocommerce ul.products li.product .button:hover{background:#88051a!important;border-color:#88051a!important}
/* Product pages: image and summary maintain WooCommerce's original variation/cart controls. */
body.tevco-ux-6300.single-product .tevco-shop-main{padding-top:23px}
body.tevco-ux-6300.single-product .woocommerce div.product .woocommerce-product-gallery{
 border:1px solid #e2e8ef;border-radius:19px;overflow:hidden;background:#fff;
 box-shadow:0 9px 30px rgba(11,47,79,.035);
}
body.tevco-ux-6300.single-product .woocommerce div.product .summary{
 background:#fff;border:1px solid #e0e7ee;border-radius:19px;padding:clamp(17px,2.8vw,30px);
 box-shadow:0 9px 30px rgba(11,47,79,.035);
}
body.tevco-ux-6300.single-product .woocommerce div.product .product_title{
 color:#102d46!important;font-size:clamp(22px,2.3vw,31px)!important;line-height:1.55!important;font-weight:850!important;
}
body.tevco-ux-6300.single-product .woocommerce div.product .summary .price{
 color:#a60517!important;font-weight:850!important;
}
body.tevco-ux-6300.single-product .woocommerce div.product .summary :is(input.qty,select){
 border:1px solid #d9e2eb!important;border-radius:10px!important;min-height:45px;background:#fff;
}
body.tevco-ux-6300.single-product .woocommerce div.product .summary .single_add_to_cart_button{
 min-height:48px;border-radius:12px!important;background:#a60517!important;color:#fff!important;border:0!important;
 box-shadow:none!important;font-weight:800!important;
}
body.tevco-ux-6300.single-product .woocommerce div.product .summary .single_add_to_cart_button:hover{background:#89051b!important}
body.tevco-ux-6300.single-product .woocommerce div.product .woocommerce-tabs{
 background:#fff;border:1px solid #e1e7ed;border-radius:18px;padding:clamp(16px,2.5vw,30px);margin-top:24px;
}
body.tevco-ux-6300.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#a60517!important}
/* Cart, checkout, and account: only presentation, not field states, validation or gateways. */
body.tevco-ux-6300.woocommerce-cart .woocommerce-cart-form,
body.tevco-ux-6300.woocommerce-cart .cart_totals,
body.tevco-ux-6300.woocommerce-account .woocommerce-MyAccount-navigation,
body.tevco-ux-6300.woocommerce-account .woocommerce-MyAccount-content{
 border:1px solid #e1e7ee!important;border-radius:17px!important;
 background:#fff!important;box-shadow:0 8px 27px rgba(11,47,79,.035)!important;
}
body.tevco-ux-6300.woocommerce-cart .cart_totals h2{font-size:21px!important;color:#102d46!important}
body.tevco-ux-6300 :is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) :is(.button,.button.alt):not(.wc-block-components-button):not(.is-disabled){
 border-radius:11px!important;
}
body.tevco-ux-6300.woocommerce-cart .woocommerce a.checkout-button,
body.tevco-ux-6300.woocommerce-checkout .woocommerce #place_order{
 background:#a60517!important;color:#fff!important;border:0!important;
 border-radius:12px!important;min-height:52px!important;box-shadow:none!important;font-weight:800!important;
}
body.tevco-ux-6300.woocommerce-checkout :is(.woocommerce-checkout-review-order,.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2){
 border:1px solid #e1e7ed!important;border-radius:18px!important;background:#fff!important;
 box-shadow:0 8px 27px rgba(11,47,79,.04)!important;
}
body.tevco-ux-6300.woocommerce-account .woocommerce-MyAccount-navigation ul li a{
 color:#203c56;font-weight:700;border-radius:9px;
}
body.tevco-ux-6300.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a{
 background:#fbeff1;color:#a60517!important;
}
body.tevco-ux-6300 :is(.woocommerce-account,.woocommerce-checkout,.woocommerce-cart) :is(input.input-text,select,textarea){
 border-color:#d8e1e9!important;border-radius:10px!important;min-height:45px!important;
 background:#fff!important;color:#19324b!important;
}
body.tevco-ux-6300 :is(.woocommerce-account,.woocommerce-checkout,.woocommerce-cart) :is(input,select,textarea):focus-visible{
 outline:2px solid #a60517!important;outline-offset:2px!important;
}
body.tevco-ux-6300 .woocommerce :is(.woocommerce-message,.woocommerce-info){
 border-top-color:#0b2f4f!important;background:#edf4f8!important;color:#17334e!important;border-radius:10px!important;
}
body.tevco-ux-6300 .woocommerce .woocommerce-error{border-top-color:#a60517!important;border-radius:10px!important}
/* Internal search and zero-result states. */
body.tevco-ux-6300 .tevco-search-page{padding-block:26px 64px}
body.tevco-ux-6300 .tevco-search-head{
 display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
 background:#fff;border:1px solid #e1e7ed;border-radius:18px;padding:25px clamp(18px,3vw,32px);
}
body.tevco-ux-6300 .tevco-search-head h1{font-size:clamp(25px,3vw,36px);color:#0b2f4f;margin:0 0 5px}
body.tevco-ux-6300 .tevco-search-head p{color:#63778a}
body.tevco-ux-6300 .tevco-search-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-top:24px}
body.tevco-ux-6300 .tevco-search-result,
body.tevco-ux-6300 .tevco-state-card{
 background:#fff;border:1px solid #e1e7ed;border-radius:16px;padding:22px;box-shadow:0 7px 23px rgba(11,47,79,.03);
}
body.tevco-ux-6300 .tevco-search-result h2{font-size:18px;line-height:1.6}
body.tevco-ux-6300 .tevco-search-result h2 a{color:#0b2f4f;text-decoration:none}
body.tevco-ux-6300 .tevco-search-result h2 a:hover{color:#a60517}
/* Readability & device-specific safety; do not force WooCommerce grid dimensions. */
@media(max-width:800px){
 body.tevco-ux-6300:not(.home) :is(.tevco-shop-main,.tevco-content,.tevco-search-page){width:calc(100% - 26px)}
 body.tevco-ux-6300:not(.home) .tevco-shop-main{padding-block:16px 42px}
 body.tevco-ux-6300:not(.home) .tevco-content{padding-block:17px 45px}
 body.tevco-ux-6300.single-product .woocommerce div.product .summary{padding:17px}
 body.tevco-ux-6300 .tevco-catalog-intro{border-radius:14px!important}
}
@media(max-width:480px){
 body.tevco-ux-6300:not(.home) .tevco-inner-page-header-6300{padding:18px;margin-bottom:18px}
 body.tevco-ux-6300 .tevco-catalog-toolbar{padding:10px!important}
 body.tevco-ux-6300 .tevco-search-head{padding:20px}
}
@media(prefers-reduced-motion:reduce){body.tevco-ux-6300 .woocommerce ul.products li.product{transition:none!important;transform:none!important}}

/* Support, installation, 404 and empty states use the same restrained shells. */
body.tevco-ux-6300 .tevco-info-page{
 border:1px solid #e1e7ed!important;border-radius:20px!important;background:#fff!important;
 box-shadow:0 10px 30px rgba(11,47,79,.045)!important;
 padding:clamp(20px,4vw,44px)!important;line-height:1.95!important;
}
body.tevco-ux-6300 .tevco-info-page h1{font-size:clamp(25px,3vw,37px)!important;line-height:1.5!important;color:#0b2f4f!important}
body.tevco-ux-6300 .tevco-info-page :is(h2,h3){color:#16334c!important;line-height:1.55!important}
body.tevco-ux-6300 .tevco-info-page a:not(.button){color:#a60517;text-underline-offset:3px}
body.tevco-ux-6300 .tevco-error-page{
 min-height:55vh;display:grid;place-items:center;width:calc(100% - 26px);max-width:1050px;
 margin:35px auto 65px;
}
body.tevco-ux-6300 .tevco-error-page .tevco-state-card{width:100%;max-width:760px;padding:clamp(26px,5vw,55px)!important;text-align:center}
body.tevco-ux-6300 .tevco-error-page .tevco-state-code{
 display:inline-flex;align-items:center;justify-content:center;min-width:78px;height:52px;
 border-radius:12px;background:#fff1f3;color:#a60517;font-size:22px;font-weight:900;
}
body.tevco-ux-6300 .tevco-error-page h1{color:#0b2f4f;font-size:clamp(26px,3.5vw,37px)}
body.tevco-ux-6300 .tevco-error-page p{color:#627589}
body.tevco-ux-6300 .tevco-error-page .tevco-state-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
body.tevco-ux-6300 .tevco-error-page .tevco-state-actions a{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;
 padding:8px 16px;background:#a60517;color:#fff;text-decoration:none;font-weight:800;
}
body.tevco-ux-6300 .tevco-error-page .tevco-state-actions a.is-secondary{background:#edf2f7;color:#0b2f4f;border:1px solid #dce4ec}
/* Do not interfere with gateway brands, order-status text or widget-specific scripts. */
body.tevco-ux-6300 :is(.woocommerce-account,.woocommerce-cart,.woocommerce-checkout) a:focus-visible{outline:3px solid #bd6c79;outline-offset:2px}
