/* ============================================================
   PharmicaGuide — Main Stylesheet
   Full Responsive: Desktop / Laptop / Tablet / Mobile / Small
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #00635a;
    --primary-dark: #004d46;
    --primary-light: #e6f5f3;
    --primary-lighter: #f0faf9;
    --accent: #e87722;
    --accent-dark: #c56010;
    --white: #ffffff;
    --black: #212529;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --star: #f5a623;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 2px 8px rgba(0,0,0,.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,.12);
    --shadow-xl: 0 8px 30px rgba(0,0,0,.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: .3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; color: var(--gray-900); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; margin-bottom: .75rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }
strong { font-weight: 700; }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border: none; border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .95rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition); text-decoration: none;
    line-height: 1.4;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-cta { background: var(--accent); color: var(--white); font-size: 1.05rem; padding: 14px 32px; }
.btn-cta:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }

/* ---- Section Titles ---- */
.section-title { text-align: center; font-size: 2rem; margin-bottom: .5rem; color: var(--gray-900); }
.section-subtitle { text-align: center; color: var(--gray-600); max-width: 700px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: var(--shadow-sm); }

.header-top { background: var(--primary); color: var(--white); font-size: .82rem; }
.header-top .container { display: flex; justify-content: flex-end; }
.header-top-links { display: flex; gap: 0; }
.header-top-links a {
    color: rgba(255,255,255,.9); padding: 8px 16px; display: inline-flex; align-items: center; gap: 6px;
    transition: background var(--transition);
}
.header-top-links a:hover { background: rgba(255,255,255,.1); color: var(--white); }

.header-main { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.header-main-inner { display: flex; align-items: center; gap: 24px; }

/* Logo */
.logo, .footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
    width: 40px; height: 40px; background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm);
    font-size: 1.1rem;
}
.logo-text { font-size: 1.35rem; color: var(--gray-900); font-weight: 400; white-space: nowrap; }
.logo-text strong { font-weight: 800; color: var(--primary); }

/* Header Links (Reviews, Hub) */
.header-links { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-links a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .88rem; font-weight: 600; color: var(--gray-700);
    transition: color var(--transition); white-space: nowrap;
}
.header-links a:hover { color: var(--primary); }
.header-links a i { color: var(--star); }
.header-links .header-search-icon {
    width: 38px; height: 38px; border-radius: 50%; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-600); transition: all var(--transition); cursor: pointer;
}
.header-links .header-search-icon:hover { background: var(--primary); color: var(--white); }

/* Search Bar */
.search-bar { flex: 1; max-width: 500px; position: relative; }
.search-bar form { display: flex; border: 2px solid var(--gray-300); border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition); }
.search-bar form:focus-within { border-color: var(--primary); }
.search-bar input {
    flex: 1; border: none; padding: 10px 16px; font-size: .95rem; font-family: var(--font);
    outline: none; background: var(--gray-100); min-width: 0;
}
.search-bar button {
    background: var(--primary); color: var(--white); border: none; padding: 10px 18px;
    cursor: pointer; font-size: 1rem; transition: background var(--transition); flex-shrink: 0;
}
.search-bar button:hover { background: var(--primary-dark); }

.search-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border: 1px solid var(--gray-300); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg); display: none; z-index: 100; max-height: 400px; overflow-y: auto;
}
.search-dropdown.active { display: block; }
.search-dropdown a {
    display: flex; align-items: center; gap: 12px; padding: 10px 16px;
    border-bottom: 1px solid var(--gray-100); color: var(--gray-900);
}
.search-dropdown a:hover { background: var(--primary-light); }
.search-dropdown a img { width: 50px; height: 38px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.search-dropdown a strong { display: block; font-size: .9rem; }
.search-dropdown a span { font-size: .8rem; color: var(--gray-600); }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none; background: none; border: none; font-size: 1.5rem; color: var(--gray-700);
    cursor: pointer; padding: 8px;
}

/* Navigation */
.header-nav { background: var(--white); border-bottom: 2px solid var(--primary); }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-list > li > a {
    display: flex; align-items: center; gap: 6px; padding: 12px 20px;
    color: var(--gray-700); font-size: .9rem; font-weight: 500;
    transition: all var(--transition); border-bottom: 3px solid transparent;
}
.nav-list > li > a:hover, .nav-list > li > a.active {
    color: var(--primary); background: var(--primary-light); border-bottom-color: var(--primary);
}
.nav-list > li > a .fa-chevron-down { font-size: .65rem; transition: transform var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: all .25s ease; z-index: 100;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }
.dropdown-menu a {
    display: block; padding: 10px 20px; color: var(--gray-700); font-size: .88rem;
    border-bottom: 1px solid var(--gray-100); transition: all var(--transition);
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); padding-left: 26px; }
.dropdown-view-all { font-weight: 600; color: var(--primary) !important; }

/* ============================================================
   BREADCRUMB / SPEEDBAR
   ============================================================ */
.speedbar { background: var(--gray-100); padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--gray-400); }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .active { color: var(--gray-900); font-weight: 500; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, #f0f7ff 100%); padding: 60px 0 50px; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.hero-search form {
    display: flex; border: 2px solid var(--primary); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-search input {
    flex: 1; border: none; padding: 14px 20px; font-size: 1rem; font-family: var(--font); outline: none; min-width: 0;
}
.hero-search button {
    background: var(--primary); color: var(--white); border: none; padding: 14px 24px;
    font-size: 1rem; font-family: var(--font); font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: background var(--transition);
    white-space: nowrap; flex-shrink: 0;
}
.hero-search button:hover { background: var(--primary-dark); }
.hero-stats { display: flex; gap: 24px; margin-top: 1.5rem; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--gray-600); }
.stat-item i { color: var(--primary); font-size: 1.1rem; }
.stat-item strong { color: var(--gray-900); }

