/* ==========================================================================
   SOLVAYA® CROATIA - MODERN MULTI-TAB MEN'S HEALTH 45+ PORTAL
   Product: Urostal (for men's health) • Price: 39 EUR
   Layout: Centered Single-Column with Full Multi-Tab Page Router
   ========================================================================== */

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --bg-dark-surface: #1e293b;
    --bg-dark-card: #182234;
    
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;
    
    --accent: #10b981;
    --accent-hover: #059669;
    --accent-light: #d1fae5;
    
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    
    --danger: #ef4444;
    --danger-light: #fee2e2;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border: #e2e8f0;
    --border-dark: #334155;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
    padding-bottom: 220px; /* Space for the big bottom dock panel */
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border-dark);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-bar-link-btn {
    background: transparent;
    border: none;
    color: #38bdf8;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    font-family: inherit;
}
.top-bar-link-btn:hover {
    color: #7dd3fc;
}

.site-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

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

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-badge {
    background: var(--accent);
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-tagline {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tab-link {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 13.5px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.nav-tab-link:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.nav-tab-link.active {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
}

.nav-cta-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    border: none;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-weight: 800 !important;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    margin-left: 4px;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   MAIN CONTENT & CENTERED LAYOUT
   ========================================================================== */

.main-layout {
    padding: 36px 0;
}

.article-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-width: 980px;
    margin: 0 auto;
}

/* Article Meta & Header */
.article-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
}

.tag-sport { background: #e0f2fe; color: #0369a1; }
.tag-health { background: #dcfce7; color: #15803d; }
.tag-prostate { background: #fef3c7; color: #b45309; }

.article-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    margin-bottom: 26px;
}

.author-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent);
}

.verified-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--accent);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    border: 2px solid white;
}

.author-name {
    font-weight: 800;
    font-size: 17px;
    color: var(--bg-dark);
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.publish-date {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* ==========================================================================
   CHAPTER TABS NAVIGATION (ВКЛАДКИ)
   ========================================================================== */

.chapter-nav-wrapper {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 30px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.chapter-progress-bar {
    height: 4px;
    background: #334155;
    border-radius: 2px;
    margin-bottom: 12px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #10b981 100%);
    border-radius: 2px;
    transition: width 0.35s ease;
}

.chapter-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.chapter-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.chapter-tab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.chapter-tab-btn.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
}

.chapter-tab-btn.tab-order-highlight {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    color: #34d399;
}

.chapter-tab-btn.tab-order-highlight:hover {
    background: rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.chapter-tab-btn.tab-order-highlight.active {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    opacity: 0.8;
}

.step-title {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

/* ==========================================================================
   ARTICLE TAB PAGES (SHOW/HIDE VIEWS)
   ========================================================================== */

.article-tab-page {
    display: none;
    animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-tab-page.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.order-badge-pulse {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac;
}

.article-tab-page h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--bg-dark);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.lead-text {
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 22px;
}

.article-tab-page p {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 20px;
}

/* Inline Images */
.article-inline-image {
    margin: 26px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.content-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 420px;
}

.img-caption {
    display: block;
    background: #f8fafc;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--border);
}

/* Highlight Box */
.highlight-box {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.box-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.box-content h4 {
    color: #14532d;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.box-content p {
    color: #166534;
    margin-bottom: 0;
    font-size: 15px;
}

/* Trainer Tips Card */
.trainer-tips-card {
    background: #0f172a;
    color: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    margin: 28px 0;
    box-shadow: var(--shadow-lg);
}

.trainer-tips-card .card-title {
    font-family: var(--font-heading);
    color: #38bdf8;
    font-size: 20px;
    margin-bottom: 18px;
}

.tips-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tip-item {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: var(--radius-md);
}

.tip-number {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.tip-text strong {
    display: block;
    color: #f8fafc;
    font-size: 15px;
    margin-bottom: 4px;
}

.tip-text p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 0;
}

/* Styled Checklist */
.styled-checklist {
    list-style: none;
    margin: 18px 0 24px;
}

.styled-checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 16px;
}

.styled-checklist li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 2px;
}

/* Quote Card */
.quote-card {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 24px 0;
    font-style: italic;
}

.quote-text {
    font-size: 17px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 8px;
}

.quote-author {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    font-style: normal;
}

/* Tab Page Navigation Buttons */
.tab-page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px dashed #e2e8f0;
}

.btn-next-tab,
.btn-prev-tab {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    border: none;
}

.btn-next-tab {
    background: #0284c7;
    color: white;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-next-tab:hover {
    background: #0369a1;
    transform: translateX(3px);
}

.btn-prev-tab {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-prev-tab:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateX(-3px);
}

.btn-cta-finish {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

/* ==========================================================================
   PRODUCT SPOTLIGHT
   ========================================================================== */

.product-spotlight-card {
    background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    margin: 30px 0;
    border: 1px solid #334155;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.product-badge-flag {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 18px;
    border-bottom-left-radius: var(--radius-md);
    letter-spacing: 0.8px;
}

.product-grid-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: center;
}

.product-photo-container {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
}

.urostal-pack-img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}

.product-photo-container:hover .urostal-pack-img {
    transform: scale(1.04) rotate(-2deg);
}

.capsules-badge {
    display: inline-block;
    background: #0284c7;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 12px;
}

.product-details-col h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
}

.prod-desc {
    color: #cbd5e1;
    font-size: 15px;
    margin-bottom: 16px;
}

.ingredients-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ing-item {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
}

.ing-icon {
    font-size: 20px;
}

.ing-item strong {
    display: block;
    font-size: 13px;
    color: #f1f5f9;
}

.ing-item small {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
    display: block;
}

.product-price-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-top: 20px;
}

