/* ==================== CSS Variables ==================== */
:root {
    --primary: #8B1A2E;
    --primary-dark: #6B1222;
    --primary-light: #A82438;
    --accent-gold: #C9A84C;
    --bg-cream: #F9F6F0;
    --bg-light: #F4F4F4;
    --text-dark: #2C2C2C;
    --text-mid: #555555;
    --white: #FFFFFF;
    --footer-bg: #3D0A14;
    --transition: all 0.3s ease;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

section {
    padding: 80px 0;
    background: #FFFFFF;
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-mid);
    letter-spacing: 1px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
}

.logo-company {
    font-size: 10px;
    color: var(--accent-gold);
    letter-spacing: 1.5px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
}

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

.nav-menu a.active {
    color: var(--primary);
    font-weight: 600;
}

.btn-shop {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-shop:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

/* ==================== Page Header ==================== */
.page-header {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #8B1A2E 0%, #5C1020 50%, #3D0A14 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #8B1A2E 0%, #5C1020 50%, #3D0A14 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid var(--white);
    display: inline-block;
}

.btn-primary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--white);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139,26,46,0.3);
}

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

/* ==================== Stats Banner ==================== */
.stats-banner {
    background: #FFFFFF;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139,26,46,0.15);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--text-mid);
    font-size: 15px;
}

/* ==================== Section Styles ==================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: var(--text-mid);
    font-size: 18px;
}

/* ==================== Product Grid ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(139,26,46,0.15);
}

.product-image {
    width: 100%;
    height: 260px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
    border: 1px solid #F0F0F0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-usage {
    color: var(--text-mid);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ingredient-tag {
    background: var(--bg-cream);
    color: var(--text-mid);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-detail, .btn-buy {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-detail {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-detail:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-buy {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-buy:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
    border: 2px solid var(--primary);
}

.btn-buy:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ==================== Product Detail Page ==================== */
.product-detail {
    padding: 100px 0 80px;
    background: #FFFFFF;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-detail-image {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #F0F0F0;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
}

/* Product Image Section */
.product-image-section {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
}

.product-main-image {
    width: 100%;
    height: auto;
    max-width: 450px;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.product-gallery {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 26, 46, 0.2);
}