.hero-cards { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
    display: flex; align-items: center; gap: 16px; background: var(--white);
    padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow);
    transition: all var(--transition); border: 1px solid var(--gray-200);
}
.hero-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary); }
.hero-card img { width: 100px; height: 75px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.hero-card-text h3 { font-size: 1rem; margin-bottom: 2px; }
.hero-card-text span { font-size: .85rem; color: var(--primary); font-weight: 500; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--primary); padding: 16px 0; }
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: .9rem; font-weight: 500; }
.trust-item i { font-size: 1.1rem; }

/* ============================================================
   TREATMENTS SECTION
   ============================================================ */
.treatments-section { padding: 60px 0; }
.category-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 2rem; flex-wrap: wrap; }
.cat-tab {
    padding: 8px 20px; border: 2px solid var(--gray-300); border-radius: 50px;
    background: var(--white); color: var(--gray-600); font-size: .88rem; font-weight: 500;
    cursor: pointer; transition: all var(--transition); font-family: var(--font);
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; transition: all var(--transition); text-decoration: none; color: var(--gray-900);
}
.treatment-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.treatment-card-img { height: 200px; overflow: hidden; background: var(--gray-100); }
.treatment-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.treatment-card:hover .treatment-card-img img { transform: scale(1.05); }
.treatment-card-body { padding: 20px; }
.treatment-category {
    display: inline-block; font-size: .75rem; font-weight: 600; color: var(--primary);
    background: var(--primary-light); padding: 3px 10px; border-radius: 50px; margin-bottom: 8px;
}
.treatment-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.treatment-card-body p { font-size: .88rem; color: var(--gray-600); margin-bottom: 12px; }
.treatment-card-footer { display: flex; justify-content: space-between; align-items: center; }
.treatment-rating { color: var(--star); font-size: .88rem; font-weight: 600; }
.treatment-link { color: var(--primary); font-size: .85rem; font-weight: 600; }

/* ============================================================
   LONGREAD SECTIONS
   ============================================================ */
.longread-section { padding: 60px 0; }
.longread-section:nth-child(even) { background: var(--gray-100); }
.longread-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.longread-reverse .longread-grid { direction: rtl; }
.longread-reverse .longread-grid > * { direction: ltr; }
.longread-content h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.longread-content p { color: var(--gray-700); font-size: 1rem; line-height: 1.8; }
.longread-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { padding: 60px 0; background: var(--gray-100); }
.video-section-alt { background: var(--white); }
.video-embed { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.video-embed-reverse { grid-template-columns: 1fr 1.2fr; }
.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-info h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.video-info p { color: var(--gray-600); line-height: 1.7; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { padding: 60px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card {
    text-align: center; padding: 40px 24px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    transition: all var(--transition); position: relative;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.step-number {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; background: var(--primary); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700;
}
.step-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.step-card h3 { margin-bottom: .5rem; }
.step-card p { font-size: .9rem; color: var(--gray-600); margin-bottom: 0; }

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section { padding: 60px 0; background: var(--gray-100); }
.team-grid { display: flex; justify-content: center; gap: 30px; margin-bottom: 2rem; flex-wrap: wrap; }
.team-card {
    text-align: center; background: var(--white); padding: 30px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); transition: all var(--transition); max-width: 280px; width: 100%;
    text-decoration: none; color: var(--gray-900);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card img { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; }
.team-title { color: var(--primary); font-weight: 600; font-size: .9rem; }
.team-qual { color: var(--gray-600); font-size: .85rem; }

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews-section { padding: 60px 0; background: var(--primary-lighter); }
.reviews-carousel { display: flex; gap: 24px; overflow: hidden; scroll-behavior: smooth; }
.review-card {
    min-width: 350px; flex-shrink: 0; background: var(--white); padding: 30px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.review-stars { color: var(--star); margin-bottom: 12px; font-size: 1.1rem; }
.review-text { font-style: italic; color: var(--gray-700); margin-bottom: 12px; font-size: .95rem; }
.review-author { font-weight: 600; color: var(--gray-900); font-size: .88rem; }
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 1.5rem; }
.carousel-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primary);
    background: var(--white); color: var(--primary); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    transition: all var(--transition);
}
.carousel-btn:hover { background: var(--primary); color: var(--white); }

/* ============================================================
   ARTICLES SECTION
   ============================================================ */
.articles-section { padding: 60px 0; }
.articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.article-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; transition: all var(--transition); text-decoration: none; color: var(--gray-900);
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.article-card-img { height: 180px; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 16px; }
.article-category {
    display: inline-block; font-size: .72rem; font-weight: 600; color: var(--primary);
    background: var(--primary-light); padding: 2px 8px; border-radius: 50px; margin-bottom: 6px;
}
.article-card-body h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.article-card-body p { font-size: .82rem; color: var(--gray-600); margin-bottom: 8px; }
.article-date { font-size: .78rem; color: var(--gray-500); }
.article-meta { display: flex; gap: 16px; font-size: .78rem; color: var(--gray-500); flex-wrap: wrap; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page { padding: 30px 0 60px; }
.product-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }

/* Gallery */
.product-gallery { margin-bottom: 24px; }
.gallery-main {
    position: relative; background: var(--gray-100); border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 400px; object-fit: contain; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9);
    border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    color: var(--gray-700); box-shadow: var(--shadow); transition: all var(--transition);
}
.gallery-nav:hover { background: var(--primary); color: var(--white); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.gallery-thumb {
    border: 2px solid var(--gray-300); border-radius: var(--radius-sm); overflow: hidden;
    cursor: pointer; transition: border-color var(--transition); background: none; padding: 0;
    flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 70px; height: 52px; object-fit: cover; }
.product-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
    border-radius: 50px; font-size: .78rem; font-weight: 600;
}
.badge-green { background: var(--primary-light); color: var(--primary); }

/* Product Info */
.product-info h1 { font-size: 1.8rem; margin-bottom: 4px; }
.product-info h1 small { font-size: .9rem; color: var(--gray-500); font-weight: 400; }
.product-subtitle { color: var(--gray-500); font-size: .9rem; margin-bottom: 12px; }
.product-rating-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.product-rating-bar .stars { color: var(--star); font-size: 1.1rem; }
.product-rating-bar a { color: var(--primary); font-size: .9rem; }
.product-short-desc { color: var(--gray-700); margin-bottom: 20px; line-height: 1.7; }

/* Price Checker */
.price-checker {
    background: linear-gradient(135deg, #f0faf9 0%, #ffffff 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(0,99,90,.12);
    transition: box-shadow .3s ease;
}
.price-checker:hover { box-shadow: 0 12px 40px rgba(0,99,90,.18); }
.price-checker-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); padding: 16px 24px;
    font-weight: 700; font-size: 1.05rem;
    display: flex; align-items: center; gap: 10px;
}
.price-checker-header i { font-size: 1.2rem; }
.price-checker-body { padding: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: .85rem; font-weight: 700;
    margin-bottom: 6px; color: var(--gray-700); text-transform: uppercase;
    letter-spacing: .5px;
}
.form-select {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--gray-200); border-radius: 10px;
    font-family: var(--font); font-size: .95rem;
    background: var(--white); cursor: pointer;
    transition: border-color .3s ease, box-shadow .3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.form-select:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 3px rgba(0,99,90,.15);
}
.price-display {
    text-align: center; margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0,99,90,.08) 100%);
    border-radius: 12px;
    border: 1px dashed rgba(0,99,90,.25);
}
.price-display .price-label {
    font-size: .8rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--gray-600); margin-bottom: 4px; font-weight: 600;
}
.price-amount {
    font-size: 2.4rem; font-weight: 900; color: var(--primary);
    line-height: 1.2; letter-spacing: -1px;
}
.price-per-tablet {
    font-size: .85rem; color: var(--gray-600); margin-top: 4px;
}
.stock-status {
    color: var(--success); font-size: .88rem; font-weight: 700;
    display: flex; align-items: center; gap: 8px; margin-top: 12px;
    justify-content: center;
}
.stock-status i { font-size: 1rem; }

