@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url(../fonts/italic_latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(../fonts/normal_latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --bento-bg: #0b0f1a;
    --bento-bg-alt: #0f172a;
    --bento-card-bg: rgba(30, 41, 59, 0.5);
    --bento-glass: rgba(15, 23, 42, 0.8);
    --bento-border: rgba(255, 255, 255, 0.08);
    --bento-primary: #6366f1;
    --bento-secondary: #7c3aed;
    --bento-text: #ffffff; /* Maximum brightness */
    --bento-text-muted: #cbd5e1; /* Much lighter slate */
    --bento-radius: 20px;
    --bento-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

body {
    background-color: var(--bento-bg) !important;
    color: var(--bento-text) !important;
    font-family: 'Outfit', sans-serif !important;
    overflow-x: hidden;
}

/* Scorched Earth Contrast Policy */
[class*="bento-section"], [class*="bento-item"], .v3-details, .forum-details-container, 
.section, section, .modal-content, .thread-card, .comment-card, .glass-card, .sidebar-card,
header.shop-header, header.contact-header, header.forum-header, header.cart-header {
    background-color: var(--bento-bg) !important;
    color: var(--bento-text) !important;
}

/* Force light text on all children unless specifically overridden */
[class*="bento-section"] *, [class*="bento-item"] *, .v3-details *, .forum-details-container *,
.glass-card *, .thread-card *, .comment-card *, .sidebar-card *, .modal-content *,
header.shop-header *, header.contact-header *, header.forum-header *, header.cart-header * {
    color: inherit;
    opacity: 1 !important; /* No more dimming */
}

/* Background Mesh Gradients - Restored & Refined */
body::before {
    content: "";
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

/* Deep Heading Reset */
h1, h2, h3, h4, h5, h6, .fw-800, .fw-bold, .fw-600, .display-3, .display-4, .display-5, .v3-title {
    color: #ffffff !important;
    -webkit-text-fill-color: initial !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

/* Muted Text - Controlled Brightness */
.text-muted, .text-secondary, .opacity-75, .opacity-50, .small {
    color: var(--bento-text-muted) !important;
    opacity: 1 !important;
}

/* Link & Action Consistency */
a:not(.btn):not(.nav-link) {
    color: var(--bento-primary) !important;
}

a:not(.btn):not(.nav-link):hover {
    color: #fff !important;
}
.brand-text-group p {
    color: var(--bento-primary) !important;
}

/* Legacy Utility Overrides */
.text-dark, .text-slate-800, .text-slate-700, .text-black {
    color: var(--bento-text) !important;
}

/* Background overrides for nested elements */
.bg-light, .bg-white, .bg-light-soft, .bg-soft-primary, .bg-soft-indigo {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--bento-text) !important;
    border: 1px solid var(--bento-border) !important;
}

/* Bento Cards Refined */
.card, .product-card, .sidebar-card, .glass-card, .dashboard-sidebar, .review-card, .v3-details, .forum-header, .glass-sidebar, .bento-item, .thread-card, .comment-card, .accordion-item {
    background: var(--bento-card-bg) !important;
    border: 1px solid var(--bento-border) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: var(--bento-radius) !important;
    padding: 24px !important;
    color: var(--bento-text) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: none !important;
}

.card:hover, .product-card:hover, .bento-item:hover, .thread-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-5px) !important;
}

/* BS Accordion Specifics */
.accordion-button {
    background-color: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 24px !important;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(99, 102, 241, 0.1) !important;
    color: var(--bento-primary) !important;
}

.accordion-button::after {
    filter: invert(1) brightness(2);
}

/* Highlighting */
.highlight-text, .text-gradient {
    background: var(--bento-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

/* Universal Bento Utilities */
.bg-glass {
    background: rgba(255, 255, 255, 0.05) !important;
}

.text-muted-bento {
    color: var(--bento-text-muted) !important;
}

.hover-lift {
    transition: transform 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-5px) !important;
}

.bento-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--bento-border) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
}

.bento-input:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--bento-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.bento-input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Navbar: Floating Dock Style */
.navbar-custom {
    background: var(--bento-glass) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--bento-border) !important;
    margin: 20px auto !important;
    border-radius: 100px !important;
    width: 95% !important;
    max-width: 1200px !important;
    padding: 10px 20px !important;
    top: 0 !important;
    position: sticky !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    z-index: 1000;
}

.navbar-brand .brand-text-group {
    text-decoration: none !important;
}

