

:root{
  color-scheme: dark;

  --bg: #0B1220;          
  --surface: #0F172A;     
  --surface-2: #111C33;   
  --surface-3: #0D1528;   

  --text: #E5E7EB;
  --muted: #9AA4B2;

  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.12);

  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --shadow-2: 0 18px 45px rgba(0,0,0,.55);

  --accent: #3B82F6;
  --accent-2: #2563EB;

  --danger: #EF4444;
  --warning: #FBBF24;

  --radius: 16px;
  --radius-sm: 12px;

  --ring: 0 0 0 4px rgba(59,130,246,.28);
}


html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg) !important; 
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: var(--text); }
a:hover{ color: #fff; }

:where(a, button, input, textarea, select):focus-visible{
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.hero-banner{
  position: relative;
  height: 38vh;
  max-height: 440px;
  width: 100%;
  overflow: hidden;

  
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}


.banner-slide::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  pointer-events: none;
}

.banner-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .75s ease-in-out;
}
.banner-slide.active{ opacity: 1; }

.banner-content{
  height: 100%;
  display: grid;
  place-items: center;
  padding: 22px 14px;
  position: relative;
  z-index: 1;
}

.banner-text{
  text-align: center;
  color: #fff;
  max-width: min(860px, 92%);
  padding: 0 12px;
}

.banner-title{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(1.7rem, 3vw + 1rem, 3.4rem);
  text-wrap: balance;
}

.banner-subtitle{
  margin: 0;
  font-size: clamp(1rem, .6vw + .9rem, 1.25rem);
  color: rgba(255,255,255,.88);
}


.nav-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22); 
  backdrop-filter: blur(8px);

  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.nav-arrow:hover{
  background: rgba(0,0,0,.32);
  border-color: rgba(255,255,255,.22);
}
.nav-arrow:active{ transform: translateY(-50%) scale(.98); }

.nav-arrow.left{ left: 12px; }
.nav-arrow.right{ right: 12px; }

.arrow-icon{
  width: 20px;
  height: 20px;
  color: #fff;
}


.dots-container{
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,.42);
  transition: width .22s ease, background .22s ease, transform .15s ease;
}
.dot:hover{ background: rgba(255,255,255,.65); transform: translateY(-1px); }
.dot.active{
  width: 46px;
  background: #fff;
}


.advantage-card{
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}

.advantage-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: var(--shadow);
}

.advantage-card .card-body p.fs-4 strong{ color: var(--text); }


.advantage-card .card-text{ color: var(--muted) !important; }

.advantage-card img{
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.35));
}


.featured-wrapper{
  max-width: min(80%, 92%);
  margin: 76px auto 44px !important;
  padding: 0 6px;
}

.section-title{
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
  font-size: clamp(1.35rem, .6vw + 1.2rem, 1.85rem);
  position: relative;
  display: inline-block;
}

.section-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60%;
  height: 3px;
  border-radius: 999px;
  background: var(--accent); 
  opacity: .9;
}


.product-card{
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
}

.product-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.14);
  box-shadow: var(--shadow-2);
}

.product-media{
  position: relative;
  padding: 18px;
  height: 170px;

  display: grid;
  place-items: center;

  background: var(--surface-3); 
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.product-image{
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.35));
}

.product-info{
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-title{
  margin-top: 0px;
  font-weight: 850;
  font-size: 0.98rem;
  color: var(--text);
  min-height: 42px;
  letter-spacing: -0.01em;
}

.product-desc{
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.9rem * 1.35 * 3);
}

.price-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.price{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.price-new{
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.price-old{
  font-size: .98rem;
  color: rgba(229,231,235,.55);
  text-decoration: line-through;
}


.discount-strip{
  position: absolute;
  top: 12px;
  right: 12px;

  padding: 6px 10px;
  font-weight: 900;
  font-size: .85rem;
  color: #fff;

  background: var(--danger); 
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);

  box-shadow: 0 10px 20px rgba(239,68,68,.20);
  z-index: 2;
}


.rating{
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
}

.stars{
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  color: rgba(255,255,255,.22);
}
.stars::before{ content: "★★★★★"; }

.stars-fill{
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--warning);
}
.stars-fill::before{ content: "★★★★★"; }

.rating-number{
  color: rgba(229,231,235,.9);
  font-weight: 800;
}

.review-count{
  color: rgba(229,231,235,.55);
  font-size: .80rem;
}


.product-btn{
  margin-top: auto;
  width: 100%;
  padding: 11px 12px;

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

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);

  background: var(--accent); 
  color: #fff !important;
  text-decoration: none;
  font-weight: 850;

  box-shadow: 0 12px 26px rgba(37,99,235,.18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
}

.product-btn:hover{
  transform: translateY(-2px);
  background: var(--accent-2); 
  box-shadow: 0 18px 38px rgba(37,99,235,.25);
}


@media (max-width: 991.98px){
  .product-media{ height: 160px; }
  .product-card{ min-height: 360px; }
}
@media (max-width: 575.98px){
  .hero-banner{ height: 42vh;}
  .product-media{ height: 150px; }
  .product-card{ min-height: 380px; }
}

.brands-wrapper{
  margin-top: 80px;
  padding: 56px 0;
}

.brands-title{
  font-size: clamp(1.4rem, .8vw + 1.1rem, 2rem);
  font-weight: 950;
  text-align: center;
  margin: 0 0 30px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brands-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  padding: 0 10px;
}

.brand-card{
  background: var(--surface-2); 
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;

  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
}

.brand-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.brand-logo-box{
  height: 70px;
  display: grid;
  place-items: center;
}

.brand-logo{
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  opacity: .92;
  transition: transform .22s ease, opacity .22s ease;
  filter: drop-shadow(0 14px 16px rgba(0,0,0,.35));
}

.brand-card:hover .brand-logo{
  transform: scale(1.08);
  opacity: 1;
}

.brand-name{
  margin: 0;
  font-weight: 850;
  color: rgba(229,231,235,.88);
}


.fade-out{ opacity: 0; transition: opacity .15s linear; }
.fade-in{ opacity: 1; transition: opacity .2s linear; }
.advantage-card{
  border-radius: 0.75rem;
}

.advantage-icon{
  max-width: 70px;
}


.product-media{
  height: 230px;          
  padding: 14px;
  display: grid;
  place-items: start center; 
  overflow: hidden;
}


.product-image{
  max-height: 210px;      
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
}


.product-info{
  padding: 10px 12px 12px; 
  gap: 8px;                
}


.product-title{
  min-height: 0;          
  font-size: .95rem;
  line-height: 1.2;
}


.product-desc{
  -webkit-line-clamp: 2;  
  min-height: unset;
  font-size: .88rem;
}


.product-btn{
  padding: 10px 12px;
  border-radius: 12px;
}


@media (max-width: 991.98px){
  .product-media{ height: 210px; }
  .product-image{ max-height: 190px; }
}
@media (max-width: 575.98px){
  .product-media{ height: 200px; }
  .product-image{ max-height: 180px; }
}
