/*
Theme Name: German Beverage Co. — Shop
Theme URI: https://germanbev.co.th
Author: German Beverage Co., Ltd.
Author URI: https://germanbev.co.th
Description: Post-launch e-commerce theme for German Beverage Co. / fritz-kola Thailand. Self-contained — bundled fonts, images, and icons; no external dependencies. Elementor-compatible. WooCommerce-ready. Designed for the "now pouring." brand-led shop layout. Now ships official fritz-kola 0.33 l on-black packshots and Hamburg lifestyle photography. v3.0.6 constrains the product gallery height (tall bottle packshots were creating ~1100px tall image columns), and hides the duplicated WooCommerce page title on About / Contact pages that conflicted with the page hero. Compliant with LINE OA Verified Account requirements and Thai DBD trustmark guidelines.
Version: 3.0.7
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: germanbev-shop
Tags: e-commerce, woocommerce, dark, brand
*/

/* =============================================
   FONTS — self-hosted, no external CDN
   ============================================= */
@font-face {
    font-family: 'fritz-kola';
    src: url('assets/fonts/fritz-kola.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Karla';
    src: url('assets/fonts/karla.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand colours */
    --gbc-black: #0a0a0a;
    --gbc-near-black: #141414;
    --gbc-dark: #1a1a1a;
    --gbc-mid: #2a2a2a;
    --gbc-line: rgba(255,255,255,0.08);
    --gbc-text: #ffffff;
    --gbc-text-soft: rgba(255,255,255,0.72);
    --gbc-text-muted: rgba(255,255,255,0.45);
    --gbc-red: #c8102e;
    --gbc-red-hover: #e01030;
    --gbc-gold: #f0c030;
    --gbc-cream: #f5f4f0;
    --gbc-line-green: #06C755;

    /* Fonts */
    --gbc-font-sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;
    --gbc-font-display: 'fritz-kola', 'Karla', 'Helvetica Neue', Arial, sans-serif;

    /* Layout */
    --gbc-max: 1280px;
    --gbc-pad: 100px 24px;
    --gbc-radius: 6px;
    --gbc-nav-h: 76px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    background: var(--gbc-black);
    color: var(--gbc-text);
    font-family: var(--gbc-font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Brand-name inline mark — fritz-kola in display font */
.brand-name {
    font-family: var(--gbc-font-display);
    font-weight: 400;
    letter-spacing: 0.005em;
    white-space: nowrap;
    text-transform: lowercase;
}

/* =============================================
   NAVIGATION
   ============================================= */
.gbc-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    height: var(--gbc-nav-h);
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gbc-line);
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.gbc-nav-inner {
    max-width: var(--gbc-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.gbc-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gbc-nav-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.gbc-nav-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.gbc-nav-wordmark .name {
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gbc-text);
}

.gbc-nav-wordmark .tagline {
    font-size: 0.62rem;
    color: var(--gbc-text-muted);
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.gbc-nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.gbc-nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gbc-text-soft);
    transition: color 0.2s;
}

.gbc-nav-links a:hover { color: var(--gbc-gold); }

.gbc-nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--gbc-red);
    color: var(--gbc-red);
    background: transparent;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.gbc-nav-cart:hover {
    background: var(--gbc-red);
    color: var(--gbc-text);
}

.gbc-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}

.gbc-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gbc-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* =============================================
   HERO  ("now pouring." mockup-1 design)
   ============================================= */
.gbc-hero {
    min-height: 100vh;
    padding: calc(var(--gbc-nav-h) + 40px) 24px 60px;
    background: var(--gbc-black);
    position: relative;
    overflow: hidden;
}

.gbc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 78% 50%, rgba(200,16,46,0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 85%, rgba(240,192,48,0.10) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10,10,10,0.68) 0%, rgba(10,10,10,0.85) 70%, rgba(10,10,10,0.95) 100%),
        url('assets/images/lifestyle/hero-bg.jpg') center/cover no-repeat,
        var(--gbc-black);
    pointer-events: none;
}

.gbc-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--gbc-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - var(--gbc-nav-h) - 100px);
}

.gbc-hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gbc-gold);
    margin-bottom: 32px;
}

