/*
Theme Name: Knoxi
Theme URI: https://pureh2o.co.za
Author: Koki
Author URI: https://pureh2o.co.za
Description: A clean, modern one-page theme for Pure H2O water purification business. Features hero section, services, why us, and contact form.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: knoxi
Tags: one-column, custom-colors, custom-menu, featured-images, theme-options, translation-ready
*/

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Pure H2O Brand Colors - Clean, Refreshing Blues (HSL converted) */
    --primary: hsl(205, 85%, 40%);
    --primary-dark: hsl(210, 80%, 25%);
    --primary-light: hsl(195, 85%, 55%);
    --accent: hsl(190, 95%, 45%);
    --crystal: hsl(185, 90%, 70%);
    --ocean-deep: hsl(210, 80%, 25%);
    --ocean-light: hsl(195, 85%, 55%);
    --wave: hsl(200, 75%, 50%);
    --foam: hsl(190, 50%, 96%);
    
    /* Neutral Colors */
    --background: hsl(200, 30%, 98%);
    --foreground: hsl(210, 60%, 10%);
    --muted: hsl(210, 25%, 45%);
    --white: #ffffff;
    --gray-100: hsl(200, 20%, 94%);
    --gray-200: hsl(200, 25%, 88%);
    --gray-800: hsl(210, 60%, 10%);
    
    /* Effects */
    --shadow: 0 10px 40px -10px hsla(205, 85%, 40%, 0.25);
    --shadow-lg: 0 25px 50px -12px hsla(205, 85%, 40%, 0.35);
    --shadow-glow: 0 0 40px hsla(190, 95%, 50%, 0.4);
    --radius: 0.75rem;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* ===== UTILITY CLASSES ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
}

