/* Shopping Cart Modal Styles */
.shopping-cart-modal {
    position: fixed;
    top: 40px;
    right: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    width: 420px;
    z-index: 2001;
    padding: 32px 32px 24px 32px;
    font-family: 'Inter', Arial, sans-serif;
    transition: all 0.2s;
}

.shopping-cart-modal h2 {
    font-size: 1.5rem;
    margin: 0 0 18px 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.shopping-cart-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1.3rem;
    color: #222;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.shopping-cart-close:hover {
    background: #f0f0f0;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    background: #fafafa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
    background: #f0f0f0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: #222;
    font-size: 1rem;
    margin-bottom: 2px;
}

.cart-item-qty-row {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.cart-item-qty-row .qty-btn,
.cart-item-qty-row .remove-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    margin: 0 4px;
    cursor: pointer;
    color: #222;
    transition: color 0.2s;
}
.cart-item-qty-row .qty-btn:hover,
.cart-item-qty-row .remove-btn:hover {
    color: #007bff;
}
.cart-item-qty-row .cart-qty {
    font-size: 1rem;
    margin: 0 6px;
    min-width: 18px;
    text-align: center;
}

.cart-item-total {
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 6px;
}

.cart-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 18px 0 12px 0;
}

.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.cart-total-label {
    font-size: 1.1rem;
    font-weight: 500;
}
.cart-total-value {
    font-size: 1.2rem;
    font-weight: 600;
}
.cart-checkout-btn {
    background: #6c7a89;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 12px;
}
.cart-checkout-btn:hover {
    background: #49525a;
}

@media (max-width: 600px) {
    .shopping-cart-modal {
        width: 98vw;
        right: 1vw;
        left: 1vw;
        top: 8vw;
        padding: 16px 6px 8px 6px;
    }
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
}

/* Optional: Modal Overlay */
.shopping-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 62, 80, 0.22);
    z-index: 2000;
}
/* --- Related Product Image Styling --- */
.related-product-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #f8f8f8;
    margin-bottom: 10px;
    transition: transform 0.2s;
    max-width: 100%;
}
.related-product-image:hover {
    transform: scale(1.04);
}
.mobile_menus {

  display: none !important; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

:root {
    /* Minimal Color Palette */
    --primary: #000000;
    --primary-dark: #333333;
    --secondary: #f8f8f8;
    --accent: #e8e8e8;
    --accent-dark: #d8d8d8;
    --dark: #111111;
    --light: #ffffff;
    --gray: #888888;
    --dark-gray: #666666;
    --border: #e0e0e0;
    --success: #000000;
    --warning: #000000;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 8px rgba(0,0,0,0.08);
}

button:focus, a:focus, input:focus, select:focus, textarea:focus{
    outline: transparent !important;
    outline-offset: unset !important;
}

html {
    height: -webkit-fill-available;
    scroll-behavior: smooth;
}

body {
    background-color: #f0e6d2; /* jnjn */
    line-height: 1.6;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #f0e6d2;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    flex-wrap: nowrap;
}

.logo {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.7;
}

.logo i {
    margin-right: 12px;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #d51232;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #f0e6d2;
    color: var(--dark);
}

.search-bar input:focus {
    border-color: var(--dark);
    background: var(--light);
}

.search-bar button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #d51232;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.search-bar button:hover {
    color: #02154f;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.header-actions a i {
    font-size: 18px;
}

.header-actions a {
    color: #02154f;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    width: 40px;
    height: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
    position: relative;
}

.cart-count, .wishlist-count {
    position: absolute;
    top: -3px;
    right: 0px;
    background-color: #d51232;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
    z-index: 10;
}

/* Header action icon/link styles: use navy by default, brand red on hover/focus */
.header-actions a,
.header-actions a i {
    color: var(--dark);
}

.header-actions a:hover,
.header-actions a:focus {
    color: var(--primary);
    outline: none;
}

.header-actions a:focus {
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.12);
    border-radius: 6px;
}

/* ========== MAIN NAVIGATION ========== */
nav {
    background-color: #d51232;
    padding: 0;
    border-top: 1px solid #d51232;
    position: relative;
    z-index: 1000;
}
.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    flex-wrap: wrap;
}

.nav-links > li {
    margin: 0 12px;
    position: relative;
}

.nav-links > li > a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
}

.nav-links > li > a i:first-child {
    margin-right: 8px;
    font-size: 16px;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus {
    opacity: 0.7;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dark);
    transition: width 0.3s;
}

.nav-links > li > a:hover::after,
.nav-links > li > a:focus::after {
    width: 100%;
}

/* ========== MEGA MENU STYLES - FIXED ========== */
.mega-menu-container {
    position: static !important;
    color: #02154f;
}

.mega-menu-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.mega-menu-trigger i:last-child {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mega-menu-container:hover .mega-menu-trigger i:last-child {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute !important;
    left: 0 !important;
    transform: translateX(0) !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    border-top: 2px solid var(--dark) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    top: 100%;
    background: #02154f;
    border: 1px solid #02154f;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.mega-menu.active,
.mega-menu-container:hover .mega-menu {
    color: #02154f;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.mega-menu-content h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #d51232;
    padding-bottom: 15px;
    padding-top: 40px;
    text-align: center;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 40px 40px;
}

.mega-menu-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #d51232;
    padding: 20px;
    background: transparent;
    text-decoration: none;
    display: block;
}

.mega-menu-item:hover {
    border-color: #d51232;
    background: #d51232;
    transform: translateY(-5px);
}

.mega-menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    background: var(--secondary);
    border-radius: 2px;
}

.mega-menu-item h4 {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
}

.mega-menu-item p {
    font-size: 13px;
    color: #d8d8d8;
    line-height: 1.5;
}

/* Fix for broken image links */
.mega-menu-item img[src*=".jfif"] {
    background: var(--secondary) !important;
}

/* Fix for broken anchor tags in casual wear section */
.mega-menu-item > a {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}

/* Fix for broken image in active wear section */
.mega-menu-item a img[src="assets/image/"] {
    display: none !important;
}

.mega-menu-item a img[src="assets/image/"] + h4,
.mega-menu-item a img[src="assets/image/"] + h4 + p {
    opacity: 0.5 !important;
}

/* Fix for missing images in mega menu */
.mega-menu-item:has(img[src=""]) {
    opacity: 0.7 !important;
}

/* Fix for casual wear section broken HTML structure */
.mega-menu-item a:empty {
    display: none !important;
}

.mega-menu-item img:first-child:not([alt]) {
    display: none !important;
}

/* Fix for broken links in casual wear */
.mega-menu-item:has(a[href="Jeans.html"]:empty) {
    position: relative !important;
}

.mega-menu-item:has(a[href="Jeans.html"]:empty) a {
    display: none !important;
}

.mega-menu-item:has(a[href="Jeans.html"]:empty) img {
    margin-bottom: 10px !important;
}

/* ========== MOBILE MEGA MENU ========== */
.mobile-mega-menu {
    display: none;
    background: var(--secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-mega-menu.active {
    display: block;
    max-height: 500px;
    animation: slideDown 0.3s ease;
}

.mobile-mega-menu a {
    display: flex;
    align-items: center;
    padding: 15px 50px !important;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-mega-menu a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--dark);
}

.mobile-mega-menu a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.mobile-mega-menu-item.active .mobile-mega-menu-trigger i.fa-angle-down {
    transform: rotate(180deg);
}

.mobile-mega-menu-trigger i.fa-angle-down {
    transition: transform 0.3s ease;
    float: right;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-left: 15px;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background-color: var(--secondary);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1998;
    opacity: 0;
    background: #d51232;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #02154f;
    z-index: 1999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px #02154f;
}

.mobile-menu-container.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border);
    background: #f0e6d2;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-menu-header h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    color: #d51232;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.mobile-menu-close:hover {
    background: var(--secondary);
}

.mobile-menu-content {
    padding: 0;
}

.mobile-menu-content > a {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #f0e6d2;
    transition: background-color 0.3s;
    font-size: 16px;
    font-weight: 400;
}

.mobile-menu-content > a:hover {
    background-color: var(--secondary);
}

.mobile-menu-content > a i:first-child {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.mobile-mega-menu-item {
    border-bottom: 1px solid #f0e6d2;
}
.mobile-mega-menu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 25px !important;
    color: #ffffff;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-mega-menu-trigger i:first-child {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.mobile-mega-menu-trigger i:last-child {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.mobile-mega-menu-item.active .mobile-mega-menu-trigger i:last-child {
    transform: rotate(180deg);
}
.mobile-mega-menu-item.active .mobile-mega-menu-trigger {
    background-color: #d51233d5;
}

/* Mobile Search Toggle */
.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    color: #d51232;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-left: 10px;
}

.mobile-search-toggle:hover {
    background-color: #02154f;
}

.search-bar.mobile-visible {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--light) !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: var(--shadow-md) !important;
    z-index: 1001 !important;
}

/* ========== BANNER SLIDER ========== */
.banner-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.slide-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: #d51232;
    max-width: 600px;
    bottom: 20%;
    left: 5%;
}

.slide-content h1 {
    font-size: 42px;
    font-weight: 300;
    color: #d4edda;
    margin-bottom: 5px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 16px;
    color: #d4edda;
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 500px;
}

.slide-content .btn {
    background-color: #d51232;
    color: var(--light);
    border: 1px solid #d51232;
    padding: 14px 32px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.slide-content .btn:hover {
    background-color: #02154f;
    border-color: #02154f;
    color: var(--light);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #d51232;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: #02154f;
    color: var(--light);
    border-color: #02154f;
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d51232;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    opacity: 1;
    background: #02154f;
}

.dot:hover {
    opacity: 0.8;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== PRODUCT SLIDER SECTION ========== */
.product-slider-section {
    margin-bottom: 80px;
    position: relative;
}

.product-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.product-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
}

.product-slider-item {
    /* show 3 items per row by default */
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
}

.product-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.product-slider-btn:hover {
    background: var(--dark);
    color: var(--light);
    border-color: var(--dark);
    transform: translateY(-50%) scale(1.1);
}

.product-slider-btn.prev {
    left: 0;
}

.product-slider-btn.next {
    right: 0;
}

.product-slider-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.product-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.product-slider-dot.active {
    background: var(--dark);
    transform: scale(1.2);
}

.product-slider-dot:hover {
    background: var(--dark-gray);
}

/* Product Card Adjustments for Slider */
.product-slider-item .product-card {
    height: 100%;
    margin: 0;
}

.product-slider-item .product-img {
    height: 220px;
}

.product-slider-item .product-info {
    padding: 20px;
}

.product-slider-item .product-title {
    font-size: 15px;
    line-height: 1.4;
}

.product-slider-item .add-to-cart {
    padding: 12px;
    font-size: 13px;
}

/* Products Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: #d51232;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #d51232;
    margin: 12px auto 0;
    position: absolute;
    left: 0;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    /* Use a light card to improve contrast and avoid dark overlays */
    background-color: var(--light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 360px; /* ensure consistent card height */
    border: 1px solid rgba(213,18,50,0.15);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(213,18,50,0.25);
    box-shadow: var(--shadow-md);
}

/* Product image area (override small thumbnail rule) */
.product-card .product-image {
    position: relative;
    width: 100%;
    height: 240px;
    display: block;
    background: var(--secondary);
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

/* Product details mapping to layout used in templates */
.product-card .product-details {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--dark);
    flex-grow: 1;
    background-color: #02154f !important;
}

.product-card .product-name {
    color: #E1306C;
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 500;
    line-height: 1.3;
}

.product-card .product-description {
    color: var(--dark-gray);
    font-size: 13px;
    flex-grow: 0;
}

.product-card .product-footer {
    margin-top: auto;
    align-items: center;
}

.product-card .product-price {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

/* Add to cart button used in templates */
.add-to-cart-btn, .add-to-cart {
    padding: 10px 12px;
    background-color: #d51232;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.add-to-cart-btn[disabled], .add-to-cart[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--light);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 400;
    z-index: 2;
    letter-spacing: 1px;
    background: var(--dark);
}

.product-badge.sale {
    background-color: #d51232;
}

.product-badge.new {
    background-color: #02154f;
}
.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 2;
    gap: 8px;
}

.product-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.3s;
    border: 1px solid var(--border);
    color: var(--dark);
}

.product-action:hover,
.product-action:focus {
    background: #d51232;
    color: var(--light);
    transform: none;
    outline: none;
    border-color: var(--dark);
}

/* Ensure wishlist and view buttons are visible and positioned */
.product-image .wishlist-heart,
.product-image .view-btn {
    position: absolute;
    top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border);
    color: var(--dark);
    z-index: 3;
}

.product-image .wishlist-heart { right: 15px; }
.product-image .view-btn { right: 60px; }

.product-image .wishlist-heart i,
.product-image .view-btn i { font-size: 16px; }

.product-image .wishlist-heart:hover,
.product-image .view-btn:hover,
.product-image .wishlist-heart:focus,
.product-image .view-btn:focus {
    background: #d51232;
    color: var(--light);
    border-color: #d51232;
    outline: none;
}

