/*
Theme Name: Jaecoo Dealer
Theme URI: https://www.jaecooofficialbandung.com
Author: Agensi Digital
Author URI: https://www.agensidigital.com
Description: Jaecoo Dealer theme 
Version: 1.0
*/

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Nunito Sans', sans-serif;
}

body{
  background:#fff;
  color:#fff;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  z-index:1001;
}

.hamburger span{
  width:25px;
  height:2px;
  background:#fff;
  transition:.3s;
}

/* SHOW ONLY ON MOBILE */
@media(max-width:1024px){

  .nav{
    display:none;
  }

  .menu{
    display:none;
  }

  .test-drive{
    display:none;
  }

  .hamburger{
    display:flex;
  }

  .nav-container{
    padding:20px !important;
  }

}

/* HEADER */
.header{
  position:fixed;
  width:100%;
  top:0;
  background:#0c0f13;
  border-bottom:1px solid rgba(255,255,255,0.05);
  z-index:999;
}

.nav-container{
  max-width:1400px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 60px;
}

.header{
  height:80px;
}

.nav-container{
  height:100%;
}

.menu{
  display:flex;
  gap:50px;
  list-style:none;
}

.menu a{
  text-decoration:none;
  text-transform: uppercase;
  color:#cfcfcf;
  font-size:14px;
  letter-spacing:2px;
  position:relative;
  padding-bottom:6px;
}

/* ACTIVE UNDERLINE */
.menu a.active-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background:#4ec7f3;
}

/* MEGA MODELS */
.mega-models{
  position:absolute;
  left:0;
  top:80px;
  width:100%;
  background:#0b0e12;
  padding:70px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:.4s ease;
}

.models-item:hover .mega-models{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.mega-inner{
  max-width:1400px;
  margin:auto;
  display:flex;
  gap:100px;
  padding:0 60px;
}

/* LEFT CATEGORY */
.mega-left{
  display:flex;
  flex-direction:column;
  gap:25px;
  min-width:150px;
}

.cat{
  background:none;
  border:none;
  color:#777;
  font-size:16px;
  text-align:left;
  cursor:pointer;
  transition:.3s;
}

.cat.active,
.cat:hover{
  color:#fff;
}

/* RIGHT GRID */
.mega-right{
  flex:1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:80px 100px;
}

/* CAR ITEM */
.car{
  text-align:center;
  transition:.4s;
}

.car img{
  width:100%;
  max-width:330px;
  filter:drop-shadow(0 40px 40px rgba(0,0,0,0.9));
}

.car a{
  margin-top:30px;
  font-weight:500;
  letter-spacing:1px;
}

.car:hover{
  transform:translateY(-8px);
}

.car.hide {
  display: none;
}

/* SERVICE DROPDOWN */
.service-mega {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  background: #1a1d22;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: .35s ease;
}

.service-item:hover .service-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.service-inner {
  max-width: 1400px;
  margin: auto;
  padding: 20px 60px;
  display: flex;
  justify-content: center;
  gap: 200px;
}

.service-inner a {
  text-decoration: none;
  color: #d6d6d6;
  font-size: 16px;
  transition: .3s;
}

.service-inner a:hover {
  color: #fff;
}

.service-dropdown a:hover{
  color:#fff;
}

/* TEST DRIVE */
.test-drive{
  border:1px solid #fff;
  padding:10px 15px;
  border-radius:30px;
  cursor:pointer;
  transition:.3s;
  letter-spacing: 2px;
}

.test-drive a{
	color:#ffffff;
	text-decoration:none;
}

.test-drive a:hover{
	color:#000000;
	text-decoration:none;
}

.test-drive:hover{
  background:#fff;
  color:#000;
}

/* FULL SCREEN MENU */
.mobile-menu{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#000;
  color:#fff;
  z-index:2000;
  transform:translateX(100%);
  transition:.4s ease;
  overflow-y:auto;
}

.mobile-menu.active{
  transform:translateX(0);
}

.mobile-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}

.mobile-logo{
  height:24px;
}

.mobile-close{
  font-size:26px;
  cursor:pointer;
}

.mobile-nav{
  list-style:none;
}

.mobile-nav li{
  padding:20px;
  border-bottom:1px solid rgba(255,255,255,0.1);
  font-size:18px;
  letter-spacing:1px;
  text-transform: uppercase;
}

/* ACCORDION */
.accordion-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
}

.accordion-content{
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease;
}