.navbar-brand:hover {
    text-decoration: none !important;
}

/* Dropdown Menu Refinements */
.dropdown-menu {
    background: var(--bento-glass) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--bento-border) !important;
    border-radius: 20px !important;
    margin-top: 15px !important;
    padding: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border-top: 0 !important;
}

.dropdown-item {
    color: var(--bento-text-muted) !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--bento-text) !important;
    transform: translateX(5px) !important;
}

.nav-link {
    color: var(--bento-text-muted) !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: color 0.3s ease !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--bento-text) !important;
    font-weight: 800 !important;
}

/* Buttons */
.btn, .btn-colorful, .v3-btn-primary {
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    transition: all 0.3s ease !important;
}

.btn-primary, .btn-colorful, .v3-btn-primary {
    background: var(--bento-gradient) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
}

.btn-primary:hover, .btn-colorful:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Grid Layout for Components */
.bento-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
}

/* Dashboard Specific */
.dashboard-wrapper {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 24px !important;
}

@media (max-width: 991px) {
    .dashboard-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* Theme Elements */
.badge-soft {
    background: rgba(99, 102, 241, 0.1) !important;
    color: var(--bento-primary) !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    border-radius: 8px !important;
}

/* Form Controls */
.form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--bento-border) !important;
    border-radius: 12px !important;
    color: var(--bento-text) !important;
    padding: 12px 16px !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--bento-primary) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.invalid-feedback {
    color: var(--bento-secondary) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--bento-border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bento-text-muted);
}

/* Bento Pagination Redesign */
.pagination {
    gap: 8px !important;
}

.page-item .page-link {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--bento-border) !important;
    color: var(--bento-text) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    transition: all 0.3s ease !important;
}

.page-item.active .page-link {
    background: var(--bento-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
    color: #fff !important;
}

.page-item:not(.active) .page-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--bento-text-muted) !important;
    opacity: 0.5 !important;
}

/* --- Consolidated Component Styles --- */

/* Common Utilities */
.ls-1 { letter-spacing: 1px !important; }
.tiny { font-size: 0.65rem !important; }
.fw-800 { font-weight: 800 !important; }
.playfair-display { font-family: 'Playfair Display', serif !important; }

.highlight-text {
    background: var(--bento-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.description-clamp {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.hover-primary:hover {
    color: var(--bento-primary) !important;
}

/* Bento Dock Navigation */
.bento-dock {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--bento-glass) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--bento-border) !important;
    border-radius: 100px !important;
    padding: 10px 25px !important;
    display: none !important;
    gap: 20px !important;
    z-index: 2000 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 991px) {
    .bento-dock {
        display: flex !important;
    }
}

.bento-dock a {
    color: var(--bento-text-muted) !important;
    font-size: 1.4rem !important;
    transition: all 0.3s ease !important;
    padding: 8px !important;
    border-radius: 50% !important;
}

.bento-dock a.active {
    color: var(--bento-primary) !important;
    background: rgba(99, 102, 241, 0.1) !important;
    transform: translateY(-5px) !important;
}

.bento-dock a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Cart & Checkout */
.cart-page-wrapper {
    background-color: var(--bento-bg) !important;
    min-height: 100vh !important;
    color: var(--bento-text) !important;
}

.cart-item-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cart-item-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.item-img-wrapper {
    width: 80px !important;
    height: 80px !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: 1px solid var(--bento-border) !important;
}

.qty-control {
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--bento-border) !important;
    border-radius: 50px !important;
    padding: 4px !important;
    gap: 8px !important;
}

.qty-btn {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 1px solid var(--bento-border) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.qty-btn:hover {
    background: var(--bento-gradient) !important;
    border-color: transparent !important;
    transform: scale(1.1) !important;
}

.qty-val {
    font-weight: 700 !important;
    min-width: 20px !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    color: white !important;
}

.payment-option {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--bento-border) !important;
    border-radius: 1rem !important;
    padding: 1.25rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.payment-option:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.payment-option.active {
    border-color: var(--bento-primary) !important;
    background: rgba(99, 102, 241, 0.1) !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15) !important;
}

/* Shop Components */
.bento-category-list {
    max-height: 300px !important;
    overflow-y: auto !important;
    padding-right: 10px !important;
}

.wishlist-trigger {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    color: #fff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(5px) !important;
    z-index: 10 !important;
}

.custom-check .form-check-input:checked {
    background-color: var(--bento-primary) !important;
    border-color: var(--bento-primary) !important;
}

