/* Modern Design Styles - Consolidated */


/* --- Globals from app.blade.php --- */

:root {
    --color-yellow: #ffad00;
    --color-orange: #fb8500;
    --color-teal: #007d7c;
    --color-background: #f8f9fa82;
    --font-heading: 'Ubuntu', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
}

body {
    background-color: var(--color-background) !important;
    font-family: var(--font-body);
}

.bg-brand-40 {
    background-color: var(--color-teal) !important;
}

.text-brand-10,
.text-brand-40 {
    color: var(--color-teal) !important;
}


/* --- Header from header.blade.php --- */

.header-container {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.topbar {
    background-color: rgba(0, 125, 124, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.main-header {
    padding: 0.5rem 0;
    /* Made more compact */
    transition: padding 0.3s ease;
}

.header-left {
    display: flex;
    align-items: center;
    width: 100%;
}

.header-logo img {
    width: 58px !important;
    /* Made more compact */
    height: auto !important;
    object-fit: contain;
    padding: 0 !important;
    transition: width 0.3s ease;
}

.header-search {
    flex-grow: 1;
    margin: 0 2rem;
}

.form-search .form-control {
    background-color: #ffffff;
    /* border: .5px solid #eee; */
    border-radius: 50px;
    height: 40px;
    /* Made more compact */
    /* padding: 0 20px; */
    font-family: var(--font-body);
    font-size: 14px;
    transition: height 0.3s ease;
}

.form-search .form-control:focus {
    background-color: #fff;
    /* border-color: var(--color-teal); */
    box-shadow: none;
}

.header-shop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-shop .icon-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 15px;
    color: #333;
    text-decoration: none;
    position: relative;
}

.header-shop .icon-list:hover {
    color: var(--color-teal);
}

.header-shop .icon-list .number-item {
    background-color: var(--color-yellow) !important;
    color: #000;
    /* font-weight: bold; */
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    border-radius: 50%;
    text-align: center;
}

.dropdown-account,
.dropdown-cart {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
    /* margin-top: 15px !important; */
}

.dropdown-account ul li a,
.dropdown-cart .cart-info a {
    font-family: var(--font-body);
    font-weight: 600;
}

.dropdown-cart .btn {
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-cart .btn-view-cart {
    background-color: transparent;
    border: 1px solid var(--color-teal);
    color: var(--color-teal);
}

.dropdown-cart .btn-view-cart:hover {
    background-color: var(--color-teal);
    color: #fff;
}

.dropdown-cart .btn-checkout {
    background-color: var(--color-orange);
    color: #fff;
    border: 1px solid var(--color-orange);
    height: auto !important;
    object-fit: contain;
}

.dropdown-cart .btn-checkout:hover {
    background-color: #e07000;
    border-color: #e07000;
}

.header-nav-items {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.btn-category {
    background-color: var(--color-teal) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: 50px;
    padding: 8px 20px;
    /* Made more compact */
    white-space: nowrap;
}

.header-nav-items .discount {
    font-family: var(--font-heading);
    font-weight: 500;
    color: #333 !important;
    white-space: nowrap;
}

.header-nav-items .discount a {
    color: #333 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-nav-items .discount a:hover {
    color: var(--color-teal) !important;
}

.mobile-menu-wrap nav .mobile-menu li a {
    font-family: var(--font-heading);
}

.mobile-account .mobile-menu li a {
    font-family: var(--font-body);
}


/* --- Homepage from index.blade.php --- */

.head-main {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.head-main h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.head-main p {
    font-family: var(--font-body);
    font-size: 16px;
    color: #666;
}

.head-main .btn-view-all,
.head-main a.font-md-bold {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.head-main .btn-view-all:hover,
.head-main a.font-md-bold:hover {
    color: var(--color-orange);
}

.logout-item {
    display: none;
}


/* Responsive: head-main column on mobile */

@media (max-width: 767px) {
    .head-main.d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px;
    }
    .head-main h3 {
        font-size: 22px;
        margin-bottom: 4px;
    }
    .head-main p {
        font-size: 14px;
    }
    .logout-item {
        display: block;
    }
    .logout-list {
        display: none !important;
    }
}

.box-button-slider .btn,
.swiper-button-prev-group-trending,
.swiper-button-next-group-trending,
.swiper-button-prev-group-best,
.swiper-button-next-group-best,
.swiper-button-prev-group-new,
.swiper-button-next-group-new,
.swiper-button-prev-group-vendors,
.swiper-button-next-group-vendors,
.swiper-button-prev-group-categories,
.swiper-button-next-group-categories {
    background-color: #fff !important;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.box-button-slider .btn svg path,
.swiper-button-prev-group-trending svg path,
.swiper-button-next-group-trending svg path,
.swiper-button-prev-group-best svg path,
.swiper-button-next-group-best svg path,
.swiper-button-prev-group-new svg path,
.swiper-button-next-group-new svg path,
.swiper-button-prev-group-vendors svg path,
.swiper-button-next-group-vendors svg path,
.swiper-button-prev-group-categories svg path,
.swiper-button-next-group-categories svg path {
    stroke: #333 !important;
    fill: #333 !important;
}

.box-button-slider .btn:hover,
.swiper-button-prev-group-trending:hover,
.swiper-button-next-group-trending:hover,
.swiper-button-prev-group-best:hover,
.swiper-button-next-group-best:hover,
.swiper-button-prev-group-new:hover,
.swiper-button-next-group-new:hover,
.swiper-button-prev-group-vendors:hover,
.swiper-button-next-group-vendors:hover,
.swiper-button-prev-group-categories:hover,
.swiper-button-next-group-categories:hover {
    background-color: var(--color-teal) !important;
    border-color: var(--color-teal);
}

.box-button-slider .btn:hover svg path,
.swiper-button-prev-group-trending:hover svg path,
.swiper-button-next-group-trending:hover svg path,
.swiper-button-prev-group-best:hover svg path,
.swiper-button-next-group-best:hover svg path,
.swiper-button-prev-group-new:hover svg path,
.swiper-button-next-group-new:hover svg path,
.swiper-button-prev-group-vendors:hover svg path,
.swiper-button-next-group-vendors:hover svg path,
.swiper-button-prev-group-categories:hover svg path,
.swiper-button-next-group-categories:hover svg path {
    stroke: #fff !important;
    fill: #fff !important;
}

.banner-hero .swiper-pagination-1 .swiper-pagination-bullet-active {
    background-color: var(--color-yellow) !important;
}

.box-category-custom {
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.box-category-custom:hover {
    border-color: var(--color-teal);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.box-category-custom .card-image img {
    border-radius: 6px;
}

.box-category-custom .card-info h6 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.product-card {
    /* background-color: #fff; */
    border-radius: 8px;
    /* border: 1px solid #eee; */
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.08); */
    transform: translateY(-5px);
}

.product-card .card-image {
    overflow: hidden;
}

.product-card .card-info {
    padding: 15px;
}

.product-card .card-info a h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.product-card .card-info .price .text-brand-10 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-teal) !important;
}

.product-card .card-info .price .old-price {
    font-size: 14px;
    color: #999;
}

.product-card .card-info .add-cart-btn {
    background-color: var(--color-teal);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-align: center;
    display: block;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.product-card .card-info .add-cart-btn:hover {
    background-color: var(--color-orange);
}

.section-box.bg-teallight {
    background-color: rgba(0, 125, 124, 0.05) !important;
}


/* --- Header Icon Redesign --- */

.header-shop {
    gap: 0.5rem !important;
    /* Tighter gap for button group */
}

.header-action-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 40px;
    height: 40px; */
    /* background-color: #f5f5f5; */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-action-item:hover .icon-list::before {
    color: #fff;
}

.icon-user-loggedin::before {
    color: var(--color-teal);
}

.header-action-item .icon-list {
    color: #333;
    font-size: 20px !important;
    transition: color 0.3s ease;
}

.header-action-item .number-item {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
}


/* CSS Tooltip */

.header-action-item[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.header-action-item[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}


/* Hide old text labels */

.header-shop .icon-list span {
    display: none;
}

.header-shop .icon-list {
    gap: 0;
}

.d-inline-block.box-dropdown-cart {
    line-height: 1;
}


/* Cards - With Your Changes + Compact Rating & Price */

.card-grid-style-3 {
    background: #ffffff;
    border-radius: 20px;
    /* padding: 24px; */
    /* Your change: removed padding */
    /* box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06); */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* border: 1px solid rgba(0, 125, 124, 0.08); */
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.card-grid-style-3:hover {
    /* transform: translateY(-8px); */
    /* box-shadow: 0 20px 50px rgba(0, 125, 124, 0.15); */
    border-color: rgba(0, 125, 124, 0.2);
}

.card-grid-inner {
    position: relative;
    padding: 20px;
    /* Added padding to inner container instead */
}


/* Tools Section - Professional Icons */

.tools {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-grid-style-3:hover .tools {
    opacity: 1;
    transform: translateX(0);
}


/* Note: btn-wishlist, btn-compare, btn-quickview styles are in style.css */


/* They use SVG background images and should not be overridden here */


/* Image Box - Professional Rounded Design */

.image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    margin-bottom: 20px;
    /* padding: 15px; */
    /* Your change: removed padding */
}

.image-box img {
    width: 100%;
    height: 280px;
    /* Your change: increased to 280px */
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
}

.card-grid-style-3:hover .image-box img {
    transform: scale(1.08);
}


/* Labels/Badges - Professional Design */

.label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bg-brand-40 {
    background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
    box-shadow: 0 4px 15px rgba(255, 173, 0, 0.3);
}

.bg-brand-30 {
    background: linear-gradient(135deg, var(--color-teal), #009897);
    box-shadow: 0 4px 15px rgba(0, 125, 124, 0.3);
}

.bg-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}


/* Product Info - Professional Typography */

.info-right {
    /* text-align: center; */
    /* Your change: removed center alignment */
    padding: 0 4px;
}

.font-xs.text-brand-20 {
    color: var(--color-teal) !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    display: block;
    margin-bottom: 6px;
}

.text-brand-10.font-sm-bold {
    color: #1a202c !important;
    font-size: 1rem !important;
    font-weight: 700;
    /* line-height: 1.4; */
    text-decoration: none;
    display: block;
    /* margin: 8px 0 12px 0; */
    transition: color 0.3s ease;
    font-family: var(--font-heading);
    /* min-height: 2.8em; */
}

.text-brand-10.font-sm-bold:hover {
    color: var(--color-teal) !important;
}


/* NEW: Rating & Price - COMPACT SIDE BY SIDE LAYOUT */

.rating-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin: 12px 0 16px 0;x   */
    flex-direction: row-reverse;
    gap: 15px;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.rating img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(67%) sepia(90%) saturate(500%) hue-rotate(360deg);
}

.rating .font-xs.text-brand-20 {
    color: #64748b !important;
    font-size: 1.2rem !important;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 0 !important;
}


/* Price Info - Compact Design */

.price-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.font-lg-bold.text-brand-10.price-main {
    color: #1a202c !important;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.text-brand-20.price-line {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    text-decoration: line-through;
    font-weight: 600;
    white-space: nowrap;
}


/* Add to Cart Button - Professional Design */

.box-btn-cart {
    margin-top: 16px;
}

.btn.btn-cart {
    background: linear-gradient(135deg, var(--color-teal), #009897) !important;
    border: none !important;
    color: white !important;
    padding: 7px 12px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    width: 100%;
    text-decoration: none;
    display: block;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn.btn-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 125, 124, 0.4);
    background: linear-gradient(135deg, #009897, var(--color-teal)) !important;
}

.btn.btn-cart:active {
    transform: translateY(-1px);
}


/* Loading States */

.spinner-border-sm {
    border-width: 2px;
    border-color: currentColor transparent currentColor currentColor;
}


/* Grid Layout Improvements */

.col-xl-3.col-lg-4.col-md-6 {
    margin-bottom: 35px;
}


/* Professional Hover Effects */

.card-grid-style-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-grid-style-3:hover::before {
    opacity: 1;
}

.paganition-title::after {
    content: "";
    position: absolute;
    bottom: 12px;
    left: 0px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-orange));
    border-radius: 2px;
}


/* Responsive Design */

@media (max-width: 768px) {
    .card-grid-style-3 {
        /* padding: 20px; */
        /* Your change: removed padding */
        margin-bottom: 25px;
        border-radius: 16px;
    }
    .card-grid-inner {
        padding: 15px;
        /* Adjusted for mobile */
    }
    .tools {
        opacity: 1;
        top: 15px;
        right: 15px;
    }
    .btn-wishlist,
    .btn-compare,
    .btn-quickview {
        width: 40px;
        height: 40px;
    }
    .image-box {
        margin-bottom: 16px;
    }
    .image-box img {
        height: 200px;
        /* Adjusted for mobile */
    }
    /* Stack rating and price on mobile for better readability */
    .rating-price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .price-info {
        align-self: stretch;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .rating-price-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}


/* Accessibility & Focus States */

.btn:focus,
.btn-cart:focus {
    outline: 3px solid rgba(0, 125, 124, 0.3);
    outline-offset: 2px;
}


/* Smooth scrolling for all interactive elements */

html {
    scroll-behavior: smooth;
}


/* Professional color transitions */

a,
button,
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ===============================
   HERO SECTION – Categories + Slider Layout
================================ */

.hero-section {
    padding: 30px 0 50px;
}

.hero-wrapper {
    display: flex;
    gap: 24px;
    align-items: stretch;
}


/* Categories Sidebar */

.hero-categories {
    flex: 0 0 260px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.hero-categories-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--color-teal);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

.hero-categories-header svg {
    opacity: 0.9;
}

.hero-categories-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.hero-categories-list li {
    border-bottom: 1px solid #f0f0f0;
}

.hero-categories-list li:last-child {
    border-bottom: none;
}

.hero-category-link {
    font-weight: bold !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #2d3748;
    text-decoration: none;
    font-size: 14px;
    /* font-weight: 500; */
    transition: all 0.2s ease;
}


/* .hero-category-link:hover {
    background: #f7f7f7 !important;
    padding-left: 24px;
} */

.hero-category-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.8;
}

a:hover .hero-category-name {
    color: var(--color-teal) !important;
    font-weight: bold !important;
}

.hero-category-link span {
    flex: 1;
}


/* Slider Area */

.hero-slider {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 360px;
}

.hero-slider .box-swiper {
    height: 100%;
}

.hero-slider .swiper-container {
    height: 100%;
}

.hero-slider .swiper-slide {
    height: 100%;
}

.hero-slider .banner-slide {
    height: 100%;
    min-height: 360px;
    border-radius: 16px;
    background-size: cover !important;
    background-position: center !important;
}


/* New Arrivals Badge */

.new-arrivals-badge {
    position: absolute;
    right: 20px;
    bottom: 30px;
    background: #ffffff;
    border-radius: 30px;
    padding: 12px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
}

.new-arrivals-badge:hover {
    background: var(--color-teal);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 125, 124, 0.3);
}


/* Swiper pagination for hero */

.hero-slider .swiper-pagination {
    bottom: 16px !important;
}

.hero-slider .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
    width: 10px;
    height: 10px;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-teal);
}


/* Responsive - Tablet */

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
    }
    .hero-categories {
        flex: 0 0 auto;
        order: 2;
    }
    .hero-slider {
        order: 1;
        min-height: 280px;
    }
    .hero-slider .banner-slide {
        min-height: 280px;
    }
    .hero-categories-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 12px;
        gap: 8px;
    }
    .hero-categories-list li {
        border-bottom: none;
    }
    .hero-category-link {
        flex-direction: column;
        text-align: center;
        padding: 12px 8px;
        border-radius: 8px;
        background: #f9f9f9;
    }
    .hero-category-link:hover {
        padding-left: 8px;
    }
}


