/* ==========================================================================
   HEALTHPULSE / HEALTHLINE-INSPIRED DESIGN SYSTEM
   ========================================================================== */

:root {
  --primary: #007a78;
  --primary-dark: #005f5d;
  --primary-light: #e6f4f3;
  --accent: #2e7d32;
  --accent-light: #edf7ed;
  --warning: #ed6c02;
  --warning-light: #fff4e5;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #007a78;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Charter', 'Georgia', 'Cambria', serif;
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1240px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement Top Bar */
.top-announcement {
  background: #0f172a;
  color: #f1f5f9;
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.top-announcement .highlight {
  color: #34d399;
  font-weight: 600;
}

/* Header & Navigation */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.brand-logo i {
  color: #059669;
  font-size: 1.8rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: none;
}

@media(min-width: 768px) {
  .brand-tagline {
    display: block;
  }
}

/* Search Bar */
.search-form {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: none;
}

@media(min-width: 640px) {
  .search-form {
    display: block;
  }
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: #f8fafc;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 122, 120, 0.15);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Header Action Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-action {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-nav-action:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-cart-nav {
  position: relative;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 122, 120, 0.25);
  transition: all 0.2s;
}

.btn-cart-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: #ef4444;
  color: white;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Health Topic Subnav */
.topic-nav {
  border-top: 1px solid #f1f5f9;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
}

.topic-nav::-webkit-scrollbar {
  display: none;
}

.topic-list {
  display: flex;
  list-style: none;
  gap: 6px;
  padding: 8px 0;
  white-space: nowrap;
}

.topic-list li a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  border-radius: 999px;
  transition: all 0.2s;
}

.topic-list li a:hover,
.topic-list li a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.topic-list li a.highlight-shop {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.topic-list li a.highlight-shop:hover {
  background: #dcfce7;
}

/* ==========================================================================
   ADSENSE AD CONTAINER SLOTS
   ========================================================================== */
.adsense-wrapper {
  margin: 20px auto;
  text-align: center;
}

.adsense-leaderboard {
  max-width: 970px;
  min-height: 90px;
  margin: 16px auto;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.ad-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ad-banner-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 728px;
  background: linear-gradient(135deg, #f0fdfa, #f8fafc);
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid #ccfbf1;
}

.ad-banner-mock .ad-info {
  text-align: left;
}

.ad-banner-mock .ad-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f766e;
}

.ad-banner-mock .ad-desc {
  font-size: 0.8rem;
  color: #475569;
}

.ad-banner-mock .ad-cta {
  background: #0d9488;
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Sidebar & In-Article Ad styles */
.adsense-sidebar-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.adsense-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin: 30px 0;
}

.ad-content-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.ad-content-placeholder i {
  font-size: 1.8rem;
  color: #0d9488;
}

/* ==========================================================================
   HOMEPAGE EDITORIAL (HEALTHLINE STYLE)
   ========================================================================== */
.hero-editorial {
  padding: 30px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media(min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.8fr 1fr;
  }
}

.featured-story-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.featured-story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.featured-img-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
}

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

.featured-story-card:hover .featured-img-wrap img {
  transform: scale(1.03);
}

.badge-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 122, 120, 0.92);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.featured-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.medical-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}

.medical-review-badge i {
  color: #15803d;
}

.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.28;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.story-excerpt {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.55;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.author-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.author-text p {
  font-size: 0.75rem;
  color: #64748b;
}

/* Sidebar Top Stories */
.sidebar-stories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.mini-story-card {
  display: flex;
  gap: 14px;
  background: #fff;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.mini-story-card:hover {
  border-color: var(--primary);
  transform: translateX(3px);
}

.mini-story-thumb {
  width: 90px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.mini-story-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-story-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}

.mini-story-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
}

.mini-story-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Section Headings */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.section-header h2 span {
  color: var(--primary);
}

.view-all-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* Articles Standard Grid */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media(min-width: 640px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 8px;
}

.article-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ==========================================================================
   FEATURED WELLNESS STORE & PRODUCTS (WITH COD EMPHASIS)
   ========================================================================== */
.shop-section {
  padding: 40px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 40px;
}

.cod-banner-callout {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.cod-banner-callout .cod-icon-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #065f46;
  font-weight: 600;
}

.cod-banner-callout .cod-icon-text i {
  font-size: 1.6rem;
  color: #059669;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media(min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-badge-float {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.product-img-wrap {
  position: relative;
  background: #f8fafc;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img {
  max-height: 190px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 2.7em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 10px;
}

