.v7-product-hero { --product-gap:24px; }
.tn-v7 .v7-product-hero .v7-purchase-grid:has(>.tn-product-column) {
    grid-template-areas:"gallery purchase";
    row-gap:var(--product-gap);
}
.tn-product-column {
    grid-area:purchase;
    display:flex;
    flex-direction:column;
    gap:var(--product-gap);
    min-width:0;
}
.tn-product-column .v7-product-intro {gap:var(--product-gap)}
.tn-product-column .v7-product-pitch:empty {display:none}
.tn-product-column .v7-purchase table.variations tr:not(:has(~tr:not(.v7-no-size,.v7-colour-prompt))) td {margin-bottom:0}
.tn-product-column .single_variation_wrap {margin:0}
@media(max-width:767px){
    .v7-product-hero {--product-gap:28px}
    .tn-product-column {display:contents}
}
/* Keep stock feedback in the existing space between selections and controls. */
.tn-product-column .tn-selected-stock {top:calc(100% + var(--product-gap)/2)}
.tn-product-column .single_variation:not(:has(.woocommerce-variation-description:not(:empty))) {margin-bottom:2px}
@media(max-width:767px){
    .tn-product-column .v7-purchase table.variations .v7-colour-prompt[hidden]{display:block!important;visibility:hidden}
    .tn-product-column .tn-selected-stock {top:100%;transform:none;line-height:26px}
}
