/* ============================================================
   داندو — Unified Stylesheet
   Covers: index.html, stores.html, blog.html, product.html,
           market.html, blog-post.html, store.html
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Colors */
  --yellow: #FFD60A;
  --yellow-light: #FFF3B0;
  --orange: #FF6B35;
  --orange-dark: #E8521A;
  --orange-deep: #eb5a0c;
  --green: #06D6A0;
  --green-dark: #048A65;
  --dark: #1A1A2E;
  --dark-2: #222236;
  --white: #FFFEF7;
  --bg: #fffdf6;
  --surface: #fffef9;
  --surface-2: #f8f1e3;
  --text: #1E1E2E;
  --text2: #555566;
  --muted: #666b7c;
  --gray: #F7F7F2;
  --gray2: #ECECEC;
  --line: #ebe2d1;
  --paypal: #0070ba;

  /* Typography */
  --font: 'Cairo', sans-serif;

  /* Shape & Shadow */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-soft: 0 12px 28px rgba(20, 22, 35, .08);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.14);

  /* Transition */
  --tr: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-h: 68px;
  --nav-spacer: var(--nav-h);
  --container-xl: 1380px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  padding-top: var(--nav-spacer);
}

a {
  text-decoration: none;
  color: inherit;
}

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

button, input, select {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 99px; }

/* ── SHELL / CONTAINER ──────────────────────────────────────── */
.shell {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 28px 48px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 254, 247, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 2.5px solid var(--yellow);
  box-shadow: 0 2px 24px rgba(255, 107, 53, 0.07);
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(120deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  user-select: none;
}

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

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: .93rem;
  padding: 8px 15px;
  border-radius: 50px;
  color: var(--text2);
  transition: var(--tr);
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--yellow);
  color: var(--dark);
}

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.28);
  transition: var(--tr);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.38);
}

/* ============================================================
   UTILITY — BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--tr);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.38);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}

.btn-yellow:hover {
  background: #ffc800;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: #fff;
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}

.btn-green:hover {
  transform: translateY(-2px);
}

/* ============================================================
   UTILITY — SECTIONS
   ============================================================ */
.page {
  display: none;
  min-height: calc(100vh - var(--nav-spacer));
  animation: fadeUp .4s ease;
}

.page.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 80px 48px;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .tag {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: .82rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: .5px;
}

.section-head h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.divider {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gray2), transparent);
  margin: 0 48px;
}

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
}

/* ============================================================
   TOAST
   ============================================================ */
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--dark);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  z-index: 9999;
  transition: .4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
}

#toast .t-icon {
  font-size: 1.1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 48px 28px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .55);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--tr);
  border: none;
  color: #fff;
}

.social-btn:hover {
  background: var(--yellow);
  color: var(--dark);
}

.footer-col h4 {
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  display: block;
  font-size: .85rem;
  padding: 5px 0;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: var(--tr);
}

.footer-col ul li a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.f-badge {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}

/* ============================================================
   INDEX — HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-spacer));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 48px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 620px;
  z-index: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 214, 10, 0.12);
  border: 1.5px solid rgba(255, 214, 10, 0.3);
  color: var(--yellow);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero h1 .highlight {
  background: linear-gradient(120deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  z-index: 1;
}

.hero-card-float {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 22px;
  animation: float 4s ease-in-out infinite;
}

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

.hero-card-float h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--yellow);
}

.hc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hc-row:last-child {
  border: none;
}

.hc-val {
  color: var(--green);
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.h-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
  flex: 1;
}

.h-stat .num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
}

.h-stat .lbl {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* ── INDEX — HOW IT WORKS ───────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.how-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 2px solid var(--gray2);
  text-align: center;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--tr);
}

.how-card:hover::before { transform: scaleX(1); }

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.how-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.how-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.how-card p {
  color: var(--text2);
  font-size: .93rem;
  line-height: 1.7;
}

.step-num {
  position: absolute;
  top: 20px; left: 20px;
  width: 34px; height: 34px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .9rem;
  color: var(--dark);
}

/* ── INDEX — FEATURES ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1.5px solid var(--gray2);
  transition: var(--tr);
}

.feature-item:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow);
}

.fi-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.fi-body h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.fi-body p {
  color: var(--text2);
  font-size: .88rem;
  line-height: 1.6;
}

/* ── INDEX — CTA BANNER ─────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 28px;
  padding: 64px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'داندو';
  position: absolute;
  font-size: 12rem;
  font-weight: 900;
  opacity: .05;
  top: -40px; right: -20px;
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: .88;
  margin-bottom: 34px;
}

/* ── INDEX — TESTIMONIALS ───────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--gray2);
  transition: var(--tr);
}

.testi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stars {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testi-card p {
  color: var(--text2);
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.testi-name {
  font-weight: 700;
  font-size: .93rem;
}

.testi-role {
  color: var(--text2);
  font-size: .8rem;
}

/* ============================================================
   STORES PAGE (index.html inline stores section)
   ============================================================ */