/* Share */
.product-share { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.product-share span { font-size: .85rem; color: var(--gray-600); }
.product-share a {
    width: 36px; height: 36px; border-radius: 50%; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center; color: var(--gray-600);
    transition: all var(--transition); font-size: .9rem;
}
.product-share a:hover { background: var(--primary); color: var(--white); }

/* TOC */
.toc-box {
    background: var(--primary-light); border: 1px solid rgba(0,99,90,.15);
    border-radius: var(--radius); padding: 24px; margin: 30px 0;
}
.toc-box h3 { color: var(--primary); margin-bottom: 12px; }
.toc-list { padding-left: 20px; }
.toc-list li { margin-bottom: 6px; }
.toc-list a { color: var(--gray-700); font-size: .9rem; }
.toc-list a:hover { color: var(--primary); }

/* Tabs */
.product-tabs { margin: 30px 0; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--gray-200); gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tab-btn {
    padding: 12px 24px; border: none; background: none; font-family: var(--font);
    font-size: .9rem; font-weight: 600; color: var(--gray-600); cursor: pointer;
    border-bottom: 3px solid transparent; transition: all var(--transition); white-space: nowrap;
    flex-shrink: 0;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; padding: 30px 0; }
.tab-content.active { display: block; }
.tab-content h2 { margin-bottom: 1rem; }
.tab-content p { color: var(--gray-700); line-height: 1.8; }

/* Info Table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); text-align: left; font-size: .9rem; }
.info-table th { background: var(--gray-100); font-weight: 600; width: 35%; color: var(--gray-700); }
.info-table td { color: var(--gray-900); }

/* Side Effects */
.side-effects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.se-card { padding: 20px; border-radius: var(--radius); }
.se-card h3 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.se-card ul { padding-left: 16px; }
.se-card li { font-size: .88rem; margin-bottom: 6px; list-style: disc; color: var(--gray-700); }
.se-common { background: #fff3cd; border: 1px solid #ffc107; }
.se-common h3 { color: #856404; }
.se-uncommon { background: #d1ecf1; border: 1px solid #17a2b8; }
.se-uncommon h3 { color: #0c5460; }
.se-rare { background: #f8d7da; border: 1px solid #dc3545; }
.se-rare h3 { color: #721c24; }

/* Warning Box */
.warning-box {
    display: flex; gap: 16px; padding: 20px; background: #fff3cd;
    border: 1px solid #ffc107; border-radius: var(--radius); align-items: flex-start;
}
.warning-box i { color: #856404; font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.warning-box p { margin: 0; color: #856404; font-size: .9rem; }

/* Accordion */
.accordion { margin: 20px 0; }
.accordion-item { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.accordion-header {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; background: var(--gray-100); border: none; cursor: pointer;
    font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--gray-800);
    transition: all var(--transition); text-align: left;
}
.accordion-header:hover { background: var(--primary-light); color: var(--primary); }
.accordion-header i { transition: transform var(--transition); font-size: .8rem; flex-shrink: 0; }
.accordion-item.open .accordion-header i { transform: rotate(180deg); }
.accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: all .35s ease; }
.accordion-item.open .accordion-body { padding: 16px 20px; max-height: 500px; }

/* FAQ */
.faq-section { margin: 40px 0; }

/* Author Box */
.author-box {
    background: var(--gray-100); border-radius: var(--radius); padding: 24px; margin: 30px 0;
    border-left: 4px solid var(--primary);
}
.author-box-inner { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.author-box-inner img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-label { font-size: .8rem; color: var(--gray-500); margin-bottom: 2px; }
.author-name { font-size: 1.1rem; font-weight: 700; color: var(--primary); display: block; }
.author-title { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }
.last-updated { font-size: .82rem; color: var(--gray-500); margin-top: 8px; margin-bottom: 0; }

/* Reviews Section (Product) */
.reviews-section-product { margin: 40px 0; }
.reviews-summary { display: grid; grid-template-columns: auto 1fr; gap: 40px; margin-bottom: 30px; padding: 24px; background: var(--gray-100); border-radius: var(--radius); }
.reviews-overall { text-align: center; }
.reviews-score { font-size: 2.5rem; font-weight: 800; color: var(--gray-900); }
.reviews-stars { color: var(--star); font-size: 1.3rem; margin-bottom: 4px; }
.reviews-distribution { flex: 1; }
.review-button { margin-top: 10px; border-bottom: none; }
.review-hidden { display: none; }
.rating-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.rating-label { font-size: .82rem; color: var(--gray-600); min-width: 55px; }
.rating-bar-track { flex: 1; height: 10px; background: var(--gray-300); border-radius: 5px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--star); border-radius: 5px; transition: width .5s ease; }
.rating-count { font-size: .82rem; color: var(--gray-600); min-width: 20px; text-align: right; }

/* Review Items */
.review-item { padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.review-item-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-item-header h4 { font-size: .95rem; color: var(--gray-800); }
.review-item-text { color: var(--gray-700); font-size: .9rem; margin-bottom: 8px; }
.review-item-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--gray-500); flex-wrap: wrap; }
.review-verified { color: var(--success); font-weight: 600; }

/* Star Rating Input */
.star-rating-input { display: flex; gap: 4px; font-size: 1.5rem; cursor: pointer; }
.star-rating-input i { color: var(--gray-300); transition: color var(--transition); }
.star-rating-input i.active, .star-rating-input i:hover { color: var(--star); }

/* Add Review Form */
.add-review-form { margin-top: 30px; padding: 24px; background: var(--gray-100); border-radius: var(--radius); }
.add-review-form h3 { margin-bottom: 16px; }
.add-review-form input, .add-review-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .9rem; transition: border-color var(--transition);
}
.add-review-form input:focus, .add-review-form textarea:focus { border-color: var(--primary); outline: none; }

/* Product Video */
.product-video { margin: 40px 0; }
.product-video .video-wrapper { max-width: 700px; }

/* Related Products */
.related-products { margin: 40px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
    display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    transition: all var(--transition); text-decoration: none; color: var(--gray-900);
}
.related-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.related-card img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.related-card-info strong { display: block; font-size: .9rem; }
.related-card-info span { font-size: .82rem; color: var(--primary); font-weight: 600; }

/* ---- Sidebar ---- */
.product-sidebar { }
.sidebar-sticky { position: sticky; top: 140px; }
.sidebar-box {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 20px; margin-bottom: 20px;
}
.sidebar-box h3 { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.sidebar-product {
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    border-bottom: 1px solid var(--gray-100); text-decoration: none; color: var(--gray-900);
    transition: all var(--transition);
}
.sidebar-product:hover { color: var(--primary); }
.sidebar-product img { width: 55px; height: 42px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar-product strong { display: block; font-size: .85rem; }
.sidebar-product span { font-size: .8rem; color: var(--primary); font-weight: 600; }
.sidebar-trust { text-align: center; background: var(--primary-light); border-color: rgba(0,99,90,.15); }
.trust-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 8px; }
.sidebar-trust h3 { justify-content: center; color: var(--primary); }
.sidebar-trust p { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }
.sidebar-reviews-summary { text-align: center; }
.sidebar-review-count { font-size: 2rem; font-weight: 800; color: var(--gray-900); }
.sidebar-stars { color: var(--star); font-size: 1.2rem; }
.sidebar-article { display: block; padding: 10px 0; border-bottom: 1px solid var(--gray-100); text-decoration: none; }
.sidebar-article strong { display: block; font-size: .85rem; color: var(--gray-900); margin-bottom: 2px; }
.sidebar-article span { font-size: .78rem; color: var(--gray-500); }
.sidebar-article:hover strong { color: var(--primary); }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
    position: fixed; bottom: 0; left: 0; right: 0; background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,.15); z-index: 999; padding: 12px 0;
    transform: translateY(100%); transition: transform .4s ease;
}
.floating-cta.visible { transform: translateY(0); }
.floating-cta-inner { display: flex; justify-content: space-between; align-items: center; }
.floating-cta-info strong { display: block; font-size: 1rem; }
.floating-cta-info span { font-size: .85rem; color: var(--primary); font-weight: 600; }

/* ============================================================
   AUTHOR PAGE
   ============================================================ */
.author-page { padding: 40px 0 60px; }
.author-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.author-profile-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; }
.author-profile-header { display: flex; align-items: center; gap: 24px; }
.author-avatar-lg { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary-light); flex-shrink: 0; }
.author-profile-info h1 { font-size: 1.8rem; margin-bottom: 4px; }
.author-profile-title { color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.author-profile-qual { color: var(--gray-600); font-size: .9rem; }
.author-about-section { margin-bottom: 40px; }
.author-about-section h2 { color: var(--primary); }
.author-about-section p { color: var(--gray-700); line-height: 1.8; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.spec-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--primary-light); border-radius: var(--radius-sm); }
.spec-item i { color: var(--primary); flex-shrink: 0; }
.spec-item span { font-size: .9rem; font-weight: 500; }
.author-awards { margin: 40px 0; }
.awards-list { display: flex; flex-direction: column; gap: 16px; }
.award-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); }
.award-icon { width: 50px; height: 50px; background: var(--star); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.award-info h3 { font-size: 1rem; margin-bottom: 2px; }
.award-info p { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }
.author-articles { margin: 40px 0; }
.author-articles-list { display: flex; flex-direction: column; gap: 12px; }
.author-article-item { display: block; padding: 16px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); text-decoration: none; color: var(--gray-900); transition: all var(--transition); }
.author-article-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.author-article-item h3 { font-size: 1rem; margin-bottom: 4px; }
.author-article-item p { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }

