/* Customify's sticky summary can collapse beside the compact desktop gallery. */
@media (min-width: 1024px) {
    .gg-native-single-product .product.gg-desktop-product-layout .entry-summary-inner {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        width: auto !important;
    }
}

.gg-native-single-product .summary .product_meta > .sku_wrapper,
.gg-native-single-product .summary .product_meta:not(:has(> :not(.sku_wrapper, .posted_in))) {
    display: none;
}

/* Models 2401, 19010 and 007: hide tags and their now-empty metadata frame. */
.gg-native-single-product:is(
    .postid-11775, .postid-11776, .postid-11777, .postid-11778,
    .postid-11779, .postid-11780, .postid-11781, .postid-11782,
    .postid-11783, .postid-11785, .postid-11787, .postid-11788,
    .postid-11789, .postid-11790, .postid-11791, .postid-11792,
    .postid-14047, .postid-14049, .postid-14051, .postid-14052,
    .postid-14053, .postid-14054, .postid-14055, .postid-14056,
    .postid-14058, .postid-14059, .postid-14060, .postid-14061,
    .postid-14062, .postid-14063, .postid-14064, .postid-14065,
    .postid-20134, .postid-20135, .postid-20137, .postid-20138,
    .postid-18485, .postid-18486, .postid-18487, .postid-18489,
    .postid-18497, .postid-18499, .postid-18500, .postid-18501,
    .postid-18509, .postid-18510, .postid-18511, .postid-18512
) .summary :is(
    .product_meta > .tagged_as,
    .product_meta:not(:has(> :not(.sku_wrapper, .posted_in, .tagged_as)))
) {
    display: none;
}

/* Keep the quantity submitted, but let the purchase button fill its row.
 * WooCommerce variation changes can set an inline display on the wrapper. */
.gg-native-single-product .summary form.cart:not(.grouped_form) .quantity {
    display: none !important;
}

.gg-native-single-product .summary form.cart:not(.grouped_form) button.single_add_to_cart_button {
    width: 100%;
}

.gg-native-single-product .summary form.cart:not(.variations_form):not(.grouped_form),
.gg-native-single-product .summary .single_variation_wrap .woocommerce-variation-add-to-cart {
    gap: 0;
}

/* Match the pale Promo button while keeping unavailable status easy to read. */
.gg-native-single-product .summary .stock.out-of-stock {
    background: #f8eef2;
    border: 1px solid #ecd8e0;
    border-radius: 8px;
    box-sizing: border-box;
    color: var(--gg-wine);
    display: block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.35;
    margin: 20px 0;
    padding: 14px 18px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}