.text-water-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px hsla(190, 95%, 45%, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px hsla(190, 95%, 45%, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 500;
}

.main-navigation ul {
    display: flex;
    gap: 40px;
}

.main-navigation a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--gray-800);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-water.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        hsla(210, 80%, 25%, 0.8) 0%,
        hsla(205, 85%, 40%, 0.6) 50%,
        hsla(210, 80%, 25%, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-text h1 .highlight {
    position: relative;
    display: inline-block;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    height: 0.75rem;
    background: hsla(190, 95%, 45%, 0.4);
    z-index: -1;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.trust-text {
    text-align: left;
}

.trust-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.trust-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

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

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 7rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: hsla(195, 80%, 92%, 1);
    color: var(--primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, hsla(205, 85%, 40%, 0.1), hsla(190, 95%, 45%, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ===== WHY US SECTION ===== */
.why-us-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--white) 100%);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.stats-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stats-card .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-card .stat-label {
    color: var(--muted);
    font-weight: 500;
}

.why-us-text .section-badge {
    margin-bottom: 1rem;
}

.why-us-text h2 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.why-us-text > p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.reason-item {
    display: flex;
    gap: 1rem;
}

.reason-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.reason-item h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.reason-item p {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 7rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info .section-badge {
    margin-bottom: 1rem;
}

.contact-info h2 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, hsla(205, 85%, 40%, 0.1), hsla(190, 95%, 45%, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item-text h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item-text p,
.contact-item-text a {
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-item-text a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-800);
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--foam);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(205, 85%, 40%, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, var(--ocean-deep) 0%, hsl(210, 80%, 20%) 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: inherit;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul a:hover {
    color: var(--crystal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom .social-links .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-bottom .social-links .social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 700px;
    }

    .why-us-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-us-image {
        order: -1;
    }

    .stats-card {
        right: 20px;
        bottom: -20px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation,
    .header-cta {
        display: none;
    }

    .main-navigation.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem;
    }

    .main-navigation.active ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation.active li {
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .trust-indicators {
        grid-template-columns: 1fr;
    }

    .trust-item {
        justify-content: center;
    }

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

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

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

    .footer-brand {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }
}

/* ===== WORDPRESS SPECIFIC ===== */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    max-width: 100%;
    padding: 5px 3px 10px;
    text-align: center;
    border-radius: var(--radius);
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    padding: 0.5rem 0 0;
    color: var(--muted);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    clip: auto !important;
    color: var(--foreground);
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===== WOOCOMMERCE STYLES ===== */

/* Shop Page Hero */
.shop-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(
        135deg,
        hsl(205, 85%, 40%) 0%,
        hsl(195, 90%, 50%) 50%,
        hsl(185, 90%, 70%) 100%
    );
    text-align: center;
}

.shop-hero-content {
    color: var(--white);
}

.shop-hero-content .water-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.shop-hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.shop-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--background) 0%, hsl(195, 80%, 92%) 100%);
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.shop-header h2 {
    color: var(--gray-800);
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-outline-primary .cart-count {
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 50px;
}

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

/* Products Grid */
.woocommerce ul.products,
.products-section .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Product Card */
.product-card,
.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    background: linear-gradient(135deg, hsla(195, 80%, 92%, 0.5), hsla(205, 85%, 40%, 0.1));
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 250px;
}

.bottle-visual {
    width: 120px;
    height: 180px;
    background: linear-gradient(180deg, hsla(195, 85%, 55%, 0.2) 0%, hsla(205, 85%, 40%, 0.3) 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid hsla(205, 85%, 40%, 0.2);
}

.water-icon-large {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.bottle-size {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.size-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price del {
    color: var(--muted);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.product-price ins {
    text-decoration: none;
}

.product-footer {
    padding: 0 1.5rem 1.5rem;
}

.product-footer .button,
.woocommerce a.button,
.woocommerce button.button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: block;
}

.product-footer .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(190, 95%, 45%, 0.4);
}

/* Features Banner */
.features-banner {
    padding: 5rem 0;
    background: var(--foam);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.feature-item {
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, hsla(205, 85%, 40%, 0.1), hsla(190, 95%, 45%, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ===== CART PAGE STYLES ===== */
.cart-page-wrapper {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--background) 0%, hsl(195, 80%, 92%) 100%);
}

.cart-page-wrapper .container {
    max-width: 1200px;
}

.back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.back-to-shop:hover {
    color: var(--primary);
}

.cart-title,
.checkout-title {
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.cart-card,
.checkout-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-header,
.checkout-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.cart-header h2,
.checkout-card-header h2 {
    font-size: 1.25rem;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-content,
.checkout-card-content {
    padding: 1.5rem;
}

/* Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--foam);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.item-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, hsla(195, 80%, 92%, 1), hsla(205, 85%, 40%, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.item-name a {
    color: inherit;
}

.item-price-each {
    font-size: 0.875rem;
    color: var(--muted);
}

.item-quantity .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-quantity input[type="number"] {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-weight: 600;
}

.item-subtotal {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    min-width: 80px;
    text-align: right;
}

.remove-btn {
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0.6;
    transition: var(--transition);
}

.remove-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cart-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

/* Order Summary */
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--gray-800);
}

.summary-row.total-row {
    border-top: 2px solid var(--gray-200);
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.total-price {
    color: var(--primary);
}

.free-shipping {
    color: var(--accent);
    font-weight: 600;
}

.free-delivery-notice {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--foam);
    border-radius: 8px;
}

.checkout-button-wrapper {
    margin-top: 1.5rem;
}

.checkout-button-wrapper .checkout-button,
.wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.checkout-button-wrapper .checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(190, 95%, 45%, 0.4);
}

/* ===== CHECKOUT PAGE STYLES ===== */
.checkout-page-wrapper {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--background) 0%, hsl(195, 80%, 92%) 100%);
}

.checkout-page-wrapper .container {
    max-width: 1200px;
}

.checkout-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sticky-card {
    position: sticky;
    top: 100px;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

.woocommerce form .form-row label {
    display: block;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--foam);
    transition: var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(205, 85%, 40%, 0.15);
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 0.75rem 0;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
    border-top: 2px solid var(--gray-200);
    padding-top: 1rem;
}

.woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    color: var(--primary);
}

/* Place Order Button */
#place_order {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 18px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(190, 95%, 45%, 0.4);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

/* Pulse animation for WhatsApp button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== WOOCOMMERCE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 7rem 0 3rem;
    }

    .shop-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .cart-item {
        flex-wrap: wrap;
    }

    .item-details {
        flex: 100%;
        order: 1;
    }

    .item-image {
        order: 0;
    }

    .item-quantity,
    .item-subtotal,
    .item-remove {
        order: 2;
    }

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products,
    .products-section .products {
        grid-template-columns: 1fr;
    }

    .cart-page-wrapper,
    .checkout-page-wrapper {
        padding: 6rem 1rem 3rem;
    }
}

/* ===== SINGLE PRODUCT PAGE ===== */
.single-product-page {
    padding-top: 5rem;
}

/* Breadcrumb */
.product-breadcrumb {
    background: var(--foam);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

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

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav .separator {
    color: var(--gray-200);
}

.breadcrumb-nav .current {
    color: var(--foreground);
    font-weight: 500;
}

/* Product Details Section */
.product-details-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--foam) 0%, var(--background) 100%);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Image */
.product-image-wrapper {
    position: sticky;
    top: 6rem;
}

.product-image-card {
    position: relative;
    background: linear-gradient(135deg, hsla(195, 85%, 55%, 0.1) 0%, hsla(205, 85%, 40%, 0.15) 100%);
    border-radius: var(--radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    border: 2px solid hsla(205, 85%, 40%, 0.1);
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius);
}

