/* =====================================================
   Saste Tools — Premium Black & Yellow Theme
   ===================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --card-bg: #151515;
  --card-border: #2a2a2a;
  --yellow: #FCC00A;
  --yellow-dark: #BD9007;
  --yellow-glow: rgba(252, 192, 10, 0.35);
  --text-light: #f5f5f5;
  --text-muted: #a3a3a3;
  --radius: 14px;
  --transition: all 0.25s ease;
}

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

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: var(--black);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.section-title span { color: var(--yellow); }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}
/* Hidden by default (desktop keeps one continuous line); shown as an
   actual line break only on mobile widths. Currently used to split the
   products.php subtitle into two lines on small screens. */
.mobile-break-only { display: none; }
/* Only these two titles are long enough to wrap on mobile — the rest
   ("Shop by Category", "Featured Products") already fit on one line at
   the base size, so they're left untouched. */
@media (max-width: 480px) {
  .why-choose .section-title,
  .testimonials-header .section-title {
    font-size: 1.35rem;
    white-space: nowrap;
  }
  .section-sub { font-size: 0.82rem; white-space: nowrap; }
  .products-page-head .section-sub { white-space: normal; }
}
@media (max-width: 360px) {
  .why-choose .section-title,
  .testimonials-header .section-title {
    font-size: 1.1rem;
  }
  .section-sub { font-size: 0.74rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #111;
  box-shadow: 0 4px 18px var(--yellow-glow);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 125%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--yellow-glow); }
.btn-outline {
  background: rgba(252,192,10,0.06);
  border-color: rgba(252,192,10,0.4);
  color: var(--text-light);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); background: rgba(252,192,10,0.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
}
.logo .logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
}
.logo-text .logo-main span { color: var(--yellow); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--yellow); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--black-soft);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 8px 16px;
  gap: 8px;
  min-width: 220px;
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  width: 100%;
  font-size: 0.9rem;
}
.search-box button { background: none; border: none; color: var(--text-muted); cursor: pointer; }

