.vm-shop {
    --vm-ink: #1c241c;
    --vm-muted: #5c675c;
    --vm-line: #e4e7e2;
    --vm-sage: #5f8a4e;
    --vm-footer: #1c2820;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--vm-ink);
    background: #f7f6f3;
    -webkit-font-smoothing: antialiased;
}

.vm-bar {
    background: #fff;
    border-bottom: 1px solid var(--vm-line);
}

.vm-bar-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.vm-brand {
    display: flex;
    flex: none;
}

.vm-brand img {
    width: 10.5rem;
    height: auto;
}

.vm-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    flex: 1;
}

.vm-cats a {
    color: var(--vm-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.vm-cats a.is-active {
    color: var(--vm-ink);
    box-shadow: inset 0 -2px 0 var(--vm-sage);
}

.vm-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
}

.vm-cart-link,
.vm-account-link,
.vm-text-link {
    color: var(--vm-ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.vm-count {
    display: inline-block;
    min-width: 1.2rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--vm-sage);
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
}

.vm-login-link,
.vm-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--vm-ink);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 0.95rem;
    cursor: pointer;
}

.vm-primary {
    margin-top: 0.4rem;
}

.vm-primary:disabled {
    opacity: 0.6;
    cursor: default;
}

.vm-main {
    width: min(72rem, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
    flex: 1;
}

.vm-narrow {
    width: min(36rem, calc(100% - 2.5rem));
}

.vm-main h1 {
    margin: 0 0 0.6rem;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.vm-lead,
.vm-empty,
.vm-line-meta,
.vm-card-desc,
.vm-card-spec {
    color: var(--vm-muted);
    line-height: 1.5;
}

.vm-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.vm-card {
    background: #fff;
    border: 1px solid var(--vm-line);
    border-radius: 1rem;
    padding: 0.85rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
}

.vm-card-img {
    width: 100%;
    height: auto;
    border-radius: 0.7rem;
    background: #f3f1ec;
}

.vm-card h2,
.vm-line-title {
    margin: 0.35rem 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.vm-card-desc,
.vm-card-spec {
    margin: 0;
    font-size: 0.88rem;
}

.vm-price {
    margin: 0.2rem 0 0.45rem;
    font-weight: 600;
}

.vm-card button,
.vm-qty button {
    margin-top: auto;
    border: 1px solid var(--vm-ink);
    background: #fff;
    color: var(--vm-ink);
    border-radius: 999px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
}

.vm-lines,
.vm-orders,
.vm-order-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vm-line,
.vm-orders > li,
.vm-panel {
    background: #fff;
    border: 1px solid var(--vm-line);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.7rem;
}

.vm-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.vm-qty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.vm-qty input {
    width: 4rem;
}

.vm-subtotal {
    display: flex;
    justify-content: space-between;
    margin: 0.4rem 0 1rem;
    font-size: 1rem;
}

.vm-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vm-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.vm-field input,
.vm-field select,
.vm-qty input {
    border: 1px solid var(--vm-line);
    border-radius: 0.6rem;
    background: #fff;
    color: var(--vm-ink);
    font: inherit;
    padding: 0.65rem 0.75rem;
}

.vm-field-row {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 0.7rem;
}

.vm-check {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.4;
}

.vm-email {
    margin: 0;
    font-weight: 600;
}

.vm-account-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.vm-account-head h1 {
    margin-bottom: 1rem;
}

.vm-panel h2 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.vm-order-top {
    display: flex;
    justify-content: space-between;
}

.vm-order-items {
    margin-top: 0.35rem;
    color: var(--vm-muted);
    font-size: 0.9rem;
}

.vm-alert,
.vm-note {
    border-radius: 0.7rem;
    padding: 0.7rem 0.85rem;
    margin: 0 0 0.8rem;
}

.vm-alert {
    background: #fdecec;
    color: #7a2430;
}

.vm-note {
    background: #eef6e8;
    color: #245018;
}

.is-hidden {
    display: none;
}

.vm-footer {
    margin-top: auto;
    background: var(--vm-footer);
    color: #f4f7f2;
}

.vm-footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 2.2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.vm-footer-brand {
    margin: 0;
    font-weight: 600;
}

.vm-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
}

.vm-footer-links a {
    color: #d7e0d4;
    text-decoration: none;
}

.vm-footer-links a:hover,
.vm-text-link:hover,
.vm-cart-link:hover,
.vm-cats a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .vm-bar-inner {
        flex-wrap: wrap;
    }

    .vm-cats {
        order: 3;
        width: 100%;
    }

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

    .vm-field-row {
        grid-template-columns: 1fr;
    }
}
