/* 👑 Gajanan Print Solutions - Premium Wholesale Stylesheet */

:root {
    --primary: #0b1a30; /* Premium Deep Navy */
    --primary-light: #162a45;
    --accent: #d4af37; /* Wholesaler Corporate Gold */
    --accent-hover: #b8972f;
    --bg-body: #0a0f18; /* Ultra-Premium Dark Slate */
    --bg-card: #111a28; /* Glass Dark Card background */
    --text-dark: #f8fafc; /* Clear light slate text */
    --text-muted: #64748b;
    --border-color: #1e293b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
}

/* 🪐 Overall Background & Typography overrides */
body {
    background-color: var(--bg-body) !important;
    color: var(--text-dark) !important;
    background-image: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 10% 85%, rgba(22, 42, 69, 0.2) 0%, transparent 40%) !important;
    background-attachment: fixed !important;
}

/* 🧭 Premium Navigation Bar Overrides */
.navbar {
    background: rgba(11, 26, 48, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.15) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

.navbar-brand span {
    color: var(--accent) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4) !important;
}

.search-form {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2) !important;
}

.search-btn:hover {
    color: var(--accent) !important;
}

/* 📁 Catalog & Sidebar Filtering Overrides */
.sidebar-card, .card {
    background: rgba(17, 26, 40, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: var(--shadow-md) !important;
}

.filter-title {
    color: var(--accent) !important;
    border-bottom-color: rgba(212, 175, 55, 0.15) !important;
}

.filter-checkbox:checked + label {
    color: var(--accent) !important;
}

/* 📦 Wholesaler Cards Override */
.product-grid-card, .product-card, .card-product {
    background: rgba(17, 26, 40, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease !important;
    overflow: hidden !important;
}

.product-grid-card:hover, .product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.12) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.product-title,
.product-title a {
    color: var(--text-dark) !important;
    text-decoration: none !important;
}

.product-title a:hover,
.product-title:hover a,
.product-title:hover {
    color: var(--accent) !important;
    text-decoration: none !important;
}

/* 🏷️ Badges & Price tags */
.badge-stock {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.price-container {
    background: rgba(212, 175, 55, 0.05) !important;
    border: 1px dashed rgba(212, 175, 55, 0.2) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px !important;
}

.price-val {
    color: var(--accent) !important;
    font-weight: 800 !important;
}

/* 💳 Wholesaler Action Buttons */
.btn-primary, .add-to-cart-btn, .submit-btn, .checkout-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8972f 100%) !important;
    color: #0b1a30 !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.btn-primary:hover, .add-to-cart-btn:hover, .submit-btn:hover, .checkout-btn:hover {
    background: linear-gradient(135deg, #f3cf5a 0%, #d4af37 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4) !important;
}

.btn-primary:active, .add-to-cart-btn:active {
    transform: translateY(0) !important;
}

/* 🏷️ Banner / Promotion Highlights */
.wholesale-banner, .hero-section {
    background: linear-gradient(135deg, #111a28 0%, #070b12 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: var(--shadow-md) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wholesale-banner::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%) !important;
    pointer-events: none !important;
}

.banner-title {
    color: var(--accent) !important;
    font-weight: 800 !important;
}

/* 🧭 Footer section styling overrides */
.footer, footer {
    background: #070a10 !important;
    border-top: 2px solid rgba(212, 175, 55, 0.15) !important;
    color: var(--text-muted) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4) !important;
}

.footer-heading {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

.footer-link:hover {
    color: var(--accent) !important;
    padding-left: 5px !important;
}

/* 🛒 Cart & Checkout Adjustments */
.cart-table th {
    background-color: rgba(212, 175, 55, 0.08) !important;
    color: var(--accent) !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2) !important;
}

.cart-item-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.cart-summary-card {
    background: rgba(17, 26, 40, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* 🔍 Custom Micro-Animations */
.micro-glow {
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    }
    to {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    }
}

/* 📜 Wholesale B2B My Account Order History Overrides */
.order-header {
    background: rgba(22, 42, 69, 0.4) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.order-shipping-col {
    background: rgba(22, 42, 69, 0.2) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.order-card {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.order-card:hover {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.order-total-val {
    color: var(--accent) !important;
}

.tracking-val {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-dark) !important;
}

.tracker-step.active .tracker-label {
    color: var(--accent) !important;
}

.tracker-step.active .tracker-icon {
    background: var(--accent) !important;
    color: #0b1a30 !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25) !important;
}

.tracker-step.completed .tracker-label {
    color: var(--text-dark) !important;
}

.tracker-step.completed .tracker-icon {
    background: rgba(52, 211, 153, 0.2) !important;
    color: #34d399 !important;
    border-color: #34d399 !important;
}

.tracker-icon {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-muted) !important;
}

.order-count-badge {
    background: var(--accent) !important;
    color: #0b1a30 !important;
    font-weight: 700 !important;
}

/* 🎨 Text Readability Overrides for Titles inside B2B pages */
.section-title, .shipping-title, .items-title {
    color: var(--accent) !important;
}

.order-item-row {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

/* 🏷️ Bullet Points box / Key Features Overrides */
.bullet-points-box {
    background: rgba(17, 26, 40, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.bullet-points-box h4 {
    color: var(--accent) !important;
}

/* 👤 My Account Left Column Profile Card Overrides */
.profile-name {
    color: #f8fafc !important;
}

.profile-email {
    color: #94a3b8 !important;
}

.profile-avatar {
    background: linear-gradient(135deg, var(--accent), #e5c158) !important;
    color: #0b1a30 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25) !important;
}

.badge-status.b2c {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.badge-status.b2b-approved {
    background: rgba(52, 211, 153, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
}

.badge-status.b2b-pending {
    background: rgba(245, 158, 11, 0.15) !important;
    color: var(--warning) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

/* 📜 Wholesale B2B My Account Order History Overrides */
.order-header {
    background: rgba(22, 42, 69, 0.45) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.order-shipping-col {
    background: rgba(22, 42, 69, 0.2) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.order-card {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(17, 26, 40, 0.4) !important;
}

.order-card:hover {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.order-total-val {
    color: var(--accent) !important;
}

.order-meta-info span, .order-price-box .order-total-lbl {
    color: #94a3b8 !important;
}

.order-meta-info strong {
    color: #f8fafc !important;
}

.tracker-step .tracker-label {
    color: #94a3b8 !important;
}

.tracker-step.active .tracker-label {
    color: var(--accent) !important;
}

.tracker-step.active .tracker-icon {
    background: var(--accent) !important;
    color: #0b1a30 !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25) !important;
}

.tracker-step.completed .tracker-label {
    color: #f8fafc !important;
}

.tracker-step.completed .tracker-icon {
    background: rgba(52, 211, 153, 0.2) !important;
    color: #34d399 !important;
    border-color: #34d399 !important;
}

.tracker-icon {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
}

.order-count-badge {
    background: var(--accent) !important;
    color: #0b1a30 !important;
    font-weight: 700 !important;
}

/* 🎨 Text Readability Overrides for Titles inside B2B pages */
.section-title, .shipping-title, .items-title {
    color: var(--accent) !important;
}

.order-item-row {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.shipping-detail-row span {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

.shipping-detail-row {
    color: #f8fafc !important;
}

.item-sku {
    color: #f8fafc !important;
}

.item-title, .item-qty-price {
    color: #cbd5e1 !important;
}

.item-subtotal {
    color: var(--accent) !important;
}

.tracking-alert {
    background: rgba(212, 175, 55, 0.08) !important;
    border-left: 4px solid var(--accent) !important;
}

.tracking-text {
    color: #f8fafc !important;
}

.tracking-val {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--accent) !important;
}

.tracking-alert a {
    color: #60a5fa !important;
    text-decoration: underline !important;
}

/* 🔑 Authentication (Login & Register) Page Overrides */
.auth-title {
    color: #f8fafc !important;
}

.auth-subtitle {
    color: #cbd5e1 !important;
}

.form-label {
    color: #cbd5e1 !important;
}

.input-with-icon-wrapper .input-icon {
    color: #94a3b8 !important;
}

.type-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.type-card:hover {
    border-color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.type-card.active {
    border-color: var(--accent) !important;
    background: rgba(212, 175, 55, 0.05) !important;
}

.type-card.active .type-icon {
    color: var(--accent) !important;
}

.type-card .type-label {
    color: #f8fafc !important;
}

.type-card .type-desc {
    color: #cbd5e1 !important;
}

.b2b-badge {
    background: rgba(212, 175, 55, 0.08) !important;
    color: var(--accent) !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
}

.auth-submit-btn {
    background: linear-gradient(135deg, var(--accent), #e5c158) !important;
    color: #0b1a30 !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2) !important;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, #e5c158, var(--accent)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3) !important;
}

.auth-footer {
    color: #cbd5e1 !important;
}

.auth-footer a {
    color: var(--accent) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Blog Content Heading Contrast Fix for Dark Theme */
.blog-content h2,
.blog-content h3,
.blog-content h4,
.sidebar-widget h4 {
    color: var(--accent) !important;
}

/* 🗂️ Mega Menu Category Bar & Sub-dropdown Dark Theme Overrides */
.mega-menu-bar {
    background: #111a28 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.mega-menu-link {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

.mega-menu-item:hover .mega-menu-link {
    color: var(--accent) !important;
}

.dropdown-menu,
.sub-dropdown-menu {
    background: #111a28 !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.dropdown-item a {
    color: #f8fafc !important;
}

.dropdown-item a:hover,
.dropdown-item:hover > a {
    background: rgba(212, 175, 55, 0.15) !important;
    color: var(--accent) !important;
}

.dropdown-item a i {
    color: #94a3b8 !important;
}

.dropdown-item:hover > a i,
.dropdown-item a:hover i {
    color: var(--accent) !important;
    opacity: 1 !important;
}

/* 📁 Left Sidebar Filter & Category Hover Overrides */
.sidebar-title {
    color: var(--accent) !important;
    border-bottom-color: rgba(212, 175, 55, 0.2) !important;
}

.cat-link-wrapper {
    background: transparent !important;
}

.cat-link-wrapper a {
    color: #f8fafc !important;
}

.cat-link-wrapper i.cat-toggle-icon {
    color: #94a3b8 !important;
}

.category-item.active > .cat-link-wrapper, 
.cat-link-wrapper:hover {
    background: rgba(212, 175, 55, 0.12) !important;
    border-left: 3px solid var(--accent) !important;
}

.category-item.active > .cat-link-wrapper a, 
.cat-link-wrapper:hover a {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

.sidebar-sub-category {
    border-left: 2px solid rgba(212, 175, 55, 0.2) !important;
}

.filter-label, 
.radio-container {
    color: #cbd5e1 !important;
}

/* 🏷️ Brand Filter Chips Dark Theme Overrides */
.brand-chip {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.brand-chip.active {
    background: var(--accent) !important;
    color: #0b1a30 !important;
    border-color: var(--accent) !important;
    font-weight: 700 !important;
}

.brand-chip:hover:not(.active) {
    background: rgba(212, 175, 55, 0.15) !important;
    color: var(--accent) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}