.stores-header {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  padding: 64px 48px;
  color: #fff;
  text-align: center;
}

.stores-header h1 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.stores-header p {
  color: rgba(255, 255, 255, .65);
  font-size: 1.05rem;
}

.stores-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px 48px;
  background: #fff;
  border-bottom: 1.5px solid var(--gray2);
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .88rem;
  background: var(--gray);
  color: var(--text2);
  border: 1.5px solid var(--gray2);
  cursor: pointer;
  transition: var(--tr);
}

.filter-btn.on,
.filter-btn:hover {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 48px;
}

/* ── STORE CARD ─────────────────────────────────────────────── */
.store-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gray2);
  box-shadow: var(--shadow);
  transition: var(--tr);
  cursor: pointer;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.store-cover {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.store-cover-pattern {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 14px 14px;
}

.store-logo-big {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}

.store-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--green);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.store-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}

.store-body {
  padding: 22px;
}

.store-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.store-name {
  font-size: 1.2rem;
  font-weight: 900;
}

.store-cat {
  background: var(--yellow-light);
  color: var(--orange-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
}

.store-desc {
  color: var(--text2);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.store-stats {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1.5px solid var(--gray2);
}

.ss-item {
  text-align: center;
  flex: 1;
}

.ss-val {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--orange);
}

.ss-lbl {
  color: var(--text2);
  font-size: .75rem;
  margin-top: 2px;
}

.store-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.store-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: .88rem;
  padding: 10px;
}

/* ── STORE DETAIL ───────────────────────────────────────────── */
#store-detail { display: none; }
#store-detail.open { display: block; }

