/* Final light theme pass. Loaded after every legacy stylesheet. */
:root {
    color-scheme: light;
}

html, body { background:#f6f7fb !important; color:#20232b !important; }
#app { background:#f6f7fb; }
#loader { background:#f6f7fb !important; }
.loader-spinner { border-color:rgba(32,35,43,.12) !important; border-top-color:#e64545 !important; }
html[data-theme="dark"] #loader {
    background:#0d1119 !important;
}
html[data-theme="dark"] #loader .loader-spinner {
    border-color:rgba(255,255,255,.14) !important;
    border-top-color:#e64545 !important;
}

.topbar { background:#fff !important; border-color:#eceef3 !important; color:#687083 !important; }
.navbar { background:#fff !important; border-color:#eceef3 !important; }
.footer { background:#fff !important; color:#687083 !important; border-top:1px solid #e3e7ef !important; }
.footer h5, .footer p, .footer li a, .footer-bottom, .footer-about p { color:#687083 !important; }
.footer h5, .footer-logo, .footer-logo:hover { color:#20232b !important; }
.footer li a:hover { color:#e64545 !important; }
.footer-trust { border-color:#e3e7ef !important; }

.mega-menu, .offcanvas, .modal-content, .dropdown-menu { background:#fff !important; color:#20232b !important; border-color:#e3e7ef !important; box-shadow:0 18px 45px rgba(31,38,57,.12) !important; }
.mega-column a, .mobile-menu a { color:#687083 !important; }
.mega-column a:hover, .mega-column .mega-title, .mobile-menu a:hover { color:#e64545 !important; }
.mobile-menu li, .offcanvas-header { border-color:#e3e7ef !important; }

/* Anchor the categories mega menu to the Products nav item. */
@media (min-width: 992px) {
    .desktop-menu .mega-parent { position:relative; }
    .desktop-menu .mega-parent > a { justify-content:center; }
    .desktop-menu .mega-parent > .mega-menu {
        right:50% !important;
        left:auto !important;
        transform:translate(50%, -10px) !important;
    }
    .desktop-menu .mega-parent:hover > .mega-menu,
    .desktop-menu .mega-parent:focus-within > .mega-menu {
        transform:translate(50%, 0) !important;
    }
}

/* Keep the header and magazine search controls distinct from the light page background. */
.search-box {
    background:#fff !important;
    border:1px solid #d9dee8 !important;
    box-shadow:0 4px 14px rgba(31,38,57,.07) !important;
}
.search-box input { background:transparent !important; color:#20232b !important; }
.search-box input::placeholder { color:#8a91a0 !important; }
.search-box:focus-within { border-color:#e64545 !important; box-shadow:0 0 0 3px rgba(230,69,69,.12) !important; }
.search-form {
    background:#fff !important;
    border:1px solid #d9dee8 !important;
    box-shadow:0 4px 14px rgba(31,38,57,.05) !important;
}
.search-form input { background:#fff !important; color:#20232b !important; }
.search-form input::placeholder { color:#8a91a0 !important; }
.search-form button { color:#e64545 !important; }

/* Desktop header: centered logo above the navigation row. */
@media (min-width: 992px) {
    .navbar-inner {
        min-height:126px !important;
        padding-top:10px;
        padding-bottom:10px;
        flex-direction:column !important;
        justify-content:flex-start !important;
    }
    .header-logo {
        position:static !important;
        transform:none !important;
        display:flex !important;
        align-items:center;
        justify-content:center;
        gap:8px;
        margin:0 0 10px;
        line-height:1;
    }
    .desktop-menu { order:2; }
}

@media (max-width: 991px) {
    .header-logo {
        position:static !important;
        transform:none !important;
        margin:0 auto;
    }
    .navbar-inner { min-height:64px !important; }
}

/* Magazine hero/card follows the current light visual language. */
.blog-hero {
    background:linear-gradient(135deg,#fff,#f4f6fa) !important;
    color:#20232b !important;
    border:1px solid #e3e7ef !important;
    box-shadow:0 8px 28px rgba(31,38,57,.06) !important;
}
.blog-hero h1 { color:#20232b !important; }
.blog-hero p { color:#687083 !important; }
.blog-card { background:#fff !important; color:#20232b !important; border-color:#e3e7ef !important; }
.blog-body { background:#fff !important; }
.blog-body h3 { color:#20232b !important; }
.blog-body p, .blog-footer { color:#687083 !important; }
.blog-category, .blog-footer a { color:#e64545 !important; }

.filter-box, .products-toolbar, .product-card, .wishlist-card, .related-products-grid .product-card,
.profile-sidebar, .profile-card, .dashboard-card, .order-card, .address-card,
.auth-card, .cart-items, .cart-summary, .contact-card, .contact-info,
.article-card, .blog-card, .product-info, .product-gallery, .product-tabs,
.payment-result-card, .about-card, .feature-card, .brand-card, .category-card {
    background:#fff !important;
    color:#20232b !important;
    border-color:#e3e7ef !important;
    box-shadow:0 8px 28px rgba(31,38,57,.06) !important;
}

/* Restore a comfortable, standard-sized authentication panel. */
.auth-page { padding:56px 0 72px !important; }
.auth-card {
    width:min(100%, 700px) !important;
    max-width:700px !important;
    min-height:420px;
    margin:0 auto !important;
    padding:46px 68px !important;
    border-radius:18px !important;
    box-sizing:border-box;
}
.auth-logo { margin-bottom:28px !important; }
.auth-card h1 { font-size:clamp(24px,3vw,32px); margin-bottom:14px !important; }
.auth-card p { line-height:1.9; margin-bottom:30px !important; }
.auth-card .form-control { height:52px !important; min-height:52px; padding:0 16px; border-radius:10px; }
.auth-btn { height:52px !important; min-height:52px; border-radius:10px !important; }
.otp-inputs { gap:13px; margin:30px 0; }
.otp-input { width:58px !important; height:60px !important; }

@media (max-width: 576px) {
    .auth-page { padding:32px 0 48px !important; }
    .auth-card {
        width:calc(100% - 24px) !important;
        max-width:none !important;
        min-height:0;
        padding:32px 22px !important;
    }
    .auth-logo { font-size:24px; margin-bottom:24px !important; }
    .auth-card h1 { font-size:25px; }
    .otp-inputs { gap:7px; margin:26px 0; }
    .otp-input { width:clamp(40px, 12vw, 50px) !important; height:52px !important; font-size:20px; }
}

/* Keep product cards equal-height regardless of their content. */
.products-grid, .related-products-grid, .wishlist-grid { align-items:stretch; }
.products-grid .product-card, .related-products-grid .product-card, .wishlist-grid .wishlist-card,
.home-product-slide .product-card {
    height:100% !important;
    min-height:420px;
    display:flex !important;
    flex-direction:column;
}
.products-grid .product-image, .related-products-grid .product-image, .wishlist-grid .product-image,
.home-product-slide .product-image { flex:0 0 205px; height:205px !important; }
.products-grid .product-body, .related-products-grid .product-body, .wishlist-grid .product-body,
.home-product-slide .product-body { flex:1 1 auto; display:flex; flex-direction:column; min-height:0; }
.products-grid .product-body h3, .related-products-grid .product-body h3, .wishlist-grid .product-body h3,
.home-product-slide .product-body h3 { min-height:46px; max-height:46px; overflow:hidden; }
.products-grid .product-price, .related-products-grid .product-price, .wishlist-grid .product-price { margin-top:auto; min-height:42px; }
.products-grid .add-cart-btn, .related-products-grid .add-cart-btn, .wishlist-grid .add-cart-btn,
.home-product-card .home-product-price { margin-top:auto; }
.home-product-card { min-height:350px !important; }
.home-product-card .product-image { flex-basis:165px; height:165px !important; }
.home-product-card .product-body { min-height:92px; }

.error-box, .error-card, .order-modal, .order-products, .shipping-method-content,
.shipping-method-header, .address-box, .discount-input, .review-box, .review-summary,
.tab-card, .mini-product, .blog-toolbar, .blog-categories, .quick-filters, .filter-chip,
.contact-map, .modal-body, .modal-footer, .modal-header {
    background:#fff !important;
    color:#20232b !important;
    border-color:#e3e7ef !important;
}
.filter-chip { color:#687083 !important; }
.filter-chip.active, .filter-chip:hover { background:#e64545 !important; color:#fff !important; }
.shipping-method-icon, .feature-icon, .category-icon { background:#fff !important; color:#e64545 !important; }
.order-number, .order-top, .order-bottom { border-color:#e3e7ef !important; color:#687083 !important; }

.filter-box h5, .product-body h3, .product-info h1, .cart-info h5,
.cart-summary h4, .profile-card h3, .order-card h5, .article-content h1,
.blog-body h3, .contact-card h3, .about-card h2, .feature-card h4 { color:#20232b !important; }
.contact-card label,
.contact-info h3,
.contact-info .info-item strong,
.contact-map-header h3 { color:#20232b !important; }
.contact-info .info-item span,
.contact-map-header p { color:#687083 !important; }
.contact-card .form-control,
.contact-card .form-select { background:#f7f8fa !important; color:#20232b !important; border-color:#e0e4ec !important; }
.contact-card .form-control::placeholder { color:#8a91a0 !important; }
.contact-card .form-control:focus,
.contact-card .form-select:focus { background:#fff !important; color:#20232b !important; border-color:#e64545 !important; }
.product-category, .product-rating span, .cart-info span, .breadcrumb, .page-title p,
.article-meta, .newsletter-text, .summary-row, .profile-menu a, .product-info p { color:#687083 !important; }
.product-price strong, .cart-price, .summary-row strong { color:#20232b !important; }
.cart-page .cart-info h5,
.cart-page .cart-price,
.cart-page .cart-summary h4,
.cart-page .summary-total span,
.cart-page .discount-box label,
.cart-page .shipping-title,
.cart-page .shipping-method-header strong { color:#20232b !important; }
.cart-page .cart-info span,
.cart-page .summary-row span,
.cart-page .shipping-method-meta,
.cart-page .continue-shopping { color:#687083 !important; }
.cart-page .cart-quantity button,
.cart-page .cart-quantity input {
    background:#f7f8fa !important;
    color:#20232b !important;
    border-color:#e0e4ec !important;
}
.cart-page .remove-item { background:#fff1f1 !important; color:#d9364f !important; }
.cart-page .discount-input input {
    background:#f7f8fa !important;
    color:#20232b !important;
    border-color:#e0e4ec !important;
}
.cart-page .discount-input input::placeholder { color:#8a91a0 !important; }
.cart-page .discount-input input:focus { background:#fff !important; color:#20232b !important; border-color:#e64545 !important; }
.cart-page .shipping-method-content { background:#fff !important; border-color:#e0e4ec !important; color:#20232b !important; }
.cart-page .shipping-method:hover .shipping-method-content { border-color:#e64545 !important; }
.cart-page .shipping-method input:checked + .shipping-method-content { background:#fff5f5 !important; border-color:#e64545 !important; }
.cart-page .shipping-price { color:#e64545 !important; }
/* Orders list and order-details modal theme surfaces. */
.orders-list .order-card { background:#fff !important; color:#20232b !important; border:1px solid #e3e7ef !important; box-shadow:0 8px 28px rgba(31,38,57,.06) !important; }
.orders-list .order-top, .orders-list .order-bottom { border-color:#e3e7ef !important; }
.orders-list .order-number, .orders-list .order-bottom strong, .orders-list .mini-product h6 { color:#20232b !important; }
.orders-list .order-top small, .orders-list .mini-product span { color:#687083 !important; }
.orders-list .mini-product img { background:#f7f8fa !important; }
.orders-list .order-modal { background:#fff !important; color:#20232b !important; border:1px solid #e3e7ef !important; }
.orders-list .order-modal .modal-header, .orders-list .order-modal .modal-body { background:#fff !important; color:#20232b !important; }
.orders-list .order-modal .modal-header { border-color:#e3e7ef !important; }
.orders-list .order-modal h4, .orders-list .order-modal h5, .orders-list .order-modal h6, .orders-list .order-modal strong { color:#20232b !important; }
.orders-list .order-modal small, .orders-list .order-modal .order-item span, .orders-list .order-modal .order-summary-card li span, .orders-list .order-modal .address-box p, .orders-list .order-modal .price-summary span { color:#687083 !important; }
.orders-list .order-modal .order-item, .orders-list .order-modal .order-summary-card { background:#f7f8fa !important; color:#20232b !important; border:1px solid #e0e4ec !important; }
.orders-list .order-modal .order-item img { background:#fff !important; }
.orders-list .order-modal hr, .orders-list .order-modal .total-price { border-color:#e3e7ef !important; }
.orders-list .order-modal .total-price strong { color:#e64545 !important; }

.product-image, .related-products-grid .product-card .product-image, .wishlist-card .product-image,
.main-image, .thumbnail-images img, .cart-item img, .price-box, .discount-box, .shipping-box,
.products-toolbar select, .form-control, .form-select, .otp-input, .account-form input,
.account-form textarea, .account-form select { background:#f7f8fa !important; color:#20232b !important; border-color:#e0e4ec !important; }
.products-page .filter-box .manual-price-inputs input {
    background:#f7f8fa !important;
    color:#20232b !important;
    border-color:#e0e4ec !important;
    direction:rtl;
    text-align:right;
}
.products-page .filter-box .manual-price-inputs input::placeholder {
    color:#8a91a0 !important;
    text-align:right;
    direction:rtl;
}
.form-control::placeholder, .form-select::placeholder, .account-form input::placeholder { color:#8a91a0 !important; }
.form-control:focus, .form-select:focus, .account-form input:focus, .account-form textarea:focus { background:#fff !important; color:#20232b !important; border-color:#e64545 !important; box-shadow:0 0 0 3px rgba(230,69,69,.12) !important; }
.profile-page .account-form label,
.profile-page .account-form .form-check-label,
.profile-page .account-form legend { color:#20232b !important; }
.price-box del { color:#8a91a0 !important; }
.product-tab-nav { border-color:#e3e7ef !important; }
.product-tab-nav .nav-link { color:#687083 !important; }
.product-tab-nav .nav-link.active { color:#fff !important; background:#e64545 !important; }
.product-spec-table, .product-spec-table td, .product-spec-table th { color:#687083 !important; border-color:#e3e7ef !important; }
.product-tabs .tab-card { background:#fff !important; color:#20232b !important; }
.product-tabs .tab-card h3,
.product-tabs .tab-card h4,
.product-tabs .tab-card h5,
.product-tabs .tab-card p,
.product-tabs .tab-card li { color:#20232b !important; }
.product-tabs .review-form label,
.product-tabs .review-list h4 { color:#20232b !important; }
.product-tabs .review-box { background:#f7f8fa !important; color:#20232b !important; border:1px solid #e0e4ec !important; }
.product-tabs .review-box h5,
.product-tabs .review-box p { color:#20232b !important; }
.product-tabs .review-summary { color:#20232b !important; border-color:#e3e7ef !important; }
.product-tabs .review-summary h4,
.product-tabs .review-summary p { color:#20232b !important; }
.product-tabs .review-form .form-control,
.product-tabs .review-form .form-select { background:#f7f8fa !important; color:#20232b !important; border-color:#e0e4ec !important; }
.product-tabs .review-form .form-control:focus,
.product-tabs .review-form .form-select:focus { background:#fff !important; color:#20232b !important; border-color:#e64545 !important; }
.product-tabs .product-video { background:#f0f2f6 !important; border-color:#e0e4ec !important; }

.cart-item { border-color:#e3e7ef !important; }
.cart-quantity input, .cart-quantity button { background:#f7f8fa !important; color:#20232b !important; border-color:#e0e4ec !important; }
.payment-result-actions .secondary-btn { background:#f0f2f6 !important; color:#3d4350 !important; border-color:#dfe3eb !important; }
.payment-result-actions .secondary-btn:hover { background:#e8ebf1 !important; color:#20232b !important; }
.modal-header, .modal-footer { border-color:#e3e7ef !important; }
.modal-body { color:#687083 !important; }
.order-modal label,
.order-modal .form-check-label { color:#20232b !important; }
.order-modal .form-control,
.order-modal .form-select {
    background:#f7f8fa !important;
    color:#20232b !important;
    border-color:#e0e4ec !important;
}
.order-modal .form-control::placeholder { color:#8a91a0 !important; }
.order-modal .form-control:focus,
.order-modal .form-select:focus {
    background:#fff !important;
    color:#20232b !important;
    border-color:#e64545 !important;
    box-shadow:0 0 0 3px rgba(230,69,69,.12) !important;
}
.order-modal .modal-footer { border-color:#e3e7ef !important; }
.order-modal .form-check-input { background-color:#f7f8fa !important; border-color:#cbd2df !important; }
.order-modal .form-check-input:checked { background-color:#e64545 !important; border-color:#e64545 !important; }
#addressModal .order-modal,
#addressModal .order-modal .modal-header,
#addressModal .order-modal .modal-body,
#addressModal .order-modal .modal-footer { color:#20232b !important; }
#addressModal .order-modal { background:#fff !important; border:1px solid #e3e7ef !important; }
#addressModal .order-modal h4 { color:#20232b !important; }
.table { --bs-table-bg:transparent; --bs-table-color:#687083; --bs-table-border-color:#e3e7ef; }
.text-muted { color:#687083 !important; }
.home-product-section { padding-top:36px; }
.home-product-section .section-header { align-items:center; }
.home-section-actions { display:flex; align-items:center; gap:18px; }
.home-section-actions > a { color:#e64545; white-space:nowrap; }
.home-products-swiper { overflow:hidden; padding:4px 2px 18px; }
.home-product-slide { height:auto; }
.home-product-card { height:100%; min-height:0; padding:10px; border-radius:12px; position:relative; }
.home-product-card .product-image-link { display:block; }
.home-product-card .product-image { height:165px; padding:12px; border-radius:9px; object-fit:contain; }
.home-product-card .product-body { padding:10px 4px 2px; }
.home-product-card .product-body h3 { height:44px; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:13px; line-height:1.7; text-align:center; }
.home-product-price { margin-top:9px; display:flex; flex-direction:column; gap:6px; align-items:stretch; }
.home-product-price del { color:#8a91a0; font-size:11px; text-align:center; }
.home-price-button { min-height:36px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:#e64545; color:#fff !important; font-size:14px; line-height:1.4; font-weight:700; white-space:nowrap; }
.home-price-button:hover { background:#c93232; color:#fff !important; }
.home-product-card .wishlist-btn { width:30px; height:30px; top:16px; right:16px; font-size:12px; }
.home-product-card .discount-badge {
    top:14px;
    left:14px;
    width:max-content;
    max-width:calc(100% - 70px);
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    font-size:10px;
    padding:4px 7px;
}
.related-products-swiper { overflow:hidden; padding:4px 2px 18px; }
.related-products-swiper .swiper-wrapper { align-items:stretch; }
.related-products-swiper .related-product-slide,
.related-products-swiper > .swiper-wrapper > article { height:auto; display:flex; }
.related-products-swiper > .swiper-wrapper > article.home-product-card {
    width:100%;
    min-height:350px !important;
    padding:10px;
}
.related-products-swiper > .swiper-wrapper > article.home-product-card > a:first-of-type {
    display:block;
    width:100%;
}
.related-products-swiper > .swiper-wrapper > article.home-product-card > a:first-of-type .product-image {
    width:100%;
    height:165px !important;
    padding:12px;
    border-radius:9px;
    object-fit:contain;
}
.related-products-swiper .product-category,
.related-products-swiper .product-rating { display:none; }
.related-products-swiper .product-body { padding:10px 4px 2px; }
.related-products-swiper .product-body h3 {
    height:44px;
    min-height:44px;
    max-height:44px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:13px;
    line-height:1.7;
    text-align:center;
}
.related-products-swiper .product-price {
    margin-top:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
}
.related-products-swiper .product-price del { color:#8a91a0; font-size:11px; text-align:center; }
.related-products-swiper .product-price strong {
    min-height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#e64545;
    color:#fff !important;
    font-size:14px;
    line-height:1.4;
    white-space:nowrap;
}
.related-products-swiper .add-cart-btn { display:none; }
.related-swiper-controls { display:flex; gap:7px; direction:ltr; justify-content:flex-start; margin-top:4px; }
.related-swiper-controls button { width:32px; height:32px; display:grid; place-items:center; border:1px solid #e0e4ec; border-radius:8px; background:#fff; color:#687083; }
.related-swiper-controls button:hover { background:#e64545; border-color:#e64545; color:#fff; }
.related-swiper-controls button.swiper-button-disabled { opacity:.4; cursor:not-allowed; }
html[data-theme="dark"] .related-swiper-controls button { background:#1a2230 !important; color:#f4f6fb !important; border-color:#344055 !important; }
html[data-theme="dark"] .related-swiper-controls button:hover { background:#e64545 !important; color:#fff !important; border-color:#e64545 !important; }

/* Use the compact homepage card language in the products listing too. */
.products-page .products-grid .home-product-card {
    min-height:350px !important;
    padding:10px;
}
.products-page .home-product-card .product-image-wrapper {
    position:relative;
    flex:0 0 165px;
    height:165px;
    overflow:hidden;
    border-radius:9px;
}
.products-page .home-product-card .product-image-wrapper .product-image {
    width:100%;
    height:165px !important;
    padding:12px;
    object-fit:contain;
}
.products-page .home-product-card .product-body { padding:10px 4px 2px; }
.products-page .home-product-card .product-category,
.products-page .home-product-card .product-rating { display:none; }
.products-page .home-product-card .product-body h3 {
    height:44px;
    min-height:44px;
    max-height:44px;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:13px;
    line-height:1.7;
    text-align:center;
}
.products-page .home-product-card .product-body h3 a { color:#20232b !important; }
.products-page .home-product-card .product-price {
    margin-top:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
}
.products-page .home-product-card .product-price del { color:#8a91a0; font-size:11px; text-align:center; }
.products-page .home-product-card .product-price strong {
    min-height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#e64545;
    color:#fff !important;
    font-size:14px;
    line-height:1.4;
    font-weight:700;
    white-space:nowrap;
}
.products-grid .product-price strong,
.related-products-grid .product-price strong,
.wishlist-grid .product-price strong { font-size:14px; line-height:1.4; }
.products-page .home-product-card .add-cart-btn { display:none; }
.products-page .home-product-card .product-badge {
    position:absolute;
    z-index:2;
    top:14px;
    left:14px;
    right:auto !important;
    width:max-content;
    max-width:calc(100% - 70px);
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    padding:4px 7px;
    border-radius:999px;
    background:#e64545;
    color:#fff;
    font-size:10px;
    font-weight:700;
}
.products-page .home-product-card .product-badge.stock-badge { top:44px; }
.products-page .home-product-card .wishlist-btn { top:16px; right:16px; left:auto; z-index:3; }
.hero-banner-wide { width:100%; }
.hero-banner-wide .hero-slider {
    width:100%;
    min-height:320px;
    border-radius:18px;
    box-shadow:0 12px 34px rgba(31,38,57,.10);
}
.hero-banner-wide .hero-slider img {
    width:100%;
    height:clamp(300px,32vw,430px);
    object-fit:cover;
}
.hero-banner-wide .carousel-item { min-height:clamp(300px,32vw,430px); }
.hero-banner-wide .carousel-indicators { margin-bottom:14px; }
.hero-banner-wide .carousel-indicators button { width:24px; height:4px; border:0; border-radius:99px; opacity:.55; }
.hero-banner-wide .carousel-indicators button.active { opacity:1; background:#e64545; }
.hero-banner-wide .carousel-control-prev,
.hero-banner-wide .carousel-control-next { width:7%; opacity:.85; }
.hero-banner-wide .hero-empty-state { min-height:clamp(300px,32vw,430px); }
.swiper-nav-buttons { display:flex; gap:7px; direction:ltr; }
.swiper-nav-buttons button { width:32px; height:32px; display:grid; place-items:center; border:1px solid #e0e4ec; border-radius:8px; background:#fff; color:#687083; }
.swiper-nav-buttons button:hover { background:#e64545; border-color:#e64545; color:#fff; }
.swiper-nav-buttons button.swiper-button-disabled { opacity:.4; cursor:not-allowed; }
.home-mid-banner { padding:32px 0 10px; }
.mid-banner-card { position:relative; display:block; min-height:250px; overflow:hidden; border-radius:16px; border:1px solid #e3e7ef; background:#fff; box-shadow:0 10px 30px rgba(31,38,57,.08); }
.mid-banner-card img { width:100%; height:250px; object-fit:cover; display:block; }
.mid-banner-card::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(18,24,36,.72)); }
.mid-banner-content { position:absolute; z-index:1; top:50%; right:7%; transform:translateY(-50%); color:#fff; text-align:right; }
.mid-banner-content span { color:#ffd7d7; font-size:13px; }
.mid-banner-content h2 { margin:8px 0; font-size:clamp(22px,3vw,38px); }
.mid-banner-content p { margin-bottom:14px; color:#f1f3f7; }
.mid-banner-content strong { color:#fff; }
.hero-empty-state { min-height:380px; display:grid; place-items:center; align-content:center; background:linear-gradient(135deg,#fff,#f1f3f8); color:#20232b; text-align:center; }

@media (max-width: 767px) {
    .filter-sidebar, .products-content, .profile-page, .cart-page { background:#f6f7fb !important; }
    .home-section-actions { gap:8px; }
    .home-section-actions > a { font-size:12px; }
    .swiper-nav-buttons button { width:28px; height:28px; }
    .home-product-card .product-image { height:125px; }
    .products-grid .product-card, .related-products-grid .product-card, .wishlist-grid .wishlist-card,
    .home-product-slide .product-card { min-height:350px; }
    .products-grid .product-image, .related-products-grid .product-image, .wishlist-grid .product-image,
    .home-product-slide .product-image { flex-basis:155px; height:155px !important; }
    .home-product-card { min-height:300px !important; }
    .home-product-card .product-image { flex-basis:125px; height:125px !important; }
    .home-product-card .product-body h3 { font-size:11px; }
    .home-product-price del { font-size:10px; }
    .home-price-button { min-height:34px; font-size:12px; }
    .products-page .products-grid .home-product-card { min-height:300px !important; }
    .products-page .home-product-card .product-image-wrapper {
        flex-basis:125px;
        height:125px;
    }
    .products-page .home-product-card .product-image-wrapper .product-image { height:125px !important; }
    .products-page .home-product-card .product-body h3 { font-size:11px; }
    .products-grid .product-price strong,
    .related-products-grid .product-price strong,
    .wishlist-grid .product-price strong,
    .products-page .home-product-card .product-price strong { font-size:12px; }
    .hero-banner-wide .hero-slider,
    .hero-banner-wide .carousel-item,
    .hero-banner-wide .hero-empty-state { min-height:240px; }
    .hero-banner-wide .hero-slider img { height:240px; }
    .hero-banner-wide .hero-overlay { width:68%; }
}

/* Theme switch */
.theme-toggle { flex:0 0 auto; }
html[data-theme="light"] .auth-logo,
html[data-theme="light"] .price-box strong,
html[data-theme="light"] .cart-info h5,
html[data-theme="light"] .summary-row strong,
html[data-theme="light"] .profile-menu li.active a,
html[data-theme="light"] .dashboard-card h3,
html[data-theme="light"] .order-card h5 { color:#20232b !important; }

/* Dark mode overrides the light visual pass while keeping component contrast. */
html[data-theme="dark"] {
    color-scheme:dark;
    --bg:#0d1119;
    --surface:#151b27;
    --surface-hover:#1d2533;
    --border:#2b3444;
    --text:#f4f6fb;
    --text-light:#b8c0cf;
}
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] #app { background:#0d1119 !important; color:#f4f6fb !important; }
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .navbar { background:#111722 !important; border-color:#273142 !important; }
html[data-theme="dark"] .footer { background:#080b12 !important; border-color:#273142 !important; color:#b8c0cf !important; }
html[data-theme="dark"] .footer h5,
html[data-theme="dark"] .footer-logo,
html[data-theme="dark"] .footer-logo:hover { color:#fff !important; }
html[data-theme="dark"] .footer p,
html[data-theme="dark"] .footer li a,
html[data-theme="dark"] .footer-bottom,
html[data-theme="dark"] .footer-about p { color:#b8c0cf !important; }
html[data-theme="dark"] .logo,
html[data-theme="dark"] .logo:hover,
html[data-theme="dark"] .nav-menu a { color:#f4f6fb !important; }
html[data-theme="dark"] .search-box,
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .basket-control,
html[data-theme="dark"] .swiper-nav-buttons button { background:#1a2230 !important; color:#f4f6fb !important; border-color:#344055 !important; }
html[data-theme="dark"] .search-box input { color:#f4f6fb !important; }
html[data-theme="dark"] .search-box input::placeholder { color:#9aa6b8 !important; }
html[data-theme="dark"] .mega-menu,
html[data-theme="dark"] .offcanvas,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dropdown-menu { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .mega-column a,
html[data-theme="dark"] .mobile-menu a { color:#b8c0cf !important; }
html[data-theme="dark"] .mega-column a:hover,
html[data-theme="dark"] .mega-column .mega-title,
html[data-theme="dark"] .mobile-menu a:hover { color:#fff !important; }
html[data-theme="dark"] .filter-box,
html[data-theme="dark"] .products-toolbar,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .wishlist-card,
html[data-theme="dark"] .profile-sidebar,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .dashboard-card,
html[data-theme="dark"] .order-card,
html[data-theme="dark"] .address-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .cart-items,
html[data-theme="dark"] .cart-summary,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .contact-info,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .product-info,
html[data-theme="dark"] .product-gallery,
html[data-theme="dark"] .product-tabs,
html[data-theme="dark"] .payment-result-card,
html[data-theme="dark"] .about-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .brand-card,
html[data-theme="dark"] .category-card { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .product-tabs .tab-card { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .product-tabs .tab-card h3,
html[data-theme="dark"] .product-tabs .tab-card h4,
html[data-theme="dark"] .product-tabs .tab-card h5,
html[data-theme="dark"] .product-tabs .tab-card p,
html[data-theme="dark"] .product-tabs .tab-card li,
html[data-theme="dark"] .product-tabs .review-form label,
html[data-theme="dark"] .product-tabs .review-list h4,
html[data-theme="dark"] .product-tabs .review-summary h4,
html[data-theme="dark"] .product-tabs .review-summary p { color:#fff !important; }
html[data-theme="dark"] .product-tabs .review-box { background:#0f151f !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .product-tabs .review-box h5,
html[data-theme="dark"] .product-tabs .review-box p { color:#f4f6fb !important; }
html[data-theme="dark"] .product-tabs .review-summary {
    background:#151b27 !important;
    color:#f4f6fb !important;
    border-color:#2b3444 !important;
}
html[data-theme="dark"] .product-tabs .review-summary h4,
html[data-theme="dark"] .product-tabs .review-summary p,
html[data-theme="dark"] .product-tabs .review-summary span { color:#f4f6fb !important; }
html[data-theme="dark"] .product-tabs .review-form .form-control,
html[data-theme="dark"] .product-tabs .review-form .form-select { background:#0f151f !important; color:#f4f6fb !important; border-color:#344055 !important; }
html[data-theme="dark"] .product-tabs .review-form .form-control:focus,
html[data-theme="dark"] .product-tabs .review-form .form-select:focus { background:#111a27 !important; color:#fff !important; border-color:#e64545 !important; }
html[data-theme="dark"] .product-tabs .product-video { background:#0b1018 !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .filter-box h5,
html[data-theme="dark"] .product-body h3,
html[data-theme="dark"] .product-body h3 a,
html[data-theme="dark"] .product-info h1,
html[data-theme="dark"] .cart-info h5,
html[data-theme="dark"] .cart-summary h4,
html[data-theme="dark"] .profile-card h3,
html[data-theme="dark"] .order-card h5,
html[data-theme="dark"] .article-content h1,
html[data-theme="dark"] .blog-body h3,
html[data-theme="dark"] .contact-card h3,
html[data-theme="dark"] .about-card h2,
html[data-theme="dark"] .feature-card h4,
html[data-theme="dark"] .auth-logo,
html[data-theme="dark"] .price-box strong { color:#fff !important; }
html[data-theme="dark"] .contact-card label,
html[data-theme="dark"] .contact-info h3,
html[data-theme="dark"] .contact-info .info-item strong,
html[data-theme="dark"] .contact-map-header h3 { color:#fff !important; }
html[data-theme="dark"] .contact-info .info-item span,
html[data-theme="dark"] .contact-map-header p { color:#b8c0cf !important; }
html[data-theme="dark"] .contact-card .form-control,
html[data-theme="dark"] .contact-card .form-select { background:#0f151f !important; color:#f4f6fb !important; border-color:#344055 !important; }
html[data-theme="dark"] .contact-card .form-control::placeholder { color:#8f9bae !important; }
html[data-theme="dark"] .cart-page .cart-info h5,
html[data-theme="dark"] .cart-page .cart-price,
html[data-theme="dark"] .cart-page .cart-summary h4,
html[data-theme="dark"] .cart-page .summary-total span,
html[data-theme="dark"] .cart-page .discount-box label,
html[data-theme="dark"] .cart-page .shipping-title,
html[data-theme="dark"] .cart-page .shipping-method-header strong { color:#fff !important; }
html[data-theme="dark"] .cart-page .cart-info span,
html[data-theme="dark"] .cart-page .summary-row span,
html[data-theme="dark"] .cart-page .shipping-method-meta,
html[data-theme="dark"] .cart-page .continue-shopping { color:#b8c0cf !important; }
html[data-theme="dark"] .cart-page .cart-quantity button,
html[data-theme="dark"] .cart-page .cart-quantity input,
html[data-theme="dark"] .cart-page .discount-input input {
    background:#0f151f !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}
html[data-theme="dark"] .cart-page .remove-item { background:#321d25 !important; color:#ff7b86 !important; }
html[data-theme="dark"] .cart-page .discount-input input::placeholder { color:#8f9bae !important; }
html[data-theme="dark"] .cart-page .shipping-method-content { background:#151b27 !important; border-color:#344055 !important; color:#f4f6fb !important; }
html[data-theme="dark"] .cart-page .shipping-method:hover .shipping-method-content { border-color:#e64545 !important; }
html[data-theme="dark"] .cart-page .shipping-method input:checked + .shipping-method-content { background:#241b27 !important; border-color:#e64545 !important; }
html[data-theme="dark"] .cart-page .shipping-price { color:#ff7373 !important; }
html[data-theme="dark"] .cart-page,
html[data-theme="dark"] .cart-page .page-title h1,
html[data-theme="dark"] .cart-page .page-title p,
html[data-theme="dark"] .cart-page .cart-items,
html[data-theme="dark"] .cart-page .cart-summary,
html[data-theme="dark"] .cart-page .cart-item,
html[data-theme="dark"] .cart-page .cart-item a,
html[data-theme="dark"] .cart-page .summary-row,
html[data-theme="dark"] .cart-page .summary-total,
html[data-theme="dark"] .cart-page .discount-box,
html[data-theme="dark"] .cart-page .shipping-box,
html[data-theme="dark"] .cart-page .shipping-method-info,
html[data-theme="dark"] .cart-page .shipping-method-header,
html[data-theme="dark"] .cart-page .discount-input,
html[data-theme="dark"] .cart-page .continue-shopping { color:#f4f6fb !important; }
html[data-theme="dark"] .cart-page .cart-info h5,
html[data-theme="dark"] .cart-page .cart-price,
html[data-theme="dark"] .cart-page .summary-row strong,
html[data-theme="dark"] .cart-page .summary-total strong,
html[data-theme="dark"] .cart-page .shipping-method-header strong,
html[data-theme="dark"] .cart-page .discount-box label,
html[data-theme="dark"] .cart-page .shipping-title { color:#fff !important; }
html[data-theme="dark"] .cart-page .cart-info span,
html[data-theme="dark"] .cart-page .summary-row span,
html[data-theme="dark"] .cart-page .shipping-method-meta,
html[data-theme="dark"] .cart-page .shipping-method-meta span,
html[data-theme="dark"] .cart-page .page-title p { color:#c3ccda !important; }
html[data-theme="dark"] .cart-page hr { border-color:#344055 !important; opacity:1; }html[data-theme="dark"] .orders-list .order-card { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; box-shadow:0 8px 28px rgba(0,0,0,.2) !important; }
html[data-theme="dark"] .orders-list .order-top, html[data-theme="dark"] .orders-list .order-bottom { border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-number, html[data-theme="dark"] .orders-list .order-bottom strong, html[data-theme="dark"] .orders-list .mini-product h6 { color:#fff !important; }
html[data-theme="dark"] .orders-list .order-top small, html[data-theme="dark"] .orders-list .mini-product span { color:#b8c0cf !important; }
html[data-theme="dark"] .orders-list .mini-product img { background:#0f151f !important; }
html[data-theme="dark"] .orders-list .order-modal, html[data-theme="dark"] .orders-list .order-modal .modal-header, html[data-theme="dark"] .orders-list .order-modal .modal-body { background:#111722 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-modal h4, html[data-theme="dark"] .orders-list .order-modal h5, html[data-theme="dark"] .orders-list .order-modal h6, html[data-theme="dark"] .orders-list .order-modal strong { color:#fff !important; }
html[data-theme="dark"] .orders-list .order-modal small, html[data-theme="dark"] .orders-list .order-modal .order-item span, html[data-theme="dark"] .orders-list .order-modal .order-summary-card li span, html[data-theme="dark"] .orders-list .order-modal .address-box p, html[data-theme="dark"] .orders-list .order-modal .price-summary span { color:#b8c0cf !important; }
html[data-theme="dark"] .orders-list .order-modal .order-item, html[data-theme="dark"] .orders-list .order-modal .order-summary-card { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-modal .order-item img { background:#0f151f !important; }
html[data-theme="dark"] .orders-list .order-modal hr, html[data-theme="dark"] .orders-list .order-modal .total-price { border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-modal .total-price strong { color:#ff7373 !important; }
html[data-theme="dark"] .product-category,
html[data-theme="dark"] .product-rating span,
html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .page-title p,
html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .newsletter-text,
html[data-theme="dark"] .summary-row,
html[data-theme="dark"] .profile-menu a,
html[data-theme="dark"] .product-info p,
html[data-theme="dark"] .blog-body p,
html[data-theme="dark"] .blog-footer { color:#b8c0cf !important; }
html[data-theme="dark"] .product-image,
html[data-theme="dark"] .main-image,
html[data-theme="dark"] .thumbnail-images img,
html[data-theme="dark"] .cart-item img,
html[data-theme="dark"] .price-box,
html[data-theme="dark"] .discount-box,
html[data-theme="dark"] .shipping-box,
html[data-theme="dark"] .products-toolbar select,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .otp-input,
html[data-theme="dark"] .account-form input,
html[data-theme="dark"] .account-form textarea,
html[data-theme="dark"] .account-form select { background:#0f151f !important; color:#f4f6fb !important; border-color:#344055 !important; }
html[data-theme="dark"] .products-page .filter-box .manual-price-inputs input {
    background:#0f151f !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}
html[data-theme="dark"] .products-page .filter-box .manual-price-inputs input::placeholder {
    color:#9aa6b8 !important;
    text-align:right;
    direction:rtl;
}
html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] .account-form input::placeholder { color:#8f9bae !important; }
html[data-theme="dark"] .profile-page .account-form label,
html[data-theme="dark"] .profile-page .account-form .form-check-label,
html[data-theme="dark"] .profile-page .account-form legend { color:#f4f6fb !important; }
html[data-theme="dark"] .order-modal label,
html[data-theme="dark"] .order-modal .form-check-label { color:#f4f6fb !important; }
html[data-theme="dark"] .order-modal .form-control,
html[data-theme="dark"] .order-modal .form-select {
    background:#0f151f !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}
html[data-theme="dark"] .order-modal .form-control::placeholder { color:#8f9bae !important; }
html[data-theme="dark"] .order-modal .form-control:focus,
html[data-theme="dark"] .order-modal .form-select:focus { background:#111a27 !important; color:#fff !important; border-color:#e64545 !important; }
html[data-theme="dark"] .order-modal .modal-footer { border-color:#2b3444 !important; }
html[data-theme="dark"] .order-modal .form-check-input { background-color:#2b3444 !important; border-color:#4b5563 !important; }
html[data-theme="dark"] .order-modal .form-check-input:checked { background-color:#e64545 !important; border-color:#e64545 !important; }
html[data-theme="dark"] #addressModal .order-modal,
html[data-theme="dark"] #addressModal .order-modal .modal-header,
html[data-theme="dark"] #addressModal .order-modal .modal-body,
html[data-theme="dark"] #addressModal .order-modal .modal-footer {
    background:#151b27 !important;
    color:#f4f6fb !important;
    border-color:#2b3444 !important;
}
html[data-theme="dark"] #addressModal .order-modal h4,
html[data-theme="dark"] #addressModal .order-modal label,
html[data-theme="dark"] #addressModal .order-modal .form-check-label { color:#fff !important; }
html[data-theme="dark"] .product-tab-nav,
html[data-theme="dark"] .product-spec-table,
html[data-theme="dark"] .product-spec-table td,
html[data-theme="dark"] .product-spec-table th,
html[data-theme="dark"] .cart-item { border-color:#2b3444 !important; color:#b8c0cf !important; }
html[data-theme="dark"] .blog-hero { background:linear-gradient(135deg,#1b2535,#111722) !important; color:#fff !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .blog-hero h1,
html[data-theme="dark"] .blog-hero p { color:#fff !important; }
html[data-theme="dark"] .blog-toolbar,
html[data-theme="dark"] .blog-categories,
html[data-theme="dark"] .search-form { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .search-form input { background:#0f151f !important; color:#f4f6fb !important; border-color:#344055 !important; }
html[data-theme="dark"] .search-form input::placeholder { color:#9aa6b8 !important; }
html[data-theme="dark"] .blog-categories a { color:#b8c0cf !important; }
html[data-theme="dark"] .blog-categories a.active,
html[data-theme="dark"] .blog-categories a:hover { color:#fff !important; background:#e64545 !important; }
html[data-theme="dark"] .products-page .quick-filters,
html[data-theme="dark"] .products-page .filter-chip { background:#151b27 !important; color:#b8c0cf !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .products-page .filter-chip.active,
html[data-theme="dark"] .products-page .filter-chip:hover { background:#e64545 !important; color:#fff !important; border-color:#e64545 !important; }
html[data-theme="dark"] .products-page .home-product-card .product-body,
html[data-theme="dark"] .products-page .home-product-card .product-body h3,
html[data-theme="dark"] .products-page .home-product-card .product-body h3 a { color:#fff !important; }
html[data-theme="dark"] .products-page .home-product-card .product-price del { color:#aeb8c8 !important; }
/* Product listing mobile surfaces and text must follow the active dark theme. */
html[data-theme="dark"] .products-page .page-header,
html[data-theme="dark"] .products-page .products-content,
html[data-theme="dark"] .products-page .filter-sidebar,
html[data-theme="dark"] .products-page .filter-box,
html[data-theme="dark"] .products-page .products-toolbar,
html[data-theme="dark"] .products-page .quick-filters,
html[data-theme="dark"] .products-page .empty-products,
html[data-theme="dark"] .products-page .pagination-wrapper { background:#0d1119 !important; color:#f4f6fb !important; }
html[data-theme="dark"] .products-page .filter-box,
html[data-theme="dark"] .products-page .products-toolbar,
html[data-theme="dark"] .products-page .quick-filters,
html[data-theme="dark"] .products-page .empty-products { background:#151b27 !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .products-page .page-title h1,
html[data-theme="dark"] .products-page .products-toolbar strong,
html[data-theme="dark"] .products-page .filter-box h5,
html[data-theme="dark"] .products-page .filter-box label,
html[data-theme="dark"] .products-page .category-filter-row label,
html[data-theme="dark"] .products-page .subcategory-option,
html[data-theme="dark"] .products-page .empty-products h3,
html[data-theme="dark"] .products-page .empty-products p { color:#fff !important; }
html[data-theme="dark"] .products-page .page-title p,
html[data-theme="dark"] .products-page .manual-price-inputs small,
html[data-theme="dark"] .products-page .product-category,
html[data-theme="dark"] .products-page .product-rating span { color:#b8c0cf !important; }
html[data-theme="dark"] .products-page .toolbar-actions select,
html[data-theme="dark"] .products-page .toolbar-actions select option,
html[data-theme="dark"] .products-page .filter-box input[type="number"] {
    background:#0f151f !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}
html[data-theme="dark"] .products-page .category-toggle {
    background:#1a2230 !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}
html[data-theme="dark"] .products-page .category-filter-list li,
html[data-theme="dark"] .products-page .subcategory-list { border-color:#2b3444 !important; }
html[data-theme="dark"] .products-page .pagination li a,
html[data-theme="dark"] .products-page .pagination li a.page-link {
    background:#151b27 !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}
html[data-theme="dark"] .products-page .pagination li.active a,
html[data-theme="dark"] .products-page .pagination li a:hover { background:#e64545 !important; color:#fff !important; border-color:#e64545 !important; }

/* Product-list pagination numbers stay visible in light mode. */
html[data-theme="light"] .products-page .pagination li a,
html[data-theme="light"] .products-page .pagination li a.page-link {
    color: #e64545 !important;
}
html[data-theme="light"] .products-page .pagination li.active a,
html[data-theme="light"] .products-page .pagination li a:hover {
    color: #fff !important;
}
@media (max-width: 767px) {
    html[data-theme="dark"] .products-page .filter-sidebar,
    html[data-theme="dark"] .products-page .products-content { background:#0d1119 !important; }
    html[data-theme="dark"] .products-page .products-toolbar,
    html[data-theme="dark"] .products-page .quick-filters { color:#fff !important; }
}
html[data-theme="dark"] .hero-empty-state { background:linear-gradient(135deg,#151b27,#0f151f) !important; color:#fff !important; }

/* Order modal shipping section theme fix. */
.orders-list .order-modal .shipping-box,
.orders-list .order-modal .shipping-method-content,
.orders-list .order-modal .shipping-method-header,
.orders-list .order-modal .shipping-method-info,
.orders-list .order-modal .shipping-method-meta { background:#f7f8fa !important; color:#20232b !important; border-color:#e0e4ec !important; }
.orders-list .order-modal .shipping-title,
.orders-list .order-modal .shipping-method-header strong { color:#20232b !important; }
.orders-list .order-modal .shipping-price { color:#e64545 !important; }
html[data-theme="dark"] .orders-list .order-modal .shipping-box,
html[data-theme="dark"] .orders-list .order-modal .shipping-method-content,
html[data-theme="dark"] .orders-list .order-modal .shipping-method-header,
html[data-theme="dark"] .orders-list .order-modal .shipping-method-info,
html[data-theme="dark"] .orders-list .order-modal .shipping-method-meta { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-modal .shipping-title,
html[data-theme="dark"] .orders-list .order-modal .shipping-method-header strong { color:#fff !important; }
html[data-theme="dark"] .orders-list .order-modal .shipping-method-meta span { color:#b8c0cf !important; }
html[data-theme="dark"] .orders-list .order-modal .shipping-price { color:#ff7373 !important; }
/* Order modal shipping address theme fix. */
.orders-list .order-modal .address-box { background:#f7f8fa !important; color:#20232b !important; border:1px solid #e0e4ec !important; border-radius:12px; padding:14px; }
.orders-list .order-modal .address-box h6 { color:#20232b !important; }
.orders-list .order-modal .address-box p { color:#687083 !important; }
html[data-theme="dark"] .orders-list .order-modal .address-box { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-modal .address-box h6 { color:#fff !important; }
html[data-theme="dark"] .orders-list .order-modal .address-box p { color:#c3ccda !important; }
/* Orders list item and shipping summary final theme fix. */
.orders-list .order-products { background:#fff !important; color:#20232b !important; }
.orders-list .mini-product { background:#f7f8fa !important; color:#20232b !important; border:1px solid #e0e4ec !important; border-radius:12px; padding:12px; }
.orders-list .order-modal .order-summary-card,
.orders-list .order-modal .price-summary { background:#f7f8fa !important; color:#20232b !important; border-color:#e0e4ec !important; }
.orders-list .order-modal .order-summary-card li strong,
.orders-list .order-modal .price-summary strong { color:#20232b !important; }
html[data-theme="dark"] .orders-list .order-products { background:#151b27 !important; color:#f4f6fb !important; }
html[data-theme="dark"] .orders-list .mini-product { background:#0f151f !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-modal .order-summary-card,
html[data-theme="dark"] .orders-list .order-modal .price-summary { background:#151b27 !important; color:#f4f6fb !important; border-color:#2b3444 !important; }
html[data-theme="dark"] .orders-list .order-modal .order-summary-card li strong,
html[data-theme="dark"] .orders-list .order-modal .price-summary strong { color:#fff !important; }
/* Mobile header spacing and control alignment. */
@media (max-width: 991px) {
    .navbar-inner { position:relative !important; min-height:68px !important; padding-left:58px; padding-right:58px; }
    .header-logo {
        position:absolute !important;
        left:50% !important;
        top:50% !important;
        transform:translate(-50%, -50%) !important;
        margin:0 !important;
        z-index:3;
        white-space:nowrap;
    }
    .header-left {
        left:10px !important;
        top:50% !important;
        transform:translateY(-50%) !important;
        z-index:4;
        gap:4px !important;
    }
    .header-left .icon-btn,
    .header-left .basket-control {
        width:36px !important;
        min-width:36px !important;
        height:36px !important;
        min-height:36px !important;
        padding:0 !important;
        border-radius:9px !important;
    }
    .header-left .basket-control-text { display:none !important; }
    .navbar-inner .mobile-toggle {
        display:inline-flex !important;
        position:absolute !important;
        right:10px !important;
        top:50% !important;
        transform:translateY(-50%) !important;
        width:42px !important;
        min-width:42px !important;
        height:42px !important;
        min-height:42px !important;
        padding:0 !important;
        margin:0 !important;
        align-items:center !important;
        justify-content:center !important;
        border:1.5px solid #d9dee8 !important;
        border-radius:10px !important;
        background:#fff !important;
        color:#3d4350 !important;
        box-shadow:0 3px 10px rgba(31,38,57,.08) !important;
        z-index:5;
    }
    .navbar-inner .mobile-toggle i { line-height:1; font-size:18px; }
    html[data-theme="dark"] .navbar-inner .mobile-toggle {
        background:#1a2230 !important;
        color:#f4f6fb !important;
        border-color:#344055 !important;
        box-shadow:0 3px 12px rgba(0,0,0,.25) !important;
    }
}

@media (max-width: 420px) {
    .navbar-inner { padding-left:50px; padding-right:50px; }
    .header-logo { font-size:17px !important; }
    .header-logo i { font-size:20px !important; }
    .header-left { left:7px !important; gap:3px !important; }
    .header-left .icon-btn,
    .header-left .basket-control { width:32px !important; min-width:32px !important; height:32px !important; min-height:32px !important; border-radius:8px !important; }
    .navbar-inner .mobile-toggle { right:7px !important; width:38px !important; min-width:38px !important; height:38px !important; min-height:38px !important; }
}

/* Article comments */
.article-comments-section { padding: 0 0 48px; }
.article-comments-section .section-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.article-comments-count { color:#687083; font-size:14px; }
.article-comments-grid { display:grid; grid-template-columns:minmax(0, 1.4fr) minmax(280px, .8fr); gap:24px; align-items:start; }
.article-comments-list { display:grid; gap:14px; }
.article-comment-card, .article-comment-form-card, .article-comments-empty { background:#fff; border:1px solid #e6e8ee; border-radius:14px; padding:20px; box-shadow:0 8px 28px rgba(31,38,57,.05); }
.article-comment-header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; color:#20232b; }
.article-comment-header time { color:#687083; font-size:13px; }
.article-comment-card p, .article-comment-form-card p { color:#4e5666; line-height:1.9; margin:0; }
.article-comment-form-card h3 { color:#20232b; margin-top:0; }
.article-comment-form-card textarea { width:100%; min-height:130px; resize:vertical; border:1px solid #dfe3eb; border-radius:10px; padding:12px; margin-bottom:10px; color:#20232b; background:#fff; }
.article-comment-form-card .primary-btn { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; box-sizing:border-box; height:46px; line-height:1; padding:0 22px; margin-top:8px; border:0; cursor:pointer; text-align:center; }
.article-comments-empty { color:#687083; text-align:center; }
html[data-theme="dark"] .article-comment-card,
html[data-theme="dark"] .article-comment-form-card,
html[data-theme="dark"] .article-comments-empty { background:#11151f !important; border-color:#2b3444 !important; box-shadow:none; }
html[data-theme="dark"] .article-comment-header,
html[data-theme="dark"] .article-comment-form-card h3 { color:#f4f6fb !important; }
html[data-theme="dark"] .article-comment-header time,
html[data-theme="dark"] .article-comment-card p,
html[data-theme="dark"] .article-comment-form-card p,
html[data-theme="dark"] .article-comments-empty,
html[data-theme="dark"] .article-comments-count { color:#b8c0cf !important; }
html[data-theme="dark"] .article-comment-form-card textarea { background:#0f151f !important; border-color:#344055 !important; color:#f4f6fb !important; }
@media (max-width: 767px) {
    .article-comments-grid { grid-template-columns:1fr; }
    .article-comments-section .section-header { align-items:flex-start; flex-direction:column; }
}
/* Magazine list cards dark-mode fix. */
html[data-theme="dark"] .blog-page .blog-card,
html[data-theme="dark"] .blog-page .blog-card .blog-body {
    background: #11151f !important;
    color: #f4f6fb !important;
    border-color: #2b3444 !important;
}
html[data-theme="dark"] .blog-page .blog-card h3,
html[data-theme="dark"] .blog-page .blog-card h3 a,
html[data-theme="dark"] .blog-page .blog-card p,
html[data-theme="dark"] .blog-page .blog-card .blog-footer,
html[data-theme="dark"] .blog-page .blog-card .blog-footer span {
    color: #f4f6fb !important;
}
html[data-theme="dark"] .blog-page .blog-card .blog-category,
html[data-theme="dark"] .blog-page .blog-card .blog-footer a {
    color: #ff6b6b !important;
}
html[data-theme="dark"] .blog-page .blog-card:hover {
    border-color: #e64545 !important;
}
/* Product interaction and availability fixes. */
.product-image-wrapper { position:relative; }
.product-image-wrapper .wishlist-btn { z-index:3; }
.product-image-wrapper .product-badge { z-index:2; }
.stock-badge, .product-badge.stock-badge { position:absolute; top:14px; left:14px; z-index:2; display:inline-flex; width:max-content; padding:5px 9px; border-radius:7px; background:#596273; color:#fff; font-size:11px; font-weight:700; }
.product-image-wrapper .discount { right:14px; left:auto; }
.product-image-wrapper .stock-badge { left:14px; right:auto; }
.home-product-card .discount-badge { right:14px; left:auto; z-index:2; }
.home-product-card .stock-badge { left:14px; top:14px; }
.home-price-button { cursor:default !important; }
.product-gallery .thumbnail-images { display:flex; gap:10px; flex-wrap:wrap; }
.product-gallery .thumb { border:2px solid transparent; opacity:.65; cursor:pointer; transition:.2s; }
.product-gallery .thumb.active, .product-gallery .thumb[aria-current="true"] { border-color:#e64545 !important; opacity:1; box-shadow:0 0 0 2px rgba(230,69,69,.18); }
.stock-status-unavailable { color:#e64545 !important; }
.half-star { color:#f5b301; }
.review-box { position:relative; }
.reply-review-btn { border:0; background:transparent; color:#e64545; padding:4px 0; cursor:pointer; font-size:13px; }
.reply-review-form { margin-top:12px; }
.review-reply { margin:12px 0 0 22px; border-right:3px solid #e64545; }
.empty-reviews { color:#687083; }
html[data-theme="dark"] .stock-badge, html[data-theme="dark"] .product-badge.stock-badge { background:#3b4658 !important; color:#fff !important; }
html[data-theme="dark"] .review-reply { border-color:#e64545 !important; }
/* Keep review button text vertically centered and alert colors theme-aware. */
.submit-review {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    vertical-align: middle;
}
html[data-theme="light"] .swal2-popup {
    background: #fff !important;
    color: #20232b !important;
    border: 1px solid #e3e7ef !important;
    box-shadow: 0 16px 48px rgba(31, 38, 57, .18) !important;
}
html[data-theme="light"] .swal2-title { color: #20232b !important; }
html[data-theme="light"] .swal2-html-container,
html[data-theme="light"] .swal2-content { color: #596273 !important; }
html[data-theme="light"] .swal2-close { color: #596273 !important; }
html[data-theme="light"] .swal2-cancel { background: #e8ebf1 !important; color: #20232b !important; }
html[data-theme="dark"] .swal2-popup {
    background: #181d2a !important;
    color: #f4f6fb !important;
    border: 1px solid #343d50 !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .4) !important;
}
html[data-theme="dark"] .swal2-title { color: #fff !important; }
html[data-theme="dark"] .swal2-html-container,
html[data-theme="dark"] .swal2-content { color: #c3ccda !important; }
html[data-theme="dark"] .swal2-close { color: #f4f6fb !important; }
html[data-theme="dark"] .swal2-cancel { background: #343b52 !important; color: #fff !important; }
/* Nested article comments and replies */
.article-comment-card { min-width:0; }
.article-comment-meta { display:flex; align-items:center; justify-content:flex-end; gap:12px; flex-wrap:wrap; }
.article-comment-kind { display:inline-flex; align-items:center; border-radius:999px; padding:4px 10px; background:#edf1f7; color:#525e73; font-size:12px; line-height:1.5; }
.article-comment-kind-root { background:#fff0f0; color:#b42332; }
.article-comment-replies { display:grid; gap:12px; margin:18px 0 0 12px; padding-inline-start:16px; border-inline-start:3px solid #e2e6ee; }
.article-comment-reply { padding:16px; box-shadow:none; background:#f8f9fb; }
.article-reply-control { margin-top:14px; }
.article-reply-control summary, .article-reply-login { display:inline-flex; align-items:center; justify-content:center; min-height:36px; color:#b42332; font-weight:600; cursor:pointer; text-decoration:none; }
.article-reply-form { display:grid; gap:8px; margin-top:10px; }
.article-reply-form textarea { width:100%; min-height:78px; resize:vertical; border:1px solid #dfe3eb; border-radius:10px; padding:10px 12px; color:#20232b; background:#fff; }
.article-reply-form .primary-btn { justify-self:start; min-height:40px; }
html[data-theme="dark"] .article-comment-reply { background:#171d29 !important; }
html[data-theme="dark"] .article-comment-replies { border-color:#344055; }
html[data-theme="dark"] .article-comment-kind { background:#252d3b; color:#d5dbea; }
html[data-theme="dark"] .article-comment-kind-root { background:#42252d; color:#ffb4bd; }
html[data-theme="dark"] .article-reply-form textarea { background:#0f151f; border-color:#344055; color:#f4f6fb; }
@media (max-width: 767px) {
    .article-comment-replies { margin-inline-start:4px; padding-inline-start:10px; }
    .article-comment-reply { padding:14px; }
    .article-comment-meta { justify-content:flex-start; gap:8px; }
}
/* Magazine pagination contrast in light and dark themes. */
html[data-theme="light"] .blog-page .pagination .page-link,
html[data-theme="light"] .blog-page .pagination li a {
    background:#fff !important;
    border:1px solid #e2e5ec !important;
    color:#20232b !important;
}
html[data-theme="light"] .blog-page .pagination .active .page-link,
html[data-theme="light"] .blog-page .pagination li.active a,
html[data-theme="light"] .blog-page .pagination .page-link:hover,
html[data-theme="light"] .blog-page .pagination li a:hover {
    background:#e64545 !important;
    border-color:#e64545 !important;
    color:#fff !important;
}
/* Magazine category links need a dark label on the light toolbar. */
html[data-theme="light"] .blog-page .blog-categories a {
    background:#f1f3f7 !important;
    color:#20232b !important;
}
html[data-theme="light"] .blog-page .blog-categories a.active,
html[data-theme="light"] .blog-page .blog-categories a:hover {
    background:#e64545 !important;
    color:#fff !important;
}
.comment-moderation-note { display:inline-flex; align-items:center; margin-top:6px; padding:3px 8px; border-radius:999px; background:#fff4d6; color:#8a5a00; font-size:12px; }
html[data-theme="dark"] .comment-moderation-note { background:#3a301c; color:#f4d27a; }
/* Basket shipping choices and coupon field must follow the active dark theme. */
html[data-theme="dark"] .cart-page .shipping-method-content,
html[data-theme="dark"] .cart-page .shipping-method-header,
html[data-theme="dark"] .cart-page .shipping-method-info,
html[data-theme="dark"] .cart-page .shipping-method-meta,
html[data-theme="dark"] .cart-page .discount-input {
    background:#151b27 !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}
html[data-theme="dark"] .cart-page .shipping-method input:checked + .shipping-method-content {
    background:#241b27 !important;
    border-color:#e64545 !important;
}
html[data-theme="dark"] .cart-page .discount-input input {
    background:#0f151f !important;
    color:#f4f6fb !important;
    border-color:#344055 !important;
}

/* Collapsible parent-category list on the product listing page. */
.products-page .category-filter-dropdown { margin-top:10px; }
.products-page .category-filter-summary { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid #e0e4ec; border-radius:9px; background:#f7f8fa; color:#3d4350; cursor:pointer; list-style:none; }
.products-page .category-filter-summary::-webkit-details-marker { display:none; }
.products-page .category-filter-dropdown[open] .category-filter-summary i { transform:rotate(180deg); }
.products-page .category-filter-summary i { transition:transform .2s ease; }
.products-page .category-filter-dropdown > .category-filter-list { max-height:320px; overflow-y:auto; margin-top:10px; padding:4px 2px 4px 8px; }
html[data-theme="dark"] .products-page .category-filter-summary { background:#0f151f !important; color:#f4f6fb !important; border-color:#344055 !important; }
.products-page .brand-filter-dropdown { margin-top:10px; }
.products-page .brand-filter-dropdown > ul { max-height:320px; overflow-y:auto; margin-top:10px; padding:4px 2px 4px 8px; }
.products-page .brand-filter-dropdown[open] .category-filter-summary i { transform:rotate(180deg); }
html[data-theme="dark"] .products-page .brand-filter-dropdown > ul { scrollbar-color:#344055 #0f151f; }

/* Clear next step when checkout has no default shipping address. */
.cart-page .address-required-notice { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:18px 0; padding:16px 18px; border:1px solid #f0c36d; border-radius:12px; background:#fff8e8; color:#493b20; }
.cart-page .address-required-copy { display:flex; align-items:flex-start; gap:12px; }
.cart-page .address-required-copy > i { margin-top:3px; color:#c58412; font-size:20px; }
.cart-page .address-required-copy strong { display:block; }
.cart-page .address-required-copy p { margin:5px 0 0; }
.cart-page .address-required-button { flex:0 0 auto; padding:10px 14px; border-radius:8px; background:#e64545; color:#fff !important; text-decoration:none; }
.cart-page .address-required-button:hover { background:#cf3636; }
html[data-theme="dark"] .cart-page .address-required-notice { background:#2b2519 !important; border-color:#65502b !important; color:#f4e8c9 !important; }
html[data-theme="dark"] .cart-page .address-required-copy p { color:#d6c9aa !important; }
@media (max-width:575px) { .cart-page .address-required-notice { align-items:stretch; flex-direction:column; } .cart-page .address-required-button { text-align:center; } }

/* Use one wide 16:9 article image frame in both article cards and detail pages. */
.article-image-frame {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.article-image-frame > img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}


.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 24px 0 18px;
}
.article-tags-label {
    color: var(--text-muted, #687083);
    font-weight: 600;
}
.article-tags a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--border, #e3e7ef);
    border-radius: 999px;
    color: var(--primary, #e53935);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.article-tags a:hover {
    background: var(--primary, #e53935);
    color: #fff;
}


/* Collapsible product specification filters. */
.products-page .feature-filter-dropdown { margin-top: 10px; }
.products-page .feature-filter-list { max-height: 320px; overflow-y: auto; margin-top: 10px; padding: 4px 8px; }
.products-page .feature-filter-group { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.products-page .feature-filter-group legend { float: none; width: auto; margin: 0 0 6px; color: #343b49; font-size: .9rem; font-weight: 700; }
.products-page .feature-filter-option { display: flex; align-items: center; gap: 8px; margin: 6px 0; color: #4d5564; cursor: pointer; }
.products-page .feature-filter-option input { flex: 0 0 auto; }
.products-page .feature-filter-empty { margin: 8px 0; color: #687083; font-size: .9rem; }
.products-page .feature-filter-dropdown[open] .category-filter-summary i { transform: rotate(180deg); }
html[data-theme="dark"] .products-page .feature-filter-list { scrollbar-color: #344055 #0f151f; }
html[data-theme="dark"] .products-page .feature-filter-group legend,
html[data-theme="dark"] .products-page .feature-filter-option,
html[data-theme="dark"] .products-page .feature-filter-empty { color: #e8edf6; }


/* Magazine landing layout inspired by editorial gaming publications. */
.magazine-home .magazine-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 4vw, 48px);
    background: #f2f4f8;
    border: 1px solid #e5e8ef;
    color: #1e2430;
}
.magazine-kicker,
.magazine-section-heading > div > span {
    display: block;
    margin-bottom: 8px;
    color: #e64545;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.magazine-home .magazine-hero h1 { margin: 0 0 8px; color: #1e2430; }
.magazine-home .magazine-hero p { margin: 0; color: #667085; }
.magazine-home .magazine-hero .search-form { flex: 0 1 390px; margin: 0; }
.magazine-category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 34px; }
.magazine-category-nav a { padding: 8px 14px; border-radius: 999px; background: #f1f3f6; color: #4a5260; text-decoration: none; }
.magazine-category-nav a.active,
.magazine-category-nav a:hover { background: #e64545; color: #fff; }
.magazine-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 34px 0 18px; }
.magazine-section-heading h2 { margin: 0; color: #20232b; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.magazine-tab-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 11px; background: #f0f2f5; }
.magazine-tab { padding: 9px 14px; border: 0; border-radius: 8px; background: transparent; color: #596171; font: inherit; font-size: .9rem; cursor: pointer; }
.magazine-tab.is-active { background: #fff; color: #e64545; box-shadow: 0 2px 8px rgba(20, 27, 40, .09); }
.magazine-tab-panel[hidden] { display: none !important; }
.magazine-highlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.magazine-feature-card:first-child { grid-column: span 2; }
.magazine-feature-card { height: 100%; }
.magazine-feature-card .blog-body { flex: 1; }
.magazine-feature-card .blog-body h3 a { color: inherit; text-decoration: none; }
.magazine-feature-card .blog-body h3 a:hover { color: #e64545; }
.magazine-card-views { display: inline-flex; align-items: center; gap: 5px; }
.magazine-category-sections { margin-top: 48px; }
.magazine-category-heading { margin-bottom: 22px; }
.magazine-category-section { margin: 0 0 34px; padding-bottom: 28px; border-bottom: 1px solid #e7e9ef; }
.magazine-category-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.magazine-category-title h3 { margin: 0; color: #252a34; font-size: 1.2rem; }
.magazine-category-title > a { color: #e64545; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.magazine-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.magazine-category-grid .blog-card .blog-body { padding: 15px; }
.magazine-category-grid .blog-card .blog-body h3 { font-size: 1rem; }
.magazine-search-results { margin-top: 20px; }
.magazine-result-count { color: #687083; font-size: .9rem; }
.magazine-empty { grid-column: 1 / -1; padding: 28px; color: #687083; text-align: center; }
html[data-theme="dark"] .magazine-home .magazine-hero { background: #111722; border-color: #293243; color: #f4f6fb; }
html[data-theme="dark"] .magazine-home .magazine-hero h1,
html[data-theme="dark"] .magazine-section-heading h2,
html[data-theme="dark"] .magazine-category-title h3 { color: #f4f6fb; }
html[data-theme="dark"] .magazine-home .magazine-hero p,
html[data-theme="dark"] .magazine-result-count,
html[data-theme="dark"] .magazine-empty { color: #b8c0cf; }
html[data-theme="dark"] .magazine-category-nav a { background: #151b27; color: #d4d9e3; }
html[data-theme="dark"] .magazine-category-nav a.active,
html[data-theme="dark"] .magazine-category-nav a:hover { background: #e64545; color: #fff; }
html[data-theme="dark"] .magazine-tab-list { background: #151b27; }
html[data-theme="dark"] .magazine-tab { color: #b8c0cf; }
html[data-theme="dark"] .magazine-tab.is-active { background: #252d3b; color: #ff7777; }
html[data-theme="dark"] .magazine-category-section { border-color: #293243; }
@media (max-width: 991px) {
    .magazine-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .magazine-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .magazine-home .magazine-hero { align-items: stretch; flex-direction: column; }
    .magazine-home .magazine-hero .search-form { flex-basis: auto; width: 100%; }
    .magazine-section-heading { align-items: flex-start; flex-direction: column; }
    .magazine-tab-list { width: 100%; overflow-x: auto; }
    .magazine-tab { flex: 1 0 auto; }
}
@media (max-width: 575px) {
    .magazine-highlight-grid,
    .magazine-category-grid { grid-template-columns: 1fr; }
    .magazine-feature-card:first-child { grid-column: auto; }
    .magazine-category-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
    .magazine-category-nav a { flex: 0 0 auto; }
    .magazine-category-title h3 { font-size: 1.05rem; }
}

/* Editorial magazine highlights: image banners with titles overlaid. */
.magazine-home .magazine-highlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
.magazine-home .magazine-banner-card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 250px;
    overflow: hidden;
    border-radius: 16px;
    isolation: isolate;
    color: #fff;
    background: #202632;
    text-decoration: none;
}
.magazine-home .magazine-banner-card.is-lead { min-height: 330px; }
.magazine-home .magazine-banner-image,
.magazine-home .magazine-banner-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.magazine-home .magazine-banner-image {
    z-index: -2;
    object-fit: cover;
    transition: transform .35s ease;
}
.magazine-home .magazine-banner-shade {
    z-index: -1;
    background: linear-gradient(180deg, rgba(7, 10, 16, .04) 20%, rgba(7, 10, 16, .82) 100%);
}
.magazine-home .magazine-banner-copy {
    position: absolute;
    inset-inline: 22px;
    bottom: 22px;
    display: grid;
    gap: 8px;
    text-align: right;
}
.magazine-home .magazine-banner-category {
    justify-self: start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(230, 69, 69, .92);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}
.magazine-home .magazine-banner-title {
    color: #fff;
    font-size: clamp(1.15rem, 2.2vw, 1.8rem);
    line-height: 1.55;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.magazine-home .magazine-banner-card:not(.is-lead) .magazine-banner-title { font-size: clamp(1.05rem, 1.7vw, 1.4rem); }
.magazine-home .magazine-banner-description {
    color: rgba(255, 255, 255, .9);
    font-size: .92rem;
    line-height: 1.8;
}
.magazine-home .magazine-banner-arrow {
    position: absolute;
    inset-inline-end: 18px;
    top: 18px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff;
    background: rgba(15, 20, 30, .3);
    transition: background .2s ease, transform .2s ease;
}
.magazine-home .magazine-banner-card:hover .magazine-banner-image { transform: scale(1.04); }
.magazine-home .magazine-banner-card:hover .magazine-banner-arrow { transform: translateX(-3px); background: #e64545; }
@media (max-width: 767px) {
    .magazine-home .magazine-highlight-grid { grid-template-columns: 1fr; }
    .magazine-home .magazine-banner-card,
    .magazine-home .magazine-banner-card.is-lead { min-height: 270px; }
    .magazine-home .magazine-banner-copy { inset-inline: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .magazine-home .magazine-banner-image,
    .magazine-home .magazine-banner-arrow { transition: none; }
}

/* Two-row magazine banners alternate the wide card from right to left. */
.magazine-home .magazine-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
}
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(1),
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(4) { grid-column: span 2; }
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(2),
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(3) { grid-column: span 1; }
.magazine-home .magazine-banner-card.is-lead { min-height: 330px; }
.magazine-home .magazine-banner-card:not(.is-lead) { min-height: 270px; }
@media (max-width: 991px) and (min-width: 768px) {
    .magazine-home .magazine-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card { grid-column: span 1 !important; min-height: 270px; }
}
@media (max-width: 767px) {
    .magazine-home .magazine-highlight-grid { grid-template-columns: 1fr; }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card { grid-column: auto !important; }
}

/* Keep the magazine search icon visible against its submit button. */
.magazine-home .magazine-hero .search-form button {
    display: inline-flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 0;
    background: #e64545 !important;
    color: #fff !important;
    opacity: 1;
}
.magazine-home .magazine-hero .search-form button i {
    display: inline-block;
    color: inherit !important;
    font-size: 1rem;
    line-height: 1;
    visibility: visible;
}
.magazine-home .magazine-hero .search-form button:hover { background: #c93434 !important; }

/* Magazine highlights follow the five-banner composition from the supplied reference. */
.magazine-home .magazine-highlight-grid {
    direction: ltr;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(300px, auto));
    gap: 14px;
}
.magazine-home .magazine-highlight-grid > .magazine-banner-card { direction: rtl; min-height: 300px; }
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(1) { grid-column: 1 / 5; grid-row: 1; }
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(2) { grid-column: 5 / 13; grid-row: 1; }
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(3) { grid-column: 1 / 4; grid-row: 2; }
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(4) { grid-column: 4 / 9; grid-row: 2; }
.magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }
.magazine-home .magazine-highlight-grid > .magazine-banner-card.is-lead { min-height: 300px; }
@media (max-width: 991px) and (min-width: 768px) {
    .magazine-home .magazine-highlight-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(260px, auto)); }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card { min-height: 260px; }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(2) { grid-column: 3 / 7; grid-row: 1; }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(3) { grid-column: 1 / 4; grid-row: 2; }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(4) { grid-column: 4 / 7; grid-row: 2; }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card:nth-child(5) { grid-column: 2 / 6; grid-row: 3; }
}
@media (max-width: 767px) {
    .magazine-home .magazine-highlight-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; direction: rtl; }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card { grid-column: auto !important; grid-row: auto !important; min-height: 230px; }
}

/* Category article rows modeled on the supplied magazine list reference. */
.magazine-home .magazine-category-sections { margin-top: 38px; }
.magazine-home .magazine-category-tabs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    margin-bottom: 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e1e5ec;
}
.magazine-home .magazine-category-tab {
    min-width: 90px;
    padding: 10px 17px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #687083;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.magazine-home .magazine-category-tab:hover,
.magazine-home .magazine-category-tab.is-active { color: #e64545; }
.magazine-home .magazine-category-tab.is-active { border-bottom-color: #e64545; }
.magazine-home .magazine-category-panel[hidden] { display: none !important; }
.magazine-home .magazine-list-row {
    display: grid;
    grid-template-columns: minmax(180px, 23%) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    min-height: 190px;
    padding: 16px 0;
    border-bottom: 1px solid #e1e5ec;
}
.magazine-home .magazine-list-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #edf0f5;
}
.magazine-home .magazine-list-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.magazine-home .magazine-list-image:hover img { transform: scale(1.04); }
.magazine-home .magazine-list-copy { min-width: 0; text-align: right; }
.magazine-home .magazine-list-category { display: inline-block; margin-bottom: 5px; color: #e64545; font-size: .82rem; font-weight: 700; }
.magazine-home .magazine-list-copy h3 { margin: 0 0 8px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.6; }
.magazine-home .magazine-list-copy h3 a { color: #222936; text-decoration: none; }
.magazine-home .magazine-list-copy h3 a:hover { color: #e64545; }
.magazine-home .magazine-list-copy p { margin: 0 0 12px; color: #687083; line-height: 1.8; }
.magazine-home .magazine-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: #7b8494; font-size: .85rem; }
.magazine-home .magazine-list-meta a { margin-inline-start: auto; color: #e64545; font-weight: 700; text-decoration: none; }
html[data-theme="dark"] .magazine-home .magazine-category-tabs { border-color: #293243; }
html[data-theme="dark"] .magazine-home .magazine-category-tab { color: #b8c0cf; }
html[data-theme="dark"] .magazine-home .magazine-category-tab:hover,
html[data-theme="dark"] .magazine-home .magazine-category-tab.is-active { color: #ff7777; }
html[data-theme="dark"] .magazine-home .magazine-category-tab.is-active { border-bottom-color: #e64545; }
html[data-theme="dark"] .magazine-home .magazine-list-row { border-color: #293243; }
html[data-theme="dark"] .magazine-home .magazine-list-image { background: #171d29; }
html[data-theme="dark"] .magazine-home .magazine-list-copy h3 a { color: #f4f6fb; }
html[data-theme="dark"] .magazine-home .magazine-list-copy p,
html[data-theme="dark"] .magazine-home .magazine-list-meta { color: #b8c0cf; }
@media (max-width: 767px) {
    .magazine-home .magazine-category-tabs { gap: 4px; overflow-x: auto; justify-content: flex-start; }
    .magazine-home .magazine-category-tab { flex: 0 0 auto; min-width: auto; padding-inline: 12px; }
    .magazine-home .magazine-list-row { grid-template-columns: 115px minmax(0, 1fr); gap: 14px; min-height: 0; padding: 14px 0; align-items: start; }
    .magazine-home .magazine-list-copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .9rem; }
    .magazine-home .magazine-list-meta { gap: 9px; font-size: .78rem; }
}
@media (max-width: 420px) {
    .magazine-home .magazine-list-row { grid-template-columns: 96px minmax(0, 1fr); gap: 11px; }
    .magazine-home .magazine-list-copy h3 { font-size: .98rem; }
}


/* Active filters summary on the product listing page. */
.products-page .active-product-filters { margin: 14px 0 18px; padding: 14px 16px; border: 1px solid #e2e6ee; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(31,38,57,.045); }
.products-page .active-product-filters[hidden] { display: none !important; }
.products-page .active-product-filters-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; color:#313847; font-weight:700; }
.products-page .active-product-filters-heading > span { display:inline-flex; align-items:center; gap:8px; }
.products-page .active-product-filters-heading > span > i { color:#e64545; }
.products-page .active-product-filters-heading b { display:inline-grid; min-width:23px; height:23px; padding:0 5px; place-items:center; border-radius:999px; background:#fff0f0; color:#d83c3c; font-size:.78rem; }
.products-page .clear-product-filters { padding:5px 9px; border:0; border-radius:7px; background:transparent; color:#d83c3c; font:inherit; font-size:.84rem; cursor:pointer; }
.products-page .clear-product-filters:hover { background:#fff0f0; }
.products-page .active-product-filter-chips { display:flex; flex-wrap:wrap; gap:8px; }
.products-page .active-product-filter-chip { display:inline-flex; align-items:center; gap:8px; max-width:100%; padding:7px 10px; border:1px solid #f0caca; border-radius:999px; background:#fff8f8; color:#873a3a; font:inherit; font-size:.84rem; line-height:1.45; cursor:pointer; transition:background .18s ease, border-color .18s ease, color .18s ease; }
.products-page .active-product-filter-chip span { overflow-wrap:anywhere; }
.products-page .active-product-filter-chip i { flex:0 0 auto; color:#d83c3c; }
.products-page .active-product-filter-chip:hover { border-color:#e64545; background:#e64545; color:#fff; }
.products-page .active-product-filter-chip:hover i { color:#fff; }
html[data-theme="dark"] .products-page .active-product-filters { border-color:#293243; background:#111722; box-shadow:0 5px 18px rgba(0,0,0,.16); }
html[data-theme="dark"] .products-page .active-product-filters-heading { color:#f4f6fb; }
html[data-theme="dark"] .products-page .active-product-filters-heading b { background:#42252d; color:#ffb4bd; }
html[data-theme="dark"] .products-page .active-product-filter-chip { border-color:#51343b; background:#211a21; color:#f3cbd0; }
html[data-theme="dark"] .products-page .active-product-filter-chip i { color:#ff8c96; }
html[data-theme="dark"] .products-page .active-product-filter-chip:hover { border-color:#e64545; background:#e64545; color:#fff; }
html[data-theme="dark"] .products-page .active-product-filter-chip:hover i { color:#fff; }
@media (max-width: 575px) {
    .products-page .active-product-filters { padding:12px; }
    .products-page .active-product-filters-heading { align-items:flex-start; }
    .products-page .active-product-filter-chips { gap:6px; }
    .products-page .active-product-filter-chip { padding:6px 9px; font-size:.8rem; }
}


/* Mobile magazine highlights match the supplied stacked-and-paired banner layout. */
@media (max-width: 767px) {
    .magazine-home .magazine-highlight-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        grid-template-rows: auto;
        gap: 7px;
        direction: ltr;
    }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
        width: 100%;
        min-width: 0;
        min-height: 0;
        aspect-ratio: .92 / 1;
        border-radius: 10px;
    }
    .magazine-home .magazine-highlight-grid > .magazine-banner-card:first-child {
        grid-column: 1 / -1 !important;
        aspect-ratio: 1.5 / 1;
    }
    .magazine-home .magazine-banner-copy { inset-inline: 12px; bottom: 12px; gap: 5px; }
    .magazine-home .magazine-banner-title,
    .magazine-home .magazine-banner-card:not(.is-lead) .magazine-banner-title {
        font-size: clamp(.95rem, 4vw, 1.2rem);
        line-height: 1.45;
    }
    .magazine-home .magazine-banner-description { display: none; }
    .magazine-home .magazine-banner-category { padding: 3px 8px; font-size: .7rem; }
    .magazine-home .magazine-banner-arrow { top: 10px; inset-inline-end: 10px; width: 32px; height: 32px; }
}
@media (max-width: 380px) {
    .magazine-home .magazine-highlight-grid { gap: 5px; }
    .magazine-home .magazine-banner-copy { inset-inline: 9px; bottom: 9px; }
    .magazine-home .magazine-banner-category { font-size: .65rem; }
}


/* Full-width magazine search band positioned directly under the site header. */
.magazine-home .magazine-search-strip {
    position: relative;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 10px 0;
    background: #101722;
    border-top: 1px solid #202a39;
    border-bottom: 1px solid #202a39;
}
.magazine-home .magazine-search-strip .container { max-width: 1280px; }
.magazine-home .magazine-search-strip .search-form {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 48px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #354052;
    border-radius: 10px;
    background: #1a2331;
    box-shadow: none;
}
.magazine-home .magazine-search-strip .search-form input {
    min-width: 0;
    padding: 11px 16px;
    border: 0;
    background: transparent !important;
    color: #f4f6fb !important;
}
.magazine-home .magazine-search-strip .search-form input::placeholder { color: #aab4c4 !important; }
.magazine-home .magazine-search-strip .search-form button {
    display: inline-flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 0;
    border: 0;
    background: #e64545 !important;
    color: #fff !important;
}
.magazine-home .magazine-search-strip .search-form button i { color: #fff !important; font-size: 1rem; line-height: 1; }
.magazine-home .magazine-search-strip .search-form button:hover { background: #c93434 !important; }
html[data-theme="light"] .magazine-home .magazine-search-strip { background: #f0f2f6; border-color: #e1e5ec; }
html[data-theme="light"] .magazine-home .magazine-search-strip .search-form { background: #fff; border-color: #d9dee8; }
html[data-theme="light"] .magazine-home .magazine-search-strip .search-form input { color: #20232b !important; }
html[data-theme="light"] .magazine-home .magazine-search-strip .search-form input::placeholder { color: #858d9b !important; }
@media (max-width: 767px) {
    .magazine-home .magazine-search-strip { padding: 8px 0; }
    .magazine-home .magazine-search-strip .container { padding-inline: 12px; }
    .magazine-home .magazine-search-strip .search-form { min-height: 46px; }
}

.magazine-home .magazine-search-strip .search-form button {
    position: relative;
    line-height: 0;
}
.magazine-home .magazine-search-strip .search-form button .magazine-search-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: #fff !important;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    visibility: visible !important;
    opacity: 1 !important;
}
html[data-theme="light"] .magazine-home .magazine-search-strip .search-form button .magazine-search-icon,
html[data-theme="dark"] .magazine-home .magazine-search-strip .search-form button .magazine-search-icon { stroke: #fff; }


/* Product listing filters restyled to match the supplied storefront reference. */
.products-page .products-content { padding-top: 20px; }
.products-page .filter-sidebar { display: grid; gap: 14px; }
.products-page .filter-sidebar > .filter-box {
    padding: 20px;
    border: 1px solid #e8eaf1 !important;
    border-radius: 22px;
    background: linear-gradient(145deg, #fff 0%, #fbfbfe 100%) !important;
    box-shadow: 0 8px 26px rgba(35, 45, 75, .07);
}
.products-page .filter-sidebar > .filter-box h5 {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 0 0 16px; color: #20283b !important; font-size: 1rem; font-weight: 800;
}
.products-page .category-filter-summary {
    min-height: 48px; padding: 12px 15px; border: 1px solid #e7e9f1;
    border-radius: 999px; background: #f7f7fb; color: #5d6578; font-weight: 600;
}
.products-page .category-filter-summary i { color: #7c8496; }
.products-page .category-filter-list, .products-page .brand-filter-dropdown ul { margin: 12px 0 0; padding: 0 4px; }
.products-page .category-filter-list li, .products-page .brand-filter-dropdown li { padding: 9px 0; border-bottom: 1px solid #eef0f5; }
.products-page .category-filter-row label, .products-page .brand-filter-dropdown label,
.products-page .subcategory-option, .products-page .feature-filter-option { color: #394256; font-size: .92rem; }
.products-page .filter-sidebar input[type="checkbox"] { accent-color: #e64545; width: 17px; height: 17px; }
.products-page .price-slider-wrapper { display: grid; gap: 14px; }
.products-page .price-values { display: none; }
.products-page .range-group { order: 2; margin: 2px 8px 0; direction: ltr; }
.products-page .range-group input[type="range"] { accent-color: #e64545; }
.products-page .manual-price-inputs { display: grid; grid-template-columns: 1fr; gap: 7px; }
.products-page .filter-box .manual-price-inputs label { margin: 2px 0 0; color: #737c90 !important; font-size: .82rem; font-weight: 600; }
.products-page .filter-box .manual-price-inputs input {
    min-height: 44px; padding: 10px 14px; border: 1px solid #e6e9f1 !important;
    border-radius: 999px; background: #f7f7fb !important; color: #283147 !important; text-align: right;
}
.products-page .filter-box .manual-price-inputs input:focus { border-color: #ed5963 !important; box-shadow: 0 0 0 3px rgba(230, 69, 69, .1); outline: 0; }
.products-page .manual-price-inputs small { color: #858da0 !important; }
.products-page #btn-apply-filter {
    width: 100%; min-height: 48px; border: 0; border-radius: 999px;
    background: linear-gradient(100deg, #ec5963, #df3545) !important;
    box-shadow: 0 7px 16px rgba(223, 53, 69, .2); color: #fff !important; font-weight: 800;
}
.products-page #btn-apply-filter:hover { filter: brightness(.96); transform: translateY(-1px); }
.products-page .products-toolbar, .products-page .quick-filters {
    border: 1px solid #e8eaf1; border-radius: 22px; box-shadow: 0 7px 22px rgba(35, 45, 75, .05);
}
.products-page .quick-filters { padding: 12px; gap: 9px; flex-wrap: wrap; }
.products-page .filter-chip {
    min-height: 42px; padding: 9px 19px; border: 1px solid #e6e9f1;
    border-radius: 999px; background: #fff; color: #394256; font-weight: 700;
}
.products-page .filter-chip.active { border-color: #e64545; background: #e64545; color: #fff; }
html[data-theme="dark"] .products-page .filter-sidebar > .filter-box {
    border-color: #293243 !important; background: linear-gradient(145deg, #151b27 0%, #111722 100%) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
}
html[data-theme="dark"] .products-page .filter-sidebar > .filter-box h5 { color: #f4f6fb !important; }
html[data-theme="dark"] .products-page .category-filter-summary,
html[data-theme="dark"] .products-page .filter-box .manual-price-inputs input {
    border-color: #30394b !important; background: #0f151f !important; color: #eef1f7 !important;
}
html[data-theme="dark"] .products-page .category-filter-summary i,
html[data-theme="dark"] .products-page .filter-box .manual-price-inputs label,
html[data-theme="dark"] .products-page .manual-price-inputs small { color: #aeb8c8 !important; }
html[data-theme="dark"] .products-page .category-filter-row label,
html[data-theme="dark"] .products-page .brand-filter-dropdown label,
html[data-theme="dark"] .products-page .subcategory-option,
html[data-theme="dark"] .products-page .feature-filter-option { color: #e5e9f1 !important; }
html[data-theme="dark"] .products-page .category-filter-list li,
html[data-theme="dark"] .products-page .brand-filter-dropdown li { border-color: #293243; }
html[data-theme="dark"] .products-page .products-toolbar,
html[data-theme="dark"] .products-page .quick-filters { border-color: #293243; }
html[data-theme="dark"] .products-page .filter-chip { background: #111722; border-color: #30394b; color: #e5e9f1; }
html[data-theme="dark"] .products-page .filter-chip.active { background: #e64545; border-color: #e64545; color: #fff; }
@media (max-width: 1199px) { .products-page .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .products-page .filter-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .products-page .filter-sidebar { grid-template-columns: 1fr; gap: 10px; }
    .products-page .filter-sidebar > .filter-box { padding: 16px; border-radius: 18px; }
    .products-page .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .products-page .quick-filters { flex-wrap: nowrap; overflow-x: auto; }
    .products-page .filter-chip { flex: 0 0 auto; }
}
@media (max-width: 359px) { .products-page .products-grid { grid-template-columns: 1fr; } }
