@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Root Variables */
:root {
    --main_color: #ff8716;
    --p_color: #7b7b7b;
    --bg_color: #F3F3F3;
    --white_color: #fff;
    --color_heading: #121416;
    --border_color: #e5e5e5d5;
    --Sale_color: #E51A1A;
}

/* Global Styles */
body {
    width: 100%;
    overflow-x: hidden;
    padding-top: 180px;
}

* {
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    color: var(--color_heading);
    margin: 0;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

a,
span {
    display: inline-block;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "DM Sans", sans-serif;
    color: var(--color_heading);
}

p {
    color: var(--p_color);
}

span {
    color: var(--main_color);
}

img {
    width: 100%;
}

button,
select,
datalist,
input {
    outline: none;
    border: none;
}

#Reviews {
    color: #28a745;
    cursor: pointer;
}

#Reviews:hover {
    color: var(--main_color);
}


#Reviews.active {
    color: var(--main_color) !important;
}


header .bottom-header .container .nav-links li.active a#Reviews {
    color: var(--main_color);
}


/* Buttons */
.btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    background-color: var(--main_color);
    padding: 10px 18px;
    border-radius: 2px;
    color: var(--white_color);
    cursor: pointer;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.1);
}

.btn i {
    color: var(--white_color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1350px !important;
    margin: 0 auto;
    /* padding: 0 15px; */
}

@media (max-width: 1350px) {
    .container {
        width: 90%;
    }
}

/* Header */
header {
    background-color: var(--white_color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 5px 8px 8px #d1d1d13b;
    z-index: 999;
}

/* Top Header */
header .top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    max-width: 100%;
}

header .top-header .logo {
    width: 180px;
}

header .top-header .container .search-box {
    position: relative;
    width: 610px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    background: var(--bg_color);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    max-width: 100%;
}


header .top-header .container .search-box:has(.search:focus) {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 0 0 1.5px #ffb84d,
        0 0 6px rgba(255, 170, 51, 0.35) !important;
    border-radius: 6px;
}

header .top-header .container .search-box select:focus {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 0 0 1.5px #ffb84d,
        0 0 6px rgba(255, 170, 51, 0.35) !important;
    border-radius: 6px;
}


header .top-header .container .search-box select {
    height: 55px;
    width: 195px;
    background: var(--bg_color);
    font-size: 16px;
    cursor: pointer;
    padding-left: 10px;
    margin-right: 10px;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

header .top-header .container .select-box option {
    font-size: 15px;
}

header .top-header .container .select-box {
    position: relative;
}

header .top-header .container .select-box::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background: #b9b9b9;
}

header .top-header .container .search-box .search {
    height: 55px;
    width: 400px;
    padding: 5px 15px 5px 10px;
    background: var(--bg_color);
}

header .top-header .search-box button {
    height: 60px;
    width: 60px;
    background: var(--main_color);
    font-size: 18px;
    cursor: pointer;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

header .top-header .search-box button i {
    color: var(--white_color);
}

header .top-header .container .header-icon {
    display: flex;
    gap: 30px;
    margin-right: 10px;
}

header .top-header .container .header-icon .icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

header .top-header .container .header-icon .icon i {
    font-size: 24px;
    transition: 0.3s;
}

header .top-header .container .header-icon .icon i:hover {
    transform: scale(1.1);
}

header .top-header .container .header-icon .icon .count {
    position: absolute;
    top: -10px;
    right: -10px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    color: var(--white_color);
    background-color: var(--main_color);
    border-radius: 50%;
    font-size: 11px;
}

/* Bottom Header */
header .bottom-header {
    border-top: 1px solid var(--border_color);
    width: 100%;
}

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

header .bottom-header .container nav {
    display: flex;
    align-items: center;
    gap: 50px;
    height: 60px;
}

header .bottom-header .container .nav-category {
    width: 220px;
    position: relative;
    height: 100%;
}

header .bottom-header .container .nav-category .category-btn {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    cursor: pointer;
    background-color: var(--main_color);
    transition: 0.3s;
}

header .bottom-header .container .nav-category .category-btn p {
    color: var(--white_color);
    font-weight: 600;
    font-size: 15px;
}

header .bottom-header .container .nav-category .category-btn i {
    color: var(--white_color);
}

header .bottom-header .container .nav-category .nav-category-list {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: var(--white_color);
    border: 1px solid #999;
    border-top: 0;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease-in-out;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    overflow-y: auto;
    height: 320px;
}

header .bottom-header .container .nav-category .nav-category-list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);

}

