/* Flex One storefront — aligned with /new dark athletic UI */
:root {
    --eshop-primary: #2563eb;
    --eshop-accent: #93c5fd;
    --eshop-surface: #111827;
    --eshop-bg: #0a0a0a;
    --eshop-text: #f8fafc;
    --eshopy-muted: #94a3b8;
    --eshop-radius: 14px;
    --eshop-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --eshop-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
    --eshop-sticky-header-height: calc(4.25rem + env(safe-area-inset-top, 0px));
    --fx-font-display: "Barlow Condensed", system-ui, sans-serif;
    --fx-font-body: "Inter", system-ui, sans-serif;
    --fx-border: rgba(255, 255, 255, 0.08);
}

body.fx-storefront {
    background: var(--eshop-bg) !important;
    color: var(--eshop-text);
    min-height: 100vh;
    font-family: var(--fx-font-body);
    background-image:
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(37, 99, 235, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 20%, rgba(147, 197, 253, 0.06), transparent 50%),
        radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px) !important;
    background-size: auto, auto, 28px 28px !important;
    background-attachment: fixed !important;
}

.fx-storefront .eshop-navbar {
    background: rgba(10, 10, 10, 0.88) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fx-border);
    box-shadow: none !important;
}
.fx-storefront .eshop-navbar .navbar-brand img {
    max-height: 40px;
    width: auto;
}
.fx-storefront .eshop-navbar .btn-cart,
.fx-storefront .eshop-navbar .btn-nav-pill {
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: none;
}
.fx-storefront .eshop-navbar .btn-nav-pill {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}
.fx-storefront .eshop-navbar .btn-nav-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}
.fx-storefront .eshop-navbar .btn-cart {
    background: #fff;
    color: #0f172a;
    border: none;
}
.fx-storefront .eshop-navbar .btn-cart:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.fx-storefront .eshop-navbar .btn-home {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}
.fx-storefront .eshop-navbar .btn-home:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.fx-storefront .detail-breadcrumb .breadcrumb-item,
.fx-storefront .detail-breadcrumb .breadcrumb-item.active {
    color: var(--eshopy-muted);
}
.fx-storefront .detail-breadcrumb .breadcrumb-item a {
    color: var(--eshop-accent);
}
.fx-storefront .detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #475569;
}