.bottle-visual-large {
    width: 200px;
    height: 300px;
    background: linear-gradient(180deg, hsla(195, 85%, 55%, 0.2) 0%, hsla(205, 85%, 40%, 0.3) 100%);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid hsla(205, 85%, 40%, 0.2);
}

.water-icon-xl {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.bottle-size-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.sale-badge-large {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, hsl(0, 80%, 55%), hsl(0, 80%, 45%));
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.size-badge-large {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gallery-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    border-color: var(--primary);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info-wrapper {
    position: relative;
}

.product-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.product-category {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-category a {
    color: var(--primary);
}

.product-title {
    font-size: 2.5rem;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-rating .star-rating {
    color: hsl(45, 100%, 51%);
}

.rating-count {
    font-size: 0.875rem;
    color: var(--muted);
}

.product-price-large {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-price-large del {
    font-size: 1.25rem;
    color: var(--muted);
    font-weight: 400;
    margin-right: 0.75rem;
}

.product-price-large ins {
    text-decoration: none;
}

.product-description,
.product-short-description {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-short-description {
    padding: 1.5rem;
    background: var(--foam);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
}

/* Add to Cart Form */
.product-add-to-cart {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.cart-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-wrapper label {
    font-weight: 500;
    color: var(--foreground);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
}

.qty-btn {
    width: 48px;
    height: 48px;
    background: var(--foam);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    transition: var(--transition);
}

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

.qty-input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    background: var(--white);
}

.qty-input:focus {
    outline: none;
}

.btn-add-to-cart {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.stock-status {
    margin-top: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stock-status.in-stock {
    color: hsl(142, 70%, 40%);
}

.stock-status.out-of-stock {
    color: hsl(0, 70%, 50%);
}

/* Product Meta */
.product-meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.meta-label {
    color: var(--muted);
    font-weight: 500;
}

.meta-value {
    color: var(--foreground);
}

.meta-value a {
    color: var(--primary);
}

.meta-value a:hover {
    text-decoration: underline;
}

/* Product Features Section */
.product-features-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--primary) 50%, var(--ocean-light) 100%);
}

.product-features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-features-section .feature-item {
    text-align: center;
    padding: 2rem;
    background: hsla(255, 100%, 100%, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid hsla(255, 100%, 100%, 0.2);
}

.product-features-section .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-features-section .feature-item h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.product-features-section .feature-item p {
    color: hsla(255, 100%, 100%, 0.8);
    font-size: 0.875rem;
}

/* Product Tabs */
.product-tabs-section {
    padding: 4rem 0;
    background: var(--background);
}

.product-tabs {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    background: var(--foam);
}

.tab-btn {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    transition: var(--transition);
    position: relative;
}

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

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.tab-content-inner {
    color: var(--muted);
    line-height: 1.8;
}

.tab-content-inner p {
    margin-bottom: 1rem;
}

/* Product Attributes Table */
.product-attributes {
    width: 100%;
    border-collapse: collapse;
}

.product-attributes tr {
    border-bottom: 1px solid var(--gray-200);
}

.product-attributes th,
.product-attributes td {
    padding: 1rem;
    text-align: left;
}

.product-attributes th {
    font-weight: 600;
    color: var(--foreground);
    width: 200px;
    background: var(--foam);
}

.product-attributes td {
    color: var(--muted);
}

/* Related Products */
.related-products-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--foam) 100%);
}

.related-products-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--foreground);
}

.related-products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.related-products-section .product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-products-section .product-link {
    display: block;
}

.related-products-section .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Single Product Responsive */
@media (max-width: 1024px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-wrapper {
        position: static;
    }

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

@media (max-width: 768px) {
    .product-details-section {
        padding: 2rem 0;
    }

    .product-image-card {
        min-height: 300px;
        padding: 2rem;
    }

    .bottle-visual-large {
        width: 150px;
        height: 220px;
    }

    .water-icon-xl {
        font-size: 3.5rem;
    }

    .bottle-size-large {
        font-size: 1.5rem;
    }

    .product-info-card {
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-price-large {
        font-size: 1.75rem;
    }

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

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        text-align: center;
        border-bottom: 1px solid var(--gray-200);
    }

    .tab-btn:last-child {
        border-bottom: none;
    }

    .tab-btn.active::after {
        display: none;
    }

    .product-attributes th {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .product-gallery {
        flex-wrap: wrap;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }

    .quantity-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-products-section .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== THANK YOU / ORDER CONFIRMATION PAGE ===== */
.thankyou-page {
    padding: 6rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--foam) 0%, var(--background) 50%, var(--foam) 100%);
}

/* Order Status Card */
.order-status-card {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.status-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
}

.status-icon.success {
    background: linear-gradient(135deg, hsl(142, 70%, 45%), hsl(142, 70%, 35%));
    color: var(--white);
    box-shadow: 0 10px 40px -10px hsla(142, 70%, 40%, 0.4);
}

.status-icon.failed {
    background: linear-gradient(135deg, hsl(0, 70%, 55%), hsl(0, 70%, 45%));
    color: var(--white);
    box-shadow: 0 10px 40px -10px hsla(0, 70%, 50%, 0.4);
}

.status-icon.info {
    background: linear-gradient(135deg, var(--primary), var(--ocean-deep));
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.order-status-card h1 {
    font-size: 2.5rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.order-status-card .status-message {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.order-number-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--foam);
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: 2px solid var(--primary);
}

.order-number-badge .label {
    color: var(--muted);
    font-weight: 500;
}

.order-number-badge .number {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.order-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Order Details Section */
.order-details-section {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Order Summary Card */
.order-summary-card,
.address-card,
.order-items-card,
.next-steps-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.order-summary-card h2,
.address-card h2,
.order-items-card h2,
.next-steps-card h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.order-summary-card h2 .icon,
.address-card h2 .icon,
.order-items-card h2 .icon,
.next-steps-card h2 .icon {
    font-size: 1.5rem;
}

/* Order Meta Grid */
.order-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.order-meta-grid .meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-meta-grid .meta-label {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
}

.order-meta-grid .meta-value {
    font-size: 1rem;
    color: var(--foreground);
    font-weight: 600;
}

.order-meta-grid .meta-value.total {
    color: var(--primary);
    font-size: 1.25rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.status-processing,
.status-badge.status-pending {
    background: hsl(45, 100%, 90%);
    color: hsl(45, 100%, 30%);
}

.status-badge.status-completed {
    background: hsl(142, 70%, 90%);
    color: hsl(142, 70%, 30%);
}

.status-badge.status-on-hold {
    background: hsl(200, 70%, 90%);
    color: hsl(200, 70%, 30%);
}

.status-badge.status-cancelled,
.status-badge.status-failed {
    background: hsl(0, 70%, 90%);
    color: hsl(0, 70%, 40%);
}

/* Address Card */
.address-content {
    font-style: normal;
    color: var(--foreground);
    line-height: 1.8;
}

.address-card .phone {
    margin-top: 1rem;
    color: var(--muted);
}

/* Order Items Card */
.order-items-card {
    margin-bottom: 2rem;
}

.order-items-table {
    margin-top: 0;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--foam);
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
}

.order-item:last-of-type {
    border-bottom: none;
}

.item-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-item .item-image {
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--foam);
    flex-shrink: 0;
}

.order-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item .placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, hsla(195, 85%, 55%, 0.2), hsla(205, 85%, 40%, 0.2));
}

.order-item .item-details h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.order-item .item-size {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.item-quantity {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 500;
}

.item-total {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

/* Order Totals */
.order-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-200);
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.totals-row span:first-child {
    color: var(--muted);
}

.totals-row span:last-child {
    font-weight: 600;
    color: var(--foreground);
}

.totals-row.discount span:last-child {
    color: hsl(142, 70%, 40%);
}

.totals-row.total {
    background: var(--foam);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    font-size: 1.25rem;
}

.totals-row.total span:first-child {
    font-weight: 600;
    color: var(--foreground);
}

.totals-row.total span:last-child {
    color: var(--primary);
    font-weight: 700;
}

/* Next Steps Card */
.next-steps-card {
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.step-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Order Actions Section */
.order-actions-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

/* Thank You Page Responsive */
@media (max-width: 1024px) {
    .order-details-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .thankyou-page {
        padding: 5rem 1rem 2rem;
    }

    .order-status-card {
        padding: 2rem 1.5rem;
    }

    .status-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .order-status-card h1 {
        font-size: 1.75rem;
    }

    .order-number-badge {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem 1.5rem;
    }

    .order-meta-grid {
        grid-template-columns: 1fr;
    }

    .table-header {
        display: none;
    }

    .order-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .item-product {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-quantity,
    .item-total {
        text-align: left;
    }

    .item-quantity::before {
        content: 'Qty: ';
        color: var(--muted);
    }

    .item-total::before {
        content: 'Total: ';
        color: var(--muted);
        font-weight: 400;
    }

    .order-actions,
    .order-actions-section {
        flex-direction: column;
    }

    .order-actions .btn,
    .order-actions-section .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .order-summary-card,
    .address-card,
    .order-items-card,
    .next-steps-card {
        padding: 1.5rem;
    }

    .order-summary-card h2,
    .address-card h2,
    .order-items-card h2,
    .next-steps-card h2 {
        font-size: 1.25rem;
    }
}
