/* ==========================================================================
   V3 Premium Theme Architecture - Branbyte
   ========================================================================== */

:root {
    --v3-primary: var(--primary-color, #247cc6);
    --v3-primary-dark: #1a629e;
    --v3-secondary: var(--secondary-color, #1e293b);
    --v3-accent: #f82a5e;

    --v3-bg-light: #f8fafc;
    --v3-bg-card: #ffffff;
    --v3-text-main: #0f172a;
    --v3-text-muted: #64748b;
    --v3-border-color: #e2e8f0;

    --v3-radius-sm: 8px;
    --v3-radius-md: 16px;
    --v3-radius-lg: 24px;
    --v3-radius-pill: 9999px;

    --v3-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --v3-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --v3-shadow-lg:
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --v3-shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --v3-glass-bg: rgba(255, 255, 255, 0.85);
    --v3-glass-border: rgba(255, 255, 255, 0.18);
    --v3-transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --v3-transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Resets */
body {
    background-color: var(--v3-bg-light);
    color: var(--v3-text-main);
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--v3-transition-smooth);
}

a:hover {
    color: var(--v3-primary);
    text-decoration: none;
}

/* ==========================================================================
   Premium Navbar V3
   ========================================================================== */
.v3-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: var(--v3-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--v3-shadow-glass);
    transition: var(--v3-transition-smooth);
    padding: 15px 0;
}

.v3-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
}

.v3-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.v3-logo img {
    height: 40px;
    transition: var(--v3-transition-smooth);
}

/* Search Bar */
.v3-search-wrapper {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
    position: relative;
}

.v3-search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: var(--v3-radius-pill);
    padding: 5px 20px;
    border: 1px solid transparent;
    transition: var(--v3-transition-smooth);
}

.v3-search-form:focus-within {
    background: #fff;
    border-color: var(--v3-primary);
    box-shadow: 0 0 0 4px rgba(36, 124, 198, 0.1);
}

.v3-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    color: var(--v3-text-main);
    outline: none;
}

.v3-search-btn {
    background: transparent;
    border: none;
    color: var(--v3-text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: var(--v3-transition-smooth);
}

.v3-search-btn:hover {
    color: var(--v3-primary);
    transform: scale(1.1);
}

/* Header Actions */
.v3-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.v3-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--v3-text-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.v3-action-icon {
    position: relative;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    transition: var(--v3-transition-bounce);
}

.v3-action-item:hover .v3-action-icon {
    background: var(--v3-primary);
    color: white;
    transform: translateY(-3px);
}

.v3-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--v3-accent);
    color: white;
    font-size: 11px;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* ==========================================================================
   Navigation Menu (Bento/Mega) V3
   ========================================================================== */
.v3-nav-wrapper {
    background: #121820;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    margin-top: 95px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100;
}

.v3-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.v3-nav-item {
    position: relative;
    padding: 14px 0;
    white-space: nowrap;
}

.v3-nav-link {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
}

.v3-nav-link i {
    font-size: 11px;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.v3-nav-item:hover .v3-nav-link {
    color: #fff;
}

.v3-nav-item:hover .v3-nav-link i {
    color: #fff;
    transform: rotate(180deg);
}

.v3-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ff002e;
    transition: width 0.25s ease;
    border-radius: 3px 3px 0 0;
}

.v3-nav-item:hover .v3-nav-link::after {
    width: 100%;
}

/* Mega Menu Dropdown */
.v3-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    width: max-content;
    max-width: 750px;
    min-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    padding: 20px 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    z-index: 9999;
}

.v3-nav-item:hover .v3-mega-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.v3-mega-column {
    min-width: 130px;
}

