/* NATSUPTC — clean styles (identity from NATSUP, written from scratch) v2.5 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Great+Vibes&display=swap');

:root {
  --gold: #d4af37;
  --gold-hover: #b8972e;
  --dark: #5a341e;
  --darker: #3a2114;
  --text: #2c3e50;
  --text-muted: #5f6b76;
  --silver: #8a959e;
  --bg: #f4f1ea;
  --bg-light: #f8f9fa;
  --surface: #ffffff;
  --card: #ffffff;
  --border: rgba(138, 149, 158, 0.22);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(212, 175, 55, 0.18);
  --header: rgba(255, 255, 255, 0.92);
  --footer: linear-gradient(135deg, #7A4A2C 0%, #5A341E 100%);
  --footer-text: #FFF8EA;
  --success: #1f7a4c;
  --danger: #b42318;
  --radius: 18px;
  --radius-sm: 12px;
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max: 1180px;
  --font: "Inter", "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Sans", Arial, sans-serif;
}

html[data-theme="dark"] {
  --gold: #e0c15a;
  --gold-hover: #f0d57a;
  --dark: #f0e2c8;
  --darker: #fff6e8;
  --text: #e8dfd0;
  --text-muted: #bfb4a0;
  --silver: #a89880;
  --bg: #1a1208;
  --bg-light: #231a0e;
  --surface: #2a1f12;
  --card: #302414;
  --border: rgba(224, 193, 90, 0.18);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 44px rgba(224, 193, 90, 0.16);
  --header: linear-gradient(135deg, #3A2114 0%, #5A341E 100%);
  --footer: linear-gradient(135deg, #1a1208 0%, #3A2114 100%);
  --footer-text: #FFF8EA;
}

html[data-theme="dark"] .copyright-line {
  color: #e0c15a !important;
}

html[data-theme="dark"] .footer-icon-link {
  background: rgba(224, 193, 90, 0.2);
  border-color: rgba(224, 193, 90, 0.35);
  color: #e0c15a;
}

html[data-theme="dark"] .footer-icon-link:hover {
  background: rgba(224, 193, 90, 0.4);
  border-color: #e0c15a;
  box-shadow: 0 4px 12px rgba(224, 193, 90, 0.3);
}

html[data-theme="dark"] .lang-btn-text {
  color: #e0c15a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body.sidebar-open {
  overflow: hidden;
}

.main-content-section {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Brand — hidden legacy (kept for compat) */
.top-logo-container { display: none !important; }

/* Header — single bar: [Logo] [Brand Text] [Tools] */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #5A341E 0%, #7A4A2C 55%, #D4AF37 140%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(58,33,20,.22);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 60px;
}

/* Left: Logo button → opens menu */
.logo-menu-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.logo-menu-btn:hover {
  background: rgba(255,255,255,.12);
}
.header-logo-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* 3 horizontal lines through logo */
.logo-menu-btn {
  position: relative;
}
.logo-menu-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      #3A2114 0px, #3A2114 2.5px,
      transparent 2.5px, transparent 7px,
      #3A2114 7px, #3A2114 9.5px,
      transparent 9.5px, transparent 14px,
      #3A2114 14px, #3A2114 16.5px,
      transparent 16.5px, transparent 22px
    );
}

/* Center: brand text → home link */
.brand-link-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  text-align: center;
  flex: 1;
  min-width: 0;
}
.brand-title {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: 0.08em;
  color: #F2D77A;
  line-height: 1.1;
  font-weight: 900;
}
.brand-subtitle {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  letter-spacing: 0.06em;
  color: #D4AF37;
  font-weight: 400;
  margin-top: 2px;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.35), 0 0 20px rgba(212, 175, 55, 0.15);
  font-variant: normal;
  font-style: normal;
  line-height: 1.2;
}

