@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;700&display=swap');

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

/* ================= VARIABLES ================= */
:root {
    --main_color: #07345f;
    --color_heading: #0C2340;
    --bg_coler: #4B5563;
    --dd_coloer: #9CA3AF;
    --border_color: #e5e5e5d5;
    --sale_color: #E2342D;
    --white_color: #fff;
    --light_bg: #f7f7f7;
}

/* ================= GLOBAL ================= */
body {
    padding-top: 230px;
    font-family: "Inter", sans-serif;
    background: var(--light_bg);
}

.highlight {
    color: var(--main_color);
}

.btn,
.btn_view,
.checkout_btn,
.place_order_btn,
.offer_btn,
.slide_btn,
.btn_add_cart {
    color: #fff !important;
}

.btn span,
.btn_view span,
.checkout_btn span,
.place_order_btn span,
.offer_btn span,
.slide_btn span,
.btn_add_cart span {
    color: inherit !important;
}

/* wishlist / icon buttons */
.icon_product {
    color: var(--color_heading) !important;
    background: #fff;
}

.icon_product i {
    color: inherit !important;
}

.icon_product:hover {
    background: var(--main_color);
    color: #fff !important;
    border-color: var(--main_color);
}

.icon_product.active,
.btn_add_wishlist.active {
    background: var(--main_color) !important;
    color: #fff !important;
    border-color: var(--main_color) !important;
}

.icon_product.active i,
.btn_add_wishlist.active i {
    color: #fff !important;
}

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

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

img {
    width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: 90%;
    margin: auto;
    max-width: 1350px;
}

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

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

.btn:hover {
    transform: scale(1.05);
}
.icon_product {
    color: var(--color_heading);
}

.icon_product i {
    color: inherit;
}

.icon_product:hover {
    background: var(--main_color);
    color: #fff;
}

.icon_product.active {
    background: var(--main_color);
    color: #fff;
    border-color: var(--main_color);
}

/* ================= HEADER ================= */
header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 5px 8px 8px #d1d1d13b;
    z-index: 1000;
}

header .top_header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

header .top_header .logo {
    width: 180px;
    flex-shrink: 0;
}

header .top_header .logo img {
    display: block;
    width: 100%;
    object-fit: contain;
}

header .top_header .search_box {
    width: 610px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    background-color: #e9e3e3;
    overflow: hidden;
}

header .top_header .search_box input {
    height: 55px;
    width: 400px;
    padding: 5px 15px 5px 10px;
    background: #e9e3e3;
    font-family: "Inter", sans-serif;
}

header .top_header .search_box .select_box {
    position: relative;
}

header .top_header .search_box .select_box::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 50%;
    background: #9E9C92;
}

header .top_header .search_box select {
    height: 55px;
    width: 190px;
    background: #e9e3e3;
    font-size: 16px;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}

header .top_header .search_box select option {
    font-size: 15px;
}

header .top_header .search_box button {
    height: 55px;
    width: 60px;
    background: var(--main_color);
    cursor: pointer;
}

header .top_header .search_box button i {
    color: var(--white_color);
    font-size: 18px;
}

header .top_header .header_icons {
    display: flex;
    gap: 20px;
}

header .top_header .header_icons .icon {
    position: relative;
    cursor: pointer;
}

header .top_header .header_icons .icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--border_color);
    border-radius: 50%;
    color: var(--color_heading);
    transition: 0.3s;
}

header .top_header .header_icons .notification_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--border_color);
    border-radius: 50%;
    color: var(--color_heading);
    transition: 0.3s;
    cursor: pointer;
}

header .top_header .header_icons .icon a:hover {
    background: var(--main_color);
    color: var(--white_color);
}

header .top_header .header_icons .notification_toggle:hover {
    background: var(--main_color);
    color: var(--white_color);
}

header .top_header .header_icons .icon i {
    font-size: 20px;
}

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

.notification_panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(340px, calc(100vw - 24px));
    max-height: 420px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
    z-index: 1200;
}

.notification_panel_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
}

.notification_panel_header button {
    border: 0;
    background: transparent;
    color: var(--main_color);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.notification_list {
    display: grid;
}

.notification_item {
    display: grid;
    gap: 5px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
    padding: 13px 14px;
    text-align: left;
    cursor: pointer;
}

.notification_item.unread {
    background: #f0f7ff;
}

.notification_item strong {
    color: var(--color_heading);
    font-size: 14px;
}

.notification_item span,
.notification_item small,
.notification_empty {
    color: #666;
    font-size: 13px;
}

.notification_empty {
    padding: 18px 14px;
    text-align: center;
}

header .bottom_header {
    border-top: 1px solid var(--dd_coloer);
}

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

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

header .bottom_header .category_nav {
    width: 220px;
    position: relative;
    height: 100%;
}

header .bottom_header .category_nav .category_btn {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--main_color);
    padding: 0 15px;
    cursor: pointer;
}

header .bottom_header .category_nav .category_btn p {
    color: var(--white_color);
    font-weight: 600;
    font-size: 15px;
}

