.vmaxx-kit-page .product-description:has(.vmaxx-details) {
    padding: 0;
    background: transparent;
}

.vmaxx-kit-page .product-description:has(.vmaxx-details) > h2 {
    display: none;
}

.vmaxx-kit-page .product-gallery-main,
.vmaxx-kit-page .product-gallery-thumb,
.vmaxx-kit-page .product-gallery-dialog img {
    background: #fff;
}

.vmaxx-kit-page.storefront-theme .product-legacy-gallery-heading h1 {
    font-size: clamp(23px, 2.15vw, 30px);
    line-height: 1.18;
}

.vmaxx-kit-page .product-gallery-thumbs {
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}

.vmaxx-kit-page .product-gallery-thumb {
    scroll-snap-align: start;
}

.vmaxx-gallery-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 52px;
    gap: 10px;
    margin: 4px 0 8px;
    color: #514d48;
}

.vmaxx-gallery-controls p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.vmaxx-gallery-controls div {
    display: flex;
    gap: 6px;
}

.vmaxx-gallery-controls button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #d5d0c8;
    border-radius: 6px;
    background: #fff;
    color: #171717;
    font-size: 22px;
    cursor: pointer;
}

.vmaxx-gallery-controls button:disabled {
    color: #79756f;
    background: #f4f2ee;
    cursor: default;
}

.vmaxx-details {
    display: grid;
    gap: 18px;
    padding-bottom: 44px;
}

.vmaxx-panel {
    min-width: 0;
    padding: clamp(20px, 3vw, 32px);
    border-radius: 8px;
    background: #fff;
    color: #302e2a;
}

.vmaxx-panel h2 {
    margin: 0 0 14px;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.2;
    letter-spacing: -.025em;
    color: #1d1b19;
}

.vmaxx-panel p {
    margin: 0 0 10px;
    line-height: 1.62;
}

.vmaxx-panel p:last-child {
    margin-bottom: 0;
}

.vmaxx-overview,
.vmaxx-details-columns,
.vmaxx-document {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(16px, 3vw, 36px);
}

.vmaxx-overview {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, .75fr);
}

.vmaxx-specs {
    display: grid;
    align-content: center;
    gap: 9px;
    margin: 0;
}

.vmaxx-specs div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 6px;
    background: #f5f3ef;
}

.vmaxx-specs span {
    font-size: 14px;
}

.vmaxx-specs strong {
    margin: 0;
    color: #292523;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.vmaxx-details-columns {
    gap: 18px;
}

.vmaxx-details table {
    width: 100%;
    border-collapse: collapse;
}

.vmaxx-kit-page .vmaxx-details table :is(th, td) {
    padding: 11px 8px;
    border-bottom: 1px solid #e8e4de;
    text-align: left;
    vertical-align: top;
}

.vmaxx-details table thead {
    color: #4a4640;
    background: #f5f3ef;
}

.vmaxx-details ul {
    display: grid;
    gap: 9px;
    padding-left: 1.1em;
    margin-bottom: 0;
}

.vmaxx-details li::marker {
    color: #c71622;
}

.vmaxx-document {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.vmaxx-document p:last-child {
    color: #514d48;
    font-size: 14px;
}

.vmaxx-kit-page .product-rich-text .vmaxx-document > a {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 46px;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 1px solid #ab1520;
    border-radius: 6px;
    background: #ab1520;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .15em;
    font-weight: 600;
}

.vmaxx-kit-page .product-rich-text .vmaxx-document > a:is(:hover, :focus-visible) {
    border-color: #76111a;
    background: #76111a;
    color: #fff;
}

.vmaxx-document > a span {
    border-left: 1px solid #ffc9cc;
    padding-left: 10px;
    font-size: 12px;
}

@media (max-width: 760px) {
    .vmaxx-overview,
    .vmaxx-details-columns,
    .vmaxx-document {
        grid-template-columns: minmax(0, 1fr);
    }

    .vmaxx-gallery-controls p,
    .vmaxx-details table {
        font-size: 13px;
    }

    .vmaxx-kit-page.storefront-theme :is(.product-gallery.product-legacy-gallery, .product-summary.product-legacy-summary) {
        padding: 16px;
    }

    .vmaxx-kit-page .product-gallery-thumb {
        flex-basis: 60px;
    }
}