.v3-mega-column h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.v3-mega-column h4 a {
    color: var(--v3-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.v3-mega-column h4 a:hover {
    color: var(--v3-primary-dark);
}

.v3-mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v3-mega-column ul li {
    margin-bottom: 8px;
}

.v3-mega-column ul li a {
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.2s ease;
    text-decoration: none;
}

.v3-mega-column ul li a:hover {
    color: var(--v3-primary);
    transform: translateX(4px);
}

/* ==========================================================================
   Mobile Bottom Nav V3
   ========================================================================== */
.v3-mobile-nav {
    display: none;
}

@media (max-width: 991px) {
    .v3-header {
        padding: 10px 0;
    }

    .v3-search-wrapper,
    .v3-header-actions .v3-action-item span {
        display: none;
    }

    .v3-nav-wrapper {
        display: none;
    }

    .v3-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--v3-glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
        padding: 10px 20px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        justify-content: space-between;
        align-items: center;
        z-index: 1050;
    }

    .v3-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        color: var(--v3-text-muted);
        font-size: 11px;
        font-weight: 600;
        flex: 1;
    }

    .v3-mobile-nav-item i {
        font-size: 20px;
        transition: var(--v3-transition-bounce);
    }

    .v3-mobile-nav-item.active {
        color: var(--v3-primary);
    }

    .v3-mobile-nav-item.active i {
        transform: translateY(-3px);
    }

    .v3-mobile-cart-wrap {
        position: relative;
    }

    /* Center Action Button (Floating) */
    .v3-mobile-center-action {
        background: linear-gradient(
            135deg,
            var(--v3-primary),
            var(--v3-primary-dark)
        );
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 22px;
        margin-top: -25px;
        box-shadow: 0 10px 20px rgba(36, 124, 198, 0.3);
        border: 4px solid white;
    }

    .v3-mobile-center-action i {
        color: white;
    }
}

/* ==========================================================================
   Premium Footer V3
   ========================================================================== */
.v3-footer {
    background: var(--v3-secondary);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.v3-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--v3-primary),
        var(--v3-accent),
        var(--v3-primary)
    );
}

.v3-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.v3-footer-about img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.v3-footer-desc {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.v3-social-links {
    display: flex;
    gap: 15px;
}

.v3-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v3-social-links a:hover {
    background: var(--v3-primary);
    transform: translateY(-5px);
    border-color: var(--v3-primary);
    box-shadow: 0 10px 20px rgba(36, 124, 198, 0.4);
}

.v3-footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.v3-footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--v3-primary);
    border-radius: 3px;
}

.v3-footer-links list,
.v3-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v3-footer-links li {
    margin-bottom: 15px;
    display: block;
}

.v3-footer-links a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v3-footer-links a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--v3-primary);
    transition: var(--v3-transition-smooth);
}

.v3-footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.v3-footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.v3-footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 991px) {
    .v3-footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .v3-footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-bottom: 80px;
        /* Space for mobile nav */
    }
}

/* =========================================
   11. Cart & Checkout Pages
   ========================================= */
.vcart-inner,
.cart-summary,
.v2-sidebar-summary-card,
.card {
    background: var(--v3-glass-bg);
    border: 1px solid var(--v3-glass-border);
    border-radius: var(--v3-radius-lg);
    box-shadow: var(--v3-shadow-sm);
    padding: 20px;
    margin-bottom: 20px;
}

.vcart-inner .table th,
.cart-summary .table th,
.v2-sidebar-summary-card th {
    border-bottom: 1px solid var(--v3-glass-border);
    color: var(--v3-text-muted);
    font-weight: 600;
}

.vcart-inner .table td,
.cart-summary .table td,
.v2-sidebar-summary-card td {
    vertical-align: middle;
    border-color: var(--v3-glass-border);
}

.cart_increment,
.cart_decrement,
.remove-cart {
    background: var(--v3-glass-bg);
    border: 1px solid var(--v3-glass-border);
    color: var(--v3-text-dark);
    border-radius: var(--v3-radius-sm);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--v3-transition-smooth);
}

.cart_increment:hover,
.cart_decrement:hover,
.remove-cart:hover {
    background: var(--v3-primary);
    color: var(--v3-bg-light);
    border-color: var(--v3-primary);
}

.go_cart,
.v2-order-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background: var(--v3-primary);
    color: var(--v3-bg-light);
    border-radius: var(--v3-radius-md);
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--v3-transition-smooth);
    border: none;
    cursor: pointer;
}

.go_cart:hover,
.v2-order-btn:hover {
    background: var(--v3-primary-dark);
    color: var(--v3-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--v3-shadow-md);
}

.form-control {
    background: var(--v3-glass-bg) !important;
    border: 1px solid var(--v3-glass-border) !important;
    border-radius: var(--v3-radius-sm) !important;
    color: var(--v3-text-main) !important;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(36, 124, 198, 0.25) !important;
    border-color: var(--v3-primary) !important;
}