.product-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    background: var(--secondary);
}

.product-card:hover .product-img {
    transform: scale(1.02);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #02154f !important;
}

.product-title {
    color: #d51232;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.product-price {
    color: var(--dark);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.product-price .old-price {
    color: #d51232;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 300;
}

.product-rating {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.product-rating span {
    color: #f0e6d2;
    font-size: 13px;
    margin-left: 8px;
}

.add-to-cart {
    width: 100%;
    padding: 14px;
    background-color: transparent;
    /* show red text for outline variant so it's readable on light cards */
    color: #d51232;
    border: 1px solid #d51232;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ensure buttons that include both classes show as filled red inside product cards */
.product-card .add-to-cart.add-to-cart-btn {
    background-color: #d51232;
    color: #fff;
    border: none;
}


.add-to-cart i {
    margin-right: 10px;
}

.add-to-cart:hover,
.add-to-cart:focus {
    background-color: #d51232;
    color: var(--light);
    outline: none;
}

/* Categories Section */
/* Page title and category filter styles */
.page-title {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
}

.category-filter .category-btn,
.category-filter a {
    color: #6b2c90;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-weight: 500;
}

.category-filter .category-btn:hover,
.category-filter a:hover,
.category-filter .category-btn:focus,
.category-filter a:focus {
    color: #d51232;
    text-decoration: none;
    background: rgba(213,18,50,0.05);
    border-color: #d51232;
    outline: none;
}

.category-filter .category-btn.active,
.category-filter a.active {
    color: white;
    font-weight: 600;
    background: linear-gradient(135deg, #d51232 0%, #b50a1f 100%);
    border-color: #d51232;
    box-shadow: 0 4px 12px rgba(213, 18, 50, 0.3);
}

/* No-products empty state */
.no-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 20px;
    max-width: 560px;
    margin: 36px auto;
    color: var(--dark);
}

.no-products i {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: 12px;
}

.no-products h3 {
    font-size: 20px;
    margin: 6px 0 6px;
    color: var(--dark);
    font-weight: 600;
}

.no-products p {
    color: var(--dark-gray);
    margin: 0 0 12px;
    font-size: 14px;
}

.no-products a.btn,
.no-products a {
      color: #d51232;
    font-weight: 600;
    background: rgba(213, 18, 50, 0.06);
    border-bottom: 2px solid #d51232;
    text-decoration: none;
}

@media (max-width: 520px) {
    .no-products {
        padding: 20px 12px;
        margin: 20px auto;
    }
    .no-products i { font-size: 40px; }
}


.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.category-card {
    background-color: #02154f;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
    text-align: center;
    padding: 40px 25px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #02154f;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover,
.category-card:focus {
    border-color: #d51232;
    background-color: #d51232;
    outline: none;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.category-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}
.section-subtitle{
    text-align: center;
    padding-bottom: 20px;
}
.category-count {
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Testimonials */

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: #d51232;
    padding: 40px;
    border-radius: 4px;
    box-shadow: none;
    text-align: center;
    margin: 0 15px;
    border: 1px solid #d51232;
}

.testimonial-text {
    font-style: normal;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.8;
    color:#d8d8d8;
}

.testimonial-author {
    color: #02154f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 16px;
}

.author-info p {
    color: #beceff;
    font-size: 14px;
}

/* Newsletter */
.newsletter {
    background: #d51232;
    color: var(--light);
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #f0e6d2;
    font-size: 16px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: #d8d8d8;
}

.newsletter-form button {
    background: #02154f;
    color: #d8d8d8;
    border: none;
    padding: 16px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: background 0.3s;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsletter-form button:hover,
.newsletter-form button:focus {
    background: #02154f;
    outline: none;
}

/* Footer */
footer {
    background-color: #02154f;
    color: #f0e6d2;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 1px;
    background-color: var(--light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d8d8d8;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #d51232;
    outline: none;
}

/* Footer contact link styles: keep contact links readable on dark footer and
   use brand red for hover/focus to match site theme. */
.footer-links a,
.footer-links a:visited {
    color: var(--light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li i {
    color: var(--light);
    margin-right: 8px;
    min-width: 18px;
    text-align: center;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #d51232;
    text-decoration: none;
}

/* Make mailto: and tel: links clearly interactive */
.footer-links a[href^="mailto:"],
.footer-links a[href^="tel:"] {
    border-bottom: 1px dashed rgba(255,255,255,0.08);
    padding-bottom: 2px;
}

.footer-links a[href^="mailto:"]:hover,
.footer-links a[href^="tel:"]:hover,
.footer-links a[href^="mailto:"]:focus,
.footer-links a[href^="tel:"]:focus {
    border-bottom-color: rgba(227,27,35,0.85);
    color: var(--primary);
    outline: none;
}

.footer-links a:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.12);
    border-radius: 4px;
}

.footer-links a i {
    margin-right: 12px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--light);
    transition: all 0.3s;
}

.social-links a:hover,
.social-links a:focus {
    background-color: var(--light);
    color: var(--dark);
    border-color: var(--light);
    outline: none;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 28px;
    color: var(--gray);
    transition: color 0.3s;
}

.payment-methods i:hover {
    color: var(--light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 14px;
}
/* Fix for Instagram modal display */
/* Instagram Modal Modern Fix */
#instagram-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s;
    overflow-y: auto;
}

#instagram-modal .instagram-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 20px 24px 20px;
    max-width: 350px;
    width: 90vw;
    max-height: 90vh;
    overflow: auto;
    text-align: center;
    margin: 32px 0;
    animation: modalPopIn 0.25s cubic-bezier(.4,2,.6,1) 1;
}

#instagram-modal .close-btn, #instagram-modal .close-modal {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2;
    transition: color 0.2s;
}
#instagram-modal .close-btn:hover, #instagram-modal .close-modal:hover {
    color: #e1306c;
}

#instagram-modal img,
#instagram-modal canvas {
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

#instagram-modal h2,
#instagram-modal .modal-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: #e1306c;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes modalPopIn {
    0% { transform: scale(0.95) translateY(30px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
/* Instagram Modal Fix */
.instagram-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 9999;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    padding: 24px 16px 16px 16px;
    max-width: 350px;
    width: 90vw;
    max-height: 90vh;
    overflow: auto;
    text-align: center;
}

.instagram-modal .close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
}

.instagram-modal img,
.instagram-modal canvas {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.instagram-modal h2,
.instagram-modal .modal-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #e1306c;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#instagram-modal.show {
    opacity: 1;
}

/* Ensure modal content is centered properly */
#instagram-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 90%;
    width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Make close button more visible */
#instagram-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

#instagram-modal .close-modal:hover {
    background-color: #f5f5f5;
    color: #333;
}
/* Modal */
.modal {
    /* hidden by default; script toggles to flex when open */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* When the modal is shown (JS sets style.display='flex' and aria-hidden), ensure flex centering works */
.modal[aria-hidden="false"], .modal.show { display: flex; }

.modal-content {
    background: var(--light);
    border-radius: 8px;
    width: 100%;
    max-width: 760px; /* allow wider layout on desktop */
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 80px); /* keep some room above/below */
    overflow-y: auto;
    border: 1px solid var(--border);
    margin: 0 auto;
}

/* If content is taller than viewport, allow it to start at the top on small screens */
@media (max-width: 640px) {
    .modal { align-items: flex-start; padding-top: 24px; padding-bottom: 24px; }
    .modal-content { max-width: 95%; padding: 18px; border-radius: 8px; max-height: calc(100vh - 48px); }
}

/* Improve accessibility: trap focus outline visibility */
.modal-content :focus { outline: 2px solid rgba(213,18,50,0.15); }


.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    border-radius: 50%;
}

.close-modal:hover,
.close-modal:focus {
    background-color: var(--secondary);
    outline: none;
}

.modal h2 {
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 1px;
}

/* Cart and Wishlist Items */
.cart-item, .wishlist-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    transition: all 0.3s;
}

.cart-item:hover, .wishlist-item:hover {
    background-color: var(--secondary);
}

.cart-item img, .wishlist-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-item-details, .wishlist-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title, .wishlist-item-title {
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
    font-size: 15px;
}

.cart-item-price, .wishlist-item-price {
    color: var(--dark);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 12px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--light);
    color: var(--dark);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--dark);
    color: var(--light);
    border-color: var(--dark);
}

.quantity-input {
    width: 45px;
    text-align: center;
    margin: 0 10px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
}

.remove-item {
    color: var(--dark);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 10px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.remove-item:hover {
    background-color: var(--secondary);
}

.wishlist-item-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.add-to-cart-from-wishlist {
    padding: 10px 20px;
    font-size: 14px;
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.add-to-cart-from-wishlist:hover {
    background: var(--dark);
    color: var(--light);
}

.cart-total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cart-total h3 {
    color: var(--dark);
    font-size: 18px;
    font-weight: 400;
}

#cart-total-price {
    color: var(--dark);
    font-weight: 400;
    font-size: 22px;
}

.cart-empty, .wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cart-empty i, .wishlist-empty i {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--border);
    display: block;
}

.cart-empty p, .wishlist-empty p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Wishlist modal improvements */
.modal .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.modal .modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal .modal-header i {
    font-size: 20px;
    color: #d51232;
}

.modal .modal-body {
    padding: 0;
}

.wishlist-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wishlist-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.wishlist-item:last-child { border-bottom: none; }

.wishlist-item-left img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.wishlist-item-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.wishlist-item-info {
    min-width: 0;
}
.spaa {
    background: #888888;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 2px;
    height: 27px;
}
.wishlist-item-info strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 6px;
}

.wishlist-item-price {
    color: var(--dark-gray);
    font-size: 14px;
}

.wishlist-item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-small {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 4px;
    min-height: 32px;
}

.btn-cart {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-cart i { margin-right: 6px; }

.btn-remove {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-cart:hover, .btn-remove:hover {
    background: var(--dark);
    color: var(--light);
    border-color: var(--dark);
}

.modal .modal-footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.modal .modal-footer a.btn {
    color: #6b2c90;
    background: #faebd7;
    padding: 0;
}

/* Keep modal wider on desktop like screenshot */
.modal-content {
    max-width: 760px;
}

/* small screens tweak */
@media (max-width: 520px) {
    .modal .modal-content { padding: 20px; }
    .wishlist-item { gap: 12px; }
    .wishlist-item-left img { width: 60px; height: 60px; }
}

/* Product Details Page */
.product-details-page {
    padding: 40px 0;
    background: var(--light);
    min-height: calc(100vh - 200px);
}

.product-breadcrumb {
    margin-bottom: 40px;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-item a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
    font-size: 14px;
}

.breadcrumb-item a:hover {
    color: var(--dark);
}

.breadcrumb-separator {
    color: var(--gray);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--dark);
    font-weight: 400;
}

.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.main-product-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--secondary);
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 40px;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    padding: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    border-top: 1px solid var(--border);
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    background: var(--secondary);
    border-radius: 4px;
}

.product-thumbnail:hover {
    border-color: var(--dark);
}

.product-thumbnail.active {
    border-color: var(--dark);
}

.product-info-details {
    background: transparent;
    padding: 0;
    position: relative;
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 4px;
}

.product-category {
    color: #d51232;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 400;
}

.product-title-details {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.3;
}

.product-price-details {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 0 0 30px;
    border-bottom: 1px solid var(--border);
}

.current-price {
    font-size: 28px;
    font-weight: 400;
    color: var(--dark);
}

.old-price {
    font-size: 20px;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 300;
}

.stars {
    color: #ffd700;
    display: flex;
    gap: 2px;
}

.rating-count {
    color: var(--gray);
    font-size: 14px;
    margin-left: 12px;
}

.product-actions-details {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 32px 0 18px 0;
}
.qty-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #d51232;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  background: #fff;
  color: #d51232;
  border: none;
  font-size: 20px;
  width: 36px;
  height: 38px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.qty-btn:hover {
  background: #d51232;
  color: #fff;
}
.qty-input {
  width: 48px;
  border: none;
  text-align: center;
  font-size: 16px;
  outline: none;
  background: #fff;
  color: #111;
}
.actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-add-to-cart {
  background: #fff;
  color: #d51232;
  border: 2px solid #d51232;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, color 0.2s;
}
.btn-add-to-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-add-to-cart:hover:not(:disabled),
.btn-add-to-cart:focus:not(:disabled) {
  background: #d51232;
  color: #fff;
}
.btn-wishlist,
.btn-wishlist-ghost {
  background: #fff;
  color: #d51232;
  border: 2px solid #d51232;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
}
.btn-wishlist:hover,
.btn-wishlist:focus,
.btn-wishlist-ghost:hover,
.btn-wishlist-ghost:focus {
  background: #d51232;
  color: #fff;
}
.btn-wishlist-ghost {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  justify-content: center;
}
.btn-buy-now {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 38px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: background 0.2s, color 0.2s;
}
.btn-buy-now:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-buy-now:hover,
.btn-buy-now:focus {
  background: #d51232;
  color: #fff;
}

