/*
Theme Name: Wellness by Nasir
Theme URI: https://wellnessbynasir.com
Author: Wellness by Nasir
Author URI: https://wellnessbynasir.com
Description: A complete, fully editable WordPress theme for wellness coaching with WooCommerce support, custom booking system, and LMS integration.
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: wellness-by-nasir
Tags: e-commerce, custom-background, threaded-comments, translation-ready, featured-images, theme-options
*/

/* ============================================
   CSS VARIABLES - COLOR SYSTEM
   ============================================ */
:root {
    /* Page Background */
    --bg-ice-blue: #F0F4F8;
    
    /* Dark Contrast Colors */
    --dark-slate-navy: #1E293B;
    --dark-slate: #0F172A;
    
    /* Primary Action Colors */
    --electric-sky-blue: #0EA5E9;
    --pure-white: #FFFFFF;
    
    /* Border & Accent Colors */
    --soft-blue-border: #E2E8F0;
    
    /* Typography Colors */
    --text-dark: #0F172A;
    --text-light: #FFFFFF;
    
    /* Spacing & Layout */
    --border-radius-lg: 18px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --border-radius-pill: 50px;
    
    /* Container Widths */
    --container-max: 1200px;
    --container-narrow: 900px;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-ice-blue);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.cart-open,
body.mobile-menu-open {
    overflow: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Lora', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: var(--electric-sky-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-slate-navy);
}

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

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

.text-center { text-align: center; }
.text-white { color: var(--pure-white); }
.text-sky-blue { color: var(--electric-sky-blue); }

.bg-dark { background-color: var(--dark-slate-navy); }
.bg-white { background-color: var(--pure-white); }

.card {
    background: var(--pure-white);
    border: 1px solid var(--soft-blue-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-sky-blue) 0%, #0284c7 100%);
    color: var(--pure-white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, var(--dark-slate-navy) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-slate-navy);
    border: 2px solid var(--dark-slate-navy);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--dark-slate-navy);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-white {
    background-color: var(--pure-white);
    color: var(--dark-slate-navy);
}

