.vm-shop-body {
    background: #0b0b0f;
}

/* Header navigation pills for storefront readability on light hero backgrounds. */
.vm-shop-body #menuBTN2,
.vm-shop-body .vm-compact-nav {
    gap: 8px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(143, 109, 255, 0.45);
    background: rgba(10, 8, 18, 0.72);
    box-shadow: 0 12px 28px rgba(35, 14, 68, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.vm-shop-body .shop-header-sep {
    color: rgba(226, 216, 255, 0.72);
    font-weight: 700;
}

.vm-shop-body #menuBTN .vm-button,
.vm-shop-body #menuBTN2 .vm-button,
.vm-shop-body .vm-compact-nav .vm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 181, 255, 0.5);
    background-image: none;
    background: linear-gradient(180deg, rgba(143, 98, 255, 0.96), rgba(109, 65, 226, 0.96));
    color: #fff !important;
    box-shadow: 0 7px 16px rgba(39, 14, 87, 0.35);
    font-weight: 700;
    transition: background-color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.vm-shop-body #menuBTN2 .vm-button[aria-label],
.vm-shop-body .vm-compact-nav .vm-button--icon {
    min-width: 42px;
    padding: 0 12px;
}

.vm-shop-body #menuBTN .vm-button:hover,
.vm-shop-body #menuBTN2 .vm-button:hover,
.vm-shop-body .vm-compact-nav .vm-button:hover,
.vm-shop-body #menuBTN .vm-button:focus-visible,
.vm-shop-body #menuBTN2 .vm-button:focus-visible,
.vm-shop-body .vm-compact-nav .vm-button:focus-visible {
    background: linear-gradient(180deg, rgba(160, 122, 255, 0.98), rgba(122, 78, 237, 0.98)) !important;
    border-color: rgba(225, 210, 255, 0.72);
    color: #fff !important;
    transform: translateY(-1px);
}

.vm-shop-body #menuBTN .vm-dropdown-content {
    min-width: 230px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(143, 109, 255, 0.5);
    background: rgba(10, 8, 18, 0.96);
    box-shadow: 0 16px 34px rgba(23, 10, 52, 0.5);
}

.vm-shop-body #menuBTN .vm-dropdown-content .vm-button {
    width: 100%;
    justify-content: flex-start;
    margin: 0 0 6px;
}

.vm-shop-body #menuBTN .vm-dropdown-content .vm-button:last-child {
    margin-bottom: 0;
}

.vm-shop-main.vm-main.w3-content {
    max-width: min(1260px, 100% - 40px);
    margin: var(--vm-content-offset) auto 0;
    padding: 22px 0 90px;
}

.vm-shop-main .vm-section {
    width: 100%;
    border: 0;
    background: transparent;
    margin: 0;
    padding: 0;
}

.vm-shop-intro {
    margin-bottom: 26px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(106, 60, 255, 0.34);
    border-radius: 16px;
    background:
        radial-gradient(circle at 8% 8%, rgba(106, 60, 255, 0.18), rgba(106, 60, 255, 0) 32%),
        #14141a;
}

.vm-shop-intro h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    letter-spacing: -0.02em;
}

.vm-shop-intro .vm-lead {
    margin-top: 14px;
    max-width: 72ch;
}

.vm-shop-placeholder {
    display: grid;
    gap: 16px;
}

.vm-shop-placeholder__head {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #14141a;
}

.vm-shop-placeholder__head h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.vm-shop-placeholder .vm-grid {
    margin-top: 2px;
}

.shop-category-chips {
    position: sticky;
    top: 84px;
}

.shop-category-chips-inner {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 20, 26, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.shop-chip {
    border-color: rgba(255, 255, 255, 0.08);
    color: #b7b7c0;
}

.shop-chip.is-active {
    border-color: rgba(106, 60, 255, 0.46);
    background: rgba(106, 60, 255, 0.14);
    color: #fff;
}

.vm-search-form,
.p23-search-form {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #14141a;
}

.vm-search-row,
.p23-search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto auto;
    gap: 8px;
    align-items: center;
}

.shop-grid.shop-product-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(230px, 230px));
    justify-content: start;
}

.shop-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(28, 28, 35, 0.78), rgba(20, 20, 26, 0.86));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.shop-card:hover {
    transform: translateY(-3px);
    border-color: rgba(106, 60, 255, 0.42);
}

.shop-card-media {
    overflow: hidden;
    border-radius: 14px;
}

.shop-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.shop-card:hover img {
    transform: scale(1.03);
}

.shop-card-body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.shop-card-body h3 a {
    color: #fff;
    text-decoration: none;
}

.shop-price-main {
    color: #fff;
    font-weight: 700;
}

.shop-price-sub {
    color: #7d7d88;
}

.shop-card-actions {
    display: flex;
    gap: 8px;
}

.shop-card-actions .vm-button {
    flex: 1 1 auto;
}

.shop-muted {
    color: #7d7d88;
}

.shop-summary,
.vm-box,
.shop-table-wrap,
.shop-modal-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #14141a;
}

.shop-table th,
.shop-table td {
    border-color: rgba(255, 255, 255, 0.08);
}

.shop-toast {
    z-index: 1200;
}

.shop-cartbar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 20, 26, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.shop-cartbar-tab,
.shop-cartbar-link {
    border-color: rgba(255, 255, 255, 0.1);
}

.shop-cookie {
    z-index: 1200;
}

.vm-footer--shop {
    margin-top: 46px;
}

@media (max-width: 1040px) {
    .vm-search-row,
    .p23-search-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-search-row .vm-button,
    .p23-search-row .p23-button,
    .vm-search-row label,
    .p23-search-row label {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .vm-shop-main.vm-main.w3-content {
        max-width: min(1260px, 100% - 24px);
        margin-top: var(--vm-content-offset);
        padding-top: 16px;
    }

    .vm-shop-intro .vm-actions .vm-btn {
        width: 100%;
    }

    .shop-category-chips {
        top: 74px;
    }

    .shop-grid.shop-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 160px));
        justify-content: center;
    }

    .vm-search-row,
    .p23-search-row {
        grid-template-columns: 1fr;
    }

    .vm-search-row .vm-button,
    .p23-search-row .p23-button,
    .vm-search-row label,
    .p23-search-row label {
        grid-column: span 1;
    }
}