.product-detail-info h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-series {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-description {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-meta-item i {
    color: var(--primary);
    font-size: 18px;
    width: 24px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions .btn {
    flex: 1;
    text-align: center;
}

.product-features {
    margin-top: 60px;
}

.product-features h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-item p {
    color: var(--text-mid);
    line-height: 1.7;
}

/* ==================== FAQ ==================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question.active {
    color: var(--primary);
    background: var(--bg-cream);
}

.faq-icon {
    font-size: 20px;
    transition: var(--transition);
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px 22px 25px;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ==================== Contact ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-mid);
}

.contact-form-container {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: 12px;
}

.contact-form-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-form-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ==================== Back to Top ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==================== Animations ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero Section Mobile Optimization */
    .hero {
        min-height: 70vh !important;
    }

    .hero h1 {
        font-size: clamp(28px, 8vw, 36px) !important;
        margin-bottom: 15px !important;
    }

    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px) !important;
        margin-bottom: 30px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Stats Banner Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-icon {
        font-size: 38px !important;
    }

    /* About Section Mobile */
    #about > .container > div:nth-child(2) {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    /* Product Grid Mobile */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card {
        max-width: 100%;
    }

    /* Section Titles Mobile */
    .section-title h2 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .section-title p {
        font-size: 15px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 40px 0 30px;
    }

    .page-header h1 {
        font-size: clamp(26px, 7vw, 32px);
    }

    .page-header p {
        font-size: 15px;
    }

    /* Container Padding Mobile */
    .container {
        padding: 0 20px;
    }

    section {
        padding: 50px 0 !important;
    }

    /* Brand Story Preview Mobile */
    .brand-story-preview {
        padding: 50px 0;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Smaller Mobile Devices (< 480px) */
@media (max-width: 480px) {
    .hero {
        min-height: 60vh !important;
    }

    .hero h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
    }

    .stats-banner {
        padding: 30px 0;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-icon {
        font-size: 32px !important;
    }

    .stat-label {
        font-size: 13px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .product-info h3 {
        font-size: 17px;
    }

    .container {
        padding: 0 15px;
    }
}

/* ==================== Contact Page Responsive Design ==================== */

/* Social Media Grid - Desktop */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 750px;
    margin: 0 auto;
}

/* Tablet Layout (≤ 992px) */
@media (max-width: 992px) {
    /* Contact Info & Form Layout */
    .contact-wrapper {
        gap: 40px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-details h4 {
        font-size: 16px;
    }
    
    .contact-details p {
        font-size: 14px;
    }
    
    /* Social Media Grid - 2 columns on tablet */
    .social-media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 600px;
    }
}

/* Mobile Layout (≤ 768px) */
@media (max-width: 768px) {
    /* Contact Items Mobile */
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: row;
        gap: 15px;
        padding: 15px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-details h4 {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .contact-details p {
        font-size: 13px;
    }
    
    /* Form Container Mobile */
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-form-container h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* Google Form Button Mobile */
    .contact-form-container > div {
        padding: 40px 25px !important;
    }
    
    .contact-form-container h4 {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .contact-form-container p {
        font-size: 14px !important;
        margin-bottom: 25px !important;
    }
    
    .contact-form-container a {
        padding: 14px 32px !important;
        font-size: 16px !important;
    }
    
    /* Social Media Grid - 2 columns on mobile */
    .social-media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }
    
    .social-media-grid > * {
        padding: 30px 20px !important;
    }
    
    .social-media-grid i {
        font-size: 40px !important;
    }
    
    .social-media-grid h4 {
        font-size: 14px !important;
    }
    
    .social-media-grid p {
        font-size: 11px !important;
    }
}

/* Small Mobile Layout (≤ 480px) */
@media (max-width: 480px) {
    /* Page Header Mobile */
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    /* Contact Items Small Mobile */
    .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    
    .contact-details h4 {
        font-size: 14px;
    }
    
    .contact-details h4 span {
        display: block;
        margin-top: 5px;
        margin-left: 0 !important;
    }
    
    .contact-details p {
        font-size: 12px;
    }
    
    /* Form Container Small Mobile */
    .contact-form-container {
        padding: 25px 15px;
    }
    
    .contact-form-container > div {
        padding: 30px 20px !important;
    }
    
    .contact-form-container h4 {
        font-size: 18px !important;
    }
    
    .contact-form-container p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    .contact-form-container a {
        padding: 12px 28px !important;
        font-size: 15px !important;
        width: 100%;
    }
    
    /* Social Media Grid - Full width on small mobile */
    .social-media-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-media-grid > * {
        padding: 25px 20px !important;
    }
    
    .social-media-grid i {
        font-size: 36px !important;
    }
    
    /* Section Padding Small Mobile */
    section {
        padding: 50px 0 !important;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 44px !important;
    }

    .hero-subtitle {
        font-size: 20px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    #about > .container > div:nth-child(2) {
        gap: 50px;
    }
}

/* Large Desktop (> 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 64px !important;
    }

    .hero-subtitle {
        font-size: 24px !important;
    }
}

/* ==================== Product Detail Page Tabs & Content ==================== */
.product-tabs {
    margin: 60px 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.tab-buttons {
    display: flex;
    background: #FFFFFF;
    border-bottom: 2px solid #E0E0E0;
}

.tab-btn {
    flex: 1;
    padding: 18px 20px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(139, 26, 46, 0.05);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tab-content {
    display: none;
    padding: 40px;
    background: var(--white);
    color: #000000;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #000000;
}

.tab-content h4 {
    font-size: 20px;
    margin: 25px 0 15px 0;
    color: #000000;
}

.tab-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #000000;
    font-size: 16px;
}

.tab-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.tab-content li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #000000;
    font-size: 16px;
}

.tab-content strong {
    color: #000000;
    font-weight: 600;
}

/* Ingredient Cards */
.ingredient-card {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ingredient-card h4 {
    color: #000000;
    font-size: 20px;
    margin-bottom: 12px;
}

.ingredient-card p {
    color: #000000;
    margin-bottom: 12px;
}

.ingredient-card ul {
    margin-left: 20px;
}

.ingredient-card li {
    color: #000000;
}

/* Info Box */
.info-box {
    background: #FFF9E6;
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 4px solid #C9A84C;
    margin: 25px 0;
}

.info-box h4 {
    color: #000000;
    margin-bottom: 10px;
}

.info-box p {
    color: #000000;
    line-height: 1.7;
}

.info-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

.info-box li {
    color: #000000;
    margin-bottom: 8px;
}

/* Usage Steps */
.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #000000;
    font-size: 18px;
    margin-bottom: 8px;
}

.step-content p {
    color: #000000;
    line-height: 1.7;
}

/* Clinical Results */
.clinical-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.result-card {
    background: #FFFFFF;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #E8E8E8;
}

.result-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.result-text {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.result-detail {
    font-size: 14px;
    color: #000000;
}

.clinical-info {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #E0E0E0;
}

.clinical-info h4 {
    color: #000000;
    margin-bottom: 12px;
}

.clinical-info p {
    color: #000000;
    line-height: 1.8;
}

/* Where to Buy Section */
.where-to-buy {
    margin: 60px 0;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
}

.where-to-buy h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #000000;
}

.buy-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.buy-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.buy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.buy-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.buy-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #000000;
}

.buy-card p {
    font-size: 14px;
    color: #000000;
}

/* Related Products */
.related-products {
    margin: 60px 0;
}

.related-products h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #000000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Product Info Section */
.product-info-section {
    padding: 20px 0;
    background: #FFFFFF;
}

.product-series-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.product-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 600;
}

.product-subtitle {
    font-size: 18px;
    color: #000000;
    margin-bottom: 25px;
    font-weight: 400;
}

.product-highlights {
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.highlight-item .icon {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    background: rgba(139, 26, 46, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.highlight-item span {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}

.product-specs {
    margin: 30px 0;
    padding: 25px;
    background: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 700;
    color: #000000;
    font-size: 15px;
}

.spec-value {
    color: #000000;
    font-weight: 500;
    font-size: 15px;
}

.product-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Responsive for Product Detail */
@media (max-width: 992px) {
    .clinical-results {
        grid-template-columns: 1fr;
    }
    
    .buy-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
    }
    
    .tab-content {
        padding: 25px;
    }
    
    .buy-options {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== Clinical Research Page ==================== */

/* Study Section Header */
.clinical-study-section {
    margin-bottom: 60px;
}

.study-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E0E0E0;
}

.study-header h3 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 600;
}

.study-header h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.study-intro {
    font-size: 17px;
    color: #666666;
    line-height: 1.6;
}

/* Study Card */
.study-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.study-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.study-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.study-card h4 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* Study Meta Info */
.study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.study-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
}

.study-meta i {
    color: var(--primary);
    font-size: 16px;
}

/* Study Content */
.study-content {
    margin-bottom: 30px;
}

.study-description h5 {
    font-size: 18px;
    color: #000000;
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.study-description p {
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 15px;
}

.study-description ul {
    margin: 15px 0;
    padding-left: 25px;
}

.study-description li {
    font-size: 15px;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 10px;
}

.study-description strong {
    color: #000000;
    font-weight: 600;
}

/* Study Results Grid */
.study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.result-item {
    text-align: center;
    padding: 30px 20px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.result-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.result-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.result-text {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.result-item p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
}

/* Study Footer */
.study-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #F0F0F0;
}

.study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.study-tags .tag {
    display: inline-block;
    background: var(--bg-cream);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139,26,46,0.3);
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--primary-dark), #4A0C16);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,26,46,0.4);
}

.btn-download i {
    font-size: 16px;
}

/* Certification Cards */
.certification-card {
    text-align: center;
    padding: 35px 25px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.certification-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139,26,46,0.1), rgba(139,26,46,0.05));
    border-radius: 50%;
}

.cert-icon i {
    font-size: 36px;
    color: var(--primary);
}

.certification-card h4 {
    font-size: 18px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 600;
}

.certification-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Methodology Grid */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.method-item {
    padding: 30px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.method-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(139,26,46,0.3);
}

.method-item h4 {
    font-size: 20px;
    color: #000000;
    margin: 15px 0 12px 0;
    font-weight: 600;
}

.method-item p {
    font-size: 15px;
    color: #000000;
    line-height: 1.7;
}

/* Responsive Design for Clinical Page */
@media screen and (max-width: 992px) {
    .study-results {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .study-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .study-card {
        padding: 25px 20px;
    }
    
    .study-header h3 {
        font-size: 24px;
    }
    
    .study-card h4 {
        font-size: 20px;
    }
    
    .study-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .result-number {
        font-size: 36px;
    }
    
    .result-text {
        font-size: 16px;
    }
    
    .methodology-grid {
        gap: 40px;
    }
}
