: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: var(--theme-color, #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 layout: flex-based (fixes 1200px wishlist overflow) ═══ */
.header-middle-right .header-middle-block,
.header-middle-right .header-middle-block.header-flex-align {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
}

.header-flex-align {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.header-middle-right .header-middle-block .header-middle-searchbox,
.header-middle-right .header-middle-block .header-search-container {
    position: relative;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 560px !important;
    flex-basis: auto !important;
    width: auto !important;
    margin: 0 !important;
}

.header-middle-right .header-middle-block .header-mini-cart {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    max-width: 220px !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.header-wishlist {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    gap: 8px;
    margin-left: 0 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    background-color: var(--theme-color) !important;
    border: none !important;
    border-radius: 0px !important;
    height: 45px !important;
    padding: 0 20px !important;
    white-space: nowrap;
    min-width: 0;
    transition: background 0.3s ease !important;
}

.header-wishlist__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Make search inputs match 45px height */
.header-middle-right .header-middle-block .header-middle-searchbox input,
.header-middle-right .header-middle-block .header-middle-searchbox button.search-btn {
    height: 45px !important;
}

.header-wishlist__icon-wrap i {
    font-size: 20px;
}

.header-wishlist__badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--theme-color) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    border: 2px solid #ffffff !important;
    text-align: center;
}

.header-wishlist__label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

/* 1400px+ */
@media (min-width: 1400px) {
    .header-middle-right .header-middle-block .header-middle-searchbox,
    .header-middle-right .header-middle-block .header-search-container {
        max-width: 620px !important;
    }
}

/* 1200px–1399px — wishlist was breaking here (700px search + fixed cart) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header-middle-right .header-middle-block .header-middle-searchbox,
    .header-middle-right .header-middle-block .header-search-container {
        max-width: 420px !important;
    }

    .header-middle-right .header-middle-block .header-mini-cart {
        max-width: 190px !important;
    }

    .header-middle-right .header-middle-block .header-mini-cart .cart-total-price {
        font-size: 15px !important;
    }

    .header-middle-right .header-middle-block .header-mini-cart .cart-total-price span {
        font-size: 10px !important;
    }
}

@media (min-width: 992px) {
    .header-middle-area .col-lg-9,
    .header-middle-right {
        min-width: 0;
    }
}

/* 992px–1199px (lg / small laptop) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-middle-area {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .header-middle-right .header-middle-block .header-middle-searchbox,
    .header-middle-right .header-middle-block .header-search-container {
        max-width: 360px !important;
    }

    .header-middle-right .header-middle-block .header-mini-cart {
        max-width: 175px !important;
    }

    .header-wishlist {
        padding: 6px;
    }
}

/* 769px–991px: desktop header hidden; compact bar below */

.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99999 !important;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    display: none;
    max-height: 420px;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
}

.search-suggestions-dropdown::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.search-suggestions-dropdown {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Mobile search suggestions specific styles */
#mobile-search-suggestions {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    z-index: 99999 !important;
    max-height: 70vh;
    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;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* 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 */
    }
}

/* Category menu: no auto-open on small phones (320–480) */
@media (max-width: 480px) {
    .category-menu,
    .category-menu.hm-1,
    .premium-sidebar-active .category-menu,
    .premium-sidebar-active .category-menu:not(.js-user-closed),
    .main-header-inner .category-toggle-wrap nav.category-menu.hm-1 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .category-menu.mobile-category-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* 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-top: none;
    border-radius: 0 0 10px 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;
}

.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: var(--theme-color, #3498db);
}