.fx-storefront .product-gallery {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    border-radius: 1.35rem;
    overflow: hidden;
    padding: 0.75rem;
}
.fx-storefront .product-gallery-main-wrap {
    background:
        radial-gradient(ellipse at 30% 15%, rgba(147, 197, 253, 0.1), transparent 55%),
        #0b1220;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}
.fx-storefront .product-gallery-main-wrap .product-image-main {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.fx-storefront .product-gallery-main-wrap:hover .product-image-main {
    transform: scale(1.03);
}
.fx-storefront .gallery-thumb-btn {
    background: #1e293b;
    border-color: transparent;
    border-radius: 0.75rem;
    overflow: hidden;
}
.fx-storefront .gallery-thumb-btn:hover {
    border-color: rgba(147, 197, 253, 0.5);
}
.fx-storefront .gallery-thumb-btn.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.fx-storefront .product-image-placeholder {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    color: #64748b;
}

.fx-storefront .detail-panel {
    background: rgba(17, 24, 39, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
    border-radius: 1.35rem;
    padding: 1.5rem 1.5rem 1.65rem;
}

.fx-storefront .product-title {
    font-family: var(--fx-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
}

.fx-storefront #productPriceDisplay {
    color: #fff !important;
    font-family: var(--fx-font-display);
}

.fx-storefront .section-label {
    color: var(--eshopy-muted);
}
.fx-storefront .section-label i {
    color: var(--eshop-accent);
}

.fx-storefront .badge.bg-light {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-color: var(--fx-border) !important;
}

.fx-storefront .text-muted {
    color: var(--eshopy-muted) !important;
}
.fx-storefront .text-primary {
    color: var(--eshop-accent) !important;
}

.fx-storefront .variant-card {
    background: #0f172a !important;
    border-color: var(--fx-border) !important;
    box-shadow: none;
    color: #fff;
}
.fx-storefront .variant-card:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}
.fx-storefront .variant-card.selected {
    border-color: #fff !important;
    background: linear-gradient(180deg, #1e3a8a 0%, #0f172a 100%) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
}
.fx-storefront .variant-card .card-body {
    color: #e2e8f0;
}
.fx-storefront .variant-card .text-primary {
    color: #fff !important;
}
.fx-storefront .variant-image.bg-light {
    background: #1e293b !important;
}

.fx-storefront .color-choice-btn {
    background: #0f172a;
    border-color: var(--fx-border) !important;
    color: #e2e8f0 !important;
}
.fx-storefront .color-choice-btn:hover,
.fx-storefront .color-choice-btn.active,
.fx-storefront .color-choice-btn.btn-primary {
    background: #1e3a8a !important;
    border-color: #fff !important;
    color: #fff !important;
}

.fx-storefront .detail-purchase-bar {
    background: #0f172a;
    border: 1px solid var(--fx-border);
}
.fx-storefront .detail-purchase-bar__cta,
.fx-storefront .btn-primary {
    background: #fff !important;
    border-color: #fff !important;
    color: #0f172a !important;
    font-weight: 700;
    border-radius: 999px;
}
.fx-storefront .detail-purchase-bar__cta:hover,
.fx-storefront .btn-primary:hover {
    background: #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}
.fx-storefront .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
}
.fx-storefront .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}
.fx-storefront .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.25);
    color: #cbd5e1;
}
.fx-storefront .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.fx-storefront .qty-control .form-control {
    background: #0f172a;
    border-color: var(--fx-border);
    color: #fff;
}
.fx-storefront .qty-control .btn {
    background: #1e293b;
    border-color: var(--fx-border);
    color: #fff;
}

.fx-storefront .detail-selection-summary {
    background: #0f172a;
    border: 1px solid var(--fx-border);
    color: #e2e8f0;
}
.fx-storefront .detail-step-back {
    color: var(--eshop-accent) !important;
}

.fx-storefront .cart-sidebar {
    background: rgba(11, 16, 28, 0.97);
    color: #f8fafc;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
}
.fx-storefront .cart-sidebar-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
}
.fx-storefront .cart-footer-panel {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fx-storefront .cart-overlay {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
}

.fx-storefront .checkout-modal .modal-content,
.fx-storefront #productQrModal .modal-content {
    background: #111827;
    color: #f8fafc;
}
.fx-storefront .checkout-modal .modal-header,
.fx-storefront #productQrModal .modal-header {
    border-color: var(--fx-border);
}
.fx-storefront .checkout-modal .form-control,
.fx-storefront .checkout-modal .form-select,
.fx-storefront .checkout-modal textarea {
    background: #0f172a;
    border-color: var(--fx-border);
    color: #fff;
}
.fx-storefront .checkout-modal .form-control:focus {
    background: #0f172a;
    color: #fff;
    border-color: #64748b;
    box-shadow: 0 0 0 0.2rem rgba(148, 163, 184, 0.2);
}
.fx-storefront .checkout-modal .form-label {
    color: #cbd5e1;
}
.fx-storefront .btn-check:checked + .btn-outline-primary {
    background: #fff !important;
    color: #0f172a !important;
    border-color: #fff !important;
}
.fx-storefront .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 0.7;
}

.fx-storefront .toast {
    background: #111827;
    color: #fff;
    border: 1px solid var(--fx-border);
}

.fx-storefront-footer {
    display: none;
}