/* Responsive - Mobile */

@media (max-width: 576px) {
    .hero-section {
        padding: 16px 0 30px;
    }
    .hero-slider {
        min-height: 200px;
    }
    .hero-slider .banner-slide {
        min-height: 200px;
        border-radius: 12px;
    }
    .hero-categories-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .new-arrivals-badge {
        right: 12px;
        bottom: 16px;
        padding: 8px 16px;
        font-size: 12px;
    }
}


/* ===============================
   Featured Categories – Card Style (Matching Reference)
================================ */


/* Wrapper for the row of categories */

.cate-scroll .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}


/* Individual category card */

.category-item {
    /* flex: 0 0 140px; */
    /* min-width: 140px; */
    /* max-width: 160px; */
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 16px 22px;
    text-align: center;
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    list-style: none;
}


/* Hover effect */

.category-item:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); */
}


/* Icon wrapper link */

.category-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #FAE8DC;
    /* soft peachy-beige like the image */
    text-decoration: none;
    transition: background 0.3s ease;
}

.category-item:hover .category-circle {
    background: #F5DBCA;
}


/* Icon image inside circle */

.category-circle img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: none;
}


/* Category title below the icon */

.category-title {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    margin-top: 4px;
}


/* ===============================
   Responsive – Mobile adjustments
================================ */

@media (max-width: 992px) {
    .cate-scroll .row {
        gap: 16px;
    }
    /* .category-item {
        flex: 0 0 120px;
        min-width: 120px;
        padding: 22px 12px 18px;
    } */
    .category-circle {
        width: 54px;
        height: 54px;
        margin-bottom: 12px;
    }
    .category-circle img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    .cate-scroll .row {
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    /* .category-item {
        flex: 0 0 110px;
        min-width: 110px;
        padding: 18px 10px 16px;
        border-radius: 12px;
    } */
    .category-circle {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }
    .category-circle img {
        width: 22px;
        height: 22px;
    }
    .category-title {
        font-size: 12px;
    }
}


/* Header category dropdown container */

#header_categories {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}


/* Item */

#header_categories li {
    list-style: none;
}


/* Link */

#header_categories li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background-color: var(--color-background);
    text-decoration: none;
}


/* Icon circle */

#header_categories .img-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 173, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#header_categories img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}


/* Text */

#header_categories .text-brand-10 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}


/* ===============================
   LOGIN PAGE - Modern Split Screen Design
================================ */

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%); */
    padding: 20px;
    font-family: var(--font-body);
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    min-height: 650px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    /* box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1); */
}


/* ===== LEFT PANEL - Branding ===== */

.login-left-panel {
    background: linear-gradient(135deg, var(--color-teal) 0%, #009897 50%, var(--color-orange) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.login-branding {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out;
}

.brand-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}


/* Animated Decorative Blobs */

.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}


/* .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
} */


/* .blob-1 {
    width: 300px;
    height: 300px;
    background: var(--color-yellow);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
} */


/* .blob-2 {
    width: 250px;
    height: 250px;
    background: var(--color-orange);
    bottom: -80px;
    right: -80px;
    animation-delay: -7s;
} */


/* .blob-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
} */

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}


/* Login Illustration */

.login-illustration {
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.login-illustration svg {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}


/* ===== RIGHT PANEL - Form ===== */

.login-right-panel {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.login-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-form-header {
    margin-bottom: 40px;
    animation: fadeInRight 0.6s ease-out;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 400;
}


/* Alert Styling */

.login-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    animation: shake 0.5s ease-in-out;
}

.alert-icon {
    flex-shrink: 0;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}


/* ===== MODERN FORM INPUTS ===== */

.login-form {
    animation: fadeInRight 0.6s ease-out 0.2s backwards;
}

.form-group-modern {
    position: relative;
    margin-bottom: 28px;
}

.form-input-modern {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: #1a202c;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.form-input-modern:focus {
    border-color: var(--color-teal);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 125, 124, 0.1);
}

.form-input-modern.is-invalid {
    border-color: #ef4444;
}

.form-input-modern.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}


/* Floating Label Animation */

.form-label-modern {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #64748b;
    background: transparent;
    padding: 0 6px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.form-input-modern:focus+.form-label-modern,
.form-input-modern:not(:placeholder-shown)+.form-label-modern {
    top: 0;
    font-size: 0.75rem;
    color: var(--color-teal);
    background: #ffffff;
    font-weight: 600;
}


/* Input Icons */

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-input-modern:focus~.input-icon {
    color: var(--color-teal);
}


/* Error Message */

.error-message {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #ef4444;
    font-weight: 500;
}


/* ===== FORM OPTIONS ===== */

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}


/* Custom Checkbox */

.remember-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.remember-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.remember-checkbox input[type="checkbox"]:checked+.checkbox-custom {
    background: var(--color-teal);
    border-color: var(--color-teal);
}

.remember-checkbox input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--color-orange);
    text-decoration: underline;
}


/* ===== LOGIN BUTTON ===== */

.btn-login {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 125, 124, 0.3);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 125, 124, 0.4);
    background: linear-gradient(135deg, #009897, var(--color-teal));
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 125, 124, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-login:hover .btn-arrow {
    transform: translateX(5px);
}


/* ===== SIGNUP LINK ===== */

.signup-link {
    text-align: center;
    margin-top: 28px;
    font-size: 0.95rem;
}

.signup-text {
    color: #64748b;
    font-weight: 500;
}

.signup-cta {
    color: var(--color-teal);
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.signup-cta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange);
    transition: width 0.3s ease;
}

.signup-cta:hover::after {
    width: 100%;
}

.signup-cta:hover {
    color: var(--color-orange);
}


/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 992px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .login-left-panel {
        display: none;
    }
    .login-right-panel {
        padding: 50px 30px;
    }
}

@media (max-width: 576px) {
    .login-section {
        padding: 0;
        background: #ffffff;
    }
    .login-container {
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }
    .login-right-panel {
        padding: 40px 24px;
    }
    .form-title {
        font-size: 1.75rem;
    }
    .brand-title {
        font-size: 2rem;
    }
    .form-group-modern {
        margin-bottom: 22px;
    }
}


/* ===== REGISTER PAGE SPECIFIC STYLES ===== */

.register-panel {
    padding: 50px 50px;
    /* Slightly less padding for more fields */
}

.register-form .form-group-modern {
    margin-bottom: 22px;
    /* Compact spacing for 4 fields */
}

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

.error-list li {
    margin-bottom: 6px;
}

.error-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .register-panel {
        padding: 50px 30px;
    }
}

@media (max-width: 576px) {
    .register-panel {
        padding: 40px 24px;
    }
    .register-form .form-group-modern {
        margin-bottom: 20px;
    }
}


/* ===============================
   FOOTER MODERN STYLES
================================ */

.footer-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
    margin-top: 60px;
    font-family: var(--font-body);
}


/* Footer Content Section */

.footer-content {
    padding: 60px 0 40px 0;
    border-bottom: 1px solid rgba(0, 125, 124, 0.08);
}


/* Footer Brand */

.footer-brand {
    padding-right: 30px;
}

.footer-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-family: var(--font-body);
}


/* Footer Social Icons */

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 125, 124, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon::before {
    font-size: 18px;
}

.social-icon:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 125, 124, 0.2);
}

.social-icon:hover::before {
    color: #ffffff;
}


/* Footer Titles */

.footer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-yellow));
    border-radius: 2px;
}


/* Footer Links */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-teal);
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 100%;
}


/* Footer Contact */

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact .icon-marker,
.footer-contact .icon-phone-call,
.footer-contact .icon-envelope {
    color: var(--color-teal);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact .icon-marker::before,
.footer-contact .icon-phone-call::before,
.footer-contact .icon-envelope::before {
    color: var(--color-teal);
}

.footer-contact span:not([class*="icon-"]) {
    line-height: 1.6;
}


/* Footer Bottom */

.footer-bottom {
    padding: 24px 0;
    background: rgba(0, 125, 124, 0.02);
}

.copyright {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-family: var(--font-body);
}

.copyright strong {
    color: var(--color-teal);
    font-weight: 700;
}


/* Footer Bottom Links */

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-bottom-links li {
    display: inline-block;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-teal);
}


/* Responsive Design */

@media (max-width: 992px) {
    .footer-content {
        padding: 50px 0 30px 0;
    }
    .footer-brand {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 20px 0;
    }
    .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
        margin-top: 16px;
        gap: 16px;
    }
    .footer-title {
        font-size: 15px;
        margin-bottom: 16px;
    }
}

@media (max-width: 576px) {
    .footer-modern {
        margin-top: 40px;
    }
    .footer-content {
        padding: 30px 0 15px 0;
    }
    .footer-logo {
        width: 120px;
    }
    .footer-social {
        gap: 10px;
    }
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}


