/* =========================================================
   PEV LABS — SHOP (PRODUCT GRID)
   Dark theme, aligned to theme.css design tokens.
   theme.css is loaded before this file and already defines:
   --bg --bg-2 --text --muted --card --stroke --accent --accent-2
   --accent-3 --radius --radius-sm --maxw --shadow-sm/md/lg --transition-*
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
header {
    background-color: rgba(10, 15, 20, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    color: var(--text);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--stroke);
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo { padding: 10px 0; }

nav { margin-right: auto; margin-left: auto; }

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

nav a:hover,
nav a.active { color: var(--accent) !important; }

.has-dropdown { position: relative; }

.has-dropdown > a {
    position: relative;
    padding-right: 24px;
}
.has-dropdown > a::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transition: transform 0.2s ease;
    opacity: 0.85;
}
.has-dropdown.open > a::after,
.has-dropdown:hover > a::after { transform: translateY(-50%) rotate(-135deg); }

@media (min-width: 769px) {
    .dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(12, 17, 24, 0.98);
        border: 1px solid var(--stroke);
        box-shadow: var(--shadow-lg);
        border-radius: 10px;
        padding: 0.5rem;
        min-width: 220px;
        z-index: 3000;
        display: none;
        list-style: none;
    }
    .has-dropdown:hover > .dropdown { display: block; }
    .dropdown a {
        color: var(--muted) !important;
        padding: 10px 14px;
        display: block;
        white-space: nowrap;
        font-weight: 500;
        border-radius: 8px;
        transition: background var(--transition-fast), color var(--transition-fast);
    }
    .dropdown a:hover {
        background: rgba(23, 162, 255, 0.1);
        color: #fff !important;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: var(--bg-2);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
}

.search-container input {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 0.5rem;
    width: 200px;
}
.search-container input::placeholder { color: var(--muted); }
.search-container input:focus { outline: none; }

.search-container button {
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text);
    transition: color var(--transition-fast);
}
.cart-icon:hover { color: var(--accent); }

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: #04121e;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   MOBILE NAV OVERLAY
   ========================================================= */
.mobile-nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 10, 14, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 40px;
    gap: 0;
    z-index: 15000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    margin: 0;
    box-sizing: border-box;
    pointer-events: none;
    display: flex !important;
    list-style: none;
}
.mobile-nav-links.active { transform: translateX(0); pointer-events: auto; }
.mobile-nav-links li { width: 100%; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-links a {
    display: block;
    padding: 18px 20px;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
    font-family: 'Inter', sans-serif;
    text-align: left;
}
.mobile-nav-links a:hover { color: var(--accent) !important; background: transparent; }

/* =========================================================
   CART SIDEBAR
   ========================================================= */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background-color: var(--card);
    border-left: 1px solid var(--stroke);
    box-shadow: var(--shadow-lg);
    transition: right 0.4s ease;
    z-index: 3001;
    display: flex;
    flex-direction: column;
}
.cart-sidebar.open { right: 0; }

.cart-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(4, 8, 12, 0.65);
    z-index: 3000;
    display: none;
}
.cart-overlay.active { display: block; }

.cart-header {
    background: linear-gradient(120deg, var(--bg-2), var(--card));
    border-bottom: 1px solid var(--stroke);
    color: var(--text);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 { font-size: 1.5rem; font-weight: 700; color: var(--text); }

.close-cart {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s;
}
.close-cart:hover { color: var(--accent-2); }

.cart-items { flex-grow: 1; padding: 1.5rem; overflow-y: auto; }

.cart-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid var(--stroke);
    gap: 1rem;
}
.cart-item:last-child { border-bottom: none; }

.cart-item-image {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(23,162,255,0.14), rgba(103,232,166,0.1));
    border: 1px solid var(--stroke);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
}

.cart-item-details { flex-grow: 1; }
.cart-item-title { font-weight: 600; margin-bottom: 0.3rem; font-size: 1rem; color: var(--text); }

.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; }