header .bottom_header .category_nav .category_btn i {
    color: var(--white_color);
    transition: 0.3s;
}

header .bottom_header .category_nav .category_nav_list {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white_color);
    width: 100%;
    border: 1px solid #999;
    border-top: 0;
    display: flex;
    flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.4s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

header .bottom_header .category_nav .category_nav_list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
    pointer-events: auto;
}

header .bottom_header .category_nav .category_nav_list a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--dd_coloer);
    font-size: 14px;
    color: var(--color_heading);
}

header .bottom_header .category_nav .category_nav_list a:last-child {
    border-bottom: 0;
}

header .bottom_header .category_nav .category_nav_list a:hover {
    background: var(--main_color);
    color: var(--white_color);
}

header .bottom_header .nav_links {
    display: flex;
    gap: 35px;
}

header .bottom_header .nav_links li a {
    color: var(--color_heading);
    transition: 0.3s;
    position: relative;
}

header .bottom_header .nav_links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--main_color);
    transition: 0.3s;
}

header .bottom_header .nav_links li:hover a,
header .bottom_header .nav_links li.active a {
    color: var(--main_color);
}

header .bottom_header .nav_links li:hover a::after,
header .bottom_header .nav_links li.active a::after {
    width: 100%;
}

/* ================= HERO SLIDER ================= */
.slider {
    position: relative;
    margin-top: 0;
    margin-bottom: 40px;
}

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

.slider .container .slide-swp {
    width: 75%;
    height: 460px;
    overflow: hidden;
    position: relative;
    border-radius: 14px;
}

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

.slider .container .slide-swp .slide_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider .container .slide-swp .slide_item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12, 19, 22, 0.72) 0%, rgba(12, 19, 22, 0.32) 40%, rgba(12, 19, 22, 0.08) 100%);
    z-index: 1;
}

.slide_content {
    position: absolute;
    top: 50%;
    left: 55px;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 470px;
    animation: heroFadeUp 0.8s ease;
}

.slide_badge {
    display: inline-block;
    background: var(--main_color);
    color: var(--white_color);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.slide_content h1 {
    font-size: 44px;
    line-height: 1.15;
    color: var(--white_color);
    margin-bottom: 16px;
}

.slide_content p {
    font-size: 16px;
    color: #f2f2f2;
    line-height: 1.8;
    margin-bottom: 22px;
}

.slide_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main_color);
    color: var(--white_color);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.slide_btn:hover {
    background: var(--color_heading);
    transform: translateY(-2px);
}

.slider .banner_2 {
    width: 25%;
    height: 460px;
}

.slider .banner_2 .side_banner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.slider .banner_2 .side_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.slider .banner_2 .side_banner:hover img {
    transform: scale(1.05);
}

.slider .banner_2 .side_banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 19, 22, 0.7), rgba(12, 19, 22, 0.15));
}

.side_banner_content {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
}

.side_banner_content span {
    display: inline-block;
    background: var(--main_color);
    color: var(--white_color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
}

.side_banner_content h3 {
    color: var(--white_color);
    font-size: 24px;
    margin-bottom: 8px;
}

.side_banner_content p {
    color: #fff;
    font-size: 15px;
}

.side_banner_content .side_banner_cta {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 12px;
    border-radius: 6px;
    background: #fff !important;
    color: var(--main_color) !important;
    font-size: 13px;
    font-weight: 700;
}

.slider .container .slide-swp .swiper-pagination {
    bottom: 18px !important;
}

.slider .container .slide-swp .swiper-pagination span {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

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

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ================= CATEGORIES SECTION ================= */
.categories_section {
    padding: 20px 0 50px;
}

.section_title {
    text-align: center;
    margin-bottom: 30px;
}

.section_title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--color_heading);
}

.section_title p {
    font-size: 15px;
    color: var(--bg_coler);
    max-width: 600px;
    margin: auto;
    line-height: 1.7;
}

.categories_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.categories_slider {
    position: relative;
    padding: 4px 0 18px;
}

.categories_slider .categories_grid {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.categories_slider .category_card {
    width: calc((100% - 100px) / 6) !important;
    flex: 0 0 calc((100% - 100px) / 6);
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.categories_slider .swiper-button-prev,
.categories_slider .swiper-button-next {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--main_color);
    color: var(--white_color);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.categories_slider .swiper-button-prev::after,
.categories_slider .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.categories_slider .swiper-button-disabled {
    opacity: .35;
}

.category_card {
    background: var(--white_color);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    text-decoration: none;
}

.category_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--main_color);
}

.category_icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: rgba(226, 52, 45, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.category_icon i {
    font-size: 28px;
    color: var(--main_color);
    transition: 0.3s;
}

.category_card:hover .category_icon {
    background: var(--main_color);
}

.category_card:hover .category_icon i {
    color: var(--white_color);
}

.category_card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--color_heading);
}

.category_card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* ================= OFFERS SECTION ================= */
.offers_section {
    padding: 10px 0 50px;
}

.offers_grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.offers_side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.offer_card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 240px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.large_offer {
    min-height: 500px;
}

