/* 
 * BIN IMTIAZ FASHION STORE - BRANDED COLOR SCHEME
 * Updated: 2026-01-26
 * Brand Colors: Cream (#f9f1e0), Brown (#6b4e3d), Gold (#c8a45d, #7a6200)
 */
:root {
    /* === COLOR PALETTE === */
    --primary-color: #6b4e3d;
    --secondary-color: #8B7355;
    --accent-color: #c8a45d;
    --background-color: #f9f1e0;
    --light-gray: #fdfbf7;
    --text-primary: #6b4e3d;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --white: #ffffff;

    /* MODISH Specific */
    --beige: #c8a45d;
    --brown: #8B7355;
    --button-bg: #FFFFFF;
    --button-text: #6b4e3d;
    --button-border: #6b4e3d;

    /* === TYPOGRAPHY === */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', 'Roboto', sans-serif;

    /* === SPACING & SHADOWS === */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* General Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--background-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

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

/* Button Component */
button,
.cta-button,
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover,
.cta-button:hover,
.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

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

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

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

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

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* Unified Action Buttons */
.btn-add-to-cart,
.btn-buy-now {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    font-family: var(--font-heading);
}

.btn-add-to-cart {
    background-color: var(--primary-color);
    color: var(--white);
    margin-bottom: 6px;
    /* Slightly reduced */
}

.btn-add-to-cart:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-buy-now {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.btn-buy-now:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

a:hover {
    color: var(--accent-color);
}

/* quantity */

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.quantity-control input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    font-size: 14px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.quantity-control button:hover {
    background-color: var(--secondary-color);
}

/* card */

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


.product-card {
    background-color: var(--real-white);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 400px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

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

.product-info {
    padding: 24px;
}

.product-title {
    font-size: 17px;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 12px;

}

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

.add-to-cart-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--secondary-color);
}

.add-to-cart-btn:active {
    transform: scale(0.98);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.show {
    display: block;
}



/* Form Elements */
input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--real-white);
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.15);
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header */
header {
    background-color: #f9f1e0;
    backdrop-filter: blur(12px);
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: auto;
}

.logo h1 {
    margin: 0;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 300;
    /* Light */
    font-size: 28px;
    letter-spacing: 0.2em;
    color: #6b4e3d;
    text-transform: uppercase;
    text-decoration: none;
}

.logo a {
    color: #6b4e3d;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.navbar nav ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar nav ul.menu li {
    margin: 0;
}

.navbar nav ul.menu li a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent wrapping to 2 lines */
}

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

.navbar nav ul.menu li a:hover,
.navbar nav ul.menu li a.active {
    color: var(--accent-color);
}

.navbar nav ul.menu li a:hover::after,
.navbar nav ul.menu li a.active::after {
    width: 100%;
}

.navbar .nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar .nav-icons i {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.navbar .nav-icons i:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header Search Form */
.header-search-form {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-input-group {
    display: flex;
    max-width: 300px;
    height: 36px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem !important;
    outline: none;
    height: 100% !important;
    margin-bottom: 0 !important;
}

.search-button {
    padding: 0 15px;
    border: 1px solid #ccc;
    border-left: none;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    font-size: 1.1rem !important;
}

.search-button:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    transform: none !important;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hamburger-icon {
    display: none !important; /* Force hide on desktop screens */
}

/* Mobile Menu Overlay */
.hamburger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Ensure full width */
    height: 100vh;
    /* Ensure full height */
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay */
    backdrop-filter: blur(8px);
    /* Stronger blur */
    z-index: 1050;
    /* Above header (1000) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile Menu Sidebar */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--background-color);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1060;
    /* Above overlay (1050) */
    /* Ensure it's above everything including header */
    padding: 2rem 1.5rem;
    display: none;
    /* Hidden by default - SAFER than transform */
    flex-direction: column;
    overflow: hidden;
    display: none;
    flex-direction: column;
    overflow-y: auto !important; /* Force scroll visibility */
    -webkit-overflow-scrolling: touch; 
}

@media (max-width: 480px) {
    .hamburger-menu {
        width: 100%;
        max-width: 100%;
    }
}

.hamburger-menu.active {
    display: flex;
    /* Show when active */
    animation: slideInMenu 0.3s ease forwards;
}