.price-box-side {
    display: flex;
    flex-direction: column;
}

.price-box-side .old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-box-side .current-price {
    font-size: 14px;
    color: #cbd5e1;
}

.price-box-side .current-price strong {
    font-size: 22px;
    color: #34d399;
    font-weight: 900;
}

.btn-scroll-order {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s;
    font-family: inherit;
}

.btn-scroll-order:hover {
    transform: translateY(-2px);
}

.product-footer-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pf-feature {
    font-size: 13px;
    color: #a7f3d0;
    font-weight: 600;
}

/* Timeline */
.results-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
}

.timeline-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.step-marker {
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.step-text strong {
    display: block;
    color: var(--bg-dark);
    font-size: 15px;
    margin-bottom: 2px;
}

.step-text p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 0;
}

/* ==========================================================================
   PROMINENT CERTIFICATES SECTION
   ========================================================================== */

.certificates-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 32px 26px;
    color: white;
    margin: 24px 0 32px;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg);
}

.cert-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 26px;
}

.cert-title-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cert-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #ffffff;
    border-bottom: none;
    margin: 0 0 8px;
    padding: 0;
}

.cert-header p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 0;
}

.cert-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    overflow: hidden;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}

.cert-icon-wrap {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
}

.cert-svg {
    width: 100%;
    height: 100%;
}

.cert-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 2px;
}

.cert-subtitle {
    font-size: 12px;
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 10px;
}

.cert-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.cert-points {
    list-style: none;
    text-align: left;
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.cert-points li {
    margin-bottom: 5px;
}

.cert-preview-btn {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    width: 100%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cert-card:hover .cert-preview-btn {
    background: var(--accent);
    color: white;
}

/* Reviews */
.reviews-section {
    margin-top: 28px;
}

.reviews-section h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--bg-dark);
    margin-bottom: 16px;
}

.review-cards-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.rev-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rev-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.stars {
    color: #f59e0b;
    font-size: 13px;
}

.verified-buyer {
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 6px;
}

.rev-time {
    font-size: 12px;
    color: var(--text-light);
}

.review-card p {
    font-size: 14px;
    color: #334155;
    margin-bottom: 0;
    font-style: italic;
}

/* ==========================================================================
   DEDICATED FULL ORDER PAGE (TAB 6)
   ========================================================================== */

.order-page-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 2.5px solid #0284c7;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
    margin-top: 20px;
}

.order-hero-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 26px;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.oh-img {
    text-align: center;
    position: relative;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid #e2e8f0;
}

.oh-photo {
    width: 100%;
    max-width: 190px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.badge-stock-promo {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 8px;
}

.badge-stock {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
}

.oh-details h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--bg-dark);
    margin-bottom: 4px;
}

.oh-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.price-hero-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0f172a;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: white;
    margin-bottom: 14px;
}

.ph-old span {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 700;
}

.arrow-price-hero {
    font-size: 20px;
    color: #38bdf8;
}

.ph-new {
    font-size: 15px;
    color: #cbd5e1;
}

.ph-new strong {
    font-size: 26px;
    color: #34d399;
    font-weight: 900;
    font-family: var(--font-heading);
}

.ph-disc {
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 8px;
}

.order-guarantee-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: #0369a1;
    font-weight: 700;
}

/* Order Form in Full Tab */
.main-page-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--bg-dark);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    pointer-events: none;
    color: var(--text-muted);
}

