/* =====================================================
   style.css - shared styles for index.html & product.html
   ===================================================== */

/* ===== VARIABLES ===== */
:root {
  --bg: #fffdf6;
  --surface: #fffef9;
  --surface-2: #f8f3e8;
  --text: #1c1e28;
  --muted: #666979;
  --line: #ece4d5;
  --yellow: #ffd54a;
  --orange: #ff7a1a;
  --orange-deep: #eb5a0c;
  --green: #11b67a;
  --green-deep: #0b8f61;
  --dark: #161b2d;
  --dark-2: #202740;
  --paypal: #0070ba;
  --shadow: 0 18px 60px rgba(24,22,35,.10);
  --shadow-soft: 0 10px 28px rgba(24,22,35,.08);
  --radius: 24px;
  --font: 'Cairo', sans-serif;
  --tr: 0.28s cubic-bezier(.4,0,.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); min-height: 100vh; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font-family: var(--font); }

/* ===== SHELL ===== */
.shell { max-width: 1380px; margin: 0 auto; padding: 0 28px 48px; }

/* ===== TOPBAR ===== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 28px; margin: 0 -28px 24px;
  background: rgba(255,253,246,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(236,228,213,.9);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.5rem; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 18px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 24px rgba(255,122,26,.28);
  flex-shrink: 0;
}
.topnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topnav a { padding: 10px 16px; border-radius: 999px; color: var(--muted); font-weight: 700; transition: var(--tr); }
.topnav a:hover, .topnav a.active { background: var(--yellow); color: var(--dark); }

/* ===== PROMO BANNER ===== */
.promo {
  margin-top: 34px; padding: 28px; border-radius: 30px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #fff1cf 0%, #ffe5ca 45%, #fff4e8 100%);
  border: 1px solid #f5d49e;
}
.promo::after {
  content: ""; position: absolute; left: -40px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,.16), transparent 72%);
}
.promo-content {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap;
}
.promo h3 { font-size: 1.5rem; margin-bottom: 8px; }
.promo p { color: #6b5738; max-width: 700px; line-height: 1.8; }
.promo a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px;
  background: var(--dark); color: #fff; font-weight: 800;
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 48px;
  background: var(--dark);
  color: rgba(255,255,255,.78);
  border-radius: 30px 30px 0 0;
  padding: 40px 28px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 1.25rem; color: #fff;
  margin-bottom: 14px;
}
.footer-about p {
  font-size: .9rem; line-height: 1.9;
  color: rgba(255,255,255,.6); max-width: 340px;
}
.footer-col h4 {
  font-size: 1rem; font-weight: 800; color: #fff;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.62); font-size: .9rem; font-weight: 600;
  transition: var(--tr); display: inline-flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: var(--yellow); }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.footer-social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 800; transition: var(--tr);
}
.footer-social-btn:hover { transform: translateY(-2px); }
.footer-social-btn.fb { background: #1877f2; color: #fff; }
.footer-social-btn.wa { background: #27d366; color: #fff; }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.5); font-weight: 700; }
.footer-bottom a:hover { color: var(--yellow); }

/* ===== SHARED RESPONSIVE ===== */
@media (max-width: 860px) {
  .shell { padding: 0 16px 36px; }
  .topbar { padding: 16px; margin: 0 -16px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { border-radius: 20px 20px 0 0; padding: 28px 18px 22px; }
}
@media (max-width: 560px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