header .bottom-header .container .nav-category .nav-category-list a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border_color);
    font-size: 14px;
}

header .bottom-header .container .nav-category .nav-category-list a:last-child {
    border-bottom: 0;
}

header .bottom-header .container .nav-category .nav-category-list a:hover {
    background: #d0d0d0;
}

header .bottom-header .container .nav-links {
    display: flex;
    gap: 35px;
}

header .bottom-header .container .nav-links li a {
    color: var(--color_heading);
    transition: 0.3s;
}

header .bottom-header .container .nav-links li a:hover,
header .bottom-header .container .nav-links li.active a {
    color: var(--main_color);
}

/* User Avatar / Header Profile */
.user-area {
    position: relative;
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--main_color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1300;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

.dropdown-menu #logoutBtn,
.dropdown-menu #logoutBtn i {
    color: hsl(0 84.2% 60.2%);
}

.dropdown-menu #logoutBtn:hover {
    color: #333;
}

.dropdown-menu #logoutBtn:hover i {
    color: #333;
}

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

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

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown-menu li a i {
    margin-right: 8px;
    font-size: 16px;
    color: #555;
}

.dropdown-menu li a:hover {
    background-color: #f0f0f0;
}


/* & Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .8);
    display: none;
    z-index: 1100;
}

.overlay.active {
    display: block;
}


.close-menu,
.open-menu {
    display: none;
}

/* Menu Icons */
.open-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.open-menu i {
    color: var(--main_color);
    border: 1px solid var(--main_color);
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 3px;
    cursor: pointer;
}

.close-menu {
    display: none;
    font-size: 30px;
    transition: 0.3s ease-out;
    cursor: pointer;
}

.close-menu:hover {
    color: #555;
}


/* Slider */
.slider {
    position: relative;
}

.slider .container {
    display: flex;
    justify-content: space-between;
}

.slider .container .banner_2 {
    width: 23%;
    height: 100%;
    object-fit: cover;
}

.slider .container .banner_2 a {
    height: 100%;
    width: 100%;
}

.slider .container .slide-swp {
    width: 75%;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    height: auto !important;
}

.slider .container .slide-swp .swiper-pagination {
    position: relative;
    bottom: 20px;
}

.slider .container .slide-swp .swiper-pagination span {
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--main_color) !important;
    width: 34px !important;
    height: 8px !important;
    border-radius: 30px !important;
}

/* Banners */
.banners {
    margin: 50px 0;
}

.banners .banners-boxs {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banners .banners-boxs .box {
    width: 49%;
}

.banners .banner-3-img .box {
    width: 32%;
}

.banner-4 {
    margin: 40px 0;
}

.banner-4 .container {
    display: flex;
    justify-content: space-between;
}

.banner-4 .container .box {
    width: 24%;
    position: relative;
    background-image: url(../img/bg_banner3.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 10px;
    border-radius: 6px;
}

.banner-4 .container .box img {
    width: 100px;
    transition: 0.3s;
}

.banner-4 .container .box:hover img {
    scale: 1.05;
}

.banner-4 .container .box h5 {
    font-size: 16px;
}

.banner-4 .container .box .sale {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0;
}

.banner-4 .container .box .sale span {
    font-size: 25px;
    font-weight: bold;
}

.banner-4 .container .box h6 {
    font-size: 14px;
    font-weight: bold;
}

.banner-4 .container .box .link-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Slide Product Lists */
.slide {
    margin-bottom: 70px;
}

.top_slide {
    position: relative;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--main_color);
}

.top_slide h2 {
    position: relative;
    text-transform: uppercase;
    color: var(--white_color);
    padding: 10px 40px;
    font-size: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    width: max-content;
    background-color: var(--main_color);
}

.top_slide h2::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    border-left: 20px solid transparent;
    border-bottom: 20px solid #e26e02;
    background: #fff;
    z-index: 9;
}

.top_slide h2 i {
    color: var(--white_color);
}

.slide .container {
    position: relative;
}

.slide .container .mySwiper {
    padding: 55px 0 20px;
}

.slide .container .mySwiper .btn_Swip {
    position: absolute;
    background-color: var(--bg_color);
    color: var(--color_heading);
    top: 30px;
    right: 0;
    height: 35px;
    width: 35px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid var(--border_color);
    opacity: 1;
    transition: 0.3s;
}

.slide .container .mySwiper .btn_Swip::after {
    font-size: 12px;
}

