* {
    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(/uploads/media/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: 50%;
    height: 46px;
    padding-inline-start: 10px;
    display: flex;
    align-items: center;
}
.header-search input {
    width: 90%;
    height: 46px;
    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;
    position: absolute;
}

.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 {
    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;
}

.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;
}
.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: center;
    margin: 0 20px;
    gap: 15px;
}

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

.header-menu-links a:hover {
    transition: scale 0.3s ease-in-out;
    scale: 1.05;
    color: #ed3b24;
}

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

.header-link-divider {
    border-left: 1px solid #ccc;
    height: 20px;
}

.header-menu-right-item a {
    color: #010101;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.header-menu-right-item a:hover {
    color: #ed3b24;
}
i {
    font-size: 16px;
    position: relative;
}

.header-menu-right-item i {
    font-size: 18px;
}

i .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 17px;
    height: 17px;
    line-height: 12px;
    font-size: 12px;
    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 {
    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;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.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: 20px;
}
.category-products-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}
.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;
    line-clamp: 2;
    -webkit-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 a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: unset;
    object-fit: cover;
    border-radius: 10px;
    border: 2px #fff solid;
}
.product-item.inCategory a img {
    max-width: 240px;
    height: 240px;
}
.inCategory {
    width: 240px;
}
.inCategory img {
    width: 240px;
    height: 240px;
    object-fit: contain;
}
.inPage {
    width: 240px;
    margin: 20px 10px;
}
.inPage a img {
    max-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 a 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 {
    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: 0 10px 15px; */
    padding: 0;
}

.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 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 10px;
}

.mobile-menu-links a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    padding: 8px 12px;
    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 {
    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 {
    list-style: none;
    padding: 0 10px;
    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: 14px 0;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.mobile-category-arrow {
    font-size: 16px;
    color: #666;
    transition: transform 0.2s ease, color 0.2s ease;
    width: 70px;
    height: 14px;
    text-align: right;
    padding-right: 10px;
}

.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;
}
.btn-product-action.disabled {
    background-color: #c1c1c1 !important;
    cursor: not-allowed;
    width: 138px;
}
.btn-product-action.disabled:hover {
    background-color: #c1c1c1 !important;
    cursor: not-allowed;
}

.home-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.category-item {
    height: 196px;
    width: 196px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 1rem;
}
.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;
    position: absolute;
    background: #ed3b2485;
    bottom: 4px;
    border-radius: 0 0 9px 9px;
    color: #fff;
}

.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-row {
    display: flex;
    gap: 5px;
}
.raft-row a {
    text-decoration: none;
    width: 49%;
}
.raft-row a img {
    width: 100%;
}
.raft-row a:first-child img {
    border-radius: 10px 0 0 10px;
}
.raft-row a:last-child img {
    border-radius: 0 10px 10px 0;
}