/* Full site footer (same as /new) */
.fx-footer {
    background: #000;
    border-top: 1px solid var(--fx-border);
    padding: 3rem 0 0;
    margin-top: 2rem;
    color: var(--eshop-text);
}
.fx-footer .fx-container,
.fx-footer .container {
    width: min(1280px, 100% - 2rem);
    margin-inline: auto;
}
.fx-footer__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 2rem;
}
@media (min-width: 768px) {
    .fx-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.fx-footer__logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 0.75rem;
}
.fx-footer__tag {
    color: var(--eshopy-muted);
    font-size: 0.9rem;
    margin: 0;
}
.fx-footer__title {
    font-family: var(--fx-font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
    color: #fff;
    font-weight: 700;
}
.fx-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fx-footer__links a {
    color: var(--eshopy-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    font-weight: 500;
}
.fx-footer__links a:hover { color: #fff; }
.fx-footer__bottom {
    border-top: 1px solid var(--fx-border);
    padding: 1rem 0 1.5rem;
    font-size: 0.8rem;
    color: var(--eshopy-muted);
}

/* —— Catalog (order.php) —— */
.fx-storefront .page-hero {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2.25rem 0 1.35rem;
    position: relative;
}
.fx-storefront .page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--eshop-accent);
}
.fx-storefront .page-hero__eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}
.fx-storefront .page-hero h1 {
    font-family: var(--fx-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(2.1rem, 5vw, 3.35rem);
    line-height: 0.95;
    color: #fff;
    margin: 0 0 0.75rem;
}
.fx-storefront .page-hero__rule {
    width: 3rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    border: 0;
    margin: 0 0 0.85rem;
    opacity: 1;
}
.fx-storefront .page-hero .lead {
    color: var(--eshopy-muted);
    font-size: 1.02rem;
    max-width: 36rem;
    line-height: 1.55;
}
.fx-storefront .page-hero .badge {
    background: rgba(15, 23, 42, 0.75) !important;
    color: #e2e8f0 !important;
    border: 1px solid var(--fx-border) !important;
    backdrop-filter: blur(8px);
    font-weight: 600;
}

/* Sticky category bar */
.fx-storefront .eshop-sticky-filters {
    background: rgba(10, 14, 24, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1.15rem !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    margin-bottom: 1.5rem !important;
    padding: 0.85rem 1rem !important;
}
.fx-storefront .eshop-sticky-filters .text-muted,
.fx-storefront .eshop-sticky-filters .text-primary,
.fx-storefront .eshop-sticky-filters .bi-funnel {
    color: #94a3b8 !important;
}
.fx-storefront .eshop-sticky-filters .small.fw-semibold {
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
}
.fx-storefront .category-filter.btn,
.fx-storefront .category-filter.btn-outline-primary {
    border-radius: 999px !important;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.4rem 0.95rem !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.fx-storefront .category-filter.btn:hover,
.fx-storefront .category-filter.btn-outline-primary:hover {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none;
    transform: translateY(-1px);
}
.fx-storefront .category-filter.active,
.fx-storefront .category-filter.btn-outline-primary.active {
    background: #fff !important;
    border-color: #fff !important;
    color: #0f172a !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12) !important;
}
.fx-storefront .category-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
}

#productsGrid.view-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.35rem;
}

/* Desktop grid density: 2 / 4 / 6 products per row */
@media (min-width: 992px) {
    #productsGrid.view-grid.cols-2 > .product-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #productsGrid.view-grid.cols-4 > .product-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
    #productsGrid.view-grid.cols-6 > .product-item {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    #productsGrid.view-grid.cols-6 .product-card .card-title {
        font-size: 0.98rem;
    }
    #productsGrid.view-grid.cols-6 .product-price {
        font-size: 1.15rem;
    }
    #productsGrid.view-grid.cols-6 .product-actions .btn {
        font-size: 0.72rem;
    }
}

.fx-storefront .catalog-cols-toggle .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #cbd5e1;
    background: transparent;
}
.fx-storefront .catalog-cols-toggle .btn-check:checked + .btn-outline-primary {
    background: #fff !important;
    color: #0f172a !important;
    border-color: #fff !important;
    box-shadow: none !important;
}
.fx-storefront .catalog-cols-toggle.is-hidden {
    display: none !important;
}