@keyframes slideInMenu {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Menu Header */
.hamburger-menu .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.hamburger-menu .menu-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

/* Override global h2::after for menu */
.hamburger-menu .menu-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.hamburger-menu .close-icon {
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: static;
    /* reset absolute */
}

.hamburger-menu .close-icon:hover {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/* Staggered Animation for Menu Items */
.hamburger-menu.active .mobile-nav-links li {
    animation: slideInRight 0.4s ease forwards;
    opacity: 0;
}

.hamburger-menu.active .mobile-nav-links li:nth-child(1) {
    animation-delay: 0.1s;
}

.hamburger-menu.active .mobile-nav-links li:nth-child(2) {
    animation-delay: 0.15s;
}

.hamburger-menu.active .mobile-nav-links li:nth-child(3) {
    animation-delay: 0.2s;
}

.hamburger-menu.active .mobile-nav-links li:nth-child(4) {
    animation-delay: 0.25s;
}

.hamburger-menu.active .mobile-nav-links li:nth-child(5) {
    animation-delay: 0.3s;
}

.hamburger-menu.active .mobile-nav-links li:nth-child(6) {
    animation-delay: 0.35s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Navigation Links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
     padding-bottom: 120px;
}

.mobile-nav-links li {
    margin-bottom: 0;
    /* Animation handled by keyframes */
}

.mobile-nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
    background: rgba(139, 115, 85, 0.05);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../images/original.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    min-height: 600px;
    /* Ensure visibility on smaller desktops */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
    position: relative;
}

.hero .hero-overlay {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeIn 1s ease-out;
}

.hero h2 {
    font-size: 5rem;
    /* Large prominent headline */
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero h2::after {
    display: none;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #f0f0f0;
    font-weight: 300;
}

.hero .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    padding: 18px 45px;
    font-size: 1rem;
}

.hero .cta-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category & Product Cards */
/* Category Section - Premium Design */
.category-section {
    padding: 20px 0 60px;
    /* Reduced top padding to bring closer to hero */
}

/* Fluid Container for Full-Width Impact */
.container-fluid {
    width: 100%;
    padding: 0 10px;
    /* Minimal padding for edge-to-edge feel */
    max-width: 1920px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    /* Tight modern gap */
}

.category-card {
    position: relative;
    height: 700px;
    /* Tall portrait height for dramatic effect */
    overflow: hidden;
    cursor: pointer;
    background-color: var(--real-white);
    /* Loading placeholder color */
}

.image-wrapper {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    /* Smooth ease-out */
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

/* Overlay Gradient - Subtle and Cinematic */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reverting to dark gradient for contrast with white text */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
    opacity: 0.8;
    /* Visible by default so text is readable */
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Content Positioning & Typography */
.category-content {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    transform: translateY(20px);
    /* Start slightly lower */
    transition: transform 0.4s ease;
}

.category-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-logo-icon {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Times New Roman', serif;
    /* Elegant serif */
    font-style: italic;
    /* Added italic */
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Shop Now Button - H&M/Zara Style */
.shop-now-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    /* Hidden by default */
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    /* Slight delay for staggered effect */
    border-radius: 0;
    /* Sharp corners for modern look */
    cursor: pointer;
}

/* Hover Effects */
.category-card:hover .image-wrapper {
    transform: scale(1.05);
    /* Gentle zoom */
}

.category-card:hover .card-overlay {
    opacity: 1;
    /* Darken slightly on hover for focus */
}

.category-card:hover .category-content {
    transform: translateY(-10px);
    /* Move text up */
}

.category-card:hover .shop-now-btn {
    opacity: 1;
    transform: translateY(0);
}

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

/* Body & Horizontal Scroll Fix */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Professional Product Grid Layout */
/* Professional Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    /* Requested 24px gap */
    width: 100%;
    margin: 0 auto;
}

.product-card {
    background-color: var(--white);
    border: none;
    border-radius: 0;
    /* Minimalist sharp corners */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    /* Lift effect */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    /* Requested shadow */
}

/* New Arrivals Specific Grid */
.new-arrivals-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    /* Force 4 columns as requested */
}

/* Image container 1:1 ratio (Square) to prevent excessive whitespace */
.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: #f9f9f9;
    /* Subtle gray placeholder */
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Keeps entire product visible */
    padding: 10px;
    /* Breathing room */
    transition: transform 0.5s ease;
    will-change: transform;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
    /* Zoom effect */
}

/* Icons - Top Right, Fade In */
.quick-view-icon,
.add-to-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-color);
    font-size: 18px !important;
    /* Precise size as requested */
    line-height: normal !important;
    /* Reset line-height to normal not 1 */
    padding: 0 !important;
    /* Reset padding */
}

.add-to-wishlist {
    top: 65px;
    /* Position below quick view */
    transition-delay: 0.05s;
}

.product-card:hover .quick-view-icon,
.product-card:hover .add-to-wishlist {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-icon:hover,
.add-to-wishlist:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* NEW Badge */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #6b4e3d;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    border-radius: 0;
    /* Sharp for Zara feel */
}

/* Product Info */
.product-info {
    padding: 12px 16px 16px 16px;
    /* consistent padding around text */
    text-align: left;
    background-color: var(--white);
}
   .product-info h3 {
        font-size: 14px !important;
        margin-bottom: 6px;
        line-height: 1.3;
        height: 36px;
        /* Approx 2 lines */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        font-weight: 500;
    }
    .product-info .price {
    font-size: 0.95rem;
    /* Same size or closer to name */
    font-weight: 600;
    /* Semi-bold */
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    background-color: #6b4e3d;
    /* Distinct Black */
    color: var(--white);
    border: 1px solid #6b4e3d;
    padding: 12px 0;
    /* Slightly more compact to save vertical space */
    border-radius: 4px;
    /* Slight radius for modern feel */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    /* Spacing from price */
}