.gbc-hero-title {
    font-family: var(--gbc-font-sans);
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--gbc-text);
    margin: 0 0 32px;
}

.gbc-hero-title .red { color: var(--gbc-red); }
.gbc-hero-title .gold { color: var(--gbc-gold); }

.gbc-hero-subtitle {
    font-size: 1.2rem;
    color: var(--gbc-text-soft);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 0 36px;
}

.gbc-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.gbc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 5px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
    line-height: 1;
}
.gbc-btn:hover { transform: translateY(-1px); }

.gbc-btn-primary {
    background: var(--gbc-red);
    color: var(--gbc-text);
}
.gbc-btn-primary:hover { background: var(--gbc-red-hover); color: var(--gbc-text); }

.gbc-btn-ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.25);
    color: var(--gbc-text);
}
.gbc-btn-ghost:hover { border-color: var(--gbc-gold); color: var(--gbc-gold); }

.gbc-btn-line {
    background: var(--gbc-line-green);
    color: #fff;
}
.gbc-btn-line:hover { background: #04a548; color: #fff; }

/* Hero visual */
.gbc-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gbc-hero-bottle {
    height: clamp(420px, 70vh, 720px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 80px rgba(200,16,46,0.35))
        drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

.gbc-hero-stockists {
    position: absolute;
    bottom: 32px;
    left: 24px;
    right: 24px;
    max-width: var(--gbc-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    z-index: 2;
}

.gbc-hero-stockists-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gbc-gold);
    flex-shrink: 0;
}

.gbc-hero-stockists-list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gbc-hero-stockists-list li {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gbc-text-muted);
}

/* =============================================
   SECTIONS — common wrappers
   ============================================= */
.gbc-section {
    padding: var(--gbc-pad);
    position: relative;
}
.gbc-section--dark { background: var(--gbc-dark); }
.gbc-section--cream { background: var(--gbc-cream); color: var(--gbc-black); }

.gbc-section-inner {
    max-width: var(--gbc-max);
    margin: 0 auto;
}

.gbc-section-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gbc-gold);
    margin-bottom: 14px;
}

.gbc-section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: inherit;
}

.gbc-section-lead {
    font-size: 1.05rem;
    color: var(--gbc-text-soft);
    max-width: 640px;
    line-height: 1.7;
    margin: 0;
}

.gbc-section--cream .gbc-section-lead { color: rgba(0,0,0,0.65); }

.gbc-divider {
    width: 48px;
    height: 3px;
    background: var(--gbc-red);
    margin: 0 0 32px;
    border-radius: 2px;
}

/* =============================================
   PRODUCT GRID (range / shop)
   ============================================= */
.gbc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.gbc-product-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--gbc-line);
    border-radius: var(--gbc-radius);
    padding: 32px 22px 26px;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.gbc-product-card:hover {
    border-color: rgba(240,192,48,0.35);
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

.gbc-product-card .img {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.gbc-product-card .img img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,0.5));
}

.gbc-product-card .name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--gbc-text);
    margin: 0 0 6px;
    text-transform: uppercase;
}

.gbc-product-card .tag {
    font-size: 0.78rem;
    color: var(--gbc-text-muted);
    margin: 0 0 18px;
    line-height: 1.45;
    min-height: 36px;
}

.gbc-product-card .price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gbc-red);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.gbc-product-card .add {
    width: 100%;
    background: var(--gbc-text);
    color: var(--gbc-black);
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.gbc-product-card .add:hover {
    background: var(--gbc-red);
    color: var(--gbc-text);
}

/* =============================================
   STORY / ABOUT block
   ============================================= */
.gbc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.gbc-two-col p {
    color: var(--gbc-text-soft);
    line-height: 1.8;
    margin: 0 0 20px;
}

.gbc-two-col p:last-child { margin-bottom: 0; }

.gbc-two-col strong { color: var(--gbc-text); font-weight: 700; }

/* =============================================
   STOCKISTS section
   ============================================= */
.gbc-stockists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.gbc-stockist-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--gbc-line);
    border-radius: 6px;
    padding: 22px 20px;
    transition: border-color 0.2s;
}