.mobile-accordion.active .accordion-content{
  max-height:1000px;
}

.mobile-accordion.active .arrow{
  transform:rotate(180deg);
}

.arrow{
  transition:.3s;
}

/* FILTER */
.mobile-filter{
  display:flex;
  justify-content:center;
  gap:25px;
  margin-bottom:20px;
  margin-top: 20px;
}

.m-filter{
  background:none;
  border:none;
  color:#aaa;
  font-size:16px;
  cursor:pointer;
}

.m-filter.active{
  color:#fff;
}

/* CAR GRID */
.mobile-cars{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
  margin-bottom: 20px;
}

.m-car{
  text-align:center;
}

.m-car img{
  width:100%;
  max-width:140px;
  filter:drop-shadow(0 20px 20px rgba(0,0,0,0.8));
}

.m-car a{
  margin-top:10px;
  font-size:14px;
  color: #fff;
  text-decoration: none;
}

/* SERVICE LINKS */
.simple-links{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.simple-links a{
  text-decoration:none;
  color:#ddd;
  font-size:16px;
  padding-left: 10px;
}

.simple-links a:first-child {
  padding-top: 20px;
}

/* Homepage Hero Slider */
.hero-slider{
  position:relative;
  width:100%;
  height:90vh;
  overflow:hidden;
}

.hero-indicators{
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  z-index:5;
}

.hero-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:.4s ease;
}

.hero-dot.active{
  width:28px;
  border-radius:20px;
  background:#ffffff;
}

/* Track for sliding */
.hero-track{
  display:flex;
  height:100%;
  transition:transform .8s cubic-bezier(.77,0,.18,1);
}

/* Each Slide */
.hero-slide{
  position:relative;
  min-width:100%;
  height:100vh;
  overflow:hidden;
  display:flex;
}

/* Background container (image injected via JS) */
.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transition:1s ease;
  transform:scale(1);
}

/* Slight zoom effect on active slide (optional premium) */
.hero-slide.active .hero-bg{
  transform:scale(1.05);
}

/* Dark cinematic overlay */
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.95) 15%,
    rgba(0,0,0,0.75) 40%,
    rgba(0,0,0,0.4) 65%,
    rgba(0,0,0,0.2) 85%
  );
}

/* Inner layout */
.hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  padding-bottom: 160px;
  padding-left: 80px;
  padding-right: 80px;
  gap:40px;
}

/* =========================================
   LEFT CONTENT
========================================= */

.hero-left{
  max-width:650px;
}

.hero-left span{
  font-size:65px;
  font-weight:900;
  letter-spacing:4px;
  margin-bottom:20px;
  color:#fff;
  line-height:1.05;
}

.hero-left p{
  font-size:20px;
  color:#d5d5d5;
  margin-bottom:35px;
  letter-spacing:1px;
}

/* CTA BUTTON */
.hero-btn{
  display:inline-block;
  padding:15px 38px;
  border-radius:50px;
  font-weight:600;
  text-decoration:none;
  color:#fff;
  background:#000;
  transition:.4s ease;
}

.hero-btn:hover{
  transform:translateY(-4px);
}

/* =========================================
   RIGHT MINI CARDS
========================================= */

.hero-right{
  display:flex;
  align-items:flex-end;
  gap:30px;
}

/* Card style (like screenshot) */
.mini-card{
  width:225px;
  background:rgba(20,20,20,0.75);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(18px);
  border-radius:10px;
  overflow:hidden;
  transition:.4s ease;
}

.mini-card img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
}

.card-info{
  padding:18px;
}

.card-info h4{
  font-size:14px;
  font-weight:600;
  margin-bottom:6px;
  color:#fff;
}

.card-info span{
  font-size:12px;
  color:#aaa;
}

