/* =========================================================
   VENDIAC MARKETPLACE — FINAL PROFESSIONAL SYSTEM
   Marketplace-only stylesheet. No gradients, glow, dot effects,
   decorative noise, or artificial shadows.
========================================================= */

:root {
    --vm-black: #050506;
    --vm-black-2: #09090b;
    --vm-surface: #0d0d10;
    --vm-surface-2: #121216;
    --vm-surface-3: #17171c;
    --vm-white: #ffffff;
    --vm-text: #f4f4f5;
    --vm-text-soft: #c5c5cc;
    --vm-muted: #8d8d97;
    --vm-line: #28282f;
    --vm-line-strong: #3a3a43;
    --vm-purple: #6847ff;
    --vm-purple-dark: #5636e8;
    --vm-danger: #ff6f78;
    --vm-success: #7fd79a;
    --vm-max: 1480px;
    --vm-radius-sm: 8px;
    --vm-radius: 12px;
    --vm-radius-lg: 18px;
    --vm-header-height: 76px;
}

html {
    min-height: 100%;
    background: var(--vm-black);
    color-scheme: dark;
    scroll-behavior: smooth;
}

body.vm-body,
body.vm-body *,
body.vm-body *::before,
body.vm-body *::after {
    box-sizing: border-box;
}

body.vm-body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--vm-black);
    color: var(--vm-text);
    font-family:
        Inter, Geist, "SF Pro Display", "SF Pro Text", -apple-system,
        BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.vm-body.vm-menu-open {
    overflow: hidden;
}

.vm-body a {
    color: inherit;
    text-decoration: none;
}

.vm-body button,
.vm-body input,
.vm-body select {
    font: inherit;
}

.vm-body button,
.vm-body select,
.vm-body a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.vm-body img {
    display: block;
    max-width: 100%;
}

.vm-body svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.vm-body :focus-visible {
    outline: 2px solid var(--vm-white);
    outline-offset: 3px;
}

.vm-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 14px;
    background: var(--vm-white);
    color: var(--vm-black);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 750;
    transform: translateY(-150%);
}

.vm-skip-link:focus {
    transform: translateY(0);
}

/* =========================================================
   HEADER
========================================================= */

.vm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(5, 5, 6, 0.98);
    border-bottom: 1px solid var(--vm-line);
}

.vm-header-main {
    width: min(var(--vm-max), calc(100% - 48px));
    min-height: var(--vm-header-height);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(320px, 760px) auto;
    align-items: center;
    gap: 28px;
}

.vm-brand,
.vm-sidebar-logo {
    display: inline-flex;
    align-items: center;
}

.vm-brand img {
    width: auto;
    height: 32px;
    max-width: 156px;
    object-fit: contain;
}

.vm-icon-button {
    border: 1px solid var(--vm-line-strong);
    background: transparent;
    color: var(--vm-white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vm-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--vm-radius-sm);
}

.vm-search {
    min-width: 0;
    height: 46px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding-left: 15px;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line-strong);
    border-radius: var(--vm-radius-sm);
}

.vm-search:focus-within {
    border-color: #666670;
}

.vm-search > svg {
    color: var(--vm-muted);
    width: 18px;
    height: 18px;
}

.vm-search input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--vm-white);
    font-size: 14px;
}

.vm-search input::placeholder {
    color: #777780;
}

.vm-search button {
    align-self: stretch;
    min-width: 92px;
    padding: 0 20px;
    border: 0;
    border-left: 1px solid var(--vm-line-strong);
    background: var(--vm-white);
    color: var(--vm-black);
    cursor: pointer;
    font-size: 13px;
    font-weight: 760;
}

.vm-search button:hover {
    background: #e9e9eb;
}

.vm-search-mobile {
    display: none;
}

.vm-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    white-space: nowrap;
}

.vm-signin-link,
.vm-header-profile {
    color: var(--vm-text-soft);
    font-size: 14px;
    font-weight: 650;
}

.vm-signin-link:hover,
.vm-header-profile:hover {
    color: var(--vm-white);
}

.vm-cart-link {
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--vm-line-strong);
    border-radius: var(--vm-radius-sm);
    color: var(--vm-white);
    font-size: 14px;
    font-weight: 700;
}

.vm-cart-link:hover {
    border-color: #666670;
    background: var(--vm-surface);
}

.vm-cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-purple);
    border-radius: 999px;
    color: var(--vm-white);
    font-size: 11px;
    font-weight: 800;
}

.vm-top-nav {
    width: min(var(--vm-max), calc(100% - 48px));
    min-height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.vm-top-nav::-webkit-scrollbar {
    display: none;
}

.vm-top-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--vm-muted);
    font-size: 13px;
    font-weight: 690;
    white-space: nowrap;
}

