:root {
    --dark-text: #1a202c;
    --medium-text: #4a5568;
    --light-bg: #f8faff;
    --border-color: #edf2f7;
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --clr-new: #0ea5e9;
    --clr-viewed: #8b5cf6;
    --clr-hot: #ef4444;
    --clr-bg: #f8fafc;
    --clr-card: #ffffff;
    --clr-text: #1e293b;
    --clr-muted: #64748b;
    --clr-border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
    --tech-navy: #1a2a6c;
    --tech-slate: #2c3e50;
    --tech-blue: #0d6efd;
    --tech-gray: #f8f9fa;
    --tech-text: #334155;
}

/* Logo Sizing & Fixes */
.brand-logo img {
    max-height: 120px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.footer-logo-premium img {
    max-height: 70px !important;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .brand-logo img { max-height: 60px; }
}

@media (max-width: 480px) {
    .brand-logo img { max-height: 50px; }
    .footer-logo-premium img { max-height: 50px !important; }
}

/* Header Utility Classes - override theme's space-between */
.header-middle-right .header-middle-block.header-flex-align { justify-content: flex-end !important; gap: 15px !important; }
.header-flex-align { display: flex; align-items: center; flex-wrap: nowrap; }
/* Override theme's space-between that causes the large gap */
.header-middle-right .header-middle-block { justify-content: flex-end !important; }
.header-search-container { position: relative; flex: 1; max-width: 600px; margin: 0 !important; }
/* Remove the left auto margin the theme may add to the mini cart */
.header-middle-right .header-middle-block .header-mini-cart { margin-left: 0 !important; }
.search-suggestions-dropdown { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; background: #fff; border: 1px solid #e5e5e5; border-top: none; display: none; max-height: 320px; overflow-y: auto; }
.mini-cart-clickable { cursor: pointer; }
.category-menu-zindex { z-index: 999999 !important; }
body {
    font-family: 'Inter', sans-serif !important;
    color: var(--dark-text);
    background-color: #fff;
}

/* Modern Mega Menu Styling */
.category-mega-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 880px;
    /* Slightly wider for better spacing */
    max-width: calc(100vw - 300px);
    /* Ensure it doesn't overflow screen width */
    background: #ffffff;
    z-index: 9999 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-radius: 0 16px 16px 16px;
    padding: 40px !important;
    border: 1px solid var(--border-color);
    min-height: 100%;
    display: flex !important;
    flex-wrap: wrap;
    gap: 40px 30px;
    width: 1000px !important; /* Increased width to prevent clipping */
    align-content: start;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.category-menu ul li:hover>.category-mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0);
    pointer-events: auto;
}

.mega-menu-column {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 0 0 auto; /* Allow column to take natural width */
    min-width: 200px; /* Base width */
}

.category-mega-menu .mega-menu-title {
    color: var(--dark-text) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important; /* Minimal gap */
    display: block !important;
    position: relative;
    padding-bottom: 5px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    line-height: 1.2 !important;
}

.subcategory-brands {
    margin: 0 !important;
    padding: 0 !important;
}

.category-mega-menu .mega-menu-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--theme-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.mega-menu-column:hover .mega-menu-title::after {
    width: 60px;
}

.category-mega-menu .mega-menu-title:hover {
    color: #fff !important;
    background: var(--theme-color);
    padding-left: 10px !important;
    border-radius: 4px;
}

.category-mega-menu .brand-link {
    color: var(--theme-color) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center;
    padding: 5px 0 !important;
    white-space: normal !important;
    font-weight: 400 !important;
    transition: all 0.2s ease;
}

.category-mega-menu .brand-link::before {
    content: '•';
    margin-right: 8px;
    color: #cbd5e0;
    font-size: 10px;
    transition: all 0.2s ease;
}

.category-mega-menu .brand-link:hover {
    color: #fff !important;
    background: var(--theme-color);
    padding-left: 15px !important;
    border-radius: 4px;
}

.category-mega-menu .brand-link:hover::before {
    color: #fff;
    content: '→';
}

