/* ===== components.css (generated 2026-02-16) ===== */


/* --- source: car-carousel.css --- */

/* Car Carousel (new clean component) */
.carCarousel{
  max-width: 520px;
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.carCarouselTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

.carCarouselTitle{
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.carCarouselControls{
  display:flex;
  gap:10px;
}

.carCarouselBtn{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color:#fff;
  cursor:pointer;
  line-height: 1;
  font-size: 22px;
}

.carCarouselBtn:disabled{
  opacity: .45;
  cursor: not-allowed;
}

.carCarouselViewport{
  overflow: hidden;
  border-radius: 16px;
  direction: ltr; /* keep motion stable even in RTL pages */
}

.carCarouselTrack{
  display:flex;
  flex-wrap: nowrap;
  transition: transform .40s ease;
  will-change: transform;
}

.carCarouselSlide{
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  direction: rtl;
}

.carCarouselMedia{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
  min-height: 210px;
}

.carCarouselImg{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display:block;
}

.carCarouselTag{
  position:absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.30);
  color:#fff;
  font-size: 12px;
}

.carCarouselMeta{
  padding-top: 12px;
}

.carCarouselMeta h3{
  margin: 0 0 6px;
  color:#fff;
  font-size: 18px;
}

.carCarouselMeta p{
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.6;
}

.carCarouselFooter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 10px;
}

.carCarouselDots{
  display:flex;
  align-items:center;
  gap: 6px;
}

.carCarouselDots button{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
}

.carCarouselDots button.is-active{
  width: 18px;
  background: rgba(255,255,255,0.9);
}

.carCarouselCount{
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  white-space: nowrap;
}

/* responsive */
@media (max-width: 520px){
  .carCarousel{ max-width: 100%; }
  .carCarouselBtn{ width: 38px; height: 38px; border-radius: 12px; }
  .carCarouselMedia, .carCarouselImg{ height: 190px; }
}

/* 2uto header logo size */
header img[src*="logo_header"], .logo img[src*="logo_header"], .siteLogo img[src*="logo_header"] {
  height: 52px;
  width: auto;
  max-width: 214px;
}
@media (max-width: 768px){
  header img[src*="logo_header"], .logo img[src*="logo_header"], .siteLogo img[src*="logo_header"] {
    height: 44px;
    max-width: 180px;
  }
}


/* --- source: hero-car-slider.css --- */

/* Hero Car Slider - 2uto (RTL-friendly)
   ✅ Shows ONE card only
   ✅ Moves left/right with arrows + swipe
   ✅ Fully scoped to .carSlider so it won't break the header or other sections
*/

.heroCars{display:block}

.carSlider{
  width:100%;
  max-width:360px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}

.carSliderTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px 6px;
}

.carSliderTitle{
  font-weight:900;
  color:#fff;
  letter-spacing:.2px;
  font-size:13px;
  white-space:nowrap;
}

.carSliderControls{display:flex; gap:8px; flex-shrink:0}

.carNavBtn{
  width:34px;height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.10));
  color:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:32px;
  display:grid;
  place-items:center;
  box-shadow:0 10px 18px rgba(0,0,0,.22);
}
.carNavBtn:hover{filter:brightness(1.06)}
.carNavBtn:active{transform:translateY(1px)}
.carNavBtn:focus-visible{outline:2px solid rgba(255,255,255,.6); outline-offset:2px}

/* Viewport MUST hide overflow so you only see one card */
.carSlider .carViewport{
  overflow:hidden;
  padding:0 10px 10px;
  /* Prevent an "empty" panel look if other CSS collapses slide height */
  min-height: 260px;
}

/* Track moves using translateX in JS */
.carSlider .carTrack{
  direction:ltr;           /* keep math simple */
  display:flex;
  width:100%;
  gap:0;
  /* Disable any global carousel styles (scroll-snap / overflow / padding) */
  overflow: visible;
  scroll-snap-type: none;
  padding: 0;
  transform:translateX(0%);
  transition:transform .35s ease;
  will-change: transform;
}

/* Each slide takes 100% so only one is visible */
.carSlider .carSlide{
  flex:0 0 100%;
  width: 100%;
  min-height: 240px;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  padding:10px;
  border-radius:12px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.12);
}

