/* Base Styles & Variables */
:root {
    --primary-color: #d4a373; /* Elegant Gold/Tan */
    --secondary-color: #faedcd; /* Light Cream */
    --accent-color: #ccd5ae; /* Soft Sage Green */
    --text-dark: #333333;
    --text-light: #fefefe;
    --bg-light: #fdfaf6;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
    opacity: 1; /* Ensure visible by default */
}

/* Only hide if explicitly without src and not intended to be shown yet */
img:not([src]), img[src=""] {
    opacity: 0;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: #b88656;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.4);
}

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

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif; /* Elegant serif for headings */
}

/* SEO Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header & Nav */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* User Avatar Styles */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-right: 8px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 120px;
    width: auto;
    border-radius: 4px;
    background-color: transparent !important;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    color: #444;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a i {
    display: none; /* Hide icons on desktop by default */
}

@media (max-width: 768px) {
    .nav-links a i {
        display: inline-block;
    }
    .nav-text {
        display: none;
    }
    .logo-img {
        height: 60px;
    }
}

.nav-icons {
    display: flex;
    gap: 15px; /* Reduced gap slightly */
    align-items: center;
    margin-right: 10px; /* Added margin to push it slightly from the extreme right */
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

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

/* Slider Section */
.slider-section {
    width: 100%;
    padding: 20px 0; /* Reduced side padding for desktop 'fitted' look */
}

.slider-container {
    position: relative;
    width: 95%; /* Better fit on desktop */
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #ffffff; /* Fallback for contain fit */
}

.slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    height: 450px; /* Reduced further from 550px/16:9 for a more compact desktop layout */
    background: #fdfaf6;
}

.slider img, .slider video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures media fully covers the slider area, eliminating white space */
    flex-shrink: 0;
    background: #ffffff;
}

/* Hover effect only for desktops with mouse */
@media (min-width: 1025px) {
    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }
}

@media (max-width: 768px) {
    .slider-section {
        padding: 10px;
    }
    .slider-container {
        width: 100%;
        border-radius: 10px;
    }
    .slider {
        height: auto;
        aspect-ratio: 16 / 9; 
        min-height: 250px;
    }
    .slider img, .slider video {
        object-fit: cover; /* KEEP COVER FOR MOBILE AS REQUESTED - it looks better there */
    }
}

@media (max-width: 480px) {
    .slider {
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 180px;
    }
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dots .dot.active {
    background-color: #fff;
}

/* Product Grid */
.products-section {
    padding: 60px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Horizontal Scrolling Product Grid (Homepage) */
.product-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 5px 30px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.product-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.product-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.product-scroll-container::-webkit-scrollbar-track {
    background: #eee;
}

.product-scroll-container .product-card {
    flex: 0 0 280px; /* Fixed width for scrolling cards */
    scroll-snap-align: start;
    margin-bottom: 0; /* Override grid margin */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    /* height: auto; Removed fixed 480px */
    min-height: 400px;
}

.product-scroll-container .product-title {
    height: 1.3em !important;
    min-height: 1.3em !important;
}

.product-scroll-container .service-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 1.5em !important; 
    min-height: 1.5em !important;
    gap: 10px;
}

.product-scroll-container .service-desc {
    height: 2.8em !important;
    min-height: 2.8em !important;
}

@media (max-width: 600px) {
    .product-scroll-container .product-card {
        flex: 0 0 200px !important;
        min-height: 380px !important;
    }
}

/* Aari Courses Section */
.courses-section {
    padding: 80px 0;
    background: #fff;
}

.courses-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.courses-video-wrap {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    /* Let the inner content determine height if it's an image */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa; /* light bg if there are borders */
}

.courses-video-wrap video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain; /* Changed from cover */
    background: #f8f9fa;
}

.courses-video-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: #f8f9fa;
}

.courses-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.courses-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

.courses-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #444;
}

.feature-item i {
    color: #25d366;
}

@media (max-width: 768px) {
    .courses-container {
        grid-template-columns: 1fr;
    }
    .courses-text {
        text-align: center;
    }
    .courses-features {
        justify-content: center;
    }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
}

.product-card > a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* FIXED RATIO */
    overflow: hidden;
    background-color: #f8f9fa;
    flex-shrink: 0; /* Prevent resizing */
}

.product-img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Restore cover for uniform square grid */
    object-position: center;
    background-color: #ffffff;
    transition: transform 0.5s ease;
    display: block;
}

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

.product-info {
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 120px; /* Further reduced for boutique cards to remove gaps */
}

.product-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 15px; /* Increased from 5-8 to prevent overlap with icons */
    font-family: 'Playfair Display', serif;
    height: 2.6em; /* Strict 2 lines */
    min-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--text-dark);
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px; /* Increased from 8 to pull away from desc */
    font-size: 0.75rem;
    color: #666;
    /* height: 1.5em; REMOVED FIXED HEIGHT to prevent overlap when text wraps on mobile */
    min-height: 1.5em;
    flex-wrap: wrap;
    gap: 4px;
}

.service-desc {
    line-height: 1.4;
    height: 2.8em; /* Strict 2 lines */
    min-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}

.product-rating {
    height: 1.5em;
    margin-bottom: 8px; /* Tightened */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #f5c518;
    font-size: 0.9rem;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card-actions {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto; /* Push to bottom of fixed height card */
    padding-top: 10px;
}

/* Filters & Search */
.shop-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}