/* Forum Components */
.glass-toggle-group {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--bento-border) !important;
    display: inline-flex !important;
}

.btn-glass {
    color: var(--bento-text-muted) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.btn-glass:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.vote-panel .hover-primary:hover {
    color: var(--bento-primary) !important;
    transform: translateY(-1px) !important;
}

/* Footer & Social */
.social-link-item {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    transition: all 0.3s !important;
}

.social-link-item:hover {
    background: var(--bento-primary) !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
}

.footer-nav-link-bento:hover {
    color: var(--bento-primary) !important;
}

.contact-card-bento {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    transition: all 0.3s !important;
}

.contact-card-bento:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.contact-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Dashboard Grid */
.bento-grid-dashboard {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

.bento-chart-container {
    grid-column: span 2 !important;
}

.bento-action-box {
    grid-column: span 1 !important;
}

@media (max-width: 768px) {
    .bento-grid-dashboard {
        grid-template-columns: 1fr !important;
    }
    .bento-chart-container, .bento-action-box {
        grid-column: span 1 !important;
    }
}

.bento-table {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    background: transparent !important;
}

.bento-table tr {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 12px !important;
}

.bento-table td, .bento-table th {
    padding: 16px 12px !important;
    border: none !important;
}

.bg-white-5 {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Section Titles & Labels */
.section-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
}

.compact-label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--bento-text-muted) !important;
    letter-spacing: 1px !important;
    margin-bottom: 0.5rem !important;
}

.empty-state-icon {
    font-size: 4rem !important;
    opacity: 0.2 !important;
}


.frosted-glass {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bento-nav-pills {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.bento-nav-pills .nav-link {
    color: #94a3b8;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 10px !important;
}

.bento-nav-pills .nav-link.active {
    background: var(--bento-primary) !important;
    color: #fff !important;
}

.bento-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
}

.bento-input:focus {
    border-color: var(--bento-primary) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

/* Base Section Style */
.bento-section {
    background-color: var(--bento-bg) !important;
    position: relative !important;
}

/* Banner & Hero Components */
.hero-section {
    min-height: 90vh !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-mesh-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.15) 0, transparent 50%) !important;
    pointer-events: none !important;
}

.control-btn {
    width: 50px !important;
    height: 50px !important;
    background: var(--bento-card-bg) !important;
    border: 1px solid var(--bento-border) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.control-btn:hover {
    background: var(--bento-primary) !important;
    transform: scale(1.1) !important;
}

.bento-img-premium {
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5)) !important;
}

/* Subscribe & Form Handling */
.glass-input-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.glass-field {
    position: relative;
}

.glass-field .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 16px !important;
    padding: 1.625rem 1.5rem 0.625rem 3.5rem !important; /* Adjusted for centering */
    height: calc(3.5rem + 2px) !important;
    line-height: 1.25 !important;
}

.glass-field .form-control:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--bento-primary) !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15) !important;
}

.glass-field label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem !important;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid transparent;
    transition: opacity .15s ease-in-out, transform .15s ease-in-out, color .15s ease-in-out;
    color: rgba(255, 255, 255, 0.45) !important;
    display: flex;
    align-items: center;
    opacity: 1;
}

.glass-field label i {
    position: absolute;
    left: 1.5rem;
    font-size: 1.1rem;
    color: var(--bento-primary);
    transition: transform .15s ease-in-out, opacity .15s ease-in-out;
}

.glass-field .form-control:focus~label,
.glass-field .form-control:not(:placeholder-shown)~label {
    transform: scale(.85) translateY(-0.9rem) translateX(0.5rem) !important;
    color: var(--bento-primary) !important;
}

.glass-field .form-control:focus~label i,
.glass-field .form-control:not(:placeholder-shown)~label i {
    opacity: 0;
    transform: scale(0.5);
}

.transform-hover {
    transition: transform 0.3s ease !important;
}

.transform-hover:hover {
    transform: scale(1.02) !important;
}

/* Forum Details Specifics */
.vote-panel-vertical .up.hover-primary:hover,
.vote-btn-v2.up.active {
    color: #10b981 !important; /* Emerald 500 */
    transform: translateY(-2px) !important;
}

.vote-panel-vertical .down.hover-primary:hover,
.vote-btn-v2.down.active {
    color: #f43f5e !important; /* Rose 500 */
    transform: translateY(2px) !important;
}