@media (max-width: 600px) {
  .product-actions-details {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .btn-buy-now {
    width: 100%;
    padding: 14px 0;
  }
}

/* --- Product Details Option Buttons and Actions --- */
.product-options {
  margin: 24px 0 32px 0;
}
.option-group {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}
.option-label {
  font-weight: 500;
  margin-right: 16px;
  min-width: 60px;
  font-size: 15px;
}
.option-buttons {
  display: flex;
  gap: 10px;
}
.option-btn {
  padding: 8px 18px;
  border: 1.5px solid #d51232;
  background: #fff;
  color: #d51232;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
}
.option-btn.active,
.option-btn:focus,
.option-btn:hover {
  background: #d51232;
  color: #fff;
  border-color: #d51232;
}

/* --- Center Related Products Grid and Card --- */
.related-products-grid {
  justify-content: center;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
}
.related-product-card {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 18px;
  min-height: 340px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.related-thumb {
  margin-bottom: 12px;
}
.related-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  text-align: center;
}
.related-price {
  color: #d51232;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}
.related-product-card .btn-add-to-cart.small {
  margin-top: 10px;
  width: 90px;
  text-align: center;
  display: inline-block;
}
.related-link {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
@media (max-width: 600px) {
  .related-products-grid {
    justify-content: center;
    align-items: center;
  }
  .related-product-card {
    width: 100%;
    max-width: 320px;
  }
}
/* ========== PRODUCT DETAILS RESPONSIVE ========== */

/* Mobile first approach */
@media (max-width: 768px) {
    .product-details-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 0 15px;
    }
    
    .main-product-image-container {
        height: 300px !important;
    }
    
    .product-info-details {
        padding: 25px !important;
    }
    
    .product-title-details {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .product-price-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .product-actions-details {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin: 25px 0;
    }
    
    .qty-wrapper {
        align-self: flex-start;
    }
    
    .actions-wrapper {
        width: 100%;
    }
    
    .btn-add-to-cart,
    .btn-wishlist {
        width: 100%;
        justify-content: center;
    }
    
    .action-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-buy-now {
        width: 100%;
    }
    
    /* Option buttons responsiveness */
    .option-group {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .option-buttons {
        flex-wrap: wrap;
        margin-top: 10px;
        width: 100%;
    }
    
    .option-btn {
        flex: 1 0 auto;
        min-width: 60px;
        margin: 3px;
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .product-details-container {
        gap: 40px;
        padding: 0 20px;
    }
    
    .main-product-image-container {
        height: 400px;
    }
    
    .product-info-details {
        padding: 30px;
    }
}

/* Fix for very small screens */
@media (max-width: 480px) {
    .main-product-image-container {
        height: 250px !important;
    }
    
    .product-title-details {
        font-size: 20px !important;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .product-info-details {
        padding: 20px !important;
    }
    
    .description h3 {
        font-size: 16px;
    }
    
    .description p {
        font-size: 14px;
    }
    
    .qty-wrapper {
        width: 100%;
        justify-content: center;
    }
    
    .option-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ========== RELATED PRODUCTS RESPONSIVE FIX ========== */
.related-products {
    padding: 40px 0;
    background: var(--light);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.related-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--secondary);
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image {
    transform: scale(1.05);
}

.related-title {
    padding: 15px 15px 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.4;
    flex-grow: 1;
}

.related-price {
    padding: 0 15px 15px;
    font-size: 18px;
    font-weight: 600;
    color: #d51232;
}

/* Related products responsive */
@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .related-product-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .related-products-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .related-product-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ========== ADDITIONAL MOBILE MENU FIXES ========== */
@media (max-width: 768px) {
    .category-section{
        display: none;
    }   
    .header-top {
        padding: 15px 0;
        flex-wrap: wrap;
    }
    .img-space{
        width: 98px !important;
    }
    .logo img {
        width: 120px;
        height: auto;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        margin: 15px 0 0 0;
        display: none;
    }
    
    .search-bar.mobile-visible {
        display: block !important;
    }
    
    .search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-container input,
    .search-container select {
        width: 100%;
        border-left: 1px solid #d51232;
    }
    
    .search-container select {
        border-left: none;
    }
    
    .search-suggestions {
        position: static;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 5px;
    }
    
    .mobile-search-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        display: none;
    }
    
    /* Adjust modal for mobile */
    .modal-content {
        width: 95%;
        max-height: 85vh;
        margin: 0 auto;
    }
}

/* Ensure product gallery is responsive */
@media (max-width: 768px) {
    .product-gallery {
        order: -1;
    }
}

/* Fix touch targets for mobile */
@media (max-width: 768px) {
    .btn-add-to-cart,
    .btn-wishlist,
    .btn-buy-now,
    .option-btn {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .qty-btn {
        width: 44px;
        height: 44px;
    }
    
    .qty-input {
        height: 44px;
    }
}

/* Prevent horizontal scrolling on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .newsletter-form{
        flex-wrap: wrap;
    }
    .container {
        padding: 0 15px;
    }
}

/* Instagram Modal Styles */
#instagram-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#instagram-modal.show {
    opacity: 1;
}

#instagram-modal .modal-content {
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h3 i {
    color: #E1306C;
    font-size: 1.2rem;
}

.modal-header .close-modal {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
    top: 1px;
    right: 9px;
}

.modal-header .close-modal:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
}

/* Instagram Modal Content */
.instagram-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .instagram-modal-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
}

/* QR Code Section */
.instagram-qr-code {
    text-align: center;
    flex: 1;
    min-width: 0;
    padding: 1rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.instagram-qr-code img {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 8px;
    padding: 12px;
    background: white;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.instagram-qr-code img:hover {
    transform: scale(1.02);
}

.instagram-qr-code p {
    margin-top: 1.25rem;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.instagram-qr-code p i {
    color: #E1306C;
    margin-right: 0.5rem;
}

/* Link Section */
.instagram-link-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    padding: 1rem;
}

.instagram-link-display {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 480px) {
    .instagram-link-display {
        flex-direction: row;
        align-items: center;
    }
    .img-space{
        width: 78px !important;
    }
}

.instagram-link-display input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #fafafa;
    font-family: 'Inter', sans-serif;
    color: #333;
    transition: all 0.3s ease;
    min-width: 0;
}

.instagram-link-display input:focus {
    outline: none;
    border-color: #E1306C;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.1);
}

.instagram-link-display input::selection {
    background-color: rgba(225, 48, 108, 0.2);
}

#copy-link-btn {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    min-height: 48px;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2);
}

#copy-link-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
}

#copy-link-btn:active {
    transform: translateY(0);
}

#copy-link-btn.copied {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.2);
}

#copy-link-btn.copied:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
}

.instagram-note {
    color: #666;
    font-size: 0.875rem;
    margin: 0.5rem 0;
    text-align: center;
    line-height: 1.5;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #E1306C;
}

@media (min-width: 768px) {
    .instagram-note {
        text-align: left;
    }
}

/* Instagram Button */
.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.btn-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-instagram:hover::before {
    opacity: 1;
}

.btn-instagram:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.btn-instagram:active {
    transform: translateY(-1px);
}

.btn-instagram i {
    font-size: 1.2rem;
}

/* Responsive Breakpoints */

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575.98px) {
    #instagram-modal .modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: 95%;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .instagram-modal-content {
        gap: 1.5rem;
        padding: 0;
    }
    
    .instagram-qr-code {
        padding: 0.75rem;
    }
    
    .instagram-qr-code img {
        max-width: 180px;
        padding: 10px;
    }
    
    .instagram-link-section {
        padding: 0.75rem;
    }
    
    .instagram-link-display input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    #copy-link-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-instagram {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Small Devices (Tablets, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #instagram-modal .modal-content {
        margin: 8% auto;
        width: 90%;
        max-width: 500px;
    }
    
    .instagram-modal-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .instagram-qr-code,
    .instagram-link-section {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Medium Devices (Tablets/Laptops, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #instagram-modal .modal-content {
        margin: 7% auto;
        width: 85%;
        max-width: 650px;
    }
    
    .instagram-modal-content {
        gap: 2rem;
    }
    
    .instagram-qr-code img {
        max-width: 200px;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
    #instagram-modal .modal-content {
        margin: 5% auto;
        width: 80%;
        max-width: 700px;
    }
    
    .instagram-modal-content {
        gap: 3rem;
    }
    
    .instagram-qr-code img {
        max-width: 220px;
    }
}

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
    #instagram-modal .modal-content {
        max-width: 750px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    #instagram-modal .modal-content {
        margin: 2% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .instagram-modal-content {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .instagram-qr-code img {
        max-width: 150px;
    }
    
    .btn-instagram {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .instagram-qr-code img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support (if implemented) */
@media (prefers-color-scheme: dark) {
    #instagram-modal .modal-content {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .modal-header {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border-bottom-color: #333;
    }
    
    .modal-header h3 {
        color: #ffffff;
    }
    
    .modal-header .close-modal {
        color: #bbb;
    }
    
    .modal-header .close-modal:hover {
        background-color: #333;
        color: #fff;
    }
    
    .instagram-qr-code {
        background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
        border-color: #333;
    }
    
    .instagram-qr-code img {
        background: #2a2a2a;
        border-color: #444;
    }
    
    .instagram-qr-code p {
        color: #bbb;
    }
    
    .instagram-link-display input {
        background-color: #2a2a2a;
        border-color: #444;
        color: #ffffff;
    }
    
    .instagram-link-display input:focus {
        border-color: #E1306C;
        background-color: #333;
    }
    
    .instagram-note {
        color: #aaa;
        background-color: #2a2a2a;
    }
}

/* Print Styles */
@media print {
    #instagram-modal {
        display: none !important;
    }
}

/* Accessibility Improvements */

#instagram-modal:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

#copy-link-btn:focus,
.btn-instagram:focus,
#instagram-modal .close-btn:focus,
#instagram-modal .close-modal:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Loading state for QR code */
.instagram-qr-code.loading img {
    opacity: 0.5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Success animation for copy */
@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

#copy-link-btn.copied {
    animation: successPulse 0.3s ease;
    
}
.spaa{
    background: #888888;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 2px;
}
.payment-methods .spaa:hover {
    background: var(--light);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

:root {
    /* Minimal Color Palette */
    --primary: #000000;
    --primary-dark: #333333;
    --secondary: #f8f8f8;
    --accent: #e8e8e8;
    --accent-dark: #d8d8d8;
    --dark: #111111;
    --light: #ffffff;
    --gray: #888888;
    --dark-gray: #666666;
    --border: #e0e0e0;
    --success: #000000;
    --warning: #000000;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 8px rgba(0,0,0,0.08);
}

button:focus, a:focus, input:focus, select:focus, textarea:focus{
    outline: transparent !important;
    outline-offset: unset !important;
}

html {
    height: -webkit-fill-available;
    scroll-behavior: smooth;
}

body {
    background-color: #f0e6d2; /* jnjn */
    line-height: 1.6;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #f0e6d2;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    flex-wrap: nowrap;
}

.logo {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.7;
}

.logo i {
    margin-right: 12px;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #d51232;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #f0e6d2;
    color: var(--dark);
}

.search-bar input:focus {
    border-color: var(--dark);
    background: var(--light);
}

.search-bar button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #d51232;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.search-bar button:hover {
    color: #02154f;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.header-actions a i {
    font-size: 18px;
}

.header-actions a {
    color: #02154f;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    width: 40px;
    height: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
    position: relative;
}

.cart-count, .wishlist-count {
    position: absolute;
    top: -3px;
    right: 0px;
    background-color: #d51232;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
    z-index: 10;
}

/* Header action icon/link styles: use navy by default, brand red on hover/focus */
.header-actions a,
.header-actions a i {
    color: var(--dark);
}

.header-actions a:hover,
.header-actions a:focus {
    color: var(--primary);
    outline: none;
}

.header-actions a:focus {
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.12);
    border-radius: 6px;
}

/* ========== MAIN NAVIGATION ========== */
nav {
    background-color: #d51232;
    padding: 0;
    border-top: 1px solid #d51232;
    position: relative;
    z-index: 1000;
}

.nav-links > li {
    margin: 0 12px;
    position: relative;
}

.nav-links > li > a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
}

.nav-links > li > a i:first-child {
    margin-right: 8px;
    font-size: 16px;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus {
    opacity: 0.7;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dark);
    transition: width 0.3s;
}

.nav-links > li > a:hover::after,
.nav-links > li > a:focus::after {
    width: 100%;
}

/* ========== MEGA MENU STYLES - FIXED ========== */
.mega-menu-container {
    position: static !important;
    color: #02154f;
}

.mega-menu-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.mega-menu-trigger i:last-child {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mega-menu-container:hover .mega-menu-trigger i:last-child {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute !important;
    left: 0 !important;
    transform: translateX(0) !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    border-top: 2px solid var(--dark) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    top: 100%;
    background: #02154f;
    border: 1px solid #02154f;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.mega-menu.active,
.mega-menu-container:hover .mega-menu {
    color: #02154f;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.mega-menu-content h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #d51232;
    padding-bottom: 15px;
    padding-top: 40px;
    text-align: center;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 40px 40px;
}

.mega-menu-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #d51232;
    padding: 20px;
    background: transparent;
    text-decoration: none;
    display: block;
}

.mega-menu-item:hover {
    border-color: #d51232;
    background: #d51232;
    transform: translateY(-5px);
}

.mega-menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    background: var(--secondary);
    border-radius: 2px;
}