.vm-top-nav a:hover,
.vm-top-nav a.active {
    color: var(--vm-white);
}

.vm-top-nav a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--vm-purple);
}

/* =========================================================
   DRAWER
========================================================= */

.vm-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.74);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 160ms ease;
}

.vm-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vm-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 210;
    width: min(360px, 92vw);
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: var(--vm-black-2);
    border-right: 1px solid var(--vm-line);
    transform: translateX(-101%);
    transition: transform 190ms ease;
}

.vm-sidebar.active {
    transform: translateX(0);
}

.vm-sidebar-head {
    min-height: 76px;
    padding: calc(14px + env(safe-area-inset-top)) 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--vm-line);
}

.vm-sidebar-logo img {
    width: auto;
    height: 31px;
    max-width: 152px;
}

.vm-sidebar-close {
    width: 44px;
    height: 44px;
    border-radius: var(--vm-radius-sm);
}

.vm-sidebar-nav {
    min-height: 0;
    padding: 18px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.vm-nav-label {
    margin: 0 10px 8px;
    color: #686871;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vm-nav-label-spaced {
    margin-top: 24px;
}

.vm-sidebar-nav > a {
    min-height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: var(--vm-radius-sm);
    color: var(--vm-text-soft);
    font-size: 14px;
    font-weight: 650;
}

.vm-sidebar-nav > a svg {
    width: 17px;
    height: 17px;
    color: #65656e;
}

.vm-sidebar-nav > a:hover {
    background: var(--vm-surface-2);
    color: var(--vm-white);
}

.vm-sidebar-nav > a.active {
    background: var(--vm-white);
    color: var(--vm-black);
}

.vm-sidebar-nav > a.active svg {
    color: var(--vm-black);
}

.vm-sidebar-foot {
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--vm-line);
}

.vm-sidebar-primary {
    min-height: 50px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--vm-purple);
    border: 1px solid var(--vm-purple);
    border-radius: var(--vm-radius-sm);
    color: var(--vm-white);
    font-size: 14px;
    font-weight: 760;
}

.vm-sidebar-primary:hover {
    background: var(--vm-purple-dark);
    border-color: var(--vm-purple-dark);
}

.vm-account-row {
    min-height: 62px;
    margin-top: 10px;
    padding: 8px 4px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 11px;
    color: var(--vm-text-soft);
}

.vm-account-row > svg {
    color: #6f6f78;
    width: 17px;
    height: 17px;
}

.vm-avatar,
.vm-seller-avatar {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-surface-3);
    border: 1px solid var(--vm-line-strong);
    border-radius: 50%;
    color: var(--vm-white);
    font-weight: 760;
}

.vm-avatar {
    width: 42px;
    height: 42px;
    font-size: 14px;
}

.vm-avatar img,
.vm-seller-avatar img,
.vm-store-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-account-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.vm-account-copy strong,
.vm-account-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm-account-copy strong {
    color: var(--vm-white);
    font-size: 13px;
}

.vm-account-copy small {
    color: var(--vm-muted);
    font-size: 11px;
}

/* =========================================================
   APP, MAIN, FOOTER
========================================================= */

.vm-app {
    min-height: calc(100vh - 125px);
    display: flex;
    flex-direction: column;
}

.vm-main {
    width: min(var(--vm-max), calc(100% - 48px));
    flex: 1 0 auto;
    margin: 0 auto;
    padding: 52px 0 84px;
}

.vm-footer {
    width: min(var(--vm-max), calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--vm-line);
    color: var(--vm-muted);
    font-size: 12px;
}

.vm-footer nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.vm-footer a:hover {
    color: var(--vm-white);
}

.vm-flash {
    margin: -18px 0 28px;
    padding: 13px 15px;
    border: 1px solid var(--vm-line-strong);
    border-radius: var(--vm-radius-sm);
    background: var(--vm-surface);
    color: var(--vm-text-soft);
    font-size: 13px;
}

.vm-flash.success {
    border-color: rgba(127, 215, 154, 0.42);
    color: #b5ebc5;
}

.vm-flash.error {
    border-color: rgba(255, 111, 120, 0.46);
    color: #ffb4ba;
}

.vm-flash.info {
    color: var(--vm-text-soft);
}

/* =========================================================
   SHARED TYPOGRAPHY / BUTTONS
========================================================= */

.vm-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #aaaab4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vm-button {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: var(--vm-radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 760;
    line-height: 1;
    text-align: center;
}

.vm-button-primary {
    background: var(--vm-white);
    border-color: var(--vm-white);
    color: var(--vm-black);
}