.thread-body {
    color: var(--bento-text-muted) !important;
}

/* Extra Utility Mixins for Inline Style replacement */
.bento-max-h-500 { max-height: 500px !important; }
.bento-max-w-600 { max-width: 600px !important; }
.bento-max-w-650 { max-width: 650px !important; }
.bento-dashed-border { border: 1px dashed rgba(255,255,255,0.2) !important; }

.bento-divider {
    width: 80px !important;
    height: 4px !important;
    background: var(--bento-gradient) !important;
    border-radius: 2px !important;
}

.bg-soft-indigo {
    background: rgba(99, 102, 241, 0.1) !important;
}

.ls-2 { letter-spacing: 2px !important; }

.bento-w-15 { width: 15px !important; }
.bento-h-6 { height: 6px !important; }



/**
* NAVBAR DROPDOWN DESIGN
* -------------------------------------------
*/

.dropdown-menu {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 0.75rem !important;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    transform: translateX(5px);
}

.dropdown-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/* Animation */
.animate-slide-in {
    animation: dropIn 0.3s ease-out forwards;
    transform-origin: top center;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Multi-level dropdown support */
@media (min-width: 992px) {
    .dropdown-menu .dropdown-menu {
        top: -10px;
        left: 100%;
        margin-left: 0.5rem;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }

    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
    }

    /* Hide the default BS arrow for nested items */
    .dropdown-item.dropdown-toggle::after {
        display: none;
    }
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .dropdown-menu {
        background: #fff !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1.5rem !important;
    }
}

