/* --- CONFIGURARE ȘI ELEMENTE GENERALE --- */
:root {
  --primary: #d69e2e; /* Auriu miere */
  --accent: #b7791f; /* Chihlimbar */
  --bg: #fefcf6; /* Fundal cald */
  --text: #2d3748;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.text-center {
  text-align: center;
}

/* --- HEADER ȘI CĂUTARE --- */
header {
  background: linear-gradient(135deg, var(--primary), #ecc94b);
  color: white;
  text-align: center;
  padding: 50px 0;
}
header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.search-bar input {
  width: 100%;
  max-width: 500px;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-top: 20px;
}
.categories-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* TOATE BUTOANELE DIN SITE (Stil comun, curat) */
.category-btn,
.view-toggle-btn,
.cta-scroll-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid white;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}
.category-btn:hover {
  background: white;
  color: var(--accent);
}

/* --- SECTIUNEA BENEFICII (CARDURI) --- */
.beneficii-section {
  padding: 30px 0;
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 700;
}
.beneficii-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}
.beneficiu-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.beneficiu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(214, 158, 46, 0.12);
}
.beneficiu-icon {
  font-size: 2.3rem;
  margin-bottom: 15px;
  display: inline-block;
}

/* --- SECTIUNEA CLASIFICARE --- */
.landing-text-section {
  background: white;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  margin: 30px 0;
}
.landing-content-wrapper {
  max-width: 850px;
  margin: 0 auto;
}
.cta-scroll-btn {
  background: #e53e3e;
  border: none;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
}
.cta-scroll-btn:hover {
  background: #c53030;
  transform: scale(1.03);
}
.main-landing-title {
  text-align: center;
  font-size: 2rem;
  margin: 20px 0;
  text-transform: uppercase;
}
.separator-line {
  border: 0;
  height: 1px;
  background: #e2e8f0;
  margin: 30px 0;
}
.info-highlight-box {
  background: #fffaf0;
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 30px;
}
.article-heading {
  font-size: 1.5rem;
  color: #2c5282;
  margin: 25px 0 10px 0;
  font-weight: 700;
}

/* Structura Tipuri Miere */
.type-cards-container {
  display: flex;
  gap: 20px;
  margin: 25px 0;
  flex-wrap: wrap;
}
.type-card {
  flex: 1;
  min-width: 250px;
  background: #f7fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
}
.type-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 20px;
  margin-bottom: 10px;
}
.type-badge.monoflora {
  background: #feebc8;
  color: #c05621;
}
.type-badge.multiflora {
  background: #e2e8f0;
  color: #4a5568;
}

/* Casete Sisteme (UMF, MGO, KFactor) */
.system-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 30px;
  overflow: hidden;
}
.system-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #edf2f7;
}
.umf-style .system-header {
  background: #fffaf0;
  color: #b7791f;
}
.mgo-style .system-header {
  background: #f0fff4;
  color: #22543d;
}
.kfactor-style .system-header {
  background: #ebf8ff;
  color: #2b6cb0;
}
.system-body {
  padding: 20px;
}
.alert-info-box {
  background: #f7fafc;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  font-size: 0.95rem;
  border-left: 3px solid #cbd5e0;
}
.premium-benefits-list {
  list-style: none;
  margin: 15px 0 15px 10px;
}
.premium-benefits-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}
.premium-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #38a169;
  font-weight: bold;
}

/* --- TABEL COMPARATIV (CENTRAT OPTIM) --- */
.table-responsive {
  overflow-x: auto;
  margin: 20px auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  max-width: 600px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: white;
}
.comparison-table th {
  background: #f7fafc;
  padding: 12px;
  font-weight: bold;
  border-bottom: 2px solid #e2e8f0;
}
.comparison-table td {
  padding: 10px;
  border-bottom: 1px solid #edf2f7;
}
.p-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 6px;
}
.p-badge.low {
  background: #edf2f7;
  color: #4a5568;
}
.p-badge.medium {
  background: #feebc8;
  color: #c05621;
}
.p-badge.high {
  background: #feedd3;
  color: #dd6b20;
}
.p-badge.extreme {
  background: #fed7d7;
  color: #9b2c2c;
}

/* --- FILTRELE DIN ZONA DE JOS (PRODUSE / BLOG) --- */
.view-toggle-btn {
  background: #f7fafc;
  color: #4a5568;
  border: 2px solid #e2e8f0;
  margin: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
.view-toggle-btn:hover {
  transform: translateY(-2px);
}

/* Culorile psihologice aplicate curat, fără conflicte */
.view-toggle-btn.active.btn-produse {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.view-toggle-btn.active.btn-blog {
  background: #2f855a;
  color: white;
  border-color: #2f855a;
}

/* --- CATALOG DE PRODUSE & BLOG --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  padding: 30px 0;
}
.loading {
  grid-column: 1 / -1;
  text-align: center;
  color: #718096;
}
.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}
.product-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 10px;
}
.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 1rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
}
.product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  margin: auto 0 10px 0;
}
.affiliate-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
}
.affiliate-btn:hover {
  background: var(--accent);
}

/* --- SUB-SOL SEO (FOOTER) --- */
footer {
  background: #2d3748;
  color: #a0aec0;
  padding: 25px 0;
  margin-top: 40px;
}
.footer-seo-wrapper {
  max-width: 950px;
  margin: 0 auto;
}
.footer-seo-section {
  margin-bottom: 20px;
  text-align: center;
}
.footer-seo-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.tags-container,
.shops-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.info-tag-link,
.shop-badge-link {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
}
.info-tag-link {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5e108;
}
.info-tag-link:hover {
  background: var(--primary);
  color: white;
}
.shop-badge-link {
  background: #feebc8;
  color: #c05621;
  font-weight: bold;
  border-radius: 6px;
}
.shop-badge-link:hover {
  background: white;
  color: var(--accent);
}
/* Stil pentru bara laterală sticky de share */
#sticky-social-sidebar {
  position: fixed;
  top: 50%;
  right: 0px; /* Le punem pe marginea dreaptă a ecranului */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 9999; /* Se asigură că butoanele stau deasupra oricărui element */
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  font-size: 1.3rem;
  color: white;
  text-decoration: none;
  border-radius: 8px 0px 0px 8px; /* Rotunjite elegant spre interiorul ecranului */
  transition:
    transform 0.2s ease,
    padding-right 0.2s ease;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Efect fluid la trecerea mouse-ului */
.sticky-btn:hover {
  transform: scale(1.08) translateX(-5px);
}

/* Culorile oficiale de brand */
.fb-btn {
  background-color: #1877f2;
}
.wa-btn {
  background-color: #25d366;
}
.pin-btn {
  background-color: #e60023;
}
.x-btn {
  background-color: #000000;
}

/* Optimizare pentru ecrane mici (telefoane mobile) */
@media (max-width: 768px) {
  #sticky-social-sidebar {
    top: auto;
    bottom: 0px;
    right: 0px;
    left: 0px;
    flex-direction: row;
    transform: none;
    width: 100%;
    gap: 0;
  }
  .sticky-btn {
    flex: 1;
    height: 50px;
    border-radius: 0;
    box-shadow: none;
  }
  .sticky-btn:hover {
    transform: none;
  }
}