.fx-storefront .product-item {
    animation: fxCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    content-visibility: auto;
    contain-intrinsic-size: 440px;
}
.fx-storefront .product-item:nth-child(n+13) {
    animation: none;
}
.fx-storefront .product-item:nth-child(1) { animation-delay: 0.02s; }
.fx-storefront .product-item:nth-child(2) { animation-delay: 0.05s; }
.fx-storefront .product-item:nth-child(3) { animation-delay: 0.08s; }
.fx-storefront .product-item:nth-child(4) { animation-delay: 0.11s; }
.fx-storefront .product-item:nth-child(5) { animation-delay: 0.14s; }
.fx-storefront .product-item:nth-child(6) { animation-delay: 0.17s; }
.fx-storefront .product-item:nth-child(7) { animation-delay: 0.2s; }
.fx-storefront .product-item:nth-child(8) { animation-delay: 0.23s; }
@keyframes fxCardIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .fx-storefront .product-item { animation: none; }
}

.fx-storefront .product-card {
    background: rgba(17, 24, 39, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
    color: #f8fafc;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.fx-storefront .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.fx-storefront .product-card-image-link {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(147, 197, 253, 0.08), transparent 55%),
        #0b1220;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    display: block;
}
.fx-storefront .product-card-image-link::after {
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0.85;
}
.fx-storefront .product-card-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 20, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.fx-storefront .product-card-media-overlay span {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0f172a;
    font-size: 1.1rem;
    transform: translateY(8px) scale(0.92);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.fx-storefront .product-card:hover .product-card-media-overlay {
    opacity: 1;
}
.fx-storefront .product-card:hover .product-card-media-overlay span {
    transform: translateY(0) scale(1);
}
.fx-storefront .product-image {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.fx-storefront .product-card .card-body {
    color: #f8fafc !important;
    background: transparent;
    padding: 1.15rem 1.2rem 1.25rem !important;
    gap: 0.35rem;
}
.fx-storefront .product-card .card-title {
    font-family: var(--fx-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 1.15rem;
    line-height: 1.15;
    margin-bottom: 0.35rem;
}
.fx-storefront .product-card .card-title,
.fx-storefront .product-card a,
.fx-storefront .product-card a.text-dark,
.fx-storefront .product-card .text-dark {
    color: #f8fafc !important;
}
.fx-storefront .product-card .text-muted,
.fx-storefront .product-card .text-secondary,
.fx-storefront .product-card .card-text {
    color: #94a3b8 !important;
}
.fx-storefront .product-price {
    color: #fff !important;
    font-family: var(--fx-font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}
.fx-storefront .product-color-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.35rem 0 0.15rem;
    min-height: 0.85rem;
}
.fx-storefront .product-color-dots span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    flex: 0 0 auto;
}
.fx-storefront .product-color-dots__more {
    font-size: 0.7rem;
    color: #94a3b8;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
}
.fx-storefront .product-card .bg-light,
.fx-storefront .product-image.bg-light {
    background: transparent !important;
    color: #64748b !important;
    height: 100%;
    min-height: 100%;
}
.fx-storefront .badge.bg-light {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.fx-storefront .badge.bg-primary.bg-opacity-10,
.fx-storefront .badge.bg-secondary.bg-opacity-10 {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #e2e8f0 !important;
}
.fx-storefront .product-actions.btn-group {
    box-shadow: none !important;
    gap: 0.35rem;
}
.fx-storefront .product-actions .btn {
    border-radius: 999px !important;
    font-weight: 700;
    font-size: 0.78rem;
}
.fx-storefront .product-card .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    background: transparent;
}
.fx-storefront .product-card .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}
.fx-storefront .product-card .btn-primary {
    border-radius: 999px;
    background: #fff !important;
    border-color: #fff !important;
    color: #0f172a !important;
}
.fx-storefront .product-card .btn-outline-secondary {
    border-radius: 999px !important;
    width: 2.1rem;
    padding-left: 0;
    padding-right: 0;
}

.fx-storefront #productsGrid.view-list .product-card {
    border-radius: 1rem !important;
}
.fx-storefront #productsGrid.view-list .product-card:hover {
    transform: translateY(-3px);
}
.fx-storefront #productsGrid.view-list .product-card-image-link {
    aspect-ratio: auto;
    width: 132px;
    min-width: 132px;
    max-width: 132px;
}
.fx-storefront #productsGrid.view-list .product-card-media-overlay {
    display: none;
}
.fx-storefront #productsGrid.view-list .product-image {
    height: 100% !important;
    min-height: 110px;
    max-height: 150px;
}