.gbc-stockist-card:hover { border-color: rgba(240,192,48,0.35); }

.gbc-stockist-card .name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gbc-text);
    margin: 0 0 4px;
}

.gbc-stockist-card .location {
    font-size: 0.78rem;
    color: var(--gbc-text-muted);
    margin: 0;
}

/* =============================================
   LINE CTA
   ============================================= */
.gbc-line-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(135deg, rgba(0,179,0,0.12) 0%, rgba(0,200,0,0.06) 100%);
    border: 1px solid rgba(0,200,0,0.3);
    border-radius: 10px;
    padding: 24px 26px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.gbc-line-cta:hover {
    border-color: rgba(0,200,0,0.55);
    transform: translateY(-1px);
}

.gbc-line-cta-text { flex: 1 1 auto; min-width: 0; }

.gbc-line-cta-heading {
    display: block;
    margin-bottom: 8px;
    line-height: 1.25;
}
.gbc-line-cta-heading [lang="en"] {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gbc-text);
}
.gbc-line-cta-heading [lang="th"] {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-top: 2px;
}

.gbc-line-cta-body { margin: 0 0 14px; font-size: 0.85rem; line-height: 1.5; }
.gbc-line-cta-body [lang="en"] { display: block; color: var(--gbc-text-soft); }
.gbc-line-cta-body [lang="th"] { display: block; color: rgba(255,255,255,0.55); font-size: 0.8rem; margin-top: 2px; }

.gbc-line-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gbc-line-green);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.gbc-line-cta-qr {
    flex: 0 0 auto;
    background: #fff;
    padding: 10px 10px 8px;
    border-radius: 8px;
    text-align: center;
}
.gbc-line-cta-qr img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
}
.gbc-line-cta-qr-caption {
    display: block;
    font-size: 0.62rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gbc-black);
    font-weight: 700;
    margin-top: 6px;
}
.gbc-line-cta-qr-caption [lang="th"] {
    display: block;
    font-size: 0.6rem;
    text-transform: none;
    color: rgba(0,0,0,0.65);
    margin-top: 1px;
    font-weight: 600;
}

/* =============================================
   FOOTER
   ============================================= */
.gbc-footer {
    background: var(--gbc-black);
    padding: 64px 24px 28px;
    border-top: 1px solid var(--gbc-line);
}

.gbc-footer-inner {
    max-width: var(--gbc-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.gbc-footer h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gbc-gold);
    margin: 0 0 16px;
}

.gbc-footer p, .gbc-footer li, .gbc-footer a { font-size: 0.85rem; color: var(--gbc-text-soft); line-height: 1.7; }
.gbc-footer ul { list-style: none; padding: 0; margin: 0; }
.gbc-footer a:hover { color: var(--gbc-gold); }

.gbc-footer-brand .gbc-footer-wordmark {
    font-family: var(--gbc-font-display);
    font-size: 1.4rem;
    color: var(--gbc-text);
    text-transform: lowercase;
    margin-bottom: 12px;
    display: inline-block;
}

/* v3.0.5 — GB lockup as image in the footer brand panel. Replaces the
   "fritz-kola Thailand" text wordmark to avoid implying the distributor
   IS fritz-kola (trademark friction on a .com / .co.th distributor domain). */
.gbc-footer-brand .gbc-footer-logo-img {
    display: block;
    width: 240px;
    height: auto;
    max-width: 100%;
    margin-bottom: 14px;
    opacity: 0.92;
}
@media (max-width: 640px) {
    .gbc-footer-brand .gbc-footer-logo-img { width: 200px; }
}