/* 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;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer li a:hover {
    color: #ed3b24;
}

.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;
}
.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 0;
}
.footer-payments {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}
.footer-payments img {
    height: 16px;
}
.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;
    font-family: 'Montserrat', sans-serif;
}
.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;
    font-family: 'Montserrat', sans-serif;
}

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

.quantity-selector label {
    font-weight: 500;
    color: #333;
    font-size: 12px;
    padding: 1px;
    position: absolute;
    top: -10px;
    right: 5px;
    z-index: 99;
    background: linear-gradient(to bottom, #fff 10%, transparent 100%);
}

.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;
    font-family: 'Montserrat', sans-serif;
}

.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;
}

.qty-btn {
    background-color: #ED3B24;
    color: #fff;
    font-size: 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    position: absolute;
    width: 30px;
    height: 50px;
}

.qty-btn.right {
    right: 0;
    border-radius: 0 8px 8px 0;
}

.qty-btn:hover {
    background-color: #e73119;
    cursor: pointer;
}

.btn-add-to-cart {
    background-color: #00980B;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 400;
    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);
    font-family: 'Montserrat', sans-serif;
}

.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%;
        object-fit: contain;
    }
    .product-main-image {
        height: 292px;
    }
    
    .product-info .product-name {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .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: 120px;
    }
    
    .quantity-input {
        width: 120px;
        height: 40px;
    }
    .qty-btn {
        height: 40px;
    }
    
    .btn-add-to-cart {
        width: 120px;
        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 {
    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 {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.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;
}

.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;
}

.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;
}

.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 {
    display: flex;
    flex-direction: column;
}

.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 {
    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 {
    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;
}

@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 {
    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-container,
.mobile-search-container {
    position: relative;
    width: 100%;
}

.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-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-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 {
    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 {
    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 {
    margin-bottom: 30px;
}

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

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

.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 {
    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;
}

@media (max-width: 768px) {
    .category-products-list {
        justify-content: center;
    }
    .search-page {
        padding: 15px;
    }
    
    .home-products-list {
        justify-content: center;
    }
    
    .product-item {
        width: 47%;
        margin-bottom: 0;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination-btn, .pagination-number {
        padding: 8px 12px;
        font-size: 14px;
    }
}

.account-container {
    width: 100%;
    margin: 20px auto;
    max-width: 1320px;
}

.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-container, .orders-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dashboard-header, .orders-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;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.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;
}

.orders-content {
    padding: 20px;
}
.orders-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
}

.order-card {
    width: calc(100% - 20px);
    margin: 10px;
    border-radius: 9px;
    position: relative;
    padding: 10px;
    border: 1px solid #ed3b24;
    display: grid;
    grid-template-columns: 1fr 90px;
}
.order-card>.card-title {
    font-size: 16px;
    color: #fff;
    background-color: #ed3b24;
    padding: 5px 10px;
    border-radius: 8px 8px 0 0;
    position: absolute;
    left: 0;
    top: 0;
}
.order-card > .card-actions > .btn-primary {
    background-color: #00970A;
}
/* .order-card:nth-child(even) {
    border: 1px solid #00970A;
}
.order-card:nth-child(even) > .card-title, .order-card:nth-child(even) > .card-actions > .btn-primary {
    background-color: #00970A;
} */
.order-card>.card-date {
    font-size: 14px;
    color: #333;
    padding: 5px 10px;
    position: absolute;
    font-style: italic;
    right: 0;
    top: 0;
}
.order-card>.card-info {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.order-card>.card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.order-card > .card-actions > .btn-primary,
.order-card > .card-actions > .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.order-card > .card-actions > .btn-primary {
    min-width: 38px;
    padding: 0 12px;
}

.order-card > .card-actions > .btn-secondary {
    background-color: #00970A;
}

.order-card > .card-actions > .btn-secondary:hover {
    background-color: #007f08;
}

.order-card > .card-actions > .btn-secondary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ACCOUNT */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    max-width: 1320px;
    margin: 20px auto;
}
.account-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.account-sidebar-menu li {
    list-style: none;
}
.account-sidebar-menu li .acc-link {
    display: block;
    padding: 6px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.account-sidebar-menu li .acc-link:hover {
    color: #ed3b24;
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    .account-sidebar {
        display: none;
    }
    .orders-content {
        padding: 0;
    }
    .account-container {
        padding: 0 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-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);
}

.product-option-group {
    margin-bottom: 20px;
}

.option-group-label {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.option-group-label .red {
    color: #ed3b24;
    font-weight: bold;
}

.product-options-sizes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option {
    width: 45px;
    height: 45px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.size-option:hover {
    border-color: #007bff;
    background: #f8f9fa;
    transform: scale(1.05);
}

.size-option.selected-option {
    border-color: #00980b;
    background: #00980b;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 152, 11, 0.4);
}

.size-option:disabled {
    border-color: #ccc;
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.size-option:disabled:hover {
    transform: none;
    border-color: #ccc;
    background: #f5f5f5;
}

.product-options-generic {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.generic-option {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.generic-option:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.generic-option.selected-option {
    border-color: #00980b;
    background: #00980b;
    color: white;
    transform: translateY(-1px);
}

.generic-option:disabled {
    border-color: #ccc;
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.generic-option:disabled:hover {
    transform: none;
    border-color: #ccc;
    background: #f5f5f5;
}

.option-selectable {
    outline: none;
}

/* TikTok Option Checkbox */
.tiktok-option-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 400px;
}

.tiktok-option-checkbox:hover {
    border-color: #ed3b24;
    background: #fff5f5;
}

.tiktok-option-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: #ed3b24;
}

.tiktok-option-checkbox span {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

.tiktok-option-checkbox input:checked + span {
    color: #ed3b24;
    font-weight: 600;
}

.tiktok-option-checkbox:has(input:checked) {
    border-color: #ed3b24;
    background: #fff5f5;
}

.tiktok-username-field {
    margin-top: 12px;
    width: 100%;
    max-width: 400px;
}

.tiktok-username-field label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.tiktok-username-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

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

.tiktok-username-input::placeholder {
    color: #adb5bd;
}

@keyframes pulse {
    0% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0, 152, 11, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(0, 152, 11, 0.6);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0, 152, 11, 0.4);
    }
}

.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    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: 0 10px;
    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: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.cart-sidebar-close i {
    font-size: 30px;
}

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

.cart-sidebar-content {
    flex: 1;
    padding: 0 10px;
    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;
    display: flex;
    flex-direction: column;
}

.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;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.cart-sidebar-item-option {
    font-size: 10px;
    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: 9px 12px;
    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;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 70%;
        right: -70%;
    }
    .btn-product-action {
        width: 100px;
    }
    .product-price {
        font-size: 12px;
    }
    .product-old-price {
        font-size: 10px;
    }
    .cart-sidebar-item-image img {
        width: 60px;
        height: 60px;
    }
    .cart-sidebar-item-name, .cart-sidebar-item-price, .cart-sidebar-actions .btn {
        font-size: 12px;
    }
    .cart-sidebar-total {
        margin-bottom: 5px;

    }
    .cart-sidebar-footer {
        padding: 5px 10px;
    }
}

.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%;
}
.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 {
    padding: 40px 20px;
    max-width: 1320px;
    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 {
    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 {
    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 {
    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-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;
}

.showOnMobile {
    display: none;
}

@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;
}

.recent-products-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
    cursor: default;
}

.recent-products-slider-wrapper {
    padding: 10px 0;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.recent-products-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.recent-products-slider-track.no-transition {
    transition: none;
}

.recent-product-slide {
    flex: 0 0 200px;
    margin-right: 20px;
    position: relative;
}

.recent-product-slide:last-child {
    margin-right: 0;
}

.recent-product-slide .product-item {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.recent-product-slide .product-item:hover {
    transform: scale(1.08);
    background-color: #fff;
    border-radius: 10px;
}

.recent-product-slide .product-item a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: unset;
    object-fit: cover;
    border-radius: 10px;
    border: 2px #fff solid;
}

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

@media (max-width: 768px) {
    .recent-product-slide {
        flex: 0 0 45%;
        margin-right: 10px;
    }
    
    .recent-product-slide .product-item {
        width: 170px;
    }
    
    .recent-product-slide .product-item a img {
        width: 170px;
        height: 170px;
    }
    
    .recent-products-slider-container {
        margin: 15px 0;
    }
}
@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 {
        flex: 1 0 46%;
        position: relative;
    }

    .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;
    }
    .feature {
        gap: 5px;
        flex-direction: column;
        align-items: center;
    }
    .feature:not(:first-child) {
        padding-left: 6px;
    }
    .category-item {
        width:  46%;
        aspect-ratio: 1 / 1;
        margin-bottom: 0;
        position: relative;
        height: unset;
    }
    .cat-item {
        width: 46%;
        margin-bottom: 0px;
        position: relative;
    }
    .home-categories-list {
        margin-bottom: 10px;
    }
    .raft { 
        flex-direction: column;
        width: auto;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .footer-content {
        gap: 20px;
        padding: 20px;
    }
    .footer-bottom {
        padding: 10px 20px;
    }
    .recent-product-slide {
        flex: 0 0 47%;
        margin-right: 15px;
    }
    
    .recent-products-slider .product-item {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .recent-products-slider .product-item a img {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
    
    .recent-products-slider-container {
        margin: 10px 0;
    }
    .recent-product-slide .btn-product-action {
        width: 90px;
        font-size: 11px;
    }
    .recent-product-slide .product-item {
        width: 100%;
    }
    .recent-product-slide .product-options {
        bottom: 50px;
        left: 5px;
    }
    .product-item.inCategory a img {
        width: 100%;
        height: unset;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
    .btn-product-action {
        font-size: 11px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .recent-products-slider-container {
        -webkit-overflow-scrolling: touch;
    }
    
    .recent-products-slider .product-item:hover {
        transform: none;
        background-color: transparent;
    }
}

.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: rgba(0, 0, 0, 0.95);
}

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

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.image-zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10001;
}

.image-zoom-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.image-zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.image-zoom-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.image-zoom-nav.hidden {
    opacity: 0;
    pointer-events: none;
}

.image-zoom-prev {
    left: 20px;
}

.image-zoom-next {
    right: 20px;
}

.image-zoom-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.image-zoom-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: grab;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.image-zoom-img:active {
    cursor: grabbing;
}

.image-zoom-img.zoomed {
    cursor: move;
}

.image-zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 25px;
    transition: opacity 0.3s ease;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.image-zoom-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 10px;
}

.zoom-thumbnails-track {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width:none;
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.zoom-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.zoom-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.zoom-thumbnail.active {
    opacity: 1;
    border-color: #ed3b24;
    transform: scale(1.1);
}

.image-zoom-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.product-main-image,
.zoomable-image {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-main-image:hover,
.zoomable-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .image-zoom-container {
        padding: 10px;
    }
    
    .image-zoom-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .image-zoom-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .image-zoom-prev {
        left: 10px;
    }
    
    .image-zoom-next {
        right: 10px;
    }
    
    .image-zoom-wrapper {
        max-width: 95%;
        max-height: 70%;
    }
    
    .image-zoom-controls {
        bottom: 10px;
        padding: 8px;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .image-zoom-thumbnails {
        bottom: 10px;
        max-width: 90%;
        padding: 8px;
    }
    
    .zoom-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .image-zoom-counter {
        top: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .image-zoom-wrapper {
        max-height: 60%;
    }
    
    .image-zoom-controls {
        gap: 8px;
        padding: 6px;
    }
    
    .zoom-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .zoom-thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .image-zoom-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.image-zoom-modal.single-image .image-zoom-thumbnails,
.image-zoom-modal.single-image .image-zoom-nav {
    display: none;
}
@media (min-width: 760px) and (max-width: 980px) {
    .product-item {
        flex: 0 0 22%;
    }
    section.home-products, section.reels-section {
        padding: 10px;
    }
    .home-products-list {
        justify-content: center;
    }
}

@media (min-width: 981px) and (max-width: 1320px) {
    .product-item {
        /* max-width: 240px; */
        flex: 0 0 23%;
    }
    .product-item.inCategory a img {
        max-width: 240px;
        height: 240px;
    }
    section.home-products, section.reels-section {
        padding: 10px;
    }
    .home-products-list {
        justify-content: center;
    }
}

.section-title-button {
    position: absolute;
    bottom: 3px;
    right: 3px;
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 13px;
    font-family: 'Montserrat';
    background: #ed3b24;
    color: #fff;
    border-radius: 6px;
    padding: 5px;
}

.reels-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.reels-carousel-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.reels-carousel-track {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.reels-carousel-indicators {
    display: none;
}

.home-reel {
    max-width: 24%;
    position: relative;
}

.home-reel video {
    width: 100%;
    max-height: 599px;
    object-fit: cover;
    border-radius: 12px;
}

/* .home-reel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    border-radius: 12px;
} */

@media (max-width: 480px) {
    .reels-carousel-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 12px;
    }
    
    .reels-carousel-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: flex-start;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        width: 400%;
    }
    
    .home-reel {
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        position: relative;
    }
    
    .home-reel video {
        width: 100%;
        height: 70vh;
        max-height: 70vh;
        object-fit: cover;
        border-radius: 0;
    }
    
    .reels-carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .reels-carousel-indicators .indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .reels-carousel-indicators .indicator.active {
        background-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.2);
    }
}
.product-payment-methods {
    font-style: italic;
}
.product-payment-methods img {
    max-width: 500px;
    height: 33px;
    border-radius: 6px;
}

.art-emojist {
    position: relative;
    overflow: visible;
}
@media (max-width: 480px) {
    .product-payment-methods img {
        max-width: 300px;
        height: auto;
    }
    .art-emojist {
        overflow: hidden;
    }
}

@media (max-width: 920px) {
    .header-menu-right-item .detailed {
        display: none;
    }
    .header-info-card-content {
        display: none;
    }
    .header-info-cards {
        margin-right: 20px;
    }
    .showOnMobile {
        display: block;
    }
}
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid #ED3B24;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-content {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #131313;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent-title i {
    color: #ED3B24;
    font-size: 1.3rem;
}

.cookie-consent-message {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #ED3B24 0%, #c9301f 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #c9301f 0%, #a52514 100%);
}

.cookie-btn-necessary {
    background: #f0f0f0;
    color: #333;
}

.cookie-btn-necessary:hover {
    background: #e0e0e0;
}

.cookie-btn-preferences {
    background: transparent;
    color: #ED3B24;
    border: 2px solid #ED3B24;
}

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

.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-consent-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #131313;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-modal-header h3 i {
    color: #ED3B24;
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #131313;
    margin: 0;
}

.cookie-category-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #ED3B24;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ED3B24;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s;
}

.cookie-settings-btn:hover {
    color: #c9301f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 16px;
    }
    
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-content {
        min-width: auto;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-modal-content {
        max-height: 95vh;
        margin: 10px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .cookie-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .cookie-consent-title {
        font-size: 1rem;
    }
    
    .cookie-consent-message {
        font-size: 0.85rem;
    }
}

.cookie-settings-link {
    color: inherit !important;
    transition: color 0.2s;
}

.cookie-settings-link:hover {
    color: #ED3B24 !important;
}
