/* =========================
   BASE
   ========================= */
body{
  font-family: Arial, sans-serif;
  margin: 0;
  color:#111;
  background:#fff;
}

.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

.section{
  margin-top: 22px;
}

.section-title{
  margin: 0 0 14px;
  font-size: 22px;
}

/* =========================
   HERO
   ========================= */
.hero{
  margin-top: 10px;
}

.hero-slider{
  position: relative;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

/* IMPORTANT:
   This is the missing piece in many builds:
   all slides hidden by default; only .active shows. */
.hero-slide{
  display: none;
  text-decoration: none;
  color: inherit;
}

.hero-slide.active{
  display: block;
}

.hero-slide img{
  width: 100%;
  height: 600px;
  object-fit: fill;
  display: block;
}

@media (max-width: 800px){
  .hero-slide img{ height: 320px; }
}

.hero-caption{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px 14px;
}

.hero-caption h1{
  font-size: 20px;
  margin: 0 0 6px;
}

.hero-caption p{
  margin: 0;
  color: #444;
  line-height: 1.35;
}

/* Arrows */
.hero-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-size: 26px;
  line-height: 44px;
  cursor: pointer;
  z-index: 10;
}

.hero-arrow.prev{ left: 14px; }
.hero-arrow.next{ right: 14px; }

.hero-arrow:disabled{
  opacity: 0.35;
  cursor: default;
}

/* Dots */
.hero-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.hero-dot{
  border: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  cursor: pointer;
}

.hero-dot.active{
  background: rgba(255,255,255,0.98);
}

/* =========================
   GRID
   ========================= */
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

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

.card{
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.card-link{
  display: block;
  text-decoration: none;
  color: #111;
}

.thumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb img{
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.thumb-empty{
  color: #999;
  font-weight: 600;
}

.pad{
  padding: 12px;
}

.card-title{
  font-weight: 800;
  margin-bottom: 6px;
}

.mini{
  color:#555;
  line-height: 1.35;
  margin-bottom: 10px;
}

.price{
  font-weight: 800;
  color: #F00000;
}
