/* WooCommerce frontend overrides — keep brand consistency */
.gbc-wc-wrap .woocommerce-products-header__title,
.gbc-wc-wrap .product_title,
.gbc-wc-wrap h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--gbc-text);
    letter-spacing: -0.02em;
}

.gbc-wc-wrap .woocommerce ul.products li.product .price,
.gbc-wc-wrap .price { color: var(--gbc-red); font-weight: 800; }

.gbc-wc-wrap .button,
.gbc-wc-wrap .woocommerce #respond input#submit,
.gbc-wc-wrap .woocommerce a.button,
.gbc-wc-wrap .woocommerce button.button,
.gbc-wc-wrap .woocommerce input.button {
    background: var(--gbc-red) !important;
    color: var(--gbc-text) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    padding: 14px 24px;
}
.gbc-wc-wrap .button:hover,
.gbc-wc-wrap .woocommerce a.button:hover,
.gbc-wc-wrap .woocommerce button.button:hover { background: var(--gbc-red-hover) !important; }

.gbc-wc-wrap .woocommerce ul.products li.product a img { background: rgba(255,255,255,0.03); border-radius: 6px; }

/* v3.0.7 — loop product thumbnails (related / upsells / shop archive) show
   the FULL portrait bottle instead of WC's default squished 600×600 thumb.
   Theme template woocommerce/loop/product-thumbnail.php outputs the full-
   size image; CSS below caps height, preserves aspect, drops the bg/radius
   from the previous rule so the bottle silhouette reads on the black bg. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    text-align: center;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: block;
    text-align: center;
    margin-bottom: 14px;
}

.woocommerce ul.products li.product img.gbc-loop-thumb,
.woocommerce ul.products li.product a img.gbc-loop-thumb {
    height: 340px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 14px 32px rgba(0,0,0,0.5));
}

/* v3.1.4 — single product gallery: the 1:3 portrait packshots render
   proportionally (no crop), capped so the label sits in the first viewport. */
.woocommerce div.product div.images img {
    max-height: 560px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 32px rgba(0,0,0,0.5));
}

/* Related section header — give it room and brand styling */
.woocommerce .related > h2,
.woocommerce .upsells > h2 {
    text-align: center;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    letter-spacing: 0.02em;
    text-transform: lowercase;
    margin: 64px 0 32px;
}

/* Sale badge — REMOVED per fritz HQ brand rule ("don't do special offers").
   Hard-hidden so a stray sale price in WooCommerce can never render a badge. */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.woocommerce-page span.onsale,
.woocommerce-page ul.products li.product .onsale {
    display: none !important;
}

/* Prices — brand-red current price, muted-white struck-through original.
   Unscoped so they apply in related-products, upsells, archive, AND on the
   single product page (previous .gbc-wc-wrap-scoped rule didn't cover those). */
.woocommerce .price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce-page .price,
.woocommerce-page ul.products li.product .price {
    color: var(--gbc-red) !important;
    font-weight: 800;
}

.woocommerce .price ins,
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce-page .price ins {
    color: var(--gbc-red) !important;
    text-decoration: none;
    font-weight: 800;
    background: transparent;
}

/* Struck-through "was" prices — hidden per the same no-special-offers rule:
   if a sale price is ever set by mistake, only the current price renders. */
.woocommerce .price del,
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce-page .price del {
    display: none !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product img.gbc-loop-thumb,
    .woocommerce ul.products li.product a img.gbc-loop-thumb {
        height: 260px;
    }
}

/* v3.1.5 — variations form: readable pack-size selector on the dark theme */
.woocommerce div.product form.cart .variations select {
    background: #fff;
    color: #111;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    padding: 10px 36px 10px 12px;
    font-size: 1rem;
}
.woocommerce div.product form.cart .variations label { color: var(--gbc-text); font-weight: 800; }
.woocommerce div.product form.cart .variations td { padding: 6px 0; }
.woocommerce div.product form.cart .reset_variations { color: var(--gbc-text-muted); }
.woocommerce div.product .woocommerce-variation-price { margin: 12px 0; }