.gbc-footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.gbc-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gbc-line);
    border-radius: 50%;
    color: var(--gbc-text-muted);
    transition: border-color 0.2s, color 0.2s;
}
.gbc-footer-socials a:hover { border-color: var(--gbc-gold); color: var(--gbc-gold); }
.gbc-footer-socials a.line { background: var(--gbc-line-green); border-color: var(--gbc-line-green); color: #fff; }
.gbc-footer-socials a.line:hover { background: #04a548; border-color: #04a548; color: #fff; }

.gbc-footer-bottom {
    border-top: 1px solid var(--gbc-line);
    padding-top: 20px;
    max-width: var(--gbc-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--gbc-text-muted);
}

.gbc-footer-bottom a { color: var(--gbc-text-muted); text-decoration: underline; text-underline-offset: 3px; }

.gbc-footer-version { font-size: 0.65rem; opacity: 0.6; }

/* =============================================
   GENERAL: ELEMENTOR + WP CONTENT
   ============================================= */
/* When Elementor is editing, give the canvas a sane background so the user
   isn't fighting white-on-white */
.elementor-editor-active body,
body.elementor-page {
    background: var(--gbc-black);
    color: var(--gbc-text);
}

/* Default page wrapper for non-Elementor pages */
.gbc-page-content {
    max-width: 760px;
    margin: 0 auto;
    padding: calc(var(--gbc-nav-h) + 80px) 24px 80px;
}

.gbc-page-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}
.gbc-page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 0 14px;
    color: var(--gbc-text);
}
.gbc-page-content p {
    color: var(--gbc-text-soft);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* =============================================
   DBD trustmark + impressum
   ============================================= */
.gbc-dbd-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(26,58,107,0.25);
    border: 1px solid rgba(26,58,107,0.6);
    padding: 12px 18px;
    border-radius: 6px;
    margin-top: 16px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.gbc-dbd-link:hover { border-color: rgba(240,192,48,0.5); background: rgba(240,192,48,0.06); }

.gbc-dbd-link strong { display: block; color: var(--gbc-text); font-size: 0.78rem; }
.gbc-dbd-link .verify { display: block; color: rgba(240,192,48,0.7); font-size: 0.66rem; margin-top: 2px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .gbc-hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; min-height: auto; }
    .gbc-hero-visual { order: -1; }
    .gbc-hero-actions { justify-content: center; }
    .gbc-product-grid { grid-template-columns: repeat(2, 1fr); }
    .gbc-two-col { grid-template-columns: 1fr; gap: 32px; }
    .gbc-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .gbc-hero-stockists { position: static; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 32px; border-top: 1px solid var(--gbc-line); }
}

@media (max-width: 768px) {
    :root { --gbc-pad: 64px 20px; }
    .gbc-nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10,10,10,0.98); padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--gbc-line); }
    .gbc-nav-links.open { display: flex; }
    .gbc-hamburger { display: flex; }
    .gbc-hero-bottle { height: clamp(280px, 50vh, 460px); }
    .gbc-hero-title { font-size: clamp(3rem, 14vw, 5rem); }
    .gbc-line-cta { flex-direction: column; align-items: stretch; }
    .gbc-line-cta-button { align-self: center; }
    .gbc-line-cta-qr { align-self: center; }
}

@media (max-width: 480px) {
    .gbc-product-grid { grid-template-columns: 1fr; }
    .gbc-footer-inner { grid-template-columns: 1fr; }
    .gbc-hero-actions { flex-direction: column; align-items: stretch; }
    .gbc-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* =============================================
   v3.0.6 — Product gallery height constraint
   Tall 1:3 packshots (900x2700) made the WC product gallery render at
   ~1100px tall on desktop, pushing add-to-cart way below the fold.
   Constrain the featured image to a reasonable max-height and centre it.
   ============================================= */
.woocommerce-product-gallery,
.product .images {
    max-width: 460px;
    margin: 0 auto;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper img.wp-post-image,
.product .images img.wp-post-image,
.product .woocommerce-product-gallery img {
    max-height: 560px;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain;
}
/* Gallery thumbnail strip (additional images) — keep tidy on dark theme */
.woocommerce-product-gallery .flex-control-thumbs li img {
    max-height: 80px;
    width: auto !important;
    margin: 0 auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

/* v3.0.6 — Astra/Spectra theme prepends a page <h1>"About"</h1> at the top of
   pages whose content already provides their own hero (like the new About
   page). Suppress the duplicate title on those slugs. */
.page-id-3612 .entry-header,
.page-id-3612 .ast-archive-title,
.page-id-3612 .entry-title,
.page-id-3612 .ast-single-post-banner,
.page-id-3612 header.entry-header {
    display: none !important;
}