.icon-btn {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-light);
  cursor: pointer;
}
.icon-btn:hover { color: var(--yellow); }

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--yellow);
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(252,192,10,0.14), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -140px; right: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(252,192,10,0.09), transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black-soft);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-bottom: 20px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: badgePulse 1.8s infinite;
}
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(252,192,10,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(252,192,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(252,192,10,0); }
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero h1 span {
  color: var(--yellow);
}
.hero p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 22px;
  max-width: 520px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-tags span {
  background: var(--black-soft);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.hero-tags span:hover { border-color: var(--yellow); color: var(--text-light); }
.hero-tags i { color: var(--yellow); margin-right: 4px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.hero-trust-avatars { display: flex; }
.hero-trust-avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a2a2a, #111);
  border: 2px solid var(--black);
  outline: 2px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.75rem;
  margin-left: -10px;
}
.hero-trust-avatars span:first-child { margin-left: 0; }
.hero-trust-text { font-size: 0.85rem; color: var(--text-muted); }
.hero-trust-text strong { color: var(--yellow); font-size: 0.95rem; }

.hero-visual {
  position: relative;
  width: 420px;
  max-width: 100%;
  height: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-glow-ring {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,192,10,0.42) 0%, rgba(252,192,10,0.22) 40%, rgba(252,192,10,0.08) 62%, transparent 78%);
  filter: blur(26px);
  animation: heroPulse 5s ease-in-out infinite;
  z-index: 0;
}
.hero-glow-ring::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(252,192,10,0.18);
  animation: heroSwirl 40s linear infinite;
}
@keyframes heroSwirl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}
.hero-center-icon {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, #1a1a1a, #000);
  border: 2px solid var(--yellow);
  border-radius: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 800; color: var(--yellow);
  box-shadow: 0 0 45px rgba(252,192,10,0.4), 0 18px 34px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  z-index: 2;
  animation: float 3.5s ease-in-out infinite;
}
.hero-visual::after {
  content: '';
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  height: 34px;
  background: radial-gradient(ellipse at center, rgba(252,192,10,0.28), transparent 75%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}
.floating-icon {
  position: absolute;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  animation: float 4s ease-in-out infinite;
  z-index: 1;
}
/* Same deliberate cross layout as the mobile version below (top, bottom,
   two on the left, two on the right, all fixed pixel offsets) — sized up
   for the 420px desktop box instead of the percentage offsets this used
   to have, which were tuned for a square and drifted unevenly once the
   container became a wide rectangle on real desktop layouts. */
.floating-icon.f1 { top: 9px;   left: 164px; right: auto; bottom: auto; animation-delay: 0.2s; }
.floating-icon.f2 { top: 87px;  left: 298px; right: auto; bottom: auto; animation-delay: 0.6s; }
.floating-icon.f3 { top: 242px; left: 298px; right: auto; bottom: auto; animation-delay: 1s; }
.floating-icon.f4 { top: 319px; left: 164px; right: auto; bottom: auto; animation-delay: 1.4s; }
.floating-icon.f5 { top: 242px; left: 30px;  right: auto; bottom: auto; animation-delay: 1.8s; }
.floating-icon.f6 { top: 87px;  left: 30px;  right: auto; bottom: auto; animation-delay: 2.2s; }
.hero-caption {
  position: absolute;
  bottom: -6px; right: 6%;
  font-family: 'Brush Script MT', cursive;
  color: var(--yellow);
  font-size: 1.1rem;
  text-align: right;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Category Cards ---------- */
.categories { padding: 60px 0; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.category-grid.steps-grid { grid-template-columns: repeat(4, 1fr); }
.category-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--yellow);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.category-icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--yellow); }
.category-card h3 { font-size: 1rem; margin-bottom: 4px; }
.category-card p { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.category-card .arrow { color: var(--yellow); font-size: 0.9rem; }

/* ---------- Product Cards ---------- */
.products-section { padding: 40px 0 70px; }
.products-header {
  margin-bottom: 30px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1440px) {
  .product-grid { grid-template-columns: repeat(6, 1fr); }
}

.product-card {
  background: linear-gradient(160deg, #1a1a1a, #0f0f0f);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
.product-card:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.product-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--yellow);
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  display: flex; align-items: center; gap: 4px;
}
.product-stock-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.stock-in { background: rgba(40, 180, 100, 0.18); color: #3ddc84; border: 1px solid #2d9d63; }
.stock-out { background: rgba(220, 60, 60, 0.18); color: #ff6b6b; border: 1px solid #a13e3e; }

/* Photo area: a soft gold glow blooms in behind the frame on hover — the
   same "premium spotlight" language already used on the single-product
   page and the hero — so the grid card and the detail page read as one
   family instead of two different design systems. */
.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}
.product-img-wrap::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 160%;
  background: radial-gradient(circle, var(--gold-glow-soft, rgba(252,192,10,0.15)), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.product-card:hover .product-img-wrap::before { opacity: 1; }
/* The rounding lives on this frame, not on the <img> itself: border-radius
   on an <img> combined with object-fit does not reliably clip the image
   in every browser, so every uploaded photo — square, rectangular, with
   or without its own baked-in shape — gets clipped into the same rounded
   box here instead. No extra white tile behind it — just the product
   picture itself, rounded. */
.product-img-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-info {
  padding: 13px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(252,192,10,0.1);
}
/* Category label is intentionally hidden on the card face — kept in the
   markup (and PHP loop) untouched, just not rendered, so it can be turned
   back on with one line if ever wanted again. */
.product-category { display: none; }
.product-info h3 { font-size: 0.94rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.product-plan {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Price as a distinct pill rather than plain text — it's the one number
   a buyer scans for first, so it should look found, not read. */
.product-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  background: rgba(252,192,10,0.08);
  border: 1px solid rgba(252,192,10,0.18);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 12px;
  white-space: nowrap;
}
.product-price small { color: var(--text-muted); font-weight: 400; font-size: 0.72rem; }
/* Buy Now / Details swapped visually via column-reverse: the DOM order
   (Buy Now first, Details second) stays exactly as PHP renders it — the
   WhatsApp link and onclick handlers are untouched — only the on-screen
   stacking order flips, so Details now sits on top and Buy Now on the
   bottom of each card. */
.product-buy-btn {
  margin-top: auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 7px;
}
.product-buy-btn .btn {
  width: 100%;
  padding: 9px 6px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ---------- Why Choose Us ---------- */
.why-choose {
  background: var(--black-soft);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 60px 0;
}
/* Equal spacing above and below the heading: the section already has
   60px of padding above it, so give it the same 60px below (instead of
   the old 26px) before the "Instant Delivery" grid starts. */
.why-choose .section-title { margin-bottom: 60px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-item {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 20px;
  transition: var(--transition);
}
.why-item:hover {
  border-color: var(--yellow);
  background: var(--card-bg-hover, #161616);
  transform: translateY(-4px);
}
.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: var(--yellow);
}
.why-item h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 60px 0; }
.testimonials-header {
  margin-bottom: 30px;
}
.testimonials-header-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 9px 16px;
  white-space: nowrap;
}
.rating-badge .stars { color: var(--yellow); font-size: 0.9rem; display: flex; align-items: center; gap: 4px; }
.rating-badge .score { font-weight: 700; }
.rating-badge small { color: var(--text-muted); font-size: 0.78rem; }
.rating-badge small::before { content: '•'; margin-right: 8px; color: var(--card-border); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}
.review-user { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #111;
}
.review-name { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.review-name i { color: #3897f0; font-size: 0.85rem; }
.review-stars { color: var(--yellow); font-size: 0.8rem; }
.review-text { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- WhatsApp Channel CTA ---------- */
.whatsapp-cta {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: var(--radius);
  margin: 0 auto 60px;
  max-width: 1240px;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.whatsapp-cta-left { display: flex; align-items: center; gap: 18px; }
.whatsapp-cta-icon {
  width: 56px; height: 56px;
  background: #111;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--yellow);
  overflow: hidden;
  flex-shrink: 0;
}
.whatsapp-cta-logo {
  width: 68%;
  height: 68%;
  object-fit: contain;
}
.whatsapp-cta h3 { color: #111; font-size: 1.3rem; margin-bottom: 2px; }
.whatsapp-cta p { color: #2a2a2a; font-size: 0.88rem; }
.whatsapp-cta .btn {
  background: #111;
  color: var(--yellow);
  font-size: 1rem;
  padding: 14px 30px;
}
.whatsapp-cta .btn:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
}
.footer-about p { color: var(--text-muted); font-size: 0.85rem; margin: 14px 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--yellow); color: #111; border-color: var(--yellow); }
.footer-col h4 { margin-bottom: 16px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.87rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--text-muted); font-size: 0.85rem; }
.footer-col .contact-line i { color: var(--yellow); margin-top: 3px; }
.payment-icons { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.payment-icons span {
  background: #1c1c1c;
  border: 1px solid var(--card-border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-light);
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Inner Pages ---------- */
.page-hero {
  padding: 50px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero h1 span { color: var(--yellow); }
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.content-section { padding: 60px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
}
.info-card h3 { color: var(--yellow); margin-bottom: 14px; font-size: 1.3rem; }
.info-card p, .info-card li { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 8px; }
.info-card ul { padding-left: 18px; list-style: disc; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.offer-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.offer-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.offer-card i { color: var(--yellow); font-size: 1.6rem; margin-bottom: 12px; }
.offer-card h4 { margin-bottom: 6px; }
.offer-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.faq-question:hover { color: var(--yellow); }
.faq-question i { color: var(--yellow); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 22px 20px; }

/* ---------- Contact Page ---------- */
.contact-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 34px;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.contact-trust-item i { font-size: 1.3rem; color: var(--yellow); flex-shrink: 0; }
.contact-trust-item strong { display: block; font-size: 0.92rem; color: var(--text-light); }
.contact-trust-item span { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card:hover { border-color: var(--yellow); transform: translateY(-5px); }
.contact-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(252, 192, 10, 0.1);
  margin-bottom: 16px;
}
.contact-card-icon i { font-size: 1.5rem; color: var(--yellow); margin-bottom: 0; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card a, .contact-card p { color: var(--text-muted); font-size: 0.9rem; }
.contact-card a:hover { color: var(--yellow); }
.contact-card-action {
  margin-top: 18px;
  font-size: 0.82rem !important;
  font-weight: 600;
  color: var(--yellow) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contact-card-action i { font-size: 0.7rem !important; margin: 0; transition: transform 0.2s ease; }
.contact-card-action:hover i { transform: translateX(3px); }

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 12px; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.contact-info-list li i { color: var(--yellow); margin-top: 3px; flex-shrink: 0; }
.contact-info-divider { height: 1px; background: var(--card-border); margin: 24px 0; }

.contact-form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.contact-form-note i { margin-top: 2px; flex-shrink: 0; }
.contact-form-card label i { color: var(--yellow); margin-right: 6px; font-size: 0.85rem; }

@media (max-width: 768px) {
  .contact-trust-strip { grid-template-columns: 1fr; }
}

/* ---------- Product Detail Page ---------- */
.product-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: flex-start; }
/* Shape and image handling for .product-detail-img now live entirely in
   product-page.css (loaded after this file) via .product-detail-img-frame —
   this file only sets the layout box below. */
.product-detail-img {
  padding: 30px;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.product-detail-info .product-category { font-size: 0.85rem; }
.product-detail-info h1 { font-size: 1.9rem; margin: 8px 0 12px; }
.product-detail-price { font-size: 1.8rem; color: var(--yellow); font-weight: 800; margin-bottom: 16px; }
.product-detail-short { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }
.product-detail-desc {
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
  margin-bottom: 26px;
  color: var(--text-muted);
  line-height: 1.8;
}
.product-detail-desc h3 { color: var(--text-light); margin-bottom: 10px; font-size: 1.1rem; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 20px 0; color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--yellow); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); grid-column: 1/-1; }
.empty-state i { font-size: 2.5rem; color: var(--yellow); margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (min-width: 1025px) {
  .product-img-wrap { padding: 24px; }
}
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid.steps-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .product-img-wrap { padding: 18px; }
  .product-info h3 { font-size: 0.9rem; }
  .product-plan { font-size: 0.72rem; }
  .product-price { font-size: 0.85rem; padding: 5px 9px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: 380px; height: 380px; margin: 20px auto 0; }
  .hero::before { width: 280px; height: 280px; top: -80px; left: -60px; }
  .hero::after { width: 300px; height: 300px; bottom: -90px; right: -70px; }
  .hero-trust { flex-wrap: wrap; }
  .product-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .search-box { display: none; }
  .mobile-toggle { display: block; }
  .mobile-break-only { display: block; }
  .main-nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black-soft);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
  }
  .search-box.mobile-active { display: flex; margin-top: 14px; }
  .hero { padding: 30px 0 50px; }
  .hero-badge { margin-bottom: 14px; font-size: 0.75rem; padding: 5px 14px; }
  .hero h1 { font-size: 2rem; margin-bottom: 12px; }
  .hero p { margin-bottom: 18px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-img-wrap { padding: 16px; }
  .product-info { padding: 13px 14px 16px; }
  .product-info h3 { font-size: 0.95rem; }
  .product-price { font-size: 0.85rem; padding: 5px 9px; }
  .product-buy-btn { gap: 6px; }
  .product-buy-btn .btn { padding: 9px 4px; font-size: 0.76rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-cta {
    flex-direction: column;
    text-align: center;
    padding: 26px 22px;
    margin-bottom: 40px;
    gap: 16px;
  }
  .whatsapp-cta-left { flex-direction: column; gap: 10px; }
  .whatsapp-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-grid.steps-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img-wrap { padding: 14px; }
  .product-price { font-size: 0.78rem; padding: 4px 8px; }
  .hero { padding: 22px 0 42px; }
  .hero-badge { margin-bottom: 12px; }
  .hero h1 { font-size: 1.7rem; }
  .why-grid { grid-template-columns: 1fr; }
  .whatsapp-cta { padding: 22px 18px; border-radius: 12px; }
  .whatsapp-cta-icon { width: 46px; height: 46px; font-size: 1.35rem; }
  .whatsapp-cta h3 { font-size: 1.1rem; }
  .whatsapp-cta p { font-size: 0.82rem; }
  .whatsapp-cta .btn { font-size: 0.9rem; padding: 12px 20px; }
}

@media (max-width: 360px) {
  .product-price { font-size: 0.7rem; padding: 3px 6px; gap: 3px; }
  .product-price small { font-size: 0.65rem; }
  .whatsapp-cta { padding: 18px 14px; }
  .whatsapp-cta h3 { font-size: 1rem; }
  .whatsapp-cta p { font-size: 0.78rem; }
}

/* =========================================================
   Mobile polish: hero trust badges + Shop Now/View Categories
   in one row each, and a more attractive Why Choose layout.
   ========================================================= */
@media (max-width: 640px) {
  /* Trust badges (Instant Delivery / Safe & Secure / 24/7 Support)
     forced onto a single row: shrink to fit, scroll as a safety net
     only if a screen is extremely narrow. */
  .hero-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .hero-tags::-webkit-scrollbar { display: none; }
  .hero-tags span {
    flex-shrink: 0;
    font-size: 0.68rem;
    padding: 5px 9px;
    white-space: nowrap;
  }
  .hero-tags i { margin-right: 3px; }

  /* Shop Now / View Categories share one row equally */
  .hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 12px 10px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Why Choose: on narrow screens the card lays out as a horizontal row
     (icon beside the text) rather than everything stacked and centered —
     the bordered-card look itself now comes from the base rule above. */
  .why-grid { gap: 12px; }
  .why-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 14px 16px;
  }
  .why-icon {
    margin: 0;
    flex-shrink: 0;
    width: 50px; height: 50px;
    font-size: 1.15rem;
    background: rgba(253,193,9,0.08);
  }
  .why-item h4 { margin-bottom: 2px; }

  /* Trust strip + ambient blobs scaled down for phones */
  .hero-trust { margin-top: 18px; gap: 10px; }
  .hero-trust-avatars span { width: 30px; height: 30px; font-size: 0.68rem; }
  .hero-trust-text { font-size: 0.78rem; }
  .hero::before { width: 200px; height: 200px; top: -60px; left: -50px; }
  .hero::after { width: 220px; height: 220px; bottom: -70px; right: -60px; }
}

/* ---------- Admin Panel ---------- */
.admin-body { background: var(--black); min-height: 100vh; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--black-soft);
  border-right: 1px solid var(--card-border);
  padding: 24px 0;
  flex-shrink: 0;
}
.admin-sidebar .logo { padding: 0 24px 24px; border-bottom: 1px solid var(--card-border); margin-bottom: 20px; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active {
  color: var(--yellow);
  background: rgba(252,192,10,0.06);
  border-left-color: var(--yellow);
}
.admin-main { flex: 1; padding: 30px 34px; overflow-x: auto; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-topbar h1 { font-size: 1.5rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}
.stat-card i { color: var(--yellow); font-size: 1.4rem; margin-bottom: 10px; }
.stat-card h3 { font-size: 1.6rem; }
.stat-card p { color: var(--text-muted); font-size: 0.85rem; }

.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}
.admin-filters { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-filters input, .admin-filters select {
  background: var(--black-soft);
  border: 1px solid var(--card-border);
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
}
.admin-filters input { flex: 1; min-width: 200px; }

.table-wrap { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.88rem;
  white-space: nowrap;
}
table.admin-table th { color: var(--yellow); font-weight: 600; }
table.admin-table img { width: 44px; height: 44px; object-fit: contain; background: #0d0d0d; border-radius: 6px; }
.badge-pill { padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }

.table-actions { display: flex; gap: 8px; }
.table-actions button, .table-actions a {
  background: var(--black-soft);
  border: 1px solid var(--card-border);
  color: var(--text-light);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}
.table-actions .edit-btn:hover { color: var(--yellow); border-color: var(--yellow); }
.table-actions .delete-btn:hover { color: #ff6b6b; border-color: #ff6b6b; }

/* Modal form */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%; max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-box h2 { margin-bottom: 20px; color: var(--yellow); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.88rem; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--black-soft);
  border: 1px solid var(--card-border);
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 34px;
  width: 100%; max-width: 400px;
  text-align: center;
}
.login-box .logo { justify-content: center; margin-bottom: 20px; }
.login-box h2 { margin-bottom: 6px; }
.login-box p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 26px; }
.login-box .form-group { text-align: left; }

#sidebarToggle { display: none; background: none; border: 1px solid var(--card-border); color: var(--yellow); border-radius: 8px; padding: 8px 12px; margin-right: 10px; cursor: pointer; }
.admin-topbar > div:first-child { display: flex; align-items: center; }

@media (max-width: 900px) {
  .admin-sidebar { position: fixed; left: -240px; top: 0; bottom: 0; z-index: 1000; transition: var(--transition); }
  .admin-sidebar.active { left: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  #sidebarToggle { display: inline-block; }
}

/* =========================================================
   ROUNDED LOGOS — header logo, hero center logo, and all
   floating app icons. Soft rounded-square corners (not full
   circles), matching the reference design. This is the single
   authoritative block controlling their shape.
   ========================================================= */

.site-header .logo-icon,
.logo .logo-icon,
.hero-center-icon {
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .logo-icon img,
.logo .logo-icon img,
.hero-center-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

/* Header + footer logo badge */
.logo .logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px !important;
}
.logo .logo-icon img { border-radius: 12px !important; }

/* Hero center logo */
.hero-center-icon {
  width: 150px;
  height: 150px;
  border-radius: 26px !important;
}
.hero-center-icon img { border-radius: 24px !important; }

/* Floating app icons — no box/background, just the logo graphics
   floating freely (their own shape/shadow), same as the original
   design. Only their position changes per breakpoint below so they
   sit a little clear of the center logo instead of touching it. */
.hero-visual .floating-icon {
  width: 92px;
  height: 92px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hero-visual .floating-icon:hover {
  transform: translateY(-6px) scale(1.08);
  filter: drop-shadow(0 14px 24px rgba(252,192,10,0.35));
}
.hero-visual .floating-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

/* Old flat "pedestal disc" (solid ellipse + black cutout) has been
   retired — it read as a stray floating light rather than a stage.
   The soft ground-glow is now handled by .hero-visual::after above,
   so this element is simply hidden if it still exists in markup. */
.hero-platform { display: none !important; }

@media (max-width: 1024px) {
  .hero-center-icon { width: 130px; height: 130px; }
  .hero-visual .floating-icon { width: 70px; height: 70px; }
  .floating-icon.f1 { top: 15px;  left: 155px; right: auto; bottom: auto; }
  .floating-icon.f2 { top: 85px;  left: 276px; right: auto; bottom: auto; }
  .floating-icon.f3 { top: 225px; left: 276px; right: auto; bottom: auto; }
  .floating-icon.f4 { top: 295px; left: 155px; right: auto; bottom: auto; }
  .floating-icon.f5 { top: 225px; left: 34px;  right: auto; bottom: auto; }
  .floating-icon.f6 { top: 85px;  left: 34px;  right: auto; bottom: auto; }
}

/* Simple cross layout on phones: 1 icon top, 1 bottom, 2 stacked left,
   2 stacked right — fixed container size so positions are exact and
   never overlap. Icon/logo sizes are unchanged from the original;
   only the ring they sit on is a bit wider so there's a clear (but
   not exaggerated) gap between each icon and the center logo. */
@media (max-width: 768px) {
  .hero-visual {
    width: 340px;
    max-width: 340px;
    height: 340px;
    margin: 20px auto 0;
  }
  .hero-glow-ring { width: 250px; height: 250px; }

  .floating-icon.f1 { top: 10px;  left: 135px; right: auto; bottom: auto; }
  .floating-icon.f2 { top: 73px;  left: 243px; right: auto; bottom: auto; }
  .floating-icon.f3 { top: 198px; left: 243px; right: auto; bottom: auto; }
  .floating-icon.f4 { top: 260px; left: 135px; right: auto; bottom: auto; }
  .floating-icon.f5 { top: 198px; left: 27px;  right: auto; bottom: auto; }
  .floating-icon.f6 { top: 73px;  left: 27px;  right: auto; bottom: auto; }
}

@media (max-width: 480px) {
  .logo .logo-icon { width: 42px; height: 42px; }
  .hero-center-icon { width: 115px; height: 115px; }
  .hero-visual .floating-icon { width: 62px; height: 62px; }
  .hero-visual {
    width: 300px;
    max-width: 300px;
    height: 300px;
  }
  .hero-glow-ring { width: 220px; height: 220px; }

  /* Same wider-ring treatment as the 768px breakpoint, scaled down
     for small phones — clear gap between icons and the center logo. */
  .floating-icon.f1 { top: 10px;  left: 119px; right: auto; bottom: auto; }
  .floating-icon.f2 { top: 65px;  left: 213px; right: auto; bottom: auto; }
  .floating-icon.f3 { top: 174px; left: 213px; right: auto; bottom: auto; }
  .floating-icon.f4 { top: 228px; left: 119px; right: auto; bottom: auto; }
  .floating-icon.f5 { top: 174px; left: 25px;  right: auto; bottom: auto; }
  .floating-icon.f6 { top: 65px;  left: 25px;  right: auto; bottom: auto; }
}

/* ---------- FAQ accordion (native <details>, no JS needed) ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-light);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(252,192,10,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition-fast);
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .faq-item { padding: 4px 16px; }
  .faq-item summary { font-size: 0.9rem; padding: 15px 0; }
}

/* ---------- About page: step number badge ---------- */
.step-number {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .about-split { grid-template-columns: 1fr; } }

/* ---------- FAQ page: search + category grouping ---------- */
.faq-search-wrap { max-width: 560px; margin: 0 auto 32px; position: relative; }
.faq-search-wrap i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.faq-search-wrap input {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 14px 20px 14px 46px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: inherit;
}
.faq-search-wrap input:focus { outline: none; border-color: var(--gold); }

.faq-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-fast);
}
.faq-chip:hover { border-color: var(--gold); color: var(--gold-light); }
.faq-chip.active { background: rgba(252,192,10,0.12); border-color: var(--gold); color: var(--gold-light); }

.faq-group { max-width: 800px; margin: 0 auto 40px; }
.faq-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.faq-group-title i { color: var(--gold); font-size: 0.95rem; }
.faq-no-results { text-align: center; color: var(--text-muted); padding: 30px 20px; display: none; }

/* ---------- Contact page: quick message form ---------- */
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form-card .form-group { margin-bottom: 18px; }
.contact-form-card label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.contact-form-card input, .contact-form-card textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-light);
  font-size: 0.92rem;
  font-family: inherit;
  resize: vertical;
}
.contact-form-card input:focus, .contact-form-card textarea:focus { outline: none; border-color: var(--gold); }

/* ---------- Limited-time offer: floating corner badge ---------- */
.promo-widget {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 997;
  font-family: 'Poppins', sans-serif;
}

/* Collapsed pulsing badge */
.promo-badge {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 22px var(--gold-glow);
  position: relative;
  animation: promoPulse 2.2s ease-in-out infinite;
}
.promo-badge .promo-ping {
  position: absolute;
  top: -4px; right: -4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #e74c3c;
  border: 2px solid var(--black);
}
@keyframes promoPulse {
  0%, 100% { box-shadow: 0 6px 22px var(--gold-glow); transform: scale(1); }
  50% { box-shadow: 0 6px 30px var(--gold-glow), 0 0 0 10px rgba(252,192,10,0.12); transform: scale(1.04); }
}

/* Expanded card */
.promo-card {
  position: absolute;
  bottom: 74px;
  left: 0;
  width: 280px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: none;
  animation: promoCardIn 0.25s ease;
}
.promo-widget.open .promo-card { display: block; }
.promo-widget.open .promo-badge { display: none; }
@keyframes promoCardIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.promo-card-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.promo-card-close:hover { color: var(--text-light); }

.promo-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.promo-card-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}
.promo-card-countdown { display: flex; gap: 6px; margin-bottom: 16px; }
.promo-card-countdown .promo-time-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(252,192,10,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 6px 0;
}
.promo-card-countdown .promo-time-box b { font-size: 1rem; color: var(--gold-light); }
.promo-card-countdown .promo-time-box small { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; }
.promo-card .btn { width: 100%; }

@media (max-width: 480px) {
  .promo-widget { left: 14px; bottom: 14px; }
  .promo-badge { width: 52px; height: 52px; font-size: 1.25rem; }
  .promo-card { width: 250px; padding: 16px; bottom: 64px; }
}

/* =====================================================
   Mobile hardening pass
   Site already had solid per-page breakpoints; these are the two
   real cross-page mobile issues found and fixed:
   1) Every form field site-wide rendered below 16px, which makes
      iOS Safari auto-zoom the whole page in the moment someone taps
      the field — this is what usually reads as "the layout breaks
      on mobile" even though nothing actually shifted.
   2) A stray 100vw anywhere (rare, but included as a safety net)
      can force horizontal scroll on phones because it ignores the
      scrollbar gutter — html/body are pinned to 100% width instead.
   ===================================================== */
html, body { max-width: 100%; }
@media (max-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea,
  .contact-form-card input,
  .contact-form-card textarea {
    font-size: 16px;
  }
}

/* ---------- Course Admission CTA (homepage) ---------- */
.course-cta {
  background: linear-gradient(135deg, var(--card-bg), var(--black-soft));
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-gold, 0 10px 34px rgba(252,192,10,0.12));
  border-radius: var(--radius);
  margin: 0 auto 60px;
  max-width: 1240px;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.course-cta-left { display: flex; align-items: center; gap: 18px; }
.course-cta-icon {
  width: 56px; height: 56px;
  background: rgba(252,192,10,0.1);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold);
  flex-shrink: 0;
}
.course-cta h3 { color: var(--text-light); font-size: 1.3rem; margin-bottom: 2px; }
.course-cta p { color: var(--text-muted); font-size: 0.88rem; }

@media (max-width: 768px) {
  .course-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .course-cta-left { flex-direction: row; }
  .course-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .course-cta { padding: 22px 18px; border-radius: 12px; }
  .course-cta-icon { width: 46px; height: 46px; font-size: 1.3rem; }
  .course-cta h3 { font-size: 1.1rem; }
  .course-cta p { font-size: 0.82rem; }
}