.quantity-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--stroke);
    background-color: var(--bg-2);
    color: var(--text);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.quantity-btn:hover { background-color: var(--accent); border-color: var(--accent); color: #04121e; }

.cart-item-quantity { font-weight: 600; min-width: 30px; text-align: center; color: var(--text); }

.remove-item {
    color: var(--accent-3);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: auto;
    padding: 0.2rem 0.5rem;
}
.remove-item:hover { color: #ff8f8f; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty i { font-size: 3rem; margin-bottom: 1rem; color: var(--stroke); }

.cart-footer { padding: 1.5rem; border-top: 1px solid var(--stroke); }
.cart-summary { margin-bottom: 1.5rem; }
.cart-summary p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
}
.cart-summary .item-count { color: var(--accent); }

.checkout-btn {
    background-color: var(--accent);
    color: #04121e;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-decoration: none;
    text-align: center;
}
.checkout-btn:hover {
    background-color: var(--accent-2);
    box-shadow: var(--shadow-glow, 0 8px 28px rgba(23,162,255,0.25));
}

.cart-feedback-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: var(--accent-2);
    color: #04121e;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 4000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    transition: transform 0.5s ease;
}
.cart-feedback-toast.show { transform: translateX(-50%) translateY(0); }

/* =========================================================
   MAIN LAYOUT
   ========================================================= */
.container {
    display: flex;
    max-width: var(--maxw);
    margin: 2rem auto;
    gap: 2rem;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
}

/* =========================================================
   SIDEBAR / CATEGORIES
   ========================================================= */
.sidebar {
    width: 26%;
    min-width: 240px;
    background-color: var(--card);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--stroke);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.mobile-search-container { display: flex; margin-bottom: 1.5rem; }
.mobile-search-container .search-container { width: 100%; }

.categories-list { list-style: none; }

.categories-list li {
    margin-bottom: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px dotted var(--stroke);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    color: var(--muted);
}
.categories-list li:hover { background-color: rgba(23,162,255,0.08); color: var(--text); }
.categories-list li.active {
    background: linear-gradient(120deg, var(--accent), #0d84d6);
    color: #04121e;
    font-weight: 700;
}
.categories-list li.active:hover { background: linear-gradient(120deg, var(--accent), #0d84d6); color: #04121e; }

.category-count {
    background-color: var(--bg-2);
    color: var(--muted);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    transition: all var(--transition-fast);
    border: 1px solid var(--stroke);
}
.categories-list li.active .category-count {
    background-color: rgba(4, 18, 30, 0.35);
    color: #04121e;
    border-color: transparent;
}

/* Mobile categories dropdown */
.categories-dropdown { display: none; width: 100%; margin-bottom: 1.5rem; position: relative; z-index: 900; }

.dropdown-header {
    background: linear-gradient(120deg, var(--bg-2), var(--card));
    color: var(--text);
    border: 1px solid var(--stroke);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 901;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--stroke);
    margin-top: 5px;
}
.dropdown-content.active { display: block; animation: dropdownFade 0.3s ease; }

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content li {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--stroke);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    color: var(--muted);
}
.dropdown-content li:hover { background-color: rgba(23,162,255,0.08); color: var(--text); }
.dropdown-content li.active { background: var(--accent); color: #04121e; font-weight: 700; }

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products-section { width: 74%; flex: 1; min-width: 0; }

.category-banner {
    position: relative;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--stroke);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}
.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease, ease);
}
.category-banner:hover img { transform: scale(1.03); }
.category-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4,8,12,0.92) 0%, rgba(4,8,12,0.35) 55%, rgba(4,8,12,0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.75rem;
}
.category-banner .banner-eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.35rem;
}
.category-banner h3 {
    color: #fff;
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 0.3rem;
}
.category-banner p {
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
    max-width: 640px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-header h2 {
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.active-category-display {
    font-size: 0.9rem;
    color: var(--muted);
    background-color: var(--bg-2);
    border: 1px solid var(--stroke);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
}
.active-category-display .category-name { color: var(--accent); font-weight: 700; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1.75rem;
}

.product-card {
    background-color: var(--card);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease, border-color var(--transition-medium) ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow, 0 8px 28px rgba(23,162,255,0.22));
    border-color: rgba(23,162,255,0.4);
}

.product-link { text-decoration: none; color: inherit; display: block; cursor: pointer; }

.product-visual {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(23,162,255,0.14), transparent 55%),
        radial-gradient(circle at 80% 85%, rgba(103,232,166,0.12), transparent 55%),
        var(--bg-2);
    border-bottom: 1px solid var(--stroke);
}