.subcategory-brands {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Responsive Adjustments for Mega Menu */
@media (max-width: 1200px) {
    .category-mega-menu {
        width: 650px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .category-mega-menu {
        display: none !important;
        /* Hide mega menu on mobile, theme uses mobile-specific menu */
    }
}

/* Sidebar Category Menu Polish */
/* Class used to hide the menu when user clicks the arrow on homepage */
.category-menu.js-user-closed {
    display: none !important;
}

.category-menu {
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    box-shadow: var(--card-shadow);
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    transition: all 0.3s ease;
}

.category-menu.hm-1 {
    display: block !important;
}

/* On pages with persistent sidebar, keep category menu visible */
.premium-sidebar-active .category-menu:not(.js-user-closed) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.category-menu ul li {
    border-bottom: 1px solid #f7f9fc;
    position: relative;
}

.category-menu ul li:last-child {
    border-bottom: none;
}

.category-menu ul li a {
    padding: 14px 20px !important;
    font-size: 14px !important;
    color: var(--dark-text) !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center;
    transition: all 0.2s ease;
}

.category-menu ul li:hover>a {
    color: #fff !important;
    background: var(--theme-color) !important;
}

/* User Toggle Control */
.category-menu.js-user-closed {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
}

/* Professional Mini-Cart Alignment */
.header-mini-cart {
    position: relative;
    margin-left: 30px;
    display: flex;
    align-items: center;
    height: 52px;
    background: #ffffff;
    border: 2px solid #444444;
    border-radius: 4px;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.header-mini-cart:hover {
    border-color: var(--theme-color);
    box-shadow: var(--card-shadow);
}

.mini-cart-btn {
    position: relative;
    cursor: pointer;
    color: #444444;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.cart-notification {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--theme-color);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.mini-cart-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 340px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99999;
    border: 1px solid #e5e5e5;
}

.header-mini-cart.logged-in:hover .mini-cart-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cart-total-price {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    cursor: pointer;
}

.cart-total-price span:first-child {
    font-size: 11px;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.cart-total-price span:last-child {
    font-size: 14px;
    font-weight: 800;
    color: var(--clr-primary);
}

.header-top-dropdown .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--medium-text);
    transition: all 0.2s;
}

.header-top-dropdown .dropdown-item:hover {
    color: var(--theme-color);
    background: var(--light-bg);
    padding-left: 1.8rem;
}

.header-top-dropdown .dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.header-top-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e9ecef;
}

.header-top-dropdown .dropdown-toggle {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-top-dropdown .dropdown-toggle:hover {
    color: #0d6efd;
}

/* Logout button specific styling */
.header-top-dropdown form button.dropdown-item:hover {
    background-color: #fff5f5 !important;
    color: #dc3545 !important;
    padding-left: 1.8rem !important;
}

.header-top-dropdown form button.dropdown-item:hover i {
    color: #dc3545 !important;
}

/* Info text styling */
.header-top-dropdown .dropdown-item.text-muted {
    cursor: default;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-style: italic;
}

.header-top-dropdown .dropdown-item.text-muted:hover {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    transform: none !important;
}

/* Profile settings link */
.header-top-dropdown .dropdown-item[href*="profile"]:hover {
    background-color: #17a2b8 !important;
    color: white !important;
}

/* Global UI Polish for Homepage Elements */
.product-item {
    border-radius: var(--radius) !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--border-color) !important;
    background: #fff !important;
    overflow: hidden !important;
}

.product-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px) !important;
}

.home-btn {
    background: var(--theme-color) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none !important;
}

.home-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) scale(1.05) !important;
    color: #fff !important;
}

.img-container.fix {
    border-radius: var(--radius) !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
}

.img-container.fix img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.img-container.fix:hover img {
    transform: scale(1.1) !important;
}

.section-title-2 h3,
.section-title h3 {
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif !important;
}

.section-title-2 h3::after,
.section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--theme-color);
    border-radius: 2px;
}

/* Unified Black Mini Cart Style */
.header-mini-cart {
    background-color: #333 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    min-height: 45px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    transition: background 0.3s ease !important;
    cursor: pointer;
}

.header-mini-cart:hover {
    background-color: #444 !important;
}

.mini-cart-btn {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-basis: auto !important;
    line-height: 1 !important;
    position: relative;
}