/* ===============================
   MODERN BREADCRUMBS (Consistent Across Pages)
================================ */

.breadcrumbs-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breadcrumb-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.breadcrumb-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-links li {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-links li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #999;
}

.breadcrumb-links li a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-links li a:hover {
    color: var(--color-orange);
}

.breadcrumb-links li span {
    color: #666;
}


/* Responsive breadcrumbs */

@media (max-width: 576px) {
    .breadcrumbs-modern {
        padding: 20px 0;
    }
    .breadcrumb-title {
        font-size: 22px;
    }
    .breadcrumb-links {
        font-size: 13px;
    }
}


/* ===============================
   WISHLIST PAGE STYLES
================================ */

.wishlist-section {
    padding: 40px 0 60px;
}

.wishlist-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}


/* Wishlist Header */

.wishlist-header {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8f9fa, #f0f2f5);
    border-bottom: 1px solid #e8e8e8;
}

.wishlist-header .wishlist-col span {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Wishlist Columns */

.wishlist-col {
    display: flex;
    align-items: center;
}

.wishlist-col-product {
    flex: 1;
    min-width: 0;
}

.wishlist-col-price {
    width: 140px;
    justify-content: center;
}

.wishlist-col-action {
    width: 120px;
    justify-content: center;
}

.wishlist-col-remove {
    width: 80px;
    justify-content: center;
}


/* Wishlist Items */

.wishlist-items {
    padding: 0;
}

.wishlist-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

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

.wishlist-item:hover {
    background: #fafafa;
}


/* Product in Wishlist */

.wishlist-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wishlist-product-image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.wishlist-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wishlist-product-info {
    flex: 1;
    min-width: 0;
}

.wishlist-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-product-info a {
    text-decoration: none;
}

.wishlist-product-info a:hover .wishlist-product-title {
    color: var(--color-teal);
}

.wishlist-product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-teal);
    margin-top: 6px;
    display: block;
}


/* Price Column */

.wishlist-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-teal);
}


/* View Button */

.btn-view-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--color-teal);
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-product:hover {
    background: #006665;
    color: #ffffff;
    transform: translateY(-1px);
}


/* Remove Button */

.btn-remove-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff5f5;
    color: #dc3545;
    transition: all 0.2s ease;
}

.btn-remove-wishlist:hover {
    background: #dc3545;
    color: #ffffff;
}


/* Wishlist Footer */

.wishlist-footer {
    padding: 20px 24px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.btn-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-continue-shopping:hover {
    background: var(--color-teal);
    color: #ffffff;
}


/* Empty Wishlist State */

.wishlist-empty {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.wishlist-empty-icon {
    color: #e0e0e0;
    margin-bottom: 24px;
}

.wishlist-empty-icon svg {
    width: 80px;
    height: 80px;
}

.wishlist-empty-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.wishlist-empty-text {
    font-size: 16px;
    color: #666;
    margin: 0 0 28px 0;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--color-teal);
    color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    background: #006665;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 125, 124, 0.3);
}


/* Responsive Wishlist */

@media (max-width: 991.98px) {
    .wishlist-item {
        flex-wrap: wrap;
        gap: 16px;
    }
    .wishlist-col-product {
        width: 100%;
    }
    .wishlist-col-price,
    .wishlist-col-action,
    .wishlist-col-remove {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 576px) {
    .wishlist-section {
        padding: 24px 0 40px;
    }
    .wishlist-container {
        border-radius: 12px;
    }
    .wishlist-header {
        padding: 14px 16px;
    }
    .wishlist-item {
        padding: 16px;
    }
    .wishlist-product {
        gap: 12px;
    }
    .wishlist-product-image {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
    .wishlist-product-title {
        font-size: 14px;
    }
    .btn-view-product {
        padding: 8px 12px;
        font-size: 13px;
    }
    .wishlist-empty {
        padding: 50px 16px;
    }
    .wishlist-empty-icon svg {
        width: 60px;
        height: 60px;
    }
    .wishlist-empty-title {
        font-size: 20px;
    }
}


/* ===============================
   COMPARE PAGE STYLES
================================ */

.compare-section {
    padding: 40px 0 60px;
}

.compare-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.compare-row {
    border-bottom: 1px solid #f0f0f0;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row-products {
    background: linear-gradient(135deg, #f8f9fa, #f0f2f5);
}

.compare-row-price {
    background: rgba(0, 125, 124, 0.03);
}

.compare-row-actions {
    background: #fafafa;
}

.compare-label {
    width: 140px;
    min-width: 140px;
    padding: 20px 24px;
    font-weight: 700;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.02);
    border-right: 1px solid #f0f0f0;
    vertical-align: middle;
}

.compare-cell {
    padding: 20px 24px;
    text-align: center;
    vertical-align: middle;
    min-width: 200px;
    border-right: 1px solid #f0f0f0;
}

.compare-cell:last-child {
    border-right: none;
}


/* Product in Compare */

.compare-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.compare-product-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.compare-product-image:hover img {
    transform: scale(1.05);
}

.compare-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compare-product-title:hover {
    color: var(--color-teal);
}


/* Rating */

.compare-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.compare-rating svg {
    flex-shrink: 0;
}

.rating-count {
    margin-left: 6px;
    font-size: 13px;
    color: #666;
}


/* Badges */

.compare-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 2px;
}

.compare-badge-brand {
    background: rgba(0, 125, 124, 0.1);
    color: var(--color-teal);
}

.compare-badge-option {
    background: rgba(255, 173, 0, 0.1);
    color: var(--color-orange);
}

.compare-na {
    color: #999;
    font-size: 18px;
}


/* Merchant */

.compare-merchant {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f2f5;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}


/* Price */

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


/* Stock Status */

.compare-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.compare-stock.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.compare-stock.out-of-stock {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}


/* Actions */

.compare-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-remove-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff5f5;
    color: #dc3545;
    transition: all 0.2s ease;
}

.btn-remove-compare:hover {
    background: #dc3545;
    color: #ffffff;
}


/* Compare Footer */

.compare-footer {
    padding: 20px 24px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}


/* Empty Compare State */

.compare-empty {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.compare-empty-icon {
    color: #e0e0e0;
    margin-bottom: 24px;
}

.compare-empty-icon svg {
    width: 80px;
    height: 80px;
}

.compare-empty-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.compare-empty-text {
    font-size: 16px;
    color: #666;
    margin: 0 0 28px 0;
}


/* Responsive Compare */

@media (max-width: 768px) {
    .compare-section {
        padding: 24px 0 40px;
    }
    .compare-label {
        width: 100px;
        min-width: 100px;
        padding: 16px;
        font-size: 12px;
    }
    .compare-cell {
        padding: 16px;
        min-width: 160px;
    }
    .compare-product-image {
        width: 80px;
        height: 80px;
    }
    .compare-product-title {
        font-size: 13px;
    }
    .compare-price {
        font-size: 16px;
    }
    .compare-actions {
        flex-direction: column;
        gap: 8px;
    }
    .btn-view-product {
        padding: 8px 14px;
        font-size: 13px;
    }
    .compare-empty {
        padding: 50px 16px;
    }
    .compare-empty-icon svg {
        width: 60px;
        height: 60px;
    }
    .compare-empty-title {
        font-size: 20px;
    }
}


/* ===============================
   SHOP PAGE STYLES
================================ */

.shop-section {
    padding: 40px 0 60px;
}


/* Filters Bar */

.shop-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.shop-results {
    font-size: 14px;
    color: #666;
}

.shop-results strong {
    color: var(--color-teal);
    font-weight: 700;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sort label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.shop-sort-select {
    padding: 8px 32px 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-sort-select:focus {
    outline: none;
    border-color: var(--color-teal);
}

.shop-sort-select:hover {
    border-color: var(--color-teal);
}


/* Filter Cards */

.shop-filter-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    overflow: hidden;
}

.shop-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa, #f0f2f5);
    border-bottom: 1px solid #e8e8e8;
}

.shop-filter-header h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.shop-filter-header svg {
    color: var(--color-teal);
    opacity: 0.7;
}

.shop-filter-content {
    padding: 16px 20px;
    max-height: 280px;
    overflow-y: auto;
}

.shop-filter-content::-webkit-scrollbar {
    width: 4px;
}

.shop-filter-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.shop-filter-content::-webkit-scrollbar-thumb {
    background: var(--color-teal);
    border-radius: 4px;
}


/* Filter List - Comprehensive Styling for JS-rendered filters */

.shop-filter-list,
.list-checkbox {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-filter-list li,
.list-checkbox li {
    margin-bottom: 4px;
    position: relative;
}

.shop-filter-list li:last-child,
.list-checkbox li:last-child {
    margin-bottom: 0;
}


/* Filter item container */

.shop-filter-list li,
.list-checkbox li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.shop-filter-list li:hover,
.list-checkbox li:hover {
    background: rgba(0, 125, 124, 0.04);
}


/* Checkbox container label */

.cb-container,
.shop-filter-list label,
.list-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    margin: 0;
    position: relative;
    padding-left: 28px;
}


/* Hide default checkbox */

.cb-container input[type="checkbox"],
.shop-filter-list input[type="checkbox"],
.list-checkbox input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-teal);
    z-index: 1;
}


/* Custom checkmark - hide since we use native checkbox */

.checkmark {
    display: none;
}


/* Filter item text */

.cb-container .text-small,
.shop-filter-list .text-small,
.list-checkbox .text-small,
.text-brand-30 {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Number badge for count */

.number-item,
.shop-filter-list .count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.number-item.bg-brand-40,
.number-item {
    background: var(--color-teal);
    color: #ffffff;
}


/* Category parent link */

.shop-filter-list>li>a,
.category_area>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(0, 125, 124, 0.05);
}

.shop-filter-list>li>a:hover,
.category_area>li>a:hover {
    background: rgba(0, 125, 124, 0.1);
}

.shop-filter-list>li>a .number,
.category_area>li>a .number {
    background: var(--color-teal);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}


/* Nested checkbox list */

.shop-filter-list ul.list-checkbox,
.category_area ul.list-checkbox {
    margin-top: 8px;
    padding-left: 0;
}


/* Sidebar border sections (for attributes) */

#left_sidebar .sidebar-border {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    overflow: hidden;
}

#left_sidebar .sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa, #f0f2f5);
    border-bottom: 1px solid #e8e8e8;
}

#left_sidebar .sidebar-head h6 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

#left_sidebar .sidebar-content {
    padding: 16px 20px;
    max-height: 280px;
    overflow-y: auto;
}


/* Price Range Slider */

.shop-price-range {
    padding: 20px;
}

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

.shop-price-inputs input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.shop-price-inputs span {
    color: #999;
}


/* Pagination */

.shop-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.shop-pagination .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-pagination .pagination li a,
.shop-pagination .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.shop-pagination .pagination li a {
    background: #ffffff;
    color: #666;
    border: 1px solid #e0e0e0;
}

.shop-pagination .pagination li a:hover {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
}

.shop-pagination .pagination li.active span,
.shop-pagination .pagination li.active a {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
}

.shop-pagination .pagination li.disabled span {
    background: #f5f5f5;
    color: #ccc;
    border: 1px solid #e0e0e0;
    cursor: not-allowed;
}


/* Mobile Filter Toggle */

.shop-mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px 20px;
    background: var(--color-teal);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

.shop-mobile-filter-toggle svg {
    margin-right: 8px;
}


/* Responsive Shop */

@media (max-width: 991.98px) {
    .shop-section {
        padding: 24px 0 40px;
    }
    .shop-mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #left_sidebar {
        display: none;
    }
    #left_sidebar.show {
        display: block;
    }
}

@media (max-width: 576px) {
    .shop-filters-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
    }
    .shop-sort {
        width: 100%;
    }
    .shop-sort-select {
        flex: 1;
    }
    .shop-filter-card {
        border-radius: 10px;
    }
    .shop-filter-header {
        padding: 14px 16px;
    }
    .shop-filter-content {
        padding: 14px 16px;
    }
    .shop-pagination .pagination li a,
    .shop-pagination .pagination li span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}