.product-icon-tile {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(23,162,255,0.16), rgba(103,232,166,0.10));
    border: 1px solid rgba(23,162,255,0.35);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform var(--transition-medium) ease;
}
.product-card:hover .product-icon-tile { transform: scale(1.08) rotate(-2deg); }

.product-icon-tile i {
    font-size: 2.1rem;
    position: relative;
    filter: drop-shadow(0 2px 6px rgba(23,162,255,0.35));
}
/* Font Awesome renders the glyph on the ::before pseudo-element, so the
   gradient-text clip has to target :before rather than the <i> itself. */
.product-icon-tile i::before {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-info {
    padding: 1.25rem 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
}

.product-title {
    font-weight: 700;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.35;
    font-family: 'Inter', sans-serif;
}

.product-category {
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    display: inline-block;
}

.product-blurb {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0.15rem 0 0.3rem;
}

.product-price {
    margin-top: auto;
    padding-top: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-2);
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.product-price .price-usd-note {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--muted);
}
.product-price.is-quote { color: var(--accent); }
.product-price.is-quote::before {
    content: "\f02b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
}

.add-to-cart-btn {
    background-color: var(--accent);
    color: #04121e;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    font-family: 'Inter', sans-serif;
}
.add-to-cart-btn:hover {
    background-color: var(--accent-2);
    color: #04121e;
}
.add-to-cart-btn.added {
    background-color: var(--accent-2) !important;
    color: #04121e;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
    .container { flex-direction: column; }
    .sidebar, .products-section { width: 100%; }
    .sidebar { position: static; }
    .cart-sidebar { width: 350px; }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        z-index: 20000 !important;
    }
    .container { margin-top: 80px; }
    .menu-toggle { display: block; order: 1; }
    .header-right { order: 3; width: auto; justify-content: flex-end; }
    .search-container { display: none; }
    .cart-icon { font-size: 1.4rem; }

    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 10px !important;
    }
    .product-card { display: flex !important; flex-direction: column !important; width: 100% !important; margin: 0 !important; height: 100%; }
    .product-info { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }

    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cart-sidebar { width: 100%; right: -100%; }
    .categories-list { display: none; }
    .categories-dropdown { display: block; position: relative; z-index: 999; }

    .sidebar {
        width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem 1rem !important;
        background-color: var(--card);
        border-radius: 0 !important;
        box-shadow: none !important;
        position: relative;
        z-index: 10;
    }
    .sidebar h3 { display: none; }
    .dropdown-header { position: relative; z-index: 1000; }

    .mobile-search-container .search-container {
        display: flex !important;
        width: 100%;
        background-color: var(--bg-2);
        border: 1px solid var(--stroke);
        border-radius: 50px;
        padding: 8px 20px;
        margin-bottom: 15px;
    }
    .mobile-search-container .search-container input { flex: 1; width: 100%; font-size: 1rem; }
    .mobile-search-container .search-container button { display: block !important; color: var(--accent); font-size: 1.2rem; padding-left: 10px; }

    .category-banner { height: 160px; }
}

@media (max-width: 576px) {
    .menu-toggle { font-size: 1.3rem; }
    .products-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
    .menu-toggle { display: none; }
    .mobile-nav-links { display: none !important; }
    .mobile-search-container { display: none; }
    .categories-dropdown { display: none; }
    .categories-list { display: block; }
    .sidebar h3 { display: block; }
}

/* =========================================================
   FOOTER (shared chrome, matches theme.css / footer.css)
   ========================================================= */
footer {
    background: var(--bg-2);
    padding: clamp(3rem, 6vw, 4rem) 0 0;
    margin-top: auto;
    position: relative;
    border-top: 1px solid var(--stroke);
    width: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
}

footer .container,
.footer-social-section .container {
    display: block;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--muted); transition: color var(--transition-fast); font-size: 0.95rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }

.footer-contact-info { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.footer-contact-info p { margin-bottom: 0.75rem; }
.footer-contact-info a { color: var(--muted); transition: color var(--transition-fast); text-decoration: none; }
.footer-contact-info a:hover { color: var(--accent); }
.footer-contact-info strong { color: var(--accent); font-weight: 700; font-size: 1.1rem; }

.footer-social-section { background: var(--card); padding: 2rem 0; border-top: 1px solid var(--stroke); width: 100%; }
.footer-social { display: flex; justify-content: space-between; align-items: center; padding: 0; width: 100%; }
.social-icons { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-2); color: var(--text); font-size: 1.1rem;
    transition: all var(--transition-fast); border: 1px solid var(--stroke); text-decoration: none;
}
.social-icon:hover { background: var(--accent); color: var(--bg); transform: translateY(-3px); border-color: var(--accent); }
.copyright { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 992px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-social { flex-direction: column; gap: 1.5rem; text-align: center; }
    .social-icons { gap: 0.75rem; justify-content: center; }
}

/* Catalogue workspace: shared cart, comparison and order flow. */
.pev-shop-experience [hidden] { display: none !important; }
.pev-shop-experience .shop-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 390px; border: 1px solid var(--stroke); border-radius: 26px; background: #101c28; margin-bottom: 22px; }
.pev-shop-experience .shop-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 15, 24, .96), rgba(6, 15, 24, .8) 38%, rgba(6, 15, 24, .1)); }
.pev-shop-experience .shop-hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.pev-shop-experience .shop-hero-copy { padding: clamp(28px, 4vw, 54px); max-width: 610px; }
.pev-shop-experience .shop-eyebrow { color: var(--accent-2); letter-spacing: .13em; font-size: .64rem; font-weight: 700; margin: 0 0 20px; }
.pev-shop-experience .shop-hero h1 { border: 0; padding: 0; font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; margin: 0 0 22px; }
.pev-shop-experience .shop-hero h1 span { color: var(--accent-2); }
.pev-shop-experience .shop-hero-copy > p:not(.shop-eyebrow) { max-width: 400px; font-size: .91rem; line-height: 1.7; color: #d0dce7; margin-bottom: 26px; }
.pev-shop-experience .shop-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 16px; border-radius: 12px; border: 1px solid transparent; background: var(--accent); color: #06101a; font-family: inherit; font-size: .79rem; font-weight: 600; line-height: 1.4; cursor: pointer; text-decoration: none; text-align: center; transition: background .2s, border-color .2s, transform .2s; }
.pev-shop-experience .shop-button:hover:not(:disabled) { color: #06101a; background: var(--accent-2); transform: translateY(-1px); }
.pev-shop-experience .shop-button-secondary { background: rgba(255, 255, 255, .055); color: var(--text); border-color: var(--stroke); }
.pev-shop-experience .shop-button-secondary:hover:not(:disabled) { color: var(--text); background: rgba(23, 162, 255, .14); border-color: var(--accent); }
.pev-shop-experience .shop-button[aria-pressed='true'] { color: var(--accent-2); border-color: var(--accent-2); background: rgba(103, 232, 166, .08); }
.pev-shop-experience .shop-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pev-shop-experience :is(.shop-button, .shop-dialog input, .shop-dialog textarea, .shop-toolbar select, .shop-compare-scroll):focus-visible { outline: 3px solid var(--accent-2); outline-offset: 4px; }
.pev-shop-experience .shop-procurement-note { padding: 16px 18px; border: 1px solid var(--stroke); border-radius: 14px; background: rgba(255, 255, 255, .025); color: var(--muted); font-size: .8rem; line-height: 1.7; margin: 0 0 22px; }
.pev-shop-experience .shop-procurement-note strong { color: var(--text); }
.pev-shop-experience .shop-toolbar, .pev-shop-experience .shop-detail-navigation { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 25px; }
.pev-shop-experience .shop-toolbar label { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--muted); }
.pev-shop-experience .shop-toolbar select { min-height: 44px; padding: 9px 34px 9px 12px; color: var(--text); background: #111c27; border: 1px solid var(--stroke); border-radius: 10px; font: inherit; }
.pev-shop-experience .shop-toolbar-actions, .pev-shop-experience .shop-dialog-actions, .pev-shop-experience .shop-fallback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pev-shop-experience .shop-detail-navigation { margin-top: 8px; }
.pev-shop-experience .shop-detail-navigation > a { font-size: .85rem; text-decoration: none; color: var(--accent-2); }
.pev-shop-experience .shop-card-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 0 16px 18px; margin-top: auto; }
.pev-shop-experience .shop-card-actions .shop-button { padding: 10px 8px; font-size: .75rem; }
.pev-shop-experience #detailCommerce .shop-card-actions { padding: 0; max-width: 400px; margin: 18px 0; }
.pev-shop-experience .shop-live-price { color: var(--text); font-size: 1.12rem; font-weight: 650; margin: 12px 0 5px; }
.pev-shop-experience .shop-availability { font-size: .71rem; color: var(--muted); margin: 0 0 12px; }
.pev-shop-experience .shop-header-cart { white-space: nowrap; flex-shrink: 0; }
.pev-shop-experience .shop-header-cart span { display: inline-grid; place-items: center; border-radius: 8px; background: rgba(0, 0, 0, .13); min-width: 24px; padding: 1px 5px; }
.pev-shop-experience.shop-dialog-open { overflow: hidden; }
.pev-shop-experience .shop-dialog { position: fixed; inset: 0; width: min(860px, calc(100vw - 32px)); max-height: min(90dvh, 1000px); padding: 28px; margin: auto; overflow: auto; color: var(--text); background: #101a25; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; box-shadow: 0 24px 100px rgba(0, 0, 0, .5); }
.pev-shop-experience #shopCompare { width: min(1180px, calc(100vw - 32px)); }
.pev-shop-experience .shop-dialog::backdrop { background: rgba(4, 10, 18, .78); backdrop-filter: blur(10px); }
.pev-shop-experience .shop-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 17px; }
.pev-shop-experience .shop-dialog h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 650; letter-spacing: -.025em; border: 0; padding: 0; margin: 4px 0 0; }
.pev-shop-experience .shop-dialog h2::after { display: none; }
.pev-shop-experience .shop-dialog h3 { font-size: 1.06rem; margin: 0 0 14px; }
.pev-shop-experience .shop-dialog-intro { font-size: .86rem; line-height: 1.7; color: var(--muted); max-width: 650px; margin: 0 0 20px; }
.pev-shop-experience .shop-cart-row { display: grid; grid-template-columns: 1fr 88px auto; gap: 18px; align-items: center; padding: 19px 0; border-top: 1px solid var(--stroke); }
.pev-shop-experience .shop-cart-summary a { color: var(--text); font-size: .85rem; font-weight: 600; text-decoration: none; }
.pev-shop-experience .shop-cart-summary p { font-size: .7rem; margin: 5px 0 0; color: var(--muted); }
.pev-shop-experience .shop-cart-summary .shop-live-price { color: var(--accent-2); font-size: .83rem; }
.pev-shop-experience .shop-quantity { display: grid; gap: 5px; color: var(--muted); font-size: .7rem; }
.pev-shop-experience .shop-dialog input, .pev-shop-experience .shop-dialog textarea { display: block; width: 100%; max-width: 100%; min-height: 44px; border: 1px solid var(--stroke); border-radius: 10px; background: #08121c; color: var(--text); padding: 10px 12px; font: inherit; font-size: .88rem; }
.pev-shop-experience .shop-dialog textarea { resize: vertical; }
.pev-shop-experience .shop-dialog-actions { padding-block: 15px; }
.pev-shop-experience .shop-cart-form { border-top: 1px solid var(--stroke); padding-top: 24px; margin-top: 22px; }
.pev-shop-experience .shop-cart-form label { display: grid; gap: 8px; font-size: .79rem; color: var(--muted); margin-bottom: 17px; }
.pev-shop-experience .shop-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.pev-shop-experience .shop-fallback-actions { margin-top: 15px; }
.pev-shop-experience .shop-form-result { font-size: .85rem; color: var(--accent-2); line-height: 1.7; margin: 16px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pev-shop-experience .shop-dialog-footnote { border-top: 1px solid var(--stroke); color: var(--muted); font-size: .71rem; line-height: 1.7; padding-top: 17px; margin-top: 20px; }
.pev-shop-experience .shop-empty { padding: 28px 15px; text-align: center; color: var(--muted); }
.pev-shop-experience .shop-empty p { font-size: .86rem; margin-bottom: 20px; }
.pev-shop-experience .shop-empty .shop-button { margin: 5px; }
.pev-shop-experience .shop-compare-scroll { overflow: auto; max-width: 100%; border-radius: 14px; border: 1px solid var(--stroke); }
.pev-shop-experience .shop-compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .82rem; text-align: left; }
.pev-shop-experience .shop-compare-table caption { padding: 16px; text-align: left; font-size: .76rem; color: var(--muted); }
.pev-shop-experience .shop-compare-table :is(th, td) { padding: 17px; border-top: 1px solid var(--stroke); vertical-align: top; min-width: 155px; }
.pev-shop-experience .shop-compare-table thead th { background: #152230; font-weight: 600; }
.pev-shop-experience .shop-compare-table a { display: block; color: var(--text); text-decoration: none; margin-bottom: 14px; }
.pev-shop-experience .shop-compare-table tbody th { color: var(--muted); font-weight: 500; }
.pev-shop-experience .shop-announcement { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 36px); z-index: 21000; background: #17293a; border: 1px solid var(--stroke); border-radius: 14px; padding: 12px 18px; font-size: .79rem; color: var(--text); box-shadow: 0 8px 40px #0006; pointer-events: none; }
.pev-shop-experience .shop-announcement:empty { display: none; }
.pev-shop-experience .dropdown-header { color: var(--text); font: inherit; width: 100%; text-align: left; background: transparent; border: 0; }
.pev-shop-experience #documentsList .document-info { display: block; }
.pev-shop-experience #documentsList h3 { font-size: .95rem; }
.pev-shop-experience #documentsList .document-item { flex-wrap: wrap; gap: 16px; }
@media (max-width: 720px) {
  .pev-shop-experience .shop-hero { min-height: 410px; border-radius: 19px; }
  .pev-shop-experience .shop-hero::after { background: linear-gradient(90deg, rgba(6, 15, 24, .93), rgba(6, 15, 24, .45)); }
  .pev-shop-experience .shop-hero-copy { padding: 32px 25px; }
  .pev-shop-experience .shop-toolbar { align-items: stretch; }
  .pev-shop-experience .shop-toolbar-actions { width: 100%; }
  .pev-shop-experience .shop-toolbar-actions .shop-button { flex: 1; }
  .pev-shop-experience .shop-dialog { padding: 20px; max-height: 94dvh; width: calc(100vw - 20px); border-radius: 19px; }
  .pev-shop-experience .shop-dialog-head { gap: 10px; }
  .pev-shop-experience .shop-dialog-head .shop-button { padding: 9px 11px; }
  .pev-shop-experience .shop-cart-row { grid-template-columns: 1fr 80px; gap: 14px; }
  .pev-shop-experience .shop-cart-row > .shop-button { justify-self: start; padding: 7px 13px; min-height: 38px; }
  .pev-shop-experience .shop-field-grid { grid-template-columns: 1fr; gap: 0; }
  .pev-shop-experience .shop-dialog-actions { gap: 7px; }
  .pev-shop-experience .shop-dialog-actions .shop-button { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .pev-shop-experience .shop-button { transition: none; } .pev-shop-experience .shop-button:hover { transform: none; } }
@media (prefers-reduced-transparency: reduce) { .pev-shop-experience .shop-dialog::backdrop { backdrop-filter: none; } }

.pev-shop-experience .shop-dialog-status { color: var(--accent-2); font-size: .8rem; line-height: 1.6; margin: 0 0 15px; }
.pev-shop-experience .shop-dialog-status:empty { display: none; }

/* Customer-target kit configuration; this does not represent a priced product variant. */
.pev-shop-experience .shop-kit-editor { margin: 14px 0; padding: 12px 0; border-block: 1px solid var(--stroke); }
.pev-shop-experience .shop-kit-editor > summary { min-height: 44px; display: list-item; align-content: center; color: var(--text); font-size: .84rem; font-weight: 600; cursor: pointer; }
.pev-shop-experience .shop-kit-editor > summary::marker { color: var(--accent); }
.pev-shop-experience .shop-kit-editor > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.pev-shop-experience .shop-kit-fields { margin: 12px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.pev-shop-experience .shop-kit-fields legend { padding: 0 0 12px; font-size: .77rem; color: var(--muted); }
.pev-shop-experience .shop-kit-fields label { display: grid; gap: 7px; font-size: .76rem; color: var(--muted); min-width: 0; }
.pev-shop-experience .shop-kit-fields label:last-child { grid-column: 1 / -1; }
.pev-shop-experience .shop-kit-fields :is(input, select) { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--stroke); border-radius: 11px; color: var(--text); background: var(--bg-2); font: inherit; }
.pev-shop-experience .shop-kit-fields :is(input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pev-shop-experience .shop-kit-note { font-size: .72rem; line-height: 1.65; color: var(--muted); margin: 8px 0; }
.pev-shop-experience .shop-cart-summary .shop-kit-request, .pev-shop-experience .shop-kit-request { white-space: pre-line; font-size: .75rem; line-height: 1.7; color: var(--muted); margin: 10px 0; overflow-wrap: anywhere; }
.pev-shop-experience .shop-cart-summary { min-width: 0; }
@media (max-width: 720px) { .pev-shop-experience .shop-kit-fields { grid-template-columns: 1fr; } }

/* Full-frame conversion-kit photography; retain the original product contracts. */
.product-visual.product-visual-image { height: auto; aspect-ratio: 16 / 9; }
.product-visual-image > .product-kit-image { display: block; width: 100%; height: auto; object-fit: contain; transform: none; }

/* Photographic catalogue and compact target filters. Values describe requests, not offers. */
.shop-range-filters { display:grid; grid-template-columns: minmax(150px,1fr) minmax(190px,1.3fr) auto; gap:12px; align-items:end; margin:18px 0; padding:16px; border:1px solid rgba(255,255,255,.14); border-radius:20px; background:rgba(15,29,37,.55); }
.shop-range-filters[hidden] { display:none; }
.shop-range-filters label { display:grid; gap:7px; font-size:.85rem; color:#dce9ed; }
.shop-range-filters input,.shop-range-filters select { width:100%; min-width:0; min-height:44px; border:1px solid rgba(255,255,255,.22); border-radius:12px; padding:10px; color:#f3f7f8; background:#14212c; font:inherit; }
.shop-range-filters p { grid-column:1/-1; margin:0; color:#bdcdd4; font-size:.8rem; line-height:1.55; }
.shop-range-filters :focus-visible { outline:2px solid #6ee7d6; outline-offset:3px; }
.shop-power-band { color:#bce9dc; font-size:.84rem; line-height:1.5; margin:.6rem 0; }
.category-thumbnail { width:52px; height:36px; flex:none; object-fit:contain; border-radius:7px; background:#dce0e1; }
.categories-list li,.dropdown-content li { gap:9px; min-height:52px; }
.categories-list li > span:not(.category-count),.dropdown-content li > span:not(.category-count) { flex:1; min-width:0; }
.product-card .product-visual-image { aspect-ratio: 16/10; height:auto; background:#e6e9e9; }
.product-card .product-visual-image > .product-photo { width:100%; height:100%; object-fit:contain; transform:none; }
.shop-selection-photo { display:block; width:128px; max-width:100%; height:80px; object-fit:contain; border-radius:9px; background:#e6e9e9; margin-bottom:10px; }
.shop-selection-photo[hidden] { display:none; }
.shop-compare-table th a { display:block; }
@media(max-width:720px) { .shop-range-filters { grid-template-columns:1fr; padding:13px; } .shop-range-filters button { min-height:44px; } }
@media(prefers-reduced-transparency:reduce) { .shop-range-filters { background:#14212c; } }
@media(forced-colors:active) { .shop-range-filters,.shop-range-filters input,.shop-range-filters select { background:Canvas; color:CanvasText; border-color:CanvasText; } .shop-power-band { color:CanvasText; } }

.product-card .product-photo[hidden] { display:none; }
.product-visual-image .product-image-status { padding:18px; color:#213844; text-align:center; font-size:.85rem; }

/* Native disclosure stages keep configuration compact on phones and keyboards. */
.shop-kit-configurator > .kit-stage { margin:8px 0; border:1px solid rgba(255,255,255,.16); border-radius:14px; padding:0 12px; background:rgba(17,30,40,.35); }
.kit-stage > summary { min-height:44px; padding:12px 0; cursor:pointer; color:#e3f1ee; font-weight:600; }
.kit-stage .shop-kit-fields { margin:8px 0; padding:0; border:0; }
.kit-stage .shop-kit-fields:has(>legend:only-child) { display:none; }
.kit-stage [data-config-field] { min-height:44px; width:100%; min-width:0; background:#14212c; color:#eef5f7; border:1px solid #51616c; border-radius:8px; padding:9px; font:inherit; }
.kit-stage .needs-reassessment::after { content:'Needs reassessment'; color:#f4c87a; font-size:.75rem; }
.kit-config-review { white-space:pre-wrap; overflow-wrap:anywhere; max-height:20rem; overflow:auto; font:inherit; font-size:.82rem; line-height:1.55; color:#d1e3e7; }
.kit-stage > button { margin:0 8px 12px 0; min-height:44px; }
@media(prefers-reduced-transparency:reduce) { .shop-kit-configurator > .kit-stage { background:#14212c; } }
@media(forced-colors:active) { .shop-kit-configurator > .kit-stage,.kit-stage [data-config-field] { color:CanvasText; background:Canvas; border-color:CanvasText; } .kit-stage .needs-reassessment::after,.kit-config-review { color:CanvasText; } }

.supplier-reference-price { font-size:.76rem; line-height:1.5; color:#b6c9d2; }
.supplier-reference-details { margin:14px 0; border:1px solid rgba(255,255,255,.18); border-radius:14px; padding:12px; }
.supplier-reference-details > summary { min-height:44px; cursor:pointer; font-weight:600; }
.supplier-reference-details label { display:grid; gap:7px; margin:12px 0; }
.supplier-reference-details select { min-height:44px; max-width:100%; color:#edf6f8; background:#14212c; border:1px solid #536773; border-radius:8px; padding:8px; }
.supplier-reference-details a { overflow-wrap:anywhere; }
@media(forced-colors:active) { .supplier-reference-price { color:CanvasText; } }

.kit-component-preview { grid-column:1/-1; display:grid; grid-template-columns:100px minmax(0,1fr); gap:8px 12px; align-items:center; min-width:0; }
.kit-component-preview:empty { display:none; }
.kit-component-photo { grid-row:span 2; width:100%; height:70px; object-fit:contain; border-radius:9px; background:#e4e9e9; }
.kit-component-photo[hidden] { display:none; }
.kit-component-link { overflow-wrap:anywhere; color:#ade6d9; }
.kit-component-options { grid-column:1/-1; min-width:0; }
.kit-component-options > summary,.supplier-conditional-options > summary,.supplier-reference-table > summary { min-height:44px; padding:10px 0; cursor:pointer; }
.kit-component-options label { display:grid; gap:6px; margin:8px 0; min-width:0; }
.kit-component-options select { width:100%; min-width:0; min-height:44px; color:#edf6f8; background:#14212c; border:1px solid #536773; border-radius:8px; padding:8px; }
.kit-component-preview > small { grid-column:2; }
.supplier-conditional-options { margin:10px 0; }
@media(max-width:480px) { .kit-component-preview { grid-template-columns:80px minmax(0,1fr); } }

/* One active configuration step, with optional numerical/scope detail. */
.shop-kit-configurator > .kit-stage[hidden],.kit-step-controls > [hidden] { display:none!important; }
.kit-step-nav { display:flex; gap:5px; overflow-x:auto; padding:8px 0; max-width:100%; scrollbar-width:thin; }
.kit-step-link { flex:0 0 auto; min-height:44px; padding:8px 12px; border:1px solid rgba(255,255,255,.16); border-radius:999px; background:rgba(30,50,61,.32); color:#d8e7ec; font:inherit; font-size:.78rem; cursor:pointer; }
.kit-step-link[aria-current=step] { background:#c0eee0; color:#10231e; border-color:#b4ead8; }
.kit-step-link:focus-visible { outline:2px solid #6ee7d6; outline-offset:2px; }
.kit-running-summary { margin:6px 0 12px; color:#bdd1d8; font-size:.78rem; line-height:1.5; overflow-wrap:anywhere; }
.kit-step-controls { display:flex; justify-content:space-between; gap:12px; margin:14px 0 4px; }
.kit-step-controls button { min-height:44px; }
.kit-optional-fields { margin:10px 0; border-top:1px solid rgba(255,255,255,.1); }
.kit-optional-fields > summary { min-height:44px; padding:12px 0; cursor:pointer; font-size:.85rem; color:#c5d9df; }
.kit-optional-fields .shop-kit-fields { padding-bottom:8px; }
@media(forced-colors:active) { .kit-step-link,.kit-step-link[aria-current=step] { background:Canvas;color:CanvasText;border-color:CanvasText; } .kit-step-link[aria-current=step] { border-width:3px; } }
