/*
Theme Name: EngCar Care
Theme URI: https://www.engcarcare.com/
Author: EngCar Care
Description: Responsive EngCar Care WooCommerce storefront.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: engcar-care
*/

:root{--ink:#17232e;--muted:#64717c;--cream:#f7f7f4;--paper:#fff;--line:#e6e8e6;--accent:#d47b38;--accent-dark:#b65e22;--green:#24483d;--radius:18px;--shadow:0 12px 35px rgba(22,35,46,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--accent-dark)}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.wrap{width:min(1200px,calc(100% - 40px));margin-inline:auto}.announcement{background:var(--ink);color:#fff;text-align:center;padding:8px 16px;font-size:13px;letter-spacing:.02em}.announcement strong{color:#f2b67d}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{min-height:80px;display:flex;align-items:center;gap:32px}.brand{display:flex;flex-direction:column;line-height:1;min-width:190px}.brand-name{font-size:22px;font-weight:800;letter-spacing:-.04em}.brand-name span{color:var(--accent)}.brand-note{margin-top:7px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.23em}.primary-nav{flex:1}.primary-nav ul{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,28px);list-style:none;margin:0;padding:0}.primary-nav a{font-size:13px;font-weight:700;white-space:nowrap}.header-tools{display:flex;align-items:center;gap:14px}.search-form{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#fff}.search-form input{width:150px;border:0;padding:9px 13px;outline:0;font-size:13px}.search-form button{border:0;background:transparent;padding:0 13px;cursor:pointer;color:var(--ink)}.cart-link{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;white-space:nowrap}.cart-count{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:50%;background:var(--accent);color:#fff;font-size:11px}.site-main{min-height:55vh}.hero{background:var(--cream);padding:52px 0 58px}.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:40px;align-items:center}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.2em;color:var(--accent-dark);text-transform:uppercase}.hero h1{font-size:clamp(42px,5.4vw,68px);line-height:1.03;letter-spacing:-.055em;max-width:620px;margin:15px 0 18px}.hero p{max-width:535px;color:#58636b;font-size:17px;margin:0 0 26px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button{border:0;border-radius:999px;background:var(--ink);color:#fff!important;display:inline-flex;justify-content:center;align-items:center;padding:13px 22px;font-size:13px;font-weight:750;line-height:1.2;cursor:pointer;transition:.18s ease}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.wp-element-button:hover{background:var(--accent-dark);transform:translateY(-1px)}.button-light{background:#fff;color:var(--ink)!important;border:1px solid #d9ddda}.hero-visual{position:relative;min-height:390px;border-radius:26px;overflow:hidden;background:linear-gradient(140deg,#e6e8e2,#f8eee5 54%,#dce5df);display:flex;align-items:center;justify-content:center}.hero-visual:before,.hero-visual:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.42)}.hero-visual:before{width:380px;height:380px;right:-30px;top:-125px}.hero-visual:after{width:220px;height:220px;left:-85px;bottom:-70px}.hero-product{position:relative;z-index:1;width:min(72%,360px);height:340px;object-fit:contain;filter:drop-shadow(0 18px 18px rgba(0,0,0,.15))}.hero-badge{position:absolute;z-index:2;left:20px;bottom:20px;background:#fff;border-radius:14px;padding:13px 16px;box-shadow:var(--shadow);font-size:12px;font-weight:700}.hero-badge span{display:block;color:var(--accent-dark);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.section{padding:66px 0}.section-soft{background:#fbfbf9}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-heading h2{font-size:clamp(26px,3vw,36px);line-height:1.1;letter-spacing:-.04em;margin:6px 0 0}.section-heading p{color:var(--muted);margin:6px 0 0}.text-link{font-size:13px;font-weight:750;color:var(--accent-dark)}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-card{min-height:230px;border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;justify-content:end;position:relative;overflow:hidden;background:linear-gradient(145deg,#e4e8e5,#f6eee5)}.category-card:nth-child(2){background:linear-gradient(145deg,#e5e8ee,#f4eee9)}.category-card:nth-child(3){background:linear-gradient(145deg,#e9e6dc,#f6f2e8)}.category-card:before{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(23,35,46,.12);border-radius:50%;right:-30px;top:-35px}.category-card:after{content:"";position:absolute;width:95px;height:95px;border:1px solid rgba(23,35,46,.1);border-radius:50%;right:22px;top:35px}.category-card>*{position:relative;z-index:1}.category-card .category-kicker{font-size:10px;letter-spacing:.17em;font-weight:800;text-transform:uppercase;color:var(--accent-dark)}.category-card h3{font-size:23px;line-height:1.14;margin:8px 0}.category-card p{font-size:13px;color:#58636b;margin:0 0 14px;max-width:260px}.category-card a{font-size:13px;font-weight:800}.benefit-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}.benefit{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px 20px}.benefit strong{display:block;font-size:14px;margin-bottom:3px}.benefit span{font-size:12px;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.2s ease}.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.product-thumb{aspect-ratio:4/5;background:#f5f5f2;display:grid;place-items:center;overflow:hidden}.product-thumb img{width:100%;height:100%;object-fit:cover;transition:.3s ease}.product-card:hover .product-thumb img{transform:scale(1.035)}.product-card-body{padding:15px}.product-card h3{font-size:14px;line-height:1.35;margin:0 0 9px;min-height:38px}.product-card .price{font-size:15px;font-weight:800;margin-bottom:12px}.product-card .button{width:100%;padding:11px 14px;font-size:12px}.product-card .added_to_cart{display:none}.collection-strip{background:var(--green);color:#fff;border-radius:24px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:22px}.collection-strip h2{font-size:28px;line-height:1.1;margin:6px 0}.collection-strip p{color:#d8e1dc;margin:0;max-width:570px;font-size:14px}.collection-strip .button{background:#fff;color:var(--ink)!important;white-space:nowrap}.page-banner{background:var(--cream);padding:34px 0}.page-banner h1{font-size:clamp(30px,4vw,44px);letter-spacing:-.04em;margin:0}.page-content{padding:42px 0 70px}.page-content .entry-content{max-width:850px}.page-content h2,.page-content h3{line-height:1.2;letter-spacing:-.025em}.contact-box{margin-top:26px;background:var(--cream);border-radius:16px;padding:22px}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--muted);margin:22px 0}.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}.woocommerce-products-header__title,.woocommerce div.product .product_title{font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-.04em}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 0 16px;overflow:hidden}.woocommerce ul.products li.product a img{aspect-ratio:4/5;object-fit:cover;margin:0 0 13px;background:#f5f5f2}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.35;padding:0 14px;min-height:39px}.woocommerce ul.products li.product .price{padding:0 14px;color:var(--ink);font-size:15px;font-weight:800}.woocommerce ul.products li.product a.button{margin:5px 14px 0;width:calc(100% - 28px);padding:11px 10px;font-size:12px}.woocommerce span.onsale{background:var(--accent);min-height:36px;min-width:36px;line-height:36px}.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:42px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:auto;margin:0}.woocommerce div.product div.images img{border-radius:16px}.woocommerce div.product div.summary{padding:8px 0}.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:24px;color:var(--ink);font-weight:800}.woocommerce div.product form.cart{display:flex;gap:10px;align-items:center}.woocommerce div.product form.cart .quantity .qty{border:1px solid var(--line);border-radius:999px;padding:10px;width:66px}.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px}.woocommerce .quantity .qty,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select{border:1px solid #dce0dc;border-radius:10px;padding:11px 13px}.woocommerce table.shop_table{border-radius:12px;border-collapse:separate;border-spacing:0;border-color:var(--line)}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px}.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #payment,.woocommerce-checkout .woocommerce-checkout-review-order{border-radius:14px}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error{border-top-color:var(--accent);border-radius:10px;background:#faf9f5}.woocommerce-info::before,.woocommerce-message::before{color:var(--accent)}.site-footer{background:#111d27;color:#fff;padding:48px 0 24px}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr .9fr;gap:38px}.site-footer h3{font-size:15px;margin:0 0 12px}.site-footer p,.site-footer li,.site-footer a{font-size:13px;color:#c9d1d4}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:7px 0}.footer-brand .brand-name{font-size:23px}.footer-brand .brand-note{color:#aab6b8}.footer-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid rgba(255,255,255,.14);margin-top:34px;padding-top:18px;color:#9eaaae;font-size:11px}.whatsapp-float{position:fixed;right:18px;bottom:18px;z-index:45;border-radius:999px;padding:12px 16px;background:#218c5a;color:#fff;font-weight:750;font-size:12px;box-shadow:0 10px 30px rgba(0,0,0,.2)}.whatsapp-float:hover{color:#fff;background:#176c45}.woocommerce .woocommerce-pagination ul.page-numbers{border:0;display:flex;gap:6px}.woocommerce .woocommerce-pagination ul.page-numbers li{border:0}.woocommerce .woocommerce-pagination .page-numbers a,.woocommerce .woocommerce-pagination .page-numbers span{border-radius:999px;background:#f3f4f1;padding:8px 13px}.woocommerce .woocommerce-pagination .page-numbers .current{background:var(--ink);color:#fff}
@media(max-width:960px){.header-inner{gap:16px;flex-wrap:wrap;padding:12px 0}.brand{min-width:150px}.primary-nav{order:3;flex-basis:100%;overflow:auto}.primary-nav ul{justify-content:flex-start;padding:4px 0 9px}.header-tools{margin-left:auto}.hero-grid{gap:24px}.hero-visual{min-height:330px}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.woocommerce div.product{gap:24px}}
@media(max-width:640px){.wrap{width:min(100% - 28px,1200px)}.announcement{font-size:11px}.header-inner{min-height:0}.brand-name{font-size:19px}.brand-note{font-size:8px}.search-form{display:none}.primary-nav ul{gap:18px}.primary-nav a{font-size:12px}.hero{padding:34px 0 42px}.hero-grid{grid-template-columns:1fr;gap:26px}.hero h1{font-size:43px}.hero p{font-size:15px}.hero-visual{min-height:280px}.hero-product{height:245px}.section{padding:48px 0}.section-heading{align-items:start;flex-direction:column}.category-grid{grid-template-columns:1fr;gap:12px}.category-card{min-height:185px}.benefit-row{grid-template-columns:1fr;gap:10px}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card-body{padding:11px}.product-card h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px;min-height:44px}.product-card .price{font-size:14px}.collection-strip{padding:25px;align-items:flex-start;flex-direction:column}.collection-strip h2{font-size:25px}.woocommerce div.product{grid-template-columns:1fr;gap:20px}.woocommerce div.product .product_title{font-size:30px}.woocommerce div.product .woocommerce-tabs{grid-column:auto}.footer-grid{grid-template-columns:1fr;gap:24px}.footer-bottom{flex-direction:column}.whatsapp-float{right:12px;bottom:12px;padding:11px 13px}.woocommerce-page .site-main{overflow:hidden}}