.vm-button-primary:hover {
    background: #e8e8eb;
    border-color: #e8e8eb;
}

.vm-button-primary:disabled {
    background: #29292f;
    border-color: #29292f;
    color: #777780;
    cursor: not-allowed;
}

.vm-button-secondary {
    background: transparent;
    border-color: var(--vm-line-strong);
    color: var(--vm-white);
}

.vm-button-secondary:hover {
    background: var(--vm-surface);
    border-color: #62626c;
}

.vm-full-button {
    width: 100%;
}

.vm-button svg {
    width: 18px;
    height: 18px;
}

.vm-text-button,
.vm-clear-filters {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--vm-muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
}

.vm-text-button:hover,
.vm-clear-filters:hover {
    color: var(--vm-white);
}

.vm-page-heading {
    max-width: 820px;
    margin-bottom: 38px;
}

.vm-page-heading-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.vm-page-heading h1 {
    margin: 0;
    color: var(--vm-white);
    font-size: clamp(42px, 6vw, 74px);
    font-weight: 680;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

.vm-page-heading p {
    max-width: 660px;
    margin: 18px 0 0;
    color: var(--vm-muted);
    font-size: 16px;
}

.vm-section-heading h2,
.vm-section-heading h3 {
    margin: 0;
    color: var(--vm-white);
    font-weight: 670;
    letter-spacing: -0.03em;
}

.vm-section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.vm-section-heading p {
    margin: 8px 0 0;
    color: var(--vm-muted);
    font-size: 14px;
}

.vm-section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.vm-section-heading-row > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vm-text-soft);
    font-size: 13px;
    font-weight: 700;
}

.vm-section-heading-row > a:hover {
    color: var(--vm-white);
}

.vm-section-heading-row > a svg {
    width: 17px;
    height: 17px;
}

.vm-section-count {
    color: var(--vm-muted);
    font-size: 13px;
}

.vm-breadcrumb {
    min-width: 0;
    margin: -14px 0 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    color: #75757e;
    font-size: 12px;
}

.vm-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--vm-text-soft);
    font-weight: 650;
}

.vm-breadcrumb a:hover {
    color: var(--vm-white);
}

.vm-breadcrumb a svg {
    width: 16px;
    height: 16px;
}

.vm-breadcrumb > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   MARKETPLACE
========================================================= */

.vm-market-hero {
    min-height: 260px;
    padding: 34px 0 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 56px;
    border-bottom: 1px solid var(--vm-line);
}

.vm-market-hero-copy {
    max-width: 900px;
}

.vm-market-hero h1 {
    max-width: 890px;
    margin: 0;
    color: var(--vm-white);
    font-size: clamp(46px, 6.2vw, 88px);
    font-weight: 650;
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.vm-market-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--vm-muted);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.65;
}

.vm-category-strip {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid var(--vm-line);
    scrollbar-width: none;
}

.vm-category-strip::-webkit-scrollbar {
    display: none;
}

.vm-category-strip a {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--vm-muted);
    font-size: 12px;
    font-weight: 680;
    white-space: nowrap;
}

.vm-category-strip a:hover {
    color: var(--vm-white);
    border-color: var(--vm-line);
}

.vm-category-strip a.active {
    background: var(--vm-white);
    border-color: var(--vm-white);
    color: var(--vm-black);
}

.vm-results-panel {
    padding: 28px 0 30px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
    gap: 32px;
    border-bottom: 1px solid var(--vm-line);
}