.slide .container .mySwiper .btn_Swip:hover {
    transform: scale(1.1);
}

.slide .container .mySwiper .btn_Swip.swiper-button-prev {
    left: calc(100% - 80px);
}

/* Product */
.product {
    position: relative;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid var(--border_color);
    border-radius: 8px;
    height: 373px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}


.product .sale-present {
    position: absolute;
    top: 10px;
    background-color: var(--Sale_color);
    color: var(--white_color);
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 3px;
}

.product .img-product {
    position: relative;
    height: 180px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.product .img-product img {
    width: 125px;
    object-fit: contain;
}

.product .img-product:hover {
    transform: scale(1.09);
}

.product .stars {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.product .stars i {
    color: var(--main_color);
    font-size: 14px;
}

.product .name-product {
    font-size: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4em;
    max-height: calc(1.4em * 2);
}

.product .name-product a:hover {
    text-decoration: underline;
}

.product .price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

.product .price p {
    margin: 0;
    font-weight: bold;
    font-size: 18px;
}

.product .price .old-price {
    text-decoration: line-through;
    color: var(--p_color);
    font-size: 14px;
}

.product .icons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.product .icons .btn-add-cart {
    flex: 1;
    background-color: var(--main_color);
    color: var(--white_color);
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product .icons .btn-add-cart i {
    color: var(--white_color);
    pointer-events: none;
}

.product .icons .btn-add-cart:hover {
    transform: scale(1.05);
    background: #f47600;
}

.product .icons .btn-add-cart.active {
    background-color: transparent;
    color: var(--color_heading);
    border: 1px solid var(--main_color);
    pointer-events: none;
}

.product .icons .btn-add-cart.active i {
    color: var(--main_color);
}

.product .icons .icon-product {
    border: 1px solid var(--border_color);
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    color: var(--p_color);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.product .icons .icon-product i {
    font-size: 14px;
}

.product .icons .icon-product:hover {
    background-color: var(--main_color);
}

.product .icons .icon-product:hover i {
    color: var(--white_color);
}

.product .icons .icon-product.active,
.product .icons .icon-product.active i {
    color: #e74c3c;
}

/* Favorites Sidebar */
.favorites {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background-color: var(--white_color);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1300;
    padding: 20px;
    overflow-y: auto;
}

.favorites.active {
    right: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.top-favorites {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px 20px;
    border-bottom: 1px solid var(--border_color);
}

.top-favorites .close-favorites i {
    cursor: pointer;
    font-size: 30px;
    transition: color 0.2s ease-out;
}

.top-favorites .close-favorites i:hover {
    color: #555;
}

.top-favorites h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--color_heading);
}

.top-favorites h3 span {
    color: #e74c3c;
    font-weight: bold;
}

.items-in-favorites {
    padding: 30px;
    overflow-y: auto;
    height: calc(100% - 60px);
}

.item-favorite {
    padding: 10px 0;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border_color);
    height: 120px;
}

.item-favorite img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
}

.item-favorite .content {
    flex: 1;
}

.item-favorite h4 a {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4em;
    max-height: calc(1.4em * 2);
}

.item-favorite .price {
    font-size: 14px;
    color: var(--p_color);
}


.item-favorite .icon-product {
    font-size: 18px;
    margin-left: 10px;
    margin-bottom: 7px;
    transition: all 0.3s ease-in-out;
}

/* .item-favorite .icon-product:hover i {
    color: #121416;
} */

.item-favorite .delete-favorite {
    background: none;
    border: none;
    color: var(--p_color);
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.item-favorite .delete-favorite i:hover {
    color: var(--Sale_color);
}

.item-favorite:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.empty-favorites {
    text-align: center;
    padding: 135px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    justify-content: center;
}

.empty-favorites h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--color_heading);
    font-weight: bold;
}

.empty-favorites p:nth-of-type(1) {
    color: #666666;
    font-size: 18px;
    line-height: 1.3;
    margin: 6px 0;
    font-weight: 500;
}

.empty-favorites p {
    font-size: 14px;
    line-height: 1.3;
    color: #82838E;
}

.empty-favorites .shop-now-btn {
    text-transform: uppercase;
    background-color: #6c757d;
    color: var(--white_color);
    padding: 12px 26px;
    border: 2px solid #6c757d;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.empty-favorites .shop-now-btn:hover {
    background-color: transparent;
    color: #6c757d;
}