/* =========================================
   14. V3 Homepage Specific Styles (Moved from inline)
   ========================================= */
.v3-hero-section {
    position: relative;
    /* padding: 20px; */
    /* max-width: 1400px; */
    margin: 0 auto;
}

.v3-hero-slider {
    border-radius: 0px;
    border-radius: var(--v3-radius-lg);
    overflow: hidden;
    box-shadow: var(--v3-shadow-lg);
    position: relative;
}

.v3-hero-item {
    position: relative;
    width: 100%;
    height: 500px;
}

.v3-hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v3-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    display: none;
    align-items: center;
    padding: 0 10%;
}

.v3-hero-content {
    color: white;
    max-width: 500px;
    animation: fadeInUp 1s ease-out;
}

.v3-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.v3-hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--v3-primary);
    color: white;
    font-weight: bold;
    border-radius: var(--v3-radius-pill);
    transition: var(--v3-transition-smooth);
    margin-top: 10px;
}

.v3-hero-btn:hover {
    background: white;
    color: var(--v3-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Category Bento */
.v3-section {
    padding: 60px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.v3-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--v3-text-main);
    position: relative;
}

.v3-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--v3-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.v3-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.v3-bento-item {
    background: white;
    border-radius: var(--v3-radius-md);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--v3-shadow-sm);
    transition: var(--v3-transition-smooth);
    border: 1px solid var(--v3-border-color);
    display: block;
    text-decoration: none;
    margin: 5px 0;
}

.v3-bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--v3-shadow-md);
    border-color: var(--v3-primary);
}

.v3-bento-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    object-fit: contain;
    transition: var(--v3-transition-smooth);
    display: block !important;
}

.v3-bento-item:hover .v3-bento-icon {
    transform: scale(1.1);
}

.v3-bento-title {
    font-weight: 600;
    color: var(--v3-text-main);
    font-size: 14px;
}

/* Category Slider Nav Buttons */
.v3-category-slider {
    position: relative;
    padding: 0 10px;
}

.v3-category-slider .owl-nav button.owl-prev,
.v3-category-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    transition: all 0.2s ease;
    z-index: 10;
}

.v3-category-slider .owl-nav button.owl-prev {
    left: -15px;
}

.v3-category-slider .owl-nav button.owl-next {
    right: -15px;
}

.v3-category-slider .owl-nav button.owl-prev:hover,
.v3-category-slider .owl-nav button.owl-next:hover {
    background: var(--v3-primary) !important;
    color: #ffffff !important;
}

/* Product Cards */
.v3-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.v3-product-card {
    background: white;
    border-radius: var(--v3-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--v3-shadow-sm);
    transition: var(--v3-transition-smooth);
    border: 1px solid var(--v3-border-color);
    display: flex;
    flex-direction: column;
}

.v3-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--v3-shadow-lg);
}

.v3-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--v3-accent);
    color: white;
    padding: 5px 12px;
    border-radius: var(--v3-radius-pill);
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.v3-product-img {
    height: 250px;
    width: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.8s ease;
}

.v3-product-card:hover .v3-product-img {
    transform: scale(1.05);
}

.v3-product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.v3-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--v3-text-main);
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}

.v3-product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--v3-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v3-product-price del {
    font-size: 15px;
    color: var(--v3-text-muted);
    font-weight: 500;
    margin-left: 8px;
}

.v3-product-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    width: 100%;
}

.v3-product-actions form {
    width: 100%;
}

.v3-btn-order {
    flex: 1;
    width: 100%;
    display: block;
    text-align: center;
    background: var(--v3-primary);
    color: white;
    padding: 12px 0;
    border-radius: var(--v3-radius-md);
    font-weight: 600;
    transition: var(--v3-transition-bounce);
    border: none;
    cursor: pointer;
}