.vm-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.vm-results-heading h2 {
    margin: 0;
    color: var(--vm-white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.vm-results-heading p {
    margin: 5px 0 0;
    color: var(--vm-muted);
    font-size: 12px;
}

.vm-filter-bar {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 10px;
}

.vm-filter-bar label {
    display: grid;
    gap: 7px;
}

.vm-filter-bar label > span {
    color: #777780;
    font-size: 10px;
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-filter-bar select {
    min-width: 150px;
    height: 42px;
    padding: 0 38px 0 12px;
    border: 1px solid var(--vm-line-strong);
    border-radius: var(--vm-radius-sm);
    background-color: var(--vm-surface);
    color: var(--vm-white);
    cursor: pointer;
    font-size: 12px;
}

.vm-filter-submit {
    display: none;
}

.vm-product-grid {
    padding: 30px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 18px;
}

.vm-product-card {
    min-width: 0;
    overflow: hidden;
    background: transparent;
}

.vm-product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius);
}

.vm-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.vm-product-media:hover img {
    transform: scale(1.018);
}

.vm-product-media.is-placeholder img,
.vm-product-main-media.is-placeholder img,
.vm-cart-item-image.is-placeholder img,
.vm-checkout-product-image.is-placeholder img {
    width: 42%;
    height: auto;
    max-height: 42%;
    object-fit: contain;
    opacity: 0.5;
}

.vm-product-card-body {
    padding: 14px 2px 0;
}

.vm-product-card-topline {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
}

.vm-product-title {
    min-width: 0;
    color: var(--vm-white);
    font-size: 15px;
    font-weight: 710;
    letter-spacing: -0.018em;
    line-height: 1.35;
}

.vm-product-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vm-product-price {
    color: var(--vm-white);
    font-size: 15px;
    font-weight: 760;
    white-space: nowrap;
}

.vm-product-seller {
    max-width: 100%;
    margin-top: 6px;
    display: inline-block;
    overflow: hidden;
    color: var(--vm-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm-product-seller:hover {
    color: var(--vm-text-soft);
}

.vm-product-description {
    min-height: 38px;
    margin: 11px 0 0;
    color: #83838d;
    font-size: 12px;
    line-height: 1.55;
}

.vm-product-card-foot {
    min-height: 37px;
    margin-top: 14px;
    padding-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--vm-line);
    color: #777780;
    font-size: 11px;
}

.vm-view-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--vm-text-soft);
    font-weight: 650;
}

.vm-view-product svg {
    width: 14px;
    height: 14px;
}

.vm-empty-state {
    min-height: 360px;
    margin-top: 30px;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-lg);
    background: var(--vm-surface);
    text-align: center;
}

.vm-empty-mark {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vm-line-strong);
    border-radius: 50%;
    color: var(--vm-muted);
    font-size: 15px;
    font-weight: 780;
}

.vm-empty-state h2,
.vm-empty-state h3 {
    margin: 0;
    color: var(--vm-white);
    font-size: 28px;
    font-weight: 680;
    letter-spacing: -0.035em;
}

.vm-empty-state p {
    max-width: 480px;
    margin: 12px auto 24px;
    color: var(--vm-muted);
    font-size: 14px;
}

.vm-pagination {
    margin-top: 54px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--vm-line);
}

.vm-pagination-arrow {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vm-text-soft);
    font-size: 13px;
    font-weight: 680;
}

.vm-pagination-arrow:last-child {
    justify-self: end;
}

.vm-pagination-arrow.disabled {
    color: #4f4f56;
}

.vm-pagination-arrow svg {
    width: 17px;
    height: 17px;
}

.vm-pagination-status {
    color: var(--vm-muted);
    font-size: 12px;
}

/* =========================================================
   PRODUCT PAGE
========================================================= */

.vm-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.72fr);
    align-items: start;
    gap: 42px;
}

.vm-product-left {
    min-width: 0;
}

.vm-product-main-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-lg);
}

.vm-product-main-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vm-product-details {
    margin-top: 38px;
    padding-top: 34px;
    border-top: 1px solid var(--vm-line);
}

.vm-rich-copy,
.vm-muted-copy {
    max-width: 940px;
    margin-top: 22px;
    color: var(--vm-text-soft);
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.vm-muted-copy {
    color: var(--vm-muted);
}

.vm-purchase-panel {
    position: sticky;
    top: 150px;
    padding: 30px;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-lg);
}

.vm-product-type {
    color: var(--vm-muted);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vm-purchase-panel h1 {
    margin: 13px 0 0;
    color: var(--vm-white);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 670;
    letter-spacing: -0.055em;
    line-height: 1;
    overflow-wrap: anywhere;
}

.vm-product-summary {
    margin: 18px 0 0;
    color: var(--vm-muted);
    font-size: 14px;
    line-height: 1.65;
}

.vm-seller-card {
    min-width: 0;
    margin-top: 24px;
    padding: 13px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 19px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius);
}

.vm-seller-card:hover {
    border-color: var(--vm-line-strong);
    background: var(--vm-surface-2);
}

.vm-seller-avatar {
    width: 48px;
    height: 48px;
    font-size: 16px;
}