.mega-menu-item h4 {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
}

.mega-menu-item p {
    font-size: 13px;
    color: #d8d8d8;
    line-height: 1.5;
}

/* Fix for broken image links */
.mega-menu-item img[src*=".jfif"] {
    background: var(--secondary) !important;
}

/* Fix for broken anchor tags in casual wear section */
.mega-menu-item > a {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}

/* Fix for broken image in active wear section */
.mega-menu-item a img[src="assets/image/"] {
    display: none !important;
}

.mega-menu-item a img[src="assets/image/"] + h4,
.mega-menu-item a img[src="assets/image/"] + h4 + p {
    opacity: 0.5 !important;
}

/* Fix for missing images in mega menu */
.mega-menu-item:has(img[src=""]) {
    opacity: 0.7 !important;
}

/* Fix for casual wear section broken HTML structure */
.mega-menu-item a:empty {
    display: none !important;
}

.mega-menu-item img:first-child:not([alt]) {
    display: none !important;
}

/* Fix for broken links in casual wear */
.mega-menu-item:has(a[href="Jeans.html"]:empty) {
    position: relative !important;
}

.mega-menu-item:has(a[href="Jeans.html"]:empty) a {
    display: none !important;
}

.mega-menu-item:has(a[href="Jeans.html"]:empty) img {
    margin-bottom: 10px !important;
}

/* ========== MOBILE MEGA MENU ========== */
.mobile-mega-menu {
    display: none;
    background: var(--secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-mega-menu.active {
    display: block;
    max-height: 500px;
    animation: slideDown 0.3s ease;
}

.mobile-mega-menu a {
    display: flex;
    align-items: center;
    padding: 15px 50px !important;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-mega-menu a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--dark);
}

.mobile-mega-menu a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.mobile-mega-menu-item.active .mobile-mega-menu-trigger i.fa-angle-down {
    transform: rotate(180deg);
}

.mobile-mega-menu-trigger i.fa-angle-down {
    transition: transform 0.3s ease;
    float: right;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-left: 15px;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background-color: var(--secondary);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1998;
    opacity: 0;
    background: #d51232;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #02154f;
    z-index: 1999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px #02154f;
}

.mobile-menu-container.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border);
    background: #f0e6d2;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-menu-header h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    color: #d51232;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.mobile-menu-close:hover {
    background: var(--secondary);
}

.mobile-menu-content {
    padding: 0;
}

.mobile-menu-content > a {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #f0e6d2;
    transition: background-color 0.3s;
    font-size: 16px;
    font-weight: 400;
}

.mobile-menu-content > a:hover {
    background-color: var(--secondary);
}

.mobile-menu-content > a i:first-child {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.mobile-mega-menu-item {
    border-bottom: 1px solid #f0e6d2;
}
.mobile-mega-menu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 25px !important;
    color: #ffffff;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-mega-menu-trigger i:first-child {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.mobile-mega-menu-trigger i:last-child {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.mobile-mega-menu-item.active .mobile-mega-menu-trigger i:last-child {
    transform: rotate(180deg);
}
.mobile-mega-menu-item.active .mobile-mega-menu-trigger {
    background-color: #d51233d5;
}

/* Mobile Search Toggle */
.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    color: #d51232;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-left: 10px;
}

.mobile-search-toggle:hover {
    background-color: #02154f;
}

.search-bar.mobile-visible {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--light) !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: var(--shadow-md) !important;
    z-index: 1001 !important;
}

/* ========== BANNER SLIDER ========== */
.banner-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: #d51232;
    max-width: 600px;
    bottom: 20%;
    left: 5%;
}

.slide-content h1 {
    font-size: 42px;
    font-weight: 300;
    color: #d4edda;
    margin-bottom: 5px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 16px;
    color: #d4edda;
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 500px;
}

.slide-content .btn {
    background-color: #d51232;
    color: var(--light);
    border: 1px solid #d51232;
    padding: 14px 32px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.slide-content .btn:hover {
    background-color: #02154f;
    border-color: #02154f;
    color: var(--light);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #d51232;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: #02154f;
    color: var(--light);
    border-color: #02154f;
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d51232;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    opacity: 1;
    background: #02154f;
}

.dot:hover {
    opacity: 0.8;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== PRODUCT SLIDER SECTION ========== */
.product-slider-section {
    margin-bottom: 80px;
    position: relative;
}

.product-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.product-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
}

.product-slider-item {
    /* show 3 items per row by default */
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
}

.product-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.product-slider-btn:hover {
    background: var(--dark);
    color: var(--light);
    border-color: var(--dark);
    transform: translateY(-50%) scale(1.1);
}

.product-slider-btn.prev {
    left: 0;
}

.product-slider-btn.next {
    right: 0;
}

.product-slider-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.product-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.product-slider-dot.active {
    background: var(--dark);
    transform: scale(1.2);
}

.product-slider-dot:hover {
    background: var(--dark-gray);
}

/* Product Card Adjustments for Slider */
.product-slider-item .product-card {
    height: 100%;
    margin: 0;
}

.product-slider-item .product-img {
    height: 220px;
}

.product-slider-item .product-info {
    padding: 20px;
}

.product-slider-item .product-title {
    font-size: 15px;
    line-height: 1.4;
}

.product-slider-item .add-to-cart {
    padding: 12px;
    font-size: 13px;
}

/* Products Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: #d51232;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #d51232;
    margin: 12px auto 0;
    position: absolute;
    left: 0;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    background-color: #02154f;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #d51232;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #02154f;
    box-shadow: #d51232;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--light);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 400;
    z-index: 2;
    letter-spacing: 1px;
    background: var(--dark);
}

.product-badge.sale {
    background-color: #d51232;
}

.product-badge.new {
    background-color: #02154f;
}
.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 2;
    gap: 8px;
}

.product-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.3s;
    border: 1px solid var(--border);
    color: var(--dark);
}

.product-action:hover,
.product-action:focus {
    background: #d51232;
    color: var(--light);
    transform: none;
    outline: none;
    border-color: var(--dark);
}

.product-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    background: var(--secondary);
}

.product-card:hover .product-img {
    transform: scale(1.02);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    color: #d51232;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.product-price {
    color: var(--dark);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.product-price .old-price {
    color: #d51232;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 300;
}

.product-rating {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.product-rating span {
    color: #f0e6d2;
    font-size: 13px;
    margin-left: 8px;
}

.add-to-cart {
    width: 100%;
    padding: 14px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #d51232;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.add-to-cart i {
    margin-right: 10px;
}

.add-to-cart:hover,
.add-to-cart:focus {
    background-color: #d51232;
    color: var(--light);
    outline: none;
}

/* Categories Section */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.category-card {
    background-color: #02154f;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
    text-align: center;
    padding: 40px 25px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #02154f;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover,
.category-card:focus {
    border-color: #d51232;
    background-color: #d51232;
    outline: none;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.category-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}


/* Testimonials */
.testimonials {
    background: #02154f;
    padding: 80px 0;
    color: #d8d8d8;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: #d51232;
    padding: 40px;
    border-radius: 4px;
    box-shadow: none;
    text-align: center;
    margin: 0 15px;
    border: 1px solid #d51232;
}

.testimonial-text {
    font-style: normal;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.8;
    color:#d8d8d8;
}

.testimonial-author {
    color: #02154f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 16px;
}

.author-info p {
    color: #beceff;
    font-size: 14px;
}

/* Newsletter */


.newsletter h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #f0e6d2;
    font-size: 16px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: #d8d8d8;
}

.newsletter-form button {
    background: #02154f;
    color: #d8d8d8;
    border: none;
    padding: 16px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: background 0.3s;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsletter-form button:hover,
.newsletter-form button:focus {
    background: #02154f;
    outline: none;
}

/* Footer */
footer {
    background-color: #02154f;
    color: #f0e6d2;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 1px;
    background-color: var(--light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d8d8d8;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #d51232;
    outline: none;
}

/* Footer contact link styles: keep contact links readable on dark footer and
   use brand red for hover/focus to match site theme. */
.footer-links a,
.footer-links a:visited {
    color: var(--light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li i {
    color: var(--light);
    margin-right: 8px;
    min-width: 18px;
    text-align: center;
}


/* Make mailto: and tel: links clearly interactive */
.footer-links a[href^="mailto:"],
.footer-links a[href^="tel:"] {
    border-bottom: 1px dashed rgba(255,255,255,0.08);
    padding-bottom: 2px;
}

.footer-links a[href^="mailto:"]:hover,
.footer-links a[href^="tel:"]:hover,
.footer-links a[href^="mailto:"]:focus,
.footer-links a[href^="tel:"]:focus {
    border-bottom-color: rgba(227,27,35,0.85);
    color: #d51232;
    outline: none;
}

.footer-links a:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.12);
    border-radius: 4px;
}
.footer-links a:hover{
    color: #d51232;
}
.footer-links a i {
    margin-right: 12px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--light);
    transition: all 0.3s;
}

.social-links a:hover,
.social-links a:focus {
    background-color: var(--light);
    color: var(--dark);
    border-color: var(--light);
    outline: none;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 28px;
    color: var(--gray);
    transition: color 0.3s;
}

.payment-methods i:hover {
    color: var(--light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--light);
    border-radius: 4px;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    border-radius: 50%;
}

.close-modal:hover,
.close-modal:focus {
    background-color: var(--secondary);
    outline: none;
}

.modal h2 {
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 1px;
}

/* Cart and Wishlist Items */
.cart-item, .wishlist-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    transition: all 0.3s;
}

.cart-item:hover, .wishlist-item:hover {
    background-color: var(--secondary);
}

.cart-item img, .wishlist-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-item-details, .wishlist-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title, .wishlist-item-title {
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
    font-size: 15px;
}

.cart-item-price, .wishlist-item-price {
    color: var(--dark);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 12px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--light);
    color: var(--dark);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--dark);
    color: var(--light);
    border-color: var(--dark);
}

.quantity-input {
    width: 45px;
    text-align: center;
    margin: 0 10px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
}

.remove-item {
    color: var(--dark);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 10px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.remove-item:hover {
    background-color: var(--secondary);
}

.wishlist-item-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.add-to-cart-from-wishlist {
    padding: 10px 20px;
    font-size: 14px;
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.add-to-cart-from-wishlist:hover {
    background: var(--dark);
    color: var(--light);
}

.cart-total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cart-total h3 {
    color: var(--dark);
    font-size: 18px;
    font-weight: 400;
}

#cart-total-price {
    color: var(--dark);
    font-weight: 400;
    font-size: 22px;
}

.cart-empty, .wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cart-empty i, .wishlist-empty i {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--border);
    display: block;
}

.cart-empty p, .wishlist-empty p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Product Details Page */
.product-details-page {
    padding: 40px 0;
    background: var(--light);
    min-height: calc(100vh - 200px);
}

.product-breadcrumb {
    margin-bottom: 40px;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-item a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
    font-size: 14px;
}

.breadcrumb-item a:hover {
    color: var(--dark);
}

.breadcrumb-separator {
    color: var(--gray);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--dark);
    font-weight: 400;
}

.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.main-product-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--secondary);
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 40px;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    padding: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    border-top: 1px solid var(--border);
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    background: var(--secondary);
    border-radius: 4px;
}

.product-thumbnail:hover {
    border-color: var(--dark);
}

.product-thumbnail.active {
    border-color: var(--dark);
}

.product-info-details {
    background: transparent;
    padding: 0;
    position: relative;
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 4px;
}

.product-category {
    color: var(--gray);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 400;
}

.product-title-details {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.3;
}

.product-price-details {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 0 0 30px;
    border-bottom: 1px solid var(--border);
}

.current-price {
    font-size: 28px;
    font-weight: 400;
    color: var(--dark);
}

.old-price {
    font-size: 20px;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 300;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    padding:0 0 20px 0;
    border-bottom: 1px solid var(--border);
}
.rating-count {
    color: var(--gray);
    font-size: 14px;
    margin-left: 12px;
}