.v3-btn-order:hover {
    background: var(--v3-primary-dark);
    transform: scale(1.02);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .v3-hero-item {
        height: 300px;
    }

    .v3-hero-title {
        font-size: 28px;
    }

    .v3-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .v3-product-img {
        height: 180px;
    }

    .v3-bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .v3-bento-item {
        padding: 10px;
    }

    .v3-bento-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 5px;
    }

    .v3-bento-title {
        font-size: 12px;
    }

    /* Enhance mobile product cards */
    .v3-product-name {
        font-size: 14px;
        height: 40px;
        margin-bottom: 5px;
    }

    .v3-product-price {
        font-size: 16px;
        margin-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .v3-product-info {
        padding: 10px;
    }

    .v3-btn-order {
        padding: 8px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .v3-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .v3-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v3-hero-item {
        height: 200px;
    }
}

/* =========================================
   13. Dynamic Pages (About, Terms, etc.)
   ========================================= */
.createpage-section {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

/* =========================================
   15. Sidebar Filter Adjustments (V3 Theme)
   ========================================= */
.filter_sidebar {
    background: #ffffff;
    border-radius: var(--v3-radius-lg);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--v3-border-color);
    margin-bottom: 30px;
}

.filter_close {
    font-size: 16px;
    font-weight: 700;
    color: var(--v3-text-main);
    margin-bottom: 15px;
    display: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .filter_close {
        display: flex;
    }
}

.wraper__item {
    margin-bottom: 15px;
}

.wraper__item:last-child {
    margin-bottom: 0;
}

.filter_sidebar .accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0;
    background: #ffffff;
}

.filter_sidebar .accordion-button {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    box-shadow: none !important;
    border: none !important;
}

.filter_sidebar .accordion-button:not(.collapsed) {
    background-color: #f1f5f9 !important;
    color: var(--v3-primary) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.filter_sidebar .accordion-body {
    background-color: white;
    padding: 15px 20px;
}

.filter_sidebar .accordion-body ul li {
    margin-bottom: 8px;
}

.filter_sidebar .accordion-body ul li a {
    color: var(--v3-text-muted);
    font-size: 14px;
    transition: var(--v3-transition-smooth);
    display: flex;
    align-items: center;
}

.filter_sidebar .accordion-body ul li a:hover {
    color: var(--v3-primary);
    transform: translateX(5px);
}

.filter_sidebar .subcategory-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--v3-text-muted);
}

.filter_sidebar .form-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--v3-primary);
    cursor: pointer;
}