.vm-seller-card-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.vm-seller-card-copy small {
    color: var(--vm-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.vm-seller-card-copy strong,
.vm-seller-card-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm-seller-card-copy strong {
    color: var(--vm-white);
    font-size: 14px;
}

.vm-seller-card-copy span {
    color: var(--vm-muted);
    font-size: 11px;
}

.vm-seller-card > svg {
    width: 17px;
    height: 17px;
    color: #676770;
}

.vm-purchase-price {
    margin: 28px 0 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.vm-purchase-price strong {
    color: var(--vm-white);
    font-size: 42px;
    font-weight: 690;
    letter-spacing: -0.05em;
    line-height: 1;
}

.vm-purchase-price span {
    padding-bottom: 4px;
    color: var(--vm-muted);
    font-size: 12px;
    text-align: right;
}

.vm-add-form {
    margin: 0;
}

.vm-product-facts {
    margin: 22px 0 0;
    padding: 0;
    border-top: 1px solid var(--vm-line);
}

.vm-product-facts > div {
    min-height: 45px;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--vm-line);
}

.vm-product-facts dt {
    color: var(--vm-muted);
    font-size: 11px;
}

.vm-product-facts dd {
    margin: 0;
    color: var(--vm-text-soft);
    font-size: 12px;
    text-align: right;
    overflow-wrap: anywhere;
}

.vm-seller-about {
    margin-top: 25px;
}

.vm-seller-about h2 {
    margin: 0;
    color: var(--vm-white);
    font-size: 15px;
    font-weight: 700;
}

.vm-seller-about p {
    margin: 10px 0 0;
    color: var(--vm-muted);
    font-size: 12px;
    line-height: 1.65;
}

.vm-seller-actions {
    margin-top: 17px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.vm-seller-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--vm-text-soft);
    font-size: 12px;
    font-weight: 680;
}

.vm-seller-actions a:hover {
    color: var(--vm-white);
}

.vm-seller-actions svg {
    width: 15px;
    height: 15px;
}

.vm-related-section {
    margin-top: 80px;
    padding-top: 42px;
    border-top: 1px solid var(--vm-line);
}

.vm-product-grid-related {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vm-mobile-buy-bar {
    display: none;
}

/* =========================================================
   STORE
========================================================= */

.vm-store-hero {
    min-height: 310px;
    padding: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 44px;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-lg);
}

.vm-store-identity {
    min-width: 0;
    max-width: 900px;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.vm-store-avatar {
    width: 116px;
    height: 116px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-surface-3);
    border: 1px solid var(--vm-line-strong);
    border-radius: 50%;
    color: var(--vm-white);
    font-size: 34px;
    font-weight: 680;
}

.vm-store-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--vm-muted);
    font-size: 11px;
    font-weight: 680;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.vm-store-copy h1 {
    margin: 13px 0 0;
    color: var(--vm-white);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 650;
    letter-spacing: -0.06em;
    line-height: 0.95;
    overflow-wrap: anywhere;
}

.vm-store-copy p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--vm-muted);
    font-size: 15px;
    line-height: 1.7;
}

.vm-store-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vm-store-products {
    margin-top: 66px;
}

.vm-store-products > .vm-product-grid {
    padding-top: 28px;
}

/* =========================================================
   CART
========================================================= */

.vm-cart-layout,
.vm-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
    gap: 36px;
}

.vm-cart-items {
    display: grid;
    gap: 14px;
}

.vm-cart-item {
    min-width: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 20px;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius);
}

.vm-cart-item-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-black-2);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-sm);
}

.vm-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-cart-item-main {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "copy price"
        "controls controls";
    align-items: start;
    gap: 18px;
}

.vm-cart-item-copy {
    grid-area: copy;
    min-width: 0;
}

.vm-cart-item-copy h2 {
    margin: 0;
    color: var(--vm-white);
    font-size: 18px;
    font-weight: 690;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.vm-cart-seller,
.vm-cart-billing {
    display: block;
    margin-top: 5px;
    color: var(--vm-muted);
    font-size: 11px;
}

.vm-cart-seller:hover {
    color: var(--vm-text-soft);
}

.vm-cart-item-price {
    grid-area: price;
    display: grid;
    justify-items: end;
    gap: 3px;
    text-align: right;
}

.vm-cart-item-price strong {
    color: var(--vm-white);
    font-size: 18px;
}

.vm-cart-item-price small {
    color: var(--vm-muted);
    font-size: 10px;
}

.vm-cart-item-controls {
    grid-area: controls;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vm-quantity-control {
    height: 38px;
    display: grid;
    grid-template-columns: 38px 42px 38px;
    align-items: stretch;
    border: 1px solid var(--vm-line-strong);
    border-radius: var(--vm-radius-sm);
    overflow: hidden;
}

.vm-quantity-control button {
    border: 0;
    background: transparent;
    color: var(--vm-text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-quantity-control button:hover {
    background: var(--vm-surface-3);
    color: var(--vm-white);
}

.vm-quantity-control button:first-of-type {
    border-right: 1px solid var(--vm-line);
}

.vm-quantity-control button:last-of-type {
    border-left: 1px solid var(--vm-line);
}

.vm-quantity-control button svg {
    width: 15px;
    height: 15px;
}

.vm-quantity-control > span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vm-white);
    font-size: 12px;
    font-weight: 700;
}

.vm-remove-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--vm-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 650;
}

.vm-remove-button:hover {
    color: var(--vm-danger);
}

.vm-remove-button svg {
    width: 15px;
    height: 15px;
}

.vm-order-summary {
    position: sticky;
    top: 150px;
    padding: 25px;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius);
}