/* 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;
    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: var(--theme-color) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0 20px !important;
    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: var(--theme-color) !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 #ffffff !important;
    text-align: center !important;
}

/* Keep cart badge red + white text on hover — same as wishlist badge */
.header-middle-right .header-middle-block .header-mini-cart:hover .mini-cart-btn span.cart-notification,
.main-header-inner.header-2 .mini-cart2 .header-mini-cart:hover .mini-cart-btn span.cart-notification,
.mobile-compact-cart .mini-cart-btn:hover .cart-notification {
    color: #ffffff !important;
    background-color: #e74c3c !important;
    border-color: #ffffff !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;
    border-color: color-mix(in srgb, var(--theme-color, #3498db) 30%, transparent);
}

.payment-method-item.active {
    border-color: var(--theme-color, #3498db);
    background: color-mix(in srgb, var(--theme-color, #3498db) 8%, #fff);
}

.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: var(--theme-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: var(--theme-color, #3498db);
    font-weight: 600;
    text-decoration: none;
}

.place-order-btn {
    width: 100%;
    background: var(--theme-color, #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: var(--darken-color, #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(--theme-color, #3498db);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color, #3498db) 15%, transparent);
    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: var(--darken-color, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px color-mix(in srgb, var(--theme-color, #3498db) 25%, transparent);
}

.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 (desktop) --- */
@media (min-width: 992px) {
    .header-middle-right .header-middle-block .header-mini-cart {
        flex-basis: auto !important;
        border-radius: 0 !important;
    }
}

/* --- SEARCH BUTTON STYLING --- */
/* Apply Color Schemes color to search button and remove hover effect */
.header-middle-right .header-middle-block .header-middle-searchbox button.search-btn {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
}

.header-middle-right .header-middle-block .header-middle-searchbox button.search-btn:hover {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
}

.header-middle-right .header-middle-block .header-middle-searchbox button.search-btn:hover i {
    color: #ffffff !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: 0;
}

.spec-table-container {
    width: 100%;
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.spec-table tr {
    border-bottom: 1px solid #e2e8f0 !important;
    transition: background-color 0.25s ease;
}

.spec-table tr:last-child {
    border-bottom: none !important;
}

.spec-table tr:hover {
    background-color: #f1f5f9 !important;
}

.spec-table td {
    padding: 16px 24px !important;
    font-size: 0.95rem;
    vertical-align: middle;
    line-height: 1.6;
}

.spec-table .spec-key {
    font-weight: 700;
    color: #1e293b;
    width: 28%;
    min-width: 180px;
    border-right: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
}

.spec-table .spec-val {
    color: #334155;
    font-weight: 500;
}

.raw-specifications {
    padding: 25px;
}

.raw-specifications table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 15px 0 !important;
}

.raw-specifications table tr {
    border-bottom: 1px solid #eef2f6 !important;
}

.raw-specifications table td,
.raw-specifications table th {
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    text-align: left !important;
    color: #334155 !important;
}

.raw-specifications table th {
    font-weight: 700 !important;
    color: #1e293b !important;
    background-color: #f8fafc !important;
}

@media (max-width: 576px) {
    .spec-table tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #eef2f6;
    }

    .spec-table .spec-key {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 12px 20px 8px;
        background-color: #f8fafc;
    }

    .spec-table .spec-val {
        width: 100%;
        padding: 8px 20px 12px;
    }
}

.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;
    }
}

/* --- HOVER ZOOM EFFECTS --- */
/* Index Page Product Images */
.product-thumb {
    overflow: hidden !important;
}

.product-thumb img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-thumb:hover img {
    transform: scale(1.15) !important;
}

/* Product Details Main Image */
.product-image {
    overflow: hidden !important;
}

.product-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-image:hover img {
    transform: scale(1.1) !important;
}

/* Gallery Thumbnails */
.thumb-img {
    transition: all 0.3s ease !important;
}

.thumb-img:hover {
    transform: scale(1.1) !important;
    border-color: var(--theme-color) !important;
    z-index: 10;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   DYNAMIC THEME OVERRIDES — All colors follow --theme-color
   ═══════════════════════════════════════════════════════════ */

/* --- Wishlist hover --- */
.header-wishlist {
    transition: color 0.3s ease, transform 0.2s ease;
}

.header-wishlist:hover {
    background-color: var(--darken-color, #2980b9) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.header-wishlist:hover i {
    color: #fff !important;
}

.header-wishlist:hover .header-wishlist__label {
    color: #fff !important;
}

/* --- Search Button --- */
.header-search-container button.search-btn {
    background: var(--theme-color, #3498db) !important;
    border-color: var(--theme-color, #3498db) !important;
    color: #fff !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header-search-container button.search-btn:hover {
    background: var(--darken-color, #2980b9) !important;
    border-color: var(--darken-color, #2980b9) !important;
}

/* --- Active Nav Link --- */
.main-menu ul li.active>a,
.main-menu ul li:hover>a {
    color: var(--theme-color, #3498db) !important;
}

/* --- Category Toggle (sidebar categories button) --- */
.category-toggle {
    background: var(--theme-color, #3498db) !important;
    color: #fff !important;
    transition: background 0.3s ease;
}

.category-toggle:hover {
    background: var(--darken-color, #2980b9) !important;
}

/* --- Category sidebar item hover --- */
.category-menu ul li:hover>a {
    background: var(--theme-color, #3498db) !important;
    color: #fff !important;
}

/* --- Header top area link hover --- */
.header-call-action a:hover,
.header-top-right ul li a:hover {
    color: var(--theme-color, #3498db) !important;
}

/* --- Breadcrumb active state --- */
.breadcrumb-wrap nav .breadcrumb .breadcrumb-item.active {
    color: var(--theme-color, #3498db) !important;
}

.breadcrumb-wrap nav .breadcrumb .breadcrumb-item a:hover {
    color: var(--theme-color, #3498db) !important;
}

/* --- Bootstrap btn-primary override --- */
.btn-primary {
    background-color: var(--theme-color, #3498db) !important;
    border-color: var(--border-color, #2980b9) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--darken-color, #217dbb) !important;
    border-color: var(--darken-color, #217dbb) !important;
}

/* --- btn-outline-primary override --- */
.btn-outline-primary {
    color: var(--theme-color, #3498db) !important;
    border-color: var(--theme-color, #3498db) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--theme-color, #3498db) !important;
    border-color: var(--theme-color, #3498db) !important;
    color: #fff !important;
}

/* --- Scroll to top button --- */
.scroll-top {
    background: var(--theme-color, #3498db) !important;
}

.scroll-top:hover {
    background: var(--darken-color, #2980b9) !important;
}

/* --- Pagination active item --- */
.paginatoin-area .pagination-box li.active a,
.paginatoin-area .pagination-box li a:hover {
    color: var(--theme-color, #3498db) !important;
}

/* --- Footer newsletter button --- */
.footer-top-wrapper .newsletter__wrap .newsletter__box button {
    background-color: var(--theme-color, #3498db) !important;
}

.footer-top-wrapper .newsletter__wrap .newsletter__box form button:hover {
    background-color: var(--darken-color, #2980b9) !important;
}

/* ═══ Mobile compact header (320–991px) ═══ */
@media (max-width: 991.98px) {
    .main-header-wrapper--desktop-nav {
        border-bottom: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .main-header-wrapper--desktop-nav .container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .main-header-wrapper--desktop-nav .main-header-inner {
        display: none !important;
    }

    #mobile-menu {
        display: none !important;
    }

    .mobile-compact-header {
        background: var(--theme-color, #3498db);
        position: sticky;
        top: 0;
        z-index: 999991;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .mobile-compact-header__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        min-height: 52px;
        padding: 6px 10px;
    }

    /* Hamburger (replaces meanmenu — no "MENU" label) */
    .mobile-nav-toggle {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        padding: 8px 6px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        border-radius: 4px;
    }

    .mobile-nav-toggle__bar {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 1px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobile-nav-toggle.is-active .mobile-nav-toggle__bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-nav-toggle.is-active .mobile-nav-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.is-active .mobile-nav-toggle__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Full-width slide-down drawer */
    .mobile-nav-drawer {
        position: fixed;
        inset: 0;
        z-index: 999990;
        pointer-events: none;
        visibility: hidden;
    }

    .mobile-nav-drawer.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .mobile-nav-drawer__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .mobile-nav-drawer.is-open .mobile-nav-drawer__backdrop {
        opacity: 1;
    }

    .mobile-nav-drawer__panel {
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 52px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
        transform: translateY(-12px);
        opacity: 0;
        transition: transform 0.28s ease, opacity 0.28s ease;
    }

    .mobile-nav-drawer.is-open .mobile-nav-drawer__panel {
        transform: translateY(0);
        opacity: 1;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }

    .mobile-nav-tabs {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .mobile-nav-tabs__btn {
        flex: 1 1 50%;
        border: none;
        margin: 0;
        padding: 14px 12px;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
        cursor: pointer;
        text-align: center;
        background: var(--theme-color, #3498db);
        color: #fff;
        border-top: 3px solid transparent;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-tabs__btn.is-active {
        background: #fff;
        color: #1e4a7a;
        border-top-color: #f39c12;
    }

    .mobile-nav-panels {
        background: #fff;
    }

    .mobile-nav-panel[hidden] {
        display: none !important;
    }

    .mobile-nav-panel.is-active {
        display: block;
    }

    .mobile-nav-link--btn {
        width: 100%;
    }

    .mobile-nav-item--logout form {
        margin: 0;
    }

    .mobile-nav-item--logout .mobile-nav-link--btn {
        color: #c0392b;
    }

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

    .mobile-nav-item {
        border-bottom: 1px solid #eee;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        color: #333;
        text-decoration: none;
        text-transform: capitalize;
        background: none;
        border: none;
        cursor: pointer;
        text-align: left;
    }

    .mobile-nav-item.is-active > .mobile-nav-link {
        color: var(--theme-color, #3498db);
    }

    .mobile-nav-sub {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0 0 8px;
        background: #f8f9fa;
    }

    .mobile-nav-sub li a {
        display: block;
        padding: 11px 20px 11px 28px;
        font-size: 14px;
        color: #555;
        text-decoration: none;
        border-bottom: 1px solid #eee;
    }

    .mobile-nav-sub li:last-child a {
        border-bottom: none;
    }

    .mobile-nav-sub li a:hover {
        color: var(--theme-color, #3498db);
        background: #fff;
    }

    .mobile-compact-logo {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        margin-right: auto;
        margin-left: 5px;
        padding: 4px 10px;
        height: 38px;
        overflow: hidden;
        text-decoration: none !important;
        line-height: 0;
        background-color: #ffffff;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    /* Crop PNG padding */
    .mobile-compact-logo__img {
        display: block;
        height: 40px;
        width: auto;
        max-width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        object-fit: contain;
        object-position: center;
        transform: scale(1.15);
        transform-origin: center center;
    }

    .mobile-compact-actions {
        display: flex;
        align-items: center;
        gap: 2px;
        flex-shrink: 0;
    }

    .mobile-nav-toggle:hover {
        background: rgba(255, 255, 255, 0.12);
    }

    .mobile-search-toggle,
    .mobile-compact-wishlist {
        width: 38px;
        height: 38px;
        border: none;
        background: transparent;
        color: #fff;
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        border-radius: 4px;
        text-decoration: none;
        position: relative;
    }

    .mobile-search-toggle:hover,
    .mobile-search-toggle[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.15);
    }

    .mobile-compact-wishlist__badge {
        position: absolute;
        top: 2px;
        right: 2px;
        background: #fff;
        color: var(--theme-color, #3498db);
        border-radius: 50%;
        width: 15px;
        height: 15px;
        font-size: 8px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-compact-cart {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        border: none !important;
        background: transparent !important;
    }

    .mobile-compact-cart .cart-total-price {
        display: none !important;
    }

    .mobile-compact-cart .mini-cart-btn {
        width: 38px;
        height: 38px;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
    }

    .mobile-compact-cart .mini-cart-btn i {
        color: #fff !important;
        font-size: 18px !important;
    }

    .mobile-compact-cart .mini-cart-btn .cart-notification {
        top: 2px !important;
        right: 2px !important;
        background: #fff !important;
        color: var(--theme-color, #3498db) !important;
        width: 15px !important;
        height: 15px !important;
        font-size: 8px !important;
    }

    .mobile-search-panel {
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 10px 0;
    }

    .mobile-search-panel[hidden] {
        display: none !important;
    }

    .mobile-search-panel.is-open {
        display: block !important;
    }

    .mobile-search-panel__form {
        display: flex;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        overflow: visible;
    }

    .mobile-search-panel__input {
        flex: 1;
        border: none;
        padding: 10px 12px;
        font-size: 14px;
        min-width: 0;
    }

    .mobile-search-panel__btn {
        flex: 0 0 44px;
        border: none;
        background: var(--theme-color, #3498db);
        color: #fff;
    }
}

@media (max-width: 480px) {
    .mobile-nav-drawer__panel {
        top: 48px;
        max-height: calc(100vh - 48px);
    }

    .mobile-compact-header__bar {
        min-height: 48px;
        padding: 4px 8px;
    }

    .mobile-compact-logo {
        height: 36px;
        max-width: 120px;
    }

    .mobile-compact-logo__img {
        height: 42px;
        max-width: 115px;
        transform: scale(1.18);
    }

    .mobile-search-toggle,
    .mobile-compact-wishlist,
    .mobile-compact-cart .mini-cart-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .mobile-compact-actions {
        gap: 0;
    }

    .mobile-compact-logo {
        max-width: 105px;
    }

    .mobile-compact-logo__img {
        height: 40px;
        max-width: 100px;
        transform: scale(1.15);
    }
}

@media (max-width: 320px) {
    .mobile-compact-header__bar {
        padding: 4px 6px;
    }

    .mobile-compact-logo {
        max-width: 92px;
    }

    .mobile-compact-logo__img {
        height: 38px;
        max-width: 90px;
        transform: scale(1.12);
    }
}