/* Team sidebar */
.team-sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.team-sidebar-item {
    display: flex; align-items: center; gap: 12px; padding: 10px;
    border-radius: var(--radius-sm); text-decoration: none; color: var(--gray-900);
    transition: all var(--transition);
}
.team-sidebar-item:hover { background: var(--primary-light); }
.team-sidebar-item.active { background: var(--primary-light); border-left: 3px solid var(--primary); }
.team-sidebar-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-sidebar-item strong { font-size: .88rem; display: block; }
.team-sidebar-item span { font-size: .78rem; color: var(--gray-600); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-page { padding: 40px 0 60px; }
.blog-header { text-align: center; margin-bottom: 40px; }
.blog-header h1 { font-size: 2.2rem; margin-bottom: .5rem; }
.blog-header p { color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* Blog Post */
.blog-post-page { padding: 40px 0 60px; }
.blog-post-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.blog-post-header { margin-bottom: 24px; }
.blog-post-header h1 { font-size: 2rem; margin-bottom: 12px; }
.blog-post-meta { display: flex; gap: 20px; font-size: .85rem; color: var(--gray-500); flex-wrap: wrap; }
.blog-post-meta a { color: var(--primary); }
.blog-post-image { margin-bottom: 24px; }
.blog-post-image img { width: 100%; border-radius: var(--radius-lg); }
.blog-post-content h2 { margin-top: 2rem; }
.blog-post-content h3 { margin-top: 1.5rem; }
.blog-post-content p { color: var(--gray-700); line-height: 1.8; }
.blog-post-content ul, .blog-post-content ol { padding-left: 24px; margin-bottom: 1rem; }
.blog-post-content li { margin-bottom: 6px; color: var(--gray-700); list-style: disc; }
.blog-post-share { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--gray-200); flex-wrap: wrap; }
.blog-post-share a {
    width: 40px; height: 40px; border-radius: 50%; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center; color: var(--gray-600);
    transition: all var(--transition);
}
.blog-post-share a:hover { background: var(--primary); color: var(--white); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page { padding: 40px 0 60px; }
.about-header { text-align: center; margin-bottom: 40px; }
.about-header h1 { font-size: 2.2rem; }
.about-subtitle { font-size: 1.1rem; color: var(--gray-600); }
.about-section { margin-bottom: 40px; }
.about-section h2 { color: var(--primary); margin-bottom: 1rem; }
.about-section p { color: var(--gray-700); line-height: 1.8; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.about-feature { padding: 24px; background: var(--gray-100); border-radius: var(--radius); text-align: center; }
.about-feature i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.about-feature h3 { margin-bottom: 8px; }
.about-feature p { font-size: .88rem; color: var(--gray-600); margin-bottom: 0; }
.about-team-card { display: flex; align-items: center; gap: 24px; padding: 24px; background: var(--gray-100); border-radius: var(--radius); margin-top: 16px; }
.about-team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.about-process { padding-left: 24px; }
.about-process li { margin-bottom: 8px; color: var(--gray-700); list-style: decimal; }

/* ============================================================
   REVIEWS PAGE
   ============================================================ */
.reviews-page { padding: 40px 0 60px; }
.reviews-page-header { text-align: center; margin-bottom: 40px; }
.reviews-page-header h1 { font-size: 2.2rem; }
.reviews-page-summary { text-align: center; margin-bottom: 40px; }
.score-number { font-size: 3.5rem; font-weight: 800; color: var(--gray-900); }
.score-stars { color: var(--star); font-size: 1.5rem; margin-bottom: 4px; }
.review-page-item { padding: 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 16px; }
.review-page-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.review-page-date { font-size: .82rem; color: var(--gray-500); }
.review-page-text { font-style: italic; color: var(--gray-700); margin-bottom: 8px; }
.review-page-author { font-weight: 600; font-size: .9rem; }
.reviews-page-products { margin-top: 50px; }
.reviews-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.reviews-product-card {
    display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    text-decoration: none; color: var(--gray-900); transition: all var(--transition);
}
.reviews-product-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.reviews-product-card img { width: 60px; height: 45px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.reviews-product-card strong { display: block; font-size: .9rem; }
.reviews-product-card span { font-size: .82rem; color: var(--gray-600); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: 40px 0 60px; }
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-header h1 { font-size: 2.2rem; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .9rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .95rem; transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); outline: none; }
.form-message { padding: 16px; border-radius: var(--radius-sm); margin-top: 16px; }
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.contact-info-card { background: var(--gray-100); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.contact-info-card h3 { margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-info-item i { font-size: 1.2rem; color: var(--primary); margin-top: 4px; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: .9rem; }
.contact-info-item p { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }
.contact-social { display: flex; flex-direction: column; gap: 8px; }
.contact-social a { display: flex; align-items: center; gap: 10px; color: var(--gray-700); font-size: .9rem; padding: 8px 0; }
.contact-social a:hover { color: var(--primary); }
.small-text { font-size: .82rem; color: var(--gray-600); }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-page { padding: 40px 0 60px; }
.search-page-header { text-align: center; margin-bottom: 30px; }
.search-page-form { display: flex; max-width: 600px; margin: 20px auto 0; border: 2px solid var(--primary); border-radius: var(--radius); overflow: hidden; }
.search-page-form input { flex: 1; border: none; padding: 12px 16px; font-size: 1rem; font-family: var(--font); outline: none; min-width: 0; }
.search-page-form button { background: var(--primary); color: var(--white); border: none; padding: 12px 24px; font-family: var(--font); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.search-count { margin-bottom: 24px; }
.search-results-list { display: flex; flex-direction: column; gap: 16px; }
.search-result-item {
    display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius); text-decoration: none;
    color: var(--gray-900); transition: all var(--transition);
}
.search-result-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.search-result-item img { width: 100px; height: 75px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.search-result-type { font-size: .75rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 2px 8px; border-radius: 50px; }
.search-result-info h3 { font-size: 1.05rem; margin: 4px 0; }
.search-result-info p { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-page { padding: 40px 0 60px; }
.category-header { text-align: center; margin-bottom: 40px; }
.category-header h1 { font-size: 2.2rem; }
.category-header p { color: var(--gray-600); max-width: 700px; margin: 0 auto; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { background: var(--primary); padding: 50px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter-text h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 4px; }
.newsletter-text p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.newsletter-form { display: flex; gap: 0; flex-shrink: 0; }
.newsletter-form input {
    padding: 14px 20px; border: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--font); font-size: .95rem; width: 300px; outline: none;
}
.newsletter-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: #8257ad; color: #fff; font-weight: 700; font-size: 1rem;
    padding: 14px 28px; border: none; cursor: pointer;
    transition: background .3s ease, transform .2s ease;
}
.newsletter-form .btn:hover { background: #6b45a0; transform: translateY(-1px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about .footer-logo { margin-bottom: 16px; }
.footer-about .logo-icon { background: var(--primary); }
.footer-about .logo-text { color: var(--gray-300); }
.footer-about p { font-size: .85rem; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: var(--gray-800);
    display: flex; align-items: center; justify-content: center; color: var(--gray-400);
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--gray-400); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-col ul li i { margin-right: 6px; font-size: .85rem; }
.footer-disclaimer { padding: 24px 0; border-top: 1px solid var(--gray-800); }
.disclaimer-box {
    display: flex; gap: 16px; padding: 20px; background: rgba(255,193,7,.1);
    border: 1px solid rgba(255,193,7,.3); border-radius: var(--radius); align-items: flex-start;
}
.disclaimer-box i { color: var(--warning); font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.disclaimer-box p { margin: 0; font-size: .82rem; color: var(--gray-400); }
.footer-bottom { padding: 20px 0; border-top: 1px solid var(--gray-800); text-align: center; }
.footer-bottom p { font-size: .82rem; margin-bottom: 0; }

/* ============================================================
   SUBSCRIBE POPUP
   ============================================================ */
.subscribe-popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.subscribe-popup-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); }
.subscribe-popup-content {
    position: relative; background: var(--white); border-radius: var(--radius-lg);
    padding: 40px; max-width: 480px; width: 90%; text-align: center;
    animation: popupIn .4s ease;
}
@keyframes popupIn { from { opacity: 0; transform: scale(.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.subscribe-popup-close {
    position: absolute; top: 12px; right: 16px; background: none; border: none;
    font-size: 1.8rem; color: var(--gray-500); cursor: pointer; line-height: 1;
}
.subscribe-popup-icon { font-size: 3rem; color: var(--primary); margin-bottom: 16px; }
.subscribe-popup-content h3 { font-size: 1.5rem; margin-bottom: 8px; }
.subscribe-popup-content p { color: var(--gray-600); font-size: .9rem; }
.subscribe-popup-form { display: flex; gap: 8px; margin-top: 16px; }
.subscribe-popup-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-family: var(--font); font-size: .9rem; min-width: 0; }
.subscribe-popup-note { font-size: .78rem; color: var(--gray-500); margin-top: 12px; margin-bottom: 0; }

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-page { padding: 80px 0; text-align: center; }
.error-content h1 { font-size: 6rem; color: var(--primary); margin-bottom: 0; }
.error-content h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.error-content p { color: var(--gray-600); margin-bottom: 2rem; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 3rem; color: var(--gray-400); margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--gray-600); margin-bottom: 20px; }

/* ============================================================
   BLOG LOAD MORE
   ============================================================ */
.blog-hidden { display: none !important; }
.blog-load-more-wrapper {
    text-align: center; margin-top: 40px; padding: 20px 0;
}
.btn-load-more {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; background: var(--primary); color: var(--white);
    border: none; border-radius: 50px; font-family: var(--font);
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all .3s ease; box-shadow: 0 4px 15px rgba(0,99,90,.25);
}
.btn-load-more:hover {
    background: var(--primary-dark); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,99,90,.35);
}
.btn-load-more i { font-size: .9rem; }
.blog-articles-count {
    display: block; margin-top: 12px; font-size: .85rem;
    color: var(--gray-500);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease forwards; opacity: 0; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }

/* Smooth scroll offset for sticky header */
[id] { scroll-margin-top: 120px; }

/* ============================================================
   RESPONSIVE — LAPTOP (max-width: 1200px)
   ============================================================ */
@media (max-width: 1200px) {
    .container { max-width: 100%; }
    .hero-grid { grid-template-columns: 1fr 340px; gap: 30px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
    .articles-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { gap: 20px; }
    .team-card { max-width: 250px; padding: 24px; }
    .team-card img { width: 120px; height: 120px; }
}

/* ============================================================
   RESPONSIVE — TABLET LANDSCAPE (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    /* Hero */
    .hero-grid { grid-template-columns: 1fr; }
    .hero-cards { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .hero-card { min-width: 280px; flex-shrink: 0; }

    /* Product & Author & Blog Post — single column, show sidebar below */
    .product-grid { grid-template-columns: 1fr; }
    .author-page-grid { grid-template-columns: 1fr; }
    .blog-post-grid { grid-template-columns: 1fr; }
    .product-grid > *,
    .author-page-grid > *,
    .blog-post-grid > * { min-width: 0; overflow: hidden; }

    /* Sidebar becomes horizontal on tablet */
    .product-sidebar,
    .author-sidebar,
    .blog-post-sidebar { order: 2; }
    .sidebar-sticky { position: static; }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* Articles */
    .articles-grid { grid-template-columns: repeat(2, 1fr); }

    /* Side Effects */
    .side-effects-grid { grid-template-columns: 1fr 1fr; }

    /* Video */
    .video-embed, .video-embed-reverse { grid-template-columns: 1fr; }
    .video-embed-reverse { direction: ltr; }

    /* Header links */
    .header-links { gap: 12px; }
    .header-links a { font-size: .82rem; }

    /* Nav items */
    .nav-list > li > a { padding: 12px 14px; font-size: .85rem; }

    /* Newsletter */
    .newsletter-form input { width: 240px; }
}

/* ============================================================
   RESPONSIVE — TABLET PORTRAIT (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: .95rem; }

    /* Hero */
    .hero { padding: 40px 0 30px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-cards { flex-direction: column; }
    .hero-card { min-width: auto; }
    .hero-stats { flex-direction: column; gap: 8px; }
    .hero-search form { flex-direction: row; }

    /* Mobile Nav */
    .mobile-menu-toggle { display: block; }
    .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); z-index: 999; }
    .header-nav.open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list > li > a { padding: 14px 20px; border-bottom: 1px solid var(--gray-200); border-left: none; }
    .nav-list > li > a:hover, .nav-list > li > a.active { border-bottom-color: var(--gray-200); }
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; border-radius: 0; display: none;
        background: var(--gray-100);
    }
    .has-dropdown.open .dropdown-menu { display: block; }

    /* Header */
    .header-top-links { justify-content: center; flex-wrap: wrap; }
    .header-top-links a { padding: 6px 10px; font-size: .78rem; }
    .header-main-inner { gap: 12px; flex-wrap: wrap; }
    .search-bar { max-width: none; order: 10; flex-basis: 100%; }
    .header-links { gap: 10px; }
    .header-links a span { display: none; }
    .header-links a i { font-size: 1rem; }

    /* Treatments */
    .treatments-section { padding: 40px 0; }
    .treatments-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .treatment-card-img { height: 160px; }

    /* Longread */
    .longread-section { padding: 40px 0; }
    .longread-grid { grid-template-columns: 1fr; gap: 24px; }
    .longread-reverse .longread-grid { direction: ltr; }
    .longread-content h2 { font-size: 1.4rem; }

    /* Steps */
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .step-card { padding: 30px 20px; }

    /* Team */
    .team-grid { gap: 16px; }
    .team-card { max-width: none; width: calc(50% - 8px); padding: 20px; }
    .team-card img { width: 100px; height: 100px; }

    /* Reviews Carousel */
    .review-card { min-width: 280px; padding: 24px; }

    /* Articles */
    .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .article-card-img { height: 150px; }

    /* Product */
    .product-page { padding: 20px 0 40px; }
    .gallery-main img { height: 320px; }
    .gallery-thumb img { width: 60px; height: 45px; }
    .product-info h1 { font-size: 1.5rem; }
    .price-amount { font-size: 2rem; }
    .side-effects-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .reviews-summary { grid-template-columns: 1fr; gap: 20px; }
    .reviews-score { font-size: 2rem; }

    /* Author */
    .author-profile-header { flex-direction: column; text-align: center; }
    .author-avatar-lg { width: 120px; height: 120px; }
    .author-profile-info h1 { font-size: 1.5rem; }
    .spec-grid { grid-template-columns: 1fr; }

    /* Blog */
    .blog-header h1 { font-size: 1.8rem; }
    .blog-post-header h1 { font-size: 1.6rem; }

    /* About */
    .about-features { grid-template-columns: 1fr; }
    .about-team-card { flex-direction: column; text-align: center; }
    .about-team-card img { width: 100px; height: 100px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }

    /* Reviews Page */
    .reviews-product-grid { grid-template-columns: 1fr; }
    .score-number { font-size: 2.5rem; }

    /* Newsletter */
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-text h3 { font-size: 1.3rem; }
    .newsletter-form { width: 100%; max-width: 500px; }
    .newsletter-form input { flex: 1; width: auto; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-about { text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-col h4 { margin-top: 8px; }

    /* Floating CTA */
    .floating-cta-inner { flex-direction: column; gap: 8px; text-align: center; }
    .floating-cta .btn { width: 100%; justify-content: center; }

    /* Trust bar */
    .trust-items { gap: 16px; }
    .trust-item { font-size: .82rem; }

    /* Error page */
    .error-content h1 { font-size: 4rem; }
    .error-content h2 { font-size: 1.4rem; }

    /* Popup */
    .subscribe-popup-content { padding: 30px 24px; }
    .subscribe-popup-content h3 { font-size: 1.3rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    /* Mobile overflow fix */
    html { overflow-x: hidden; }
    .product-grid > *,
    .author-page-grid > *,
    .blog-post-grid > * { min-width: 0; overflow: hidden; }

    /* Container */
    .container { padding: 0 16px; }

    /* Typography */
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    .section-title { font-size: 1.35rem; }

    /* Hero */
    .hero { padding: 30px 0 24px; }
    .hero h1 { font-size: 1.5rem; }
    .hero-subtitle { font-size: .95rem; }
    .hero-search form { flex-direction: column; }
    .hero-search input { padding: 12px 16px; }
    .hero-search button { justify-content: center; padding: 12px; }

    /* Header */
    .header-main { padding: 10px 0; }
    .header-main-inner { gap: 8px; }
    .logo-text { font-size: 1.15rem; }
    .logo-icon { width: 34px; height: 34px; font-size: .95rem; }
    .header-links { gap: 8px; }
    .search-bar input { padding: 8px 12px; font-size: .88rem; }
    .search-bar button { padding: 8px 14px; }

    /* Treatments */
    .treatments-grid { grid-template-columns: 1fr; }
    .treatment-card-img { height: 180px; }
    .category-tabs { gap: 4px; }
    .cat-tab { padding: 6px 14px; font-size: .8rem; }

    /* Articles */
    .articles-grid { grid-template-columns: 1fr; }
    .article-card-img { height: 200px; }

    /* Team */
    .team-grid { flex-direction: column; align-items: center; }
    .team-card { width: 100%; max-width: 320px; }

    /* Product */
    .gallery-main img { height: 260px; }
    .gallery-thumb img { width: 50px; height: 38px; }
    .product-info h1 { font-size: 1.3rem; }
    .price-checker-header { padding: 12px 16px; font-size: .95rem; }
    .price-checker-body { padding: 16px; }
    .price-amount { font-size: 1.8rem; }
    .price-display { padding: 14px; }
    .form-select { padding: 10px 14px; font-size: .88rem; }
    .tabs-nav { gap: 0; }
    .tab-btn { padding: 10px 14px; font-size: .82rem; }
    .accordion-header { padding: 14px 16px; font-size: .88rem; }
    .accordion-item.open .accordion-body { padding: 14px 16px; }
    .author-box { padding: 16px; }
    .author-box-inner { gap: 12px; }
    .author-box-inner img { width: 60px; height: 60px; }
    .add-review-form { padding: 16px; }
    .related-card img { width: 60px; height: 45px; }

    /* Author Page */
    .author-avatar-lg { width: 100px; height: 100px; }
    .author-profile-card { padding: 20px; }
    .award-item { flex-direction: column; text-align: center; gap: 10px; }

    /* Blog */
    .blog-header h1 { font-size: 1.5rem; }
    .blog-post-header h1 { font-size: 1.35rem; }

    /* About */
    .about-header h1 { font-size: 1.5rem; }
    .about-team-card { padding: 16px; gap: 16px; }
    .about-team-card img { width: 80px; height: 80px; }

    /* Contact */
    .contact-header h1 { font-size: 1.5rem; }
    .contact-form input, .contact-form textarea { padding: 10px 14px; font-size: .88rem; }

    /* Reviews Page */
    .score-number { font-size: 2rem; }
    .review-page-item { padding: 16px; }

    /* Newsletter */
    .newsletter-section { padding: 30px 0; }
    .newsletter-text h3 { font-size: 1.15rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-radius: var(--radius-sm); width: 100%; }
    .newsletter-form .btn { border-radius: var(--radius-sm); justify-content: center; }

    /* Footer */
    .footer-grid { gap: 20px; }
    .disclaimer-box { flex-direction: column; text-align: center; }

    /* Trust bar */
    .trust-items { flex-direction: column; align-items: center; gap: 8px; }

    /* Popup */
    .subscribe-popup-content { padding: 24px 16px; }
    .subscribe-popup-form { flex-direction: column; }
    .subscribe-popup-content h3 { font-size: 1.2rem; }

    /* Error */
    .error-content h1 { font-size: 3rem; }
    .error-content h2 { font-size: 1.2rem; }

    /* Search */
    .search-page-form { flex-direction: column; border: none; }
    .search-page-form input { border: 2px solid var(--primary); border-radius: var(--radius); margin-bottom: 8px; }
    .search-page-form button { border-radius: var(--radius); justify-content: center; }
    .search-result-item { flex-direction: column; text-align: center; }
    .search-result-item img { width: 100%; height: 120px; }

    /* Floating CTA */
    .floating-cta { padding: 10px 0; }
    .floating-cta-info strong { font-size: .9rem; }
    .floating-cta .btn { padding: 10px 20px; font-size: .88rem; }

    /* Load More */
    .btn-load-more { padding: 12px 28px; font-size: .9rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max-width: 360px)
   ============================================================ */
@media (max-width: 360px) {
    .container { padding: 0 12px; }

    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.1rem; }
    body { font-size: 15px; }

    .hero h1 { font-size: 1.3rem; }
    .hero-subtitle { font-size: .88rem; }

    .logo-text { font-size: 1.05rem; }
    .logo-icon { width: 30px; height: 30px; font-size: .85rem; }

    .header-top-links a { padding: 5px 8px; font-size: .72rem; }

    .treatment-card-body { padding: 14px; }
    .treatment-card-body h3 { font-size: 1rem; }
    .treatment-card-body p { font-size: .82rem; }

    .gallery-main img { height: 220px; }
    .product-info h1 { font-size: 1.15rem; }
    .price-amount { font-size: 1.6rem; }
    .price-checker-body { padding: 12px; }
    .tab-btn { padding: 8px 10px; font-size: .78rem; }

    .review-card { min-width: 240px; padding: 20px; }
    .review-text { font-size: .85rem; }

    .team-card { padding: 16px; }
    .team-card img { width: 80px; height: 80px; }
    .team-card h3 { font-size: 1rem; }

    .step-card { padding: 24px 16px; }
    .step-icon { font-size: 2rem; }

    .newsletter-text h3 { font-size: 1rem; }
    .newsletter-form .btn { padding: 12px 20px; font-size: .9rem; }

    .subscribe-popup-content { padding: 20px 12px; }
    .subscribe-popup-icon { font-size: 2.5rem; }

    .error-content h1 { font-size: 2.5rem; }

    .btn { padding: 10px 20px; font-size: .88rem; }
    .btn-cta { padding: 12px 24px; font-size: .95rem; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .site-header, .header-nav, .floating-cta, .newsletter-section,
    .subscribe-popup, .footer-social, .carousel-controls,
    .mobile-menu-toggle, .search-bar, .header-links { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    .container { max-width: 100%; padding: 0; }
    .product-grid, .author-page-grid, .blog-post-grid { grid-template-columns: 1fr; }
}