.vm-order-summary h2 {
    margin: 0;
    color: var(--vm-white);
    font-size: 20px;
    font-weight: 690;
    letter-spacing: -0.025em;
}

.vm-order-summary dl {
    margin: 22px 0 0;
    padding: 0;
}

.vm-order-summary dl > div {
    min-height: 41px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--vm-line);
}

.vm-order-summary dt,
.vm-order-summary dd {
    color: var(--vm-muted);
    font-size: 12px;
}

.vm-order-summary dd {
    margin: 0;
    color: var(--vm-text-soft);
}

.vm-order-total {
    margin: 24px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.vm-order-total span {
    color: var(--vm-text-soft);
    font-size: 13px;
    font-weight: 680;
}

.vm-order-total strong {
    color: var(--vm-white);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.vm-continue-shopping {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--vm-text-soft);
    font-size: 12px;
    font-weight: 680;
}

.vm-continue-shopping:hover {
    color: var(--vm-white);
}

.vm-continue-shopping svg {
    width: 15px;
    height: 15px;
}

.vm-order-note {
    margin: 18px 0 0;
    color: #6f6f78;
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
}

.vm-cart-empty .vm-empty-cart-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vm-line-strong);
    border-radius: 50%;
    color: var(--vm-muted);
}

.vm-cart-empty .vm-empty-cart-icon svg {
    width: 22px;
    height: 22px;
}

/* =========================================================
   CHECKOUT
========================================================= */

.vm-checkout-main {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.vm-checkout-section {
    padding: 25px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 20px;
    background: var(--vm-surface);
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius);
}

.vm-checkout-section-number {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-black-2);
    border: 1px solid var(--vm-line);
    border-radius: 50%;
    color: var(--vm-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.vm-checkout-section-content {
    min-width: 0;
}

.vm-checkout-section .vm-section-heading h2 {
    font-size: 22px;
}

.vm-checkout-account {
    margin-top: 20px;
    padding: 13px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-sm);
}

.vm-checkout-account > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.vm-checkout-account strong,
.vm-checkout-account small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm-checkout-account strong {
    color: var(--vm-white);
    font-size: 13px;
}

.vm-checkout-account small {
    color: var(--vm-muted);
    font-size: 11px;
}

.vm-checkout-account > svg {
    color: var(--vm-success);
}

.vm-checkout-signin {
    margin-top: 20px;
    padding: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-sm);
}

.vm-checkout-signin strong {
    color: var(--vm-white);
    font-size: 13px;
}

.vm-checkout-signin p {
    margin: 4px 0 0;
    color: var(--vm-muted);
    font-size: 11px;
}

.vm-checkout-products {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.vm-checkout-product {
    min-width: 0;
    padding: 10px 0;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid var(--vm-line);
}

.vm-checkout-product:last-child {
    border-bottom: 0;
}

.vm-checkout-product-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vm-black-2);
    border: 1px solid var(--vm-line);
    border-radius: 6px;
}

.vm-checkout-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-checkout-product > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.vm-checkout-product strong,
.vm-checkout-product span,
.vm-checkout-product small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm-checkout-product strong {
    color: var(--vm-white);
    font-size: 12px;
}

.vm-checkout-product span,
.vm-checkout-product small {
    color: var(--vm-muted);
    font-size: 10px;
}

.vm-checkout-product > b {
    color: var(--vm-white);
    font-size: 13px;
    white-space: nowrap;
}

.vm-checkout-notice {
    margin-top: 20px;
    padding: 15px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    border: 1px solid var(--vm-line);
    border-radius: var(--vm-radius-sm);
}

.vm-checkout-notice svg {
    color: var(--vm-success);
}