/* ====================================
   SHOP PRODUCT CARDS - MODERN STYLING
   ==================================== */


/* Product Grid Container */

.product-parent {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
}

.product-parent .product-card {
    padding: 12px;
}


/* Product Card - Clean design matching home page */

.card-grid-style-3 {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: none !important;
}

.card-grid-style-3:hover {
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); */
    transform: translateY(-4px);
}

.card-grid-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none !important;
}


/* Product Image Box */

.card-grid-style-3 .image-box {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.card-grid-style-3 .image-box img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card-grid-style-3:hover .image-box img {
    transform: scale(1.05);
}


/* Product Badge */

.card-grid-style-3 .label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    color: #fff;
}


/* Product Tools/Actions - Keep original icon styling */

.card-grid-style-3 .tools {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 3;
}


/* Let the original btn classes handle the hover reveal */

.card-grid-inner:hover .btn.btn-wishlist,
.card-grid-inner:hover .btn.btn-compare,
.card-grid-inner:hover .btn.btn-quickview {
    opacity: 1;
    transform: translateX(0);
}


/* Product Info */

.card-grid-style-3 .info-right {
    /* padding: 16px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    border: none !important;
    background: #ffffff;
    justify-content: flex-end;
}


/* Category Link */

.card-grid-style-3 .info-right>a:first-child {
    font-size: 12px;
    color: var(--color-teal);
    text-decoration: none;
    margin-bottom: 4px;
    display: inline-block;
}


/* Product Title */

.card-grid-style-3 .info-right .font-sm-bold,
.card-grid-style-3 .info-right .color-brand-3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.4;
}

.card-grid-style-3 .info-right .font-sm-bold:hover,
.card-grid-style-3 .info-right .color-brand-3:hover {
    color: var(--color-teal);
}


/* Rating */

.card-grid-style-3 .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.card-grid-style-3 .rating img {
    width: 14px;
    height: 14px;
}

.card-grid-style-3 .rating span {
    font-size: 12px;
    color: #888;
}


/* Price */

.card-grid-style-3 .price-info {
    margin-bottom: 12px;
}

.card-grid-style-3 .price-main {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.card-grid-style-3 .price-line {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}


/* Add to Cart Button */

.card-grid-style-3 .box-btn-cart {
    margin-top: auto;
}

.card-grid-style-3 .btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    background: var(--color-teal);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-grid-style-3 .btn-cart:hover {
    background: #006665;
    transform: translateY(-2px);
}


/* ====================================
   SHOP FILTER SIDEBAR - FINAL FIXES
   ==================================== */


/* Categories Filter - Parent item */

.category_area>li {
    background: transparent;
    padding: 0;
    display: block;
}

.category_area>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(0, 125, 124, 0.06);
    margin-bottom: 8px;
}

.category_area>li>a .text-brand-20 {
    color: #333;
    font-weight: 600;
}

.category_area>li>a .number {
    background: var(--color-teal);
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}


/* Child categories */

.category_area .list-checkbox {
    background: transparent;
    padding: 0;
    margin: 0;
}

.category_area .list-checkbox li {
    background: transparent;
    padding: 6px 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}


/* Checkbox label in filters */

.category_area .cb-container,
.brand_area .cb-container,
.list-checkbox .cb-container {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 6px 10px;
    margin: 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
    position: relative;
    /* padding-left: 32px; */
}

.category_area .cb-container:hover,
.brand_area .cb-container:hover,
.list-checkbox .cb-container:hover {
    background: rgba(0, 125, 124, 0.04);
}


/* Checkbox input */

.category_area input[type="checkbox"],
.brand_area input[type="checkbox"],
.list-checkbox input[type="checkbox"] {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-teal);
}


/* Checkbox text */

.category_area .text-small,
.brand_area .text-small,
.list-checkbox .text-small,
.category_area .text-brand-30,
.brand_area .text-brand-30 {
    font-size: 13px;
    color: #555;
}


/* Hide the custom checkmark span */

.category_area .checkmark,
.brand_area .checkmark,
.list-checkbox .checkmark {
    display: none;
}


/* Number badge outside label */

.category_area .number-item,
.brand_area .number-item,
.list-checkbox .number-item {
    background: var(--color-teal);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}


/* Brand area specific */

.brand_area li {
    background: transparent;
    padding: 0;
    margin: 0 0 2px 0;
    display: flex;
    align-items: center;
}


/* Filter content max height */

.shop-filter-content {
    max-height: 320px;
    overflow-y: auto;
}


/* Responsive product cards */

@media (max-width: 767px) {
    .product-parent {
        margin: -8px;
    }
    .product-parent .product-card {
        padding: 8px;
    }
    .card-grid-style-3 .image-box img {
        height: 150px;
    }
    .card-grid-style-3 .info-right {
        padding: 12px;
    }
    .card-grid-style-3 .price-main {
        font-size: 16px;
    }
}


/* ====================================
   PRODUCT SHARE BUTTONS
   ==================================== */

.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-btn svg {
    transition: transform 0.2s ease;
}

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


/* Facebook */

.share-btn.facebook {
    background: #1877f2;
    color: #ffffff;
}

.share-btn.facebook:hover {
    background: #0d65d9;
}


/* Twitter/X */

.share-btn.twitter {
    background: #000000;
    color: #ffffff;
}

.share-btn.twitter:hover {
    background: #333333;
}


/* Pinterest */

.share-btn.pinterest {
    background: #e60023;
    color: #ffffff;
}

.share-btn.pinterest:hover {
    background: #c7001f;
}


/* WhatsApp */

.share-btn.whatsapp {
    background: #25d366;
    color: #ffffff;
}

.share-btn.whatsapp:hover {
    background: #1da851;
}


/* ====================================
   CHECKOUT PAGE - MODERN STYLING
   ==================================== */

.checkout-section {
    padding: 40px 0 60px;
}


/* Alert Messages */

.checkout-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.checkout-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.checkout-alert svg {
    flex-shrink: 0;
}


/* Checkout Grid Layout */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-sidebar {
        order: -1;
    }
}


/* Checkout Cards */

.checkout-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8f9fa, #f0f2f5);
    border-bottom: 1px solid #e8e8e8;
}

.checkout-card-icon {
    width: 44px;
    height: 44px;
    background: var(--color-teal);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-card-title-wrapper {
    flex: 1;
}

.checkout-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.checkout-card-subtitle {
    font-size: 13px;
    color: #666;
    margin: 4px 0 0;
}

.checkout-card-subtitle a {
    color: var(--color-teal);
    font-weight: 600;
    text-decoration: none;
}

.checkout-card-body {
    padding: 24px;
}


/* Form Styles */

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 0;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0, 125, 124, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-teal);
}


/* Payment Methods */

.payment-methods,
.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method-item,
.shipping-method-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method-item:hover,
.shipping-method-item:hover {
    background: #f0f7f7;
    border-color: rgba(0, 125, 124, 0.2);
}

.payment-method-item:has(input:checked),
.shipping-method-item:has(input:checked) {
    background: rgba(0, 125, 124, 0.05);
    border-color: var(--color-teal);
}

.payment-method-item input[type="radio"],
.shipping-method-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-teal);
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-method-radio {
    display: none;
}

.payment-method-name,
.shipping-method-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.payment-method-desc,
.shipping-method-desc {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}


/* Order Summary */

.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.order-item:first-child {
    margin-top: 10px;
}

.order-item-image {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--color-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
    line-height: 1.3;
}

.order-item-variant {
    display: block;
    font-size: 12px;
    color: #888;
}

.order-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}


/* Coupon Notice */

.coupon-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 125, 124, 0.05);
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #666;
}

.coupon-notice svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

.coupon-notice a {
    color: var(--color-teal);
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
}


/* Order Totals */

.order-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.order-total-value {
    font-weight: 600;
    color: #333;
}

.order-total-final {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 10px;
    border-top: 2px solid var(--color-teal);
}

.order-total-final .order-total-value {
    color: var(--color-teal);
    font-size: 20px;
}


/* Checkout Buttons */

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.checkout-btn-primary {
    background: var(--color-teal);
    color: #ffffff;
}

.checkout-btn-primary:hover {
    background: #006665;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 125, 124, 0.3);
}

.checkout-btn-secondary {
    background: #f5f5f5;
    color: #555;
}

.checkout-btn-secondary:hover {
    background: #eee;
}


/* Security Badge */

.security-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
}

.security-badge svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

.security-badge-text {
    display: flex;
    flex-direction: column;
}

.security-badge-text strong {
    font-size: 14px;
    color: #333;
}

.security-badge-text span {
    font-size: 12px;
    color: #888;
}


/* Password Area Toggle */

.password_area {
    display: none;
}


/* Shipping methods from JS */

.shipping_methods li {
    list-style: none;
}

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


/* Responsive */

@media (max-width: 767px) {
    .checkout-section {
        padding: 24px 0 40px;
    }
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }
    .checkout-card-header {
        padding: 16px 18px;
    }
    .checkout-card-body {
        padding: 18px;
    }
    .checkout-card-icon {
        width: 38px;
        height: 38px;
    }
    .checkout-card-title {
        font-size: 16px;
    }
    .order-items {
        max-height: 200px;
    }
}


/* ===============================
       VENDORS PAGE - MODERN STYLES
    ================================ */


/* Vendors Section */

.vendors-section {
    padding: 40px 0 60px 0;
}


/* Page Header */

.vendors-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(0, 125, 124, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

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

.vendors-count .count-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-teal);
}

.vendors-count .count-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
}

.btn-open-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-open-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 125, 124, 0.3);
    color: #ffffff;
}


/* Filters Bar */

.vendors-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
    gap: 16px;
}

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

.btn-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--color-teal);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-filters:hover {
    background: #009897;
    color: #ffffff;
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.results-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.dropdown-modern .btn-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-modern .btn-dropdown:hover {
    border-color: var(--color-teal);
}

.dropdown-modern .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    min-width: 160px;
}

.dropdown-modern .dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-modern .dropdown-item:hover {
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
}


/* Vendors Grid */

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}


/* Vendor Card */

.vendor-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 125, 124, 0.06);
}

.vendor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 125, 124, 0.12);
    border-color: rgba(0, 125, 124, 0.15);
}

.vendor-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid rgba(0, 125, 124, 0.06);
}

.vendor-avatar {
    position: relative;
    flex-shrink: 0;
}

.vendor-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(0, 125, 124, 0.1);
}

.verified-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.verified-badge svg {
    color: #ffffff;
}

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

.vendor-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vendor-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vendor-rating .stars {
    display: flex;
    gap: 2px;
}

.vendor-rating .review-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.vendor-products-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 125, 124, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.vendor-products-badge .badge-number {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--color-teal);
    line-height: 1;
}

.vendor-products-badge .badge-text {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.vendor-card-body {
    padding: 16px 20px;
}

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

.vendor-detail:last-child {
    margin-bottom: 0;
}

.vendor-detail svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

.vendor-detail span {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.vendor-card-footer {
    padding: 0 20px 20px 20px;
}

.btn-visit-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(0, 125, 124, 0.06);
    color: var(--color-teal);
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-visit-store:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-visit-store:hover svg {
    transform: translateX(4px);
}

.btn-visit-store svg {
    transition: transform 0.3s ease;
}


/* Empty State */

.vendors-empty {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.vendors-empty .empty-icon {
    margin-bottom: 20px;
    color: #cbd5e1;
}

.vendors-empty .empty-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.vendors-empty .empty-text {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

.btn-open-shop-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-open-shop-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 125, 124, 0.3);
    color: #ffffff;
}


/* Pagination */

.vendors-pagination {
    margin-top: 20px;
}


/* Sidebar Cards */

.sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
}

.sidebar-card-header {
    padding: 18px 20px;
    border-bottom: 2px solid rgba(0, 125, 124, 0.08);
}

.sidebar-card-header h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.sidebar-card-body {
    padding: 16px 20px;
}


/* Category Filter List */

.category-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-list li {
    margin-bottom: 4px;
}

.category-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-filter-item:hover {
    background: rgba(0, 125, 124, 0.06);
}

.category-filter-item .category-name {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s ease;
}

.category-filter-item:hover .category-name {
    color: var(--color-teal);
}

.category-filter-item .category-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.category-filter-item:hover .category-count {
    background: var(--color-teal);
    color: #ffffff;
}


/* Tags Cloud */

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #ffffff;
}


