/* ============================================
   VividVista — Eye Drops Redesign
   Product: Dietpharm Makulin Dual Action
   ============================================ */

/* === AD BAR === */
#fr-ad-bar {
  background: linear-gradient(90deg, #0e7490, #0284c7) !important;
  color: #fff !important;
  font-size: 11px !important;
  letter-spacing: 1.2px !important;
  padding: 8px 12px !important;
  text-transform: uppercase !important;
}

/* === HEADER === */
#fr-header {
  background: #ffffff !important;
  border-bottom: 2px solid #e0f2fe !important;
  box-shadow: 0 2px 16px rgba(2, 132, 199, 0.08) !important;
  padding: 0 24px !important;
}

/* === BODY === */
body {
  background: #f8fbff !important;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

/* === MAIN CONTAINER === */
#main-container {
  background: #f8fbff !important;
}

.ct-container {
  background: #fff !important;
  border-radius: 0 !important;
}

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  padding: 28px 24px !important;
  border-radius: 0 0 16px 16px !important;
  border-bottom: 3px solid #bae6fd !important;
}

/* === H1 === */
h1.page-title {
  color: #1e293b !important;
  font-size: clamp(20px, 2.2vw, 30px) !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
}

/* === H2 === */
h2 {
  color: #0284c7 !important;
  font-size: clamp(17px, 1.5vw, 22px) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #e0f2fe !important;
  padding-bottom: 8px !important;
  margin-top: 2em !important;
}

/* === PARAGRAPHS === */
.entry-content p {
  color: #334155 !important;
  line-height: 1.75 !important;
  font-size: 15px !important;
}

/* === LISTS === */
.entry-content ul li,
.entry-content ol li {
  color: #334155 !important;
  line-height: 1.7 !important;
  margin-bottom: 10px !important;
  font-size: 15px !important;
}

/* === CTA BUTTON === */
a.cta_btn {
  display: block !important;
  width: fit-content !important;
  margin: 14px auto !important;
  padding: 15px 42px !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  text-decoration: none !important;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(1, 187, 56, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  text-transform: uppercase !important;
}

a.cta_btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(1, 187, 56, 0.45) !important;
}

/* === PRODUCT PANEL (xpanel) === */
.xpanel {
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 100%) !important;
  border-radius: 18px !important;
  border: 2px solid #0284c7 !important;
  padding: 28px 24px !important;
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.12) !important;
  text-align: center !important;
  margin: 24px 0 !important;
}

.xp-label {
  background: #0284c7 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 5px 18px !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  font-weight: 700 !important;
  display: inline-block !important;
  margin-bottom: 14px !important;
  text-transform: uppercase !important;
}

.xp-title {
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  margin: 8px 0 4px !important;
}

.xp-subtitle {
  color: #0284c7 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
}

.xp-text {
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 10px 0 14px !important;
}

span.xp-btn {
  background: #01BB38 !important;
  border-radius: 50px !important;
  padding: 13px 36px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: 1.2px !important;
  display: inline-block !important;
  margin-top: 8px !important;
  box-shadow: 0 4px 14px rgba(1, 187, 56, 0.3) !important;
  color: #fff !important;
  text-transform: uppercase !important;
}

/* === STICKY BAR === */
#sticky-container {
  background: linear-gradient(90deg, #0369a1, #0284c7) !important;
  border-top: none !important;
  box-shadow: 0 -4px 18px rgba(2, 132, 199, 0.25) !important;
}

.sticky-left {
  background: #06b6d4 !important;
  border-radius: 20px !important;
  padding: 5px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

.sticky-middle {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* === STAR RATINGS === */
.kksr-legend {
  color: #0284c7 !important;
  font-weight: 600 !important;
}

/* === TABLE OF CONTENTS === */
#ez-toc-container {
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.06) !important;
}

#ez-toc-container .ez-toc-title {
  color: #0284c7 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