/* Product Details */
.product-details {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.product-image {
    flex: 1;
}

.product-image img {
    max-width: 400px;
    border-radius: 5px;
    border: 1px solid var(--border_color);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-info h1 {
    font-size: 24px;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price .old-price {
    text-decoration: line-through;
    color: var(--p_color);
    font-size: 16px;
}

.price .sale-present {
    background-color: var(--Sale_color);
    color: var(--white_color);
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 3px;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: var(--main_color);
    font-size: 14px;
}

.specifications h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.specifications ul {
    padding-left: 20px;
    list-style: disc;
}

.specifications ul li {
    color: var(--p_color);
    font-size: 14px;
    margin-bottom: 5px;
}

.stock-info p {
    font-size: 14px;
    color: var(--p_color);
}

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

.btn-add-cart {
    background-color: var(--main_color);
    color: var(--white_color);
    padding: 14px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.btn-add-cart i {
    color: var(--white_color);
    pointer-events: none;
}

.btn-add-cart:hover {
    transform: scale(1.05);
    background: #f47600;
}

.btn-add-cart.active {
    background-color: transparent;
    color: var(--color_heading);
    border: 1px solid var(--main_color);
    pointer-events: none;
}

.btn-add-cart.active i {
    color: var(--main_color);
}


.btn-buy-now {
    background-color: #007bff;
    color: var(--white_color);
    cursor: pointer;
    transition: 0.3s;
    padding: 14px 20px;
    border-radius: 5px;
}

.btn-buy-now:hover {
    transform: scale(1.05);
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    margin-top: 20px;
    color: var(--main_color);
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid var(--main_color);
}

.back-btn i {
    margin-right: 8px;
    color: var(--main_color);
}

.back-btn:hover {
    background-color: var(--main_color);
    color: var(--white_color);
    text-decoration: none;
    transform: scale(1.03);
}

.back-btn:hover i {
    color: var(--white_color);
}

/* Reviews Section */
.reviews-section {
    margin: 40px 0;
    border: 1px solid var(--border_color);
    border-radius: 5px;
    background-color: var(--white_color);
}

.icon-product i.active {
    color: #e74c3c;
}

.icon-product i.active {
    color: #e74c3c;
}

.icon-product i:hover {
    transform: scale(1.05);
}

.icon-product {
    border: 1px solid var(--border_color);
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    color: var(--p_color);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.icon-product.active i {
    color: #e74c3c;
}

.reviews-section h2 {
    border-bottom: 1px solid var(--border_color);
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--main_color);
    color: var(--white_color);
    font-size: 18px;
    font-weight: bold;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.review {
    padding: 15px;
    border-bottom: 1px solid var(--border_color);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review:last-child {
    border-bottom: none;
}

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

.review-user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border_color);
}

.review-user {
    font-weight: 600;
    font-size: 16px;
    flex: 1;
    color: #888;
    font-style: italic;
}

.review-stars {
    display: flex;
    gap: 5px;
}

.review-stars i {
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: var(--p_color);
    margin-bottom: 10px;
}

.review-text a {
    color: var(--main_color);
    text-decoration: none;
}

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

.review-date {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.review-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.edit-review-btn,
.delete-review-btn {
    background: var(--main_color);
    border: 1px solid var(--main_color);
    color: var(--white_color);
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.translate-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.translate-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.translate-link:active {
    color: #003087;
}

.edit-review-btn:hover {
    background: #28a745;
    border-color: #28a745;
}

.delete-review-btn:hover {
    background: #d32f2f;
    border-color: #d32f2f;
}

/* .fkcart-icon-favorite path {
    fill: #e74c3c;
} */
.swal2-rtl {
    direction: rtl;
    text-align: right;
}

.review-form {
    margin-top: 20px;
    padding: 16px;
    background: var(--highlight_color);
    border-radius: 5px;
}

.review-form h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--p_color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--p_color);
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border_color);
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    margin-bottom: 15px;
    resize: vertical;
    min-height: 85px;
    max-height: 350px;
    transition: 0.2s;
}

.form-group textarea:focus-visible {
    border-color: #d35400;
    outline: none;
    box-shadow: 2px 2px 8px rgba(211, 84, 0, 0.35);
}

.review-form .btn {
    display: inline-block;
    text-align: center;
    background: var(--main_color);
    color: var(--white_color);
    padding: 12px 26px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.review-form .btn:hover {
    transform: scale(1.03);
    color: var(--color_heading);
    background-color: transparent;
    border-color: var(--main_color);
}

.review-form .cancel-btn {
    background: var(--secondary_color);
    border: 1px solid var(--secondary_color);
}

.review-form .cancel-btn:hover {
    background: transparent;
    color: var(--color_heading);
    border-color: var(--secondary_color);
}

/* Reviews Filter */
.reviews-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.reviews-filter .form-group {
    flex: 1;
    min-width: 200px;
}

.reviews-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--p_color);
    margin-bottom: 8px;
}

.reviews-filter select,
.reviews-filter input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border_color);
    border-radius: 6px;
    font-size: 14px;
    background: var(--white_color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reviews-filter select:focus,
.reviews-filter input:focus {
    border-color: var(--main_color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.pagination button {
    padding: 10px 20px;
    border: 1px solid var(--main_color);
    border-radius: 6px;
    background: var(--white_color);
    color: var(--main_color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: var(--main_color);
    color: var(--white_color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border_color);
    color: var(--secondary_color);
}

.pagination span {
    font-size: 15px;
    font-weight: 600;
    color: var(--p_color);
}

/* Footer */
footer {
    background: var(--color_heading);
}

footer .container {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}

footer .container .big-row {
    width: 30%;
}

footer .container .big-row .logo-footer {
    width: 180px;
}

footer .container .big-row p {
    width: 90%;
    color: #b1b1b1;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
}

footer .container .big-row .icons-footer {
    display: flex;
    gap: 10px;
}

footer .container .big-row .icons-footer a {
    width: 40px;
    height: 40px;
    background-color: var(--main_color);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0;
    transition: 0.3s;
}

footer .container .big-row .icons-footer a:hover {
    top: -5px;
}

footer .container .big-row .icons-footer i {
    color: var(--white_color);
    font-size: 20px;
}

footer .container .row {
    width: 22%;
}

footer .container .row h4 {
    color: var(--white_color);
    font-size: 18px;
    margin-bottom: 20px;
}

footer .container .row .links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

footer .container .row .links i {
    color: var(--main_color);
    font-size: 14px;
    margin-right: 5px;
}

footer .container .row .links a {
    color: #b1b1b1;
    font-size: 14px;
    position: relative;
    left: 0;
    transition: 0.3s;
}

footer .container .row .links a:hover {
    left: 8px;
}

footer .footer-bottom {
    background: #1d1f22;
}

footer .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

footer .footer-bottom .container p {
    color: var(--white_color);
}

footer .footer-bottom .container img {
    width: 350px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #FFD93D;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1100;
    transition: background 0.3s ease;
}

#back-to-top:hover {
    background: #F3C623;
}

/* Responsive */
@media (max-width: 1100px) {
    body {
        padding-top: 240px;
    }

    header .top-header .container {
        flex-wrap: wrap;
        max-width: 100%;
    }

    header .top-header .search-box {
        order: 3;
        margin: 20px auto 0;
        flex-basis: 79%;
    }

    header .top-header .logo {
        width: 150px;
    }

    header .top-header .container .search-box select {
        width: 200px;
        border-bottom-left-radius: 6px;
        border-top-left-radius: 6px;
    }

    header .top-header .container .search-box .search {
        width: calc(100% - 200px);
    }

    header .top-header .container .search-box:has(.search:focus) {
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.15),
            0 0 0 1.5px #ffb84d,
            0 0 6px rgba(255, 170, 51, 0.35) !important;
        border-radius: 6px;
    }

    header .top-header .container .search-box select:focus {
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.15),
            0 0 0 1.5px #ffb84d,
            0 0 6px rgba(255, 170, 51, 0.35) !important;
        border-radius: 6px;
    }

    /* Nav Links Sidebar */
    header .bottom-header .container .nav-links {
        position: fixed;
        top: 0;
        left: -400px;
        width: 400px;
        bottom: 0;
        background-color: var(--white_color);
        flex-direction: column;
        padding: 120px 0 0 0;
        align-items: center;
        border: 1px solid var(--border_color);
        transition: 0.3s ease-in-out;
        margin: 0;
        font-weight: 500;
        z-index: 1500;
        box-shadow: 4px 0 10px 0 rgba(0, 0, 0, .4);
    }

    header .bottom-header .container .nav-links.active {
        left: 0;
    }

    header .bottom-header .container .nav-links .close-menu {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
    }

    header .bottom-header .container nav {
        gap: 20px;
    }

    header .bottom-header .container .nav-category {
        width: auto;
    }

    header .bottom-header .container .nav-category .category-btn p {
        font-size: 13px;
        margin: 0 10px;
    }

    .open-menu {
        display: block;
        font-size: 25px;
    }

    .banner-4 .container {
        flex-wrap: wrap;
    }

    .banner-4 .container .box {
        width: 49%;
        margin-bottom: 20px;
        justify-content: space-around;
    }
}

@media (max-width: 992px) {
    .slider .banner_2 {
        display: none;
    }

    .slider .container .slide-swp {
        width: 100%;
    }

    footer .container {
        flex-wrap: wrap;
    }

    footer .container .big-row {
        width: 30%;
        margin-bottom: 20px;
    }

    footer .container .row {
        width: 25%;
        margin-bottom: 20px;
    }

    footer .footer-bottom .container p {
        font-size: 15px;
    }

    footer .footer-bottom .container img {
        width: 290px;
    }
}

@media (max-width: 815px) {
    .top_slide h2 {
        font-size: 16px;
        padding: 10px 25px;
    }

    .product .name-product {
        font-size: 14px;
    }

    .product .price p {
        font-size: 16px;
    }

    .product .price .old-price {
        font-size: 12px;
    }

    .banners .banners-boxs {
        flex-wrap: wrap;
    }

    .banners .banners-boxs .box {
        width: 100%;
        margin-top: 20px;
    }

    .banners .banner-3-img .box {
        width: 49%;
    }

    footer .container {
        flex-wrap: wrap;
    }

    footer .container .big-row {
        width: 50%;
        margin-bottom: 30px;
    }

    footer .container .row {
        width: 50%;
        margin-bottom: 30px;
    }

    footer .footer-bottom .container {
        display: flex;
        flex-direction: column;
    }

    footer .footer-bottom .container p {
        font-size: 14px;
    }

    footer .footer-bottom .container img {
        width: 290px;
    }
}

@media (max-width: 768px) {
    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .dropdown-menu {
        min-width: 140px;
    }
}

@media (max-width: 578px) {

    header .top-header .container {
        flex-wrap: wrap;
        overflow-x: hidden;
        max-width: 100%;
    }

    header .top-header .search-box {
        flex-basis: 100%;
        margin: 15px 0 0 10px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    header .top-header .container .select-box {
        margin: 1px;
    }

    header .top-header .logo {
        width: 140px;
    }

    header .top-header .container .search-box select {
        width: 145px;
    }

    header .top-header .container .search-box .search {
        width: calc(100% - 140px);
    }

    header .top-header .container .select-box option {
        font-size: 13px;
    }

    header .bottom-header .container .nav-category .category-btn {
        display: none;
    }

    header .bottom-header .container .nav-links {
        width: 75%;
        left: -100%;
    }

    /* منطقة المستخدم */
    .user-area .user-avatar {
        width: 32px;
        /* تقليل حجم الصورة الرمزية */
        height: 32px;
    }

    .dropdown-menu {
        top: 40px;
        /* ضبط الموضع للشاشات الصغيرة */
        min-width: 140px;
        /* تقليل عرض القائمة المنسدلة */
    }

    .dropdown-menu li a {
        font-size: 13px;
        /* تقليل حجم الخط */
        padding: 8px 12px;
    }

    .dropdown-menu li a i {
        font-size: 14px;
        /* تقليل حجم الأيقونات */
    }

    .slider-product .container .mySwiper {
        overflow: hidden;
    }

    .product {
        position: relative;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: #fff;
        border: 1px solid var(--border_color);
        border-radius: 8px;
        height: 373px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        justify-content: space-between;
    }

    .product:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }




    .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    /* بقية إعدادات الصفحة (من الرد السابق) */
    .product-details {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }

    .product-image {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .product-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 5px;
        border: 1px solid var(--border_color);
    }

    .product-info {
        width: 100%;
        margin: 0;
        padding: 0 10px;
    }

    .reviews-section {
        margin: 20px 0;
        padding: 10px;
    }

    .slider-product .container .mySwiper {
        overflow: hidden;
    }

    .product {
        position: relative;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: #fff;
        border: 1px solid var(--border_color);
        border-radius: 8px;
        height: 373px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .product:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }




    .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .banner-4 .container .box {
        width: 100%;
    }

    .banner-4 .container .box h5 {
        font-size: 14px;
    }

    .banner-4 .container .box h6 {
        font-size: 13px;
    }

    .banners .banner-3-img .box {
        width: 100%;
    }

    footer .container {
        flex-direction: column;
    }

    footer .container .big-row {
        width: 100%;
        margin-bottom: 30px;
    }

    footer .container .row {
        width: 100%;
    }

    #back-to-top {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}