.product-rating span {
  color: #64748b;
  font-size: 0.75rem;
  margin-left: 4px;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.original-price {
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.cod-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.btn-add-cart {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--primary-dark);
}

.btn-add-cart:active {
  transform: scale(0.98);
}

/* ==========================================================================
   SLIDE-OUT SHOPPING CART DRAWER
   ========================================================================== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #ffffff;
  z-index: 999;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-drawer {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.btn-close-drawer:hover {
  color: #0f172a;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.cart-empty-state i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-qty:hover {
  background: #e2e8f0;
}

.qty-display {
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-remove-item {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: auto;
}

.cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #475569;
}

.cart-total-line.final {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
}

.cod-guarantee-note {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-checkout-proceed {
  display: block;
  width: 100%;
  background: #059669;
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
  transition: all 0.2s;
}

.btn-checkout-proceed:hover {
  background: #047857;
}

/* ==========================================================================
   ARTICLE DETAIL PAGE (HEALTHLINE EDITORIAL EXPERIENCE)
   ========================================================================== */
.article-page-wrap {
  padding: 30px 0 60px 0;
}

.article-header {
  margin-bottom: 24px;
}

.article-category-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.article-headline {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 16px;
}

@media(max-width: 768px) {
  .article-headline {
    font-size: 1.8rem;
  }
}

.article-trust-banner {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.trust-item strong {
  color: #0f172a;
}

.article-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
}

.article-hero-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media(min-width: 992px) {
  .article-layout-grid {
    grid-template-columns: 2.2fr 1fr;
  }
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #334155;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #0f172a;
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.article-body p {
  margin-bottom: 18px;
}

.article-takeaways {
  background: #f0fdfa;
  border-left: 4px solid #0d9488;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 28px;
}

.article-takeaways h4 {
  color: #0f766e;
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-takeaways ul {
  padding-left: 20px;
}

.article-takeaways li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #134e4a;
}

/* Sidebar Elements */
.sticky-sidebar {
  position: sticky;
  top: 90px;
}

.toc-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.toc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  font-size: 0.88rem;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list a {
  color: #475569;
  display: block;
  transition: color 0.2s;
}

.toc-list a:hover {
  color: var(--primary);
  font-weight: 600;
}

/* Article Related Product Card */
.related-product-promo {
  background: #ffffff;
  border: 2px solid #99f6e4;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 24px;
}

.related-product-promo h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #0f766e;
  font-weight: 800;
  margin-bottom: 8px;
}

/* ==========================================================================
   COD CHECKOUT PAGE
   ========================================================================== */
.checkout-page-wrap {
  padding: 40px 0 60px 0;
}

.checkout-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.checkout-subtitle {
  color: #64748b;
  margin-bottom: 28px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media(min-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1.6fr 1fr;
  }
}

.checkout-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 120, 0.15);
}

.payment-choice-box {
  background: #f0fdf4;
  border: 2px solid #059669;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 14px;
}

.payment-choice-box i {
  font-size: 1.5rem;
  color: #059669;
  margin-top: 2px;
}

.payment-choice-title {
  font-weight: 700;
  color: #065f46;
  font-size: 1rem;
}

.payment-choice-desc {
  font-size: 0.82rem;
  color: #047857;
  margin-top: 4px;
}

.btn-place-order {
  width: 100%;
  background: #059669;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(5, 150, 105, 0.25);
  transition: all 0.2s;
}

.btn-place-order:hover {
  background: #047857;
}

/* ==========================================================================
   ORDER SUCCESS CONFIRMATION PAGE
   ========================================================================== */
.success-page-wrap {
  padding: 50px 0;
  text-align: center;
}

.success-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
}

.success-icon-circle {
  width: 76px;
  height: 76px;
  background: #dcfce7;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 20px auto;
}

.order-badge-id {
  background: #f1f5f9;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  margin: 12px 0 20px 0;
}

/* ==========================================================================
   FOOTER (HEALTHLINE STYLE)
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px 0;
  margin-top: 60px;
}

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

@media(min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.medical-disclaimer-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 16px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #334155;
  padding-top: 20px;
  gap: 12px;
  font-size: 0.8rem;
}

@media(min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   PICTURE-BASED ARTICLES & MID-ARTICLE AD STYLES
   ========================================================================== */
.picture-article-container {
  text-align: center;
  margin: 30px auto;
  max-width: 680px;
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.responsive-totka-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.article-ad-slot {
  margin: 36px 0;
  clear: both;
}

.article-ad-slot .adsense-card {
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.article-ad-slot .adsense-card:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}