/* Right: header tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* Nav links — hidden by default, shown only when .open */
.nav-links {
  position: fixed;
  top: 60px; /* Below header */
  left: -280px; /* Hidden off-screen to the left */
  width: 280px;
  max-width: 80vw;
  height: calc(100vh - 60px - 120px); /* Leave room for footer */
  background: var(--card); /* Sidebar background */
  box-shadow: 3px 0 10px rgba(0,0,0,0.1);
  flex-direction: column;
  padding: 0.5rem 0 0;
  gap: 0.25rem;
  z-index: 95; /* Below header (100), above overlay (90) */
  transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  border-right: 1px solid var(--border);
  display: flex; /* Always flex, visibility handled by 'left' property */
}

.nav-links.open {
  left: 0; /* Show on screen */
}

/* RTL: sidebar slides from the right */
[dir="rtl"] .nav-links {
  left: auto;
  right: -280px;
  border-right: none;
  border-left: 1px solid var(--border);
  box-shadow: -3px 0 10px rgba(0,0,0,0.1);
}
[dir="rtl"] .nav-links.open {
  left: auto;
  right: 0;
}

/* Base nav-link styles — light mode */
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  margin: 0 0.4rem;
  transition: var(--transition);
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--dark);
}

/* Nav-link icon sizing */
.nav-link .nav-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  width: 1.6rem;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links {
    top: 48px;
    height: calc(100vh - 48px - 80px);
  }
  .nav-link {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    margin: 0 0.3rem;
  }
}

/* Overlay for when sidebar is open */
#sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90; /* Below sidebar (95), above page content */
  display: none;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

#sidebar-overlay.open {
  display: block;
  opacity: 1;
}




/* Header adjustments for smaller screens */
@media (max-width: 768px) {
  .brand-subtitle {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-subtitle {
    font-size: 1.8rem;
  }
}






/* Language & theme buttons */
.lang-btn,
.theme-toggle {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #FFF8EA;
  border-radius: 999px;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.lang-btn:hover,
.theme-toggle:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.lang-btn-text {
  color: #D4AF37;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.lang-selector {
  position: relative;
}

.lang-dropdown {
  position: fixed;
  min-width: 150px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.35rem;
  display: none;
  z-index: 9999;
}

.lang-dropdown.open {
  display: grid;
}

.lang-option {
  border: 0;
  background: transparent;
  text-align: start;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
}

.lang-option:hover,
.lang-option.active {
  background: rgba(212, 175, 55, 0.14);
}

/* Hero */
.hero-section {
  padding: 2.2rem 0 1.2rem;
}

.hero-premium-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy,
.hero-side-card,
.page-intro-card,
.about-panel,
.form-card,
.contact-info-panel,
.vip-benefits,
.legal-card,
.single-article-view,
.product-card,
.article-card,
.filter-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-intro-card {
  padding: 1.7rem;
}

.hero-eyebrow,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-title,
.section-title,
.article-main-title,
.form-title {
  margin: 0.7rem 0 0.6rem;
  color: var(--dark);
  line-height: 1.25;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.hero-subtitle,
.section-subtitle,
.form-subtitle {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.btn,
.btn-read,
.btn-buy,
.art-cta-btn,
.direct-buy-link,
button.primary,
#cnt-submit-btn,
#cf-sub-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  font-weight: 700;
  font-size: 0.62rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary,
.btn-buy,
.art-cta-btn,
.direct-buy-link,
#cnt-submit-btn,
#cf-sub-submit-btn {
  background: linear-gradient(135deg, var(--gold), #c49b2e);
  color: #1f160c;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover,
.btn-buy:hover,
.art-cta-btn:hover,
.direct-buy-link:hover,
#cnt-submit-btn:hover,
#cf-sub-submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-hover), #a88625);
}

.btn-secondary,
.btn-read {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn-read:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.hero-side-card {
  padding: 1.3rem;
  display: grid;
  gap: 0.9rem;
  align-content: center;
}

.stat-box {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.stat-box strong {
  display: block;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

/* Filters */
.filter-bar {
  margin: 1rem auto 1.4rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.filter-group {
  display: grid;
  gap: 0.35rem;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.filter-group select,
.search-input,
.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  outline: none;
  transition: var(--transition);
}

.filter-group select:focus,
.search-input:focus,
.form-card input:focus,
.form-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

/* Sections */
.main-content-section {
  padding: 0.5rem 0 200px;
}

.main-content-section > section,
.main-content-section > .container {
  flex: 0 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin: 1.4rem 0 1rem;
}

.products-grid,
.articles-grid,
.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-card,
.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border-radius: 12px;
}

.product-card:hover,
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card .thumb,
.article-card img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: contain;
  background: var(--bg-light);
}

.product-card .body,
.article-card {
  padding: 0.4rem 0.5rem 0.5rem;
}

.article-card {
  padding-top: 0;
}

.article-card img {
  border-bottom: 1px solid var(--border);
}

.cat-tag,
.article-prod-tag {
  display: inline-flex;
  margin-bottom: 0.2rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(90, 52, 30, 0.08);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 700;
}

html[data-theme="dark"] .cat-tag,
html[data-theme="dark"] .article-prod-tag {
  background: rgba(224, 193, 90, 0.12);
}

.product-card h3,
.article-card-title {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  color: var(--dark);
  line-height: 1.2;
}

.product-card p,
.article-card-excerpt {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  flex: 1;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  margin: 0.35rem 0 0.7rem;
  font-size: 0.95rem;
}

/* Article page */
.single-article-view {
  padding: 1.4rem;
}

.article-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.article-hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1rem 0 1.3rem;
}

.article-hero-images figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-light);
}

.article-hero-images img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.article-body {
  font-size: 1.03rem;
  color: var(--text);
}

.article-body h2,
.article-body h3 {
  color: var(--dark);
  margin-top: 1.5rem;
}

.article-body p,
.article-body li {
  color: var(--text);
}

.article-body ul,
.article-body ol {
  padding-inline-start: 1.3rem;
}

.article-body blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-inline-start: 4px solid var(--gold);
  background: var(--bg-light);
  border-radius: 0 12px 12px 0;
}

html[dir="rtl"] .article-body blockquote {
  border-radius: 12px 0 0 12px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 12px;
}

.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 0.7rem 0.8rem;
  text-align: start;
  vertical-align: top;
}

.article-body th {
  background: rgba(212, 175, 55, 0.12);
}

.article-body a {
  color: #8a6a12;
  text-decoration: underline;
}

html[data-theme="dark"] .article-body a {
  color: var(--gold);
}

.article-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0 1.3rem;
}