.small_offer {
    min-height: 240px;
}

.offer_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.offer_card:hover img {
    transform: scale(1.06);
}

.offer_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12, 19, 22, 0.78), rgba(12, 19, 22, 0.22));
    z-index: 1;
}

.offer_content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 35px;
    transform: translateY(-50%);
    max-width: 420px;
}

.offer_badge {
    display: inline-block;
    background: var(--main_color);
    color: var(--white_color);
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.light_badge {
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.25);
}

.offer_content h2,
.offer_content h3 {
    color: var(--white_color);
    margin-bottom: 12px;
    line-height: 1.25;
}

.offer_content h2 {
    font-size: 36px;
}

.offer_content h3 {
    font-size: 26px;
}

.offer_content p {
    color: #f1f1f1;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 15px;
}

.offer_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: var(--main_color);
    color: var(--white_color);
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.offer_btn:hover {
    transform: translateY(-2px);
    background: var(--color_heading);
}

.red_offer {
    background: linear-gradient(135deg, var(--main_color), #0f5f9d);
    display: flex;
    align-items: center;
}

.red_offer .simple_offer {
    position: static;
    transform: none;
    max-width: 100%;
    padding: 30px;
}

.dark_btn {
    background: var(--color_heading);
}

.dark_btn:hover {
    background: #000;
}

/* ================= BANNERS 4 ================= */
.banners_4 {
    margin: 40px 0;
}

.banners_4 .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

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

.banners_4 .container .box img {
    width: 100px;
    transition: 0.3s;
}

.banners_4 .container .box:hover img {
    transform: scale(1.05);
}

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

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

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

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

.banners_4 .container .box .link_btn {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    top: 0;
    left: 0;
}

/* ================= SLIDES ================= */
.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;
    background: var(--main_color);
    color: var(--white_color);
    font-size: 18px;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.top_slide h2::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    z-index: 9;
    border-left: 20px solid transparent;
    background: var(--white_color);
    left: 0;
    border-bottom: 20px solid #894a0e;
}

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

.slide .container {
    position: relative;
}

.slide .container .mySwiper {
    padding: 10px 0;
}

.slide .container .mySwiper .btn_Swip {
    position: absolute;
    top: 30px;
    right: 0;
    background: var(--main_color);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    height: 35px;
    width: 35px;
}

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

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

.mySwiper {
    overflow: hidden;
}

/* ================= PRODUCT CARD ================= */
.product {
    background: var(--white_color);
    padding: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    border-radius: 14px;
    position: relative;
    transition: 0.3s ease;
    overflow: hidden;
}

.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.product .sale_present {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--main_color);
    color: var(--white_color);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
}

.product .img_product {
    position: relative;
    height: 210px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.product .img_product img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.35s ease;
}

.product:hover .img_product img {
    transform: scale(1.08);
}

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

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

.product .name_product {
    margin-bottom: 12px;
    min-height: 48px;
    line-height: 1.5;
}

.product .name_product a {
    color: var(--color_heading);
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.product .name_product a:hover {
    color: var(--main_color);
}

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

.price .new_price {
    color: var(--main_color);
    font-weight: 700;
    font-size: 20px;
}

.price .old_price {
    color: #777;
    text-decoration: line-through;
    font-size: 14px;
}

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

.product_actions .btn_add_cart {
    flex: 1;
    height: 45px;
    border: none;
    border-radius: 10px;
    background: var(--main_color);
    color: var(--white_color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 0;
}

.product_actions .btn_add_cart:hover {
    background: var(--color_heading);
}

.product_actions .icon_product {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: var(--color_heading);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 0;
}

.product_actions .icon_product:hover {
    background: var(--main_color);
    color: #fff;
    border-color: var(--main_color);
}

.product_actions .back_btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--color_heading);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    margin-top: 0;
}

.product_actions .back_btn:hover {
    background: var(--main_color);
}

.btn_add_cart.added {
    background: #0C1316 !important;
    border-color: #0C1316 !important;
    color: #fff !important;
}

.btn_add_cart.added i {
    color: #fff !important;
}

.btn_add_wishlist.active {
    background: var(--main_color) !important;
    border-color: var(--main_color) !important;
    color: #fff !important;
}

.btn_add_wishlist.active i {
    color: #fff !important;
}

/* ================= FEATURED PRODUCTS ================= */
.featured_products {
    margin-top: 20px;
}

.featured_products .container {
    position: relative;
    overflow: hidden;
}

.featured_products .featuredSwiper {
    overflow: hidden;
    padding: 10px 0;
}

.featured_products .swiper-wrapper {
    align-items: stretch;
}

.featured_products .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.featured_products .btn_Swip {
    position: absolute;
    top: 30px;
    right: 0;
    background: var(--main_color);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    height: 35px;
    width: 35px;
}

.featured_products .btn_Swip::after {
    font-size: 12px;
}

.featured_products .featured-prev {
    left: calc(100% - 80px);
}

.featured_products .product {
    width: 100%;
}

