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

body {
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.75;
    color: #131313;
    background-color: rgba(246, 246, 246, 1) !important;
    background-image: url(/assets/img/general/bg.webp);
    background-position: left 0% top 200px;
    background-size: 100% auto;
    background-repeat: repeat-y;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
}

.content {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 100vh;
}

section {
    margin: 20px auto;
    max-width: 1320px;
}

.header {
    font-weight: 400;
    width: 100%;
    background-color: #FFCEE5;
}
.header-topper {
    background-color: #ED3B24;
    width: 100%;
}
.header-content {
    max-width: 1320px;
    height: 105px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-logo {
    max-width: 245px;
    padding-top: 5px;
    padding-bottom: 5px;
    max-height: inherit;
    perspective: 800px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    vertical-align: middle;
}

.header-search {
    max-width: 680px;
    width: 680px;
    height: 46px;
    padding-inline-start: 10px;
    display: flex;
    align-items: center;
}
.header-search input {
    width: 90%;
    height: 100%;
    border: 0;
    border-radius: 5px 0px 0px 5px;
    background-color: #fff;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
    font-size: 15px;
    font-weight: 300;
}
.header-search input:focus {
    outline: none;
    font-size: 0.95rem;
    transition: font-size 0.2s ease-in-out;
}
.header-search input::placeholder {
    color: #777;
    font-weight: 100;
    font-size: 17px;
}

.header-search button {
    height: 46px;
    width: 46px;
    margin-left: -5px;
    background: #ed3b24;
    color: #fff;
    border: 0;
    border-radius: 0 5px 5px 0px;
    cursor: pointer;
}

.header-info-cards {
    display: flex;
    gap: 20px;
}

.header-info-card {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-info-card i {
    font-size: 32px;
    color: #333;
}

.header-info-card-content {
    border-inline-start: 1px solid #333;
    padding-inline-start: 12px;
    margin-inline-start: 12px;
    display: flex;
    flex-direction: column;
    line-height: 20px;
}

.header-info-card-content strong {
    font-size: 13px;
    color: #ed3b24;
    font-weight: bolder;
}

.header-info-card-content p {
    font-size: 13px;
    color: #333;
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 2px;
    margin-bottom: 0;
}

.header-info-card-content p.price {
    color: #ed3b24;
    font-size: 14px;
    font-weight: 900;
}

/* MARQUEE */
.marquee-text {
    overflow: clip;
    max-width: 1320px;
    margin: 0 auto;
    height: 40px;
}
.marquee-text-track {
    display: flex;
    padding-left: 4.8rem;
    gap: 4.8rem;
    width: max-content;
    animation: marquee-move-text var(--speed, 10s) linear infinite var(--direction, forwards);
}
.marquee-text p {
    line-height: 40px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}
.marquee-text:hover .marquee-text-track {
    animation-play-state: paused;
}
@keyframes marquee-move-text {
    to {
        transform: translateX(-50%);
    }
}

/* HEADER MENU & DROPDOWN */
.header-menu {
    background-color: #fff;
    border-radius: 0 0 12px 0;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 30px;
}
.header-menu-left {
    display: flex;
    align-items: center;
}

.header-categories {
    max-width: 240px;
    width: 240px;
    height: 50px;
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #ed3b24;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    border: none;
    user-select: none;
    transition: background-color 0.3s ease;
}

.dropdown-toggle:hover {
    background-color: #d63519;
}

.dropdown-toggle i {
    font-weight: 700;
    color: #fff;
    margin-right: 10px;
    font-size: 15px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.dropdown-menu.show {
    max-height: fit-content;
    overflow-y: auto;
}

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

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #ed3b24;
}

/* SUBMENU STYLES */
.dropdown-item {
    position: relative;
}

.dropdown-item.has-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.dropdown-item.has-submenu > a {
    flex: 1;
    margin: 0;
}

.submenu-arrow {
    padding: 12px 15px 12px 5px;
    color: #666;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.dropdown-item.has-submenu:hover .submenu-arrow {
    color: #ed3b24;
}

.submenu {
    position: fixed;
    top: auto;
    left: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    width: 240px;
    height: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.dropdown-item.has-submenu:hover .submenu,
.submenu.show-submenu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

.submenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu li {
    border-bottom: 1px solid #eee;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.submenu a:hover {
    background-color: #f8f9fa;
    color: #ed3b24;
}

/* SUB-SUB-MENU STYLES (Third Level) */
.submenu-item {
    position: relative;
}

.submenu-item.has-subsubmenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.submenu-item.has-subsubmenu > a {
    flex: 1;
    margin: 0;
}

.subsubmenu-arrow {
    padding: 10px 15px 10px 5px;
    color: #666;
    font-size: 10px;
    transition: transform 0.2s ease;
}

.submenu-item.has-subsubmenu:hover .subsubmenu-arrow {
    color: #ed3b24;
}

.subsubmenu {
    position: fixed;
    top: auto;
    left: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    width: 240px;
    height: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.submenu-item.has-subsubmenu:hover .subsubmenu,
.subsubmenu.show-subsubmenu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

.subsubmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subsubmenu li {
    border-bottom: 1px solid #eee;
}

.subsubmenu li:last-child {
    border-bottom: none;
}

.subsubmenu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.subsubmenu a:hover {
    background-color: #f8f9fa;
    color: #ed3b24;
}

.header-menu-links {
    display: flex;
    align-items: start;
    margin: 0 20px;
    gap: 10px;
}

.header-menu-links a {
    color: #010101;
    font-size: 13px;
    font-weight: 600;
}

.header-menu-right {
    display: flex;
    align-items: baseline;
}
.header-menu-right-item {
    padding-inline-start: 10px;
    padding-inline-end: 10px;
}

.header-menu-right-item:not(:first-child) {
    border-inline-start: 1px solid #333;
}

.header-menu-right-item a {
    color: #010101;
    font-size: 12px;
    font-weight: 600;
    display: block;
}
.header-menu-right-item a:hover {
    color: #ed3b24;
}
i {
    font-size: 16px;
    position: relative;
}

i .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 15px;
    height: 15px;
    line-height: 11px;
    font-size: 10px;
    padding: 2px 3px;
    border-radius: 50%;
    background-color: #ed3b24;
    color: #fff;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumbs {
    background-color: #fff;
    border-radius: 9px;
    width: 100%;
    max-width: 1320px;
    margin-bottom: 1.5rem;
    padding: 15px 20px;
    margin: 0 auto;
    font-size: 14px;
}

.breadcrumbs a {
    color: #161616;
}
.breadcrumbs a:hover {
    color: #ed3b24;
}
.breadcrumbs a i {
    font-size: 18px;
}

/* LANGUAGE SWITCHER */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.language-switcher a {
    color: #010101;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.language-switcher a:hover {
    background-color: #ed3b24;
    color: #fff;
}

.language-switcher span.active {
    color: #ed3b24;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    background-color: rgba(237, 59, 36, 0.1);
}

/* SLIDESHOW */
.banner-slideshow {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 1rem auto;
    position: relative;
}

.banner-slideshow:hover .nav-arrow, .banner-slideshow:active .nav-arrow {
    display: block;
    transition: display 0.3s ease-in-out;
    transition-delay: 0.3s;
    transition-duration: 0.3s;

}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none; /* Prevent inactive slides from blocking clicks */
}

.slide.active {
    opacity: 1;
    pointer-events: auto; /* Allow active slide to receive clicks */
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 500px;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-banner {
    display: inline-block;
    background-color: #ed3b24;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-banner:hover {
    background-color: #d32f1a;
}

.nav-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.nav-arrow-left {
    left: 20px;
}

.nav-arrow-right {
    right: 20px;
}

.slide-indicators {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: #1c1c1c96;
    padding: 6px 6px 5px 6px;
    border-radius: 9px 9px 0 0;
}

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

.indicator.active {
    background-color: #ed3b24;
}

.section-title {
    position: relative;
    width: 100%;
    height: 56px;
    border-bottom: 2px solid #0000001b;
    margin-bottom: 1rem;
}
.section-title span {
    font-size: 2rem;
    font-weight: 500;
    border-bottom: 2px solid #ed3b24;
    position: absolute;
    top: -2px;
}

.home-products-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}
.category-products-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}
.product-item {
    width: 306px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 20px;
}
.product-item a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #000;
}
.product-name {
    font-weight: 400;
    font-size: 14px;
    height: 40px;
    align-content: center;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 2);
}
.product-tag {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #ed3b24;
    border-radius: 12px;
    padding: 0 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.product-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    position: absolute;
    bottom: 60px;
    left: 10px;
    gap: 3px;
    background: white;
    padding: 4px;
    border-radius: 24px;
    text-align: center;
}
.product-option {
    height: 10px;
    width: 10px;
    border-radius: 10px;
}
.product-options-count {
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
}
.product-item img {
    width: 306px;
    height: 306px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px #fff solid;
}
.inCategory {
    width: 240px;
}
.inCategory img {
    width: 240px;
    height: 240px;
    object-fit: contain;
}
.product-price-container {
    margin-bottom: 5px;
    height: 28px;
}
.product-old-price {
    text-decoration: line-through;
    color: #bbb;
    font-size: 12px;
}
.product-price {
    font-size: 14px;
    font-weight: 600;
    color: #ed3b24;
}
.product-item:hover {
    border-radius: 10px;
    background-color: #fff;
    transform: scale(1.08);
    transition: transform 0.3s ease-in-out;
}