.product-actions-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.btn-add-to-cart {
    grid-column: 1 / -1;
    padding: 18px;
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-to-cart:hover {
    background: var(--dark);
    color: var(--light);
}

.btn-buy-now {
    padding: 18px;
    background: var(--dark);
    color: var(--light);
    border: 1px solid var(--dark);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-buy-now:hover {
    background: transparent;
    color: var(--dark);
}

.btn-wishlist-details {
    padding: 18px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist-details:hover {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-wishlist-details.active {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--light);
}

.product-tabs {
    margin-top: 60px;
    background: transparent;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.tab-headers {
    display: flex;
    background: transparent;
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    overflow-x: auto;
}

.tab-header {
    padding: 20px 30px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-header i {
    font-size: 16px;
    transition: color 0.3s;
}

.tab-header:hover {
    color: var(--dark);
}

.tab-header.active {
    color: var(--dark);
    background: transparent;
    border-bottom: 2px solid var(--dark);
}

.tab-content {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--dark);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    font-weight: 400;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.specs-table tr:hover {
    background: var(--secondary);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 18px 25px;
}

.specs-table td:first-child {
    font-weight: 400;
    color: var(--dark);
    width: 30%;
    background: transparent;
}

.specs-table td:last-child {
    color: var(--dark-gray);
    font-weight: 400;
}

.review-item {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 20px;
    background: transparent;
    transition: transform 0.3s;
}

.review-item:hover {
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    color: var(--dark);
}

.review-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 400;
    font-size: 16px;
}

.review-date {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 16px;
}

.review-text {
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.related-products {
    margin-top: 80px;
}

.related-products h2 {
    font-size: 24px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark);
    position: relative;
    padding-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.related-products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: var(--border);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Checkout Page */
.checkout-page {
    padding: 40px 0;
    background-color: var(--light);
    min-height: 70vh;
}



.checkout-form {
    background-color: var(--light);
    padding: 40px;
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid var(--border);
}

.checkout-summary {
    background-color: var(--light);
    padding: 40px;
    border-radius: 4px;
    box-shadow: none;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
}

.checkout-title {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 1px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 400;
    transition: opacity 0.3s;
    font-size: 14px;
}

.back-to-home:hover {
    opacity: 0.7;
}

.back-to-home i {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 14px;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: border 0.3s;
    background: var(--light);
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--dark);
    outline: none;
}

.checkout-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    gap: 20px;
}

.checkout-item-details {
    flex: 1;
    min-width: 0;
}

.checkout-item-title {
    font-weight: 400;
    margin-bottom: 8px;
    word-break: break-word;
    color: var(--dark);
    font-size: 15px;
}

.checkout-item-price {
    color: var(--dark);
    font-weight: 400;
    font-size: 15px;
}

.checkout-item-total {
    color: var(--dark);
    font-weight: 400;
    font-size: 16px;
    white-space: nowrap;
}

.checkout-totals {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--dark-gray);
}

.checkout-total-row.final {
    font-size: 18px;
    color: var(--dark);
    border-bottom: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--border);
    font-weight: 400;
}

.checkout-submit {
    background: var(--dark) !important;
    color: var(--light) !important;
    border: none;
    padding: 16px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
}

.checkout-submit:hover {
    background: var(--primary-dark) !important;
}

.checkout-submit i {
    font-size: 18px;
}

#cart-items, #wishlist-items, #checkout-items {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

#cart-items::-webkit-scrollbar,
#wishlist-items::-webkit-scrollbar,
#checkout-items::-webkit-scrollbar {
    width: 4px;
}

#cart-items::-webkit-scrollbar-track,
#wishlist-items::-webkit-scrollbar-track,
#checkout-items::-webkit-scrollbar-track {
    background: var(--secondary);
}

#cart-items::-webkit-scrollbar-thumb,
#wishlist-items::-webkit-scrollbar-thumb,
#checkout-items::-webkit-scrollbar-thumb {
    background: var(--dark);
}

/* Checkout Header */
.checkout-header {
    background-color: var(--dark);
    padding: 20px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.checkout-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header .logo {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.checkout-progress {
    display: flex;
    gap: 40px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color 0.3s;
}

.progress-step.active {
    color: white;
}

.progress-step-number {
    background-color: rgba(255,255,255,0.2);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.progress-step.active .progress-step-number {
    background-color: white;
    color: var(--dark);
}

/* Checkout Container */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: inline-flex !important; 
}

.checkout-container h1 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Checkout Grid Layout */


.checkout-left {
    flex: 1;
}

.checkout-right {
    flex: 1;
}

/* Checkout Sections */
.checkout-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.checkout-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
}

/* Form Styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group.required label::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Shipping Methods */
.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shipping-method {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #fff;
}

.shipping-method:hover {
    border-color: var(--primary);
    background-color: #f9f9f9;
}

.shipping-method.selected {
    border-color: var(--primary);
    background-color: rgba(0,123,255,0.05);
}

.shipping-method input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.shipping-method-info {
    flex: 1;
}

.shipping-method-name {
    font-weight: 500;
    color: var(--dark);
    font-size: 15px;
    margin-bottom: 4px;
}

.shipping-method-desc {
    font-size: 13px;
    color: var(--dark-gray);
}

.shipping-method-price {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
    white-space: nowrap;
}

/* Payment Select */
.payment-select-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-select-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
}

.payment-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: var(--dark);
    cursor: pointer;
    transition: border-color 0.3s;
}

.payment-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* Order Summary */
.order-summary {
    background-color: #f9f9f9;
    padding: 24px;
    border-radius: 4px;
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.order-items {
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.order-items::-webkit-scrollbar {
    width: 6px;
}

.order-items::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.order-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

.order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
    word-break: break-word;
}

.order-item-meta {
    font-size: 12px;
    color: var(--dark-gray);
    margin-bottom: 6px;
}

.order-item-qty {
    font-size: 13px;
    color: var(--dark-gray);
}

.order-item-total {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

/* Order Totals */
.order-totals {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--dark-gray);
    border-bottom: 1px solid #eee;
}

.total-row span:last-child {
    font-weight: 500;
}

.total-row.grand-total {
    border-bottom: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #ddd;
    font-size: 18px;
    color: var(--dark);
    font-weight: 600;
}

.total-row.grand-total span:last-child {
    font-weight: 700;
}

/* Place Order Button */
.btn-place-order {
    width: 100%;
    padding: 14px 20px;
    margin-top: 25px;
    background-color: var(--dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-place-order:hover:not(:disabled) {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-place-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-place-order i {
    font-size: 16px;
}

/* Empty Cart Message */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--dark-gray);
    text-align: center;
}

.empty-cart i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-cart p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--dark);
}

.empty-cart .btn {
    padding: 10px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

.empty-cart .btn:hover {
    background-color: var(--dark);
}

/* Alert Messages */
.alert {
    display: none;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 14px;
    animation: slideDown 0.3s ease-out;
}

.alert.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkout Responsive Design */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: relative;
        top: auto;
    }
    
    .checkout-progress {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .checkout-header .container {
        flex-direction: column-reverse;
        gap: 20px;
    }
    
    .checkout-progress {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .progress-step {
        font-size: 12px;
        gap: 6px;
    }
    
    .progress-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .checkout-container {
        padding: 0 15px;
    }
    
    .checkout-container h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .checkout-grid {
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 14px;
        font-size: 16px;
    }
    
    .checkout-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    
    .shipping-method {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .shipping-method-name {
        font-size: 14px;
    }
    
    .shipping-method-desc {
        font-size: 12px;
    }
    
    .shipping-method-price {
        font-size: 14px;
    }
    
    .order-summary {
        margin-top: 30px;
        padding: 20px;
    }
    
    .order-items {
        max-height: 250px;
    }
    
    .order-item {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .order-item img {
        width: 50px;
        height: 50px;
    }
    
    .order-item-name {
        font-size: 13px;
    }
    
    .total-row {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .total-row.grand-total {
        font-size: 16px;
    }
    
    .btn-place-order {
        padding: 12px 16px;
        font-size: 13px;
        margin-top: 20px;
    }
    
    .alert {
        padding: 12px 16px;
        margin-bottom: 20px;
        font-size: 13px;
    }
}
@media (max-width:425px){
    .img-space{
        width: 68px !important;
    }
    .logo img {
        width: 100px ;
        height: auto;
    }
}
@media (max-width: 480px) {
    .checkout-container h1 {
        font-size: 20px;
    }
    .checkout-progress{
        display: none !important;
    }
    .progress-step {
        font-size: 11px;
    }
    
    .progress-step span:last-child {
        display: none;
    }
    
    .section-title {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .shipping-methods {
        gap: 12px;
    }
    
    .shipping-method {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .shipping-method-price {
        font-size: 13px;
    }
    
    .order-summary {
        padding: 16px;
    }
    
    .order-item img {
        width: 45px;
        height: 45px;
    }
    
    .order-item-name {
        font-size: 12px;
    }
    
    .total-row,
    .total-row.grand-total {
        padding: 6px 0;
    }
    
    .btn-place-order {
        padding: 11px 14px;
        font-size: 12px;
    }
}
@media(max-width:320px){
    .img-space{
        width: 48px !important;
    }
    .logo img {
        width: 82px;
    }
    .header-actions {
        gap: 1px !important;
    }
}
/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 30px 30px;
    }
    
    .mega-menu-content h3 {
        padding-top: 30px;
    }
    
    .product-details-container {
        gap: 40px;
    }
    
    .main-product-image-container {
        height: 450px;
    }
    
    .checkout-container {
        gap: 30px;
    }
    
    .product-slider-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .banner-slider {
        height: 500px;
    }
    
    .slide {
        padding: 0 40px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .product-details-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-product-image-container {
        height: 400px;
    }
    
    .product-actions-details {
        grid-template-columns: 1fr;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-slider-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .product-slider-dots {
        display: flex;
    }
}

/* Tablet and Mobile Breakpoint */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-top {
        padding: 15px 0;
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 24px;
        order: 1;
    }
    
    .mobile-search-toggle {
        display: flex;
        order: 2;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .header-actions {
        order: 2;
        gap: 20px;
        margin-left: auto;
    }
    
    .search-bar {
        display: none;
        order: 4;
        width: 100%;
        max-width: 100%;
        margin: 15px 0 0 0;
    }
    
    .search-bar.mobile-visible {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    /* Hide desktop nav, show mobile toggle */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mega-menu {
        display: none !important;
    }
    
    /* Fix mobile mega menu */
    .mobile-mega-menu {
        display: block !important;
        max-height: 0 !important;
        transition: max-height 0.3s ease !important;
        background: #d51232;
    }
    
    .mobile-mega-menu-item.active .mobile-mega-menu {
        max-height: 500px !important;
    }
    
    .mobile-mega-menu a {
        padding: 12px 25px 12px 60px !important;
        color: #d8d8d8;
    }
    
    /* ========== BANNER SLIDER MOBILE FIXES ========== */
    .banner-slider {
        height: 350px !important;
        margin-bottom: 30px;
    }

    .slider-container {
        height: 100%;
    }

    .slider-track {
        height: 100%;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        padding: 20px !important;
        justify-content: flex-end;
        align-items: center;
        position: relative;
    }

    .slide-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.349) !important;
        padding: 20px !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
        max-width: 90% !important;
        z-index: 2;
        animation: fadeIn 0.5s ease-out !important;
        text-align: center !important;
        backdrop-filter: blur(2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .slide-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        animation: none !important;
        overflow: hidden;
    }

    .slide-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: unset !important;
        object-position: center center !important;
        border-radius: 0 !important;
        position: relative !important;
    }

    .slide-content h1 {
        font-size: 22px !important;
        margin-bottom: 15px !important;
        color: #d8d8d8!important;
        line-height: 1.3 !important;
    }

    .slide-content p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        color: #d8d8d8 !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    .slide-content .btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #d51232 !important;
        color: var(--light) !important;
        border: 1px solid #d51232 !important;
        z-index: 10 !important;
        position: relative !important;
        margin-top: 10px !important;
        cursor: pointer !important;
        white-space: nowrap !important;
    }

    .slider-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .slider-btn.prev {
        left: 10px !important;
    }

    .slider-btn.next {
        right: 10px !important;
    }

    .slider-dots {
        bottom: 15px !important;
        z-index: 3 !important;
    }

    .dot {
        width: 10px !important;
        height: 10px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .dot.active {
        background: var(--light) !important;
        transform: scale(1.2);
    }
    
    /* Mobile form improvements */
    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        font-size: 16px !important;
        padding: 14px 16px !important;
        border-radius: 8px !important;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    .checkout-form input:focus,
    .checkout-form select:focus,
    .checkout-form textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
    }
    
    /* Mobile button improvements */
    .btn {
        padding: 14px 20px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        min-height: 48px;
    }
    
    /* Mobile modal improvements */
    .modal {
        padding: 20px !important;
    }
    
    .modal-content {
        max-width: 95% !important;
        margin: 20px auto !important;
        border-radius: 12px !important;
    }
    
    /* Mobile product card improvements */
    .product-card {
        margin-bottom: 20px !important;
    }
    
    .product-card img {
        border-radius: 12px !important;
    }
    
    /* Mobile quantity controls */
    .quantity-controls {
        gap: 10px !important;
    }
    
    .quantity-controls button {
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 18px !important;
    }
    
    .quantity-controls input {
        min-height: 44px !important;
        font-size: 16px !important;
        text-align: center !important;
    }
    
    /* Ensure slide has proper stacking context */
    .slide {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 40px !important;
    }
    
    /* Products grid */
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .product-img {
        height: 180px;
    }
    
    /* Categories */
    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .category-card {
        padding: 25px 15px;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 50px 0;
    }
    
    /* Newsletter */
    .newsletter {
        padding: 50px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .checkout-summary {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Product details */
    .main-product-image-container {
        height: 300px;
    }
    
    .product-info-details {
        padding: 25px;
    }
    
    .product-title-details {
        font-size: 24px;
    }
    
    .tab-headers {
        flex-direction: column;
        padding: 0;
    }
    
    .tab-header {
        width: 100%;
        text-align: left;
        padding: 18px 25px;
        border-bottom: 1px solid var(--border);
    }
    
    .tab-header.active {
        border-bottom: 2px solid var(--dark);
    }
    
    .tab-content {
        padding: 25px;
    }
    
    /* Modal and cart */
    .cart-item, .wishlist-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .cart-item img, .wishlist-item img {
        width: 100%;
        height: 200px;
    }
    
    .wishlist-item-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .cart-total {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Mega menu mobile */
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
    
    /* Product Slider Mobile */
    .product-slider-wrapper {
        padding: 0 35px;
    }
    
    .product-slider-item {
        flex: 0 0 calc(50% - 10px);
    }
    .wishlist-item-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}
    .product-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .product-slider-item .product-img {
        height: 180px;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-slider {
        height: 300px !important;
    }
    
    .slide-content {
        padding: 15px !important;
        margin: 15px !important;
        max-width: 95% !important;
    }
    
    .slide-content h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .slide-content p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    
    .btn {
        padding: 12px 24px !important;
        font-size: 13px !important;
    }
    
    .slider-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
    
    .categories {
        grid-template-columns: 1fr;
    }
    
    .product-img {
        height: 220px;
    }
    
    .main-product-image-container {
        height: 300px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .old-price {
        font-size: 18px;
    }
    
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 16px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-container {
        width: 90%;
    }
    
    .specs-table td {
        padding: 15px;
        display: block;
        width: 100%;
    }
    
    .specs-table td:first-child {
        width: 100%;
        border-bottom: none;
        padding-bottom: 5px;
        font-weight: 400;
    }
    
    .specs-table td:last-child {
        padding-top: 5px;
    }
    
    .specs-table tr {
        padding: 15px 0;
    }
    
    /* Product Slider Mobile */
    .product-slider-wrapper {
        padding: 0 30px;
    }
    
    .product-slider-item {
        flex: 0 0 100%;
    }
    
    .product-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .product-slider-item .product-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .cart-item, .wishlist-item {
        /* flex-direction: column; */
        align-items: flex-start;
        padding: 20px;
        display: contents;
    }

    .banner-slider {
        height: 280px !important;
    }
    
    .slide-content h1 {
        font-size: 18px !important;
    }
    
    .slide-content p {
        font-size: 12px !important;
    }
    
    .slide-content .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .header-actions a {
        padding: 6px;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .mobile-search-toggle,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 20px;
        margin-left: 8px;
    }
    
    .product-img {
        height: 200px;
    }
    
    .main-product-image-container {
        height: 280px;
    }
    
    .product-info-details {
        padding: 20px;
    }
}

/* Fix for iOS Safari specifically */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .banner-slider {
            height: 300px !important;
        }
        
        .slide-image img {
            object-fit: cover;
            object-position: center;
        }
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
.spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 2px solid var(--dark);
    width: 20px;
    height: 20px;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--light);
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 3000;
    max-width: 300px;
    font-size: 14px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background: var(--dark);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark);
    color: var(--light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0.8;
    transition: all 0.3s;
    font-size: 20px;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* Image Loading */
img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    max-width: 100%;
    height: auto;
    display: block;
}

img[src=""], img:not([src]) {
    background: var(--secondary);
    min-height: 200px;
}

/* Focus States */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--dark);
    outline-offset: 2px;
}

/* Skip Links for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--dark);
    color: var(--light);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Disabled State */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.visible { display: block !important; }

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* Product Description */
.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 30px;
    padding: 0;
}

/* Button Styles */
.btn {
    background-color: var(--dark);
    color: var(--light);
    border: 1px solid var(--dark);
    padding: 16px 32px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn:hover {
    background: var(--light);
    color: var(--dark);
    border-color: var(--dark);
}

.btn i {
    margin-right: 10px;
}

/* Main Content */
#main-content {
    flex: 1;
}

/* Product meta info styles */
.product-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    flex-shrink: 0;
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-weight: 400;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 4px;
}

.meta-value {
    color: var(--gray);
    font-size: 13px;
}

/* Stock status */
.stock-status {
    margin-left: 15px;
    font-size: 14px;
    font-weight: 400;
}

.stock-status.out-of-stock {
    color: #dc3545;
}

.stock-status.in-stock {
    color: #28a745;
}

/* Category card hover fix */
.category-card:focus {
    outline: 2px solid var(--dark);
    outline-offset: 2px;
}

/* Loading spinner */
.loading-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
}

.loading-spinner.active {
    display: flex;
}

.loading-spinner p {
    margin: 0;
    color: var(--dark);
    font-weight: 500;
}

/* WhatsApp button */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: white !important;
    border: none !important;
}

