/* Fonts loaded via functions.php for better performance - removed @import to prevent blocking */

/* Fast Page Loading - Remove opacity blocking */
body {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Fast Page content loading - reduce animation delays */
.site-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    margin-top: 0;
    padding-top: 40px; /* Consistent space after header for all pages */
}

.site-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Site main container - no additional spacing needed */
.site-main {
    padding-top: 0;
    margin-top: 0;
}

/* WooCommerce pages - maintain consistent spacing */
.woocommerce .site-main,
.woocommerce-page .site-main {
    padding-top: 0;
}

/* Homepage hero section - no extra top margin */
.home .hero-slider,
.front-page .hero-slider {
    margin-top: 0;
}

/* Page headers - additional padding only for header content */
.page-header,
.archive-header {
    margin-top: 0;
    padding-top: 0; /* Remove extra padding since site-content already has it */
}

/* Mobile responsive - slightly less padding */
@media (max-width: 768px) {
    .site-content {
        padding-top: 30px;
    }
}

/* Admin bar adjustments */
.admin-bar .site-content {
    padding-top: 50px; /* Header space + admin bar consideration */
}

@media screen and (max-width: 782px) {
    .admin-bar .site-content {
        padding-top: 40px; /* Mobile admin bar adjustment */
    }
}

/* Loading screen styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fast loading for all sections */
.hero-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.hero-section.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Fast product detail page loading */
.product-detail-container {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.product-detail-container.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Fast section loading animation */
.section-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.section-animate.loaded {
    opacity: 1;
    transform: translateY(0);
}

/**
 * Bazar365 Theme Custom CSS
 */

/* Define Theme Variables - Updated to match logo colors */
:root {
    --primary-color: #0d9d71; /* Bazar365 logo green */
    --secondary-color: #0a7d5a; /* Darker shade of the logo green */
    --accent-color: #08664a; /* Even darker green for hover effects */
    --dark-color: #333;
    --light-color: #fff;
    --grey-color: #f7f7f7;
    --border-color: #eee;
    --text-color: #333;
    --luxury-font: 'Source Sans Pro', sans-serif; /* Clean, readable sans-serif font */
    --heading-font: 'Source Sans Pro', sans-serif; /* Consistent sans-serif font */
    --body-font: 'Source Sans Pro', sans-serif; /* Clean, readable sans-serif */
}

/* Global Typography - Luxury Watch Theme */
body, html {
    font-family: var(--body-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6,
.slide-title,
.product-title,
.category-card h3,
.section-title h2 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Specific styling for main headings */
.slide-title {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-title h2 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.product-title {
    font-family: var(--heading-font);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/**
 * Global button styles - Updated to match logo colors
 */
.btn, button.btn, a.btn,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
button[type="submit"], 
input[type="submit"] {
    background-color: var(--primary-color);
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover, button.btn:hover, a.btn:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
button[type="submit"]:hover, 
input[type="submit"]:hover {
    background-color: var(--accent-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.btn-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: #6c757d;
    color: white !important;
}

.btn-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #5a6268;
    color: white !important;
}

.btn-success,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-success:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
    background-color: var(--secondary-color);
    color: white !important;
}

/**
 * Header Styles - Main styles in style.css for consistency
 */

/* Ensure body has no conflicting spacing */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove admin bar adjustments since header is no longer fixed */
.admin-bar body {
    padding-top: 0 !important;
}

@media screen and (max-width: 782px) {
    .admin-bar body {
        padding-top: 0 !important;
    }
}

/* Prevent margin collapse between header and content */
.site-header::after {
    content: "";
    display: table;
    clear: both;
}

.site-header .navbar-brand img {
    max-height: 60px;
    width: auto;
}

/**
 * Header Layout
 */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    transition: padding 0.3s ease;
}

.site-branding {
    flex: 0 0 auto;
    margin-right: 20px;
}

.site-title {
    margin: 0;
    font-size: 28px;
}

/* Desktop Navigation */
.desktop-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.desktop-navigation .main-navigation {
    width: 100%;
    text-align: center;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-actions > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
    color: #ffffff;
    position: relative;
    text-decoration: none;
}

.header-actions > a:hover {
    background-color: rgba(0, 184, 148, 0.1);
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Primary Menu Styles */
.navbar-nav {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.navbar-nav .nav-item {
    margin: 0 15px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
    font-size: 16px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item .nav-link {
    color: var(--primary-color);
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .current-menu-item .nav-link::after {
    width: 100%;
}

/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--grey-color);
    color: var(--primary-color);
}

/* Mobile Menu Toggle - Enhanced Clickability */
.toggle-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-size: 24px;
    color: #ffffff !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10003;
    position: relative;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 184, 148, 0.3);
    pointer-events: all !important;
    outline: none;
}

.toggle-menu:hover,
.toggle-menu:focus,
.toggle-menu:active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00b894 !important;
    outline: none;
    transform: scale(1.05);
}

.toggle-menu:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/**
 * Mobile Menu - Enhanced Responsive Design (Fixed Clickability)
 */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 85% !important;
    max-width: 320px !important;
    height: 100vh !important;
    background-color: #fff !important;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15) !important;
    z-index: 99999 !important;
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    overflow-y: auto !important;
    padding: 70px 25px 25px !important;
    -webkit-overflow-scrolling: touch !important;
    pointer-events: all !important;
    display: block !important;
    visibility: visible !important;
}

.mobile-menu.active {
    right: 0 !important;
    pointer-events: all !important;
    display: block !important;
    visibility: visible !important;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0,0,0,0.6) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
}

.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    display: block !important;
}

.close-menu {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 24px !important;
    padding: 8px !important;
    color: #333 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 100000 !important;
    pointer-events: all !important;
}

.close-menu:hover,
.close-menu:focus,
.close-menu:active {
    background-color: rgba(0,0,0,0.1) !important;
    color: #0B926A !important;
    outline: none !important;
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 90%;
        padding: 60px 20px 20px;
    }
}