/* ================= BANNER ================= */
.banner {
    margin: 50px 0;
}

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

.banner .banners_boxs .box {
    width: 49%;
}

/* ================= PRODUCT PAGE ================= */
.product_page {
    padding: 50px 0;
}

.product_page_box {
    display: flex;
    gap: 40px;
    align-items: center;
}

.product_image {
    width: 45%;
}

.product_image img {
    width: 100%;
    border-radius: 12px;
}

.product_info {
    width: 55%;
}

.product_info h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.product_info .price {
    margin: 20px 0;
}

.product_info .new_price {
    font-size: 28px;
    color: var(--main_color);
    font-weight: bold;
}

.product_info .old_price {
    margin-left: 10px;
    text-decoration: line-through;
    color: #888;
}

.product_info .desc {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

/* ================= CART PAGE ================= */
.cart_page {
    padding: 50px 0;
}

.cart_title {
    margin-bottom: 30px;
}

.cart_layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: start;
}

.cart_items_side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart_summary {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 30px;
}

.cart_summary h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.summary_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.order_success_box .summary_row > * {
    min-width: 0;
}

.order_success_box .summary_row > :last-child {
    max-width: 65%;
    overflow-wrap: anywhere;
    text-align: end;
}

.summary_row.total_row {
    border-bottom: none;
    padding-top: 18px;
    font-weight: bold;
    font-size: 18px;
}

.checkout_btn {
    width: 100%;
    height: 48px;
    border: none;
    background: var(--main_color);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.checkout_btn:hover {
    background: var(--color_heading);
}

.cart_item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 15px;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.cart_item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.cart_info {
    flex: 1;
}

.cart_info h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.cart_price {
    color: var(--main_color);
    font-weight: bold;
    margin-bottom: 12px;
}

.remove_btn {
    background: #d62828;
    color: #fff;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 6px;
}

.remove_btn:hover {
    background: var(--color_heading);
}

.quantity_box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.qty_btn {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--main_color);
    color: #fff;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.qty_btn:hover {
    background: var(--color_heading);
}

.qty_count {
    min-width: 28px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: var(--color_heading);
}

.item_total {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--main_color);
}