.btn-add-to-cart:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Mobile Tweaks */
/* Responsive Mobile Layout - Larger Cards */
@media (max-width: 768px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 0 10px;
        /* Slight padding on container edges if needed */
    }

    /* Force 2 columns for new arrivals too */
    .new-arrivals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .product-card {
        background-color: var(--white);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        /* Improved shadow */
        overflow: hidden;
        margin-bottom: 0;
        /* Remove bottom margin if grid handles gap */
    }

    /* Image Container - Larger Size */
    .product-image-container {
        width: 100%;
        min-height: 260px !important;
        /* Increased from ~180px */
        aspect-ratio: 3/4;
        /* Standard clothing ratio */
        background-color: #f9f9f9;
        position: relative;
    }

    .product-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        /* Ensure it fills the taller container */
        padding: 0;
        /* Remove padding for immersive look */
    }

    /* Wishlist Icon - Adjusted Position */
    .add-to-wishlist {
        top: 8px !important;
        right: 8px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.9);
        transform: none !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50%;
    }

    /* Hide quick view on mobile to declutter, focus on image */
    .quick-view-icon {
        display: none !important;
    }

    /* Product Info Area */
    .product-info {
        padding: 12px !important;
        text-align: left;
        /* Or center depending on preference, left usually cleaner list */
    }

    .product-info h3 {
        font-size: 14px !important;
        margin-bottom: 6px;
        line-height: 1.3;
        height: 36px;
        /* Approx 2 lines */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        font-weight: 500;
    }

    .product-info .price {
        font-size: 15px !important;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 10px;
        display: block;
    }

    /* Add to Cart Button - Touch Friendly */
    .btn-add-to-cart {
        width: 100%;
        padding: 10px 0;
        font-size: 12px;
        border-radius: 4px;
        margin-top: 0;
    }

    /* Odd Item Fix - Keep centered last item logic */
    .product-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        /* Keep visual size consistent with others */
        margin: 0 auto;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 380px) {
    .product-image-container {
        min-height: 220px !important;
        /* Slightly smaller for very small screens */
    }

    .product-info h3 {
        font-size: 13px !important;
    }
}

/* Banner, Footer, Breadcrumbs, etc. reused from previous */
/* Banner, Footer, Breadcrumbs, etc. reused from previous */
.banner-section {
    background-color: var(--white);
    /* White background as requested */
    padding: 100px 0;
}

.banner-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-direction: row;
    /* Desktop: Image Left, Text Right */
}

/* Ensure image comes first in DOM or use order property if needed, 
   but HTML structure has image first which matches requirement */

.banner-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    /* Sharp corners like Zara */
    box-shadow: none;
    /* Clean look */
    aspect-ratio: 3/2;
    /* Landscape ratio roughly matching prompt 1200x800 */
    object-fit: cover;
}

.banner-text {
    flex: 1;
    text-align: left;
    padding: 20px;
}

.banner-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.1;
    color: var(--primary-color);
    /* Black */
    text-transform: uppercase;
    letter-spacing: -1px;
}

.banner-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 450px;
    font-weight: 300;
}

.btn-black {
    background-color: #6b4e3d;
    color: #fff;
    border: 1px solid #6b4e3d;
    padding: 16px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-black:hover {
    background-color: transparent;
    color: #6b4e3d;
}

.why-choose-us {
    background-color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.choose-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.choose-card:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
    transform: translateY(-5px);
}

.choose-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 30px;
}

footer h2 {
    color: var(--white);
    font-size: 2.2rem;
    text-align: left;
    margin-bottom: 1.2rem;
}

footer h2::after {
    display: none;
}

footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

footer ul {
    list-style: none;
    /* remove bullets if any */
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 12px;
    display: flex;
    /* align icon and text */
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    /* prevent wrapping if possible */
}

footer ul li a {
    color: var(--white);
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-content {
    display: grid;
    /* Adjust columns: First logo column wider, contact column wider */
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.5fr;
    gap: 40px;
    /* slightly reduce gap to fit content */
    margin-bottom: 80px;
}

.footer-col i {
    width: 20px;
    /* fixed width for icons alignment */
    text-align: center;
    color: var(--accent-color);
}

/* Responsive adjustment for footer grid */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablet */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 30px;
        text-align: center;
    }

    footer ul li {
        justify-content: center;
        /* center list items on mobile */
        white-space: normal;
        /* allow wrap on mobile small screens */
    }
}

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

.social-icons a {
    color: var(--white);
    margin-left: 20px;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.08);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Pages: Shop, Product Detail, Dashboard Reused */
.breadcrumbs {
    padding: 30px 0;
    background-color: var(--light-gray);
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumbs ul li::after {
    content: '/';
    margin: 0 15px;
    color: #ddd;
}

.breadcrumbs ul li:last-child::after {
    display: none;
}

.shop-layout,
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
}