.store-detail-header {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  padding: 28px 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: var(--tr);
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn:hover { background: rgba(255, 255, 255, 0.18); }

.sdh-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.sdh-info h2 { color: #fff; font-size: 1.5rem; font-weight: 900; }
.sdh-info p  { color: rgba(255, 255, 255, .6); font-size: .88rem; }

.store-banner-area {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.store-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
}

.store-banner-overlay h1 { font-size: 2.4rem; font-weight: 900; }
.store-banner-overlay p  { opacity: .8; margin-top: 8px; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-header {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 60px 48px;
  color: #fff;
  text-align: center;
}

.products-header h1 { font-size: 2.6rem; font-weight: 900; margin-bottom: 10px; }
.products-header p  { opacity: .85; font-size: 1.05rem; }

.products-sort {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: #fff;
  border-bottom: 1.5px solid var(--gray2);
  flex-wrap: wrap;
  gap: 14px;
}

.products-sort span { font-weight: 600; font-size: .9rem; color: var(--text2); }

.sort-select {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--gray2);
  font-family: var(--font);
  font-size: .88rem;
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 48px;
}

/* ── PRODUCT CARD ───────────────────────────────────────────── */
.prod-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gray2);
  box-shadow: var(--shadow);
  transition: var(--tr);
  cursor: pointer;
  position: relative;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.prod-img {
  height: 200px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.prod-badge-wrap {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.prod-badge {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
}

.badge-hot  { background: var(--orange); }
.badge-new  { background: var(--green); }
.badge-sale { background: #e01; }

.prod-wish {
  position: absolute;
  top: 10px; left: 10px;
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transition: var(--tr);
}

.prod-wish:hover { background: var(--yellow); }

.prod-body { padding: 16px; }
.prod-store { font-size: .75rem; color: var(--text2); margin-bottom: 4px; }
.prod-name  { font-size: .95rem; font-weight: 800; margin-bottom: 8px; line-height: 1.45; }

.prod-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.prod-rating .stars { font-size: .8rem; color: var(--yellow); }
.prod-rating span   { font-size: .75rem; color: var(--text2); }

.prod-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prod-price     { font-size: 1.15rem; font-weight: 900; color: #B12704; }
.prod-old-price { font-size: .8rem; color: var(--text2); text-decoration: line-through; }

.prod-add-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border-radius: 50px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: .88rem;
  border: none;
  cursor: pointer;
  transition: var(--tr);
}

.prod-add-btn:hover { background: #ffc800; }

/* ============================================================
   PRODUCT DETAIL (Amazon-style)
#product-detail { display: none; }
#product-detail.open { display: block; }

.pd-breadcrumb {
  padding: 16px 48px;
  background: #fff;
  border-bottom: 1px solid var(--gray2);
  font-size: .85rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-breadcrumb a { color: var(--green-dark); cursor: pointer; }
.pd-breadcrumb a:hover { text-decoration: underline; }
.pd-breadcrumb .sep { color: var(--text2); opacity: .4; }

.pd-main {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 32px;
  padding: 32px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.pd-gallery { position: sticky; top: calc(var(--nav-h) + 12px); }

.pd-main-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gray2);
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  margin-bottom: 12px;
  cursor: zoom-in;
}

.pd-thumbs { display: flex; gap: 8px; }

.pd-thumb {
  width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray2);
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--tr);
}

.pd-thumb.active,
.pd-thumb:hover { border-color: var(--orange); }

.pd-brand { color: var(--green-dark); font-size: .9rem; font-weight: 700; margin-bottom: 6px; cursor: pointer; }
.pd-brand:hover { text-decoration: underline; }

.pd-title { font-size: 1.55rem; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }

.pd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray2);
}

.pd-stars { color: var(--yellow); font-size: 1rem; }

.pd-rating-count { color: var(--green-dark); font-size: .88rem; cursor: pointer; }
.pd-rating-count:hover { text-decoration: underline; }

.pd-prime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #232F3E;
  color: #00A8E1;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 700;
}

.pd-price-box { margin-bottom: 18px; }
.pd-price-label { font-size: .82rem; color: var(--text2); margin-bottom: 4px; }

.pd-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pd-price .curr   { font-size: 1rem; font-weight: 600; color: #B12704; }
.pd-price .amount { font-size: 2.2rem; font-weight: 900; color: #B12704; }
.pd-price .old    { font-size: .95rem; color: var(--text2); text-decoration: line-through; }
.pd-price .saving { font-size: .85rem; color: var(--green-dark); font-weight: 700; }

.pd-variants { margin-bottom: 18px; }
.pd-variants h4 { font-size: .9rem; font-weight: 700; margin-bottom: 10px; }

.pd-variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-variant-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray2);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  transition: var(--tr);
}

.pd-variant-btn:hover,
.pd-variant-btn.active {
  border-color: var(--orange);
  background: var(--yellow-light);
}

.pd-delivery {
  background: var(--gray);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.pd-delivery p { font-size: .88rem; margin-bottom: 6px; color: var(--text2); }
.pd-delivery p span { color: var(--dark); font-weight: 700; }
.pd-delivery strong { color: var(--green-dark); }

.pd-desc h4 { font-size: .95rem; font-weight: 800; margin-bottom: 10px; }
.pd-desc ul { list-style: none; padding: 0; }

.pd-desc ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  color: var(--text2);
  padding: 5px 0;
  line-height: 1.5;
}

.pd-desc ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Buy box */
.pd-buybox {
  background: #fff;
  border: 1.5px solid var(--gray2);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 12px);
}

.pd-buybox .price           { font-size: 1.6rem; font-weight: 900; color: #B12704; margin-bottom: 6px; }
.pd-buybox .delivery-free   { color: var(--green-dark); font-size: .88rem; margin-bottom: 14px; }
.pd-buybox .stock           { color: var(--green); font-weight: 700; font-size: .95rem; margin-bottom: 18px; }

.pd-qty { display: flex; align-items: center; gap: 0; margin-bottom: 14px; }
.pd-qty label  { font-size: .85rem; color: var(--text2); margin-left: 12px; white-space: nowrap; }
.pd-qty select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray2);
  font-family: var(--font);
  font-size: .9rem;
  background: #fff;
}

.pd-add-btn {
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--yellow), #ffc800);
  color: var(--dark);
  border: none;
  cursor: pointer;
  transition: var(--tr);
}

.pd-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 200, 0, 0.38);
}

