/*
Theme Name: CHOMOK ENTERPRISE
Theme URI: https://chomokenterprise.com
Description: Automobile Parts Selling & Service WooCommerce child theme — CHOMOK ENTERPRISE
Author: CHOMOK ENTERPRISE
Template: storefront
Version: 1.0.0
Text Domain: chomok-enterprise-auto
*/

:root {
  --cho-primary: #c2410c;
  --cho-primary-dark: #9a3412;
  --cho-primary-light: #fdba74;
  --cho-accent: #0f766e;
  --cho-dark: #1c1917;
  --cho-light: #fff7ed;
  --cho-border: #fed7aa;
  --cho-white: #ffffff;
}

body.cho-layout,
body.cho-layout button,
body.cho-layout input,
body.cho-layout select,
body.cho-layout textarea {
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: #333;
}

.cho-topbar {
  background: var(--cho-primary-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.cho-topbar a { color: #fff; text-decoration: none; }
.cho-topbar .col-full { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.cho-logo-text { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cho-dark); }
.cho-logo-icon {
  width: 72px; height: 72px; border-radius: 12px;
  background: var(--cho-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; overflow: hidden;
}
.cho-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.cho-logo-name { font-size: 22px; font-weight: 700; line-height: 1.2; }
.cho-logo-tag { font-size: 12px; color: var(--cho-primary); }

.cho-hero {
  background: linear-gradient(135deg, var(--cho-light) 0%, #fff 100%);
  padding: 48px 0;
}
.cho-hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; gap: 32px; align-items: center;
}
.cho-hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; color: var(--cho-dark); }
.cho-hero h1 span { color: var(--cho-primary); }
.cho-hero-badge {
  display: inline-block; background: var(--cho-primary); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; margin-bottom: 12px;
}
.cho-btn {
  display: inline-block; background: var(--cho-primary); color: #fff !important;
  padding: 12px 24px; border-radius: 8px; text-decoration: none; margin-right: 8px; margin-top: 8px;
}
.cho-btn-outline {
  background: transparent; color: var(--cho-primary) !important;
  border: 2px solid var(--cho-primary);
}
.cho-hero-card {
  background: #fff; border: 1px solid var(--cho-border); border-radius: 16px;
  padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.cho-hero-card .icon { font-size: 48px; margin-bottom: 8px; }

.cho-delivery-banner {
  background: var(--cho-primary-dark); color: #fff; text-align: center;
  padding: 12px 16px; font-size: 14px;
}
.cho-delivery-banner span { opacity: .7; margin: 0 8px; }

.cho-section { padding: 40px 0; }
.cho-section h2 { text-align: center; margin-bottom: 8px; color: var(--cho-dark); }
.cho-section .sub { text-align: center; color: #666; margin-bottom: 24px; }

.cho-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.cho-cat-card {
  background: #fff; border: 1px solid var(--cho-border); border-radius: 12px;
  padding: 16px; text-align: center; text-decoration: none; color: var(--cho-dark);
  transition: transform .2s, box-shadow .2s;
}
.cho-cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }

.cho-features {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.cho-feature {
  background: var(--cho-light); border-radius: 12px; padding: 20px; text-align: center;
}
.cho-feature .icon { font-size: 32px; }

.cho-footer {
  background: var(--cho-dark); color: #e5e7eb; padding: 40px 0 20px;
}
.cho-footer a { color: #fff; }
.cho-footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.cho-footer-bottom {
  text-align: center; margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15); font-size: 13px;
}
.cho-stock-in { color: #15803d; font-size: 13px; }
.cho-stock-out { color: #b91c1c; font-size: 13px; }

/* Layout: automotive */

        .cho-hero-inner { grid-template-columns: 1fr 1fr; }
        .cho-delivery-banner { background: var(--cho-accent); color: #fff; }
/* === Level D unique layout v5.0.0 — CHOMOK ENTERPRISE === */

.cho-header-centered .site-header .col-full { justify-content: center; text-align: center; }
.cho-header-centered .cho-logo-text { margin: 0 auto; flex-direction: column; }
.cho-header-corporate .cho-topbar { background: #1c1917; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.cho-header-dark-bar .cho-topbar { background: #0a0a0a; }
.cho-header-elegant .cho-logo-name { font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.cho-header-playful .cho-logo-icon { border-radius: 50%; }
.cho-header-bold .cho-logo-name { text-transform: uppercase; font-weight: 800; }
.cho-home-hero { margin-bottom: 0; }
.cho-home-cats, .cho-home-features, .cho-home-products { padding: 48px 0; }
.cho-hero-split .cho-hero-split-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: 48px 0; }
.cho-hero-art { min-height: 240px; background: linear-gradient(135deg, #c2410c, #0f766e); border-radius: 24px; }
.cho-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cho-pill { background: #fff7ed; border: 1px solid #fed7aa; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: #1c1917; }
.cho-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.cho-icon-tile { text-align: center; text-decoration: none; color: #1c1917; }
.cho-icon-tile-img { display: block; width: 80px; height: 80px; margin: 0 auto 8px; background: #fff7ed; border-radius: 16px; line-height: 80px; font-size: 32px; overflow: hidden; }
.cho-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cho-feature { background: #fff7ed; padding: 20px; border-radius: 12px; text-align: center; }
.cho-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.cho-cat-card { background: #fff; border: 1px solid #fed7aa; border-radius: 12px; overflow: hidden; text-decoration: none; color: #1c1917; }
.cho-cat-card img { width: 100%; height: 120px; object-fit: cover; }
.cho-cat-card span { display: block; padding: 12px; font-weight: 600; }
.cho-vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cho-vehicle-card { padding: 32px 16px; text-align: center; text-decoration: none; color: #fff; border-radius: 12px; }
.cho-vehicle-card span { display: block; font-size: 40px; margin-bottom: 8px; }
.cho-vehicle-card.car { background: #c2410c; }
.cho-vehicle-card.bike { background: #0f766e; }
.cho-vehicle-card.truck { background: #9a3412; }
@media (max-width: 768px) { .cho-hero-split-inner, .cho-warm-inner, .cho-textile-inner, .cho-package-row, .cho-mosaic, .cho-gender-cols, .cho-lookbook-row, .cho-it-showcase, .cho-occasion-grid, .cho-vehicle-grid, .cho-solution-grid, .cho-ftr-grid, .cho-ftr-2col, .cho-ftr-ind-grid, .cho-ftr-dual-cols { grid-template-columns: 1fr; } }

/* === Level D futuristic (fx-prism-orbit) === */

.cho-fx-btn { border-radius: 999px; padding: 14px 28px; background: linear-gradient(135deg, #c2410c, #0f766e); box-shadow: 0 12px 40px #c2410c44; transition: transform .2s ease, box-shadow .2s ease; }
.cho-fx-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 48px #c2410c55; }
.cho-fx-accent { background: linear-gradient(90deg, #c2410c, #0f766e); -webkit-background-clip: text; color: transparent; font-weight: 700; }
.cho-fx-badge { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: #fff7ed; border: 1px solid #c2410c33; margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .cho-fx-orbit span, .cho-fx-slash { animation: none !important; } }
.cho-fx-prism { position: relative; padding: 80px 0; background: linear-gradient(180deg, #fff7ed, #fff); }
.cho-fx-orbit { position: absolute; right: 8%; top: 20%; width: 220px; height: 220px; }
.cho-fx-orbit span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #c2410c44; animation: choSpin 18s linear infinite; }
.cho-fx-orbit span:nth-child(2) { inset: 18%; border-color: #0f766e66; animation-duration: 12s; }
.cho-fx-orbit span:nth-child(3) { inset: 36%; border-color: #c2410c; animation-duration: 8s; }
@keyframes choSpin { to { transform: rotate(360deg); } }
@media (max-width: 768px) { .cho-fx-bento-grid { grid-template-columns: 1fr; } .cho-fx-orbit { display: none; } .cho-fx-glass { padding: 28px; } }


/* === v3 unique chrome === */
.cho-tb-split .col-full{display:flex;justify-content:space-between;background:#1c1917;color:#fff;padding:8px 0;font-size:13px}
.cho-hdr-plate{padding:16px 0}.cho-hdr-plate-logo{display:flex;align-items:center;gap:8px;text-decoration:none;color:#1c1917}.cho-hdr-plate-tag{background:#c2410c;color:#fff;padding:4px 8px;border-radius:4px;font-weight:700}
.cho-ftr-b2b{background:#fff;border-top:4px solid #c2410c;padding:32px 0}
.cho-feat-checklist{list-style:none;padding:0}.cho-feat-checklist li{padding:12px 0;border-bottom:1px solid #fed7aa}
.cho-prod-rack-label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#c2410c}
.cho-prod-rack ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cho-prod-rack ul.products li.product{background:#1c1917;color:#fff;border-radius:0;padding:12px;text-align:left;transform:skewX(-2deg)}
.cho-prod-rack ul.products li.product .woocommerce-loop-product__title{color:#fff;text-transform:uppercase;font-size:.85em;letter-spacing:.06em}
.cho-prod-rack ul.products li.product .price{color:#0f766e;font-weight:800}
.cho-prod-rack ul.products li.product img{border-radius:0;filter:contrast(1.1)}
.cho-home-products ul.products{clear:both;margin:0;padding:0;list-style:none}
.cho-home-products ul.products::before,.cho-home-products ul.products::after{display:none!important}
.cho-home-products ul.products li.product{float:none!important;width:auto!important;margin:0!important;clear:none!important}
.cho-home-products ul.products li.product a img{border-radius:inherit}
.cho-home-products ul.products li.product .button{border-radius:8px}
.cho-hdr-brand{padding:12px 0}
.cho-hdr-brand-link{display:inline-flex;align-items:center;text-decoration:none}
.cho-hdr-brand-img{max-height:88px;width:auto;max-width:min(240px,100%);display:block}
.cho-hdr-icon img,.cho-hdr-ring img{max-width:100%;max-height:100%;object-fit:contain}
.cho-compliance-footer{font-size:13px;line-height:1.6}
.cho-company-info-grid{margin-bottom:18px;padding-bottom:18px}
.cho-company-info-title{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.cho-company-info-block p{margin:0 0 8px}
.cho-company-label{font-weight:700}
.cho-legal-nav{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:14px}
.cho-legal-nav a{text-decoration:none}
.cho-compliance-copy{margin:0;font-size:12px}
@media(max-width:768px){.cho-company-info-grid{grid-template-columns:1fr!important}}
.cho-compliance-market-grid{background:#1c1917;color:#fff;padding:28px 0 18px;border-top:3px solid #c2410c}
.cho-compliance-market-grid .cho-company-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 28px;border-bottom:1px solid rgba(255,255,255,.15)}
.cho-compliance-market-grid a{color:#fff}
.cho-compliance-market-grid .cho-legal-nav{justify-content:center}
.cho-compliance-market-grid .cho-compliance-copy{text-align:center;opacity:.75}
.cho-payment-banners{background:#fff;border-top:1px solid #fed7aa}
.cho-payment-banner{padding:14px 20px;text-align:center}
.cho-payment-banner-img,.cho-eps-footer-banner{max-width:100%;height:auto;margin:0 auto;display:block}

/* === v4 pages: nav, cart, checkout, shop === */
.cho-nav-auto{display:flex;gap:12px;align-items:center;padding:12px 0}
.cho-nav-plate{background:#c2410c;color:#fff;padding:4px 10px;border-radius:4px;font-weight:700}
.cho-pg-cart-banner{margin-bottom:24px;padding:20px;background:#fff7ed;border-radius:12px}
.cho-pg-cart-banner h1{margin:0 0 8px}
.cho-shop-head{margin-bottom:24px;padding-bottom:16px}
.cho-pg-shop .products li.product{border-radius:12px;overflow:hidden}
.cho-pg-shop-vehicle-shop .cho-shop-head h1{color:#c2410c}
.cho-pg-checkout-banner{margin-bottom:24px;padding:24px;background:#fff7ed;border-radius:12px}
.cho-woocommerce-checkout .col2-set{display:grid;gap:24px}
.cho-pg-checkout-banner span{display:block;font-size:12px;opacity:.7;margin-bottom:8px}
.cho-pg-product-banner{margin-bottom:16px;padding:12px 16px;background:#fff7ed;border-left:4px solid #c2410c}
.cho-pg-account-banner{margin-bottom:20px}
.cho-pg-account-banner h1{margin:0}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;margin-bottom:4px;background:#fff7ed;text-decoration:none;color:#1c1917;border-radius:8px}
.cho-chrome-v4 .storefront-primary-navigation,.cho-chrome-v4 .site-search{display:none!important}
.cho-chrome-v4 .site-header-cart{display:none!important}
.cho-nav a:hover{opacity:.85}
.cho-pg-cart-banner,.cho-pg-checkout-banner,.cho-pg-account-banner{margin-bottom:24px}
.cho-chrome-v4 .wp-block-woocommerce-cart,.cho-chrome-v4 .wp-block-woocommerce-checkout{border-radius:12px}