@media (max-width: 360px) {
    .mobile-menu {
        width: 95%;
        padding: 55px 15px 15px;
    }
    
    .close-menu {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .mobile-nav a {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .mobile-contact-info {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .mobile-contact-item {
        font-size: 13px;
        gap: 10px;
    }
    
    .mobile-social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .header-container {
        padding: 0 5px;
    }
    
    .site-branding .custom-logo-link img {
        max-height: 30px;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .header-actions > a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .toggle-menu {
        font-size: 18px;
        padding: 4px;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: none;
        right: -100%;
    }
}

/* Smooth transitions and performance improvements */
.mobile-menu,
.mobile-menu-overlay,
.toggle-menu,
.header-actions a {
    will-change: transform, opacity;
}

/* Accessibility improvements */
.toggle-menu:focus-visible,
.close-menu:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Prevent horizontal scroll issues */
body.menu-open {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .toggle-menu {
        border: 1px solid currentColor;
    }
    
    .mobile-menu {
        border-left: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu-overlay,
    .toggle-menu,
    .header-actions a,
    .mobile-nav a {
        transition: none;
    }
}

/* Mobile Navigation - Enhanced Clickability */
.mobile-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    pointer-events: all !important;
}

.mobile-nav li {
    margin-bottom: 12px !important;
    width: 100% !important;
    pointer-events: all !important;
}

.mobile-nav a {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
    padding: 15px 5px !important;
    border-bottom: 1px solid #eee !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(11, 146, 106, 0.2) !important;
    touch-action: manipulation !important;
    pointer-events: all !important;
    z-index: 10001 !important;
}

.mobile-nav a:hover,
.mobile-nav a:focus,
.mobile-nav a:active {
    color: #0B926A;
    padding-left: 12px;
    background-color: rgba(11, 146, 106, 0.05);
    outline: none;
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0B926A;
    transition: width 0.3s ease;
}

.mobile-nav a:hover::after,
.mobile-nav a:focus::after {
    width: 30px;
}

/* Mobile Contact Information */
.mobile-contact-info {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin: 0 0 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: 'Century Gothic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.mobile-contact-item:last-child {
    margin-bottom: 0;
}

.mobile-contact-item i {
    font-size: 16px;
    color: white;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.mobile-contact-item span {
    color: white;
    opacity: 0.95;
}

/* Mobile Social Links */
.mobile-social-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 157, 113, 0.3);
}

.mobile-nav .dropdown-menu {
    display: none;
    padding-left: 15px;
    margin-top: 10px;
}

.mobile-nav .dropdown-item {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-nav .dropdown-item:last-child {
    border-bottom: none;
}

.mobile-nav .sub-menu {
    list-style: none;
    padding-left: 15px;
    margin: 10px 0 5px;
    display: none;
}

.mobile-nav .sub-menu li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav .sub-menu li:last-child {
    border-bottom: none;
}

.mobile-nav .dropdown-toggle {
    float: right;
    padding: 5px;
    font-size: 14px;
}

/* Responsive Header */
@media (max-width: 992px) {
    .header-container {
        justify-content: space-between;
        padding: 0 15px;
        align-items: center;
    }
    
    .desktop-navigation {
        display: none !important;
    }
    
    .site-branding {
        flex: 0 0 auto;
        margin-right: 10px;
    }
    
    .site-branding .custom-logo-link img {
        max-height: 45px;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
        order: 2;
    }
    
    .toggle-menu {
        order: 3;
        display: flex !important;
        margin-left: 10px;
        position: relative !important;
        z-index: 10004 !important;
        visibility: visible !important;
        pointer-events: all !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }
    
    .site-branding .custom-logo-link img {
        max-height: 40px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .header-actions > a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 8px;
    }
    
    .site-branding .custom-logo-link img {
        max-height: 35px;
    }
    
    .header-actions > a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .toggle-menu {
        font-size: 20px;
        padding: 6px;
    }
}

/**
 * Home Page Styles
 */
.hero-slider {
    margin-bottom: 60px;
    position: relative;
}

.slick-slider {
    position: relative;
}

.slide {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.slide-category {
    display: inline-block;
    background-color: rgba(13, 157, 113, 0.85); /* Logo green with transparency */
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(13, 157, 113, 0.3);
    backdrop-filter: blur(3px);
}

.slide-title {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    max-width: 90%;
}

.slide-price {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: transparent;
    padding: 0;
}

.slide-price del {
    opacity: 0.7;
    margin-right: 10px;
}

.slide-price ins {
    text-decoration: none;
    color: #fff;
    background-color: rgba(40, 167, 69, 0.8);
    padding: 2px 8px;
    border-radius: 12px;
}

.slide-buttons-container {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    margin-top: 80px; /* Position buttons very close to dot icons */
    opacity: 0.8;
}

.slide-buttons {
    display: inline-block;
}

/* Slide button styles */
.slide-buttons .btn {
    margin: 0 8px;
    padding: 12px 25px; /* Smaller padding */
    font-size: 15px; /* Smaller font size */
    font-weight: 700;
    background-color: #009967;
    box-shadow: 0 5px 15px rgba(0, 153, 103, 0.3);
    border-radius: 15px; /* Smaller radius */
    transition: all 0.3s ease;
    text-shadow: none;
    min-width: 120px; /* Smaller minimum width */
    letter-spacing: 0.5px;
    border-color: #009967;
    
}

.slide-buttons .btn:hover {
    transform: translateY(-4px);
    background-color: #008558; /* Updated hover color */
    box-shadow: 0 10px 25px rgba(0, 133, 88, 0.4);
    border-color: #008558;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(13, 157, 113, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 14px;
    font-family: var(--heading-font);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 157, 113, 0.4);
    background: var(--secondary-color);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background-color: rgba(13, 157, 113, 0.2);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
    font-size: 14px;
    font-family: var(--heading-font);
    letter-spacing: 1px;
}

.btn-secondary i {
    margin-right: 8px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 157, 113, 0.3);
}

/* Slider Controls */
.slick-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    display: flex !important;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots li button {
    display: block;
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
    background-color: #fff;
    transform: scale(1.2);
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

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

/* Responsive Slider */
@media (max-width: 768px) {
    .slide {
        height: 450px;
    }
    
    .slide-title {
        font-size: 40px;
    }
    
    .slide-price {
        font-size: 20px;
    }
    
    .slide-buttons {
        display: grid; /* Use grid for two columns */
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 8px; /* Gap between buttons */
        justify-items: center;
        max-width: 200px; /* Limit total width */
        margin: 0 auto; /* Center the button grid */
    }
    
    .slide-buttons .btn-primary,
    .slide-buttons .btn-secondary {
        width: 100%; /* Full width within grid cell */
        text-align: center;
        margin: 0;
    }
    
    .slide-buttons-container {
        margin-top: 90px; /* Position closer to dots on mobile */
    }
    
    .slide-buttons .btn {
        padding: 6px 4px; /* Smaller padding for mobile */
        font-size: 9px; /* Smaller font */
        min-width: auto; /* Remove min-width constraint */
        margin: 0; /* No margin needed with grid */
        white-space: nowrap; /* Prevent text wrapping */
    }
}

@media (max-width: 576px) {
    .slide {
        height: 350px;
    }
    
    .slide-title {
        font-size: 30px;
    }
    
    .slide-price {
        font-size: 18px;
    }
    
    .slide-buttons {
        display: grid; /* Use grid for two columns */
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 6px; /* Smaller gap for small screens */
        justify-items: center;
        max-width: 180px; /* Even smaller total width */
        margin: 0 auto;
    }
    
    .slide-buttons .btn {
        padding: 5px 3px; /* Even smaller for small mobile */
        font-size: 8px; /* Smaller font */
        min-width: auto; /* Remove min-width constraint */
        margin: 0; /* No margin needed with grid */
        width: 100%; /* Full width within grid cell */
        white-space: nowrap;
    }
}










/**
 * Product Styles
 */
.product-card {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card:hover .product-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.product-card:hover .product-title {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.product-card:hover .product-price {
    transform: translateY(-2px);
    font-weight: 600;
}

.product-card .product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-card .product-content {
    padding: 10px;
}

.product-card .product-title {
    font-size: 15px;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .product-price {
    font-size: 14px;
    margin-bottom: 8px;
    color: #0d9d71;
    font-weight: 600;
}

/* Custom price display for homepage product cards */
.product-card .product-price-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card .product-price-container .regular-price {
    color: #666;
    font-size: 12px;
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1.2;
}

.product-card .product-price-container .sale-price {
    color: #0d9d71;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.product-card .product-price-container .current-price {
    color: #0d9d71;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.product-card .product-actions {
    text-align: center;
    margin-top: 15px;
}

/**
 * Product Detail Page Styling
 */
.product-detail {
    padding: 60px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Product Gallery Styling */
.product-gallery {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-main-image {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 15px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.fullscreen-trigger {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
    z-index: 5;
    opacity: 0;
}

.product-main-image:hover .fullscreen-trigger {
    opacity: 1;
}

.fullscreen-trigger:hover {
    background-color: white;
    transform: scale(1.1);
}

.product-thumbnails-slider {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.product-thumbnails-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.thumbnail-slide {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.thumbnail-slide.active {
    border-color: var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.slider-prev, .slider-next {
    width: 40px;
    height: 40px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    transform: scale(1.2);
}

/* Trust Icons */
.product-trust-icons {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
    margin: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.trust-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFBD2A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #fff;
    font-size: 24px;
}

.icon-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.icon-text span:first-child {
    font-weight: 600;
}

.icon-text span:last-child {
    font-size: 14px;
    color: #666;
}

/* Product Description */
.product-description {
    margin: 30px 0;
}

.product-description h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.product-description h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Reviews Section */
.section-header {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.section-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d9d71 0%, #0d9d71 50%, #0a7d5a 50%, #0a7d5a 100%) !important; /* Two distinct colors - green and dark green */
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.reviews-summary {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 18px;
    height: fit-content;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars {
    margin: 10px 0;
    color: #FFBD2A;
    font-size: 18px;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 40px;
    color: #666;
}

.star-rating i {
    color: #FFBD2A;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 12px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: #FFBD2A;
}

.rating-count {
    width: 30px;
    text-align: right;
    color: #666;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 650px;
    overflow: hidden;
    position: relative;
}

.review-card {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.review-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.reviewer-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content-wrapper {
    flex: 1;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.reviewer-name {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-rating {
    color: #FFBD2A;
    margin-bottom: 5px;
    font-size: 13px;
}

.review-content {
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

.reviews-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
}

.reviews-pagination-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.reviews-pagination-btn:hover,
.reviews-pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.reviews-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}

.reviews-nav-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.reviews-nav-btn:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
    color: var(--primary-color);
}

.reviews-nav-btn i {
    font-size: 12px;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 18px;
    color: #999;
}

.no-reviews i {
    font-size: 36px;
    margin-bottom: 10px;
}

.review-form-container {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 18px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

.form-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

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

.review-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-selector {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    margin-bottom: 5px;
    gap: 8px;
}

.rating-selector input {
    display: none;
}

.rating-selector label {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-selector input:checked ~ label,
.rating-selector label:hover,
.rating-selector label:hover ~ label {
    color: #FFBD2A;
}

.form-textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    resize: vertical;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 157, 113, 0.15);
}

.review-form .btn {
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    width: auto;
    align-self: center;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .review-form-container {
        padding: 25px 20px;
    }
    
    .rating-selector {
        justify-content: center;
    }
    
    .form-label {
        font-size: 15px;
    }
    
    .rating-selector label {
        font-size: 24px;
    }
    
    .form-textarea {
        min-height: 120px;
    }
}

.login-to-review {
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-radius: 18px;
    margin-top: 10px;
}

.login-to-review i {
    font-size: 24px;
    color: #999;
    margin-bottom: 10px;
}

.login-to-review a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.login-to-review a:hover {
    text-decoration: underline;
}

/* Related Products */
.related-products {
    margin-top: 0px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

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

.product-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 157, 113, 0.1) 0%, rgba(13, 157, 113, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-card:hover .product-image::before {
    opacity: 1;
}

/* Hover effects for background-image based product cards (Featured & Popular Watches) */
.featured-products .product-image,
.popular-products .product-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.featured-products .product-image::after,
.popular-products .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 157, 113, 0.1) 0%, rgba(13, 157, 113, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.featured-products .product-card:hover .product-image,
.popular-products .product-card:hover .product-image {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.featured-products .product-card:hover .product-image::after,
.popular-products .product-card:hover .product-image::after {
    opacity: 1;
}

.product-card:hover .product-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.product-card:hover .product-title {
    color: var(--primary-color);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.product-card:hover .product-price {
    transform: translateY(-2px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.sale {
    background-color: #ff6363;
    color: white;
}

.product-content {
    padding: 15px;
    background-color: white;
    transition: all 0.3s ease;
}

.product-title {
    font-size: 16px;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.product-actions {
    padding: 0 15px 15px;
    background-color: white;
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #5a6268;
    color: white;
    border-color: #5a6268;
}

/* Responsive styles */
@media (max-width: 992px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .product-trust-icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

@media (max-width: 576px) {
    .product-trust-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-main-image {
        height: 300px;
    }

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

    .review-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Make sure trust icons stay in a row on mobile */
@media (max-width: 480px) {
    .product-trust-icons {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 15px;
    }

    .trust-icon {
        flex: 0 0 auto;
        margin-right: 15px;
        min-width: 100px;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/**
 * Dashboard Styles
 */
.user-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    margin-bottom: 15px;
}

.user-avatar img {
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
}

.user-name {
    margin: 0 0 5px;
}

.user-email {
    margin: 0;
    color: #777;
}

.dashboard-menu a i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

/* Orders Table Styling */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.orders-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.orders-table tbody tr:hover {
    background-color: #f8f9fa;
}

.orders-table .order-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #f8f9fa;
}

.orders-table .order-status-processing {
    background-color: #fff8e1;
    color: #ff8f00;
}

.orders-table .order-status-completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.orders-table .order-status-on-hold {
    background-color: #e3f2fd;
    color: #1565c0;
}

.orders-table .order-status-cancelled {
    background-color: #ffebee;
    color: #c62828;
}

.orders-table .order-status-failed {
    background-color: #ffebee;
    color: #c62828;
}

.orders-table .order-status-pending {
    background-color: #f3e5f5;
    color: #6a1b9a;
}

.orders-table .order-status-refunded {
    background-color: #e8eaf6;
    color: #283593;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    margin-right: 5px;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

.order-items-toggle {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0 5px;
    margin-left: 5px;
}

.order-items-toggle:hover {
    color: var(--secondary-color);
}

.order-items-row td {
    padding: 0;
}

.order-items-details {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.order-items-details h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.order-items-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.order-items-table th,
.order-items-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.order-items-table th {
    background-color: #f1f1f1;
    font-weight: 600;
}

.order-items-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.order-items-table tbody tr:hover {
    background-color: #f0f0f0;
}

.order-items-table tfoot th,
.order-items-table tfoot td {
    font-weight: 600;
    background-color: #f9f9f9;
}

.order-note {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.order-note h5 {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.order-address {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.order-address h5 {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.order-address address {
    margin-bottom: 0;
    font-style: normal;
    line-height: 1.6;
}

.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: inline-flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    margin: 0 3px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination .page-numbers.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-numbers:hover:not(.current) {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

@media (max-width: 768px) {
    .orders-table th:nth-child(3),
    .orders-table td:nth-child(3) {
        display: none;
    }
    
    .orders-table th:nth-child(4),
    .orders-table td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 576px) {
    .orders-table th:nth-child(2),
    .orders-table td:nth-child(2) {
        display: none;
    }
    
    .order-address .row {
        flex-direction: column;
}

    .order-address .col-md-6:first-child {
        margin-bottom: 20px;
    }
}

/* No orders message */
.no-orders {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 30px;
}

.no-orders p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.no-orders .btn-primary {
    display: inline-block;
}

/**
 * Cart & Checkout Styles
 */
.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: #D1FADF;
    color: #0B6B35;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

.cart-notification.error {
    background-color: #FFE0E0;
    color: #A03030;
}

.cart-empty {
    text-align: center;
    padding: 60px 0;
}

.cart-empty i {
    color: #ddd;
    margin-bottom: 20px;
}

/**
 * Authentication Styles
 */
.password-strength {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 600;
}

.password-strength.weak {
    color: #A03030;
}

.password-strength.medium {
    color: #C6932C;
}

.password-strength.strong {
    color: #0B6B35;
}

.success-message {
    background-color: #D1FADF;
    color: #0B6B35;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.error-message {
    background-color: #FFE0E0;
    color: #A03030;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/**
 * Modal Styles
 */
.order-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background-color: var(--light-color);
    width: 90%;
    max-width: 800px;
    border-radius: 18px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/**
 * Responsive Styles
 */
@media (max-width: 992px) {
    .product-gallery {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {

    
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
        display: none;
    }
}

@media (max-width: 576px) {
    .cart-table th:nth-child(4),
    .cart-table td:nth-child(4) {
        display: none;
    }
    
    .cart-product-title {
        font-size: 14px;
    }
    
    .quantity-selector {
        max-width: 80px;
    }
    
    .order-status {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/**
 * Slider Additional Styles
 */
.slide-category {
    display: inline-block;
    background-color: rgba(13, 157, 113, 0.85); /* Logo green with transparency */
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(13, 157, 113, 0.3);
    backdrop-filter: blur(3px);
}

.slide-price {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.5s ease 0.3s forwards;
    opacity: 0;
}

.slide-price .price {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.slide-price .regular-price {
    font-size: 20px;
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 10px;
    color: #fff;
}

.slide-price .sale-price {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-right: 15px;
}

.slide-price .discount {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
}

.slide-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background-color: rgba(13, 157, 113, 0.2);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
    font-size: 14px;
    font-family: var(--heading-font);
    letter-spacing: 1px;
}

.btn-secondary i {
    margin-right: 8px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 157, 113, 0.3);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make slider responsive for mobile */
@media (max-width: 768px) {
    .slide-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slide-buttons .btn-primary,
    .slide-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .slide-category {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .slide-price .sale-price,
    .slide-price .price {
        font-size: 24px;
    }
    
    .slide-price .regular-price {
        font-size: 16px;
    }
    
    .slide-price .discount {
        font-size: 12px;
    }
}

/* Desktop Menu Styles */
.desktop-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.desktop-navigation .main-navigation {
    width: 100%;
}

/* Important: Make desktop menu visible */
.main-navigation ul {
    opacity: 1 !important;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Block any slick slider from appearing on the left side of mobile view */
@media (max-width: 768px) {
    .slick-slider {
        direction: ltr !important; /* Force left-to-right even in RTL languages */
    }
    
    /* Force sliders to stay within their containers */
    .slick-list {
        overflow: hidden !important;
    }
    
    /* Fix for any potential overflow */
    .slick-track {
        transform: translate3d(0, 0, 0) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Slider navigation improvements */
    .slick-prev, .slick-next {
        background-color: rgba(255, 255, 255, 0.4) !important;
        border: 2px solid rgba(255, 255, 255, 0.6) !important;
        width: 35px !important;
        height: 35px !important;
        border-radius: 50% !important;
        z-index: 10 !important;
        backdrop-filter: blur(8px) !important;
    }
    
    .slick-prev:hover, .slick-next:hover {
        background-color: rgba(255, 255, 255, 0.7) !important;
        border-color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .slick-prev:before, .slick-next:before {
        opacity: 1 !important;
    }
}

/**
 * Hero Slider Improvements - Clean Title & Extra Large Buttons
 */
.hero-slider .slide {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 475px; /* Adjusted for 2.53:1 ratio based on typical 1200px width */
    display: flex;
    align-items: center; /* Center content vertically for better title visibility */
    text-align: center;
    padding-bottom: 0;
}

/* Very light gradient overlay for better title visibility */
.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0,0,0,0.15) 0%, 
                rgba(0,0,0,0.05) 35%, 
                rgba(0,0,0,0.01) 50%, 
                rgba(0,0,0,0.05) 65%, 
                rgba(0,0,0,0.15) 100%);
    z-index: 1;
    opacity: 0.4; /* Very reduced opacity */
}

/* Content layout adjustments */
.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: transparent; /* Ensure no background color */
}

/* Category styling with transparent background */
.slide-category {
    display: inline-block;
    background-color: rgba(58, 123, 213, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
}

/* Clean title styling - absolutely no background box */
.slide-title {
    font-size: 58px; /* Even larger size */
    color: white;
    margin-bottom: 20px; /* Increased spacing */
    font-weight: 800; /* Bolder font */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Softer shadow */
    line-height: 1.1;
    max-width: 90%;
    background: transparent; /* Ensure no background */
    padding: 0; /* Remove any padding that might create a background effect */
    border: none; /* Remove any border */
    box-shadow: none; /* Remove any box shadow */
}

/* Price styling with transparent background */
.slide-price {
    font-size: 26px;
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    background: transparent;
    padding: 0;
}

/* Move buttons further below content and make them much larger */
.slide-buttons-container {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    margin-top: 40px; /* More space between content and buttons */
    background: transparent; /* Ensure no background */
}

.slide-buttons {
    display: inline-block;
    background: transparent; /* Ensure no background */
}

/* Extra large buttons */
.slide-buttons .btn {
    margin: 0 15px;
    padding: 18px 40px; /* Much larger padding */
    font-size: 20px; /* Larger font size */
    font-weight: 700; /* Bolder text */
    background-color: #009967; /* Updated to match requested color */
    box-shadow: 0 5px 15px rgba(0, 153, 103, 0.3);
    border-radius: 18px; /* Larger radius */
    transition: all 0.3s ease;
    text-shadow: none;
    min-width: 180px; /* Larger minimum width */
    letter-spacing: 0.5px;
    border-color: #009967;
}

.slide-buttons .btn:hover {
    transform: translateY(-4px);
    background-color: #008558; /* Updated hover color */
    box-shadow: 0 10px 25px rgba(0, 133, 88, 0.4);
    border-color: #008558;
}

/**
 * Animation Classes
 */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

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

.fadeInUp {
    animation-name: fadeInUp;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider .slide {
        height: 350px; /* Maintain ratio for smaller screens */
    }
    
    .slide-title {
        font-size: 40px;
    }
    
    .slide-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 110px;
    }
}

@media (max-width: 480px) {
    .hero-slider .slide {
        height: 250px; /* Maintain ratio for mobile screens */
    }
    
    .slide-title {
        font-size: 30px;
    }
    
    .slide-price {
        font-size: 18px;
    }
    
    .slide-category {
        font-size: 12px;
    }
    
    .slide-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 110px;
        margin: 0 5px;
    }
}

/* Slick slider navigation improvements */
.slick-prev, .slick-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slick-prev:hover, .slick-next:hover {
    background-color: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slick-prev:before, .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
    opacity: 1;
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

/* Update slider dots color */
.slick-dots li button:before {
    color: var(--primary-color);
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
    opacity: 1;
}

/* Footer styling - updated to match logo */
.site-footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-menu li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-column p {
    margin-bottom: 15px;
}

.footer-column i {
    margin-right: 10px;
    color: var(--primary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Accent elements with logo color - COMPLETELY DISABLED for homepage sections */
.section-title:after,
.section-title::after,
.section-title:before,
.section-title::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    background: none !important;
    border: none !important;
}

.product-card .badge {
    background-color: var(--primary-color);
}

.woocommerce span.onsale {
    background-color: var(--primary-color);
}

/* Price styling */
.price, .woocommerce div.product p.price, 
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
    color: var(--primary-color);
    font-weight: 700;
}

/* Product Detail Page Price Styling */
.product-detail .product-price {
    margin-bottom: 20px;
}

.product-detail .product-price del {
    font-size: 16px;
    color: #333;
    text-decoration: line-through;
    font-weight: 500;
    display: block;
    margin-bottom: 3px;
}

.product-detail .product-price ins {
    font-size: 22px;
    color: #0d9d71;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

/* Pagination styling */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Focus states for form elements */
input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 157, 113, 0.25) !important;
}

/* Category Card Styling - Remove all shadows */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: auto;
    box-shadow: none !important;
    transition: none;
}

.category-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.category-card .category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-card .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
    z-index: 2;
}

.category-card .category-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.category-card .category-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.section-title p {
    font-size: 16px;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

.section-title:after,
.section-title::after,
.section-title:before,
.section-title::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    background: none !important;
    border: none !important;
}

/* Grid Layouts */
.products-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1200px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for categories on mobile */
        gap: 20px; /* Reduce gap for better fit */
    }
}

/* Hero slider button styling */
.slide-buttons .btn-primary,
.slide-buttons .btn-secondary {
    margin: 0 8px;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 700;
    min-width: 120px;
    letter-spacing: 0.5px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 153, 103, 0.3);
}

.slide-buttons .btn-primary:hover,
.slide-buttons .btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 133, 88, 0.4);
}

.slide-buttons .btn-primary {
    background-color: #009967;
    border-color: #009967;
}

.slide-buttons .btn-primary:hover {
    background-color: #008558;
    border-color: #008558;
}

.slide-buttons .btn-secondary {
    background-color: rgba(0, 153, 103, 0.2);
    border: 2px solid #009967;
}

.slide-buttons .btn-secondary:hover {
    background-color: #009967;
    border-color: #009967;
}

@media (max-width: 768px) {
    .slide-buttons .btn-primary,
    .slide-buttons .btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        margin: 0 5px 10px;
        min-width: 140px;
    }
}

/**
 * Login/Register Page Styles
 */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: var(--dark-color);
}

.auth-tab.active {
    color: var(--primary-color);
}

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

.auth-tab.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

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

.auth-form {
    margin-top: 30px;
}

.form-row {
    display: flex;
    margin: 0 -10px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group.half {
    flex: 1;
    padding: 0 10px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--body-font);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(13, 157, 113, 0.2);
    outline: none;
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    font-size: 16px;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    position: relative;
    padding-left: 30px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.checkbox-label:hover input ~ .checkmark {
    background-color: #eee;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: var(--primary-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    margin-top: 15px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 157, 113, 0.3);
}

.form-submit:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-footer {
    margin-top: 25px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.switch-tab {
    color: var(--primary-color);
    font-weight: 600;
}

.switch-tab:hover {
    text-decoration: underline;
}

.phone-input {
    display: flex;
}

.country-code {
    width: 120px;
    margin-right: 10px;
}

.password-strength {
    margin-top: 8px;
    height: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #ff4d4f;
    width: 30%;
}

.password-strength.medium {
    background-color: #faad14;
    width: 70%;
}

.password-strength.strong {
    background-color: #52c41a;
    width: 100%;
}

.password-requirements {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #f9f9f9;
    font-size: 12px;
}

.password-requirements p {
    margin: 0 0 10px;
    font-weight: 600;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.requirement {
    margin: 5px 0;
    color: #666;
}

.requirement.valid {
    color: #52c41a;
}

.requirement.valid::before {
    content: "✓";
    margin-right: 5px;
    color: #52c41a;
}

.requirement.invalid {
    color: #ff4d4f;
}

.requirement.invalid::before {
    content: "✗";
    margin-right: 5px;
    color: #ff4d4f;
}

#password-match {
    margin-top: 8px;
    font-size: 14px;
}

#password-match.match {
    color: #52c41a;
}

#password-match.nomatch {
    color: #ff4d4f;
}

.error-message {
    padding: 12px;
    margin-bottom: 20px;
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 12px;
    color: #ff4d4f;
}

.success-message {
    padding: 12px;
    margin-bottom: 20px;
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 12px;
    color: #52c41a;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 30px 20px;
        margin: 30px auto;
    }
    
    .form-row {
        display: block;
    }
    
    .form-group.half {
        padding: 0;
    }
} 

/* Product Page Responsive Fixes */
.product-detail .container {
    width: 95%;
    max-width: 95%;
    margin: 0 auto;
}

.product-info {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-buttons-container .btn {
    flex: 1 1 0;
    min-width: 150px; /* Set a minimum width */
    padding: 10px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 769px) {
    .product-buttons-container .btn {
        max-width: calc(33.333% - 7px); /* Ensure buttons take equal width with gap considered */
    }
}

@media (max-width: 768px) {
    .product-buttons-container {
        flex-direction: column;
    }
    
    .product-buttons-container .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .product-buttons-container .btn:last-child {
        margin-bottom: 0;
    }
}

/* Fix for product gallery on mobile */
@media (max-width: 768px) {
    .product-main-image {
        height: 300px;
    }
    
    .product-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .product-gallery {
        margin-bottom: 30px;
    }
    
    .product-thumbnails-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .thumbnail-slide {
        flex: 0 0 70px;
        height: 70px;
    }

    .fullscreen-trigger {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .product-main-image {
        height: 250px;
    }
    
    .product-detail-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .product-trust-icons {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .trust-icon {
        flex: 0 0 auto;
        min-width: 80px;
        margin-right: 10px;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .icon-text span {
        font-size: 12px;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Fix for mobile product elements */
@media (max-width: 992px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-form-container {
        padding: 20px 15px;
    }
    
    .rating-number {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .reviewer-info {
        text-align: center;
    }
    
    .product-card {
        max-width: 280px;
        margin: 0 auto 15px;
    }
}

/* Mobile Button Fixes */
@media (max-width: 768px) {
    .product-buttons-container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        grid-template-rows: auto auto; /* Two rows */
        gap: 8px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    
    .product-buttons-container .btn {
        width: 100%;
        margin: 0;
        padding: 15px 4px; /* Keep button height, reduce horizontal padding */
        font-size: 10px !important; /* More readable font size for mobile */
        min-width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box;
        white-space: nowrap; /* Prevent text wrapping */
        overflow: hidden;
        text-overflow: ellipsis;
        height: 50px; /* Maintain button height */
    }
    
    /* Make WhatsApp button span full width on bottom row */
    .product-buttons-container .btn.btn-whatsapp {
        grid-column: 1 / -1; /* Span both columns */
        margin-top: 4px;
    }
    
    .quantity-selector {
        max-width: 100%;
        margin-bottom: 15px;
        width: 100%;
    }
    
    /* Ensure container has no extra padding causing overflow */
    .product-info {
        padding-left: 0;
        padding-right: 0;
    }
    
    .add-to-cart-form {
        width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* More readable icons for mobile while maintaining button size */
    .product-buttons-container .btn i {
        font-size: 10px !important; /* More readable icon size for mobile */
        margin-right: 4px;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .product-buttons-container {
        margin-top: 15px;
        gap: 6px; /* Smaller gap for very small screens */
    }
    
    .product-buttons-container .btn {
        padding: 15px 2px; /* Maintain button height, reduce horizontal padding */
        font-size: 9px !important; /* Readable font for very small screens */
        line-height: 1.2;
        height: 50px; /* Maintain button height */
    }
    
    /* Readable icons for very small screens */
    .product-buttons-container .btn i {
        font-size: 9px !important; /* Readable icon size */
        margin-right: 3px;
    }
    
    /* Ensure container is properly contained */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .product-detail-container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Button styling - Add to Cart button in dark gray to match continue shopping */
.product-buttons-container .btn.btn-primary {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.product-buttons-container .btn.btn-primary:hover {
    background-color: #5a6268;
    color: white;
    border-color: #5a6268;
}

.product-buttons-container .btn.btn-success {
    background-color: #009967;
    border-color: #009967;
}

.product-buttons-container .btn.btn-success:hover {
    background-color: #008558;
    border-color: #008558;
}

.product-buttons-container .btn.btn-whatsapp {
    background-color: #009967;
    border-color: #009967;
}

.product-buttons-container .btn.btn-whatsapp:hover {
    background-color: #008558;
    border-color: #008558;
}

.product-buttons-container .btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

/* Trust icon styling */
.product-trust-icons {
    margin-top: 25px;
}

.trust-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Mobile-specific button fixes */
@media (max-width: 480px) {
    /* Fix for button overflow */
    .product-buttons-container {
        margin-left: -5px;
        margin-right: -5px;
        width: calc(100% + 10px);
    }
    
    /* Fix for buttons */
    .product-buttons-container .btn {
        border-radius: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 9px !important; /* Readable font size for 480px screens */
        height: 50px; /* Maintain button height */
        padding: 15px 2px; /* Maintain height, reduce horizontal padding */
    }
    
    /* Readable icons for 480px screens */
    .product-buttons-container .btn i {
        font-size: 9px !important; /* Readable icon size */
        margin-right: 3px;
    }
    
    /* Quantity control fix */
    .quantity-selector {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .quantity-input {
        flex: 1;
        width: 100%;
        text-align: center;
    }
    
    /* Container fixes */
    .product-detail .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .product-info {
        padding: 0;
    }
    
    /* Ensure no horizontal scroll on mobile */
    body {
        overflow-x: hidden;
    }
    
    .product-detail-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}

/* Reset any conflicting styles */
.product-buttons-container .btn {
    white-space: normal;
    text-align: center;
}

.product-buttons-container {
    box-sizing: border-box;
}

/* Fix width of product buttons and trust icons section */
.product-info {
    width: 95%;
    max-width: 95%;
    margin: 0 auto;
}

.add-to-cart-form {
    width: 100%;
    max-width: 100%;
}

.product-buttons-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.product-trust-icons {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: space-between;
}

.quantity-selector {
    width: 120px;
    max-width: 120px;
}

/* Container consistency fix */
.product-detail .container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop-specific width constraints to prevent full-width sections */
@media (min-width: 1024px) {
    .product-description-section,
    .product-reviews {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Ensure main product detail has proper container */
    .product-detail {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 20px;
    }
}

/* Fix the main container width */
@media (max-width: 768px) {
    .product-detail .container,
    .product-info {
        width: 95%;
        max-width: 95%;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-buttons-container {
        width: 100%;
        max-width: 100%;
    }
}

/* Product description section width */
.product-description {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Fix for highlighted section width */
.add-to-cart-form,
.product-buttons-container,
.product-trust-icons {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.quantity-selector {
    max-width: 120px;
    width: 120px;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-selector .quantity-btn {
    width: 35px;
    height: 40px;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    transition: background-color 0.2s ease;
}

.quantity-selector .quantity-btn:hover {
    background-color: #e9ecef;
}

.quantity-selector .quantity-input {
    flex: 1;
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
    background: white;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Ensure consistent width across sections */
.product-detail-container,
.product-info,
.product-description {
    width: 95%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* Additional container fixes */
@media (max-width: 768px) {
    .product-detail .container,
    .product-buttons-container,
    .add-to-cart-form,
    .product-trust-icons,
    .product-detail-container,
    .product-info {
        width: 95%;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Fix for the purple border area in the screenshot */
.add-to-cart-form {
    background-color: transparent;
    border-radius: 18px;
    padding: 15px;
    width: 95%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Additional width fixes for highlighted section */
.product-detail {
    overflow-x: hidden;
}

/* Ensure proper width on all devices */
@media (min-width: 320px) {
    .add-to-cart-form,
    .product-buttons-container,
    .product-trust-icons,
    .quantity-selector,
    .product-info,
    .product-description,
    .product-detail-container {
        width: 95%;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    
    /* Reset any negative margins or overrides */
    .product-buttons-container {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 95% !important;
    }
    
    /* Reset mobile fixes that might affect width */
    @media (max-width: 480px) {
        .product-buttons-container {
            margin-left: auto !important;
            margin-right: auto !important;
            width: 95% !important;
        }
        
        .product-detail .container {
            padding-left: 0;
            padding-right: 0;
            width: 95%;
        }
    }
    
    /* Ensure all buttons stay within container */
    .product-buttons-container .btn {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Consistent width for all product sections */
.product-gallery,
.product-detail-container,
.product-info,
.product-description,
.product-meta-info,
.product-trust-icons,
.add-to-cart-form,
.product-buttons-container,
.related-products {
    width: 95% !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Product Reviews section with proper desktop constraint */
.product-reviews {
    width: 95% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Increase button height */
.product-buttons-container .btn {
    padding: 15px 20px;
    height: 50px;
    font-size: 13px; /* Slightly smaller for better mobile compatibility */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .product-main-image {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-gallery {
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .product-thumbnails-slider {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-buttons-container .btn {
        height: 50px; /* Consistent button height on mobile */
        font-size: 10px !important; /* More readable font size for mobile */
    }
    
    /* More readable icons for mobile buttons */
    .product-buttons-container .btn i {
        font-size: 10px !important; /* More readable icon size */
        margin-right: 4px;
    }
    
    /* Ensure product info section has the same width */
    .product-meta,
    .product-price {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Ensure the product detail container properly centers its children */
.product-detail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 769px) {
    .product-detail-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
}

/* Product Description Section */
.product-description-section {
    width: 95%;
    max-width: 1200px; /* Add max-width constraint for desktop */
    margin: 40px auto;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
}

.product-description-section .section-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.product-description-section .section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.product-description-content {
    color: #555;
    line-height: 1.8;
}

.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4,
.product-description-content h5,
.product-description-content h6 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.product-description-content p {
    margin-bottom: 15px;
}

.product-description-content ul,
.product-description-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-description-content li {
    margin-bottom: 8px;
}

.product-description-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.product-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-description-content table th,
.product-description-content table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.product-description-content table th {
    background-color: #f8f8f8;
}

/* Fix button text alignment */
.product-buttons-container .btn {
    padding: 15px 20px;
    height: 50px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    text-align: center;
}

.product-buttons-container .btn i {
    margin-right: 8px;
    font-size: 16px;
    flex-shrink: 0;
}

.product-buttons-container .btn span {
    display: inline-block;
}

/* Required field indicator */
.required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Rating selector styling */
.rating-selector {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-selector input[type="radio"] {
    display: none;
}

.rating-selector label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    margin-right: 5px;
    transition: color 0.3s ease;
}

.rating-selector label:hover,
.rating-selector label:hover ~ label,
.rating-selector input[type="radio"]:checked ~ label {
    color: #f8d448;
}

.rating-selector label:hover i,
.rating-selector label:hover ~ label i,
.rating-selector input[type="radio"]:checked ~ label i {
    content: "\f005";
    font-weight: 900;
}

/* Login Popup Styles - Improved */
.login-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-popup.active {
    opacity: 1;
    visibility: visible;
}

.login-popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 18px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.login-popup.active .login-popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #333;
}

.login-popup h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.login-message {
    margin-bottom: 25px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.login-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0d9d71;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #0a7d5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 157, 113, 0.3);
}

/* Mobile Product Grid Layout - 2 columns, 3 rows */
@media (max-width: 768px) {
    /* Related products grid */
    .related-products .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    
    .related-products .product-card {
        margin-bottom: 15px;
        width: 100%;
    }
    
    /* Homepage product grids */
    .featured-products .products-grid,
    .popular-products .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    
    .featured-products .product-card,
    .popular-products .product-card {
        margin-bottom: 15px;
        width: 100%;
    }
    
    /* Product card styling for mobile */
    .product-card .product-image {
        height: 150px;
    }
    
    .product-card .product-title {
        font-size: 14px;
        margin-bottom: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-card .product-price {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .product-card .product-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Ensure product grids display properly on mobile */
@media (max-width: 768px) {
    /* Override any existing flex layouts */
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 15px !important;
        width: 100% !important;
    }
    
    /* Fix for product cards */
    .product-card {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure images are responsive */
    .product-card .product-image {
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    /* Limit product grid to 6 items (3 rows x 2 columns) */
    .featured-products .products-grid .product-card:nth-child(n+7),
    .popular-products .products-grid .product-card:nth-child(n+7),
    .related-products .products-grid .product-card:nth-child(n+7) {
        display: none !important;
    }
    
    /* Container width for product sections */
    .featured-products .container,
    .popular-products .container,
    .related-products .container {
        width: 95% !important;
        max-width: 95% !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.product-card .product-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
    height: auto;
    min-height: 30px;
    width: 100%;
    text-align: center;
    display: inline-block;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .product-card .product-content {
        padding: 8px;
    }
    
    .product-card .product-title {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .product-card .product-price {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .product-card .product-actions .btn {
        padding: 4px 8px;
        font-size: 11px;
        min-height: 26px;
    }
    
    .products-grid {
        grid-gap: 10px !important;
    }
} 

/* Cancel Order Popup */
.cancel-order-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cancel-order-popup.active {
    display: flex;
}

.cancel-order-popup-content {
    background-color: white;
    border-radius: 18px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.cancel-order-popup h3 {
    color: var(--dark-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}

.cancel-order-message {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.cancel-order-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--dark-color);
}

.cancel-order-loading {
    margin-top: 20px;
    text-align: center;
}

.spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

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

.success-message {
    background-color: #d4edda;
    color: #155724;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* View Order Modal */
.view-order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.view-order-modal.active {
    display: flex;
}

.view-order-modal-content {
    background-color: white;
    border-radius: 18px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out forwards;
}

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

.order-details-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
}

.order-details-header h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 22px;
}

.order-date-status {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.order-date-status p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

.order-details-content {
    padding: 25px;
}

.modal-loading {
    text-align: center;
    padding: 30px 0;
}

.modal-loading .spinner {
    margin-bottom: 15px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    color: var(--dark-color);
}

.order-items-section,
.order-totals-section,
.order-addresses-section,
.order-notes-section {
    margin-bottom: 30px;
}

.order-items-section h4,
.order-totals-section h4,
.order-addresses-section h4,
.order-notes-section h4 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.addresses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.billing-address,
.shipping-address {
    flex: 1;
    min-width: 250px;
}

.billing-address h5,
.shipping-address h5 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.modal-actions {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Order details tables */
.modal-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

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

.modal-order-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.modal-order-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .addresses-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .billing-address,
    .shipping-address {
        width: 100%;
    }
    
    .order-date-status {
        flex-direction: column;
        gap: 5px;
    }
    
    .view-order-modal-content {
        width: 95%;
        max-height: 80vh;
    }
}

/* View Order Button */
.view-order-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* 
===================
Search Page Styles
===================
*/

/* Hero Section Styles */
.page-hero {
    background-image: linear-gradient(135deg, rgba(13, 157, 113, 0.8) 0%, rgba(8, 102, 74, 0.8) 100%), url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
    background-size: cover;
    background-position: center;
}

.page-title {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.page-subtitle {
    color: #fff;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    padding-bottom: 20px;
}

.page-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #fff;
}

/* Search page container styling */
.search-page .search-container,
.bazar-search-page .search-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.search-page {
    padding: 0 0 80px;
}

.search-form {
    margin-bottom: 40px;
}

.search-input-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

/* Enhanced search results grid */
.search-results {
    display: block;
    width: 100%;
    clear: both;
}

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

/* Ensure search items appear properly */
.search-item {
    background-color: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    width: 100%;
    clear: both;
    display: block;
}

/* Add thumbnail styling to search results */
.search-item .entry-thumbnail {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.search-item .entry-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.search-item:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.search-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.search-item .entry-title {
    font-size: 20px;
    margin: 0 0 15px;
}

.search-item .entry-title a {
    color: var(--dark-color);
}

.search-item .entry-title a:hover {
    color: var(--primary-color);
}

.search-item .entry-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-item .entry-meta span {
    display: inline-flex;
    align-items: center;
}

.search-item .entry-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.search-item .entry-summary {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.search-item .read-more {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-item .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.search-item .read-more:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 157, 113, 0.3);
}

.search-item .read-more:hover i {
    transform: translateX(3px);
}

.no-results {
    background-color: #fff;
    border-radius: 18px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    grid-column: 1 / -1;
}

.no-results h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.no-results p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* Pagination Styles */
.custom-pagination {
    margin-top: 50px;
    text-align: center;
    width: 100%;
    clear: both;
    display: block;
}

.custom-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #f8f8f8;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: #fff;
}

.custom-pagination .page-numbers:hover:not(.current) {
    background-color: #e9e9e9;
}

.custom-pagination .prev,
.custom-pagination .next {
    font-size: 14px;
}

/* Search page now uses archive styles - no special CSS needed */

/* Fix alignment of grid items and search items */
.search-results {
    position: relative;
}

.search-results .search-item,
.search-results .product-card {
    margin-bottom: 30px;
}

.search-section-title {
    font-size: 24px;
    margin: 30px 0;
    color: var(--dark-color);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    clear: both;
    width: 100%;
    display: block;
}

.search-section-title:first-child {
    margin-top: 0;
}

.search-regular-results {
    margin-top: 40px;
    display: block;
    width: 100%;
    clear: both;
}

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

@media (max-width: 768px) {
    .page-hero {
        padding: 50px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .search-page {
        padding: 0 0 50px;
    }
    
    /* Adjust body padding for fixed header on mobile */
    body {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 24px;
    }

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

    .search-input-group {
        flex-direction: column;
    }

    .search-input {
        border-right: 1px solid #ddd;
        border-radius: 4px 4px 0 0;
    }

    .search-btn {
        border-radius: 0 0 4px 4px;
        padding: 12px;
    }
    
    /* Ensure single column for all items */
    .search-item {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* 
===================
Search Dropdown Styles
===================
*/

/* Header search container styling */
.header-actions .search-container {
    position: relative;
    display: inline-block;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    z-index:1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.25s ease;
    padding: 12px;
    margin-top: 8px;
}

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

.search-dropdown .search-input-group {
    display: flex;
    position: relative;
    width: 100%;
}

.search-dropdown .search-input {
    flex: 1;
    height: 48px;
    font-size: 16px;
    padding: 0 16px;
    background-color: #f9f9f9;
    border: 2px solid #e8e8e8;
    border-radius: 6px 0 0 6px;
    outline: none;
    transition: all 0.2s ease;
    font-weight: 400;
}

.search-dropdown .search-input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
}

.search-dropdown .search-btn {
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: #0d9d71;
    border: 2px solid #0d9d71;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    font-weight: 500;
}

.search-dropdown .search-btn:hover {
    background-color: var(--accent-color);
}

/* Arrow pointing up to search icon */
.search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.search-dropdown::after {
    content: '';
    position: absolute;
    top: -9px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e0e0e0;
}

/* Tablet search dropdown styling */
@media (max-width: 1024px) and (min-width: 769px) {
    .search-dropdown {
        width: 300px;
        right: -5px;
        padding: 16px;
    }
    
    .search-dropdown .search-input {
        height: 50px;
        font-size: 15px;
    }
    
    .search-dropdown .search-btn {
        height: 50px;
        width: 50px;
        font-size: 16px;
    }
}

/* Mobile search dropdown styling */
@media (max-width: 768px) {
    .search-dropdown {
        position: fixed;
        top: auto;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        margin-top: 65px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        background-color: #fff;
        border: 1px solid #ddd;
    }
    
    .search-dropdown .search-input-group {
        width: 100%;
    }
    
    .search-dropdown .search-input {
        height: 52px;
        font-size: 16px;
        padding: 0 18px;
        background-color: #f5f5f5;
        border: 2px solid #e0e0e0;
        border-radius: 8px 0 0 8px;
        font-weight: 400;
    }
    
    .search-dropdown .search-input:focus {
        border-color: #0d9d71;
        background-color: #fff;
        box-shadow: 0 0 0 3px rgba(13, 157, 113, 0.1);
    }
    
    .search-dropdown .search-btn {
        height: 52px;
        width: 60px;
        font-size: 18px;
        background-color: #0d9d71;
        border: 2px solid #0d9d71;
        border-radius: 0 8px 8px 0;
        font-weight: 600;
    }
    
    .search-dropdown .search-btn:hover {
        background-color: #0a7d5a;
        border-color: #0a7d5a;
    }
    
    /* Remove arrow for mobile */
    .search-dropdown::before,
    .search-dropdown::after {
        display: none;
    }
    
    /* Better touch targets for mobile */
    .search-dropdown .search-input::placeholder {
        color: #999;
        font-weight: 400;
    }
    
    /* Add subtle animation for mobile */
    .search-dropdown.active {
        animation: slideInMobile 0.3s ease-out;
    }
}

@keyframes slideInMobile {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Search overlay styles removed - using dropdown only */

/* 
===================
Search Page Styles
===================
*/

/* WhatsApp Floating Button Container */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row; /* Normal row direction */
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-text {
    background-color: #fff;
    color: #000;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    font-family: var(--body-font);
    position: relative;
    z-index: 1001; /* Higher than the icon to prevent hiding */
    order: -1; /* Ensure text comes first in flex order */
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: none;
    color: #fff;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 2px;
}

/* WhatsApp button animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-container {
        bottom: 15px;
        right: 15px;
        flex-direction: row; /* Normal row direction on mobile too */
        align-items: center;
        gap: 8px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-text {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Letter Avatar Styling */
.letter-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    overflow: hidden;
}

.reviewer-avatar .letter-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.user-avatar .letter-avatar {
    width: 80px;
    height: 80px;
    font-size: 40px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .reviewer-avatar .letter-avatar {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .user-avatar .letter-avatar {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

/* Review Enhancements */
.reviews-filter {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.reviews-filter span {
    font-weight: 500;
    color: var(--dark-color);
}

.reviews-filter select {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.reviews-list {
    position: relative;
    min-height: 200px;
    transition: opacity 0.3s ease;
}

.reviews-list.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7) url('../Images/loading.gif') no-repeat center center;
    background-size: 50px;
    z-index: 5;
}

.reviews-list.loading {
    opacity: 0.7;
    pointer-events: none;
}

.review-error-message {
    padding: 10px 15px;
    margin-bottom: 20px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
    border-radius: 12px;
}

.user-review {
    border-left: 3px solid var(--primary-color);
    background-color: #f5f9f8;
}

.your-review-badge {
    display: inline-block;
    font-size: 11px;
    background-color: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 400;
    vertical-align: middle;
}

.review-actions {
    display: flex;
    gap: 8px;
}

.edit-review-btn,
.delete-review-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.edit-review-btn:hover {
    background-color: #e3f2fd;
    color: #1565c0;
}

.delete-review-btn:hover {
    background-color: #ffebee;
    color: #c62828;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#edit-review-form-container {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.reviews-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.reviews-pagination {
    display: flex;
    gap: 5px;
}

.reviews-pagination-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.reviews-pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.reviews-nav-btn {
    padding: 5px 10px;
    border-radius: 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reviews-nav-btn:hover:not(:disabled),
.reviews-pagination-btn:hover:not(.active) {
    background: #e0e0e0;
}

.reviews-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .reviews-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .reviews-filter select {
        width: 100%;
    }
    
    .review-actions {
        margin-top: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .reviews-navigation {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 5px;
        margin-top: 15px;
    }
    
    .reviews-pagination {
        display: flex;
        flex: 1;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px;
    }
    
    .reviews-pagination-btn {
        min-width: 28px;
        min-height: 28px;
        font-size: 13px;
    }
    
    .reviews-nav-btn {
        white-space: nowrap;
        font-size: 13px;
        padding: 5px 8px;
    }
}

/* Scroll Animation Styles for Cards */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to all card elements */
.product-card,
.category-card,
.testimonial-card,
.blog-card,
.hero-slide,
.woocommerce ul.products li.product,
.related.products .product,
.cross-sells .product,
.upsells .product {
    opacity: 0 !important; /* Force hidden initially */
    transform: translateY(50px) !important; /* Force initial position */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: both;
}

/* Animation trigger class */
.product-card.animate-in,
.category-card.animate-in,
.testimonial-card.animate-in,
.blog-card.animate-in,
.hero-slide.animate-in,
.woocommerce ul.products li.product.animate-in,
.related.products .product.animate-in,
.cross-sells .product.animate-in,
.upsells .product.animate-in {
    animation: slideUpFade 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    opacity: 1 !important; /* Override hidden state */
    transform: translateY(0) !important; /* Override initial position */
}

/* Staggered animation delays for multiple cards */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

/* WooCommerce product cards */
.woocommerce ul.products li.product:nth-child(1) { animation-delay: 0.1s; }
.woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.2s; }
.woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.3s; }
.woocommerce ul.products li.product:nth-child(4) { animation-delay: 0.4s; }
.woocommerce ul.products li.product:nth-child(5) { animation-delay: 0.5s; }
.woocommerce ul.products li.product:nth-child(6) { animation-delay: 0.6s; }

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .category-card,
    .testimonial-card,
    .blog-card,
    .woocommerce ul.products li.product {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Enhanced Auth Page Title */
.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-color);
    font-family: var(--luxury-font);
    font-weight: 600;
    font-size: 28px;
    position: relative;
}

.auth-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

/* Enhanced Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #666;
    background-color: transparent;
    font-family: var(--luxury-font);
    font-size: 16px;
}

.auth-tab:hover {
    background-color: rgba(13, 157, 113, 0.05);
    color: var(--primary-color);
}

.auth-tab.active {
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.auth-tab::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.auth-tab.active::after {
    width: 80%;
}

/* Enhanced Form Styling */
.auth-form {
    margin-top: 0;
    padding: 20px 0;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
    font-family: var(--body-font);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 18px;
    font-family: var(--body-font);
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    color: var(--dark-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 157, 113, 0.1);
    outline: none;
    background-color: #fff;
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Enhanced Password Field */
.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 50px;
}

/* Enhanced Error and Success Messages */
.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.error-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #dc3545;
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #28a745;
}

/* Mobile Responsive Styles for Auth Pages */
@media (max-width: 768px) {
    .auth-container {
        margin: 20px auto;
        padding: 30px 20px;
        max-width: 90%;
        border-radius: 18px;
    }
    
    .auth-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .auth-tabs {
        margin-bottom: 30px;
    }
    
    .auth-tab {
        padding: 15px 12px;
        font-size: 14px;
    }
    
    .form-row {
        flex-direction: column;
        margin: 0;
    }
    
    .form-group.half {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-submit {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .checkbox-label {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 15px;
        padding: 25px 15px;
    }
    
    .auth-container h2 {
        font-size: 22px;
    }
    
    .auth-tab {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
}

/* =======================================
   ENHANCED FOOTER STYLING - SITE-WIDE
   ======================================= */

/* Footer Container Layout */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d9d71, #28a745, #20c997);
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Container Grid */
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding: 60px 0 40px;
    align-items: start;
}

/* Brand Column Styling */
.footer-brand {
    max-width: 500px;
}

.footer-brand .brand-logo h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0d9d71, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-brand .brand-description p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Social Links Styling */
.footer-brand .social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-brand .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0d9d71, #28a745);
    color: white;
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-brand .social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.footer-brand .social-links a:hover::before {
    left: 100%;
}

.footer-brand .social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(13, 157, 113, 0.4);
}

/* Contact Column Styling */
.footer-contact {
    padding-left: 40px;
    border-left: 2px solid rgba(13, 157, 113, 0.3);
}

.footer-contact .contact-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0d9d71;
    position: relative;
}

.footer-contact .contact-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0d9d71, #28a745);
    border-radius: 2px;
}

/* Contact Details */
.footer-contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact .contact-details > div,
.footer-contact .contact-details > p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact .contact-details > div:last-child,
.footer-contact .contact-details > p:last-child {
    border-bottom: none;
}

.footer-contact .contact-details i {
    width: 20px;
    color: #0d9d71;
    font-size: 16px;
    text-align: center;
}

.footer-contact .contact-hours {
    background: linear-gradient(135deg, rgba(13, 157, 113, 0.1), rgba(40, 167, 69, 0.1));
    border-radius: 18px;
    padding: 15px !important;
    border: 1px solid rgba(13, 157, 113, 0.2) !important;
    margin-top: 10px;
}

/* Copyright Section */
.copyright {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.copyright p {
    margin: 0 0 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.copyright p:last-child {
    margin-bottom: 0;
}

.copyright a {
    color: #0d9d71;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.copyright a:hover {
    color: #28a745;
    text-shadow: 0 1px 3px rgba(40, 167, 69, 0.3);
}

/* WhatsApp Button Enhancement */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-text {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-container:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Responsive Footer */
@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0 30px;
    }
    
    .footer-contact {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(13, 157, 113, 0.3);
        padding-top: 30px;
    }
    
    .footer-brand .brand-logo h3 {
        font-size: 2rem;
    }
    
    .footer-contact .contact-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 30px 0 20px;
        gap: 30px;
    }
    
    .footer-brand .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-brand .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .copyright {
        padding: 20px 0;
    }
    
    .copyright p {
        font-size: 13px;
    }
    
    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .whatsapp-text {
        display: none;
    }
}