/* CTA Card */

.sidebar-cta-card {
    background: linear-gradient(135deg, rgba(0, 125, 124, 0.05), rgba(255, 173, 0, 0.05));
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 2px dashed rgba(0, 125, 124, 0.15);
}

.sidebar-cta-card .cta-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: #ffffff;
}

.sidebar-cta-card .cta-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.sidebar-cta-card .cta-text {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.sidebar-cta-card .btn-cta {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-cta-card .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 173, 0, 0.3);
}


/* Filters Modal */

.filters-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.filters-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 125, 124, 0.1);
}

.filters-modal-header .modal-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
}

.btn-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-close:hover {
    background: #e2e8f0;
    color: #1a202c;
}

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

.filter-group {
    margin-bottom: 0;
}

.filter-group-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-checkbox-list li {
    margin-bottom: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked+.checkmark {
    background: var(--color-teal);
    border-color: var(--color-teal);
}

.filter-checkbox input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox .label-text {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.filter-rating-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-rating-list li {
    margin-bottom: 10px;
}

.rating-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rating-filter-item:hover {
    background: rgba(0, 125, 124, 0.06);
}

.rating-filter-item .stars {
    display: flex;
    gap: 2px;
}

.rating-filter-item .rating-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.filters-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 125, 124, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset-filters:hover {
    background: #e2e8f0;
}

.btn-apply-filters {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 125, 124, 0.25);
}


/* Responsive */

@media (max-width: 991px) {
    .vendors-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .vendors-section {
        padding: 30px 0 40px 0;
    }
    .vendors-filters-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .filters-right {
        width: 100%;
        justify-content: space-between;
    }
    .vendors-grid {
        grid-template-columns: 1fr;
    }
    .vendor-card-header {
        flex-wrap: wrap;
    }
    .vendor-products-badge {
        margin-left: auto;
    }
}


/* ===============================
           CART PAGE MODERN STYLES
        ================================ */


/* Cart Content Section */

.cart-content-section {
    padding: 40px 0 60px 0;
}


/* Cart Items Container */

.cart-items-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
    margin-bottom: 24px;
}


/* Cart Header */

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 60px;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 2px solid rgba(0, 125, 124, 0.1);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-header>div {
    display: flex;
    align-items: center;
}


/* Cart Item Card */

.cart-item-card {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 60px;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 125, 124, 0.06);
    transition: background 0.3s ease;
}

.cart-item-card:hover {
    background: rgba(0, 125, 124, 0.02);
}

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


/* Product Column */

.cart-item-product {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.1);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.cart-item-name:hover {
    color: var(--color-teal);
}

.cart-item-variations,
.cart-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.variation-badge,
.option-badge {
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.option-badge {
    background: rgba(255, 173, 0, 0.1);
    color: var(--color-orange);
}


/* Price, Quantity, Total Columns */

.cart-item-price,
.cart-item-quantity,
.cart-item-total {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    display: flex;
    align-items: center;
}

.quantity-badge {
    background: rgba(0, 125, 124, 0.1);
    color: var(--color-teal);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
}


/* Remove Button */

.cart-item-remove {
    display: flex;
    justify-content: center;
}

.btn-remove-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff5f5;
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-remove-item:hover {
    background: #dc3545;
    color: #ffffff;
}


/* Cart Actions */

.cart-actions {
    padding-top: 20px;
}

.btn-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 125, 124, 0.06);
    color: var(--color-teal);
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-continue-shopping .icon-arrow-left::before {
    font-size: 20px;
    color: var(--color-teal);
}

.btn-continue-shopping:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: translateX(-3px);
}

.btn-continue-shopping:hover .icon-arrow-left::before {
    color: #ffffff;
}


/* Coupon Container */

.coupon-container {
    background: linear-gradient(135deg, rgba(255, 173, 0, 0.05), rgba(251, 133, 0, 0.05));
    border-radius: 16px;
    padding: 28px;
    border: 2px dashed rgba(255, 173, 0, 0.2);
}

.coupon-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.coupon-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.coupon-input-group {
    display: flex;
    gap: 12px;
}

.coupon-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 173, 0, 0.2);
    border-radius: 50px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--color-yellow);
    box-shadow: 0 0 0 4px rgba(255, 173, 0, 0.1);
}

.btn-apply-coupon {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-apply-coupon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 173, 0, 0.3);
}


/* Order Summary Container */

.order-summary-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 28px;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 125, 124, 0.1);
}

.summary-details {
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.summary-row.highlight {
    background: rgba(0, 125, 124, 0.04);
    margin: 0 -12px;
    padding: 12px;
    border-radius: 8px;
}

.summary-label {
    font-family: var(--font-body);
    font-size: 15px;
    color: #64748b;
    font-weight: 600;
}

.summary-value {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #1a202c;
    font-weight: 700;
}

.summary-value.discount {
    color: #10b981;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 125, 124, 0.1), transparent);
    margin: 16px 0;
}

.summary-row.total-row {
    padding-top: 16px;
}

.summary-row.total-row .summary-label {
    font-size: 18px;
    color: #1a202c;
    font-weight: 700;
}

.summary-row.total-row .summary-value {
    font-size: 24px;
    color: var(--color-teal);
}


/* Checkout Button */

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-checkout .icon-arrow-right::before {
    font-size: 20px;
    color: #ffffff;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 125, 124, 0.3);
    color: #ffffff;
}


/* Trust Badges */

.trust-badges {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 125, 124, 0.1);
}

.trust-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 125, 124, 0.04);
    border-radius: 12px;
}

.trust-badge .icon-shield-check,
.trust-badge .icon-box {
    font-size: 24px;
    color: var(--color-teal);
}

.trust-badge .icon-shield-check::before,
.trust-badge .icon-box::before {
    color: var(--color-teal);
    font-size: 24px;
}

.trust-badge span:not([class*="icon-"]) {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-align: center;
}


/* Responsive Design */

@media (max-width: 991px) {
    .order-summary-container {
        position: static;
    }
}

@media (max-width: 767px) {
    .cart-page-title {
        font-size: 24px;
    }
    .cart-items-container {
        padding: 16px;
    }
    .cart-header {
        display: none;
    }
    .cart-item-card {
        grid-template-columns: 1fr 40px;
        gap: 12px;
    }
    .cart-item-product {
        grid-column: 1;
    }
    .cart-item-remove {
        grid-column: 2;
        grid-row: 1;
    }
    .cart-item-price,
    .cart-item-quantity,
    .cart-item-total {
        display: none;
    }
    .cart-item-mobile-info {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(0, 125, 124, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .mobile-price {
        color: #64748b;
        font-size: 14px;
    }
    .mobile-total {
        font-weight: 700;
        color: var(--color-teal);
        font-size: 16px;
    }
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    .coupon-container {
        padding: 20px;
    }
    .coupon-input-group {
        flex-direction: column;
    }
    .btn-apply-coupon {
        width: 100%;
    }
    .order-summary-container {
        padding: 20px;
    }
}


/* Dashboard Header */

.dashboard-header {
    margin-bottom: 28px;
}

.dashboard-welcome {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.dashboard-welcome strong {
    color: var(--color-teal);
}


/* Stats Cards */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(0, 125, 124, 0.06);
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: rgba(0, 125, 124, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.orders-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-icon.wishlist-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-icon.pending-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-icon.completed-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-top: 4px;
}


/* Section Title */

.section-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--color-orange);
}


/* Quick Actions */

.quick-actions {
    margin-bottom: 32px;
}

.quick-actions .section-title {
    margin-bottom: 16px;
}

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

.action-card {
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-card:hover {
    background: rgba(0, 125, 124, 0.04);
    border-color: rgba(0, 125, 124, 0.15);
    transform: translateY(-2px);
}

.action-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    color: var(--color-teal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.action-card:hover .action-icon {
    background: var(--color-teal);
    color: #ffffff;
}

.action-text {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.action-card:hover .action-text {
    color: var(--color-teal);
}


/* Recent Activity */

.recent-activity {
    margin-bottom: 20px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 125, 124, 0.06);
    transition: all 0.2s ease;
}

.activity-item:hover {
    border-color: rgba(0, 125, 124, 0.12);
    background: #ffffff;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 2px 0;
}

.activity-description {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.activity-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.status-badge.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-badge.status-processing {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.status-badge.status-completed,
.status-badge.status-delivered {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-badge.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.activity-action {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.activity-action:hover {
    background: var(--color-teal);
    color: #ffffff;
}


/* Empty State */

.activity-empty {
    text-align: center;
    padding: 50px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.activity-empty .empty-icon {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.activity-empty .empty-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.activity-empty .empty-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 125, 124, 0.25);
    color: #ffffff;
}


/* Responsive */

@media (max-width: 991px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card {
        padding: 16px;
    }
    .stat-value {
        font-size: 20px;
    }
    .activity-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .activity-status {
        order: 3;
        width: 100%;
    }
    .activity-action {
        margin-left: auto;
    }
}


/* ===============================
       ACCOUNT LAYOUT - MODERN STYLES
    ================================ */


/* Account Section */

.account-section {
    padding: 40px 0 60px 0;
}


/* Account Sidebar */

.account-sidebar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: sticky;
    top: 100px;
}


/* User Profile Card */

.user-profile-card {
    padding: 24px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar .avatar-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

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

.user-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Account Navigation */

.account-nav {
    padding: 16px;
}

.account-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-nav-list li {
    margin-bottom: 4px;
}

.account-nav-list li:last-child {
    margin-bottom: 0;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.account-nav-item .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border-radius: 10px;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.account-nav-item .nav-text {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    flex: 1;
}

.account-nav-item .nav-indicator {
    width: 6px;
    height: 6px;
    background: var(--color-teal);
    border-radius: 50%;
}

.account-nav-item:hover {
    background: rgba(0, 125, 124, 0.04);
}

.account-nav-item:hover .nav-icon {
    background: rgba(0, 125, 124, 0.1);
    color: var(--color-teal);
}

.account-nav-item:hover .nav-text {
    color: var(--color-teal);
}

.account-nav-item.active {
    background: rgba(0, 125, 124, 0.08);
}

.account-nav-item.active .nav-icon {
    background: var(--color-teal);
    color: #ffffff;
}

.account-nav-item.active .nav-text {
    color: var(--color-teal);
    font-weight: 700;
}


/* Logout Item */

.account-nav-item.logout-item:hover {
    background: rgba(220, 53, 69, 0.06);
}

.account-nav-item.logout-item:hover .nav-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.account-nav-item.logout-item:hover .nav-text {
    color: #dc3545;
}


/* Navigation Divider */

.nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 125, 124, 0.1), transparent);
    margin: 12px 0;
}


/* Account Content */

.account-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 28px;
    min-height: 400px;
}


/* Custom Badge (for order statuses, etc.) */

.custom-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    display: inline-block;
}

.custom-badge.badge-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.custom-badge.badge-processing {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.custom-badge.badge-completed {
    background: linear-gradient(135deg, #10b981, #059669);
}

.custom-badge.badge-cancelled {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}


/* Account Page Title */

.account-page-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 125, 124, 0.1);
}


/* Account Cards */

.account-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 125, 124, 0.06);
    transition: all 0.2s ease;
}

.account-card:hover {
    border-color: rgba(0, 125, 124, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.account-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 12px 0;
}


/* Form Styles for Account Pages */

.account-form .form-group {
    margin-bottom: 20px;
}

.account-form .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.account-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.account-form .form-control:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(0, 125, 124, 0.1);
}

.account-form .btn-save {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-form .btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 125, 124, 0.25);
}


/* Empty State */

.account-empty {
    text-align: center;
    padding: 50px 20px;
}

.account-empty .empty-icon {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.account-empty .empty-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.account-empty .empty-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}


/* Responsive */

@media (max-width: 991px) {
    .account-sidebar {
        position: static;
        margin-bottom: 24px;
    }
    .user-profile-card {
        padding: 20px;
    }
    .account-nav {
        padding: 12px;
    }
    .account-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .account-nav-list li {
        margin-bottom: 0;
    }
    .account-nav-item {
        padding: 10px 14px;
    }
    .account-nav-item .nav-icon {
        width: 32px;
        height: 32px;
    }
    .nav-divider {
        display: none;
    }
}