.shop-sidebar,
.sidebar {
    background-color: var(--real-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.shop-sidebar h3,
.sidebar h3 {
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-align: left;
}

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

.sidebar-menu li a {
    display: block;
    padding: 18px 25px;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-menu li a.active,
.sidebar-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 21px;
}

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

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

th,
td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background-color: #f8f8f8;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.status-badge {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.delivered {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge.shipped {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-badge.pending {
    background-color: #fff3e0;
    color: #ef6c00;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination a,
.pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    background-color: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.pagination a:hover,
.pagination a.active,
.pagination button:hover:not(:disabled),
.pagination button.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #fdfbf7;
    color: #ccc;
    border-color: #eee;
}

/* Timeline Styles */
.tracking-progress {
    margin-top: 40px;
    position: relative;
    padding-left: 20px;
}

.progress-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.progress-timeline li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
    z-index: 2;
}

.progress-timeline li:last-child {
    margin-bottom: 0;
}

.progress-timeline li .icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    z-index: 2;
    font-size: 1.1rem;
}

.progress-timeline li.completed .icon {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: var(--white);
}

.progress-timeline li.in-progress .icon {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.2);
}

.progress-timeline li h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.progress-timeline li p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* --- RESPONSIVE SHOP LAYOUT --- */

/* Mobile (Default / <768px) */
/* Toggle Button (Visible only on mobile) */
.filter-toggle-btn {
    display: none;
    /* Hidden by default on larger screens */
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.filter-toggle-btn:hover {
    background-color: #333;
}

.filters-header {
    display: none;
    /* Hidden on desktop */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.close-filters {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 5px;
}

.filters-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.filters-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .shop-layout {
        display: block;
        /* Stack toggle button and grid */
    }

    .filter-toggle-btn {
        display: flex;
    }

    .shop-sidebar {
        position: fixed;
        left: -100%;
        /* Hidden off-screen */
        top: 0;
        width: 85%;
        /* 85% width on mobile */
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }

    .shop-sidebar.active {
        left: 0;
        /* Slide in */
    }

    .filters-header {
        display: flex;
        /* Visible in off-canvas */
    }

    /* Touch Friendly Sizing */
    .filter-group ul li a,
    .color-option,
    .size-selector button {
        padding: 10px;
        /* Larger touch targets */
    }

    .size-selector button {
        width: 50px;
        /* Larger size buttons */
        height: 50px;
    }

    .shop-container,
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Make product grid 1 column on small mobile, 2 on larger mobile if space allows? 
       User req: "Products grid: 1 column (100% width)" for <768px in prompt. 
       But style.css has own grid rules. Let's enforce. */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .shop-layout {
        display: grid;
        grid-template-columns: 220px 1fr;
        /* Narrower sidebar */
        gap: 30px;
    }

    .shop-sidebar {
        /* Reset mobile styles */
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 20px;
        border: 1px solid var(--border-color);
    }

    .filters-header,
    .filter-toggle-btn {
        display: none;
    }

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

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .shop-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 50px;
    }

    .shop-sidebar {
        position: sticky;
        top: 100px;
        /* Sticky sidebar */
        align-self: start;
    }

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

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1360px;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {

    .navbar .menu,
    .navbar .nav-icons {
        display: none;
    }

    .hamburger-icon {
        display: block;
    }

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

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

/* --- Contact Page Styles --- */
.contact-hero {
    background-color: #f9f1e0;
    padding: 60px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #f0ebe3;
}

.contact-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #3e2723;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.contact-hero .header-line {
    width: 50px;
    height: 1.5px;
    background: #c8a45d;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-form-section h3,
.contact-info-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.contact-info-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: fit-content;
}

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

.info-item i {
    width: 50px;
    height: 50px;
    background-color: #f0ebe3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b7355;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.info-item p {
    margin: 0;
    color: var(--text-secondary);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 30px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === PREMIUM SHOP ENHANCEMENTS === */

/* Sidebar Enhancements */
.shop-sidebar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.filter-group h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.filter-group ul li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.filter-group ul li a:hover,
.filter-group ul li a.active {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 16px;
}

/* Range Slider */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    margin: 10px 0;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    margin-top: -6px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

/* Firefox support */
input[type=range]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: transform 0.2s;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

/* Size Chart Button Styling */
#btn-size-chart {
    color: #3d2b1f;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #3d2b1f;
    padding: 5px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    display: inline-block;
}

#btn-size-chart:hover {
    background-color: #3d2b1f;
    color: #ffffff;
    text-decoration: none;
}


/* Size Selector */
.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Slight increase for better touch targets */
    margin-bottom: 25px;
    /* Spacing below size section */
}

/* Size Option Styling */
.size-option {
    background-color: #ffffff;
    color: #3d2b1f;
    border: 1.5px solid #3d2b1f;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.size-option.active {
    background-color: #3d2b1f;
    color: #ffffff;
    border-color: #3d2b1f;
}