/* Mobile-first interaction and spacing refinements */
.mobile-menu-toggle,.mobile-search-form{display:none}
.mobile-menu-toggle{border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-weight:750;cursor:pointer}
.mobile-menu-toggle:focus-visible,.mobile-search-form input:focus-visible,.mobile-search-form button:focus-visible{outline:3px solid rgba(212,123,56,.45);outline-offset:2px}
@media(max-width:760px){
  .wrap{width:calc(100% - 32px)}
  .announcement{font-size:11px;line-height:1.4;padding:8px 12px}
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand toggle cart" "nav nav nav" "search search search";gap:10px 12px;min-height:0;padding:10px 0}
  .brand{grid-area:brand;min-width:0}
  .brand-name{font-size:19px}
  .brand-note{font-size:8px}
  .mobile-menu-toggle{grid-area:toggle;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:82px;min-height:44px;padding:0 11px}
  .menu-icon{width:17px;height:15px;display:flex;flex-direction:column;justify-content:space-between}
  .menu-icon span{display:block;width:100%;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon span:first-child{transform:translateY(6.5px) rotate(45deg)}
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2){opacity:0}
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon span:last-child{transform:translateY(-6.5px) rotate(-45deg)}
  .header-tools{display:contents}
  .header-tools .search-form{display:none}
  .cart-link{grid-area:cart;min-height:44px;gap:6px;font-size:13px}
  .primary-nav{grid-area:nav;display:none;order:initial;flex:none;width:100%;overflow:visible;border-top:1px solid var(--line);padding:9px 0 0}
  .primary-nav.is-open{display:block}
  .primary-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:initial;gap:6px;padding:0}
  .primary-nav li{min-width:0}
  .primary-nav a{display:flex;align-items:center;min-height:44px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font-size:13px;line-height:1.25;white-space:normal}
  .mobile-search-form{grid-area:search;display:none;width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
  .header-inner.mobile-menu-open .mobile-search-form{display:flex}
  .mobile-search-form input[type="search"]{flex:1;min-width:0;width:100%;border:0;padding:11px 13px;outline:0;font-size:16px}
  .mobile-search-form button{min-width:64px;border:0;background:var(--ink);color:#fff;font-weight:700;cursor:pointer}
  .hero{padding:29px 0 34px}
  .hero-grid{grid-template-columns:1fr;gap:22px}
  .hero h1{font-size:clamp(35px,9vw,42px);line-height:1.04}
  .hero p{font-size:15px;line-height:1.55}
  .hero-actions{gap:9px}
  .hero-actions .button{min-height:46px;padding:12px 16px}
  .hero-visual{min-height:265px;border-radius:20px}
  .hero-product{height:235px;max-width:78%}
  .hero-badge{left:13px;right:86px;bottom:13px;max-width:calc(100% - 100px);padding:10px 12px;font-size:11px}
  .hero-badge span{font-size:9px}
  .section{padding:42px 0}
  .section-heading{gap:10px;margin-bottom:18px}
  .category-grid{grid-template-columns:1fr;gap:10px}
  .category-card{min-height:170px;padding:20px}
  .product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-card-body{padding:11px}
  .product-card h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;line-height:1.35;min-height:52px}
  .product-card .button,.woocommerce ul.products li.product a.button{min-height:44px;font-size:12px}
  .woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:17px}
  .woocommerce div.product .product_title{font-size:29px}
  .woocommerce div.product form.cart{gap:8px}
  .woocommerce div.product form.cart .single_add_to_cart_button{flex:1;min-height:48px;padding-inline:12px}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none;width:100%}
  .woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select{width:100%;min-height:44px;font-size:16px}
  .woocommerce-cart table.shop_table,.woocommerce-checkout table.shop_table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap}
  .woocommerce .cart-collaterals .cart_totals{float:none;width:100%}
  .woocommerce-checkout #payment #place_order{width:100%;min-height:48px}
  .whatsapp-float{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));min-height:44px;display:flex;align-items:center}
  .woocommerce-page .site-main{overflow-x:clip}
}
@media(max-width:360px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
  .brand-name{font-size:17px}
  .mobile-menu-toggle{min-width:72px;padding:0 8px}
  .mobile-menu-toggle .menu-toggle-label{font-size:12px}
  .cart-link{font-size:12px}
  .hero-actions{flex-direction:column;align-items:stretch}
}