.vm-checkout-notice p {
    margin: 0;
    color: var(--vm-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* =========================================================
   ERROR
========================================================= */

.vm-error-state {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.vm-error-state h1 {
    max-width: 900px;
    margin: 0;
    color: var(--vm-white);
    font-size: clamp(54px, 8vw, 104px);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 0.93;
}

.vm-error-state p {
    max-width: 580px;
    margin: 24px 0 30px;
    color: var(--vm-muted);
    font-size: 16px;
}

/* =========================================================
   LEGACY CHECKOUT SAFETY OVERRIDES
   Applied only if a pre-existing embedded payment page had to
   be preserved.
========================================================= */

body.vm-legacy-checkout {
    background: var(--vm-black) !important;
    color: var(--vm-text) !important;
    font-family:
        Inter, Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

body.vm-legacy-checkout main,
body.vm-legacy-checkout .checkout-page,
body.vm-legacy-checkout .checkout-container {
    width: min(1120px, calc(100% - 32px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.vm-legacy-checkout input,
body.vm-legacy-checkout select,
body.vm-legacy-checkout textarea {
    background: var(--vm-surface) !important;
    color: var(--vm-white) !important;
    border-color: var(--vm-line-strong) !important;
    box-shadow: none !important;
}

body.vm-legacy-checkout button,
body.vm-legacy-checkout .checkout-button {
    box-shadow: none !important;
    background: var(--vm-white) !important;
    color: var(--vm-black) !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1220px) {
    .vm-header-main {
        grid-template-columns: auto minmax(260px, 1fr) auto;
        gap: 20px;
    }

    .vm-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vm-product-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.72fr);
        gap: 28px;
    }

    .vm-cart-layout,
    .vm-checkout-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 24px;
    }
}

@media (max-width: 980px) {
    :root {
        --vm-header-height: 68px;
    }

    .vm-header-main,
    .vm-top-nav,
    .vm-main,
    .vm-footer {
        width: min(100% - 32px, var(--vm-max));
    }

    .vm-header-main {
        grid-template-columns: 44px auto minmax(0, 1fr) auto;
        gap: 13px;
    }

    .vm-menu-button {
        display: inline-flex;
    }

    .vm-brand img {
        height: 29px;
        max-width: 142px;
    }

    .vm-search-desktop {
        height: 44px;
    }

    .vm-signin-link,
    .vm-header-profile {
        display: none;
    }

    .vm-market-hero {
        min-height: 230px;
    }

    .vm-results-panel {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .vm-filter-bar {
        justify-content: stretch;
    }

    .vm-filter-bar label {
        flex: 1 1 0;
    }

    .vm-filter-bar select {
        width: 100%;
        min-width: 0;
    }

    .vm-product-layout {
        grid-template-columns: 1fr;
    }

    .vm-purchase-panel {
        position: static;
    }

    .vm-product-left {
        display: contents;
    }

    .vm-product-main-media {
        order: 1;
    }

    .vm-purchase-panel {
        order: 2;
    }

    .vm-product-details {
        order: 3;
    }

    .vm-product-layout {
        display: flex;
        flex-direction: column;
    }

    .vm-product-grid-related {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vm-store-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .vm-store-actions {
        width: 100%;
        flex-direction: row;
    }

    .vm-store-actions .vm-button {
        flex: 1 1 0;
    }

    .vm-cart-layout,
    .vm-checkout-layout {
        grid-template-columns: 1fr;
    }

    .vm-order-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .vm-header-main,
    .vm-top-nav,
    .vm-main,
    .vm-footer {
        width: calc(100% - 24px);
    }

    .vm-header-main {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .vm-menu-button {
        width: 42px;
        height: 42px;
    }

    .vm-brand {
        justify-self: start;
    }

    .vm-brand img {
        height: 27px;
        max-width: 132px;
    }

    .vm-search-desktop {
        display: none;
    }

    .vm-search-mobile {
        width: calc(100% - 24px);
        height: 44px;
        margin: 0 auto 12px;
        display: grid;
    }

    .vm-search-mobile button {
        min-width: 80px;
        padding: 0 14px;
    }

    .vm-cart-link {
        min-width: 44px;
        height: 42px;
        padding: 0 11px;
    }

    .vm-cart-label {
        display: none;
    }

    .vm-top-nav {
        min-height: 44px;
        gap: 24px;
    }

    .vm-top-nav a {
        font-size: 12px;
    }

    .vm-main {
        padding-top: 34px;
        padding-bottom: 68px;
    }

    .vm-footer {
        min-height: 100px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .vm-market-hero {
        min-height: 0;
        padding: 20px 0 34px;
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .vm-market-hero h1 {
        font-size: clamp(44px, 13vw, 66px);
    }

    .vm-market-hero .vm-button {
        width: 100%;
    }

    .vm-category-strip {
        min-height: 64px;
    }

    .vm-results-panel {
        padding: 24px 0;
        gap: 22px;
    }

    .vm-results-heading {
        align-items: flex-start;
    }

    .vm-filter-bar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .vm-filter-bar select {
        height: 44px;
        padding-right: 25px;
        padding-left: 9px;
        font-size: 11px;
    }

    .vm-product-grid,
    .vm-product-grid-related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 10px;
    }

    .vm-product-card-body {
        padding-top: 11px;
    }

    .vm-product-card-topline {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .vm-product-title,
    .vm-product-price {
        font-size: 13px;
    }

    .vm-product-seller {
        margin-top: 4px;
        font-size: 10px;
    }

    .vm-product-description {
        display: none;
    }

    .vm-product-card-foot {
        margin-top: 10px;
        padding-top: 9px;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        font-size: 10px;
    }

    .vm-view-product {
        display: none;
    }

    .vm-breadcrumb {
        margin-bottom: 26px;
    }

    .vm-product-main-media {
        border-radius: var(--vm-radius);
    }

    .vm-purchase-panel {
        padding: 22px 18px;
        border-radius: var(--vm-radius);
    }

    .vm-purchase-panel h1 {
        font-size: 38px;
    }

    .vm-product-details {
        margin-top: 20px;
        padding-top: 26px;
    }

    .vm-related-section {
        margin-top: 52px;
        padding-top: 32px;
    }

    .vm-mobile-buy-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 120;
        min-height: 72px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        background: rgba(9, 9, 11, 0.98);
        border-top: 1px solid var(--vm-line-strong);
    }

    .vm-mobile-buy-bar > div {
        min-width: 0;
        display: grid;
        gap: 1px;
    }

    .vm-mobile-buy-bar strong {
        color: var(--vm-white);
        font-size: 20px;
        letter-spacing: -0.03em;
    }

    .vm-mobile-buy-bar span {
        max-width: 145px;
        overflow: hidden;
        color: var(--vm-muted);
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vm-mobile-buy-bar form {
        margin: 0;
    }

    .vm-mobile-buy-bar button {
        min-width: 136px;
        min-height: 48px;
        padding: 0 18px;
        border: 0;
        border-radius: var(--vm-radius-sm);
        background: var(--vm-white);
        color: var(--vm-black);
        font-size: 13px;
        font-weight: 760;
    }

    .vm-product-page .vm-main {
        padding-bottom: 112px;
    }

    .vm-store-hero {
        min-height: 0;
        padding: 24px 18px;
        gap: 28px;
        border-radius: var(--vm-radius);
    }

    .vm-store-identity {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 17px;
    }

    .vm-store-avatar {
        width: 78px;
        height: 78px;
        font-size: 24px;
    }

    .vm-store-copy h1 {
        font-size: 44px;
    }

    .vm-store-copy p {
        grid-column: 1 / -1;
        margin-top: 18px;
    }

    .vm-store-products {
        margin-top: 48px;
    }

    .vm-page-heading-row {
        align-items: flex-start;
    }

    .vm-page-heading h1 {
        font-size: 52px;
    }

    .vm-cart-item {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 13px;
        padding: 12px;
    }

    .vm-cart-item-main {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "price"
            "controls";
        gap: 10px;
    }

    .vm-cart-item-price {
        justify-items: start;
        text-align: left;
    }

    .vm-cart-item-controls {
        grid-column: 1 / -1;
    }

    .vm-checkout-section {
        padding: 18px;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 13px;
    }

    .vm-checkout-section-number {
        width: 34px;
        height: 34px;
    }

    .vm-checkout-signin {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .vm-header-main,
    .vm-search-mobile,
    .vm-top-nav,
    .vm-main,
    .vm-footer {
        width: calc(100% - 18px);
    }

    .vm-brand img {
        height: 25px;
        max-width: 122px;
    }

    .vm-cart-link {
        padding: 0 9px;
    }

    .vm-cart-count {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .vm-market-hero h1 {
        font-size: 43px;
    }

    .vm-market-hero p {
        font-size: 14px;
    }

    .vm-filter-bar {
        grid-template-columns: 1fr;
    }

    .vm-filter-bar label > span {
        display: none;
    }

    .vm-filter-bar select {
        height: 42px;
        padding-left: 12px;
        font-size: 12px;
    }

    .vm-product-grid,
    .vm-product-grid-related {
        column-gap: 8px;
    }

    .vm-product-title,
    .vm-product-price {
        font-size: 12px;
    }

    .vm-store-identity {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .vm-store-avatar {
        width: 64px;
        height: 64px;
    }

    .vm-store-copy h1 {
        font-size: 38px;
    }

    .vm-store-actions {
        flex-direction: column;
    }

    .vm-page-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .vm-cart-item {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .vm-cart-item-copy h2 {
        font-size: 15px;
    }

    .vm-cart-item-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .vm-remove-button span {
        display: inline;
    }

    .vm-order-summary {
        padding: 20px;
    }

    .vm-checkout-product {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .vm-checkout-product > b {
        grid-column: 2;
        justify-self: start;
    }

    .vm-footer nav {
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .vm-body *,
    .vm-body *::before,
    .vm-body *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