.pd-buy-btn {
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--tr);
}

.pd-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.38);
}

.pd-buybox .secure {
  text-align: center;
  color: var(--text2);
  font-size: .78rem;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pd-seller-info { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray2); }
.pd-seller-info p { font-size: .82rem; color: var(--text2); line-height: 1.7; }
.pd-seller-info strong { color: var(--green-dark); cursor: pointer; }
.pd-seller-info strong:hover { text-decoration: underline; }

/* Reviews */
.pd-reviews { padding: 36px 48px; max-width: 1280px; margin: 0 auto; border-top: 1.5px solid var(--gray2); }
.pd-reviews h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 24px; }

.review-summary {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--gray);
  border-radius: var(--radius);
}

.rev-big-num     { font-size: 4rem; font-weight: 900; color: var(--dark); }
.rev-stars-big   { color: var(--yellow); font-size: 1.5rem; }
.rev-bars        { flex: 1; }

.rev-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .85rem;
}

.rev-bar {
  flex: 1;
  height: 10px;
  background: var(--gray2);
  border-radius: 50px;
  overflow: hidden;
}

.rev-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}

.review-card { border-bottom: 1px solid var(--gray2); padding: 20px 0; }

.rev-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rev-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.rev-name { font-weight: 700; font-size: .92rem; }
.rev-date { color: var(--text2); font-size: .78rem; }
.rev-title { font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.rev-body  { color: var(--text2); font-size: .88rem; line-height: 1.7; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-header {
  background: linear-gradient(135deg, var(--green-dark), var(--dark));
  padding: 72px 48px;
  color: #fff;
  text-align: center;
  margin: 0 28px;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.blog-header h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 14px; }
.blog-header p  { opacity: .78; font-size: 1.05rem; max-width: 700px; margin: 0 auto; line-height: 1.9; }

.toolbar {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.chips { display: flex; gap: 10px; flex-wrap: wrap; }

.chip-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--gray2);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: var(--tr);
}

.chip-btn.active,
.chip-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.search {
  min-width: min(100%, 320px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--gray2);
  border-radius: 999px;
  padding: 11px 16px;
}

.search input {
  border: none;
  outline: none;
  flex: 1;
  background: transparent;
  font-size: .92rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 56px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gray2);
  box-shadow: var(--shadow);
  transition: var(--tr);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.8rem;
  position: relative;
  overflow: hidden;
}

.blog-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .25));
}

.blog-category {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .38);
}

.blog-body { padding: 22px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-author-av {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.blog-author-name { font-size: .82rem; font-weight: 700; }
.blog-date        { color: var(--text2); font-size: .78rem; }

.blog-title   { font-size: 1.08rem; font-weight: 900; margin-bottom: 10px; line-height: 1.55; }
.blog-excerpt { color: var(--text2); font-size: .88rem; line-height: 1.8; margin-bottom: 18px; min-height: 96px; }

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--gray2);
}