.fact-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}

.fact-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.article-mandatory-cta-box {
  margin-top: 1.6rem;
  padding: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(90, 52, 30, 0.08));
  border: 1px solid var(--border);
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

.ingredients-box {
  margin: 1.2rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  white-space: pre-wrap;
}

/* Static pages */
.about-grid,
.contact-grid,
.subscribe-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 1rem;
}

.about-panel,
.form-card,
.contact-info-panel,
.vip-benefits,
.legal-card {
  padding: 1.25rem;
}

.benefit-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.benefit-item:last-child {
  border-bottom: 0;
}

.contact-method {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-method small {
  display: block;
  color: var(--text-muted);
}

.form-card label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-weight: 700;
}

.form-card button {
  width: 100%;
  margin-top: 1rem;
}

.alert {
  margin-top: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
}

.alert.success {
  background: rgba(31, 122, 76, 0.12);
  color: var(--success);
}

.alert.error {
  background: rgba(180, 35, 24, 0.12);
  color: var(--danger);
}

.whatsapp-help {
  display: inline-flex;
  margin-top: 1rem;
  color: #128c7e;
  font-weight: 700;
}

/* Offers */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--bg-light);
}

.locked-box {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px dashed var(--gold);
  text-align: center;
}

/* Footer — fixed at viewport bottom, above overlay (z-index: 90), below sidebar (z-index: 95) */
.main-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 1rem 0 1.2rem;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important; /* Above overlay (90) and sidebar (95) */
}

