/* ====== Variables & Reset (Mobile First) ====== */
:root {
  --terracotta: #c1654a;
  --terracotta-dark: #a04a32;
  --beige: #f5ead9;
  --beige-light: #fdf8f0;
  --brown: #6b4226;
  --brown-dark: #4a2d18;
  --white: #fff;
  --green: #25d366;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(74, 45, 24, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Cairo", sans-serif;
  background: var(--beige-light);
  color: var(--brown-dark);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 92%; max-width: 1150px; margin: 0 auto; }

/* ====== Header ====== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; }
.logo { font-weight: 900; font-size: 1.25rem; color: var(--brown-dark); }
.logo span { color: var(--terracotta); }
.nav { display: flex; gap: 1rem; align-items: center; font-weight: 600; font-size: 0.9rem; }
.nav a:hover { color: var(--terracotta); }
.nav__cta {
  background: var(--terracotta); color: var(--white);
  padding: 0.4rem 1rem; border-radius: 999px;
}
.nav__cta:hover { background: var(--terracotta-dark); color: var(--white); }

/* ====== Hero ====== */
.hero { background: linear-gradient(160deg, var(--beige) 0%, var(--beige-light) 100%); padding: 2.5rem 0; }
.hero__inner { display: flex; flex-direction: column; gap: 2rem; }
.hero__badge {
  display: inline-block; background: var(--white); color: var(--terracotta);
  font-weight: 700; font-size: 0.8rem; padding: 0.3rem 0.9rem;
  border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 1rem;
}
.hero h1 { font-size: 2rem; font-weight: 900; line-height: 1.3; }
.hero h1 span { color: var(--terracotta); }
.hero p { margin: 1rem 0 1.5rem; color: var(--brown); }
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.7rem 1.6rem; border-radius: 999px;
  font-weight: 700; transition: all 0.25s ease;
}
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }
.btn--outline { border: 2px solid var(--brown); color: var(--brown); }
.btn--outline:hover { background: var(--brown); color: var(--white); }
.hero__stats { display: flex; gap: 1.5rem; margin-top: 2rem; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.3rem; color: var(--terracotta); }
.hero__stats span { font-size: 0.8rem; color: var(--brown); }
.hero__slider { position: relative; width: 100%; }
.hero__slider img {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 1; object-fit: cover;
  position: absolute; top: 0; left: 0;
  opacity: 0; transition: opacity 0.5s ease;
}
.hero__slider img:first-child { opacity: 1; position: relative; }
.hero__dots {
  display: flex; justify-content: center; gap: 0.4rem;
  margin-top: 0.7rem;
}
.hero__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brown); opacity: 0.3; cursor: pointer;
  transition: opacity 0.2s;
}
.hero__dot.active { opacity: 1; background: var(--terracotta); }

.hero__image { position: relative; }
.hero__image img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.hero__tag {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--terracotta); color: var(--white);
  font-weight: 700; font-size: 0.85rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
}

/* ====== Highlights ====== */
.highlights { padding: 2.5rem 0; }
.highlights__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.highlight {
  background: var(--white); border-radius: var(--radius);
  padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow);
}
.highlight span { font-size: 2rem; }
.highlight h3 { font-size: 0.95rem; margin: 0.4rem 0 0.2rem; color: var(--brown-dark); }
.highlight p { font-size: 0.8rem; color: var(--brown); }

/* ====== Products ====== */
.products { padding: 2.5rem 0 3.5rem; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { font-size: 1.7rem; font-weight: 900; }
.section-head p { color: var(--brown); }
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }

/* Temu/AliExpress style card */
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease;
  opacity: 0; transform: translateY(18px);
}
.card.visible { opacity: 1; transform: translateY(0); transition: all 0.5s ease; }
.card:hover { transform: translateY(-4px); }
.card__media { position: relative; }
.card__media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card__badge {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: var(--terracotta); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.15rem 0.6rem; border-radius: 999px;
}
.card__body { padding: 0.7rem 0.8rem 0.9rem; display: flex; flex-direction: column; flex: 1; }
.card__name { font-size: 0.9rem; font-weight: 700; line-height: 1.4; }
.card__desc {
  font-size: 0.75rem; color: var(--brown); margin: 0.25rem 0 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: #e0a426; margin-bottom: 0.4rem; }
.card__meta .sold { color: var(--brown); }
.card__pricing { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.6rem; }
.card__price { font-size: 1.15rem; font-weight: 900; color: var(--terracotta); }
.card__old { font-size: 0.78rem; color: #9c8771; text-decoration: line-through; }
.card__details {
  text-align: center; font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem; border-radius: 9px; transition: all 0.2s;
  border: 2px solid var(--terracotta); color: var(--terracotta);
  margin-bottom: 0.5rem; display: block;
}
.card__details:hover { background: var(--terracotta); color: var(--white); }
.card__wa {
  margin-top: auto; background: var(--green); color: var(--white);
  text-align: center; font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem; border-radius: 9px; transition: filter 0.2s;
}
.card__wa:hover { filter: brightness(0.92); }

/* ====== Footer ====== */
.footer { background: var(--brown-dark); color: var(--beige); padding: 2.5rem 0 1rem; }
.footer__inner { display: flex; flex-direction: column; gap: 1.5rem; }
.logo--light { color: var(--beige); }
.footer h4 { color: var(--white); margin-bottom: 0.5rem; }
.footer a { color: var(--terracotta); }
.footer__copy { text-align: center; font-size: 0.8rem; margin-top: 2rem; opacity: 0.7; }

/* ====== Floating WhatsApp ====== */
.wa-float {
  position: fixed; bottom: 1.2rem; left: 1.2rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  font-size: 1.6rem; box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ====== Tablet ≥ 640px ====== */
@media (min-width: 640px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .highlights__grid { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 2.6rem; }
}

/* ====== Desktop ≥ 960px ====== */
@media (min-width: 960px) {
  .hero__inner { flex-direction: row; align-items: center; }
  .hero__content, .hero__image { flex: 1; }
  .products__grid { grid-template-columns: repeat(5, 1fr); }
  .footer__inner { flex-direction: row; justify-content: space-between; }
}