.blog-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.blog-tag {
  background: var(--yellow-light);
  color: var(--orange-dark);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
}

.blog-read { color: var(--green-dark); font-size: .82rem; font-weight: 700; }

/* ── BLOG DETAIL ────────────────────────────────────────────── */
#blog-detail { display: none; }
#blog-detail.open { display: block; }

.blog-detail-hero {
  padding: 64px 48px;
  color: #fff;
  text-align: center;
}

.blog-detail-body { max-width: 780px; margin: 0 auto; padding: 48px; }
.blog-detail-body h2 { font-size: 1.4rem; font-weight: 800; margin: 28px 0 12px; }
.blog-detail-body p  { color: var(--text2); font-size: .97rem; line-height: 1.85; margin-bottom: 18px; }
.blog-detail-body ul { padding-right: 20px; margin-bottom: 18px; }
.blog-detail-body ul li { color: var(--text2); font-size: .95rem; line-height: 1.8; margin-bottom: 8px; }

.blog-detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px solid var(--gray2);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-header {
  background: linear-gradient(135deg, var(--dark), #0f3460);
  padding: 64px 48px;
  color: #fff;
  text-align: center;
}

.contact-header h1 { font-size: 2.6rem; font-weight: 900; margin-bottom: 12px; }
.contact-header p  { opacity: .75; font-size: 1.05rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 64px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 22px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray);
  border-radius: var(--radius);
  transition: var(--tr);
}

.contact-item:hover { background: var(--yellow-light); }

.ci-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ci-label { font-size: .8rem; color: var(--text2); margin-bottom: 3px; }
.ci-val   { font-weight: 700; font-size: .95rem; }

.why-us { margin-top: 36px; }
.why-us h4 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; }

.why-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .9rem;
}

.why-item::before { content: '✓'; color: var(--green); font-weight: 800; font-size: 1rem; }

.contact-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 1.5px solid var(--gray2);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrap h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--text2); font-size: .9rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--text); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray2);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .93rem;
  background: var(--gray);
  color: var(--text);
  transition: var(--tr);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  padding: 15px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  margin-top: 6px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.38);
}

.form-success { display: none; text-align: center; padding: 32px; }
.form-success .check { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h4 { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; }
.form-success p  { color: var(--text2); }

/* ============================================================
   STORES.HTML — STANDALONE PAGE SPECIFICS
   ============================================================ */
/* Hero variant used in stores.html and market.html/store.html */
.hero--stores {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--dark) 0%, #25375c 100%);
  color: #fff;
  padding: 52px;
  box-shadow: 0 22px 58px rgba(20, 22, 35, .10);
}

.hero--stores::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(255, 213, 74, .24), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero--stores::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  left: -60px; bottom: -80px;
  background: radial-gradient(circle, rgba(18, 183, 122, .18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #ffe59e;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero--stores h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.2; margin-bottom: 14px; }
.hero--stores p  { color: rgba(255, 255, 255, .75); line-height: 1.9; max-width: 680px; }

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.hero-stat-box {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  padding: 18px;
}

.hero-stat-box strong { display: block; font-size: 1.45rem; }
.hero-stat-box span   { font-size: .83rem; color: rgba(255, 255, 255, .64); }

.hero-panel {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.hero-panel h2 { margin-bottom: 14px; font-size: 1.15rem; }
.hero-panel ul { list-style: none; display: grid; gap: 12px; }

.hero-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .93rem;
}

.hero-panel li:last-child { border-bottom: none; padding-bottom: 0; }
.hero-panel strong { color: #ffe59e; }

/* Toolbar used in stores.html, blog.html */
.toolbar--bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
}

.filters { display: flex; gap: 10px; flex-wrap: wrap; }

.chip--filter {
  border: none;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 800;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--tr);
}

.chip--filter:hover,
.chip--filter.active {
  background: var(--yellow);
  color: var(--dark);
}

.search--bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  min-width: min(100%, 360px);
}