.search-bar {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.category-filter {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Product Detail Page */
.product-detail {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-detail-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-detail-info h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.product-detail-price {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-detail-desc {
    margin-bottom: 30px;
    color: #666;
}

/* Cart Page */
.cart-section {
    padding: 60px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: var(--shadow);
}

.cart-table th, .cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Consolidated with line 420 */

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.qty-btn {
    padding: 5px 10px;
    background: #eee;
    border: none;
    cursor: pointer;
}

.cart-summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 300px;
    margin-left: auto;
}

.cart-summary h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.summary-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Checkout Page */
.checkout-section {
    padding: 60px 0;
    max-width: 600px;
    margin: 0 auto;
}

.checkout-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

/* Admin Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    padding: 20px;
}

.sidebar h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.sidebar ul li a:hover, .sidebar ul li a.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.main-content {
    flex: 1;
    padding: 40px;
    background: #f4f6f8;
}

.admin-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.stat-card h3 {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.admin-table th, .admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

/* Multi-column Footer Styles */
.footer-extended {
    background-color: #fcebbb; /* Warm yellow/orange from screenshot */
    color: #333;
    font-family: 'Inter', sans-serif;
    margin-top: 60px;
}

.footer-top {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.footer-col p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.contact-highlight {
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
}

.footer-bottom {
    background-color: #e54c4c; /* Red colored bottom bar */
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #fff;
    font-size: 1.2rem;
    transition: opacity 0.3s;
}

.footer-socials a:hover {
    opacity: 0.8;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px; /* Above the mobile nav bar */
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
    color: #fff;
}

@media (min-width: 769px) {
    .whatsapp-float {
        bottom: 30px; /* Adjust back for desktop */
    }
}

/* Responsive */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .navbar {
        position: relative;
    }

    body {
        padding-bottom: 60px; /* Space for the bottom navigation bar */
    }

    .nav-links {
        display: flex; 
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        padding: 12px 0;
        z-index: 2000;
    }

    .nav-links a {
        padding: 5px;
        font-size: 1.5rem;
        flex: 1;
        text-align: center;
        color: #666;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }

    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover, .nav-links a[style*="primary-color"] {
        color: var(--primary-color);
        transform: none;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: none;
    }

    .admin-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    
    .shop-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-bar {
        width: 100%;
    }

    /* Product Grid – 2 Columns on Mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 5px;
    }

    .product-card {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .product-card > a {
        width: 100%;
        aspect-ratio: 1 / 1 !important; /* Force square on mobile */
        height: auto !important;
    }

    .product-img {
        height: 100% !important;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .product-info {
        padding: 10px !important;
    }

    .product-title {
        font-size: 0.9rem !important;
        margin-bottom: 2px !important;
        max-height: 2.6em; /* Max 2 lines height */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.2;
    }

    .product-rating {
        font-size: 0.75rem !important;
        margin-bottom: 5px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }

    .product-rating i {
        font-size: 0.7rem;
    }

    .product-price {
        font-size: 0.95rem !important;
        margin-bottom: 5px !important;
    }

    /* Action buttons on mobile */
    .product-info .btn {
        padding: 8px 4px !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }
    
    .product-scroll-container .product-card {
        flex: 0 0 200px !important; /* Better width for mobile scroll */
    }
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Share Options */
.share-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.share-opt-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.share-opt-btn:hover {
    background: #fdfaf6;
    border-color: var(--primary-color);
}

.share-opt-btn i {
    font-size: 2rem;
}

.share-opt-btn.whatsapp i { color: #25d366; }
.share-opt-btn.copy i { color: var(--primary-color); }
.share-opt-btn.nearby i { color: #4285f4; }
.share-opt-btn.more i { color: #666; }

/* Customization Form */
.customization-prompt {
    text-align: center;
}

.cust-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fdfaf6;
    margin-bottom: 10px;
}

.cust-options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cust-form-group {
    margin-bottom: 15px;
}

.cust-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.cust-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-height: 120px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
}

.active-toggle {
    background-color: var(--secondary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-dark) !important;
}

.active-toggle i {
    color: var(--primary-color) !important;
}

/* Sidebar Filter Styles */
.filter-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 2500;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.filter-sidebar.active {
    left: 0;
}

.filter-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}

.filter-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin: 0 !important;
    letter-spacing: 1px;
}

.close-filter {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

.filter-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #212121;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
    display: flex;
    gap: 10px;
}

.filter-btn {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.clear-btn {
    background: #f4f6f8;
    color: #666;
    border: 1px solid #ddd;
}

.filter-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filter-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Layout adjustments */
.shop-container {
    display: flex;
    gap: 30px;
}

.main-product-area {
    flex: 1;
}

/* Course Cards - Ensuring uniform size */
.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.course-img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Better for course banners */
    object-fit: cover;
    display: block;
}

.course-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

@media (max-width: 600px) {
    .service-meta {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 4px !important;
        height: auto !important;
        min-height: auto !important;
    }
    .product-title {
        font-size: 0.95rem !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }
    .service-desc {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
        height: auto !important;
        min-height: auto !important;
        max-height: 2.8em;
    }
    .product-info {
        padding: 8px !important;
        min-height: auto !important;
    }
    .product-rating {
        margin-bottom: 6px !important;
        font-size: 0.8rem !important;
    }
    .product-price {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }
}