.consultation-form input,
.consultation-form select {
    width: 100%;
    padding: 13px 16px 13px 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-main);
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.consultation-form input:focus,
.consultation-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Phone Validation Error (RED GLOW & SHAKE) */
.phone-wrapper input.input-error {
    border-color: var(--danger) !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.45) !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.phone-wrapper input.input-valid {
    border-color: var(--accent) !important;
    background-color: #f0fdf4 !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3) !important;
}

.phone-hint {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone-hint code {
    background: #e2e8f0;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
    color: #0f172a;
}

.field-error {
    font-size: 11px;
    font-weight: 600;
    color: var(--danger);
    display: none;
    margin-top: 2px;
}

.field-error.active {
    display: block;
}

/* Submit Button */
.order-submit-btn-large {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 8px;
    font-family: inherit;
    width: 100%;
}

.order-submit-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.btn-subtext {
    font-size: 12px;
    opacity: 0.92;
    font-weight: 500;
}

.full-security-notices {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.sec-item {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-page-coach-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 22px;
}

.cgc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--bg-dark);
    margin-bottom: 4px;
}

.order-page-coach-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.5;
}

/* ==========================================================================
   BIG INTERACTIVE BOTTOM PANEL (DOCK) WITH MINI-ANSWERS
   ========================================================================== */

.interactive-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-top: 3px solid #10b981;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-bottom-dock.dock-collapsed .dock-panes-wrapper,
.interactive-bottom-dock.dock-collapsed .dock-tabs-bar {
    display: none;
}

.dock-container {
    padding: 12px 20px 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.dock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dock-badge {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 3px;
}

.dock-main-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.dock-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dock-status-text {
    font-size: 12px;
    color: #94a3b8;
}

.dock-toggle-btn {
    background: #334155;
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s;
}

.dock-toggle-btn:hover {
    background: var(--primary);
}

.interactive-bottom-dock.dock-collapsed .toggle-icon {
    transform: rotate(180deg);
}

/* Tabs Bar */
.dock-tabs-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.dock-tab {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.dock-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.dock-tab.active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.dock-tab-order {
    background: #0284c7 !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* Mini Answers Panes */
.dock-panes-wrapper {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-top: 4px;
    max-height: 140px;
    overflow-y: auto;
}

.dock-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.dock-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pane Specific Layouts */
.pane-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pane-item {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pane-item .item-icon {
    font-size: 18px;
}

.pane-item h5 {
    font-size: 12px;
    color: #38bdf8;
    margin-bottom: 2px;
}

.pane-item p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
    margin-bottom: 0;
}

.pane-grid-usage,
.pane-grid-delivery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.usage-step-box,
.del-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.us-badge {
    font-size: 9px;
    background: #0284c7;
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 3px;
}

.usage-step-box h4,
.del-card h5 {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 2px;
}

.usage-step-box p,
.del-card p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
    margin-bottom: 0;
}

.pane-cert-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cert-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
}

.cqi-badge {
    background: #10b981;
    color: #ffffff;
    font-weight: 800;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.cert-quick-item p {
    font-size: 11px;
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.3;
}

.dock-faq-accordion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mini-faq-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mf-q {
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 3px;
}

.mf-a {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    font-size: 24px;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.success-dialog {
    text-align: center;
}

.success-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
}

.success-svg {
    width: 100%;
    height: 100%;
}

.success-dialog h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 8px;
}

.success-msg {
    font-size: 15px;
    color: #475569;
    margin-bottom: 18px;
}

.success-details-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: left;
    font-size: 13px;
    color: #334155;
    margin-bottom: 18px;
}

.success-tip {
    margin-top: 8px;
    font-weight: 600;
    color: #0284c7;
}

.modal-btn-close {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.modal-btn-close:hover {
    background: #059669;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 36px 0 20px;
    font-size: 13px;
    border-top: 1px solid #334155;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 17px;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.footer-disclaimer p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.copyright {
    color: #64748b;
    font-size: 12px;
    margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLETS)
   ========================================================================== */

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

    .pane-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dock-faq-accordion {
        grid-template-columns: 1fr;
    }

    .cert-cards-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 260px;
    }

    .header-container {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    .chapter-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-container {
        padding: 20px 14px;
    }

    .article-title {
        font-size: 22px;
    }

    .product-grid-inner,
    .order-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .full-security-notices {
        flex-direction: column;
        gap: 8px;
    }

    .ingredients-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .product-price-highlight {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .pane-grid,
    .pane-grid-usage,
    .pane-grid-delivery,
    .pane-cert-quick {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
}
