/* ============================================================
   Zahou Equipment Rental – Stylesheet
   Plugin version 1.0.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

.zahou-rental-section *,
.zahou-rental-section *::before,
.zahou-rental-section *::after {
  box-sizing: border-box;
}

/* ── CSS variables scoped to the section ── */
.zahou-rental-section {
  --red:        #faa832;
  --red-soft:   #fde8ef;
  --bg:         #f5f6fa;
  --white:      #ffffff;
  --card-bg:    #ffffff;
  --border:     #e8eaf0;
  --text:       #111827;
  --sub:        #4b5563;
  --muted:      #9ca3af;
  --tag-bg:     #f0f2f8;
  --shadow:     0 4px 24px rgba(0,0,0,.07);
  --shadow-hover: 0 16px 48px rgba(228,29,91,.13);
  --radius:     18px;
  --radius-sm:  10px;
  font-family: 'Poppins', sans-serif;
}

/* ══ SECTION ══ */
.zahou-rental-section {
  padding: 100px 0 120px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.zahou-rental-section::before,
.zahou-rental-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .35;
  filter: blur(80px);
}
.zahou-rental-section::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #fde8ef 0%, transparent 70%);
  top: -100px; right: -100px;
}
.zahou-rental-section::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e8eeff 0%, transparent 70%);
  bottom: 0; left: -80px;
}

/* ══ HEADER ══ */
.zahou-rental-section .section-header {
  max-width: 1300px;
  margin: 0 auto 52px;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.zahou-rental-section .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.zahou-rental-section .section-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.zahou-rental-section .section-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0;
}
.zahou-rental-section .section-title span { color: var(--red); }

.zahou-rental-section .section-sub {
  font-size: 15px;
  color: var(--sub);
  margin-top: 10px;
  max-width: 460px;
  line-height: 1.75;
}

/* ══ FILTER TABS ══ */
.zahou-rental-section .filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.zahou-rental-section .filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--sub);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .22s;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.zahou-rental-section .filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.zahou-rental-section .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(228,29,91,.3);
}

/* ══ CAROUSEL ══ */
.zahou-rental-section .carousel-outer {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px;
  z-index: 1;
}

.zahou-rental-section .carousel-track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.zahou-rental-section .carousel-track {
  display: flex;
  gap: 22px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  padding: 8px 4px 16px;
}

/* ══ CARD ══ */
.zahou-rental-section .equip-card {
  flex: 0 0 calc(25% - 17px);
  min-width: 0;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.zahou-rental-section .equip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(228,29,91,.25);
}

/* badge */
.zahou-rental-section .card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(228,29,91,.35);
}
.zahou-rental-section .card-badge.new {
  background: linear-gradient(135deg,#10b981,#059669);
  box-shadow: 0 3px 10px rgba(16,185,129,.35);
}

/* image */
.zahou-rental-section .card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f8f9ff 0%, #eef0f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.zahou-rental-section .card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.12));
  transition: transform .4s ease;
}
.zahou-rental-section .equip-card:hover .card-img img { transform: scale(1.07); }

.zahou-rental-section .card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.zahou-rental-section .equip-card:hover .card-img::after { opacity: 1; }

/* body */
.zahou-rental-section .card-body { padding: 18px 20px 20px; }

.zahou-rental-section .card-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.zahou-rental-section .card-name {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 6px;
}
.zahou-rental-section .card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* price row */
.zahou-rental-section .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1.5px solid var(--border);
}
.zahou-rental-section .price-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2px;
}
.zahou-rental-section .price-amount {
  font-size: 21px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.zahou-rental-section .price-amount span {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-right: 2px;
}
.zahou-rental-section .rent-btn {
  background: var(--red);
  border: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 9px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .22s;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(228,29,91,.3);
}
.zahou-rental-section .rent-btn:hover {
  background: #ffd731;
  transform: scale(1.05);
}

/* empty state */
.zahou-rental-section .rental-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* ══ ARROWS ══ */
.zahou-rental-section .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 46px; height: 60px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: all .22s;
}
.zahou-rental-section .carousel-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(228,29,91,.3);
}
.zahou-rental-section .carousel-arrow.prev { left: 0; }
.zahou-rental-section .carousel-arrow.next { right: 0; }

/* ══ DOTS ══ */
.zahou-rental-section .carousel-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 36px;
}
.zahou-rental-section .dot {
  width: 8px; height: 8px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all .22s;
}
.zahou-rental-section .dot.active {
  width: 28px;
  border-radius: 100px;
  background: var(--red);
}

/* ══ CTA STRIP ══ */
.zahou-rental-section .rental-cta {
  max-width: 1300px;
  margin: 64px auto 0;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.zahou-rental-section .cta-inner {
  background: linear-gradient(135deg, var(--red) 0%, #ffd731 100%);
  border-radius: var(--radius);
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 60px rgba(228,29,91,.25);
  position: relative;
  overflow: hidden;
}
.zahou-rental-section .cta-inner::before {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -100px; left: -80px;
}
.zahou-rental-section .cta-inner::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  bottom: -60px; right: 200px;
}
.zahou-rental-section .cta-text { position: relative; z-index: 1; }
.zahou-rental-section .cta-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.zahou-rental-section .cta-text p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
}
.zahou-rental-section .cta-action {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.zahou-rental-section .btn-white {
  background: #fff;
  color: var(--red);
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.zahou-rental-section .btn-white:hover { opacity: .92; transform: translateY(-2px); }

.zahou-rental-section .btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-decoration: none;
  display: inline-block;
}
.zahou-rental-section .btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .zahou-rental-section .equip-card { flex: 0 0 calc(33.33% - 15px); }
}
@media (max-width: 768px) {
  .zahou-rental-section .equip-card { flex: 0 0 calc(50% - 11px); }
  .zahou-rental-section .section-header { flex-direction: column; align-items: flex-start; }
  .zahou-rental-section .cta-inner { flex-direction: column; text-align: center; }
  .zahou-rental-section .cta-action { justify-content: center; }
}
@media (max-width: 480px) {
  .zahou-rental-section .equip-card { flex: 0 0 100%; }
  .zahou-rental-section .carousel-outer { padding: 0 24px; }
  .zahou-rental-section .section-header { padding: 0 20px; }
  .zahou-rental-section .rental-cta { padding: 0 20px; }
}