.mini-cart-btn i {
    color: #ffffff !important;
    font-size: 20px !important;
    font-family: 'FontAwesome' !important;
}

.cart-total-price {
    flex-basis: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.cart-total-price span:first-child {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

#cart-total-global {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    margin-top: 1px;
}

.cart-notification {
    position: absolute !important;
    top: -12px !important;
    right: -12px !important;
    background-color: #e74c3c !important;
    color: #fff !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    border: 2px solid #333 !important;
    text-align: center !important;
}

/* --- HOME PAGE STYLES --- */
.page-wrapper { background: var(--clr-bg); }
.product-section {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.product-section:hover { box-shadow: var(--shadow-md); }
.premium-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--clr-border);
    background: #fff;
    position: relative;
    overflow: hidden;
}
.premium-section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
}
.new-arrivals-section .premium-section-header::before { background: var(--clr-new); }
.most-viewed-section .premium-section-header::before { background: var(--clr-viewed); }
.hot-sale-section .premium-section-header::before { background: var(--clr-hot); }
.premium-section-title-wrapper { display: flex; align-items: center; gap: .85rem; }
.premium-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
}
.premium-section-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: .15;
}
.new-icon { background: rgba(14, 165, 233, .12); color: var(--clr-new); }
.viewed-icon { background: rgba(139, 92, 246, .12); color: var(--clr-viewed); }
.hot-icon { background: rgba(239, 68, 68, .12); color: var(--clr-hot); }
.premium-section-title-content { line-height: 1.2; }
.premium-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-text);
    margin: 0;
    letter-spacing: -.02em;
}
.premium-section-subtitle { font-size: .78rem; color: var(--clr-muted); margin: .15rem 0 0; font-weight: 400; }
.section-right { display: flex; align-items: center; gap: .75rem; }
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .85rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pill-new { background: rgba(14, 165, 233, .1); color: var(--clr-new); }
.pill-viewed { background: rgba(139, 92, 246, .1); color: var(--clr-viewed); }
.pill-hot { background: rgba(239, 68, 68, .1); color: var(--clr-hot); }
.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 1.8s ease-in-out infinite;
}
.pill-new .pill-dot { background: var(--clr-new); }
.pill-viewed .pill-dot { background: var(--clr-viewed); }
.pill-hot .pill-dot { background: var(--clr-hot); }

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.7); }
}

.view-all-wrap {
    display: flex;
    justify-content: center;
    padding: 1.0rem 1.5rem 0.5rem;
    border-top: 1px solid var(--clr-border);
    margin-top: .5rem;
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .6rem 2.5rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.view-all-btn svg { transition: transform var(--transition); flex-shrink: 0; }
.view-all-btn:hover svg { transform: translateX(5px); }

/* Section Specific Colors for View All Buttons */
.new-arrivals-section .view-all-btn { 
    background: rgba(14, 165, 233, 0.08); 
    color: var(--clr-new); 
    border-color: rgba(14, 165, 233, 0.2); 
}
.new-arrivals-section .view-all-btn:hover { 
    background: var(--clr-new); 
    color: #fff; 
    border-color: var(--clr-new); 
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); 
}

.most-viewed-section .view-all-btn { 
    background: rgba(139, 92, 246, 0.08); 
    color: var(--clr-viewed); 
    border-color: rgba(139, 92, 246, 0.2); 
}
.most-viewed-section .view-all-btn:hover { 
    background: var(--clr-viewed); 
    color: #fff; 
    border-color: var(--clr-viewed); 
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); 
}

.hot-sale-section .view-all-btn { 
    background: rgba(239, 68, 68, 0.08); 
    color: var(--clr-hot); 
    border-color: rgba(239, 68, 68, 0.2); 
}
.hot-sale-section .view-all-btn:hover { 
    background: var(--clr-hot); 
    color: #fff; 
    border-color: var(--clr-hot); 
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); 
}