.product-item:hover img {
    animation: imageHoverAnimation 0.7s ease-in-out forwards;
}

.mt-40 {
    margin-top: 40px;
}

@keyframes imageHoverAnimation {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .slideshow-container {
        height: 300px;
    }
    
    .slide-content {
        left: 20px;
        max-width: calc(100% - 40px);
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .nav-arrow-left {
        left: 10px;
    }
    
    .nav-arrow-right {
        right: 10px;
    }
}

.mobile-menu {
    display: none;
    font-weight: 600;
    gap: 5px;
    align-items: center;
    cursor: pointer;
}

.mobile-cart, .mobile-search {
    display: none;
}

/* Mobile Menu Overlay and Sidebar */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -75%;
    width: 75%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-sidebar.show {
    left: 0;
}

.mobile-menu-header {
    background-color: #ed3b24;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d63519;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-content {
    padding: 15px 10px;
}

.mobile-section-title {
    margin: 5px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ed3b24;
    padding-bottom: 8px;
    border-bottom: 2px solid #ed3b24;
}

/* Mobile Menu Links */
.mobile-menu-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu-links a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-links a:hover {
    border-color: #ed3b24;
    color: #ed3b24;
    background-color: rgba(237, 59, 36, 0.05);
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-language-switcher h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.mobile-language-options {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mobile-language-option {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 20px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.mobile-language-option:hover {
    border-color: #ed3b24;
    color: #ed3b24;
}

.mobile-language-option.active {
    background-color: #ed3b24;
    border-color: #ed3b24;
    color: #fff;
}

/* Mobile Categories */
.mobile-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-category-item {
    border-bottom: 1px solid #eee;
}

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

.mobile-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-category-link:hover {
    color: #ed3b24;
}

.mobile-category-arrow {
    font-size: 14px;
    color: #666;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-category-item.expanded .mobile-category-arrow {
    transform: rotate(90deg);
    color: #ed3b24;
}

.mobile-subcategories {
    display: none;
    padding-left: 20px;
    background-color: #f8f9fa;
    border-left: 3px solid #ed3b24;
    margin-top: 10px;
    border-radius: 0 8px 8px 0;
}

.mobile-subcategories.show {
    display: block;
}

.mobile-subcategory-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.mobile-subcategory-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.2s ease;
}

.mobile-subcategory-link:hover {
    color: #ed3b24;
}

.mobile-subsubcategories {
    display: none;
    padding-left: 7px;
    margin-top: 8px;
    background-color: #fff;
    border-radius: 0 5px 5px 0;
}

.mobile-subsubcategories.show {
    display: block;
}

.mobile-subsubcategory-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.mobile-subsubcategory-link {
    color: #777;
    font-weight: 400;
    font-size: 13px;
    transition: color 0.2s ease;
}

.mobile-subsubcategory-link:hover {
    color: #ed3b24;
}

.home-features {
    background-color: #ffcee5;
    border-radius: 10px;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}
.feature {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: flex-start;
    padding: 0px 10px;
}
.feature:not(:first-child) {
    border-left: 1px solid #ed3b24;
    padding-left: 20px;
}
.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.feature p {
    font-size: 14px;
    line-height: 0.7;
}
.feature-title {
    font-size: 21px;
    font-weight: 500;
    color: #ed3b24;
}
.feature-description {
    font-weight: 400;
}
.feature img {
    width: 75px;
    height: 75px;
}
.product-action {
    height: 36px;
}
.btn-product-action {
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    background-color: #00970A;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 135px;
    height: 36px;
    line-height: 36px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.btn-product-action:hover {
    background-color: #008709;
}

.home-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 40px;
    justify-content: space-between;
    margin-bottom: 60px;
}
.category-item {
    height: 196px;
    width: 196px;
    border-radius: 10px;
}
.category-item a {
    position: relative;
    color: #000;
}
.category-item img {
    width: 100%;
    border-radius: 10px;
}
.category-name {
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 1rem;
    display: block;
    margin-top: 12px;
}

.category-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.raft {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-bottom: 40px;
}
.raft img {
    width: 49%;
    border-radius: 10px;
}

@media (min-width: 320px) and (max-width: 480px) {
    .checkout-progress {
        display: none !important;
    }
    .header-logo {
        max-width: 140px;
    }
    .header-menu, .header-info-cards, .header-search {
        display: none;
    }
    .mobile-cart, .mobile-search {
        display: block;
    }
    .mobile-cart i {
        font-size: 20px;
    }
    .mobile-cart a {
        color: #333;
    }
    .mobile-menu {
        display: flex;
        font-size: 12px;
    }
    .mobile-menu i {
        font-size: 20px;
    }
    .banner-slideshow {
        margin-top: 10px;
        padding: 0 5px;
    }
    .header {
        border-radius: 0 0 9px 9px;
    }
    .header-content {
        padding: 0 .75rem;
        height: 60px
    }
    .mobile-search {
        padding: 0 .75rem;
    }
    .mobile-search-form {
        position: relative;
        padding-bottom: 10px;
    }
    .section {
        max-width: 100%;
    }
    .section-title span {
        font-size: 1.5rem;
        top: 12px;
    }
    .mobile-search-form input {
        height: 46px;
        padding: 0 10px;
        width: 100%;
        border: 0;
        border-radius: 5px;
    }
    .mobile-search-form button {
        position: absolute;
        height: 46px;
        width: 46px;
        margin-left: -5px;
        background: #ed3b24;
        color: #fff;
        border: 0;
        border-radius: 0 5px 5px 0px;
        right: 0px;
    }
    .home-products-list {
        justify-content: center;
        gap: 10px;
    }
    .product-item {
        width: 45%;
        position: relative;
    }
    .product-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .home-features {
        max-width: 100%;
    }
    .feature img {
        width: 48px;
        height: 48px;
    }
    .feature-title {
        font-size: 14px;
    }
    .feature-content {
        gap: 5px;
    }
    .feature-content p {
        font-size: 10px;
        line-height: 0.9;
        text-align: center;
    }
    section {
        margin: 10px 10px;
    }
    .feature {
        gap: 5px;
        flex-direction: column;
        align-items: center;
    }
    .feature:not(:first-child) {
        padding-left: 6px;
    }
    .category-item {
        width:  47%;
        margin-bottom: 30px;
    }
    .home-categories-list {
        margin-bottom: 10px;
    }
    .raft { 
        flex-direction: column;
        width: auto;
    }
    .raft img {
        width: 100%;
    }
    .raft img:first-child {
        border-radius: 10px 10px 0 0;
    }
    .raft img:nth-child(2) {
        border-radius: 0 0 10px 10px;
    }
}



/* FOOTER */
.footer {
    font-weight: 400;
    width: 100%;
    background-color: #FFCEE5;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
}

.footer li {
    list-style: none;
}

.footer li a {
    font-size: 14px;
    line-height: 1.3;
    color: #333;
}

.footer-content {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 20px 20px;
}
.footer-logo {
    max-width: 230px;
    margin: 0 0 20px;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-contacts a {
    color: #333;
    font-size: 14px;
}
.footer-title {
    font-weight: 600;
    font-size: 14px;
}
.mobile-footer-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    background: #fff;
    z-index: 1001;
    width: 100%;
    justify-content: space-around;
    align-items: end;
    border-top: 1px solid #eee;
    box-sizing: border-box;
    transform: translateZ(0);
}

.mobile-footer-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #333;
    font-weight: 600;
}
@media (min-width: 320px) and (max-width: 480px) {
    body {
        padding-bottom: 50px;
    }
    .footer-content {
        flex-direction: column;
    }
    .mobile-footer-menu {
        display: flex;
    }
}


/* UTILITIES */
.page_up_btn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #00980B;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
.show {
    opacity: 1;
    visibility: visible;
}


/* PRODUCT PAGE */
.product_page, .product-description {
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
}
.product-content {
    display: flex;
    flex-direction: row;
    gap: 50px;
}
.product-view {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    padding: 6px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}
.product-thumbnails img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.product-thumbnails img:hover {
    transform: scale(1.05);
    border: 1px solid #ed3b24;
    opacity: 1;
}
.product-thumbnails img.active {
    border: 1px solid #ed3b24;
}
.product-thumbnails img.active-thumbnail {
    border: 2px solid #00980b;
    box-shadow: 0 0 8px rgba(0, 152, 11, 0.4);
    opacity: 1;
    transform: scale(1.05);
    position: relative;
}
.product-thumbnails img.active-thumbnail::after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #00980b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
}
.product-main-image {
    height: 400px;
    width: 400px;
    object-fit: contain;
    border-radius: 6px;
}
.product-view img {
    object-fit: cover;
    border-radius: 6px;
}
.product-options-images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.product-options-images img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}
.product-options-images img:hover {
    transform: scale(1.05);
    border: 1px solid #ed3b24;
}
.product-options-images img.active {
    border: 1px solid #ed3b24;
}
.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    margin-bottom: 20px;
}
.product-info .product-name {
    all: unset;
    color: #242424;
    font-weight: 500;
    font-size: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.product-info span {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-price-current {
    font-weight: 500;
    color: #ED3B24;
    font-size: 27px;
}
.product-price-old {
    font-weight: 400;
    color: #333;
    font-size: 16px;
    text-decoration: line-through;
}
.dashed-bottom {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.btn-edit-product {
    height: 32px;
    width: 32px;
    border-radius: 10px;
    background-color: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.product-description-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}
.red {
    color: #ED3B24;
}
.red:hover {
    color: #333;
}
.green {
    color: #00980B;
}
#free-delivery-progress-container {
    max-width: 410px;
}
#free-delivery-progress-message {
    display: flex;
    font-size: 14px;
    margin-bottom: 5px;
    align-items: center;
    gap: 5px;
}
.progress {
    width: 410px;
    height: 14px;
    background-color: #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
}

.product-cart-section {
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.quantity-selector label {
    font-weight: 500;
    color: #333;
    font-size: 12px;
    background-color: #fff;
    padding: 1px;
    position: absolute;
    top: -10px;
    right: 5px;
}

.quantity-input {
    width: 120px;
    height: 50px;
    padding: 0 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #ed3b24;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.btn-add-to-cart {
    background-color: #00980B;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 180px;
    max-width: 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-add-to-cart:hover {
    background-color: #008709;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-add-to-cart:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-add-to-cart i {
    font-size: 18px;
}

@media (min-width: 320px) and (max-width: 480px) {
    .product-thumbnails {
        display: none;
    }
    .product-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-view img {
        max-width: 100%;
        width: 100%;
    }
    
    .product-info .product-name {
        font-size: 24px;
    }
    
    .product-price-current {
        font-size: 22px;
    }
    
    .product-cart-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .quantity-selector {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100px;
    }
    
    .quantity-input {
        width: 90px;
        height: 36px;
    }
    
    .btn-add-to-cart {
        padding: 12px 20px;
        font-size: 14px;
        flex: 1;
        max-width: none;
        margin-left: 15px;
    }
    
    #free-delivery-progress-container {
        max-width: 100%;
    }
    
    .progress {
        width: 100%;
    }
}

/* CART PAGE STYLES */
.cart-page {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.cart-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

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

.cart-total {
    font-size: 24px;
    font-weight: 600;
    color: #ED3B24;
}

/* Empty Cart Styles */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 30px;
}

.empty-cart h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.empty-cart p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Cart Content */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: #ED3B24;
    box-shadow: 0 2px 8px rgba(237, 59, 36, 0.1);
}

.cart-item.updating {
    opacity: 0.6;
    pointer-events: none;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.cart-item-details a {
    color: #333;
    text-decoration: none;
}

.cart-item-details a:hover {
    color: #ED3B24;
}

.cart-item-sku, .cart-item-stock {
    font-size: 14px;
    margin-bottom: 5px;
}

.stock-available {
    color: #00980B;
}

.stock-unavailable {
    color: #ED3B24;
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-btn {
    background: #f8f8f8;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quantity-btn:hover {
    background: #ED3B24;
    color: white;
}


.quantity-input:focus {
    outline: none;
    background: #f9f9f9;
}

/* Price */
.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.price-per-unit {
    font-size: 14px;
    color: #666;
}

.price-total {
    font-size: 18px;
    font-weight: 600;
    color: #ED3B24;
    transition: transform 0.2s ease, color 0.2s ease;
}

.price-total.updating {
    color: #00980B;
}

/* Actions */
.cart-item-actions {
    display: flex;
    align-items: center;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    background: #ED3B24;
    color: white;
}

/* Cart Sidebar */
.cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-summary-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cart-summary-box h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-line.total {
    border-bottom: none;
    border-top: 2px solid #ED3B24;
    margin-top: 15px;
    padding-top: 15px;
    font-weight: 600;
    font-size: 18px;
    color: #ED3B24;
}

.summary-line .free {
    color: #00980B;
    font-weight: 500;
}

.summary-line .cost {
    color: #666;
}

/* Free Delivery Info */
.free-delivery-info {
    margin: 20px 0;
    padding: 15px;
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
}

.free-delivery-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 14px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00980B, #00c40e);
    transition: width 0.3s ease;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.btn-checkout {
    background: #00980B;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.btn-checkout:hover {
    background: #008709;
}

.btn-clear-cart {
    background: #fff;
    color: #ED3B24;
    border: 2px solid #ED3B24;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-clear-cart:hover {
    background: #ED3B24;
    color: white;
}

.btn-continue-shopping {
    background: #f8f8f8;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    background: #e8e8e8;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-page {
        padding: 20px 15px;
    }
    
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cart-header h1 {
        font-size: 24px;
    }
    
    .cart-summary {
        align-items: flex-start;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 15px;
    }
    
    .cart-item-image {
        grid-row: 1 / 3;
    }
    
    .cart-item-details {
        grid-column: 2;
        grid-row: 1;
    }
    
    .cart-item-quantity {
        grid-column: 1 / 3;
        grid-row: 3;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-item-price {
        grid-column: 2;
        grid-row: 2;
        align-items: flex-start;
    }
    
    .cart-item-actions {
        grid-column: 1 / 3;
        grid-row: 4;
        justify-content: center;
    }
    
    .cart-summary-box {
        padding: 20px;
    }
}

/* CART MESSAGE NOTIFICATIONS */
.cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

.cart-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.cart-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.cart-message-content {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cart-message-close {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.cart-message-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .cart-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* SEARCH FUNCTIONALITY STYLES */

/* Search Container */
.search-container,
.mobile-search-container {
    position: relative;
    width: 100%;
}

/* Search Dropdowns */
.header-search-dropdown {
    width: 90%;
}

.header-search-dropdown,
.mobile-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.header-search-dropdown.show,
.mobile-search-dropdown.show {
    display: block;
}

/* Search Result Items (for header dropdowns) */
.search-result-item {
    display: flex;
    align-items: center;
    padding: 2px 5px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    color: #ED3B24;
    font-weight: 600;
}

.search-result-sku {
    font-size: 12px;
    color: #666;
}

/* Search Status Messages (for header dropdowns) */
.search-total-found {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    text-align: center;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* SEARCH PAGE STYLES */

/* Search Page Layout */
.search-page {
    max-width: 1320px;
    margin: 0 auto;
}

.search-header {
    text-align: center;
    margin: 20px 0px;
}

.search-header h1 {
    margin-bottom: 20px;
    color: #333;
}

.search-form-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-input-group button {
    padding: 15px 25px;
    border: none;
    background: #ED3B24;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.search-input-group button:hover {
    background: #d63418;
}

/* Search Dropdown for Main Page */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.search-dropdown.show {
    display: block;
}

.search-dropdown-content {
    max-height: 400px;
    overflow-y: auto;
}

/* Search Results Header */
.search-results-header {
    margin-bottom: 30px;
}

.search-results-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.search-pagination-info {
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination-btn, .pagination-number {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.pagination-numbers a {
    margin-right: 10px;
}

.pagination-btn:hover, .pagination-number:hover {
    background: #f8f9fa;
    border-color: #ED3B24;
}

.pagination-number.active {
    background: #ED3B24;
    border-color: #ED3B24;
    color: white;
}

.pagination-ellipsis {
    padding: 10px 5px;
    color: #666;
}

/* Search Suggestions */
.search-suggestions {
    text-align: center;
    padding: 40px 20px;
}

.popular-categories {
    margin-top: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.category-card {
    padding: 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    color: #ED3B24;
}

/* Search Page Mobile Responsive */
@media (max-width: 768px) {
    .search-page {
        padding: 15px;
    }
    
    .home-products-list {
        justify-content: center;
    }
    
    .product-item {
        width: 48%;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination-btn, .pagination-number {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* ACCOUNT PAGE STYLES */
.account-container {
    width: 100%;
    margin: 20px auto;
    max-width: 1320px;
}

/* Auth Forms */
.auth-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.auth-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ed3b24;
}

.form-group small {
    color: #666;
    font-size: 12px;
}

.btn-primary {
    background-color: #ed3b24;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #d63519;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0px;
    background-color: #ddd;
}

.auth-divider span {
    background-color: #fff;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-google:hover {
    border-color: #ed3b24;
    background-color: #fff;
    color: #ed3b24;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.auth-links a {
    color: #ed3b24;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Dashboard */
.dashboard-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dashboard-header {
    background: linear-gradient(135deg, #ed3b24, #d63519);
    color: #fff;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.user-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 3px solid #fff;
}

.user-details h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
}

.user-details p {
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.user-group {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.dashboard-content {
    padding: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.dashboard-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .account-container {
        padding: 10px;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Product option selection styles */
.product-options-images img {
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 3px;
    opacity: 0.8;
}

.product-options-images img:hover {
    border-color: #007bff;
    transform: scale(1.05);
    opacity: 1;
}

.product-options-images img.selected-option {
    border-color: #00980b;
    box-shadow: 0 0 10px rgba(0, 152, 11, 0.4);
    transform: scale(1.05);
    opacity: 1;
    position: relative;
}

.product-options-images img.selected-option::after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #00980b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Pulse animation for auto-selected option */
@keyframes pulse {
    0% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 152, 11, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 25px rgba(0, 152, 11, 0.6);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 152, 11, 0.4);
    }
}

/* CART SIDEBAR */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.show {
    right: 0;
}

.cart-sidebar-header {
    background-color: #ed3b24;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d63519;
    flex-shrink: 0;
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.cart-sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.cart-sidebar-content {
    flex: 1;
    padding: 0 20px 20px 20px;
    overflow-y: auto;
}

.cart-sidebar-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.cart-sidebar-loading i {
    font-size: 24px;
    margin-bottom: 10px;
    animation: spin 1s linear infinite;
}

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

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

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

.cart-sidebar-empty h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.cart-sidebar-empty p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.cart-sidebar-item {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.cart-sidebar-item:last-child {
    border-bottom: none;
}

.cart-sidebar-item.updating {
    opacity: 0.6;
}

.cart-sidebar-item-image {
    flex-shrink: 0;
}

.cart-sidebar-item-image img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.cart-sidebar-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-sidebar-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-sidebar-item-name:hover {
    color: #ed3b24;
}

.cart-sidebar-item-option {
    font-size: 12px;
    color: #666;
}

.cart-sidebar-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #ed3b24;
}

.cart-sidebar-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-sidebar-qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.cart-sidebar-qty-btn {
    background: #f8f8f8;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.cart-sidebar-qty-btn:hover {
    background: #ed3b24;
    color: white;
}

.cart-sidebar-qty-input {
    border: none;
    width: 35px;
    height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
}

.cart-sidebar-qty-input:focus {
    outline: none;
}

.cart-sidebar-remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.cart-sidebar-remove-btn:hover {
    background: #ed3b24;
    color: white;
}

.cart-sidebar-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 20px;
    flex-shrink: 0;
}

.cart-sidebar-total {
    margin-bottom: 15px;
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.cart-total-line span:last-child {
    color: #ed3b24;
}

.cart-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-sidebar-actions .btn {
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-sidebar-actions .btn-primary {
    background: #00980B;
    color: white;
    border: 1px solid #00980B;
}

.cart-sidebar-actions .btn-primary:hover {
    background: #008709;
    border-color: #008709;
}

.cart-sidebar-actions .btn-outline-secondary {
    background: #fff;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.cart-sidebar-actions .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

/* Mobile Responsive for Cart Sidebar */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* WISHLIST BUTTONS */
.btn-wishlist {
    background: none;
    border: 2px solid #ed3b24;
    color: #ed3b24;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.btn-wishlist:hover {
    background: #ed3b24;
    color: white;
    transform: scale(1.05);
}

.btn-wishlist.in-wishlist {
    background: #fff;
    color: #ed3b24;
}

.btn-wishlist.in-wishlist:hover {
    background: #fff;
}

.btn-wishlist i {
    font-size: 18px;
}

.product-action {
    position: relative;
    width: 100%;
}
/* Wishlist button for product items */
.product-item .btn-wishlist {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ed3b24;
    width: 35px;
    height: 35px;
    font-size: 14px;
    min-width: unset;
    right: 10px;
    top: 10px;
    z-index: 9;
}

.product-item .btn-wishlist:hover {
    color: #ed3b24;
    box-shadow: 0 2px 8px rgba(237, 59, 36, 0.3);
}

/* WISHLIST PAGE STYLES */
.wishlist-page {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.wishlist-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.wishlist-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.wishlist-header h1 i {
    color: #ed3b24;
}

.wishlist-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

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

/* Empty Wishlist */
.empty-wishlist {
    text-align: center;
    padding: 80px 20px;
}

.empty-wishlist-icon {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 30px;
}

.empty-wishlist h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.empty-wishlist p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Wishlist Items */
.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wishlist-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    border-color: #ED3B24;
    box-shadow: 0 2px 8px rgba(237, 59, 36, 0.1);
}

.wishlist-item.removing {
    opacity: 0.6;
    pointer-events: none;
}

.wishlist-item-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.wishlist-item-details h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.wishlist-item-details a {
    color: #333;
    text-decoration: none;
}

.wishlist-item-details a:hover {
    color: #ED3B24;
}

.wishlist-item-sku, .wishlist-item-stock {
    font-size: 14px;
    margin-bottom: 5px;
}

.wishlist-item-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-current {
    font-size: 20px;
    font-weight: 600;
    color: #ED3B24;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-out-of-stock {
    background-color: #ccc;
    color: #666;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
}

.btn-remove-wishlist {
    background: none;
    border: none;
    color: #ed3b24;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-remove-wishlist:hover {
    background: #ed3b24;
    color: white;
    transform: scale(1.1);
}

/* Wishlist Actions */
.wishlist-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-clear-wishlist {
    background: #fff;
    color: #ED3B24;
    border: 2px solid #ED3B24;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-clear-wishlist:hover {
    background: #ED3B24;
    color: white;
}

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

.modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

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

.btn-danger {
    background-color: #ED3B24;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

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

/* Wishlist Mobile Responsive */
@media (max-width: 768px) {
    .wishlist-page {
        padding: 20px 15px;
    }
    
    .wishlist-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .wishlist-header h1 {
        font-size: 24px;
    }
    
    .wishlist-summary {
        align-items: flex-start;
    }
    
    .wishlist-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
    }
    
    .wishlist-item-image {
        grid-row: 1 / 3;
    }
    
    .wishlist-item-details {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
    
    .wishlist-item-price {
        grid-column: 2;
        grid-row: 2;
        align-items: flex-start;
    }
    
    .wishlist-item-actions {
        grid-column: 1 / 3;
        grid-row: 3;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .wishlist-actions {
        flex-direction: column;
        gap: 15px;
    }
}


.hidden {
    display: none;
}