.btn-whatsapp:hover {
    background-color: #1da851 !important;
}

/* Fix for iOS Safari */
input, select, textarea, button {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000000;
        --dark: #000000;
        --light: #ffffff;
        --border: #000000;
        --gray: #666666;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    header, footer, .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

#move-all-wishlist-to-cart {
    background: linear-gradient(to right, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

#move-all-wishlist-to-cart:hover {
    background: linear-gradient(to right, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#move-all-wishlist-to-cart:active {
    transform: translateY(0);
}

#move-all-wishlist-to-cart i {
    margin-right: 8px;
}

/* ========== PRODUCT SLIDER COMPLETE FIXES ========== */
.product-slider-track {
    display: flex !important;
    gap: 30px !important;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform !important;
    padding: 5px 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

.product-slider-item {
    flex-shrink: 0 !important;
    min-width: 0 !important;
    transition: transform 0.3s ease !important;
    box-sizing: border-box !important;
}

.product-slider-item {
    flex: 0 0 calc(25% - 22.5px) !important;
}

@media (max-width: 1200px) {
    .product-slider-item {
        flex: 0 0 calc(33.333% - 20px) !important;
    }
}

@media (max-width: 992px) {
    .product-slider-item {
        flex: 0 0 calc(50% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .product-slider-wrapper {
        margin: 0 20px !important;
        padding: 0 35px !important;
    }
    
    .product-slider-item {
        flex: 0 0 calc(50% - 10px) !important;
    }
    
    .product-slider-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .product-slider-btn.prev {
        left: 0 !important;
    }
    
    .product-slider-btn.next {
        right: 0 !important;
    }
}

@media (max-width: 576px) {
    .product-slider-wrapper {
        margin: 0 15px !important;
        padding: 0 30px !important;
    }
    
    .product-slider-item {
        flex: 0 0 100% !important;
    }
    
    .product-slider-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
}

.product-slider-item .product-card {
    height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-slider-item .product-img {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.product-slider-item .product-info {
    padding: 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-slider-item .product-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.product-slider-item .add-to-cart {
    padding: 12px !important;
    font-size: 13px !important;
    margin-top: auto !important;
}

.product-slider-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 45px !important;
    height: 45px !important;
    background: var(--light) !important;
    border: 1px solid var(--border) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: var(--dark) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    box-shadow: var(--shadow-md) !important;
    opacity: 0.9 !important;
}

.product-slider-btn:hover {
    background: var(--dark) !important;
    color: var(--light) !important;
    border-color: var(--dark) !important;
    transform: translateY(-50%) scale(1.1) !important;
    opacity: 1 !important;
}

.product-slider-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    transform: translateY(-50%) !important;
}

.product-slider-btn:disabled:hover {
    background: var(--light) !important;
    color: var(--dark) !important;
    border-color: var(--border) !important;
    transform: translateY(-50%) !important;
}

.product-slider-btn.prev {
    left: 0 !important;
}

.product-slider-btn.next {
    right: 0 !important;
}

.product-slider-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 30px !important;
}

.product-slider-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: var(--border) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.product-slider-dot.active {
    background: var(--dark) !important;
    transform: scale(1.2) !important;
}

.product-slider-dot:hover {
    background: var(--dark-gray) !important;
}

@media (min-width: 993px) {
    .product-slider-dots {
        display: none !important;
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-slider-track .product-card {
    animation: fadeInSlide 0.5s ease forwards;
}

@supports (-webkit-touch-callout: none) {
    .product-slider-track {
        -webkit-overflow-scrolling: touch !important;
    }
    
    .product-slider-btn {
        min-height: 44px !important;
        min-width: 44px !important;
    }
}

.owl-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item,
.carousel,
.carousel-inner,
.carousel-item {
    display: none !important;
}

/* ========== PRODUCT QUANTITY CONTROLS ========== */
.quantity-controls {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--light);
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--dark);
    color: var(--light);
    border-color: var(--dark);
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--dark);
}

/* ========== PRODUCT OPTIONS ========== */
.product-options {
    margin: 25px 0;
    padding: 25px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.option-group {
    margin-bottom: 20px;
}

.option-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-value {
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: var(--light);
    color: var(--dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 400;
}

.option-value:hover {
    border-color: var(--dark);
}

.option-value.selected {
    background: var(--dark);
    color: var(--light);
    border-color: var(--dark);
}

/* ========== DISCOUNT BADGE ========== */
.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dark);
    color: var(--light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* ========== TOAST NOTIFICATION FIXES ========== */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--light);
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    font-size: 16px;
    font-weight: 500;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: #dc3545;
}

/* ========== CART & WISHLIST MODAL FIXES ========== */
#cart-modal .modal-content,
#wishlist-modal .modal-content {
    width: 90%;
    max-width: 500px;
    padding: 30px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal-actions .btn {
    flex: 1;
    text-align: center;
}

/* ========== PRODUCT REVIEWS ========== */
.review-item {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 20px;
    background: transparent;
    transition: transform 0.3s;
}

.review-item:hover {
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-author {
    font-weight: 400;
    color: var(--dark);
}

.review-date {
    color: var(--gray);
    font-size: 14px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 16px;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.no-reviews p {
    margin-bottom: 10px;
}

/* ========== CHECKOUT PAGE FIXES ========== */
.checkout-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.checkout-item-details {
    flex: 1;
}

.checkout-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.checkout-item-price {
    color: var(--gray);
    font-size: 14px;
}

.checkout-item-quantity {
    color: var(--gray);
    font-size: 14px;
    margin-top: 5px;
}

/* ========== PRODUCT SLIDER FIXES ========== */
.product-slider-section .section-title {
    text-align: left;
    margin-left: 0;
    transform: none;
    left: 0;
}

.product-slider-section .section-title:after {
    left: 0;
    transform: none;
}

/* ========== MOBILE FIXES ========== */
@media (max-width: 768px) {
    .product-details-container {
        grid-template-columns: 1fr;
    }
    
    .main-product-image-container {
        height: 300px;
    }
    
    .product-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-title-details {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 22px;
    }
    
    .product-actions-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .option-value {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* ========== LOADING STATES ========== */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid var(--border);
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== FORM VALIDATION ========== */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group input:invalid ~ .error-message,
.form-group select:invalid ~ .error-message,
.form-group textarea:invalid ~ .error-message {
    display: block;
}

/* ========== STOCK STATUS ========== */
.stock-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    margin-left: 10px;
}

.stock-status.in-stock {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stock-status.out-of-stock {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stock-status.low-stock {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

/* Fix for mega menu dropdown arrow */
.mega-menu-trigger i.fa-angle-down {
    transition: transform 0.3s ease !important;
    margin-left: 5px !important;
}

.mega-menu-container:hover .mega-menu-trigger i.fa-angle-down {
    transform: rotate(180deg) !important;
}

/* Fix navigation hover states */
.nav-links > li:hover > a {
    color: var(--dark) !important;
}

.nav-links > li:hover > a::after {
    width: 100% !important;
}

/* Fix header actions spacing */
.header-actions {
    gap: 15px;
}

/* Banner slider adjustments for mobile */
@media (max-width: 768px) {
    .banner-slider {
        height: 300px !important;
    }

    .slide-content {
        padding: 20px !important;
        margin: 20px !important;
        max-width: 90% !important;
    }

    .slide-content h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .slide-content p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    .btn {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }

    .slider-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

/* Mobile form input improvements */
@media (max-width: 768px) {
    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        font-size: 16px !important;
        padding: 12px !important;
        border-radius: 6px !important;
        border: 1px solid var(--border) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 15px !important;
    }
    .checkout-form label {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        display: block !important;
    }
    .checkout-form button {
        font-size: 16px !important;
        padding: 14px !important;
        border-radius: 6px !important;
        width: 100% !important;
    }
    /* Mobile slide content adjustments */
    .slide-content {
        padding: 20px !important;
        margin: 20px !important;
        max-width: 90% !important;
        bottom: auto !important;
    }
    .slide-content h1 {
        font-size: 24px !important;
        margin-bottom: 5px !important;
    }
    .slide-content p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    .btn {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }
    .slider-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}
/* Medium Mobile Breakpoint */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .banner-slider {
        height: 300px !important;
    }
    
    .slide-content {
        padding: 20px !important;
        margin: 20px !important;
        max-width: 90% !important;
    }
    
    .slide-content h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .slide-content p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .btn {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }
    
    .slider-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    
    /* Slide adjustments */
    .slide-image img {
        object-fit: cover;
        object-position: center;
    }

    /* Products grid */
    .products {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    /* Categories grid */
    .categories {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .product-img {
        height: 250px;
    }
    .category-img {
        height: 200px;
    }
    .product-card {
        padding: 15px;
    }
    .main-product-image-container {
        height: 350px;
    }
    .product-info-details {
        padding: 25px;
    }
    .product-title-details {
        font-size: 26px;
    }
    .current-price {
        font-size: 26px;
    }
    .old-price {
        font-size: 20px;
    }
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 18px;
        font-size: 15px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .mobile-menu-container {
        width: 95%;
    }
    .specs-table td {
        padding: 20px;
    }
    .specs-table tr {
        border-bottom: 1px solid var(--border);
    }
    .wishlist-item-img {
        width: 150px;
        height: 150px;
    }
    .wishlist-item-details {
        flex: 1;
        margin-left: 15px;
    }
    .wishlist-item-title {
        font-size: 18px;
    }
    .wishlist-item-price {
        font-size: 16px;
        margin-top: 8px;
    } 
}
/* Large Mobile Breakpoint */
@media (max-width: 992px) {
    .products {
        grid-template-columns: 1fr 1fr;
    }
    
    .categories {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-img {
        height: 230px;
    }
    
    .main-product-image-container {
        height: 320px;
    }
    
    .current-price {
        font-size: 25px;
    }
    
    .old-price {
        font-size: 19px;
    }
    
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 17px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .mobile-menu-container {
        width: 97%;
    }
    
    .specs-table td {
        padding: 18px;
    }
    
    .specs-table tr {
        border-bottom: 1px solid var(--border);
    }
}
/* Small Mobile Breakpoint */
@media (max-width: 576px) {
    .banner-slider {
        height: 280px !important;
    }
    
    .slide-content {
        padding: 15px !important;
        margin: 15px !important;
        max-width: 95% !important;
    }
    
    .slide-content h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .slide-content p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .btn {
        padding: 10px 25px !important;
        font-size: 13px !important;
    }
    .slider-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
    .products {
        grid-template-columns: 1fr;
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .product-img {
        height: 200px;
    }
    .category-img {
        height: 180px;
    }
    .product-card {
        padding: 12px;
    }
    .main-product-image-container {
        height: 300px;
    }
    .product-info-details {
        padding: 20px;
    }
    .product-title-details {
        font-size: 22px;
    }
    .current-price {
        font-size: 22px;
    }
    .old-price {
        font-size: 18px;
    }
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 15px;
        font-size: 13px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-menu-container {
        width: 100%;
    }
    .specs-table td {
        padding: 15px;
    }
    .specs-table tr {
        border-bottom: 1px solid var(--border);
    }
    .wishlist-item-img {
        width: 120px;
        height: 120px;
    }
    .wishlist-item-details {
        flex: 1;
        margin-left: 10px;
    }
    .wishlist-item-title {
        font-size: 16px;
    }
    .wishlist-item-price {
        font-size: 15px;
        margin-top: 6px;
    }
    /* Slide content adjustments */
    .slide-content {
        padding: 15px !important;
        margin: 15px !important;
        max-width: 95% !important;
    }
    .slide-content h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    .slide-content p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .btn {
        padding: 10px 25px !important;
        font-size: 13px !important;
    }
    .slider-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
    .products {
        grid-template-columns: 1fr;
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .product-img {
        height: 200px;
    }
    .category-img {
        height: 180px;
    }
    .product-card {
        padding: 12px;
    }
    .main-product-image-container {
        height: 300px;
    }
    .product-info-details {
        padding: 20px;
    }
    .product-title-details {
        font-size: 22px;
    }
    .current-price {
        font-size: 22px;
    }

    .old-price {
        font-size: 18px;
    }
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 15px;
        font-size: 13px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-menu-container {
        width: 100%;
    }
    .specs-table td {
        padding: 15px;
    }
    .specs-table tr {
        border-bottom: 1px solid var(--border);
    }
    .wishlist-item-img {
        width: 120px;
        height: 120px;
    }
    .wishlist-item-details {
        flex: 1;
        margin-left: 10px;
    }
    .wishlist-item-title {
        font-size: 16px;
    }
    .wishlist-item-price {
        font-size: 15px;
        margin-top: 6px;
    }
}
/* Toast Notification Fixes */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--light);
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    font-size: 16px;
    font-weight: 500;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}
.toast.error {
    background: #dc3545;
}
img {
    max-width: 100%;
    height: auto;
}
/* About Page Enhancement Styles */
/* About Page Enhancement Styles */
.about-hero-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 0L0 0 598.97 114.72 1200 0z" fill="%23ffffff" opacity=".05"/></svg>');
    background-size: cover;
}

.hero-content-enhanced {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-enhanced h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.hero-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-enhanced {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-enhanced:hover {
    transform: translateY(-10px);
}

.stat-number-enhanced {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-enhanced {
    font-size: 1rem;
    opacity: 0.9;
    display: block;
}

.btn-scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.btn-scroll:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.story-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text-enhanced h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
}

.story-text-enhanced h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.story-text-enhanced p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.story-image-enhanced {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.story-image-enhanced img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image-enhanced:hover img {
    transform: scale(1.05);
}

.story-caption-enhanced {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.story-image-enhanced:hover .story-caption-enhanced {
    opacity: 1;
    transform: translateY(0);
}

.values-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.values-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card-enhanced {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card-enhanced:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.value-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.value-icon-enhanced {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.value-icon-enhanced.quality {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.value-icon-enhanced.simplicity {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.value-icon-enhanced.sustainability {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.value-icon-enhanced.community {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.value-card-enhanced h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.value-card-enhanced p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.value-points-enhanced {
    list-style: none;
    padding: 0;
}

.value-points-enhanced li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-points-enhanced li:last-child {
    border-bottom: none;
}

.value-points-enhanced li i {
    color: #667eea;
}

.sustainability-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.sustainability-metrics-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-enhanced {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.metric-enhanced:hover {
    transform: translateY(-10px);
}

.metric-icon-enhanced {
    font-size: 2.5rem;
    color: #43e97b;
    margin-bottom: 1rem;
}

.metric-enhanced h4 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    color: #333;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.initiative-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.initiative-card:hover {
    transform: translateY(-10px);
}

.initiative-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.initiative-card h4 i {
    color: #43e97b;
}

.team-section {
    padding: 6rem 0;
    background: white;
}

.team-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.team-member-enhanced:hover {
    transform: translateY(-15px);
}

.member-image-enhanced {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-enhanced:hover .member-image-enhanced img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(102,126,234,0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-enhanced:hover .member-overlay {
    opacity: 1;
}

.member-social-enhanced {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-member-enhanced:hover .member-social-enhanced {
    opacity: 1;
    transform: translateY(0);
}

.member-social-enhanced a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social-enhanced a:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.member-info-enhanced {
    padding: 2rem;
    text-align: center;
}

.member-info-enhanced h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.role {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.timeline-enhanced {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline-enhanced::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item-enhanced {
    position: relative;
    width: 50%;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item-enhanced.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item-enhanced:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 4rem;
}

.timeline-item-enhanced:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

.timeline-year-enhanced {
    position: absolute;
    top: 2rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-item-enhanced:nth-child(odd) .timeline-year-enhanced {
    right: -40px;
}

.timeline-item-enhanced:nth-child(even) .timeline-year-enhanced {
    left: -40px;
}

.timeline-content-enhanced {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.timeline-content-enhanced::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
}

.timeline-item-enhanced:nth-child(odd) .timeline-content-enhanced::after {
    right: -10px;
}

.timeline-item-enhanced:nth-child(even) .timeline-content-enhanced::after {
    left: -10px;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.newsletter-signup {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-stats-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-enhanced::before {
        left: 30px;
    }
    
    .timeline-item-enhanced {
        width: 100%;
        padding: 1rem 1rem 1rem 4rem;
        text-align: left !important;
        left: 0 !important;
    }
    
    .timeline-item-enhanced:nth-child(odd) .timeline-year-enhanced,
    .timeline-item-enhanced:nth-child(even) .timeline-year-enhanced {
        left: 10px;
        right: auto;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.sidebar-header h2 {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: white;
}

.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: white;
    font-weight: 600;
}

.sidebar-menu a i {
    width: 20px;
    text-align: center;
}

.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 20px;
}

.topbar {
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.topbar-left h1 {
    font-size: 28px;
    color: #333;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logout-btn {
    padding: 8px 16px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #ff5252;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.stat-label {
    color: #999;
    font-size: 13px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.content-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-danger {
    background: #ff6b6b;
    color: white;
}

.btn-danger:hover {
    background: #ff5252;
}

.welcome-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.welcome-message h3 {
    margin-bottom: 10px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.action-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.action-card-icon {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.action-card-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .main-content {
        margin-left: 200px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile_menus {

  display: inline-block !important; }
    .admin-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        padding: 10px 0;
    }

    .sidebar-header {
        display: none;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        overflow-x: auto;
    }

    .sidebar-menu a {
        padding: 10px 15px;
        white-space: nowrap;
    }

    .main-content {
        margin-left: 0;
        padding: 15px;
    }

    .topbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .topbar-right {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 15px;
    }

    .topbar-left h1 {
        font-size: 22px;
    }
}
@media (max-width: 600px) {
    .slide-content {
        padding: 15px !important;
        margin: 15px !important;
        max-width: 95% !important;
    }
    .slide-content h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    .slide-content p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .btn {
        padding: 10px 25px !important;
        font-size: 13px !important;
    }
    .slider-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
    .products {
        grid-template-columns: 1fr;
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .product-img {
        height: 200px;
    }
    .category-img {
        height: 180px;
    }
    .product-card {
        padding: 12px;
    }
    .main-product-image-container {
        height: 300px;
    }
    .product-info-details {
        padding: 20px;
    }
    .product-title-details {
        font-size: 22px;
    }
    .current-price {
        font-size: 22px;
    }
    .old-price {
        font-size: 18px;
    }
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 15px;
        font-size: 13px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-menu-container {
        width: 100%;
    }
    .specs-table td {
        padding: 15px;
    }
    .specs-table tr {
        border-bottom: 1px solid var(--border);
    }
    .wishlist-item-img {
        width: 120px;
        height: 120px;
    }
    .wishlist-item-details {
        flex: 1;
        margin-left: 10px;
    }
    .wishlist-item-title {
        font-size: 16px;
    }
    .wishlist-item-price {
        font-size: 15px;
        margin-top: 6px;
    }
}
@media (max-width: 480px) {
    .slide-content {
        padding: 15px !important;
        margin: 15px !important;
        max-width: 95% !important;
    }
    .slide-content h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    .slide-content p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .btn {
        padding: 10px 25px !important;
        font-size: 13px !important;
    }
        .slide-content .btn {
        padding: 10px 9px !important;
        font-size: 10px !important;
    }
    .slider-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
    .testimonial-author {
        flex-wrap: wrap;
    }
    .products {
        grid-template-columns: 1fr;
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .product-img {
        height: 200px;
    }
    .category-img {
        height: 180px;
    }
    .product-card {
        padding: 12px;
    }
    .main-product-image-container {
        height: 300px;
    }
    .product-info-details {
        padding: 20px;
    }
    .product-title-details {
        font-size: 22px;
    }
    .current-price {
        font-size: 22px;
    }

    .old-price {
        font-size: 18px;
    }
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 15px;
        font-size: 13px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-menu-container {
        width: 100%;
    }
    .specs-table td {
        padding: 15px;
    }
    .specs-table tr {
        border-bottom: 1px solid var(--border);
    }
    .wishlist-item-img {
        width: 120px;
        height: 120px;
    }
    .wishlist-item-details {
        flex: 1;
        margin-left: 10px;
    }
    .wishlist-item-title {
        font-size: 16px;
    }
    .wishlist-item-price {
        font-size: 15px;
        margin-top: 6px;
    }
}
@media (max-width: 360px) {
    .slide-content {
        padding: 15px !important;
        margin: 15px !important;
        max-width: 95% !important;
    }
    .slide-content h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    .slide-content p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .btn {
        padding: 10px 25px !important;
        font-size: 13px !important;
    }
    .slider-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
    .products {
        grid-template-columns: 1fr;
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .product-img {
        height: 200px;
    }
    .category-img {
        height: 180px;
    }
    .product-card {
        padding: 12px;
    }
    .main-product-image-container {
        height: 300px;
    }
    .product-info-details {
        padding: 20px;
    }
    .product-title-details {
        font-size: 22px;
    }
    .current-price {
        font-size: 22px;
    }
    .old-price {
        font-size: 18px;
    }
    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist-details {
        padding: 15px;
        font-size: 13px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-menu-container {
        width: 100%;
    }
    .specs-table td {
        padding: 15px;
    }
    .specs-table tr {
        border-bottom: 1px solid var(--border);
    }
    .wishlist-item-img {
        width: 120px;
        height: 120px;
    }
    .wishlist-item-details {
        flex: 1;
        margin-left: 10px;
    }
    .wishlist-item-title {
        font-size: 16px;
    }
    .wishlist-item-price {
        font-size: 15px;
        margin-top: 6px;
    }
}
.hero-section-enhanced {
    position: relative;
    height: 700px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0 20px;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}
.hero-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.stat-card-enhanced {
    text-align: center;
}
.stat-icon-enhanced {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-value-enhanced {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.stat-label-enhanced {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}
.btn-scroll {
    display: inline-block;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-scroll:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}
.hero-background-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.hero-background-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 0.5s ease;
}
.hero-background-enhanced:hover img {
    transform: scale(1.1);
}
.story-section {
    padding: 6rem 0;
    background: #f8f9fa;
}
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}
.story-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.story-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}
.story-image-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}
.story-image-enhanced img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.sidebar-header h2 {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: white;
}

.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: white;
    font-weight: 600;
}

.sidebar-menu a i {
    width: 20px;
    text-align: center;
}

.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 20px;
}

.topbar {
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.topbar-left {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
}

.topbar-left h1 {
    font-size: 28px;
    color: #333;
}

.search-box {
    flex: 1;
    max-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logout-btn {
    padding: 8px 16px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #ff5252;
}

.content-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 22px;
    color: #333;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-danger {
    background: #ff6b6b;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
}

.btn-danger:hover {
    background: #ff5252;
}

.btn-edit {
    background: #4CAF50;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
}

.btn-edit:hover {
    background: #45a049;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.products-table thead {
    background: #f9f9f9;
    border-bottom: 2px solid #e0e0e0;
}

.products-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #666;
}

.products-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.products-table tr:hover {
    background: #f9f9f9;
}

.product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.modal-header h2 {
    font-size: 20px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.image-upload {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.image-upload:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.image-upload input[type="file"] {
    display: none;
}

.image-preview {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.preview-item .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .main-content {
        margin-left: 200px;
    }

    .topbar-left {
        flex-direction: column;
        gap: 10px;
    }

    .search-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 10px 0;
    }

    .sidebar-header {
        display: none;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        overflow-x: auto;
    }

    .sidebar-menu a {
        padding: 10px 15px;
        white-space: nowrap;
    }

    .main-content {
        margin-left: 0;
        padding: 15px;
    }

    .topbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .topbar-left {
        flex-direction: column;
        gap: 10px;
    }

    .topbar-left h1 {
        font-size: 22px;
    }

    .topbar-right {
        width: 100%;
        justify-content: center;
    }

    .content-section {
        padding: 15px;
    }

    .products-table {
        font-size: 12px;
    }

    .products-table th,
    .products-table td {
        padding: 8px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
}

/* Contact page styles (moved from contact.html) */
.contact-hero {
    background: linear-gradient(135deg, #d51232 0%, #02154f 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-wrap {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px #d51232;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px #02154f;
}

.form-input.error, .form-textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #d51232, #02154f);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(213, 18, 50, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.contact-info {
    color: #d51232;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px #02154f;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d51232, #02154f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.contact-text p {
    margin: 0;
    color: #666;
}

.hours-section {
    margin-bottom: 2rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.hours-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.hours-table td {
    padding: 0.75rem 0;
}

.hours-table td:first-child {
    font-weight: 500;
}

.hours-table td:last-child {
    text-align: right;
    color: #666;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
    height: 250px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d51232;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-10px);
}

.method-icon {
    font-size: 2.5rem;
    color: #d51232;
    margin-bottom: 1rem;
}

.method-btn {
    margin-top: 1rem;
    background: #d51232;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    text-decoration: none;
}

.method-btn:hover {
    background: #02154f;
    transform: translateY(-2px);
}

.method-btn i {
    margin: 0;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
}

.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6a11cb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}
.show1{
    display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .contact-grid {
        gap: 2rem;
    }

    .contact-form-wrap,
    .contact-info {
        padding: 1.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .method-btn {
        width: 100%;
        justify-content: center;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .show1{
        display: block;
    }
    .show{
        display:none;
    }
}
/* Instagram Modal Styles */
#instagram-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#instagram-modal.show {
    opacity: 1;
}

#instagram-modal .modal-content {
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h3 i {
    color: #E1306C;
    font-size: 1.2rem;
}

.modal-header .close-modal {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.modal-header .close-modal:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
}

/* Instagram Modal Content */
.instagram-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .instagram-modal-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
}

/* QR Code Section */
.instagram-qr-code {
    text-align: center;
    flex: 1;
    min-width: 0;
    padding: 1rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.instagram-qr-code img {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 8px;
    padding: 12px;
    background: white;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.instagram-qr-code img:hover {
    transform: scale(1.02);
}

.instagram-qr-code p {
    margin-top: 1.25rem;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.instagram-qr-code p i {
    color: #E1306C;
    margin-right: 0.5rem;
}

/* Link Section */
.instagram-link-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    padding: 1rem;
}

.instagram-link-display {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 480px) {
    .instagram-link-display {
        flex-direction: row;
        align-items: center;
    }
}

.instagram-link-display input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #fafafa;
    font-family: 'Inter', sans-serif;
    color: #333;
    transition: all 0.3s ease;
    min-width: 0;
}

.instagram-link-display input:focus {
    outline: none;
    border-color: #E1306C;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.1);
}

.instagram-link-display input::selection {
    background-color: rgba(225, 48, 108, 0.2);
}

#copy-link-btn {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    min-height: 48px;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2);
}

#copy-link-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
}

#copy-link-btn:active {
    transform: translateY(0);
}

#copy-link-btn.copied {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.2);
}

#copy-link-btn.copied:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
}

.instagram-note {
    color: #666;
    font-size: 0.875rem;
    margin: 0.5rem 0;
    text-align: center;
    line-height: 1.5;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #E1306C;
}

@media (min-width: 768px) {
    .instagram-note {
        text-align: left;
    }
}

/* Instagram Button */
.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.btn-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-instagram:hover::before {
    opacity: 1;
}

.btn-instagram:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.btn-instagram:active {
    transform: translateY(-1px);
}

.btn-instagram i {
    font-size: 1.2rem;
}

/* Responsive Breakpoints */
@media(max-width: 1024px) {
    .nav-links > li {
        margin: 0 6px;
    }
    .nav-links > li > a{
        font-size: 12px;
    }
    .email{
        font-size: 11px !important;
    }

}
/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575.98px) {
    #instagram-modal .modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: 95%;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .instagram-modal-content {
        gap: 1.5rem;
        padding: 0;
    }
    
    .instagram-qr-code {
        padding: 0.75rem;
    }
    
    .instagram-qr-code img {
        max-width: 180px;
        padding: 10px;
    }
    
    .instagram-link-section {
        padding: 0.75rem;
    }
    
    .instagram-link-display input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    #copy-link-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-instagram {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Small Devices (Tablets, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #instagram-modal .modal-content {
        margin: 8% auto;
        width: 90%;
        max-width: 500px;
    }
    
    .instagram-modal-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .instagram-qr-code,
    .instagram-link-section {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .email{
        font-size: unset !important;
    }
}

/* Medium Devices (Tablets/Laptops, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #instagram-modal .modal-content {
        margin: 7% auto;
        width: 85%;
        max-width: 650px;
    }
    
    .instagram-modal-content {
        gap: 2rem;
    }
    
    .instagram-qr-code img {
        max-width: 200px;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
    #instagram-modal .modal-content {
        margin: 5% auto;
        width: 80%;
        max-width: 700px;
    }
    
    .instagram-modal-content {
        gap: 3rem;
    }
    
    .instagram-qr-code img {
        max-width: 220px;
    }
}

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
    #instagram-modal .modal-content {
        max-width: 750px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    #instagram-modal .modal-content {
        margin: 2% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .instagram-modal-content {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .instagram-qr-code img {
        max-width: 150px;
    }
    
    .btn-instagram {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .instagram-qr-code img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support (if implemented) */
@media (prefers-color-scheme: dark) {
    #instagram-modal .modal-content {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .modal-header {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border-bottom-color: #333;
    }
    
    .modal-header h3 {
        color: #ffffff;
    }
    
    .modal-header .close-modal {
        color: #bbb;
    }
    
    .modal-header .close-modal:hover {
        background-color: #333;
        color: #fff;
    }
    
    .instagram-qr-code {
        background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
        border-color: #333;
    }
    
    .instagram-qr-code img {
        background: #2a2a2a;
        border-color: #444;
    }
    
    .instagram-qr-code p {
        color: #bbb;
    }
    
    .instagram-link-display input {
        background-color: #2a2a2a;
        border-color: #444;
        color: #ffffff;
    }
    
    .instagram-link-display input:focus {
        border-color: #E1306C;
        background-color: #333;
    }
    
    .instagram-note {
        color: #aaa;
        background-color: #2a2a2a;
    }
}

/* Print Styles */
@media print {
    #instagram-modal {
        display: none !important;
    }
}

/* Accessibility Improvements */
#instagram-modal:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

#copy-link-btn:focus,
.btn-instagram:focus,
.close-modal:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Loading state for QR code */
.instagram-qr-code.loading img {
    opacity: 0.5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Success animation for copy */
@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

#copy-link-btn.copied {
    animation: successPulse 0.3s ease;
    
}
.spaa{
    background: #888888;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 2px;
}
.payment-methods .spaa:hover {
    background: var(--light);
}
/*menu css*/

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  background-color: #02154f;
  overflow-x: hidden;
  transition: 0.5s;
}



.sidenav hr {

  margin: 0;

  border-color: #1e4145; }



.sidenav a {
    padding: 14px 8px 14px 15px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    color: #fff;
}

.spaced{
    display: grid;
}

.mob_ul_m {

  padding: 0px; }

  .sidenav .closebtn:hover{
      color: #fff !important;
  }

.sidenav a:hover {

  color:  #ffbb03 !important; }



.sidenav .closebtn {
    position: absolute;
    top: 23px;
    right: 13px;
    font-size: 30px;
    margin-left: 0;
    width: 35px;
    height: 35px;
    padding: 0;
    color: #fff !important;
    text-align: center;
    line-height: 35px;
}







.mobile_menus a {

                      /*  color: #000;

font-size: 20px;

width: 35px;

height: 35px;

line-height: 35px;

border: 0px solid #000;border-radius: 5px;

display: inline-block;

text-align: center;    line-height: 65px;*/

  padding: 0px; }



.cart_liust ul li:last-child a {

  width: 35px;

  height: 35px;

  line-height: 35px;

  border: 0px solid #fff;

  padding: 0px;

  text-align: center;

  margin-left: 11px;

  border-radius: 50%;

  transform: translateY(0px);

  transition: 0.45s; }



.dropdown {

  position: relative; }



.dropdown-menu {

  display: none; }



.toggle,

.dropdown-menu {

  width: 100%; }



.is-active .dropdown-menu {

  display: block; }



.dropdown {

  position: relative;

  line-height: 18px;

  display: inline-block;

  width: 100%;

  cursor: pointer; }



.dropdown:hover a.toggle {

  color:  #ffbb03 !important; }



  .my_drop {
      position: static;
      background: transparent;
  }



  .my_drop li {
      background: #3c3c3c;
      color: #fff;
      border: 0px;
      border-bottom: 1px solid #fff;
      margin-bottom: 0px;
      text-transform: uppercase;
      padding: 0px;
      font-size: 13px;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: 0.45s;
  } 



.my_drop li a {

  width: 100%;

  color: #fff !important; }



.my_drop li:hover a {

  background: #ffbb03;

  color:#fff !important;  
}
.my_drop li.list-group-item:hover {

  background: #d2147200;

  color: #fff !important; }

  .mobile_menus a{
      margin-right: 0 !important;
  }


/*menu css*/
.cart-item-right{
    display: contents;
}
.btn-qty{
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
}
.btn-removed{
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Enhanced Search Styles */
.search-bar button#clear-search-btn {
    right: 45px;
    color: #666;
}

.search-bar button#clear-search-btn:hover {
    color: #d51232;
}

.search-results-info {
    margin-top: 10px;
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
}

.search-results-info p {
    margin: 0;
}

mark {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
}

/* Enhanced Search Styles */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.search-container input {
    flex: 1;
    padding: 14px 45px 14px 20px;
    border: 1px solid #d51232;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #f0e6d2;
    color: var(--dark);
}

.search-container input:focus {
    border-color: var(--dark);
    background: var(--light);
}

.search-container select {
    padding: 14px 10px;
    border: 1px solid #d51232;
    border-left: none;
    background: #f0e6d2;
    color: var(--dark);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    min-width: 120px;
}

.search-container select:focus {
    border-color: var(--dark);
    background: var(--light);
}

.search-container button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #d51232;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.search-container button:hover {
    color: #02154f;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f8f8f8;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.search-results-info {
    margin-top: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
}

.search-results-info p {
    margin: 0;
}

.search-results-info small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
}