.vvkp-brand-groups {
    display: grid;
    gap: 36px;
}

body.vvkp-modal-open {
    overflow: hidden;
}

.vvkp-brand-title {
    margin: 0 0 18px;
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.vvkp-grid {
    display: grid;
    gap: 24px;
}

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

.vvkp-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.vvkp-card {
    display: flex;
    flex-direction: column;
    background: #eef2f4;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(24, 31, 40, 0.06);
    box-shadow: 0 12px 28px rgba(17, 28, 39, 0.06);
}

.vvkp-media {
    position: relative;
    margin: 16px 16px 0;
    min-height: 220px;
    border-radius: 12px;
    background: #8b8b8b;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.vvkp-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #d9dde0;
    cursor: zoom-in;
}

.vvkp-image.is-hidden,
.vvkp-placeholder.is-hidden,
.vvkp-sale-badge.is-hidden {
    display: none;
}

.vvkp-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    background: #303236;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vvkp-sale-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    background: #e53935;
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    box-shadow: 0 8px 18px rgba(229, 57, 53, 0.24);
}

.vvkp-placeholder {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.vvkp-body {
    padding: 14px 16px 16px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.vvkp-variants-window {
    position: relative;
    overflow: hidden;
    flex: 1;
    touch-action: pan-y;
}

.vvkp-variants-track {
    display: flex;
    align-items: stretch;
    width: 100%;
    transition: transform .42s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.vvkp-variants-track.is-dragging {
    transition: none;
}

.vvkp-variant {
    flex: 0 0 100%;
    min-width: 100%;
}

.vvkp-model {
    margin: 0 0 14px;
    color: #24323d;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.vvkp-info-row {
    display: flex;
    justify-content: center;
    margin: -2px 0 14px;
}

.vvkp-info-button {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #1bb8c7;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.vvkp-info-button:hover {
    transform: translateY(-1px);
    opacity: .78;
}

.vvkp-info-button img {
    width: 20px;
    height: 20px;
    display: block;
    filter: invert(55%) sepia(72%) saturate(1071%) hue-rotate(140deg) brightness(94%) contrast(85%);
}

.vvkp-features {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.vvkp-features li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .95rem;
    color: #495663;
}

.vvkp-features strong {
    color: #111;
    white-space: nowrap;
}

.vvkp-footer {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    margin-top: 14px;
}

.vvkp-price {
    color: #1bb8c7;
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1;
}

.vvkp-price.is-sale {
    color: #e53935;
    font-weight: 800;
}

.vvkp-old-price {
    margin-bottom: 6px;
    color: #7a8792;
    font-size: .95rem;
    line-height: 1.2;
    text-decoration: line-through;
}

.vvkp-description {
    margin: 10px 0 0;
    color: #596673;
    line-height: 1.55;
    font-size: .9rem;
}

.vvkp-variant-nav {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    min-height: 38px;
}

.vvkp-nav-button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    align-self: center;
    justify-self: center;
    padding: 0;
    box-shadow: 0 6px 16px rgba(17, 28, 39, 0.08);
}

.vvkp-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 38px;
}

.vvkp-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: #c9cdd1;
    padding: 0;
    cursor: pointer;
}

.vvkp-dots button.is-active {
    background: #1bb8c7;
}

.vvkp-empty {
    color: #666;
}

.vvkp-info-modal[hidden] {
    display: none;
}

.vvkp-info-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.vvkp-info-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.vvkp-info-dialog {
    position: relative;
    z-index: 1;
    width: min(640px, calc(100vw - 32px));
    margin: 8vh auto 0;
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px 24px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.vvkp-info-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #24323d;
    font-size: 2rem;
    font-weight: 300;
    line-height: 28px;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
    opacity: 0.7;
    transition: opacity .18s ease, transform .18s ease;
}

.vvkp-info-close:hover {
    opacity: 1;
    transform: scale(1.06);
}

.vvkp-info-dialog-title {
    margin: 0 0 14px;
    color: #24323d;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.vvkp-info-dialog-content {
    color: #4f5f6f;
    font-size: 1rem;
    line-height: 1.7;
}

.vvkp-info-dialog-content p {
    margin: 0 0 12px;
}

.vvkp-info-dialog-content p:last-child {
    margin-bottom: 0;
}

.vvkp-image-lightbox[hidden] {
    display: none;
}

.vvkp-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vvkp-image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
}

.vvkp-image-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: min(1100px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vvkp-image-lightbox-dialog img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 48px);
    object-fit: contain;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.vvkp-image-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    background: rgba(15, 23, 42, 0.68);
    color: #fff;
    border-radius: 999px;
    font-size: 2rem;
    line-height: 40px;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(6px);
}

@media (max-width: 640px) {
    .vvkp-image-lightbox {
        padding: 12px;
    }

    .vvkp-image-lightbox-dialog {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .vvkp-image-lightbox-dialog img {
        max-height: calc(100vh - 24px);
        border-radius: 12px;
    }

    .vvkp-image-lightbox-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 1.75rem;
        line-height: 36px;
    }
}

@media (max-width: 980px) {
    .vvkp-columns-3,
    .vvkp-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .vvkp-columns-2,
    .vvkp-columns-3,
    .vvkp-columns-4 {
        grid-template-columns: 1fr;
    }

    .vvkp-media {
        min-height: 220px;
    }
}