.fx-storefront .catalog-view-toggle .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #cbd5e1;
    background: transparent;
}
.fx-storefront .catalog-view-toggle .btn-check:checked + .btn-outline-primary {
    background: #fff !important;
    color: #0f172a !important;
    border-color: #fff !important;
    box-shadow: none !important;
}

.fx-storefront .eshop-navbar .eshop-nav-search-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: none;
}
.fx-storefront .eshop-navbar .eshop-nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.fx-storefront .eshop-navbar .eshop-nav-search-btn .catalog-search-active-dot {
    border-color: #0a0a0a;
}

.fx-storefront .catalog-search-modal .modal-content {
    background: #111827;
    color: #f8fafc;
}
.fx-storefront .catalog-search-modal .modal-header {
    background: #0f172a !important;
    color: #fff;
    border-bottom: 1px solid var(--fx-border);
}
.fx-storefront .catalog-search-modal .form-control {
    background: #0f172a;
    border-color: var(--fx-border);
    color: #fff;
}
.fx-storefront .catalog-search-modal .form-control:focus {
    background: #0f172a;
    color: #fff;
    border-color: #64748b;
    box-shadow: 0 0 0 0.2rem rgba(148, 163, 184, 0.2);
}
.fx-storefront .catalog-search-modal .modal-footer {
    border-color: var(--fx-border);
}

.fx-storefront .eshop-catalog-empty-php,
.fx-storefront #catalogEmptyState,
.fx-storefront .alert-light {
    background: #111827 !important;
    border-color: var(--fx-border) !important;
    color: var(--eshopy-muted) !important;
}
.fx-storefront .eshop-catalog-empty-php .text-dark,
.fx-storefront #catalogEmptyState .text-dark {
    color: #fff !important;
}

.fx-storefront .order-page-side-logo {
    opacity: 0.04;
    filter: none;
}

.fx-storefront .variants-modal .modal-content,
.fx-storefront .modal-content {
    background: #111827;
    color: #f8fafc;
    border: 1px solid var(--fx-border);
}
.fx-storefront .modal-header,
.fx-storefront .modal-footer {
    border-color: var(--fx-border);
}
.fx-storefront .form-control,
.fx-storefront .form-select {
    background: #0f172a;
    border-color: var(--fx-border);
    color: #fff;
}
.fx-storefront .form-control:focus,
.fx-storefront .form-select:focus {
    background: #0f172a;
    color: #fff;
    border-color: #64748b;
    box-shadow: 0 0 0 0.2rem rgba(148, 163, 184, 0.2);
}
.fx-storefront .cart-footer-panel {
    background: #111827 !important;
    border-color: var(--fx-border) !important;
}