/**
* PRODUCT CARD DESIGN
* -------------------------------------------
*/
.product-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}
.product-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-img {
    transform: scale(1.1);
}
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}
.wishlist-btn:hover,
.wishlist-btn.active {
    color: #f43f5e;
    transform: scale(1.1);
}
.badge-soft {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/**
* FOOTER DESIGN
* -------------------------------------------
*/

.compact-footer {
    background: #0f172a;
    /* Midnight Slate */
    color: #94a3b8;
    padding: 40px 0 25px;
    font-family: 'Plus Jakarta Display', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Brand Section - Unified & Tight */
.compact-footer .brand-meta {
    margin-bottom: 0;
}

.compact-footer .footer-logo-box {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Horizontal Nav Hub */
.compact-footer .footer-nav-header {
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.compact-footer .footer-nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.compact-footer .footer-nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.compact-footer .footer-nav-link:hover {
    color: #6366f1;
}

/* Contact - Inline & Efficient */
.compact-footer .contact-compact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.compact-footer .contact-mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.compact-footer .contact-mini-icon {
    color: #6366f1;
    font-size: 0.8rem;
    opacity: 0.8;
}

.compact-footer .contact-mini-val {
    color: #cbd5e1;
    text-decoration: none;
}

/* Bottom Bar - Ultra Thin */
.compact-footer .bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 30px;
    padding-top: 20px;
}

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

.compact-footer .social-mini-ico {
    color: #475569;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.compact-footer .social-mini-ico:hover {
    color: #fff;
    transform: translateY(-2px);
}

.compact-footer .copyright-tiny {
    font-size: 0.8rem;
    color: #475569;
}

@media (max-width: 991px) {
    .compact-footer {
        padding: 30px 0 20px;
    }

    .compact-footer .brand-meta {
        margin-bottom: 25px;
    }
}

/**
* SHOP DESIGN
* -------------------------------------------
*/
.shop-header {
    padding-top: 60px;
    padding-bottom: 60px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(99, 102, 241, 0.05));
}

/* Sidebar Styling */
.sidebar-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-check-input:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Product Card Premium (Shared in head, but ensuring local overrides) */
.product-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Product Header Section */
.product-header-section {
    padding-top: 30px;
    padding-bottom: 60px;
}

/* Product Gallery */
.main-product-img {
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

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

.thumb-img {
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumb-img:hover,
.thumb-img.active {
    border-color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism Sections */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    margin-right: 1rem;
}

/* Rating Stars */
.rating-stars {
    display: inline-flex;
    gap: 4px;
}

.rating-stars i {
    font-size: 1.2rem;
}

.star-rating-input {
    display: flex;
    gap: 8px;
    font-size: 2rem;
}

.star-rating-input i {
    cursor: pointer;
    transition: all 0.2s;
    color: #cbd5e1;
}

.star-rating-input i:hover,
.star-rating-input i.active {
    color: #fbbf24;
    transform: scale(1.1);
}

/* Rating Distribution */
.rating-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s ease;
}

/* Review Card */
.review-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-card.featured {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.review-card.pinned {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.02);
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.v3-details {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #ffffff;
    color: #111827;
    padding-top: 4rem;
    padding-bottom: 8rem;
}

/* Modern Minimalist Breadcrumb */
.v3-breadcrumb {
    margin-bottom: 3rem;
}

.v3-breadcrumb .breadcrumb-item {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.v3-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.v3-breadcrumb a:hover {
    color: #111827;
}

/* Gallery - Apple Style */
.v3-gallery-container {
    background: #f9fafb;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

.carousel-v3 .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.v3-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.v3-thumb {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    object-fit: cover;
    background: #fff;
    padding: 4px;
}

.v3-thumb.active {
    border-color: #111827;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Info Hero */
.v3-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 1rem;
}

.v3-short-desc {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 90%;
}

.v3-meta-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #111827;
    background: var(--bento-primary) !important;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.v3-price-block {
    margin-bottom: 3rem;
}

.v3-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bento-text);
}

.v3-price-old {
    font-size: 1.25rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

/* Buttons */
.v3-btn-primary {
    background: #111827;
    color: #fff !important;
    padding: 1.25rem 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.125rem;
}

.v3-btn-primary:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.v3-btn-outline {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151 !important;
    padding: 1.1rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.v3-btn-outline:hover {
    border-color: #111827;
    background: #f9fafb;
    color: #111827 !important;
}

/* Quantity */
.v3-qty {
    border: 1px solid #d1d5db;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    padding: 0.25rem;
    max-width: 140px;
}

.v3-qty button {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 1.2rem;
}

.v3-qty input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
}

/* Tabs */
.v3-tabs-nav {
    border: none;
    justify-content: start;
    gap: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.v3-tabs-nav .nav-link {
    border: none;
    padding: 1rem 0;
    font-weight: 700;
    color: #6b7280;
    position: relative;
}

.v3-tabs-nav .nav-link.active {
    color: #111827;
    background: transparent;
}

.v3-tabs-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #111827;
    border-radius: 2px;
}

/* Specifications Table */
.v3-specs-item {
    border-bottom: 1px solid #f3f4f6;
    padding: 1.25rem 0;
}

.v3-specs-key {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.95rem;
}

.v3-specs-val {
    font-weight: 700;
    color: #111827;
    text-align: right;
}

/* Reviews Styling */
.v3-review-card {
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.v3-user-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/**
* FORUM DESIGN
* -------------------------------------------
*/

/* Forum Header & search */
.forum-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(99, 102, 241, 0.05));
}

.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: white;
    padding: 8px;
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: flex;
}

.search-input {
    border: none;
    background: transparent;
    padding-left: 25px;
    font-weight: 500;
    box-shadow: none !important;
}

.search-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 100px;
    font-weight: 700;
    transition: all 0.3s;
}

/* Sidebar Content */
.glass-sidebar {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 15px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.category-item:hover,
.category-item.active {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
}

.tag-pill {
    display: inline-block;
    padding: 6px 15px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-pill:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Feed & Cards */
.thread-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.thread-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.vote-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 10px;
    border-radius: 15px;
    min-width: 50px;
}

.vote-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    transition: color 0.2s;
    font-size: 1.1rem;
}

.vote-btn:hover {
    color: #6366f1;
}

.vote-count {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

.forum-details-container {
    padding-top: 4rem;
}

.v3-breadcrumb {
    margin-bottom: 3rem;
}

.v3-breadcrumb .breadcrumb-item {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.v3-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.v3-breadcrumb a:hover {
    color: #111827;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
}

.vote-panel-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 15px;
    height: fit-content;
}

.vote-btn-v2 {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-btn-v2:hover,
.vote-btn-v2.active-up {
    color: #6366f1;
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.vote-btn-v2:hover.down,
.vote-btn-v2.active-down {
    color: #f43f5e;
    border-color: #f43f5e;
    background: rgba(244, 63, 94, 0.05);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
}

.comment-card {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

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

.trending-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
}

.trending-item:hover .trending-title {
    color: #6366f1;
}

.trending-icon {
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
}

/*
* CONTACT FORM
* -------------------------------------------
*/

/* Contact Header */
.contact-header {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(99, 102, 241, 0.05));
}

/* Info Icons & Cards */
.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.glass-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.05);
}

.map-wrapper {
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}