@media (max-width: 767px) {
    .account-section {
        padding: 30px 0 40px 0;
    }
    .account-content {
        padding: 20px;
    }
    .account-page-title {
        font-size: 20px;
    }
    .account-nav-item .nav-text {
        display: none;
    }
    .account-nav-item .nav-indicator {
        display: none;
    }
    .account-nav-item {
        padding: 10px;
        justify-content: center;
    }
}


/* ===============================
       ORDERS PAGE - MODERN STYLES
    ================================ */


/* Orders Page Container */

.orders-section {
    padding: 40px 0 60px 0;
}


/* Orders Table Container */

.orders-table-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(0, 125, 124, 0.06);
}


/* Modern Table Styles */

.table-modern {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern thead {
    background: rgba(0, 125, 124, 0.08);
    border-radius: 8px;
}

.table-modern th {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #1a3c4d;
    /* Dark Blue-Teal */
    text-transform: none;
    padding: 18px 24px;
    border-bottom: none;
    border-top: none;
    white-space: nowrap;
}

.table-modern th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.table-modern th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.table-modern td {
    padding: 20px 24px;
    vertical-align: middle;
    border-top: 1px solid rgba(0, 125, 124, 0.06);
    font-size: 14px;
    color: #1a202c;
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover td {
    background: rgba(0, 125, 124, 0.02);
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}


/* Order ID */

.order-id-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.order-id-link:hover {
    color: var(--color-orange);
    text-decoration: underline;
}


/* Amount */

.order-amount {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #1a202c;
}


/* Payment Mode */

.payment-mode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #475569;
}


/* Action Buttons */

.btn-view-order {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 125, 124, 0.06);
    color: var(--color-teal);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-view-order:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: translateY(-2px);
}


/* Pagination */

.orders-pagination {
    margin-top: 24px;
}


/* Responsive Table Styles */

@media (max-width: 991px) {
    .table-responsive {
        border-radius: 16px;
        overflow: auto;
    }
}

@media (max-width: 767px) {
    .orders-table-container {
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .table-modern {
        display: block;
    }
    .table-modern thead {
        display: none;
    }
    .table-modern tbody,
    .table-modern tr,
    .table-modern td {
        display: block;
        width: 100%;
    }
    .table-modern tr {
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        margin-bottom: 16px;
        border: 1px solid rgba(0, 125, 124, 0.06);
        padding: 16px;
    }
    .table-modern td {
        padding: 10px 0;
        text-align: right;
        border-top: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .table-modern td:last-child {
        border-bottom: none;
        padding-bottom: 0;
        /* justify-content: flex-end; */
    }
    .table-modern td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        color: #64748b;
        font-size: 13px;
        text-transform: uppercase;
    }
    .btn-view-order {
        width: 100%;
        border-radius: 50px;
        padding: 8px;
        background: linear-gradient(135deg, var(--color-teal), #009897);
        color: #ffffff;
    }
    .btn-view-order i {
        margin-right: 8px;
    }
    .btn-view-order::after {
        content: "View Details";
        font-size: 14px;
        font-weight: 600;
    }
}


/* ===============================
       ACCOUNT SETTINGS PAGE - MODERN STYLES
    ================================ */


/* Settings Section Header */

.settings-section-header {
    margin-bottom: 24px;
}


/* Settings Card */

.settings-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 125, 124, 0.06);
    overflow: hidden;
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(0, 125, 124, 0.03);
    border-bottom: 1px solid rgba(0, 125, 124, 0.08);
}

.card-header-icon {
    width: 40px;
    height: 40px;
    background: var(--color-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.settings-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.settings-card-body {
    padding: 24px;
}


/* Account Form Styles */

.account-form .form-group {
    margin-bottom: 20px;
}

.account-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.account-form .form-label .required {
    color: #ef4444;
    margin-left: 2px;
}

.account-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-body);
    color: #1a202c;
    background: #ffffff;
    transition: all 0.2s ease;
}

.account-form .form-control::placeholder {
    color: #94a3b8;
}

.account-form .form-control:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(0, 125, 124, 0.1);
}

.account-form select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.account-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}


/* Modern Checkbox */

.checkbox-group {
    margin-bottom: 24px !important;
}

.modern-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.modern-checkbox input[type="checkbox"] {
    display: none;
}

.modern-checkbox .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.modern-checkbox input[type="checkbox"]:checked+.checkmark {
    background: var(--color-teal);
    border-color: var(--color-teal);
}

.modern-checkbox input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modern-checkbox .checkbox-label {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}


/* Save Button */

.btn-save-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 125, 124, 0.3);
}

.btn-save-settings svg {
    flex-shrink: 0;
}


/* Address Display */

.address-display {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(0, 125, 124, 0.08);
}

.address-info {
    flex: 1;
}

.address-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.address-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.address-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-teal);
    font-weight: 600;
    margin: 0;
}

.address-actions {
    flex-shrink: 0;
}

.btn-edit-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-edit-address:hover {
    background: var(--color-teal);
    color: #ffffff;
}


/* No Address State */

.no-address {
    text-align: center;
    padding: 40px 20px;
}

.no-address-icon {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-address-text {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
}

.btn-add-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-add-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 125, 124, 0.25);
    color: #ffffff;
}


/* Modern Modal */

.modern-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modern-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 125, 124, 0.1);
    background: rgba(0, 125, 124, 0.03);
}

.modern-modal .modal-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.modern-modal .btn-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-modal .btn-modal-close:hover {
    background: #e2e8f0;
    color: #1a202c;
}

.modern-modal .modal-body {
    padding: 28px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 125, 124, 0.1);
}

.btn-cancel {
    padding: 12px 24px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #e2e8f0;
}


/* Responsive */

@media (max-width: 991px) {
    .settings-card-body {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .settings-card-header {
        padding: 16px 20px;
    }
    .settings-card-body {
        padding: 16px;
    }
    .address-display {
        flex-direction: column;
    }
    .address-actions {
        width: 100%;
    }
    .btn-edit-address {
        width: 100%;
        justify-content: center;
    }
    .modal-actions {
        flex-direction: column;
    }
    .btn-cancel,
    .modal-actions .btn-save-settings {
        width: 100%;
    }
}


/* ===============================
       ACCOUNT WISHLIST PAGE - MODERN STYLES
    ================================ */


/* Wishlist Section Header */

.wishlist-section-header {
    margin-bottom: 24px;
}


/* Wishlist Product Cell */

.wishlist-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wishlist-product-image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
    display: block;
}

.wishlist-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-product-image:hover img {
    transform: scale(1.1);
}

.wishlist-product-info {
    flex: 1;
    min-width: 0;
}

.wishlist-product-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.wishlist-product-name:hover {
    color: var(--color-teal);
}


/* Wishlist Price */

.wishlist-price {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-teal);
}


/* Remove Wishlist Button */

.btn-remove-wishlist {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-remove-wishlist:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-2px);
}


/* Responsive Wishlist Table */

@media (max-width: 767px) {
    .wishlist-product-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .wishlist-product-image {
        width: 80px;
        height: 80px;
    }
    .table-modern td[data-label="View"],
    .table-modern td[data-label="Remove"] {
        justify-content: flex-start;
    }
    .btn-view-order,
    .btn-remove-wishlist {
        width: auto;
        padding: 8px 16px;
        border-radius: 50px;
    }
    .btn-view-order::after {
        content: " View";
        font-size: 14px;
        font-weight: 600;
        margin-left: 6px;
    }
    .btn-remove-wishlist::after {
        content: " Remove";
        font-size: 14px;
        font-weight: 600;
        margin-left: 6px;
    }
}


/* ===============================
       MODERN PRELOADER STYLES
    ================================ */

.preloader-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader-modern.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    position: relative;
    top: -2px;
}

.preloader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(0, 125, 124, 0.1);
    border-top-color: var(--color-teal);
    animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* ===============================
       HEADER DROPDOWN STYLES - MODERN
    ================================ */


/* Base Dropdown Container */

.box-dropdown-cart {
    position: relative;
}


/* Account Dropdown */

.dropdown-account {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-account::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 4px;
    transform: rotate(45deg);
    box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.05);
}

.box-dropdown-cart:hover .dropdown-account {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.dropdown-account ul li {
    margin-bottom: 2px;
}

.dropdown-account ul li:last-child {
    margin-bottom: 0;
}

.dropdown-account ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-account ul li a:hover {
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
}


/* Cart Dropdown */

.dropdown-cart {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 340px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-cart::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 4px;
    transform: rotate(45deg);
    box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.05);
}

.box-dropdown-cart:hover .dropdown-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Cart Item */

.dropdown-cart .item-cart {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 125, 124, 0.08);
}

.dropdown-cart .item-cart:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dropdown-cart .cart-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
}

.dropdown-cart .cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-cart .cart-info {
    flex: 1;
    min-width: 0;
}

.dropdown-cart .cart-info a {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.dropdown-cart .cart-info a:hover {
    color: var(--color-teal);
}

.dropdown-cart .cart-info p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.dropdown-cart .cart-info p span {
    color: var(--color-teal);
    font-weight: 700;
}


/* Cart Total */

.dropdown-cart .cart-total {
    padding-top: 16px;
    border-top: 2px solid rgba(0, 125, 124, 0.1);
}

.dropdown-cart .cart-total .row {
    margin-bottom: 8px;
}

.dropdown-cart .cart-total .font-md-bold {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
}

.dropdown-cart .cart-total .col-6:last-child {
    text-align: right;
}

.dropdown-cart .cart-total .col-6:last-child .font-md-bold {
    color: var(--color-teal);
}


/* Cart Buttons */

.dropdown-cart .btn-view-cart {
    padding: 12px 16px;
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-cart .btn-view-cart:hover {
    background: rgba(0, 125, 124, 0.15);
}

.dropdown-cart .btn-checkout {
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--color-teal), #009897);
    color: #ffffff;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    margin-bottom: 0px !important;
}

.dropdown-cart .btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 125, 124, 0.3);
}


/* Empty Cart */

.dropdown-cart .text-center {
    color: #64748b;
}

.dropdown-cart .text-center p {
    margin: 0;
    font-size: 14px;
}


/* Header Action Items */

.header-action-item {
    position: relative;
}

.header-action-item .number-item {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    background: var(--color-orange);
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}


/* Mobile Menu Styles */

.mobile-header-active {
    background: #ffffff;
}

.mobile-menu li a {
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    border-bottom: 1px solid rgba(0, 125, 124, 0.08);
    transition: color 0.2s ease;
}

.mobile-menu li a:hover {
    color: var(--color-teal);
}

.mobile-account {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 125, 124, 0.1);
}

.site-copyright {
    font-size: 13px;
    color: #64748b;
}


/* Header Icons - Solid Color */

.header-action-item .icon-list,
.header-shop .icon-list {
    color: var(--color-teal) !important;
    transition: color 0.2s ease;
}

.header-action-item:hover .icon-list,
.header-shop .box-dropdown-cart:hover .icon-list {
    color: var(--color-orange) !important;
}

.icon-account::before,
.icon-user-loggedin::before,
.icon-wishlist::before,
.icon-compare::before,
.icon-cart::before {
    color: inherit !important;
}


/* Header Icon Styling */

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
    transition: all 0.2s ease;
    cursor: pointer;
}

.header-icon svg {
    width: 22px;
    height: 22px;
}

.header-action-item:hover .header-icon,
.box-dropdown-cart:hover>.header-icon {
    background: var(--color-teal);
    color: #ffffff;
}


/* Fix Header Icons Visibility */

.header-action-item .header-icon,
a.header-action-item .header-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 10px;
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
    transition: all 0.2s ease;
}

.header-action-item .header-icon svg,
a.header-action-item .header-icon svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    display: block !important;
}


/* Fix Account Dropdown Hover */

.header-action-item:hover .dropdown-account,
.header-action-item .box-dropdown-cart:hover .dropdown-account {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}


/* Ensure dropdown stays open when hovering dropdown itself */

.dropdown-account:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}


/* Account Dropdown - Click Toggle */

.account-dropdown-wrapper {
    position: relative;
}

