/* =====================================================
   PUMZI TEAS - Main Stylesheet
   Organic Tea E-commerce from Uganda
   ===================================================== */

/* CSS Variables */
:root {
    --primary-color: #2d5a3d;
    --primary-dark: #1e3d2a;
    --primary-light: #4a7c5c;
    --secondary-color: #c9a962;
    --secondary-light: #dfc88a;
    --accent-color: #8b4513;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f6f3;
    --bg-cream: #faf8f5;
    --border-color: #e5e5e5;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 0;
    transition: var(--transition);
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

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

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

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announcement-bar {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.announcement-bar p {
    margin: 0;
}

/* =====================================================
   HEADER
   ===================================================== */
.main-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    flex-shrink: 0;
    max-width: 150px;
}

.logo a {
    display: block;
    text-align: center;
}

.logo img,
.logo-img {
    height: 45px !important;
    width: auto !important;
    max-width: 120px !important;
    max-height: 45px !important;
    object-fit: contain !important;
    display: block;
}

@media (max-width: 768px) {
    .logo {
        max-width: 100px;
    }
    
    .logo img,
    .logo-img {
        height: 35px !important;
        max-width: 80px !important;
        max-height: 35px !important;
    }
    
    .logo .tagline {
        font-size: 10px;
    }
}

.logo h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 2px;
}

.logo .tagline {
    display: block;
    font-size: 14px;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-top: 5px;
}

.main-nav .nav-menu {
    display: flex;
    gap: 40px;
}

.main-nav .nav-menu > li > a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    padding: 10px 0;
    position: relative;
}

.main-nav .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav .nav-menu > li > a:hover::after {
    width: 100%;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.action-btn {
    font-size: 18px;
    color: var(--text-color);
    position: relative;
}

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

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    overflow: hidden;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.user-dropdown-menu a:last-child {
    border-bottom: none;
}

.user-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.user-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

.user-dropdown-menu a:hover i {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 700px;
    padding: 40px 20px;
}

.hero-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--secondary-light);
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.hero .btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
}