#ez-toc-container ul li a {
  color: #0284c7 !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

#ez-toc-container ul li a:hover {
  color: #0369a1 !important;
  text-decoration: underline !important;
}

/* === PRODUCT IMAGES === */
.entry-content img {
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

/* === FOOD/TIPS GRID === */
.entry-content [style*="grid-template-columns"] {
  background: #f0f9ff !important;
  border-radius: 14px !important;
  padding: 20px !important;
  border: 1px solid #e0f2fe !important;
}

.entry-content [style*="grid-template-columns"] p {
  font-size: 14px !important;
}

/* === SHARE BOX === */
.ct-share-box {
  background: #f0f9ff !important;
  border-radius: 10px !important;
  padding: 16px !important;
  border: 1px solid #e0f2fe !important;
}

/* === AUTHOR BOX === */
.author-box {
  background: #f8fbff !important;
  border-radius: 14px !important;
  border: 1px solid #e0f2fe !important;
  padding: 20px !important;
}

.author-box-name {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* === COMMENT FORM === */
.ct-comments {
  background: #f8fbff !important;
  border-radius: 14px !important;
  border: 1px solid #e0f2fe !important;
  padding: 24px !important;
  margin-top: 16px !important;
}

#respond h2 {
  color: #1e293b !important;
  border-bottom-color: #e0f2fe !important;
  font-size: 18px !important;
}

.comment-form input[type="text"],
.comment-form textarea {
  border: 1px solid #bae6fd !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #0284c7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(2,132,199,0.1) !important;
}

.comment-form .submit {
  background: #0284c7 !important;
  border-radius: 50px !important;
  color: #fff !important;
  padding: 11px 30px !important;
  border: none !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
}

.comment-form .submit:hover {
  background: #0369a1 !important;
}

/* === FOOTER MENU ROW === */
#footer [data-row="middle"] {
  background: #1e293b !important;
  padding: 14px 0 !important;
}

#footer [data-row="middle"] .ct-menu-link {
  color: #94a3b8 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  padding: 0 8px !important;
  transition: color 0.2s !important;
}

#footer [data-row="middle"] .ct-menu-link:hover {
  color: #38bdf8 !important;
}

/* === FOOTER CONTACT/LEGAL ROW === */
#footer [data-row="contact-legal"] {
  background: #f0f9ff !important;
  border-top: 2px solid #e0f2fe !important;
  padding: 32px 0 !important;
}

/* === FOOTER BOTTOM ROW === */
#footer [data-row="bottom"] {
  background: #1e293b !important;
  padding: 14px 0 !important;
}

#footer [data-row="bottom"] p {
  color: #64748b !important;
  font-size: 12px !important;
  text-align: center !important;
}

/* === SCIENTIFIC REFERENCES SECTION === */
.naucne-reference-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 40px 0 32px;
}

.naucne-reference-section h2 {
  font-size: 20px !important;
  color: #0f172a !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.reference-list {
  margin: 0;
  padding-left: 20px;
}

.reference-list li {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 4px;
}

.reference-list li em {
  color: #1e40af;
}

/* Superscript reference links */
sup a {
  color: #0284c7;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  vertical-align: super;
  line-height: 0;
  padding: 0 1px;
  transition: color 0.2s;
}

sup a:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* === MEDICAL DISCLAIMER === */
.medical-disclaimer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 0 0 40px;
}

.medical-disclaimer-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.medical-disclaimer-content strong {
  display: block;
  font-size: 15px;
  color: #92400e;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.medical-disclaimer-content p {
  font-size: 13.5px !important;
  color: #78350f !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  h1.page-title {
    font-size: 19px !important;
  }

  .sticky-middle {
    font-size: 12px !important;
  }

  .xpanel {
    padding: 20px 16px !important;
  }

  a.cta_btn {
    padding: 13px 30px !important;
    font-size: 14px !important;
  }
}