/* Responsiveness for View All Button */
@media (max-width: 480px) {
    .view-all-wrap { padding: 1rem 1rem 0.5rem; }
    .view-all-btn { 
        padding: .6rem 1.5rem; 
        font-size: .8rem; 
        width: auto; 
        min-width: 200px;
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .view-all-btn { 
        padding: .5rem 1.2rem; 
        font-size: .75rem; 
        min-width: 180px;
        gap: .4rem; 
    }
}

@media (max-width: 320px) {
    .view-all-wrap { padding: 0.75rem 0.5rem 0.5rem; }
    .view-all-btn { 
        padding: .45rem 0.8rem !important; 
        font-size: 0.7rem !important; 
        min-width: 160px;
        letter-spacing: 0;
        white-space: nowrap !important;
        display: inline-flex !important;
    }
    .view-all-btn svg { width: 12px; height: 12px; }
}
.section-content { padding: 1.5rem; }
.product-section+.product-section { margin-top: 1.75rem; }
.product-section { animation: fadeUp .45s ease both; }
.product-section:nth-child(2) { animation-delay: .1s; }
.product-section:nth-child(3) { animation-delay: .2s; }

/* --- CHECKOUT PAGE STYLES --- */
.checkout-page-wrapper { background: #fdfdfd; padding-top: 60px; padding-bottom: 80px; }
.checkout-section-title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 28px; color: var(--dark-text); margin-bottom: 30px; position: relative; padding-bottom: 15px; }
.checkout-section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 4px; background: var(--theme-color); border-radius: 2px; }
.checkout-card { background: #fff; border-radius: 16px; border: 1px solid #edf2f7; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); padding: 30px; margin-bottom: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.checkout-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.checkout-card h2 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px; color: var(--dark-text); margin-bottom: 25px; display: flex; align-items: center; gap: 12px; }
.checkout-card h2 i { color: var(--theme-color); }
.single-input-item { margin-bottom: 20px; }
.single-input-item label { font-weight: 600; font-size: 14px; color: var(--medium-text); margin-bottom: 8px; display: block; }
.single-input-item input, .single-input-item textarea, .single-input-item select { width: 100%; border: 1px solid #e2e8f0 !important; border-radius: 10px !important; padding: 12px 16px !important; font-size: 15px !important; transition: all 0.3s ease !important; background: #f8fafc !important; }
.single-input-item input:focus, .single-input-item textarea:focus { border-color: var(--theme-color) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(0, 97, 242, 0.08) !important; outline: none !important; }
.order-summary-table { border: none !important; }
.order-summary-table thead { background: #f8fafc; }
.order-summary-table th { border: none !important; padding: 15px !important; font-weight: 700 !important; color: var(--dark-text) !important; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.order-summary-table td { padding: 15px !important; vertical-align: middle !important; border-bottom: 1px solid #f1f5f9 !important; color: var(--medium-text); font-size: 15px; }
.order-summary-table .product-name { font-weight: 600; color: var(--dark-text); text-decoration: none; }
.order-summary-table .total-amount { font-weight: 800; color: var(--theme-color); font-size: 18px; }
.order-payment-method { background: #f8f9fa; padding: 20px; border-radius: 6px; }
.order-payment-method > h5 { font-weight: 700 !important; font-size: 18px; color: #1a202c; margin-bottom: 15px !important; }
.payment-method-item { margin-bottom: 12px; border: 1px solid transparent; border-radius: 10px; padding: 15px 20px; cursor: pointer; transition: all 0.2s ease; background: #f0f2f5; }
.payment-method-item:hover { background: #e9ecef; }
.payment-method-item.active { border-color: #3498db; background: #f0f6fa; }
.payment-method-name .custom-control { min-height: 1.2rem; padding-left: 2rem; display: flex; align-items: center; }
.payment-method-name label { font-weight: 700; font-size: 15px; color: #333; cursor: pointer; margin-bottom: 0; padding-left: 8px; }
.custom-radio .custom-control-input:checked ~ .custom-control-label::before { background-color: #fff; border-color: #3498db; border-width: 4px; }
.custom-radio .custom-control-input:checked ~ .custom-control-label::after { background-image: none; }
.custom-control-label::before { width: 1.2rem; height: 1.2rem; border-color: #d1d5db; background-color: #e5e7eb; top: 0; }
.custom-control-label::after { width: 1.2rem; height: 1.2rem; top: 0; }
.payment-method-details { margin-top: 8px; font-size: 14px; color: #555; line-height: 1.5; padding-left: 36px; display: none; }
.payment-method-item.active .payment-method-details { display: block !important; }
.summary-footer-area .custom-control-label { font-size: 14px; color: #333; }
.summary-footer-area .custom-control-label.small { font-size: 14px !important; }
.summary-footer-area a { color: #007bff; font-weight: 600; text-decoration: none; }
.place-order-btn { width: 100%; background: #3498db !important; color: #fff !important; border: none !important; padding: 14px !important; border-radius: 8px !important; font-weight: 700 !important; font-size: 16px !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; transition: background 0.2s ease !important; margin-top: 25px; }
.place-order-btn:hover { background: #2980b9 !important; }
.checkout-accordion-wrap { margin-bottom: 40px; }
.accordion-card { border: 1px dashed var(--theme-color); background: rgba(0, 97, 242, 0.02); border-radius: 12px; padding: 15px 20px; margin-bottom: 15px; cursor: pointer; }
.accordion-card h3 { font-size: 15px; font-weight: 600; color: var(--medium-text); margin: 0; }
.accordion-card span { color: var(--theme-color); font-weight: 700; text-decoration: underline; }

/* --- CONTACT PAGE STYLES --- */
.contact-hero-premium { margin-top: 3px; background: linear-gradient(rgba(26, 42, 108, 0.92), rgba(44, 62, 80, 0.92)), url('../img/bg-panel/bg-pettern/1.png'); background-size: cover; background-position: center; padding: 80px 0 50px; color: white; text-align: center; border-bottom: 4px solid var(--tech-blue); }
.contact-hero-premium h1 { font-size: 3rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; text-transform: capitalize; }
.contact-hero-premium p { font-size: 1.1rem; color: #ffffff; max-width: 600px; margin: 0 auto 25px; }
.breadcrumb-premium { display: inline-flex; background: rgba(255, 255, 255, 0.1); padding: 8px 25px; border-radius: 50px; backdrop-filter: blur(5px); font-size: 0.9rem; }
.breadcrumb-premium a { color: #fff; opacity: 0.8; }
.breadcrumb-premium span { color: var(--tech-blue); margin: 0 10px; }
.breadcrumb-premium .active { opacity: 1; font-weight: 600; }

/* Reduce default breadcrumb padding at the top of Shop/Blog standard pages */
.breadcrumb-wrap {
    padding-top: 5px !important;
}

.main-contact-section { margin-top: -40px; position: relative; z-index: 10; padding-bottom: 80px; }
.contact-container-box { background: white; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); overflow: hidden; border: 1px solid #edf2f7; }
.contact-details-panel { background: #f8fafc; padding: 50px; height: 100%; border-left: 1px solid #edf2f7; }
.contact-form-panel { padding: 50px; }
.info-block { margin-bottom: 35px; }
.info-block i { font-size: 1.5rem; color: var(--tech-blue); margin-bottom: 15px; display: block; }
.info-block h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--tech-slate); }
.info-block p { color: #64748b; line-height: 1.6; margin: 0; }
.form-label-tech { font-size: 0.85rem; font-weight: 700; color: var(--tech-slate); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; display: block; }
.tech-input { width: 100%; padding: 14px 18px; border: 2px solid #e2e8f0; border-radius: 8px; transition: all 0.2s; font-size: 1rem; background: #fff; }
.tech-input:focus { border-color: var(--tech-blue); box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1); outline: none; }
.submit-btn-tech { background: var(--tech-blue); color: white; border: none; padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 1rem; width: 100%; transition: all 0.3s; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.submit-btn-tech:hover { background: #0b5ed7; transform: translateY(-2px); box-shadow: 0 10px 15px rgba(13, 110, 253, 0.2); }
.form-messege { margin-top: 20px; padding: 15px; border-radius: 8px; font-size: 0.95rem; display: none; }
.form-messege.success { display: block; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.form-messege.error { display: block; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* --- CART BUTTON ADJUSTMENTS --- */
/* "chota kar do" - Constrain the massive flex-basis size */
/* "thora left ma shift kar do" - Push it away from the right edge */
.header-middle-right .header-middle-block .header-mini-cart {
    flex-basis: 210px !important;
    max-width: 210px !important;
    margin-right: 10px !important; 
    border-radius: 6px !important;
}

/* --- PRODUCT DETAILS PAGE STYLES --- */
.product-showcase { background: #ffffff; padding: 40px 0; margin-top: 10px; }
.product-container { position: relative; z-index: 2; }
.product-image-card { background: transparent; border: none; padding: 0; text-align: center; box-shadow: none; }
.product-image { width: 100%; max-width: 100%; height: auto; display: flex; align-items: center; justify-content: center; background: transparent; border-radius: 0; margin: 0; cursor: ew-resize; }
.gallery-controls { position: relative; }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: #fff; border: none; width: 36px; height: 36px; border-radius: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery-btn.prev { left: 8px; }
.gallery-btn.next { right: 8px; }
.thumbs img { transition: border-color 0.2s ease; }
.thumbs img.active { border-color: #667eea !important; }
.thumb-img { width: 80px; height: 80px; object-fit: cover; border: 2px solid #e5e7eb; padding: 2px; cursor: pointer; }
.product-image img { width: 100%; height: 500px; object-fit: contain; padding: 4px; }
.product-info-card { padding: 0; }
.product-title { font-size: 1.8rem; font-weight: 700; color: #2c3e50; margin-bottom: 15px; line-height: 1.3; }
.product-subtitle { font-size: 0.9rem; color: #7f8c8d; margin-bottom: 15px; }
.price-section { margin: 20px 0; }
.price-amount { font-size: 2rem; font-weight: 700; color: #e74c3c; }
.price-notify { color: #7f8c8d; font-size: 0.9rem; margin-top: 10px; }
.storage-section { margin: 25px 0; }
.storage-title { font-weight: 600; margin-bottom: 15px; color: #2c3e50; }
.features-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: center; padding: 12px 15px; background: #f8f9ff; border: 1px solid #e9ecef; border-radius: 8px; transition: all 0.3s ease; }
.feature-item:hover { background: #e6f3ff; transform: translateX(5px); }
.feature-icon { margin-right: 12px; font-size: 1.2rem; width: 30px; text-align: center; }
.whatsapp-btn { background: #25d366; color: white; padding: 15px; border: none; border-radius: 8px; font-weight: 600; font-size: 1.1rem; width: 100%; margin: 20px 0; cursor: pointer; transition: all 0.3s ease; }
.whatsapp-btn:hover { background: #128c7e; transform: translateY(-2px); }
.quantity-section { margin: 20px 0; }
.quantity-controls { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.qty-btn { background: #f8f9fa; border: 1px solid #dee2e6; width: 40px; height: 40px; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.qty-btn:hover { background: #e9ecef; }
.qty-input { border: 1px solid #dee2e6; width: 60px; height: 40px; text-align: center; border-radius: 6px; }
.action-buttons { display: flex; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
.action-btn { display: flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid #dee2e6; background: white; border-radius: 6px; text-decoration: none; color: #6c757d; font-size: 0.9rem; transition: all 0.3s ease; }
.action-btn:hover { background: #f8f9fa; color: #495057; }
.cta-button { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); border: none; padding: 18px 40px; border-radius: 50px; color: white; font-weight: 600; font-size: 1.1rem; transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1); position: relative; overflow: hidden; box-shadow: 0 8px 25px rgba(245, 87, 108, 0.3); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.cta-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.6s; }
.cta-button:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 40px rgba(245, 87, 108, 0.4); color: white; }
.cta-button:hover::before { left: 100%; }
.cart-icon { font-size: 1.2rem; transition: transform 0.3s ease; }
.cta-button:hover .cart-icon { transform: scale(1.2) rotate(15deg); }
.specifications-section { background: #ffffff; border: 1px solid #e9ecef; border-radius: 12px; margin: 40px 0; overflow: hidden; }
.spec-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; font-size: 1.2rem; font-weight: 600; }
.spec-content { padding: 25px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.spec-item { padding: 15px; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #667eea; }
.spec-label { font-weight: 600; color: #495057; font-size: 0.9rem; margin-bottom: 5px; }
.spec-value { color: #6c757d; font-size: 1rem; }
.product-description { margin-top: 30px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px 25px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }
.product-description:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
.description-title { color: #111827; font-size: 1.4rem; font-weight: 600; margin-bottom: 15px; border-left: 4px solid #667eea; padding-left: 10px; }
.description-content { color: #374151; font-size: 1rem; line-height: 1.7; }

/* Responsive Overrides */
@media (max-width: 991px) {
    .contact-details-panel, .contact-form-panel { padding: 30px; }
    .contact-hero-premium h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .product-title { font-size: 1.5rem; }
    .price-amount { font-size: 1.7rem; }
    .product-image { height: 300px; }
    .product-image img { height: 300px; }
    .thumb-img { width: 60px; height: 60px; }
    .quantity-controls { justify-content: flex-start; }
    .action-buttons { flex-direction: column; }
    .spec-grid { grid-template-columns: 1fr; }
}

/* --- ABOUT US PAGE STYLES --- */
.about-us-page .banner-image { width: 100%; height: 250px; background: linear-gradient(135deg, #0066cc 0%, #004499 50%, #0033aa 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: 10px; margin-top: 10px; margin-bottom: 30px; }
.about-us-page .banner-image::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 2px, transparent 2px); background-size: 50px 50px; opacity: 0.3; }
.about-us-page .banner-text { color: white; font-size: 3rem; font-weight: 800; text-align: center; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); z-index: 2; position: relative; letter-spacing: 2px; }
.about-us-page .banner-subtitle { color: rgba(255, 255, 255, 0.9); font-size: 1.2rem; font-weight: 300; margin-top: 10px; letter-spacing: 1px; }
.about-us-page .content-section { padding: 30px 20px; background: transparent; }
.about-us-page .main-heading { font-size: 2.5rem; font-weight: 700; color: #0066cc; margin-bottom: 15px; text-align: center; }
.about-us-page .company-subtitle { font-size: 1.3rem; color: #666; text-align: center; margin-bottom: 40px; font-weight: 300; }
.about-us-page .description-box { background: #f8f9fa; border: 2px solid #0066cc; border-radius: 10px; padding: 30px; margin-bottom: 40px; font-size: 1.1rem; line-height: 1.7; color: #444; }
.about-us-page .description-box strong { color: #0066cc; font-weight: 600; }
.about-us-page .section-title { font-size: 2rem; font-weight: 600; color: #333; margin-bottom: 30px; padding-bottom: 10px; border-bottom: 3px solid #0066cc; display: inline-block; }
.about-us-page .offerings-grid { display: grid; gap: 20px; margin-bottom: 40px; }
.about-us-page .offering-card { background: white; border: 2px solid #e9ecef; border-radius: 10px; padding: 25px; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.about-us-page .offering-card:hover { border-color: #0066cc; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15); }
.about-us-page .offering-title { font-size: 1.2rem; font-weight: 600; color: #0066cc; margin-bottom: 12px; display: flex; align-items: center; }
.about-us-page .offering-title::before { content: '▶'; color: #0066cc; margin-right: 10px; font-size: 0.8rem; }
.about-us-page .offering-description { color: #555; line-height: 1.6; font-size: 1rem; margin: 0; }
.about-us-page .closing-statement { background: linear-gradient(135deg, #0066cc, #004499); color: white; padding: 30px; border-radius: 10px; font-size: 1.1rem; line-height: 1.7; text-align: center; margin-top: 30px; }
.about-us-page .closing-statement strong { font-weight: 700; text-decoration: underline; }

/* --- MY ACCOUNT PREMIUM SIDEBAR --- */
.myaccount-tab-menu {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background: #fff;
}
.myaccount-tab-menu a {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f3f5 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #495057 !important;
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.myaccount-tab-menu a:last-child {
    border-bottom: none !important;
}
.myaccount-tab-menu a i {
    width: 24px;
    font-size: 16px;
    margin-right: 12px;
    transition: all 0.3s ease;
}
.myaccount-tab-menu a.active {
    background: var(--theme-color) !important;
    color: #fff !important;
    border-color: var(--theme-color) !important;
}
.myaccount-tab-menu a:hover:not(.active) {
    background: #f8f9fa !important;
    color: var(--theme-color) !important;
}
.myaccount-tab-menu a:hover i {
    transform: scale(1.2);
}
.myaccount-tab-menu .logout-link {
    color: #e74c3c !important;
}
.myaccount-tab-menu .logout-link:hover {
    background: #fff5f5 !important;
}

@media (max-width: 768px) {
    .about-us-page .banner-text { font-size: 2rem; }
    .about-us-page .banner-subtitle { font-size: 1rem; }
    .about-us-page .main-heading { font-size: 2rem; }
    .about-us-page .content-section { padding: 20px 10px; }
    
    .header-flex-align { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .contact-hero-premium { padding: 50px 15px 30px; }
    .contact-details-panel { padding: 30px 15px; border-left: none; border-top: 1px solid #edf2f7; }
    .contact-form-panel { padding: 30px 15px; }
    .submit-btn-tech { padding: 14px 20px; font-size: 0.95rem; }
}

/* Base Mobile Overrides (480px and below) */
@media (max-width: 480px) {
    .about-us-page .banner-text { font-size: 1.6rem; letter-spacing: 1px; }
    .about-us-page .banner-subtitle { font-size: 0.9rem; }
    .about-us-page .banner-image { height: 180px; }
    .about-us-page .main-heading { font-size: 1.6rem; }
    .about-us-page .description-box { padding: 20px 15px; font-size: 1rem; }
    .about-us-page .section-title { font-size: 1.5rem; }
    .about-us-page .offering-card { padding: 15px; }
    .about-us-page .closing-statement { font-size: 1rem; padding: 20px 15px; }
    
    .contact-hero-premium h1 { font-size: 1.8rem; }
    .contact-hero-premium p { font-size: 0.95rem; }
    
    .product-title { font-size: 1.3rem; }
    .price-amount { font-size: 1.5rem; }
    .cta-button { padding: 14px 25px; font-size: 1rem; width: 100%; justify-content: center; }
    .spec-header, .description-title { font-size: 1.1rem; }
    .spec-item { padding: 10px; }
}

/* Small Mobile (420px) */
@media (max-width: 420px) {
    .about-us-page .banner-text { font-size: 1.4rem; }
    .contact-hero-premium h1 { font-size: 1.6rem; }
    .product-image { height: 260px; }
    .product-image img { height: 260px; }
    .thumb-img { width: 50px; height: 50px; }
}

/* Extra Small Mobile (380px) */
@media (max-width: 380px) {
    .about-us-page .banner-image { height: 160px; }
    .about-us-page .banner-subtitle { display: none; } /* Hide for space */
    .contact-hero-premium h1 { font-size: 1.4rem; margin-bottom: 10px; }
    .contact-details-panel { padding: 20px 10px; }
    .contact-form-panel { padding: 20px 10px; }
    .action-btn { padding: 8px 10px; font-size: 0.8rem; }
    .product-image { height: 220px; }
    .product-image img { height: 220px; }
}

/* Micro Mobile (320px) */
@media (max-width: 320px) {
    .about-us-page .banner-text { font-size: 1.2rem; }
    .about-us-page .main-heading { font-size: 1.4rem; }
    .contact-hero-premium h1 { font-size: 1.25rem; }
    .form-label-tech { font-size: 0.75rem; }
    .tech-input { padding: 10px 12px; font-size: 0.9rem; }
    .submit-btn-tech { padding: 12px 15px; font-size: 0.9rem; }
    .product-title { font-size: 1.1rem; }
    .price-amount { font-size: 1.3rem; }
    .cta-button { padding: 12px 20px; font-size: 0.9rem; }
    .qty-input { width: 45px; }
    .spec-item { flex-direction: column; align-items: flex-start; gap: 5px; }
}

/* Extra Large Screens (1200px - 1400px) */
@media (min-width: 1200px) and (max-width: 1400px) {
    .category-mega-menu { width: 800px; grid-template-columns: repeat(4, 1fr); padding: 25px !important; }
}

/* Ultra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .category-mega-menu { width: auto; max-width: 1000px; grid-template-columns: repeat(5, 1fr); padding: 40px !important; }
    .about-us-page .banner-image { height: 300px; }
    .contact-hero-premium { padding: 100px 0 60px; }
}