.size-option.disabled,
.size-option:disabled {
    background-color: #f5f0eb;
    color: #b5a99a;
    border-color: #d9cfc7;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Hover Effect - FIXED */
.size-option:not(.disabled):not(.active):hover {
    background-color: #3d2b1f;   /* Dark brown background */
    color: #ffffff;               /* White text */
    border-color: #3d2b1f;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 12px;
    /* 12px gap as requested */
    flex-wrap: wrap;
    margin-bottom: 32px;
    /* 32px bottom margin for breathing room */
}

.color-option {
    width: 32px;
    /* Slightly larger for visibility */
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle border for white/light colors */
    transition: transform 0.2s, box-shadow 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color);
    /* Highlight ring */
}

/* Filters Footer Buttons */
.filters-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* 12-16px gap between buttons */
    margin-top: 10px;
}

.filters-footer .btn {
    width: 100%;
    padding: 14px 0;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    /* Rounded corners as requested */
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.filters-footer .btn-secondary {
    background-color: var(--secondary-color);
    /* Brown/Tan */
    color: white;
    border: 1px solid var(--secondary-color);
}

.filters-footer .btn-secondary:hover {
    background-color: #7a654a;
    /* Slightly darker on hover */
    border-color: #7a654a;
}

.filters-footer .btn-outline {
    background-color: white;
    color: var(--primary-color);
    /* Black text */
    border: 1px solid var(--primary-color);
    /* Black border */
}

.filters-footer .btn-outline:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

/* Active Filter Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 25px;
    /* Add space below tags */
}

.filter-tag {
    background: #f0f0f0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.filter-tag i {
    cursor: pointer;
    color: #999;
    font-size: 0.7rem;
}

.filter-tag i:hover {
    color: var(--error-color);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* =========================================
   PREMIUM PRODUCT DETAIL PAGE REDESIGN
   ========================================= */

/* 1. Layout & Spacing */
.product-display {
    padding: 60px 0;
    background-color: var(--real-white);
    /* Subtle off-white background */
}

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

@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.product-detail-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0;
}

/* 2. Quantity Selector - Modern & Bordered */
.quantity-control.input-group {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* Soft rounded corners */
    padding: 5px;
    background: #f9f1e0;
    margin-top: 10px;
    width: auto;
    /* Don't stretch */
}

.quantity-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-control button:hover {
    background-color: #fdfbf7;
    color: #6b4e3d;
}

.quantity-control input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    pointer-events: none;
    /* User mostly clicks buttons */
    background: transparent;
    padding: 0;
    margin: 0;
}

/* 3. Add to Cart Button - Professional & Prominent */
.btn-add-to-cart {
    width: 100%;
    background-color: var(--primary-color);
    /* Deep black/primary */
    color: #fff;
    padding: 18px 30px;
    /* Generous padding */
    border: none;
    border-radius: 8px;
    /* Modern radius */
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Subtle lift */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.btn-add-to-cart:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #fff;
    /* Keep text white */
}

.btn-add-to-cart:active {
    transform: translateY(0);
}

/* 4. Tabs/Sections - Clean Horizontal Design */
.product-tabs-section {
    background-color: #f9f1e0;
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
}

.product-tabs {
    display: flex;
    justify-content: center;
    /* Center tabs */
    gap: 40px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.product-tabs .tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0 0 15px 0;
    font-size: 1rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-tabs .tab:hover {
    color: #6b4e3d;
}

.product-tabs .tab.active {
    color: #6b4e3d;
    border-bottom-color: #6b4e3d;
    font-weight: 700;
}

.product-tabs .tab i {
    font-size: 1.1rem;
}

.tab-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
    animation: fadeIn 0.4s ease;
    display: none;
}

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

.tab-content h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #6b4e3d;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* Mobile Tabs adjustment */
@media (max-width: 600px) {
    .product-tabs {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 2px;
        /* Scrollbar space approx */
        white-space: nowrap;
    }

    .product-tabs .tab {
        font-size: 0.9rem;
    }
}

/* =========================================
   CHECKOUT PAGE STYLES - NEW PREMIUM DESIGN
   ========================================= */

.checkout-body {
    background-color: var(--light-gray);
    /* Very light gray for premium feel */
}

.checkout-header {
    background: var(--real-white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

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

.checkout-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.checkout-secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #009688;
    /* Trust color */
    font-weight: 500;
    font-size: 0.9rem;
}

/* Stepper */
.checkout-progress {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    /* Keep text together */
    transition: all 0.3s ease;
}

.step-item.active {
    color: var(--primary-color);
}

.step-number {
    width: 24px;
    /* Fixed size */
    height: 24px;
    min-width: 24px;
    /* Prevent crushing */
    border-radius: 50%;
    background: #eee;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.step-item.active .step-number {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step-item.completed .step-number {
    background: var(--success-color);
    color: #fff;
}

/* Tablet Responsiveness */
@media (max-width: 992px) {
    .checkout-progress {
        gap: 15px;
    }

    .step-item {
        font-size: 0.8rem;
        gap: 6px;
    }
}

/* Mobile Responsiveness (Below 768px) */
@media (max-width: 767px) {
    .checkout-progress {
        gap: 15px;
        justify-content: space-between;
        padding: 0 5px;
    }

    /* Hide text for all steps by default */
    .step-item {
        font-size: 0.8rem;
        gap: 6px;
    }

    .step-item span {
        display: none;
    }

    /* Show text ONLY for the active step */
    .step-item.active span {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--primary-color);
    }

    /* Adjust Circle Size for Mobile */
    .step-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
    }
}