.account-dropdown-wrapper .dropdown-account {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.account-dropdown-wrapper .dropdown-account::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 14px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 4px;
    transform: rotate(45deg);
}

.account-dropdown-wrapper.active .dropdown-account {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown-toggle {
    cursor: pointer;
}


/* FIX: Dropdown Hover - Force Show */

.d-inline-block.box-dropdown-cart:hover .dropdown-account,
.d-inline-block.box-dropdown-cart:hover .dropdown-cart,
.header-action-item .box-dropdown-cart:hover .dropdown-account,
.header-action-item .box-dropdown-cart:hover .dropdown-cart {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}


/* Click-based Dropdown Styles */

.dropdown-wrapper {
    position: relative;
}

.dropdown-wrapper .dropdown-toggle {
    cursor: pointer;
}

.dropdown-wrapper .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: block !important;
}

.dropdown-wrapper .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 14px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 4px;
    transform: rotate(45deg);
}

.dropdown-wrapper.active .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.dropdown-wrapper .dropdown-account {
    min-width: 200px;
}

.dropdown-wrapper .dropdown-cart {
    width: 340px;
}


/* DISABLE Hover for Dropdowns - Click Only */

.dropdown-wrapper:hover .dropdown-menu,
.dropdown-wrapper:hover .dropdown-account,
.dropdown-wrapper:hover .dropdown-cart,
.box-dropdown-cart:hover .dropdown-account,
.box-dropdown-cart:hover .dropdown-cart,
.header-action-item:hover .dropdown-account,
.header-action-item:hover .dropdown-cart {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
}


/* Only show on .active class (click) */

.dropdown-wrapper.active .dropdown-menu,
.dropdown-wrapper.active .dropdown-account,
.dropdown-wrapper.active .dropdown-cart {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}


/* ===============================
   CART DROPDOWN - MOBILE RESPONSIVE
================================ */

@media (max-width: 576px) {
    /* Full-width cart dropdown on mobile */
    .dropdown-wrapper .dropdown-cart,
    .dropdown-cart,
    .dropdown-wrapper.active .dropdown-cart {
        position: fixed !important;
        /* top: auto !important; */
        /* bottom: 0 !important; */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0 !important;
        padding: 24px 20px 20px 20px !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2) !important;
        z-index: 9999 !important;
        transform: none !important;
        margin: 0 !important;
    }
    /* Hide the arrow on mobile */
    .dropdown-cart::before {
        display: none !important;
    }
    /* Cart item on mobile */
    .dropdown-cart .item-cart {
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
    }
    .dropdown-cart .cart-image {
        width: 70px !important;
        height: 70px !important;
    }
    .dropdown-cart .cart-info a {
        font-size: 14px !important;
    }
    .dropdown-cart .cart-info p {
        font-size: 13px !important;
    }
    /* Cart total section */
    .dropdown-cart .cart-total {
        padding-top: 14px !important;
    }
    .dropdown-cart .cart-total .font-md-bold {
        font-size: 15px !important;
    }
    /* Buttons - stack vertically on mobile */
    .dropdown-cart .d-flex.align-items-center.justify-content-between {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .dropdown-cart .btn-view-cart,
    .dropdown-cart .btn-checkout {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
    /* Add a drag handle indicator at top */
    .dropdown-cart::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #e0e0e0;
        border-radius: 2px;
    }
    /* Empty cart message */
    .dropdown-cart .cart-empty-message {
        padding: 30px 20px !important;
    }
}


/* Tablet adjustments */

@media (min-width: 577px) and (max-width: 767px) {
    .dropdown-wrapper .dropdown-cart,
    .dropdown-cart {
        width: 320px !important;
        right: -50px !important;
    }
}


/* ===============================
       MOBILE HEADER - MODERN STYLES
    ================================ */

.mobile-header-wrapper-style {
    background: #ffffff;
}

.mobile-header-content-area {
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* Mobile Header Top */

.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 125, 124, 0.1);
    margin-bottom: 24px;
}

.mobile-header-top .mobile-logo img {
    height: 45px;
    width: auto;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 125, 124, 0.08);
    border: none;
    border-radius: 10px;
    color: var(--color-teal);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--color-teal);
    color: #ffffff;
}


/* Mobile Navigation Sections */

.mobile-nav-section {
    margin-bottom: 24px;
}

.mobile-section-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 16px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 4px;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #1a202c;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-list li a:hover {
    background: rgba(0, 125, 124, 0.08);
    color: var(--color-teal);
}

.mobile-nav-list li a svg {
    flex-shrink: 0;
    color: #64748b;
    transition: color 0.2s ease;
}

.mobile-nav-list li a:hover svg {
    color: var(--color-teal);
}


/* Logout Item */

.mobile-nav-list li.logout-item a {
    color: #ef4444;
}

.mobile-nav-list li.logout-item a svg {
    color: #ef4444;
}

.mobile-nav-list li.logout-item a:hover {
    background: rgba(239, 68, 68, 0.08);
}


/* Mobile Footer */

.mobile-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 125, 124, 0.1);
}

.mobile-copyright {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    margin: 0;
}


/* FIX: Mobile Menu Link Hover - Keep Text Visible */

.mobile-nav-list li a:hover {
    background: rgba(0, 125, 124, 0.08) !important;
    color: var(--color-teal) !important;
}

.mobile-nav-list li a:hover span {
    color: var(--color-teal) !important;
}


/* FIX: Mobile Header Top - Space Between */

.mobile-header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
}


/* Mobile Menu Close Button - Works with existing JS */

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 125, 124, 0.08);
    border: none;
    border-radius: 10px;
    color: var(--color-teal);
    cursor: pointer;
    transition: all 0.2s ease;
}


/* Responsive: Hide Hero Categories, Keep Featured Categories */

@media (max-width: 991px) {
    /* Hide the categories sidebar next to hero slider */
    .hero-categories {
        display: none !important;
    }
    /* Make hero slider full width */
    .hero-slider {
        width: 100% !important;
        flex: 1 !important;
    }
    .hero-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 15px 0;
    }
    .hero-slider {
        border-radius: 12px;
        overflow: hidden;
    }
}


/* Scroll To Top Button - Modern Style */

#scrollUp {
    width: 48px !important;
    height: 48px !important;
    bottom: 30px !important;
    right: 30px !important;
    background: linear-gradient(135deg, var(--color-teal), #009897) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0, 125, 124, 0.35) !important;
    transition: all 0.3s ease !important;
}

#scrollUp:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(0, 125, 124, 0.45) !important;
}

#scrollUp svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}


/* ================================================
   Search Suggestions Dropdown - Amazon Style
   ================================================ */

.box-keysearch {
    position: relative;
}

.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

.search-suggestions-dropdown.active {
    display: block;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestions-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f5f5f5;
}

.suggestion-item.active {
    background-color: #eef7f7;
}

.suggestion-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background-color: #f9f9f9;
}

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

.suggestion-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.suggestion-name .highlight {
    color: var(--color-teal);
    font-weight: 600;
}

.suggestion-category {
    font-size: 12px;
    color: #666;
    margin: 2px 0 0 0;
}

.suggestion-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-teal);
    white-space: nowrap;
}

.suggestion-regular-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
}


/* Search All Results Item */

.suggestion-item.search-all {
    border-top: 1px solid #eee;
    padding: 14px 16px;
    margin-top: 4px;
    color: var(--color-teal);
    font-weight: 600;
    justify-content: center;
}

.suggestion-item.search-all:hover {
    background-color: #eef7f7;
}

.suggestion-item.search-all svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}


/* Loading State */

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

.suggestions-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-top-color: var(--color-teal);
    border-radius: 50%;
    margin-left: 8px;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

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


/* No Results State */

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


/* Focus state for input when suggestions are open */

.form-search .form-control:focus {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.search-suggestions-dropdown.active+.form-control,
.form-control.suggestions-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


/* Mobile Responsiveness */

@media (max-width: 768px) {
    .search-suggestions-dropdown {
        position: fixed;
        left: 10px;
        right: 10px;
        top: auto;
        max-height: 60vh;
    }
    .suggestion-item {
        padding: 12px 14px;
    }
    .suggestion-image {
        width: 36px;
        height: 36px;
    }
    .suggestion-name {
        font-size: 13px;
    }
}

.header-search-input {
    border-radius: 50px !important;
}

.dropdown-account-signout {
    color: #ef4444 !important;
}

.dropdown-account-signout:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}


/* ===============================
   FEATURED VENDORS - HOMEPAGE
================================ */

.vendor-card-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    min-height: 180px;
    overflow: visible;
    margin: 0 auto;
    width: 100%;
}

.vendor-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.vendor-logo-home {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: visible;
    /* background: #1e2a4a; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 4px solid var(--color-orange);
    position: relative;
    flex-shrink: 0;
}

.vendor-logo-home img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    border-radius: 50%;
}


/* Vendor Badge Label - positioned at bottom of circle */

.vendor-badge-home {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.vendor-badge-home svg {
    width: 14px;
    height: 14px;
}

.vendor-info-home {
    text-align: center;
    margin-top: 4px;
}

.vendor-name-home {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vendor-products-home {
    display: none;
}


/* Responsive: Featured Vendors */

@media (max-width: 767px) {
    .vendor-card-home {
        padding: 16px 12px 14px;
        min-height: 160px;
    }
    .vendor-logo-home {
        width: 85px;
        height: 85px;
        margin-bottom: 16px;
    }
    .vendor-badge-home {
        font-size: 10px;
        padding: 4px 10px;
        bottom: -8px;
    }
    .vendor-name-home {
        font-size: 12px;
    }
}


/* ===============================
   MOBILE SEARCH OVERLAY
   Animated slide-down search bar
================================ */

.mobile-search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 125, 124, 0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-overlay.active {
    max-height: 300px;
    opacity: 1;
    padding: 16px 0;
}

.mobile-search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 125, 124, 0.06);
    border: 2px solid rgba(0, 125, 124, 0.15);
    border-radius: 50px;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.mobile-search-wrapper:focus-within {
    background: #ffffff;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(0, 125, 124, 0.1);
}

.mobile-search-icon {
    flex-shrink: 0;
    color: var(--color-teal);
    opacity: 0.7;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: var(--font-body);
    color: #1a202c;
    outline: none;
}

.mobile-search-input::placeholder {
    color: #94a3b8;
}

.mobile-search-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 125, 124, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--color-teal);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-search-close:hover {
    background: var(--color-teal);
    color: #ffffff;
}


/* Mobile Search Suggestions */

.mobile-search-suggestions {
    margin-top: 12px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.mobile-search-suggestions.active {
    display: block;
}

.mobile-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-suggestions-list li {
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-suggestions-list li:hover {
    background: rgba(0, 125, 124, 0.08);
}

.mobile-suggestions-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a202c;
    text-decoration: none;
    font-size: 14px;
}

.mobile-suggestions-list li a img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}


/* Ensure mobile search toggle is clickable */

#mobileSearchToggle {
    cursor: pointer;
}

/* ===============================
   PAYMENT STATUS PAGES (Success & Failed)
================================ */

.payment-status-section {
    padding: 60px 0 80px;
    min-height: 60vh;
}

.payment-status-card {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Status Icon */
.status-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.status-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: iconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Success Icon Styles */
.success-icon {
    background: linear-gradient(135deg, var(--color-teal), #00a896);
    color: #ffffff;
}

.success-checkmark-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(0, 125, 124, 0.1);
    z-index: 1;
    animation: pulseSuccess 2s ease-in-out infinite;
}

@keyframes pulseSuccess {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.2;
    }
}

/* Failed Icon Styles */
.failed-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #ffffff;
}

.failed-cross-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.1);
    z-index: 1;
    animation: pulseFailed 2s ease-in-out infinite;
}

@keyframes pulseFailed {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.2;
    }
}

/* Status Title & Message */
.status-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.status-message {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status Details */
.status-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    font-family: var(--font-heading);
}

.success-text {
    color: var(--color-teal);
}

.failed-text {
    color: #ff6b6b;
}