/* Hover effect */
.mini-card:hover{
  transform:translateY(-12px);
  box-shadow:0 25px 60px rgba(0,0,0,0.6);
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media(max-width:1024px){
  .hero-slider{
    height: 100vh;
  }

  .hero-inner{
    padding:60px;
    text-align: center;
    justify-content: center;
  }

  .hero-left span{
    font-size:60px;
  }

  .hero-left p{
    font-size:18px;
  }

  .mini-card{
    display: none;
  }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media(max-width:768px){
  .hero-slide{
    height: 65vh;
  }
  .hero-slider{
    height: 65vh;
  }

  .hero-overlay{
    display: none;
  }

  .hero-inner{
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
    padding:40px;
  }

  .hero-left{
    max-width:100%;
  }

  .hero-left span{
    font-size:42px;
  }

  .hero-left p{
    font-size:16px;
  }

  /* Cards full width and equal */
  .hero-right{
    width:100%;
    justify-content:space-between;
    margin-top:30px;
  }

  .mini-card{
    display: none;
  }

  .hero-indicators{
    display: none;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media(max-width:480px){

  .hero-slide{
    height: 65vh;
  }

  .hero-slider{
    height: 65vh;
  }

  .hero-overlay{
    display: none;
  }

  .hero-left span{
    font-size:32px;
  }

  .hero-btn{
    padding:12px 26px;
    font-size:14px;
  }

  .mini-card{
    display: none;
  }

  .hero-right{
    flex-direction:column;
    gap:20px;
  }

  .hero-indicators{
    display: none;
  }
}

.dealer-banner {
    position: relative;
    width: 100%;
    height: 500px; /* Sesuaikan tinggi */
    background-image: url('https://www.jaecooofficialbandung.com/images/banner/j8-scaled.webp'); /* Ganti dengan gambar mobil */
    background-size: cover;
    background-position: center right;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Overlay Gradient Persis Seperti Gambar */
.dealer-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradient: Abu-abu di kiri -> Transparan -> Putih silau di kanan */
    background: linear-gradient(
        to right, 
        rgba(210, 218, 226, 1) 0%, 
        rgba(210, 218, 226, 0.9) 25%, 
        rgba(210, 218, 226, 0) 60%, 
        rgba(255, 255, 255, 0.4) 85%,
        rgba(255, 255, 255, 0.8) 100%
    );
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.text-content {
    max-width: 450px; /* Membatasi lebar teks agar persis layout */
    color: #444;
}

.title {
    font-weight: 900;
    font-size: 28px;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    color: #333;
}

.slash {
    color: #d32f2f; /* Warna merah pada slash */
    margin-left: 5px;
}

.subtitle {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 25px;
    color: #555;
}

.description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #000;
    font-weight: 400;
}

.arrow {
    background-color: #d32f2f;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* --- RESPONSIVE STYLES --- */

/* Tablet & Mobile (Lebar layar di bawah 1024px) */
@media screen and (max-width: 1024px) {
    .dealer-banner {
        height: auto; /* Tinggi menyesuaikan isi */
        padding: 60px 0;
        background-position: 70% center; /* Geser fokus foto mobil sedikit */
    }

    .content-wrapper {
        padding: 0 30px;
    }

    .text-content {
        max-width: 550px; /* Sedikit lebih lebar di tablet */
    }
}

/* Smartphone (Lebar layar di bawah 768px) */
@media screen and (max-width: 768px) {
  .dealer-banner {
      text-align: center;
      background-image: linear-gradient(
          rgba(210, 218, 226, 0.85), 
          rgba(210, 218, 226, 0.85)
      ), url('https://jaecooandalan.co.id/wp-content/uploads/2025/08/J8_Right_Side_Head_Up_edit_image_67b94a67d4-scaled.jpg'); /* Tambahkan overlay warna solid di mobile agar teks terbaca */
  }

  .dealer-banner::before {
      display: none; /* Matikan gradient desktop yang kompleks */
  }

  .content-wrapper {
      display: flex;
      justify-content: center;
  }

  .text-content {
      max-width: 100%;
  }

  .title {
      font-size: 24px;
  }

  .subtitle {
      font-size: 16px;
  }

  .description {
      font-size: 14px;
      line-height: 1.6;
  }

  .cta-button {
      width: 100%; /* Tombol memenuhi lebar layar di HP */
      justify-content: center;
      box-sizing: border-box;
  }
}

/* choose car */

.choose-car{
  background:linear-gradient(to bottom,#ffffff,#ffffff);
  padding:80px 0;
  text-align:center;
}

.choose-title{
  font-size:24px;
  letter-spacing:4px;
  margin-bottom:20px;
  color: #000;
  text-transform: uppercase;
}

.car-slider{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.car-display{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:45px;
  width:100%;
  max-width:1200px;
}

.car-slot{
  width:300px;
  text-align:center;
  opacity:.6;
  transition:.4s ease;
}

.car-slot img{
  width:100%;
}

.car-slot p{
  margin-top:15px;
  font-size:14px;
}

/* CENTER BIG */
.car-slot.center{
  width:570px;
  opacity:1;
}

.car-slot.center img{
  width:100%;
}

.car-slot.center a{
  font-size:20px;
  font-weight:600;
  color: #000;
  text-transform: uppercase;
}

.car-arrow{
  background:none;
  border:none;
  font-size:30px;
  cursor:pointer;
  padding:40px;
}

/* Responsive */
@media(max-width:768px){

  .car-display{
    justify-content:center;
  }

  .car-slot.center{
    
    width: 260px;
  }

  .car-arrow{
    padding:15px;
  }

}

.technology-features{
  padding-top: 100px;
  padding-right: 6%;
  padding-bottom: 40px;
  padding-left: 6%;
  background:#d2d3d5;
  font-family: 'Inter', sans-serif;
}

/* ================= TOP SECTION ================= */

.tech-top{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:30px;
  margin-bottom:45px;
  align-items:start;
}

/* ===== LARGE LANDSCAPE IMAGE ===== */

.tech-large{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  aspect-ratio: 20 / 9;   /* 🔥 KEY FIX */
}

.tech-large img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ===== SMALL CARD ===== */

.tech-small{
  display:flex;
  flex-direction:column;
}

/* Landscape small image */
.tech-small img{
  width:100%;
  aspect-ratio: 8 / 4;   /* 🔥 MATCH ATTACHMENT */
  object-fit:cover;
  display:block;
  border-radius: 20px;
}
.tech-content{
  padding-top:25px;
}

.tech-content h4{
  font-size:18px;
  margin-bottom:10px;
  color: #000;
}

.tech-content p{
  font-size:14px;
  color:#000;
  line-height:1.6;
  margin-bottom:15px;
}

.tech-content a{
  font-size:14px;
  text-decoration:none;
  color:#111;
  font-weight:500;
}

/* ================= BOTTOM SECTION ================= */

.tech-bottom{
  display:grid;
  grid-template-columns: 1.5fr 1fr;
  gap:60px;
  padding-top: 60px;
  padding-bottom: 50px;
}

.tech-left-text h2{
  font-size:48px;
  font-weight:500;
  line-height:1.2;
  color: #000;
}

.tech-right-text p{
  color:#000;
  line-height:1.8;
  margin-bottom:25px;
}

.tech-btn{
  display:inline-block;
  padding:12px 30px;
  background:black;
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-size:14px;
  transition:.3s ease;
}

.tech-btn:hover{
  background:#333;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1024px){

  .tech-top{
    grid-template-columns:1fr;
  }

  .tech-large{
    aspect-ratio: 16 / 10;
  }

  .tech-bottom {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .tech-left-text h2{
    font-size:36px;
  }

}

@media(max-width:768px){

  .technology-features{
    padding:60px 5%;
  }

  .tech-left-text h2{
    font-size:28px;
  }

  .tech-small img{
    height:260px;
  }

}

.car-advantages{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#0b0f14;
  color:#fff;
  border-top:1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.adv-item{
  padding:40px 50px;
  border-right:1px solid rgba(255,255,255,0.06);
}

.adv-item:last-child{
  border-right:none;
}

/* TOP AREA */
.adv-top{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:14px;
}

/* ICON */
.adv-icon svg{
  width:34px;
  height:34px;
  stroke:#ffffff;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* TITLE */
.adv-item h4{
  font-size:18px;
  font-weight:600;
  letter-spacing:.3px;
  margin:0;
}

/* CAPTION */
.adv-item p{
  font-size:14px;
  color:#ffffff;
  line-height:1.6;
  margin:0;
}

@media(max-width:1024px){
  .car-advantages{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:640px){
  .car-advantages{
    grid-template-columns:1fr;
  }

  .adv-item{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,0.06);
	  padding-left: 20px;
        padding-right: 20px;
  }

  .adv-item:last-child{
    border-bottom:none;
  }
}

.video-section{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

/* Video */
.bg-video{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:100%;
  height:100;
  object-fit:cover;
}


/* Optional center content */
.video-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}

.video-content h2{
  font-size:42px;
  font-weight:600;
}

@media(max-width:768px){
  .video-section{
    height:26vh;
  }

  .video-content h2{
    font-size:26px;
  }

}

.cta-home{
  position:relative;
 
  margin-bottom: 150px;
}

.cta-bg{
  height:680px;
  background:url("https://www.jaecooofficialbandung.com/images/banner/banner-hp-4-d.webp") center/cover no-repeat;
}

.cta-container{
  max-width:1260px;
  margin:auto;
  position:relative;
}

.cta-card{

  display:grid;
  grid-template-columns: 420px 1fr;

  background:#fff;

  border-radius:14px;

  box-shadow:0 20px 50px rgba(0,0,0,0.15);

  overflow:hidden;

  position:absolute;
  left:0;
  right:0;
  top:-204px;

}

.cta-left img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cta-right{
  padding:40px 50px;
}

.cta-label{
  font-size:12px;
  color:#777;
  letter-spacing:1px;
}

.cta-right h2{
  margin:10px 0 15px;
  font-size:28px;
  line-height:1.3;
  color: black;
}

.cta-right p{
  color:#666;
  margin-bottom:22px;
}

.cta-btn{

  display:inline-block;

  background:#25D366;
  color:#fff;

  padding:12px 26px;

  border-radius:30px;

  text-decoration:none;

  font-weight:600;

  margin-right:15px;

  transition:.3s;
}

.cta-btn:hover{
  transform:translateY(-2px);
}

.cta-phone{
  margin-top:14px;
  font-weight:500;
  color:#111;
}

@media (max-width:900px){
	
	.cta-bg{
		height:280px;
	}

  .cta-card{
    grid-template-columns:1fr;
    position:relative;
    top:0px;
	border-radius:0px;
	box-shadow:none;
	margin-bottom: -150px;
  }

  .cta-left{
    height:220px;
  }

  .cta-right{
    padding:30px;
  }

  .cta-right h2{
    font-size:22px;
  }

}

.site-footer{
  font-family:inherit;
}

.container{
  max-width:1300px;
  margin:auto;
  padding:0 20px;
}

.footer-top{
  background:#ffffff;
  padding:22px 0;
}

.footer-top-inner{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:20px;
}

.follow-text{
  font-weight:600;
  color:#3c4a5d;
  letter-spacing:.5px;
}

.social-icons{
  display:flex;
  gap:14px;
}

.social-icons a{
  width:44px;
  height:44px;

  background:#3c4a5d;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;
}

.social-icons svg{
  width:20px;
  fill:#fff;
}

.footer-main{
  background:#24313a;
  color:#fff;
  padding:70px 0;
}

.footer-main h3{
  margin-bottom:20px;
  font-size:20px;
}

.footer-main p{
  margin-bottom:22px;
  line-height:1.6;
  color:#d7dde2;
}

.footer-address{
  max-width:650px;
}

@media (max-width:768px){

  .footer-top-inner{
    justify-content:center;
  }

  .footer-main{
    padding:50px 0;
  }

  .footer-main h3{
    font-size:18px;
  }

}

.sales-widget{
  position:fixed;
  bottom:24px;
  right:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
  z-index:9999;
}

.sales-toggle{
  width:60px;
  height:60px;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  animation:waPulse 2s infinite;
}

@keyframes waPulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,.7); }
  70%{ box-shadow:0 0 0 16px rgba(37,211,102,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}

.sales-card{
  width:280px;
  background:#fff;
  border-radius:18px;
  padding:20px;
  box-shadow:0 15px 40px rgba(0,0,0,.18);
  transform:translateY(20px);
  opacity:0;
  pointer-events:none;
  transition:all .35s ease;
}

.sales-widget.active .sales-card{

  transform:translateY(0);
  opacity:1;
  pointer-events:auto;

}

.sales-header span{
  font-size:13px;
  color:#777;
}

.sales-header strong{
  display:block;
  font-size:18px;
  margin-top:2px;
  color: black;
}

.sales-greeting{
  margin-top:12px;
  background:#f2f2f2;
  padding:10px 12px;
  border-radius:10px;
  font-size:14px;
  color: black;
}

.sales-actions{
  display:flex;
  gap:10px;
  margin-top:14px;
}

.btn-wa{
  flex:1;
  text-align:center;
  background:#25D366;
  color:#fff;
  padding:10px;
  border-radius:25px;
  text-decoration:none;
}

.btn-ig{
  flex:1;
  text-align:center;
  background:#111;
  color:#fff;
  padding:10px;
  border-radius:25px;
  text-decoration:none;
}

.wa-icon{
  width:28px;
  height:28px;
  fill:white;
}

@media (max-width:768px){

  .sales-widget{
    bottom:18px;
    right:18px;
  }

  .sales-card{
    width:240px;
    padding:16px;
  }

}