.hero .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.hero .btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-cream {
    background-color: var(--bg-cream);
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.product-image {
    position: relative;
    padding-top: 100%;
    background-color: var(--bg-light);
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-actions {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
}

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

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.product-price .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 10px;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    font-size: 28px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 100%; /* 1:1 aspect ratio for even larger display */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 450px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--secondary-color);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-light);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-role {
    font-size: 13px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 14px;
    color: var(--text-light);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item {
    padding: 40px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter-section {
    background: linear-gradient(135deg, #2d5a3d 0%, #1e3d29 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.newsletter-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.newsletter-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form-large {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 15px;
}

.newsletter-form-large button {
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.newsletter-form-large button:hover {
    background-color: var(--accent-color);
}

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: #fff;
}

.footer-top {
    padding: 60px 0;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

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

.footer-col ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

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

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

.social-links a:hover {
    background-color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info li i {
    margin-top: 3px;
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 18px;
    background-color: var(--secondary-color);
    color: #fff;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.sponsorship-notice {
    text-align: right;
    max-width: 300px;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
    margin: 0;
}

.developer-credit {
    font-size: 12px !important;
}

.developer-credit a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sponsorship-notice {
        text-align: center;
        max-width: 100%;
    }
    
    /* Mission & Vision mobile responsive */
    .features-grid[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .features-grid[style*="grid-template-columns: repeat(2, 1fr)"] .feature-item {
        padding: 20px !important;
        text-align: left !important;
        transform: none !important;
        transition: none !important;
    }
    
    .features-grid[style*="grid-template-columns: repeat(2, 1fr)"] .feature-item:hover {
        transform: none !important;
    }
    
    /* Core Values mobile responsive */
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .value-item {
        padding: 20px !important;
        text-align: left !important;
        transform: none !important;
        transition: none !important;
    }
    
    .value-item:hover {
        transform: none !important;
    }
    
    .value-icon {
        gap: 10px !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .value-title {
        font-size: 1rem !important;
        text-align: left !important;
    }
    
    .value-desc {
        font-size: 13px !important;
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile styles */
    .features-grid[style*="grid-template-columns: repeat(2, 1fr)"] .feature-item {
        padding: 15px !important;
    }
    
    .value-item {
        padding: 15px !important;
    }
    
    .value-icon i {
        font-size: 18px !important;
    }
    
    .value-title {
        font-size: 0.95rem !important;
    }
    
    .value-desc {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    background: linear-gradient(rgba(45, 90, 61, 0.85), rgba(45, 90, 61, 0.85)),
                linear-gradient(rgba(34, 68, 46, 0.95), rgba(34, 68, 46, 0.95));
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
}

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

.breadcrumb span {
    color: var(--secondary-color);
}

/* =====================================================
   FORMS
   ===================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-box i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-box p {
    color: var(--text-light);
    font-size: 14px;
}

/* =====================================================
   CART PAGE
   ===================================================== */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
}

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

.cart-product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    width: fit-content;
}

.quantity-input button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.quantity-input button:hover {
    background-color: var(--bg-light);
}

.quantity-input input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.remove-btn {
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition);
}

.remove-btn:hover {
    color: var(--error-color);
}

.cart-summary {
    background-color: var(--bg-light);
    padding: 30px;
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}

.cart-summary-row.total {
    font-size: 18px;
    font-weight: 600;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

/* =====================================================
   CHECKOUT PAGE
   ===================================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.checkout-section {
    margin-bottom: 40px;
}

.checkout-section h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.order-summary {
    background-color: var(--bg-light);
    padding: 30px;
    position: sticky;
    top: 120px;
}

.order-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.order-item-image {
    width: 60px;
    height: 60px;
    background-color: var(--bg-color);
    flex-shrink: 0;
}

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

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

.order-item-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.order-item-qty {
    font-size: 13px;
    color: var(--text-muted);
}

.order-item-price {
    font-weight: 600;
}

.payment-methods {
    margin-top: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method input[type="radio"] {
    accent-color: var(--primary-color);
}

/* =====================================================
   ACCOUNT PAGES
   ===================================================== */
.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.account-sidebar {
    background-color: var(--bg-light);
    padding: 30px;
    height: fit-content;
}

.account-menu li {
    margin-bottom: 10px;
}

.account-menu li a {
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

.account-menu li a:hover,
.account-menu li a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.account-content {
    background-color: var(--bg-color);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.orders-table th {
    background-color: var(--bg-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-shipped {
    background-color: #d4edda;
    color: #155724;
}

.status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

/* =====================================================
   AUTH PAGES
   ===================================================== */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
    padding: 40px;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-md);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.auth-divider span {
    background-color: var(--bg-color);
    padding: 0 15px;
    position: relative;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

/* =====================================================
   ADMIN PANEL
   ===================================================== */
.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 20px 0;
}

.admin-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-logo a {
    display: block;
    text-decoration: none;
}

.admin-logo-img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.admin-logo small {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-logo h2 {
    color: #fff;
    font-size: 1.3rem;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.admin-menu li a:hover,
.admin-menu li a.active {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.admin-menu li a i {
    width: 20px;
}

.admin-main {
    background-color: var(--bg-light);
    padding: 30px;
}

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

.admin-header h1 {
    font-size: 1.8rem;
}

.admin-card {
    background-color: var(--bg-color);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.admin-card h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.stat-card {
    background-color: var(--bg-color);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.stat-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--bg-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.action-btns a {
    padding: 8px 15px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.action-btns a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.action-btns a.delete:hover {
    background-color: var(--error-color);
    border-color: var(--error-color);
}

/* =====================================================
   ALERTS & MESSAGES
   ===================================================== */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* =====================================================
   EMPTY STATES
   ===================================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* =====================================================
   PRODUCT SINGLE PAGE
   ===================================================== */
.product-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.product-main-image {
    background-color: var(--bg-light);
    margin-bottom: 15px;
}

.product-main-image img {
    width: 100%;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-thumbnails img {
    width: 100%;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    opacity: 1;
}

.product-details h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.product-single .product-price {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

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

.product-options {
    margin-bottom: 30px;
}

.product-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.add-to-cart-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-form .quantity-input {
    flex-shrink: 0;
}

.add-to-cart-form .btn {
    flex: 1;
}

.product-features {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.product-features li i {
    color: var(--primary-color);
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-content h1 {
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

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

.legal-content ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--text-light);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Force white backgrounds on mobile */
    body {
        background-color: #ffffff !important;
        color: #333333 !important;
    }
    
    .main-header {
        background-color: #ffffff !important;
    }
    
    .main-nav {
        background-color: #ffffff !important;
    }
    
    .product-card {
        background-color: #ffffff !important;
    }
    
    .cart-summary {
        background-color: #f8f6f3 !important;
    }
    
    .account-sidebar {
        background-color: #f8f6f3 !important;
    }
    
    .account-content {
        background-color: #ffffff !important;
    }
    
    .auth-container {
        background-color: #ffffff !important;
    }
    
    /* Fix footer green background on mobile */
    .main-footer {
        background-color: #1e3d2a !important;
        color: #ffffff !important;
    }
    
    .footer-col h3,
    .footer-col h4 {
        color: #ffffff !important;
    }
    
    .footer-col p,
    .footer-col li,
    .footer-col li a {
        color: #ffffff !important;
    }
    
    .footer-col li a:hover {
        color: var(--secondary-color) !important;
    }
    
    .footer-bottom {
        background-color: #1a2f1f !important;
        color: #ffffff !important;
    }
    
    .footer-bottom p,
    .footer-bottom a {
        color: #ffffff !important;
    }
    
    .developer-credit a {
        color: #ffffff !important;
    }
    
    .sponsorship-notice p {
        color: #ffffff !important;
        opacity: 0.7 !important;
    }
    
    .social-links a {
        color: #ffffff !important;
    }
    
    .social-links a:hover {
        color: var(--secondary-color) !important;
    }
    
    .contact-info a {
        color: #ffffff !important;
    }
    
    .contact-info i {
        color: var(--secondary-color) !important;
    }
    
    .newsletter-form input {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .newsletter-form input::placeholder {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    .newsletter-form button {
        background-color: var(--secondary-color) !important;
        color: #ffffff !important;
    }
    
    /* Fix category sections backgrounds */
    .categories-section {
        background-color: #f8f6f3 !important;
    }
    
    .categories-grid {
        background-color: transparent !important;
    }
    
    .category-card {
        background-color: #ffffff !important;
        color: #333333 !important;
    }
    
    .category-card h3 {
        color: #333333 !important;
    }
    
    .category-card p {
        color: #666666 !important;
    }
    
    /* Fix about us page cards */
    .about-section {
        background-color: #ffffff !important;
    }
    
    .mission-vision-section {
        background-color: #f8f6f3 !important;
    }
    
    .info-cards {
        background-color: transparent !important;
    }
    
    .info-card {
        background-color: #ffffff !important;
        color: #333333 !important;
        padding: 30px 20px !important;
        min-height: auto !important;
    }
    
    .info-card h3 {
        color: #333333 !important;
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
    }
    
    .info-card p {
        color: #666666 !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
    }
    
    .info-card .icon {
        color: #2d5a3d !important;
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    /* Fix other section backgrounds */
    .features-section {
        background-color: #f8f6f3 !important;
    }
    
    .team-section {
        background-color: #ffffff !important;
    }
    
    .newsletter-section {
        background-color: #2d5a3d !important;
        color: #ffffff !important;
    }
    
    .newsletter-section h2,
    .newsletter-section p {
        color: #ffffff !important;
    }
    
    /* Ensure text visibility */
    h1, h2, h3, h4, h5, h6 {
        color: #333333 !important;
    }
    
    p, span, div {
        color: #333333 !important;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-color);
        padding: 80px 20px 20px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav .nav-menu > li > a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    .has-dropdown:hover .dropdown {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid,
    .checkout-grid,
    .product-single {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .account-layout,
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        padding: 15px;
    }
    
    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
    }
    
    .cart-product {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Force white backgrounds on small mobile screens */
    body {
        background-color: #ffffff !important;
        color: #333333 !important;
    }
    
    .main-header {
        background-color: #ffffff !important;
    }
    
    .main-nav {
        background-color: #ffffff !important;
    }
    
    .product-card {
        background-color: #ffffff !important;
    }
    
    .cart-summary {
        background-color: #f8f6f3 !important;
    }
    
    .account-sidebar {
        background-color: #f8f6f3 !important;
    }
    
    .account-content {
        background-color: #ffffff !important;
    }
    
    .auth-container {
        background-color: #ffffff !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form-large {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* =====================================================
   COOKIE CONSENT WIDGET
   ===================================================== */
/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 99999;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--error-color);
}

.notification-info {
    border-left: 4px solid var(--primary-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.notification-content i {
    font-size: 18px;
}

.notification-success .notification-content i {
    color: var(--success-color);
}

.notification-error .notification-content i {
    color: var(--error-color);
}

.notification-info .notification-content i {
    color: var(--primary-color);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

.notification-close:hover {
    background: var(--bg-light);
    color: var(--text-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: #fff;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    z-index: 99999;
    border-radius: 12px;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
}

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

.cookie-consent-content {
    padding: 20px;
}

.cookie-consent-text h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-text h4 i {
    font-size: 1.1rem;
}

.cookie-consent-text p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: 8px;
}

.cookie-option-text {
    flex: 1;
}

.cookie-option-text strong {
    display: block;
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 2px;
}

.cookie-option-text small {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
    display: block;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 22px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:disabled + .toggle-slider {
    background-color: var(--primary-light);
    cursor: not-allowed;
}

.cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(18px);
}

.cookie-consent-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-consent-actions .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 12px;
    min-width: auto;
    text-align: center;
}

.cookie-consent-actions .btn-primary {
    flex: 2;
}

.cookie-policy-link {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.cookie-policy-link a {
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }
    
    .cookie-consent-content {
        padding: 15px;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-consent-actions .btn {
        width: 100%;
        flex: none;
    }
}

/* =====================================================
   LEGAL PAGES STYLING
   =====================================================/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.legal-intro {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.legal-toc {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.legal-toc h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.toc-item {
    display: block;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-size: 14px;
    font-weight: 500;
}

.toc-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(3px);
}

.legal-summary {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 30px 0;
    margin-bottom: 40px;
    box-shadow: none;
}

.legal-summary h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    border: 1px solid var(--border-color);
}

.summary-item i {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.summary-item span {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    scroll-margin-top: 80px;
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    scroll-margin-top: 80px;
}

.legal-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 25px 0 10px 0;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.info-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.info-box p {
    margin: 5px 0;
}

/* Cloudflare Turnstile Styling */
.cf-turnstile {
    margin: 15px 0;
    min-height: 65px;
}

/* Legal Page Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 20px 0;
    }
    
    .legal-toc {
        padding: 20px;
    }
    
    .legal-summary {
        padding: 20px 0;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.legal-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.legal-table tr:nth-child(even) {
    background: var(--bg-light);
}

.info-box {
    background: var(--bg-light);
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 8px;
}

.legal-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .legal-table {
        font-size: 12px;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}

/* Info Cards - for cookies, legal basis, etc. */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.info-card-header i {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.info-card-header h5 {
    flex: 1;
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.info-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-required {
    background: var(--primary-color);
    color: #fff;
}

.badge-optional {
    background: var(--bg-light);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Data Collection List */
.data-collection-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.data-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.data-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.data-item-header i {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.data-item-header h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.data-item-body {
    padding: 15px 20px;
}

.data-item-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.data-item-body p:last-child {
    margin-bottom: 0;
}

/* Retention List */
.retention-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.retention-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.retention-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.retention-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.retention-content {
    flex: 1;
}

.retention-content h5 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.retention-content p {
    margin: 0 0 3px 0;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.retention-content small {
    font-size: 13px;
    color: var(--text-muted);
}

/* Definitions List */
.definitions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.definition-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 18px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.definition-item strong {
    font-size: 14px;
    color: var(--primary-color);
}

.definition-item span {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .definitions-list {
        grid-template-columns: 1fr;
    }
}

/* Delivery Times */
.delivery-times {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.delivery-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.delivery-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.delivery-info strong {
    font-size: 14px;
    color: var(--text-color);
}

.delivery-info span {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}