.search--bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: .95rem;
  color: var(--text);
}

/* Store card grid (stores.html standalone) */
.grid--stores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card--store {
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.card--store:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(20, 22, 35, .14);
  border-color: rgba(255, 122, 26, .24);
}

.cover {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #fff;
}

.cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.card--store:hover .cover img { transform: scale(1.06); }

.badge-row {
  position: absolute;
  top: 14px; right: 14px; left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
}

.badge.live    { background: linear-gradient(135deg, #1ccf8e, var(--green)); }
.badge.premium { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }

.store-logo {
  position: absolute;
  bottom: -28px; right: 22px;
  width: 78px; height: 78px;
  border-radius: 24px;
  border: 4px solid var(--surface);
  background: #fff;
  box-shadow: 0 12px 24px rgba(20, 22, 35, .14);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--orange);
}

.body--card { padding: 42px 20px 20px; }

.meta--card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.meta--card span { font-size: .8rem; color: var(--muted); font-weight: 700; }

.title--card { font-size: 1.18rem; font-weight: 900; margin-bottom: 8px; }
.desc--card  { font-size: .9rem; line-height: 1.85; color: var(--muted); min-height: 74px; }

.stats--card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.stat--item {
  background: var(--surface-2);
  border-radius: 18px;
  padding: 12px 10px;
  text-align: center;
}

.stat--item strong { display: block; font-size: 1rem; color: var(--orange-deep); }
.stat--item span   { font-size: .75rem; color: var(--muted); }

.actions--card { display: flex; gap: 10px; margin-top: 16px; }

.btn--card {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  transition: var(--tr);
}

.btn--card.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
}

.btn--card.secondary { background: var(--surface-2); color: var(--text); }
.btn--card:hover     { transform: translateY(-2px); }

.empty {
  display: none;
  padding: 36px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 24px;
  color: var(--muted);
  font-weight: 700;
}

.empty.show { display: block; }

/* ============================================================
   MARKET.HTML & STORE.HTML — PRODUCT GRID
   ============================================================ */
.store-grid--market {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card--market {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(236, 228, 213, .9);
  box-shadow: var(--shadow-soft);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.card--market:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(24, 22, 35, 0.14);
  border-color: rgba(255, 122, 26, .25);
}

.card-media {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #fff;
}

.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.card--market:hover .card-media img { transform: scale(1.06); }

.save-pill {
  background: rgba(28, 30, 40, .72);
  color: #fff;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.card-body { padding: 18px; }

.meta--market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.meta--market span      { font-size: .78rem; color: var(--muted); font-weight: 700; }
.meta--market .rating   { color: #efb400; }
.title--market          { font-size: 1.02rem; line-height: 1.6; font-weight: 800; margin-bottom: 8px; }
.desc--market           { font-size: .88rem; line-height: 1.8; color: var(--muted); min-height: 50px; }

.price-row--market {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.price--market strong { display: block; font-size: 1.24rem; color: #bf3f00; }
.price--market span   { font-size: .8rem; color: var(--muted); text-decoration: line-through; }

.cta--market {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  transition: var(--tr);
}

.cta--market:hover { transform: translateY(-2px); }

/* Promo banner (market.html / store.html) */
.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;
}

/* ============================================================
   PRODUCT.HTML — STANDALONE PAGE
   ============================================================ */
/* Hero variant (product.html) */
.hero--product {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 34px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(20, 22, 35, .10);
  margin-bottom: 26px;
}

.hero--product::before {
  content: "";
  position: absolute;
  inset: auto auto -90px -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, .20), transparent 70%);
}

.hero--product small {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #ffe59b;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero--product h1 { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.2; margin-bottom: 10px; }
.hero--product p  { max-width: 760px; color: rgba(255, 255, 255, .72); line-height: 1.9; }

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 20px;
}

.breadcrumbs a { color: var(--green-dark); font-weight: 700; }

/* Product layout */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.panel {
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(20, 22, 35, .10);
}

/* Gallery */
.gallery { padding: 20px; position: sticky; top: var(--nav-spacer); }

.main-image {
  aspect-ratio: 1/1;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.main-image img { width: 100%; height: 100%; object-fit: cover; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  border: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: var(--tr);
}

.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--orange); }

/* Content panel */
.content { padding: 26px; }

.brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.brand-line .brand-name { color: var(--green-dark); font-weight: 800; }

.score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: .85rem;
  font-weight: 800;
  color: #8f6a00;
}