.main-footer .container {
  display: grid;
  gap: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.footer-links a {
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-icons {
  display: flex;
  gap: 0.7rem;
}

.footer-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-icon-link:hover {
  background: rgba(212, 175, 55, 0.35);
  border-color: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.copyright-line {
  color: #D4AF37 !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Chamfered / angled corners button */
.btn-chamfer {
  border-radius: 6px 6px 6px 6px !important;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
  padding: 0.85rem 2rem !important;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: var(--card);
  color: var(--text);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

/* Chat widget — styles now injected by chat-widget.js (v4) */

/* Utilities */
.hidden {
  display: none !important;
}

.muted {
  color: var(--text-muted);
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

/* Responsive */
@media (max-width: 980px) {
  .products-grid,
  .articles-grid,
  .bestsellers-grid,
  .offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-premium-inner,
  .about-grid,
  .contact-grid,
  .subscribe-layout,
  .filter-bar,
  .article-facts,
  .article-hero-images {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .products-grid,
  .articles-grid,
  .bestsellers-grid,
  .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .hero-premium-inner,
  .about-grid,
  .contact-grid,
  .subscribe-layout,
  .filter-bar,
  .article-facts,
  .article-hero-images,
  .card-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .products-grid,
  .articles-grid,
  .bestsellers-grid,
  .offers-grid {
    grid-template-columns: 1fr;
  }
}


/* Article inline images (aligned with natsup-dev behavior) */
.article-inline-figure{
  margin:1.25rem 0 1.5rem;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--bg-light);
  box-shadow:var(--shadow);
}
.article-inline-figure img{
  width:100%;
  height:auto !important;
  max-height:520px;
  object-fit:contain !important;
  background:#fff;
  display:block;
  padding:10px;
}
html[data-theme="dark"] .article-inline-figure img{background:#111;}
.article-inline-figure figcaption{
  padding:0.55rem 0.85rem 0.8rem;
  font-size:0.9rem;
  color:var(--text-muted);
  text-align:center;
}
.article-top-image{margin-top:0.2rem;}
.article-mid-image{margin-top:1.5rem;}

/* VIP offers locked */
.vip-locked-container{background:var(--card); color:var(--text);}
.vip-code-input-group input{background:var(--bg-light); color:var(--text);}
.offers-grid{margin-top:0.5rem;}
.offer-card .card-actions{display:grid; gap:0.55rem; margin-top:0.4rem;}

/* Ensure legal content readable */
.legal-card h1,.legal-card h2{color:var(--dark);}
.legal-card p,.legal-card li{color:var(--text);}

/* === NS Override: new single-bar header === */

/* Footer — centered icons, copyright below */
.main-footer{
  background:linear-gradient(135deg,#3A2114,#5A341E)!important;
  color:#FFF8EA!important;
  border-top:3px solid var(--gold)!important;
  text-align:center;
}

.main-footer .container{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:14px!important;
}

.footer-contact,.main-footer p,.main-footer div:not(.copyright-line){
  color:#FFF8EA!important;
}

.footer-links{
  display:flex!important;
  gap:12px!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  margin:0!important;
}

.footer-links a{
  color:var(--gold)!important;
  font-weight:800!important;
  text-decoration:none!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:rgba(255,248,234,.08)!important;
  border:1px solid rgba(212,175,55,.18)!important;
}

.footer-contact-icons{
  display:flex!important;
  gap:18px!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
}

.footer-icon-link{
  display:inline-flex!important;
  gap:7px!important;
  align-items:center!important;
  color:var(--gold)!important;
  text-decoration:none!important;
  font-weight:900!important;
  direction:ltr!important;
  unicode-bidi:embed!important;
}

.footer-icon-link.icon-only{
  font-size:0!important;
  width:44px!important;
  height:44px!important;
  border-radius:50%!important;
  background:rgba(212,175,55,.22)!important;
  border:1px solid rgba(212,175,55,.4)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  color:#D4AF37!important;
}

.footer-icon-link.icon-only .mini-icon{
  font-size:18px!important;
  margin:0!important;
  color:#D4AF37!important;
}

.footer-icon-link.icon-only:hover{
  transform:translateY(-2px)!important;
  background:rgba(212,175,55,.4)!important;
  border-color:#D4AF37!important;
  box-shadow:0 4px 12px rgba(212,175,55,.35)!important;
}

.contact-icon,.mini-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:50%!important;
  background:rgba(212,175,55,.25)!important;
  color:#D4AF37!important;
  font-weight:900!important;
}

.whatsapp-icon{
  background:rgba(212,175,55,.25)!important;
  color:#D4AF37!important;
}

.copyright-line{
  color:#D4AF37!important;
  font-size:14px!important;
  font-weight:700!important;
  margin-top:4px!important;
  letter-spacing:0.5px!important;
}

/* Mobile responsive — compact bar, dropdown menu */
@media(max-width:768px){
  .main-header .nav-wrapper{position:relative;min-height:48px!important}
  .header-logo-icon{width:44px!important;height:44px!important}
  .brand-subtitle{font-family:'Great Vibes',cursive!important;font-size:1.4rem!important;letter-spacing:0.02em!important}
  .lang-btn,.theme-toggle{
    min-height:32px!important;
    padding:0.3rem 0.55rem!important;
    font-size:0.95rem!important;
  }
  .footer-icon-link.icon-only{width:36px!important;height:36px!important}
  .main-footer .container{gap:8px!important;padding:10px 0!important}
  .copyright-line{font-size:11px!important}
  .footer-links{gap:6px!important}
  .footer-links a{padding:4px 8px!important;font-size:12px!important}
}

/* === Watermark Logo — full page background === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('logo-natsup-mark.png');
  background-repeat: no-repeat;
  background-position: center 48%;
  background-size: min(62vw, 680px);
  opacity: .055;
  filter: sepia(.45) saturate(.9);
}

@media(max-width:768px){
  body::before{
    background-size:92vw;
    opacity:.075;
    background-position:center 55%;
  }
}

/* === Watermark Logo — sidebar background (on top of page watermark) === */
.nav-links::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('logo-natsup-mark.png');
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: min(80%, 260px);
  opacity: .09;
  filter: sepia(.45) saturate(.9);
}

@media(max-width:768px){
  .nav-links::before{
    background-size: min(85%, 200px);
    opacity:.12;
    background-position:center 45%;
  }
}

/* Ensure all content sits above the page watermark */
.top-logo-container,
.main-header,
.hero-section,
.main-content-section {
  position: relative;
}

/* Ensure sidebar content sits above sidebar watermark */
.nav-links > * {
  position: relative;
  z-index: 1;
}

/* === Dark Mode Overrides — warm brown dark theme === */
html[data-theme="dark"] .main-header{
  background:linear-gradient(135deg, #3A2114 0%, #5A341E 100%)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.4)!important;
}

html[data-theme="dark"] .brand-title{
  color:#F2D77A!important;
}

html[data-theme="dark"] .brand-subtitle{
  color:#e0c15a!important;
  text-shadow:0 2px 8px rgba(224,193,90,0.35),0 0 20px rgba(224,193,90,0.15)!important;
}

html[data-theme="dark"] .nav-link{
  color:#FFF8EA!important;
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active{
  background:rgba(224,193,90,.15)!important;
  color:var(--gold)!important;
}

html[data-theme="dark"] .lang-btn{
  background:linear-gradient(135deg,#3a3000,#5a4a00)!important;
  color:var(--gold)!important;
}

html[data-theme="dark"] .logo-menu-btn:hover{
  background:rgba(224,193,90,.12)!important;
}

html[data-theme="dark"] .main-footer{
  background:linear-gradient(135deg, #1a1208 0%, #3A2114 100%)!important;
  border-top-color:var(--gold)!important;
  color:#FFF8EA!important;
}

html[data-theme="dark"] .footer-contact,
html[data-theme="dark"] .main-footer p,
html[data-theme="dark"] .main-footer div:not(.copyright-line){
  color:#FFF8EA!important;
}

html[data-theme="dark"] .footer-links a{
  color:var(--gold)!important;
  background:rgba(255,248,234,.06)!important;
  border-color:rgba(212,175,55,.2)!important;
}

html[data-theme="dark"] .copyright-line{
  color:#e0c15a!important;
}

html[data-theme="dark"] .footer-icon-link.icon-only{
  background:rgba(224,193,90,.25)!important;
  border-color:rgba(224,193,90,.45)!important;
  color:#e0c15a!important;
}

html[data-theme="dark"] .mini-icon{
  background:rgba(224,193,90,.2)!important;
  color:#e0c15a!important;
}