.btn-white:hover {
    background-color: var(--electric-sky-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
.image-placeholder {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-slate-navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    padding: 1rem;
    border: 2px dashed var(--electric-sky-blue);
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed var(--dark-slate-navy);
    opacity: 0.3;
    border-radius: var(--border-radius-sm);
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: var(--pure-white);
    border-bottom: 1px solid var(--soft-blue-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-slate-navy);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.main-navigation a:hover {
    color: var(--electric-sky-blue);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-sky-blue);
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.cart-toggle:hover {
    color: var(--electric-sky-blue);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--electric-sky-blue);
    color: var(--pure-white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu-toggle .hamburger {
    width: 25px;
    height: 3px;
    background: var(--dark-slate-navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-ice-blue) 0%, #E8EEF5 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 0.875rem;
    letter-spacing: 3px;
    color: var(--electric-sky-blue);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-headline {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-body {
    font-size: 1.125rem;
    color: var(--dark-slate);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--pure-white);
    border: 1px solid var(--soft-blue-border);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--electric-sky-blue);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.feature-card-icon {
    width: 32px;
    height: 32px;
    background: var(--electric-sky-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
}

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   RECORDED SESSIONS SECTION
   ============================================ */
.sessions-section {
    padding: 5rem 0;
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    font-family: 'Playfair Display', serif;
    font-size: 0.875rem;
    letter-spacing: 3px;
    color: var(--electric-sky-blue);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-headline {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-body {
    font-size: 1.125rem;
    color: var(--dark-slate);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.sessions-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlights-checklist {
    list-style: none;
    margin-bottom: 2rem;
}

.highlights-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--electric-sky-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 0.75rem;
}

/* ============================================
   FEATURED BANNER SECTION
   ============================================ */
.featured-banner {
    background: var(--dark-slate-navy);
    color: var(--pure-white);
    padding: 5rem 0;
}

.featured-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-banner h2 {
    color: var(--pure-white);
}

.featured-banner p {
    color: rgba(255,255,255,0.8);
}

.featured-tag {
    display: inline-block;
    background: var(--electric-sky-blue);
    color: var(--pure-white);
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-strikethrough {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 1.125rem;
}

.pill-tag {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
}

/* ============================================
   BOOKING SECTION
   ============================================ */
.booking-section {
    padding: 5rem 0;
    background: var(--bg-ice-blue);
}

.booking-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.booking-points {
    list-style: none;
    margin: 2rem 0;
}

.booking-points li {
    margin-bottom: 1rem;
    font-size: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.booking-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--electric-sky-blue);
    font-size: 1.5rem;
    line-height: 1;
}

.booking-calendar-widget {
    background: var(--pure-white);
    border: 1px solid var(--soft-blue-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

/* ============================================
   SHOP GRID SECTION
   ============================================ */
.shop-section {
    padding: 5rem 0;
    background: var(--pure-white);
}

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

.product-card {
    background: var(--pure-white);
    border: 1px solid var(--soft-blue-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border-color: var(--electric-sky-blue);
}

.product-image {
    aspect-ratio: 1;
    background: var(--bg-ice-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--electric-sky-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

/* ============================================
   BLOG GRID SECTION
   ============================================ */
.blog-section {
    padding: 5rem 0;
    background: var(--bg-ice-blue);
}

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

.blog-card {
    background: var(--pure-white);
    border: 1px solid var(--soft-blue-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-image {
    aspect-ratio: 3/2;
    background: var(--bg-ice-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content {
    padding: 1.5rem;
}

.blog-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--electric-sky-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--electric-sky-blue);
    font-weight: 600;
    font-size: 0.875rem;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 5rem 0;
    background: var(--pure-white);
}

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

.review-card {
    background: var(--pure-white);
    border: 1px solid var(--soft-blue-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.review-author {
    font-weight: 600;
    color: var(--dark-slate-navy);
}

.review-role {
    font-size: 0.875rem;
    color: var(--electric-sky-blue);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark-slate-navy);
    color: var(--pure-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--pure-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

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

.footer-column a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-column a:hover {
    color: var(--electric-sky-blue);
    padding-left: 5px;
}

.footer-bio {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--pure-white);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.social-links a:hover {
    background: var(--electric-sky-blue);
    transform: translateY(-3px);
}

.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-inner,
    .sessions-inner,
    .featured-banner-inner,
    .booking-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .shop-grid,
    .blog-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--pure-white);
        flex-direction: column;
        padding: 2rem 1.5rem;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .main-navigation a {
        font-size: 1.125rem;
        padding: 0.75rem 0;
        display: block;
        width: 100%;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-inner,
    .sessions-inner,
    .featured-banner-inner,
    .booking-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-grid,
    .blog-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-headline {
        font-size: 2rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-media,
    .sessions-media,
    .featured-media,
    .booking-widget {
        order: -1;
    }
    
    .hero-section,
    .sessions-section,
    .featured-banner,
    .booking-section,
    .shop-section,
    .blog-section,
    .reviews-section {
        padding: 3rem 0;
    }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    .cart-drawer-header,
    .cart-drawer-content,
    .cart-drawer-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-item-title {
        font-size: 0.9rem;
    }
    
    .cart-item-price {
        font-size: 1rem;
    }
    
    .cart-total {
        font-size: 1.25rem;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--pure-white);
    box-shadow: -8px 0 40px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--soft-blue-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-ice-blue) 0%, #E8EEF5 100%);
}

.cart-drawer-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    color: var(--dark-slate-navy);
}

.cart-drawer-close {
    background: var(--pure-white);
    border: 2px solid var(--soft-blue-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--dark-slate-navy);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-drawer-close:hover {
    background: var(--electric-sky-blue);
    color: var(--pure-white);
    border-color: var(--electric-sky-blue);
    transform: rotate(90deg);
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-drawer-content::-webkit-scrollbar {
    width: 6px;
}

.cart-drawer-content::-webkit-scrollbar-track {
    background: var(--bg-ice-blue);
}

.cart-drawer-content::-webkit-scrollbar-thumb {
    background: var(--electric-sky-blue);
    border-radius: 3px;
}

.cart-drawer-footer {
    padding: 2rem;
    border-top: 1px solid var(--soft-blue-border);
    background: linear-gradient(135deg, var(--bg-ice-blue) 0%, #E8EEF5 100%);
}

.cart-drawer-footer .btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.125rem;
}

.cart-empty-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--dark-slate);
}

.cart-empty-message svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.cart-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--soft-blue-border);
    transition: background 0.3s ease;
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--pure-white);
}

.cart-item:hover {
    background: var(--bg-ice-blue);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    background: var(--bg-ice-blue);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--soft-blue-border);
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    line-height: 1.3;
}

.cart-item-price {
    color: var(--electric-sky-blue);
    font-weight: 700;
    font-size: 1.125rem;
}

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

.cart-item-quantity button {
    width: 32px;
    height: 32px;
    border: 2px solid var(--soft-blue-border);
    background: var(--pure-white);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-slate-navy);
}

.cart-item-quantity button:hover {
    background: var(--electric-sky-blue);
    color: var(--pure-white);
    border-color: var(--electric-sky-blue);
    transform: scale(1.1);
}

.cart-item-quantity span {
    font-weight: 600;
    font-size: 1rem;
    min-width: 24px;
    text-align: center;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--soft-blue-border);
}

.cart-total span:last-child {
    color: var(--electric-sky-blue);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--electric-sky-blue);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 990;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

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

.scroll-to-top:hover {
    background: var(--dark-slate-navy);
    transform: translateY(-3px);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--soft-blue-border);
    border-top-color: var(--electric-sky-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.card,
.product-card,
.blog-card,
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn {
    transition: all 0.3s ease;
}