.content h2 { font-size: 2rem; line-height: 1.4; margin-bottom: 10px; }

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.price-row strong { font-size: 2.25rem; color: #bf3f00; }
.price-row del    { color: var(--muted); font-size: 1rem; }

.price-row span {
  background: #e9fff5;
  color: var(--green-dark);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.lead { font-size: 1rem; line-height: 1.9; color: var(--muted); margin-bottom: 22px; }

.feature-list { display: grid; gap: 12px; list-style: none; margin-bottom: 22px; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-2);
  line-height: 1.8;
  color: #444958;
}

.feature-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #e9fff5;
  color: var(--green-dark);
  font-weight: 900;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.meta-box {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.meta-box strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.meta-box span   { font-size: .84rem; color: var(--muted); }

/* Buy box (product.html) */
.buybox { padding: 24px; position: sticky; top: 94px; }
.buybox .mini-price   { font-size: 1.9rem; font-weight: 900; color: #bf3f00; }
.buybox .availability { color: var(--green-dark); font-weight: 800; margin: 8px 0 18px; }
.buybox label { display: block; font-size: .9rem; font-weight: 800; margin-bottom: 8px; }

.buybox select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 16px;
  font-size: .95rem;
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--tr);
}

.action + .action { margin-top: 12px; }
.action:hover     { transform: translateY(-2px); }

.action.whatsapp  { background: linear-gradient(135deg, #27d366, #14a74d); }
.action.paypal    { background: linear-gradient(135deg, #009cde, var(--paypal)); }
.action.secondary { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }

.fine-print {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.8;
}

/* Related products */
.related { margin-top: 28px; padding: 24px; }
.related h3 { margin-bottom: 18px; font-size: 1.35rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: var(--tr);
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(20, 22, 35, .08);
}

.mini-card img   { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.mini-body       { padding: 14px; }
.mini-body h4    { font-size: .95rem; line-height: 1.6; margin-bottom: 6px; }
.mini-body span  { font-size: .9rem; font-weight: 900; color: #bf3f00; }

/* ============================================================
   BLOG-POST.HTML
   ============================================================ */
.hero--post {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero-card {
  padding: 64px 48px;
  color: #fff;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.12);
}

.hero-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-tag {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.45;
  max-width: 860px;
  margin: 0 auto 16px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: .9;
  font-size: .9rem;
}

.layout--post {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.article {
  background: #fff;
  border: 1px solid var(--gray2);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
}

.article p  { color: var(--text2); font-size: .98rem; line-height: 1.95; margin-bottom: 18px; }
.article h2 { font-size: 1.5rem; font-weight: 900; margin: 28px 0 12px; }
.article ul { padding-right: 20px; margin-bottom: 18px; }
.article li { color: var(--text2); line-height: 1.9; margin-bottom: 8px; }

.sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: var(--nav-spacer);
}

.box {
  background: #fff;
  border: 1px solid var(--gray2);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
}

.box h3 { font-size: 1.08rem; font-weight: 900; margin-bottom: 14px; }

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--text2);
  font-size: .9rem;
}

.toc a:hover { color: var(--green-dark); }

.mini-post {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--gray2);
}

.mini-post:first-of-type { border-top: none; padding-top: 0; }
.mini-post strong { display: block; font-size: .92rem; line-height: 1.7; margin-bottom: 4px; }
.mini-post span   { font-size: .78rem; color: var(--text2); }

.cta--post {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
}

.cta--post h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 10px; }
.cta--post p  { opacity: .88; line-height: 1.8; margin-bottom: 18px; }

.cta--post a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--orange-dark);
  font-weight: 800;
}

/* ============================================================
   BODY BACKGROUNDS — per page
   (Applied via class on <body> in each HTML file)
   ============================================================ */
body.page-index {
  background: var(--white);
}

body.page-stores {
  background:
    radial-gradient(circle at top right, rgba(255, 213, 74, .15), transparent 24%),
    radial-gradient(circle at top left,  rgba(255, 122, 26, .10), transparent 20%),
    linear-gradient(180deg, #fffdf8 0%, #fff8ee 100%);
}

body.page-blog,
body.page-blog-post {
  background:
    radial-gradient(circle at top right, rgba(255, 214, 10, .18), transparent 20%),
    linear-gradient(180deg, #fffef8 0%, #fff9ef 100%);
}

body.page-product {
  background:
    radial-gradient(circle at top right, rgba(255, 213, 74, .14), transparent 24%),
    radial-gradient(circle at top left,  rgba(20, 182, 125, .08), transparent 18%),
    linear-gradient(180deg, #fffdf7 0%, #fff9ef 100%);
}

body.page-market,
body.page-store {
  background:
    radial-gradient(circle at top left,  rgba(255, 122, 26, .16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 213, 74, .18), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #fffaf1 100%);
}

body.page-contact {
  background:
    radial-gradient(circle at top right, rgba(255, 107, 53, 0.1), transparent 25%),
    radial-gradient(circle at top left,  rgba(6, 214, 160, 0.1), transparent 25%),
    linear-gradient(180deg, #fffef8 0%, #f9fdfc 100%);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .store-grid--market { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid          { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .hero-grid     { grid-template-columns: 1fr; }
  .grid--stores  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  #navbar { padding: 0 12px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; order: -1; }
  .logo { margin-right: 6px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(255, 254, 247, 0.98);
    padding: 18px;
    gap: 8px;
    border-bottom: 2.5px solid var(--yellow);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
  }

  .hero h1 { font-size: 2.4rem; }
  .hero-visual { display: none; }

  .how-grid,
  .features-grid,
  .testi-grid { grid-template-columns: 1fr; }

  .stores-grid,
  .blog-grid   { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .pd-main { grid-template-columns: 1fr; }

  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }

  .section { padding: 56px 20px; }
  .stores-grid,
  .products-grid,
  .blog-grid { padding: 28px 20px; }

  .pd-main { padding: 20px; }
  footer   { padding: 56px 20px 28px; }
}

@media (max-width: 860px) {
  .shell { padding: 0 16px 36px; }

  .hero--stores  { padding: 32px 22px; }
  .hero-stat-grid { grid-template-columns: 1fr; }

  .store-grid--market { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero--product { padding: 26px 20px; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery, .buybox { position: static; }
  .meta-grid, .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  #navbar { padding: 0 20px; }
  .nav-links.open { top: 68px; }

  .pd-breadcrumb { padding: 16px 20px; }
  .pd-reviews    { padding: 24px 20px; }
}

@media (max-width: 760px) {
  .shell { padding: 0 16px 36px; }
  #navbar { padding: 0 12px; }

  .blog-header { margin: 0 16px; padding: 48px 20px; }
  .blog-grid   { grid-template-columns: 1fr; padding: 32px 16px; }
  .toolbar     { padding: 0 16px; }

  .hero-card  { padding: 42px 20px; }
  .hero-title { font-size: 2rem; }

  .layout--post { padding: 28px 16px 40px; grid-template-columns: 1fr; }
  .sidebar      { position: static; }
  .article      { padding: 24px; }

  footer       { padding: 56px 20px 28px; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .toolbar--bar { padding: 16px; }
  .search--bar  { min-width: 100%; }
  .store-grid--market { grid-template-columns: 1fr; }
  .grid--stores       { grid-template-columns: 1fr; }
}
