/*
Theme Name: KYW Parts Child
Theme URI: https://kywparts.com/
Description: Thème enfant Astra avec une page d'accueil racing personnalisée pour KYW Parts.
Author: KYW Parts
Template: astra
Version: 1.0.0
Text Domain: kywparts-child
*/

:root {
  --kyw-bg: #0b0b0d;
  --kyw-panel: #141417;
  --kyw-panel-2: #1b1b20;
  --kyw-text: #f6f6f6;
  --kyw-muted: #b9b9c0;
  --kyw-red: #ed2939;
  --kyw-red-dark: #bd1725;
  --kyw-line: rgba(255,255,255,.12);
  --kyw-max: 1240px;
}

.kyw-home { background: var(--kyw-bg); color: var(--kyw-text); overflow: hidden; }
.kyw-home * { box-sizing: border-box; }
.kyw-wrap { width: min(var(--kyw-max), calc(100% - 40px)); margin-inline: auto; }
.kyw-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--kyw-red); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.kyw-eyebrow:before { content: ""; display: inline-block; width: 24px; height: 2px; background: currentColor; }
.kyw-hero { position: relative; isolation: isolate; min-height: 620px; display: flex; align-items: center; background: #0a0a0c; }
.kyw-hero:before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 75% 45%, rgba(237,41,57,.17), transparent 38%), linear-gradient(110deg,#09090b 0%,#101014 52%,#171013 100%); }
.kyw-hero:after { content: "KYW"; position: absolute; z-index: -1; right: -2vw; bottom: -7vw; font-size: clamp(180px, 30vw, 440px); line-height: .8; font-weight: 1000; letter-spacing: -.09em; color: rgba(255,255,255,.025); font-style: italic; pointer-events: none; }
.kyw-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: center; padding-block: 84px; }
.kyw-hero h1 { color: #fff; font-size: clamp(48px, 7vw, 96px); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; font-weight: 950; margin: 18px 0 24px; }
.kyw-hero h1 span { color: var(--kyw-red); display: block; }
.kyw-hero-copy { color: #c8c8ce; max-width: 490px; font-size: 17px; line-height: 1.7; margin-bottom: 30px; }
.kyw-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kyw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; background: var(--kyw-red); border: 1px solid var(--kyw-red); color: #fff !important; text-decoration: none !important; text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 900; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.kyw-btn:hover { transform: translateY(-2px); background: var(--kyw-red-dark); border-color: var(--kyw-red-dark); color: #fff !important; }
.kyw-btn--outline { background: transparent; border-color: rgba(255,255,255,.3); }
.kyw-btn--outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.kyw-hero-art { position: relative; min-height: 390px; display: grid; place-items: center; }
.kyw-hero-art:before { content: ""; position: absolute; width: min(90%, 470px); aspect-ratio: 1; border: 1px solid rgba(237,41,57,.42); border-radius: 50%; box-shadow: 0 0 0 22px rgba(237,41,57,.025), 0 0 0 54px rgba(237,41,57,.018); }
.kyw-wheel-mark { position: relative; width: min(80%, 370px); aspect-ratio: 1; border-radius: 50%; border: 13px solid #25252b; outline: 3px solid #4a4a52; box-shadow: inset 0 0 0 12px #0b0b0d, 0 20px 80px rgba(0,0,0,.6); background: repeating-conic-gradient(from 8deg, #3a3a42 0deg 3deg, #111115 3deg 13deg); }
.kyw-wheel-mark:before { content: ""; position: absolute; inset: 29%; border-radius: 50%; border: 12px solid #d9d9dd; background: radial-gradient(circle, var(--kyw-red) 0 15%, #1b1b20 16% 52%, #777 53% 56%, #151519 57%); box-shadow: 0 0 30px rgba(237,41,57,.25); }
.kyw-wheel-mark:after { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 3px dashed rgba(255,255,255,.35); }
.kyw-art-label { position: absolute; bottom: 14px; right: 4%; padding: 12px 16px; background: var(--kyw-red); color: #fff; font-size: 11px; letter-spacing: .12em; font-weight: 900; transform: skew(-8deg); }
.kyw-strip { border-top: 1px solid var(--kyw-line); border-bottom: 1px solid var(--kyw-line); background: #101013; }
.kyw-strip-inner { display: grid; grid-template-columns: repeat(3,1fr); }
.kyw-strip-item { padding: 22px 20px; border-right: 1px solid var(--kyw-line); text-align: center; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.kyw-strip-item:last-child { border-right: 0; }
.kyw-strip-item span { color: var(--kyw-red); margin-right: 8px; }
.kyw-section { padding: 82px 0; }
.kyw-section--alt { background: #101013; }
.kyw-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.kyw-section h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: .98; letter-spacing: -.045em; font-weight: 950; text-transform: uppercase; margin: 12px 0 0; }
.kyw-section-intro { color: var(--kyw-muted); max-width: 480px; margin: 0; line-height: 1.7; }
.kyw-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.kyw-category { position: relative; display: flex; min-height: 245px; padding: 26px; align-items: end; overflow: hidden; background: linear-gradient(135deg,#242429,#111114 70%); border: 1px solid var(--kyw-line); text-decoration: none !important; color: #fff !important; }
.kyw-category:before { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(237,41,57,.45); border-radius: 50%; right: -30px; top: -35px; box-shadow: 0 0 0 18px rgba(237,41,57,.04), 0 0 0 40px rgba(237,41,57,.025); transition: transform .3s ease; }
.kyw-category:after { content: ""; position: absolute; width: 120px; height: 120px; border: 14px solid #34343b; border-radius: 50%; right: 0; top: 0; transform: translate(18%,-18%); opacity: .75; }
.kyw-category:hover:before { transform: scale(1.1); }
.kyw-category-content { position: relative; z-index: 1; }
.kyw-category small { display: block; color: var(--kyw-red); font-weight: 900; letter-spacing: .16em; font-size: 10px; text-transform: uppercase; margin-bottom: 9px; }
.kyw-category strong { display: block; color: #fff; font-size: 25px; font-weight: 950; text-transform: uppercase; letter-spacing: -.04em; }
.kyw-category em { display: inline-block; margin-top: 14px; color: #ddd; font-size: 12px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.kyw-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.kyw-product { min-width: 0; background: var(--kyw-panel); border: 1px solid var(--kyw-line); padding: 12px; }
.kyw-product-image { display: block; background: #202025; aspect-ratio: 1/1; margin-bottom: 14px; overflow: hidden; }
.kyw-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.kyw-product:hover .kyw-product-image img { transform: scale(1.04); }
.kyw-product h3 { font-size: 14px; line-height: 1.4; margin: 0 0 10px; }
.kyw-product h3 a { color: #fff; text-decoration: none; }
.kyw-product-price { color: #fff; font-weight: 900; margin-bottom: 12px; }
.kyw-product-price del { color: #8c8c94; font-weight: 500; }
.kyw-product-price ins { text-decoration: none; color: #fff; }
.kyw-product .kyw-btn { width: 100%; min-height: 42px; padding: 8px; font-size: 10px; }
.kyw-empty { padding: 24px; background: var(--kyw-panel); color: var(--kyw-muted); border: 1px dashed var(--kyw-line); }
.kyw-cta { background: linear-gradient(110deg,#e92334,#9e1420); padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.kyw-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(28px,4vw,44px); font-weight: 950; text-transform: uppercase; line-height: .95; }
.kyw-cta p { margin: 0; color: rgba(255,255,255,.86); }
.kyw-cta .kyw-btn { background: #0b0b0d; border-color: #0b0b0d; white-space: nowrap; }
.kyw-cta .kyw-btn:hover { background: #25252a; border-color: #25252a; }
@media (max-width: 900px) {
  .kyw-hero-grid { grid-template-columns: 1fr; padding-block: 64px; }
  .kyw-hero-art { min-height: 300px; }
  .kyw-wheel-mark { width: min(68%, 300px); }
  .kyw-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kyw-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kyw-section-head { align-items: start; flex-direction: column; }
  .kyw-cta { padding: 34px; align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .kyw-wrap { width: min(100% - 28px, var(--kyw-max)); }
  .kyw-hero { min-height: 0; }
  .kyw-hero-grid { padding-block: 52px 35px; gap: 10px; }
  .kyw-hero h1 { font-size: clamp(46px, 14vw, 72px); }
  .kyw-hero-copy { font-size: 15px; }
  .kyw-hero-art { min-height: 240px; }
  .kyw-wheel-mark { width: 210px; border-width: 9px; }
  .kyw-art-label { right: 0; bottom: 0; }
  .kyw-strip-inner { grid-template-columns: 1fr; }
  .kyw-strip-item { border-right: 0; border-bottom: 1px solid var(--kyw-line); padding: 15px; }
  .kyw-strip-item:last-child { border-bottom: 0; }
  .kyw-section { padding: 55px 0; }
  .kyw-categories { grid-template-columns: 1fr; }
  .kyw-category { min-height: 190px; }
  .kyw-product-grid { gap: 10px; }
  .kyw-product { padding: 8px; }
  .kyw-product h3 { font-size: 12px; }
  .kyw-cta { padding: 28px 22px; }
}