/* Info Box */
.status-info-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 125, 124, 0.05), rgba(0, 125, 124, 0.08));
    border-left: 4px solid var(--color-teal);
    border-radius: 10px;
    text-align: left;
    margin-bottom: 35px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.status-info-box svg {
    color: var(--color-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.status-info-box strong {
    display: block;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.status-info-box p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.status-info-box ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.status-info-box ul li {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

/* Error Box Variant */
.error-box {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 107, 107, 0.08));
    border-left-color: #ff6b6b;
}

.error-box svg {
    color: #ff6b6b;
}

/* Action Buttons */
.status-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.btn-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-status svg {
    width: 18px;
    height: 18px;
}

.btn-status.btn-primary {
    background: linear-gradient(135deg, var(--color-teal), #00a896);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 125, 124, 0.3);
}

.btn-status.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 125, 124, 0.4);
    background: linear-gradient(135deg, #00a896, var(--color-teal));
}

.btn-status.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-status.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--color-teal);
    color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Support Link */
.support-link {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    animation: fadeInUp 0.6s ease 0.7s both;
}

.support-link p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.support-link a {
    color: var(--color-teal);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-link a:hover {
    color: var(--color-orange);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-status-section {
        padding: 40px 0 60px;
    }

    .payment-status-card {
        padding: 40px 25px;
        border-radius: 16px;
    }

    .status-icon {
        width: 100px;
        height: 100px;
    }

    .status-icon svg {
        width: 50px;
        height: 50px;
    }

    .success-checkmark-circle,
    .failed-cross-circle {
        width: 120px;
        height: 120px;
    }

    .status-title {
        font-size: 1.6rem;
    }

    .status-message {
        font-size: 0.95rem;
    }

    .status-details {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .detail-item {
        text-align: center;
    }

    .status-info-box {
        flex-direction: column;
        gap: 12px;
        padding: 18px;
    }

    .status-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-status {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .payment-status-card {
        padding: 30px 20px;
    }

    .status-title {
        font-size: 1.4rem;
    }

    .status-icon {
        width: 90px;
        height: 90px;
    }

    .status-icon svg {
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   Order View Page Styles
   ============================================ */

.order-view-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.order-view-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-back-orders {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-back-orders:hover {
    color: var(--color-teal);
}

.btn-back-orders svg {
    transition: transform 0.2s ease;
}

.btn-back-orders:hover svg {
    transform: translateX(-3px);
}

.order-number-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.order-number-badge svg {
    color: var(--color-teal);
}

/* Order Status Cards */
.order-status-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.order-status-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.order-status-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.status-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 125, 124, 0.1);
    border-radius: 10px;
    color: var(--color-teal);
}

.status-card-icon.payment-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-card-icon.date-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-card-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-card-value {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

/* Badge Styles for Info */
.badge-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
}

/* Order Items List */
.order-items-list {
    padding: 0;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-row:hover {
    background: rgba(0, 125, 124, 0.02);
}

.order-item-image {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.order-item-title:hover {
    color: var(--color-teal);
}

.order-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.item-variation,
.item-option {
    display: inline-block;
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}

.order-item-downloads {
    margin-top: 8px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.download-link:hover {
    color: var(--color-orange);
}

.order-item-qty,
.order-item-price,
.order-item-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 70px;
    text-align: center;
}

.qty-label,
.price-label,
.total-label {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
}

.qty-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 6px;
}

.price-value {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.total-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-teal);
}

/* Payment Info */
.payment-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.payment-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.payment-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 14px;
    color: #64748b;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.info-value.transaction-id {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    word-break: break-all;
    max-width: 150px;
    text-align: right;
}

/* Order Summary */
.order-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row .summary-label {
    font-size: 14px;
    color: #64748b;
}

.summary-row .summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.summary-row .summary-value.discount {
    color: #10b981;
}

.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.summary-row.total {
    padding-top: 8px;
}

.summary-row.total .summary-label {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.summary-row.total .summary-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-teal);
}

/* ===============================
   VENDOR PROFILE PAGE STYLES
================================ */

.vendor-profile-header {
    background: linear-gradient(135deg, rgba(0, 125, 124, 0.08) 0%, rgba(0, 125, 124, 0.02) 100%);
    padding: 40px 0;
    margin-bottom: 40px;
}

.vendor-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.vendor-profile-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.vendor-profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: contain;
    border: 4px solid #fff;
    box-shadow: 0 12px 32px rgba(0, 125, 124, 0.15);
    transition: transform 0.3s ease;
}

.vendor-profile-logo:hover {
    transform: scale(1.05);
}

.vendor-profile-details {
    flex: 1;
}

.vendor-profile-name {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 12px 0;
}

.vendor-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--color-teal) 0%, #009897 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.vendor-profile-description {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
}

.vendor-profile-stats {
    display: flex;
    gap: 16px;
}

.vendor-stat-card {
    background: linear-gradient(135deg, var(--color-teal) 0%, #009897 100%);
    padding: 20px 32px;
    border-radius: 16px;
    text-align: center;
    min-width: 120px;
}

.vendor-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.vendor-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}


/* Vendor Contact Cards */

.vendor-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.vendor-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.vendor-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 125, 124, 0.1);
}

.vendor-contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 125, 124, 0.1) 0%, rgba(0, 125, 124, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    flex-shrink: 0;
}

.vendor-contact-text {
    flex: 1;
}

.vendor-contact-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.vendor-contact-value {
    display: block;
    font-size: 15px;
    color: #1a202c;
    font-weight: 600;
}


/* Vendor Products Section */

.vendor-products-section {
    padding: 0 0 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 125, 124, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.section-title svg {
    color: var(--color-teal);
}

.product-count {
    font-size: 14px;
    color: #64748b;
    background: rgba(0, 125, 124, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
}


/* Product Card Modern */

.product-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 125, 124, 0.12);
}

.product-image-link {
    display: block;
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-modern:hover .product-card-image {
    transform: scale(1.08);
}

.product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card-title:hover {
    color: var(--color-teal);
}

.product-card-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card-price .price-current {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-teal);
}

/* Shipping Address Info */
.shipping-address-info p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 4px;
    line-height: 1.6;
}

.shipping-address-info p:last-child {
    margin-bottom: 0;
}

/* Settings Card Body No Padding */
.settings-card-body.p-0 {
    padding: 0 !important;
}

/* Responsive Order View */
@media (max-width: 991px) {
    .order-status-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-status-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .order-view-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status-cards {
        grid-template-columns: 1fr;
    }
    
    .order-status-card:last-child {
        grid-column: auto;
    }
    
    .order-item-row {
        flex-wrap: wrap;
        padding: 16px;
    }
    
    .order-item-image {
        width: 60px;
        height: 60px;
    }
    
    .order-item-details {
        flex: 1 1 calc(100% - 80px);
    }
    
    .order-item-qty,
    .order-item-price,
    .order-item-total {
        flex: 1;
        min-width: auto;
        padding-top: 12px;
        border-top: 1px dashed #e2e8f0;
    }
    
    .order-item-qty {
        margin-top: 12px;
    }
    
    .info-value.transaction-id {
        max-width: 120px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .order-number-badge {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .order-status-card {
        padding: 14px 16px;
    }
    
    .status-card-icon {
        width: 42px;
        height: 42px;
    }
    
    .status-card-icon svg {
        width: 20px;
        height: 20px;
    }
}

.product-card-price .price-original {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
}


/* Pagination */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-wrapper .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
}

.pagination-wrapper .page-item.active .page-link {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #fff;
}


/* No Products Message */

.no-products-message {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
}

.no-products-message svg {
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-products-message h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.no-products-message p {
    color: #64748b;
    margin: 0;
}


/* Responsive Vendor Profile */

@media (max-width: 991px) {
    .vendor-profile-card {
        flex-direction: column;
        text-align: center;
    }
    .vendor-profile-info {
        flex-direction: column;
    }
    .vendor-profile-description {
        max-width: 100%;
    }
    .vendor-profile-name {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .vendor-profile-header {
        padding: 24px 0;
    }
    .vendor-profile-card {
        padding: 24px;
    }
    .vendor-profile-logo {
        width: 90px;
        height: 90px;
    }
    .vendor-profile-name {
        font-size: 22px;
    }
    .vendor-stat-card {
        padding: 16px 24px;
        min-width: 100px;
    }
    .vendor-stat-number {
        font-size: 22px;
    }
    .section-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .vendor-profile-stats {
        width: 100%;
        justify-content: center;
    }
    .vendor-contact-cards {
        grid-template-columns: 1fr;
    }
}


/* Vendor Pagination Styles */

.vendor-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 125, 124, 0.1);
}

.vendor-pagination nav {
    display: flex;
    justify-content: center;
}

.vendor-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vendor-pagination .page-item {
    display: inline-flex;
}

.vendor-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #e5e7eb;
    transition: all 0.25s ease;
}

.vendor-pagination .page-link:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    background: rgba(0, 125, 124, 0.05);
}

.vendor-pagination .page-link.active {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 125, 124, 0.25);
}

.vendor-pagination .page-link.page-prev,
.vendor-pagination .page-link.page-next {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #fff;
    position: relative;
}

.vendor-pagination .page-link.page-prev::before {
    content: '';
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.vendor-pagination .page-link.page-next::before {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.vendor-pagination .page-link.page-prev:hover,
.vendor-pagination .page-link.page-next:hover {
    background: #009897;
    border-color: #009897;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 125, 124, 0.3);
}

@media (max-width: 576px) {
    .vendor-pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    .vendor-pagination .pagination {
        gap: 6px;
    }
}

/* Global Pagination Border Radius Fix for LTR */
.page-item:first-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius, 0.375rem) !important;
    border-bottom-left-radius: var(--bs-pagination-border-radius, 0.375rem) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.page-item:last-child .page-link {
    border-top-right-radius: var(--bs-pagination-border-radius, 0.375rem) !important;
    border-bottom-right-radius: var(--bs-pagination-border-radius, 0.375rem) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* ===============================
   FAQ PAGE STYLES
================================ */

.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.faq-header-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Categories */
.faq-category {
    margin-bottom: 40px;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.faq-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-teal) 0%, #009897 100%);
    border-radius: 12px;
    color: #ffffff;
    font-size: 22px;
    flex-shrink: 0;
}

.faq-category-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 125, 124, 0.08);
    border-color: rgba(0, 125, 124, 0.15);
}

.faq-item.active {
    border-color: var(--color-teal);
    box-shadow: 0 4px 20px rgba(0, 125, 124, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 15px;
}

.faq-question:hover {
    background: rgba(0, 125, 124, 0.03);
}

.faq-question-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.faq-item.active .faq-question-text {
    color: var(--color-teal);
}

.faq-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 125, 124, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-toggle-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-teal);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    background: var(--color-teal);
}

.faq-item.active .faq-toggle-icon svg {
    stroke: #ffffff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 25px 25px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.faq-answer-content ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.faq-answer-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.faq-answer-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
}

/* FAQ Contact Card */
.faq-contact-card {
    background: linear-gradient(135deg, var(--color-teal) 0%, #005a5a 100%);
    border-radius: 16px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.faq-contact-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.faq-contact-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.faq-contact-content {
    position: relative;
    z-index: 1;
}

.faq-contact-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-contact-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #ffffff;
    color: var(--color-teal);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--color-teal);
}

.faq-contact-btn svg {
    width: 18px;
    height: 18px;
}

/* FAQ Search (Optional Enhancement) */
.faq-search-wrapper {
    max-width: 500px;
    margin: 0 auto 40px;
}

.faq-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-search:focus-within {
    border-color: var(--color-teal);
    box-shadow: 0 4px 25px rgba(0, 125, 124, 0.15);
}

.faq-search-icon {
    color: #94a3b8;
    margin-right: 12px;
}

.faq-search-icon svg {
    width: 20px;
    height: 20px;
}

.faq-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: #2d3748;
    padding: 10px 0;
    background: transparent;
}

.faq-search input::placeholder {
    color: #94a3b8;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-header-title {
        font-size: 28px;
    }

    .faq-header-subtitle {
        font-size: 15px;
    }

    .faq-category-header {
        gap: 12px;
    }

    .faq-category-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .faq-category-title {
        font-size: 20px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }

    .faq-contact-card {
        padding: 30px 20px;
    }

    .faq-contact-title {
        font-size: 20px;
    }

    .faq-contact-subtitle {
        font-size: 14px;
    }

    .faq-contact-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}