/* —— Mobile storefront nav —— */
.fx-storefront .eshop-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}
.fx-storefront .eshop-navbar.is-nav-open {
    background: #0a0a0a !important;
}
.fx-storefront .eshop-nav__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.fx-storefront .eshop-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-shrink: 0;
}
.fx-storefront .eshop-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.fx-storefront .eshop-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.fx-storefront .eshop-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.fx-storefront .eshop-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.fx-storefront .eshop-nav__cart-compact {
    width: 44px;
    height: 44px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fx-storefront .eshop-nav__cart-compact .cart-badge {
    top: 2px;
    right: 2px;
}
.fx-storefront .eshop-nav__panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, #0b1220 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--fx-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    z-index: 2;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.fx-storefront .eshop-nav__panel.is-open {
    display: block;
    animation: eshop-nav-in 0.22s ease;
}
@keyframes eshop-nav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.fx-storefront .eshop-nav__list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 1rem;
}
.fx-storefront .eshop-nav__list a,
.fx-storefront .eshop-nav__list-btn {
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.95rem 0.35rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}
.fx-storefront .eshop-nav__list a:hover,
.fx-storefront .eshop-nav__list a:focus-visible,
.fx-storefront .eshop-nav__list a[aria-current="page"],
.fx-storefront .eshop-nav__list-btn:hover,
.fx-storefront .eshop-nav__list-btn:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}
.fx-storefront .eshop-nav__list-count {
    margin-left: auto;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fx-storefront .eshop-nav__list-dot {
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60a5fa;
    display: inline-block;
}
.fx-storefront .eshop-nav__list-dot.d-none {
    display: none !important;
}
.fx-storefront .eshop-nav__scrim {
    position: fixed;
    inset: 0;
    z-index: 1;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}
.fx-storefront .eshop-nav__scrim[hidden] {
    display: none !important;
}
body.eshop-nav-locked {
    overflow: hidden;
    touch-action: none;
}
.fx-storefront .eshop-navbar .btn-home.is-active,
.fx-storefront .eshop-navbar .btn-nav-pill.is-active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

/* Floating cart — mobile */
.fx-storefront .eshop-cart-fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fx-storefront .eshop-cart-fab:hover,
.fx-storefront .eshop-cart-fab:focus-visible {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
    outline: none;
}
.fx-storefront .eshop-cart-fab__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #0a0a0a;
}
.fx-storefront .eshop-cart-fab__badge.is-empty {
    display: none;
}

@media (min-width: 992px) {
    .fx-storefront .eshop-nav-toggle,
    .fx-storefront .eshop-nav__panel,
    .fx-storefront .eshop-nav__scrim,
    .fx-storefront .eshop-cart-fab {
        display: none !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .fx-storefront .eshop-nav__panel.is-open { animation: none; }
    .fx-storefront .eshop-nav-toggle span { transition: none; }
    .fx-storefront .eshop-cart-fab { transition: none; }
    .fx-storefront .product-card,
    .fx-storefront .product-card:hover { transition: none; transform: none; }
}

.fx-storefront .eshop-back-to-top {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #0f172a !important;
    border: none !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
}
@media (max-width: 991.98px) {
    .fx-storefront .eshop-back-to-top {
        bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Related products (product_detail) */
.fx-storefront .related-products__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--eshop-accent);
    margin: 0;
}
.fx-storefront .related-products__title {
    font-family: var(--fx-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    color: #fff;
    margin: 0 0 0.65rem;
    line-height: 1;
}
.fx-storefront .related-products__rule {
    width: 2.75rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    border: 0;
    opacity: 1;
    margin: 0;
}
.fx-storefront .related-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(17, 24, 39, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.15rem;
    overflow: hidden;
    color: #f8fafc;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.fx-storefront .related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
    color: #fff;
}
.fx-storefront .related-card__media {
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(147, 197, 253, 0.08), transparent 55%),
        #0b1220;
    overflow: hidden;
}
.fx-storefront .related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.45s ease;
}
.fx-storefront .related-card:hover .related-card__media img {
    transform: scale(1.05);
}
.fx-storefront .related-card__placeholder {
    height: 100%;
    min-height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 2rem;
}
.fx-storefront .related-card__body {
    padding: 0.95rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}
.fx-storefront .related-card__cat {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}
.fx-storefront .related-card__name {
    font-family: var(--fx-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 1rem;
    line-height: 1.15;
    margin: 0;
    color: #fff;
}
.fx-storefront .related-card__price {
    margin-top: auto;
    padding-top: 0.45rem;
    font-family: var(--fx-font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}
.fx-storefront .related-card__price--muted {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    font-family: var(--fx-font-body);
}