/* Layout */
.checkout-main {
    padding: 40px 0 80px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    position: relative;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Left Side - Forms */
.checkout-section {
    margin-bottom: 40px;
    background: transparent;
}

.checkout-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
}

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

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

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

.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    /* Minimal radius */
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f9f1e0;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
    outline: none;
}

.form-input.error {
    border-color: var(--error-color);
}

.helper-text {
    font-size: 0.75rem;
    color: var(--error-color);
    margin-top: 5px;
    display: none;
}

/* Shipping Methods */
.shipping-options,
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f9f1e0;
}

.radio-card:hover {
    border-color: #ccc;
}

.radio-card.selected {
    border-color: var(--primary-color);
    background-color: var(--real-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.radio-card.selected .custom-radio {
    border-color: var(--primary-color);
}

.radio-card.selected .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.method-time {
    font-size: 0.8rem;
    color: #666;
}

.method-price {
    font-weight: 600;
    color: var(--primary-color);
}

/* Payment Section */
.card-details {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    display: none;
    /* Toggled via JS */
}

.card-details.active {
    display: block;
}

.card-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.card-icons i {
    font-size: 1.5rem;
    color: #444;
}

/* Right Side - Summary (Sticky) */
.checkout-summary-wrapper {
    position: sticky;
    top: 100px;
    /* Account for header */
}

.checkout-summary-card {
    background: var(--real-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeaea;
}

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

.summary-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.summary-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.item-image {
    width: 70px;
    height: 90px;
    border-radius: 4px;
    object-fit: cover;
    background: #fdfbf7;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.item-variant {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
    display: block;
}

.item-price {
    font-size: 0.9rem;
    font-weight: 600;
}

.discount-code {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.discount-code input {
    margin-bottom: 0;
    padding: 10px 14px;
}

.apply-btn {
    padding: 0 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

.cost-breakdown {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

.cost-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    align-items: center;
}

.checkout-footer-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.checkout-footer-links a {
    color: #666;
    margin: 0 8px;
    text-decoration: underline;
}

.place-order-btn {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    padding: 16px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.place-order-btn:hover {
    background: #5a4133; /* Slightly darker brown */
    color: #fff !important;
}

/* Validation Styles */
input:invalid {
    box-shadow: none;
}

/* =========================================
   ORDER CONFIRMATION PAGE STYLES
   ========================================= */

.confirmation-main {
    padding: 60px 0 140px;
    min-height: 80vh;
    /* Ensure it takes up most of screen */
    box-sizing: border-box;
    /* Include padding in height */
}

.success-banner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    /* Light green bg */
    border-radius: 50%;
    color: #28a745;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transform: scale(0.5);
    /* For animation */
}

.success-banner h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.success-banner .subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
}

.order-ref {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

.copy-icon {
    margin-left: 10px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.copy-icon:hover {
    color: var(--primary-color);
}

.delivery-estimate {
    font-size: 1rem;
    color: #555;
    background: #f9f1e0;
    border: 1px solid #eee;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
}

/* Tracker */
.tracker-section {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.tracker-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 15px;
}

/* Line behind dots */
.tracker-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    /* Half of dot height (30px) */
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.tracker-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
    /* Width for text wrapping */
}

.tracker-step .dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 3px solid #fff;
    /* White ring */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #fff;
    box-shadow: 0 0 0 2px #e0e0e0;
    /* Outer ring visual */
}

.tracker-step.completed .dot {
    background: var(--success-color);
    box-shadow: 0 0 0 2px var(--success-color);
}

.tracker-step.active .dot {
    background: #f9f1e0;
    border: 3px solid var(--primary-color);
    /* hollow */
    box-shadow: 0 0 0 2px var(--primary-color);
}

.tracker-step span {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.tracker-step.active span {
    color: var(--primary-color);
    font-weight: 700;
}

.tracker-step.completed span {
    color: var(--success-color);
}

.tracker-note {
    font-size: 0.85rem;
    color: #888;
}

/* Grid Layout */
.confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

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

.conf-card {
    background: #f9f1e0;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.conf-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.payment-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.badge-success {
    background: #e8f5e9;
    color: #28a745;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Summary Grid Specifics */
.summary-item-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.summary-item-row:last-child {
    border-bottom: none;
}

.summary-item-row img {
    width: 60px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.item-meta {
    flex: 1;
}

.item-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.item-specs {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 6px;
}

.item-price {
    font-weight: 600;
    font-size: 0.9rem;
}

.summary-totals {
    margin-top: 20px;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.grand-total {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.download-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: underline;
}

/* CTAs */
.cta-actions {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.primary-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.primary-btn:hover {
    background: #6b4e3d;
    color: #fff;
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

/* Payment Conditional Panels */
.payment-conditional-panel {
    display: none;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

.payment-conditional-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Support Footer */
.support-footer {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
    padding-bottom: 40px;
    /* Added internal space */
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 60px;
    /* Push footer down */
}

/* =========================================
   PREMIUM CART PAGE STYLES
   ========================================= */

.cart-page-premium {
    padding: 60px 0 100px;
    background: #f9f1e0;
    min-height: 80vh;
}

.cart-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .cart-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Header Section */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cart-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6b4e3d;
}

.cart-header .item-count {
    color: #888;
    font-size: 0.95rem;
}

/* Cart Item Card */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-item-card {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-card:first-child {
    padding-top: 0;
}

.cart-item-image img {
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 2px;
    background: #fdfbf7;
}

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

.item-info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.product-name a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b4e3d;
    text-decoration: none;
    transition: color 0.2s;
}

.product-name a:hover {
    color: #555;
}

.item-price {
    font-weight: 600;
    font-size: 1rem;
    color: #6b4e3d;
}

.item-variants {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.item-variants .separator {
    margin: 0 6px;
    color: #ccc;
}

/* Minimalist Premium Quantity Controls */
.item-actions-row {
    display: flex;
    flex-direction: row;
    /* Explicitly row */
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.qty-selector {
    display: flex;
    flex-direction: row;
    /* Explicitly row */
    align-items: center;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.qty-btn {
    background: #f9f1e0;
    border: 1px solid #e5e5e5;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 0;
    margin: 0;
    /* Remove potential margins */
}

.qty-btn:hover {
    background-color: #f9f9f9;
    border-color: #d0d0d0;
}

.qty-input {
    width: 44px;
    height: 36px;
    line-height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #6b4e3d;
    padding: 0;
    margin: 0 5px;
    /* Fixed small horizontal margin */
    display: block;
    /* Ensure it behaves as block in flex items if needed */
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
    margin: 0;
}

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

/* Cart Summary Sticky Card */
.cart-summary-section {
    position: relative;
}

.summary-card {
    background: var(--real-white);
    /* kept white per request for premium feel */
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.summary-card h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: #6b4e3d;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
}

.summary-divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b4e3d;
    margin-bottom: 25px;
}

.promo-code-input {
    display: flex;
    margin-bottom: 25px;
    gap: 10px;
}

.promo-code-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.promo-code-input button {
    background: #f0f0f0;
    border: none;
    padding: 0 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    transition: background 0.2s;
}

.promo-code-input button:hover {
    background: #e0e0e0;
}

.checkout-btn {
    display: block;
    width: 100%;
    background: #6b4e3d;
    color: #fff;
    text-align: center;
    padding: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.checkout-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.secure-checkout-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Continue Shopping Button */
.continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 24px;
    border: 1px solid #6b4e3d;
    color: #6b4e3d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 4px;
}

.continue-shopping-btn:hover {
    background: #6b4e3d;
    color: #fff;
}

/* Mobile Responsive Tweaks */
@media (max-width: 600px) {
    .cart-item-image img {
        width: 90px;
        height: 110px;
    }

    .cart-item-card {
        padding: 20px 0;
    }

    .item-info-top {
        flex-direction: column;
        gap: 5px;
    }

    .item-actions-row {
        margin-top: 15px;
    }
}

.support-footer a {
    color: #555;
    text-decoration: underline;
}

.footer-links-inline {
    margin-top: 10px;
}

.footer-links-inline .sep {
    margin: 0 10px;
    color: #ccc;
}

/* =========================================
   REVIEW MODAL STYLES
   ========================================= */
/* =========================================
   PREMIUM REVIEW MODAL STYLES
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 31, 24, 0.6);
    /* Warmer translucent dark */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    padding: 20px;
}

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

.modal-container {
    width: 100%;
    max-width: 550px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    padding: 24px 32px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.modal-close {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: #eee;
    color: #000;
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    background: #fff;
}

.review-form-group {
    margin-bottom: 24px;
}

.review-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    text-transform: none;
    /* Premium look often uses mixed case */
    letter-spacing: normal;
}

.review-form-group input[type="text"],
.review-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #2d3748;
    background-color: #f7fafc;
    transition: all 0.3s ease;
}

.review-form-group input[type="text"]:focus,
.review-form-group textarea:focus {
    border-color: var(--accent-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.1);
}

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

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    margin: 5px 0 15px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 2rem;
    color: #e2e8f0;
    margin: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.star-rating-input label:hover,
.star-rating-input label:hover~label,
.star-rating-input input:checked~label {
    color: #fbbf24;
    /* Golden star */
    transform: scale(1.1);
}

.star-rating-input label:active {
    transform: scale(0.9);
}

.modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafafa;
}

.btn-modal-cancel {
    background: #fff;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-weight: 600;
    text-transform: none !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
}

.btn-modal-cancel:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
    transform: none !important;
}

.btn-modal-submit {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-weight: 600;
    text-transform: none !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.2) !important;
}

.btn-modal-submit:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(107, 78, 61, 0.3) !important;
}

/* Review Modal Responsiveness */
@media (max-width: 580px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
        /* Stack buttons, submit on top */
        gap: 10px;
    }

    .modal-footer button {
        width: 100% !important;
        margin: 0 !important;
    }

    .star-rating-input label {
        font-size: 1.75rem;
    }
}

@media (max-width: 380px) {
    .modal-title {
        font-size: 1.1rem;
    }

    .star-rating-input {
        gap: 4px;
    }

    .star-rating-input label {
        font-size: 1.5rem;
    }
}

/* === PAGINATION STYLES === */
.page-btn {
    padding: 0 !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 4px;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.page-btn.active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
    border-color: #ccc;
}

.pagination-wrapper {
    flex-wrap: wrap;
}

/* Product Detail Options (Added) */
.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-selector button {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background: #f9f1e0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-selector button:hover {
    border-color: #333;
}

.size-selector button.active {
    background: #6b4e3d;
    color: #fff;
    border-color: #6b4e3d;
}

/* === COMPREHENSIVE LOGO STYLING === */
.logo-container {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    /* ADD padding */
}

.main-logo {
    max-width: 250px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    /* ADD smooth transition */
}

/* Hover effect */
.main-logo:hover {
    opacity: 0.8;
}

/* Header alignment */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    /* ADD: box-shadow for depth */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 90px;
}

/* Mobile - CRITICAL */
@media (max-width: 768px) {
    .main-logo {
        max-width: 180px;
        /* Smaller on mobile */
        max-height: 50px;
    }

    .logo-container {
        padding: 8px 10px;
    }

    .navbar {
        min-height: 70px;
        padding: 10px 15px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-logo {
        max-width: 220px;
        max-height: 65px;
    }
}

/* === FINAL OVERRIDES FOR NAVBAR & LOGO === */
.navbar {
    padding: 5px 0 !important;
    min-height: 70px !important;
    box-shadow: none !important;
}

.main-logo {
    max-width: 300px !important;
    max-height: 100px !important;
}

@media (max-width: 768px) {
    .main-logo {
        max-width: 200px !important;
        max-height: 60px !important;
    }

    .navbar {
        min-height: 60px !important;
        padding: 5px 10px !important;
    }
}

/* Order Tracking Button */
.track-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

.track-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === FOOTER LOGO CSS REPLACEMENT === */
.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    /* Space below logo */
    padding: 10px 0;
}

.footer-logo-icon {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Times New Roman', serif;
    /* Elegant serif */
    font-style: italic;
    /* Added italic */
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Align left */
}

.footer-brand-name {
    font-size: 1.8rem;
    font-weight: 400;
    /* Regular weight for elegance */
    letter-spacing: 2px;
    line-height: 1.1;
    font-family: 'Times New Roman', serif;
    color: var(--white);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 4px;
    margin-bottom: 4px;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-body, sans-serif);
    color: rgba(255, 255, 255, 0.8);
    display: block;
    text-align: center;
    /* Center tagline under the name */
    width: 100%;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .footer-logo-container {
        justify-content: flex-start;
        /* Keep left alignment */
        gap: 10px;
    }

    .footer-logo-icon {
        font-size: 2.5rem;
    }

    .footer-brand-name {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .footer-brand-tagline {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
}

/* === DEVELOPER CREDIT STYLING === */
.developer-credit p {
    margin: 0;
    font-size: 0.95rem;
    /* Readable font size */
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.developer-credit a {
    color: var(--accent-color);
    /* Matches theme gold */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.developer-credit a:hover {
    color: var(--white);
    border-bottom-color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    /* Glow effect */
}

/* Responsive adjustment for footer bottom with added credit */
@media (max-width: 991px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-copyright,
    .developer-credit,
    .social-icons {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0 !important;
    }

    .social-icons a {
        margin: 0 10px;
        /* Even spacing on mobile */
    }
}

/* === ABOUT US PAGE STYLING === */
.about-page {
    background-color: var(--light-gray);
    /* consistent background */
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/heroimage.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    margin-bottom: 60px;
    position: relative;
    /* Ensure text is above overlay */
    z-index: 1;
}

.about-hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.about-content {
    padding-bottom: 80px;
}

.about-story,
.about-mission {
    background: var(--real-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.about-story h3,
.about-mission h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    /* Brown */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-story h3::after,
.about-mission h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    /* Gold */
    border-radius: 2px;
}

.about-story p,
.mission-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-weight: 300;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.mission-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-story strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive for About Page */
@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0;
    }

    .about-hero h2 {
        font-size: 2.5rem;
    }

    .about-story,
    .about-mission {
        padding: 30px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}