/* 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;
    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 .wishlist-btn { top:16px; right:16px; }
.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; }
@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; }
}