.filter-price-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.filter-price-inputs p {
    font-size: 14px;
    font-weight: 600;
    color: var(--v3-text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-price-inputs input {
    width: 60px;
    border: none;
    background: transparent;
    font-weight: 700;
    color: var(--v3-text-main);
    outline: none;
}

/* Override default jQuery UI slider if used */
.ui-slider-horizontal {
    height: 6px;
    background: #e2e8f0;
    border: none;
    border-radius: 3px;
    position: relative;
    margin-top: 15px;
}

.ui-slider .ui-slider-range {
    background: var(--v3-primary);
    position: absolute;
    height: 100%;
    z-index: 1;
}

.ui-slider .ui-slider-handle {
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid var(--v3-primary);
    border-radius: 50%;
    position: absolute;
    top: -7px;
    margin-left: -10px;
    cursor: pointer;
    box-shadow: var(--v3-shadow-sm);
    outline: none;
    z-index: 2;
}

/* =========================================
   16. Checkout Page (V3 Theme)
   ========================================= */
.v3-checkout-section {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
    background: var(--v3-bg-light);
}

.v3-checkout-card {
    background: white;
    border-radius: var(--v3-radius-lg);
    box-shadow: var(--v3-shadow-md);
    border: 1px solid var(--v3-border-color);
    overflow: hidden;
    margin-bottom: 30px;
}

.v3-checkout-header {
    background: var(--v3-primary-light);
    padding: 20px 25px;
    border-bottom: 1px solid var(--v3-border-color);
}

.v3-checkout-header h6 {
    font-size: 18px;
    font-weight: 800;
    color: var(--v3-primary);
    margin-bottom: 5px;
}

.v3-checkout-header p {
    font-size: 13px;
    color: var(--v3-text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.v3-checkout-header a {
    color: var(--v3-primary);
    font-weight: 700;
}

.v3-checkout-body {
    padding: 30px 25px;
}

.v3-order-summary {
    background: white;
    border-radius: var(--v3-radius-lg);
    box-shadow: var(--v3-shadow-md);
    border: 1px solid var(--v3-border-color);
    padding: 25px;
    position: sticky;
    top: 100px;
}

.v3-order-summary h5 {
    font-size: 18px;
    font-weight: 800;
    color: var(--v3-text-main);
    margin-bottom: 0;
}

/* Payment Methods Matrix */
.v3-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.v3-payment-item {
    position: relative;
}

.v3-payment-item input[type="radio"] {
    display: none;
}

.v3-payment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #f8fafc;
    border: 2px solid var(--v3-border-color);
    border-radius: var(--v3-radius-md);
    cursor: pointer;
    font-weight: 600;
    color: var(--v3-text-muted);
    transition: var(--v3-transition-smooth);
    text-align: center;
    height: 100%;
}

.v3-payment-label i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--v3-text-muted);
    transition: var(--v3-transition-smooth);
}

.v3-payment-item input[type="radio"]:checked + .v3-payment-label {
    background: var(--v3-primary-light);
    border-color: var(--v3-primary);
    color: var(--v3-primary);
    box-shadow: 0 4px 12px rgba(36, 124, 198, 0.15);
}

.v3-payment-item input[type="radio"]:checked + .v3-payment-label i {
    color: var(--v3-primary);
}

@media (max-width: 768px) {
    .v3-checkout-body {
        padding: 20px 15px;
    }

    .v3-checkout-header {
        padding: 15px;
    }

    .v3-order-summary {
        margin-top: 30px;
    }

    .v3-payment-label {
        padding: 15px 5px;
        font-size: 13px;
    }
}

.page-content {
    background: var(--v3-glass-bg);
    border: 1px solid var(--v3-glass-border);
    border-radius: var(--v3-radius-lg);
    box-shadow: var(--v3-shadow-sm);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.page-title h5 {
    font-size: 24px;
    font-weight: 700;
    color: var(--v3-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--v3-border-color);
}

.page-description {
    color: var(--v3-text-main);
    line-height: 1.8;
    font-size: 15px;
}

.page-description h1,
.page-description h2,
.page-description h3,
.page-description h4 {
    color: var(--v3-secondary);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-description p {
    margin-bottom: 15px;
}

.page-description ul,
.page-description ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-description li {
    margin-bottom: 8px;
}

/* =========================================
   12. Authentication & Contact Pages
   ========================================= */
.v3-auth-section,
.v3-contact-section {
    padding: 80px 0;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.v3-auth-card,
.v3-contact-card {
    background: var(--v3-glass-bg);
    border: 1px solid var(--v3-glass-border);
    border-radius: var(--v3-radius-lg);
    box-shadow: var(--v3-shadow-lg);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.v3-auth-title,
.v3-contact-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--v3-primary);
    margin-bottom: 5px;
    text-align: center;
}

.v3-auth-subtitle,
.v3-contact-subtitle {
    display: block;
    text-align: center;
    color: var(--v3-text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.v3-form-group {
    margin-bottom: 20px;
}

.v3-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--v3-text-main);
    margin-bottom: 8px;
    display: block;
}

.v3-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.v3-input-wrap i {
    position: absolute;
    left: 15px;
    color: var(--v3-primary);
    font-size: 16px;
    z-index: 2;
}

.v3-input-wrap .form-control {
    padding-left: 45px !important;
    height: 50px;
    background: #f8fafc !important;
    border: 1px solid var(--v3-border-color) !important;
    font-size: 15px;
    transition: var(--v3-transition-smooth);
}

.v3-input-wrap .form-control:focus {
    background: #ffffff !important;
    border-color: var(--v3-primary) !important;
    box-shadow: 0 0 0 4px rgba(36, 124, 198, 0.1) !important;
}

.v3-auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.v3-forget-link {
    color: var(--v3-accent);
    font-weight: 500;
}

.v3-forget-link:hover {
    color: var(--v3-primary);
    text-decoration: underline;
}

.v3-submit-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: var(--v3-radius-md);
    background: linear-gradient(
        135deg,
        var(--v3-primary),
        var(--v3-primary-dark)
    );
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--v3-transition-smooth);
    box-shadow: 0 10px 20px rgba(36, 124, 198, 0.2);
}

.v3-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(36, 124, 198, 0.3);
}

.v3-auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--v3-border-color);
    font-size: 14px;
    color: var(--v3-text-muted);
}

.v3-auth-footer a {
    color: var(--v3-primary);
    font-weight: 600;
    margin-left: 5px;
}