.empty_cart {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

/* ================= WISHLIST ================= */
.wishlist_actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.btn_view {
    flex: 1;
    height: 45px;
    background: var(--main_color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    transition: 0.3s;
}

.btn_view:hover {
    background: var(--color_heading);
}

.wishlist_actions .remove_btn {
    margin-top: 0;
    height: 45px;
    padding: 0 16px;
    border-radius: 8px;
}

/* ================= BUTTON ANIMATIONS ================= */
@keyframes popScale {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    70% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

.animate_pop {
    animation: popScale 0.35s ease;
}

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

.animate_heart {
    animation: heartBeat 0.4s ease;
}

/* ================= TOAST ================= */
#toast_box {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 280px;
    max-width: 360px;
    background: #fff;
    color: #222;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    animation: toastSlideIn 0.35s ease;
    border-left: 5px solid var(--main_color);
}

.toast.success i {
    color: #16a34a;
}

.toast.remove i {
    color: #dc2626;
}

.toast.hide {
    animation: toastSlideOut 0.35s ease forwards;
}

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

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

/* ================= CHECKOUT PAGE ================= */
.checkout_page {
    padding: 50px 0;
}

.checkout_title {
    margin-bottom: 25px;
    font-size: 32px;
}

.checkout_layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: start;
}

.checkout_form_side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout_box,
.checkout_summary {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.checkout_box h3,
.checkout_summary h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.form_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form_group label {
    font-weight: 600;
    color: var(--color_heading);
}

.form_group input {
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
}

.form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment_option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
}

.payment_option[hidden] {
    display: none;
}

.payment_option.active {
    border-color: var(--main_color);
    background: rgba(226, 52, 45, 0.05);
}

.demo_payment_notice {
    margin: -4px 0 12px;
    padding: 10px 12px;
    border-inline-start: 3px solid #d68a00;
    border-radius: 6px;
    background: #fff8e8;
    color: #6d4a00;
    font-size: 13px;
    line-height: 1.5;
}

.checkout_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.checkout_item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.checkout_item_info {
    flex: 1;
}

.checkout_item_info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.checkout_item_info p {
    font-size: 13px;
    color: #666;
}

.place_order_btn {
    width: 100%;
    height: 48px;
    border: none;
    background: var(--main_color);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.place_order_btn:hover {
    background: var(--color_heading);
}

/* ================= ORDER SUCCESS ================= */
.order_success_page {
    padding: 50px 0;
}

.order_success_box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.success_header {
    text-align: center;
    margin-bottom: 30px;
}

.success_header i {
    font-size: 58px;
    color: #16a34a;
    margin-bottom: 15px;
}

.success_header h1 {
    margin-bottom: 10px;
}

.order_products_list {
    margin-top: 30px;
}

.order_products_list h3 {
    margin-bottom: 15px;
}

.order_total_box {
    margin-top: 25px;
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
}

.order_actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

/* ================= SHOP PAGE ================= */
.shop_page {
    padding: 50px 0;
}

.shop_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.shop_header h2 {
    font-size: 32px;
}

.shop_filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shop_filters select {
    min-width: 220px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}

.shop_products_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ================= SEARCH PAGE ================= */
.search_page {
    padding: 50px 0;
}

.search_header_box {
    margin-bottom: 25px;
}

.search_header_box h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.search_header_box p {
    color: #666;
    font-size: 15px;
}

.search_results_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ================= INNER PAGES TOP BAR ================= */
.inner_page_top {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.inner_page_top .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.inner_page_logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner_page_logo img {
    width: 170px;
    max-width: 100%;
    object-fit: contain;
}

.back_home_btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--main_color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.back_home_btn:hover {
    background: var(--color_heading);
}

/* ================= PRINT ================= */
@media print {
    body {
        background: #fff;
    }

    .order_actions {
        display: none !important;
    }

    .order_success_box {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .success_header i {
        color: #000 !important;
    }
}

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

@media (max-width: 1100px) {
    header .top_header .container {
        flex-wrap: wrap;
    }

    header .top_header .search_box {
        width: 100%;
        order: 3;
    }

    header .bottom_header .container {
        flex-wrap: wrap;
        gap: 15px;
        padding: 12px 0;
    }

    .slider .container,
    .banners_4 .container,
    .banner .banners_boxs {
        flex-wrap: wrap;
    }

    .slider .container .slide-swp,
    .slider .banner_2,
    .banner .banners_boxs .box {
        width: 100%;
    }

    .slider .banner_2 {
        height: 300px;
    }

    .banners_4 .container .box {
        width: 48%;
    }

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

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

    .large_offer {
        min-height: 360px;
    }

    .offers_side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

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

@media (max-width: 900px) {
    .cart_layout,
    .checkout_layout {
        grid-template-columns: 1fr;
    }

    .cart_summary {
        position: static;
    }

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

@media (max-width: 800px) {
    .shop_products_grid,
    .search_results_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 210px;
    }

    header .bottom_header nav {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 15px;
    }

    header .bottom_header .nav_links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .slider .container .slide-swp {
        height: 360px;
    }

    .slide_content {
        left: 25px;
        right: 25px;
        max-width: 100%;
    }

    .slide_content h1 {
        font-size: 28px;
    }

    .slide_content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .slider .banner_2 {
        height: 240px;
    }

    .banners_4 .container .box {
        width: 100%;
    }

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

    .offer_content {
        left: 22px;
        right: 22px;
        max-width: 100%;
    }

    .offer_content h2 {
        font-size: 26px;
    }

    .offer_content h3 {
        font-size: 22px;
    }

    .large_offer,
    .small_offer {
        min-height: 280px;
    }
}

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

    .section_title h2 {
        font-size: 26px;
    }

    .inner_page_top .container {
        flex-direction: column;
        gap: 15px;
    }

    .back_home_btn {
        position: static;
        transform: none;
    }

    .inner_page_logo img {
        width: 140px;
    }
}

@media (max-width: 550px) {
    .shop_products_grid,
    .search_results_grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1100px) {
    .footer_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .footer {
        padding: 45px 0 20px;
    }
}
/* ================= ORDERS PAGE ================= */
.orders_page {
    padding: 50px 0;
}

.orders_lifecycle_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.orders_lifecycle_tab {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 6px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.orders_lifecycle_tab.active {
    background: var(--main_color);
    border-color: var(--main_color);
    color: #fff;
}

.order_card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.order_card_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.order_card_top h3 {
    margin-bottom: 6px;
}

.order_status {
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.status_pending {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.status_confirmed {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.status_processing {
    background: rgba(139, 92, 246, 0.12);
    color: #6d28d9;
}

.status_shipped {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}

.status_delivered {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.status_cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.status_requested {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.status_approved {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.status_waiting_for_item {
    background: rgba(139, 92, 246, 0.12);
    color: #6d28d9;
}

.status_item_received {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}

.status_refund_processing {
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
}

.status_refunded {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.status_rejected {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.order_card_info {
    margin-bottom: 20px;
}

.order_card_actions {
    display: flex;
    gap: 12px;
}
/* ================= ORDER DETAILS PAGE ================= */
.order_details_page {
    padding: 50px 0;
}

.order_tracking_box {
    margin: 24px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
}

.order_tracking_box h3 {
    margin-bottom: 20px;
}

.tracking_timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.tracking_step {
    position: relative;
    min-width: 0;
}

.tracking_step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 24px;
    width: calc(100% + 4px);
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.tracking_step.completed:not(:last-child)::after {
    background: var(--main_color);
}

.tracking_marker {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #ddd;
    background: #fff;
    margin-bottom: 12px;
}

.tracking_step.completed .tracking_marker {
    border-color: var(--main_color);
    background: var(--main_color);
}

.tracking_step.current .tracking_marker {
    box-shadow: 0 0 0 5px rgba(30, 95, 168, 0.12);
}

.tracking_step_body h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--color_heading);
}

.tracking_step_body p,
.tracking_cancelled_state p {
    color: #666;
    font-size: 13px;
}

.tracking_step.inactive .tracking_step_body h4,
.tracking_step.inactive .tracking_step_body p {
    color: #999;
}

.tracking_cancelled_state {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .tracking_timeline {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tracking_step {
        display: grid;
        grid-template-columns: 28px 1fr;
        gap: 12px;
    }

    .tracking_step:not(:last-child)::after {
        top: 24px;
        left: 11px;
        width: 2px;
        height: calc(100% + 8px);
    }

    .tracking_marker {
        margin-bottom: 0;
    }
}
/* ================= RETURN REQUEST PAGE ================= */
.return_page {
    padding: 50px 0;
}

.return_box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    max-width: 700px;
    margin: auto;
}

.return_box h2 {
    margin-bottom: 10px;
    font-size: 30px;
}

.return_box p {
    margin-bottom: 25px;
    color: #666;
}

.return_box textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    resize: vertical;
}

.return_field_meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #666;
    font-size: 13px;
}

.return_evidence_group input[type="file"] {
    height: auto;
    padding: 12px;
    background: #f8fafc;
}

.account_page { padding: 42px 0 70px; background: #f7f9fc; }
.account_layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; }
.account_navigation { display: grid; gap: 6px; position: sticky; top: 18px; padding: 12px; border: 1px solid #e3e9f0; border-radius: 10px; background: #fff; }
.account_navigation a, .account_navigation button { display: flex; align-items: center; gap: 10px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: #33465c; padding: 0 12px; font: inherit; text-decoration: none; cursor: pointer; }
.account_navigation a.active, .account_navigation a:hover, .account_navigation button:hover { background: #edf5fc; color: var(--main_color); }
.account_sections { display: grid; gap: 18px; }
.account_card { display: grid; gap: 20px; padding: 22px; border: 1px solid #e3e9f0; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(12, 35, 64, .05); }
.account_card_header { display: grid; gap: 5px; }
.account_card_header h3 { color: #0c2340; }
.account_card_header p, .account_card small { color: #66788c; font-size: 13px; }
.account_form_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.account_form_grid label { display: grid; gap: 7px; color: #33465c; font-size: 14px; font-weight: 700; }
.account_form_grid label.account_wide { grid-column: 1 / -1; }
.account_form_grid input { width: 100%; min-height: 44px; border: 1px solid #d4dee9; border-radius: 8px; padding: 0 12px; color: #102033; background: #fff; font: inherit; }
.account_form_grid input[readonly] { background: #f1f4f7; color: #596a7d; cursor: not-allowed; }
.account_save_btn { justify-self: start; min-height: 44px; border: 0; border-radius: 8px; background: var(--main_color); color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer; }
.account_save_btn:disabled { opacity: .6; cursor: wait; }
.account_status { margin: 0 0 18px; border-radius: 8px; padding: 12px 14px; }
.account_status.success { color: #176b35; background: #e8f7ee; }
.account_status.error { color: #a31616; background: #fff0f0; }

@media (max-width: 800px) {
    .account_layout { grid-template-columns: 1fr; }
    .account_navigation { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account_form_grid { grid-template-columns: 1fr; }
    .account_form_grid label.account_wide { grid-column: auto; }
}

.return_validation_message {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff0f0;
    color: #a52323;
    font-size: 13px;
}

.return_evidence_preview,
.return_evidence_gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
}

.return_evidence_item,
.return_evidence_secure {
    position: relative;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #f8fafc;
}

.return_evidence_item img,
.return_evidence_secure img {
    display: block;
    width: 100%;
    height: 125px;
    object-fit: cover;
}

.return_evidence_info,
.return_evidence_secure > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 10px;
    min-width: 0;
    font-size: 12px;
}

.return_evidence_info strong,
.return_evidence_secure > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.return_evidence_info span {
    color: #687386;
}

.return_remove_evidence {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 28, 38, 0.82);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.return_attachment_loading {
    display: grid;
    place-items: center;
    height: 125px;
    padding: 12px;
    color: #687386;
    text-align: center;
    font-size: 13px;
}
/* ================= RETURNS PAGE ================= */
.returns_page {
    padding: 50px 0;
}

.return_card .return_product_item,
.return_details_box .return_product_item {
    margin-bottom: 18px;
}

.return_product_placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f3f6fb;
    color: var(--main_color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
}

.return_item_action {
    margin-top: 10px;
}

.return_item_action .btn_view {
    display: inline-flex;
    width: auto;
    min-width: 180px;
    height: 38px;
    padding: 0 16px;
    flex: 0 0 auto;
    font-size: 13px;
}

.return_tracking_box .tracking_step_body p {
    min-height: 18px;
}

.return_detail_section {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid #e7ebf0;
    border-radius: 12px;
    background: #fff;
}

.return_detail_section h3 {
    margin-bottom: 15px;
}

.return_rejection_reason {
    color: #9b2020;
}

.return_download_attachment {
    margin-top: 15px;
    border: 0;
    cursor: pointer;
}

.return_download_attachment:disabled {
    cursor: wait;
    opacity: 0.65;
}

.return_history_list {
    display: grid;
    gap: 10px;
}

.return_history_item {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 5px 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f3;
}

.return_history_item:last-child {
    border-bottom: 0;
}

.return_history_item span,
.return_history_item p {
    color: #687386;
    font-size: 13px;
}

.return_history_item p {
    grid-column: 1 / -1;
}

.return_back_link {
    max-width: 220px;
    margin: 20px auto 0;
}

@media (min-width: 801px) {
    .return_tracking_box .tracking_timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (min-width: 801px) and (max-width: 1100px) {
    .return_tracking_box {
        padding: 20px;
    }

    .return_tracking_box .tracking_step_body h4 {
        font-size: 13px;
    }
}
/* ================= FOOTER ================= */
.footer {
    background: var(--color_heading);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer_grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.footer_col h3 {
    color: var(--white_color);
    font-size: 20px;
    margin-bottom: 18px;
}

.footer_logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer_logo img {
    width: 170px;
    object-fit: contain;
}

.footer_text {
    color: #c7c7c7;
    line-height: 1.8;
    font-size: 15px;
    max-width: 320px;
}

.footer_links li {
    margin-bottom: 12px;
}

.footer_links li a {
    color: #d7d7d7;
    transition: 0.3s;
    font-size: 15px;
}

.footer_links li a:hover {
    color: var(--main_color);
    padding-left: 4px;
}

.footer_contact li {
    color: #d7d7d7;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.footer_contact li i {
    color: var(--main_color);
    font-size: 15px;
}

.footer_social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer_social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white_color);
    transition: 0.3s;
}

.footer_social a:hover {
    background: var(--main_color);
    border-color: var(--main_color);
    transform: translateY(-3px);
}

.footer_bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 35px;
    padding-top: 20px;
    text-align: center;
}

.footer_bottom p {
    color: #bdbdbd;
    font-size: 14px;
}
/* ================= AUTH PAGES ================= */
.auth_page {
    padding: 50px 0;
}

.auth_box {
    max-width: 520px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.auth_box h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.auth_box p {
    margin-bottom: 24px;
    color: #666;
}

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

.auth_switch p {
    margin-bottom: 0;
}

.auth_switch a {
    color: var(--main_color);
    font-weight: 600;
}

/* ===== Client catalog fixes ===== */
.lang_switcher {
    height: 40px;
    border: 1px solid var(--border_color);
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
    cursor: pointer;
}
.product .img_product,
.checkout_item img,
.cart_item img,
.product_image img {
    background: #fff;
    border-radius: 12px;
}
.categories_grid {
    grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1200px) { .categories_grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .categories_grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .categories_grid { grid-template-columns: 1fr; } }
@media (max-width: 1200px) {
  .categories_slider .category_card {
    width: calc((100% - 40px) / 3) !important;
    flex-basis: calc((100% - 40px) / 3);
  }
}
@media (max-width: 700px) {
  .categories_slider .category_card {
    width: calc((100% - 20px) / 2) !important;
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media (max-width: 480px) {
  .categories_slider .category_card {
    width: 100% !important;
    flex-basis: 100%;
  }
}
@media (max-width: 1100px) {
  header .bottom_header nav { width: 100%; overflow-x: auto; }
  header .bottom_header .nav_links { min-width: max-content; }

  header {
    position: static;
  }

  body {
    padding-top: 0;
  }

  header .bottom_header .login_signup {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
  }

  header .bottom_header .login_signup .btn {
    min-width: 0;
    max-width: 100%;
    padding: 8px 10px;
  }

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

@media (max-width: 700px) {
  header .top_header .search_box .select_box {
    flex: 0 1 55%;
    min-width: 0;
  }

  header .top_header .search_box select {
    width: 100%;
  }

  header .top_header .search_box input {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  header .top_header .search_box button {
    flex: 0 0 50px;
  }

  header .bottom_header nav {
    overflow-x: visible;
  }

  header .bottom_header .category_nav {
    max-width: 100%;
  }

  header .bottom_header .nav_links {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .footer_grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Compact authenticated account menu shared by every storefront header. */
header .bottom_header .login_signup {
    position: relative;
}

.header_user_menu {
    position: relative;
    min-width: 0;
}

.header_user_trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(240px, 100%);
    min-height: 40px;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    background: #fff;
    color: #24364b;
    padding: 7px 11px;
    font: inherit;
    cursor: pointer;
}

.header_user_trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header_user_trigger[aria-expanded="true"] .header_user_chevron {
    transform: rotate(180deg);
}

.header_user_chevron {
    transition: transform .2s ease;
}

.header_user_dropdown {
    position: absolute;
    z-index: 1200;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    width: min(240px, calc(100vw - 24px));
    padding: 7px;
    border: 1px solid #dce5ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(12, 35, 64, .16);
}

.header_user_dropdown[hidden] {
    display: none;
}

.header_user_dropdown a,
.header_user_dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #33465c;
    padding: 8px 10px;
    font: inherit;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
}

.header_user_dropdown a:hover,
.header_user_dropdown a:focus-visible,
.header_user_dropdown button:hover,
.header_user_dropdown button:focus-visible {
    background: #edf5fc;
    color: var(--main_color);
    outline: none;
}

@media (max-width: 700px) {
    .header_user_menu {
        flex: 1 1 180px;
    }

    .header_user_trigger {
        width: 100%;
    }

    .header_user_dropdown {
        inset-inline-start: 0;
        inset-inline-end: auto;
        width: 100%;
        min-width: min(240px, calc(100vw - 24px));
    }
}

/* ===== VERSO FINAL THEME PATCH ===== */
.product .sale_present, .offer_badge, .slide_badge { background: var(--sale_color) !important; }
.price .new_price { color: var(--sale_color); }
.inner_page_logo img, .logo img, .footer_logo img { object-fit: contain; }
.product .img_product { background: #fafafa; border-radius: 12px; }
.product .img_product img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }


/* ================= VERSO FINAL PROMO FIXES ================= */
.offer_badge,
.product .sale_present {
    background: var(--sale_color) !important;
}
.blue_offer {
    background: linear-gradient(135deg, #07345f, #1E5FA8);
    display: flex;
    align-items: center;
}
.blue_offer .simple_offer {
    position: static;
    transform: none;
    max-width: 100%;
    padding: 30px;
}
.modern_category_deals .container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.modern_category_deals .container .box {
    width: 100% !important;
    height: 220px;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 25px rgba(7, 52, 95, 0.08);
    border: 1px solid #eef2f7;
    overflow: hidden;
}
.modern_category_deals .container .box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.banner .banners_boxs .box {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(7, 52, 95, 0.10);
}
.banner .banners_boxs .box img {
    height: 320px;
    object-fit: cover;
}
@media (max-width: 1100px) {
    .modern_category_deals .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .modern_category_deals .container { grid-template-columns: 1fr; }
    .banner .banners_boxs .box img { height: 240px; }
}

/* VERSO final banner polish */
.slide_item img,.side_banner img,.offer_card img,.banner_2_img img,.modern_category_deals img{object-fit:cover;}
.modern_category_deals .box{background:#fff!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(0,0,0,.06)!important;padding:0!important;height:220px!important;overflow:hidden!important;}
.modern_category_deals .box img{width:100%!important;height:100%!important;object-fit:cover!important;}
.banner_2_img .box img{border-radius:18px;box-shadow:0 10px 24px rgba(0,0,0,.06);height:260px;object-fit:cover;background:#fff;}
.slide_badge,.offer_badge{background:var(--sale_color)!important;}


/* ================= FINAL FIX: PROFESSIONAL CATEGORY DEAL CARDS ================= */
.banners_4.modern_category_deals,
.modern_category_deals {
    margin: 45px 0 50px !important;
}

.modern_category_deals .container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.modern_category_deals .deal_card {
    position: relative;
    min-height: 178px;
    background: linear-gradient(135deg, #f8fbff 0%, #edf4fb 100%);
    border: 1px solid #e6edf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(7, 52, 95, 0.08);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    isolation: isolate;
    transition: 0.3s ease;
}

.modern_category_deals .deal_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(7, 52, 95, 0.14);
}

.modern_category_deals .deal_content {
    position: relative;
    z-index: 2;
    width: 58%;
    padding: 24px 12px 22px 22px;
}

.modern_category_deals .deal_badge {
    display: inline-flex;
    background: rgba(7, 52, 95, 0.10);
    color: #07345f;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.modern_category_deals .deal_content h3 {
    color: #07345f;
    font-size: 21px;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: .2px;
}

.modern_category_deals .deal_content p {
    color: #526170;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 16px;
}

.modern_category_deals .deal_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: #07345f;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.modern_category_deals .deal_image {
    position: absolute;
    z-index: 1;
    right: 8px;
    bottom: 8px;
    width: 42%;
    height: 86%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modern_category_deals .deal_image::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(30, 95, 168, 0.08);
    right: -30px;
    bottom: -30px;
    z-index: -1;
}

.modern_category_deals .deal_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 12px 16px rgba(7, 52, 95, 0.15));
}

@media (max-width: 1200px) {
    .modern_category_deals .container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 650px) {
    .modern_category_deals .container {
        grid-template-columns: 1fr !important;
    }
    .modern_category_deals .deal_card {
        min-height: 165px;
    }
    .modern_category_deals .deal_content h3 {
        font-size: 20px;
    }
}


/* ================= SIZE OPTIONS ================= */
.product_options {
    margin: 18px 0 22px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.product_options label {
    display: block;
    font-weight: 700;
    color: var(--color_heading);
    margin-bottom: 10px;
}

.product_options select {
    width: 100%;
    height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    cursor: pointer;
}

.cart_size,
.checkout_item_info p:first-of-type {
    color: var(--color_heading);
    font-size: 14px;
    margin: 4px 0;
}