.carArt{
  border-radius:12px;
  padding:8px;
  background:linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  position:relative;
  overflow:hidden;
  height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.carBadge{
  position:absolute;
  top:8px;
  left:8px;
  font-size:10px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}

.carImg{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block}

.carMeta h3{margin:0; color:#fff; font-size:15px; font-weight:900}
.carMeta p{margin:6px 0 8px; color:rgba(255,255,255,.88); line-height:1.7; font-size:12px}

.carFacts{margin:0 0 8px; padding:0; list-style:none; display:grid; gap:6px}
.carFacts li{
  font-size:11.5px;
  color:rgba(255,255,255,.86);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:10px;
  padding:7px 9px;
}
.carFacts span{color:#fff; font-weight:900}

.carLinks{display:flex; flex-wrap:wrap; gap:6px}
.carLink{
  display:inline-block;
  padding:6px 9px;
  border-radius:999px;
  font-size:11.5px;
  color:#fff;
  text-decoration:none;
  background:rgba(13,110,253,.30);
  border:1px solid rgba(255,255,255,.14);
}
.carLink:hover{background:rgba(13,110,253,.42)}

.carDots{display:flex; justify-content:center; gap:8px; padding:0 0 10px}
.carDot{
  all:unset;
  box-sizing:border-box;
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.18);
  cursor:pointer;
}
.carDot.isActive{background:#fff; border-color:#fff}

@media (max-width:992px){
  .carSlider{max-width:100%}
}


/* 2uto header logo size */
header img[src*="logo_header"], .logo img[src*="logo_header"], .siteLogo img[src*="logo_header"] {
  height: 52px;
  width: auto;
  max-width: 214px;
}
@media (max-width: 768px){
  header img[src*="logo_header"], .logo img[src*="logo_header"], .siteLogo img[src*="logo_header"] {
    height: 44px;
    max-width: 180px;
  }
}


/* --- source: faq-pro.css --- */

/* FAQ Pro (tabs + accordion) */
.faqPro{padding-top:24px}
.faqShell{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:22px;
  border-radius:18px;
  background:#f6fbff;
  padding:22px;
  border:1px solid rgba(13,110,253,.12);
}
.faqCol{min-width:0}
.faqMetaInner{
  background:#fff;
  border-radius:18px;
  padding:22px;
  border:1px solid rgba(0,0,0,.06);
  height:100%;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}
.faqIcon{
  width:56px;height:56px;
  display:grid;place-items:center;
  border-radius:16px;
  background:rgba(13,110,253,.10);
  font-size:26px;
}
.faqMeta h2{margin:0;font-size:32px;line-height:1.2}
.faqMeta p{margin:0;color:#4b5563;max-width:40ch}
.faqTags{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.faqTag{
  border:1px solid rgba(13,110,253,.25);
  background:#fff;
  color:#0d6efd;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  transition:.2s ease;
}
.faqTag:hover{transform:translateY(-1px)}
.faqTag.isActive{
  background:#0d6efd;
  color:#fff;
  border-color:#0d6efd;
}
.faqCta{
  margin-top:auto;
  border-radius:999px;
  padding:12px 16px;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.faqGroups{background:#fff;border-radius:18px;border:1px solid rgba(0,0,0,.06);padding:10px}
.faqGroup{display:none}
.faqGroup.isActive{display:block}

.faqQ{
  border-radius:14px;
  border:1px solid rgba(0,0,0,.07);
  overflow:hidden;
  margin:10px 6px;
  background:#fff;
}
.faqQ summary{
  list-style:none;
  cursor:pointer;
  padding:16px 16px;
  font-weight:800;
  color:#0f172a;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.faqQ summary::-webkit-details-marker{display:none}
.faqQ summary::after{
  content:"⌄";
  font-size:18px;
  opacity:.75;
  transition:.2s ease;
}
.faqQ[open] summary::after{transform:rotate(180deg)}
.faqA{padding:0 16px 16px 16px;color:#334155;line-height:1.85}

@media (max-width: 980px){
  .faqShell{grid-template-columns:1fr}
  .faqMeta h2{font-size:28px}
}

/* 2uto header logo size */
header img[src*="logo_header"], .logo img[src*="logo_header"], .siteLogo img[src*="logo_header"] {
  height: 52px;
  width: auto;
  max-width: 214px;
}
@media (max-width: 768px){
  header img[src*="logo_header"], .logo img[src*="logo_header"], .siteLogo img[src*="logo_header"] {
    height: 44px;
    max-width: 180px;
  }
}
