/* ================================================================
   Dein Gymbuddy | Core – Frontend Product Page Styles v1.1.1
   ConstructMedia / https://constructmedia.de

   Brand: #B12F38 · #000000 · #FFFFFF
   Design: Stacked-card scroll, rounded, premium fitness
================================================================ */

:root {
    --dgb-red: #B12F38;
    --dgb-red-dark: #8f2530;
    --dgb-red-glow: rgba(177, 47, 56, 0.25);
    --dgb-red-soft: rgba(177, 47, 56, 0.07);
    --dgb-black: #000000;
    --dgb-dark: #0d0d0d;
    --dgb-white: #ffffff;
    --dgb-off-white: #f7f7f7;
    --dgb-gray: #888888;
    --dgb-gray-dark: #555555;
    --dgb-gray-light: #eeeeee;
    --dgb-border: #e2e2e2;
    --dgb-text: #1a1a1a;
    --dgb-font: inherit;
    --dgb-r: 28px;
    --dgb-r-sm: 18px;
    --dgb-r-xs: 12px;
    --dgb-r-pill: 100px;
    --dgb-speed: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dgb-max-w: 1240px;
    --dgb-overlap: -60px;
    --dgb-card-shadow: 0 -6px 40px rgba(0, 0, 0, 0.08), 0 -2px 8px rgba(0, 0, 0, 0.04);
}

/* ─── Reset & Base ─────────────────────────────────────────────── */
.dgb-product-page {
    font-family: var(--dgb-font);
    color: var(--dgb-text);
    line-height: 1.7;
    background: var(--dgb-off-white);
    overflow: visible !important;
}

.dgb-product-page,
.dgb-product-page > *,
.dgb-product-page .dgb-conditional-sections,
.site-content,
.content-area,
.entry-content,
#content,
#primary,
#main {
    overflow: visible !important;
}

.dgb-product-page *,
.dgb-product-page *::before,
.dgb-product-page *::after {
    box-sizing: border-box;
}

.dgb-wrap,
.dgb-container {
    max-width: var(--dgb-max-w);
    margin: 0 auto;
    padding: 0 28px;
}

.dgb-h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--dgb-black);
    margin: 0 0 14px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.dgb-sub {
    font-size: 0.9rem;
    color: var(--dgb-gray);
    max-width: 620px;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* ─── Stacked-Card System ──────────────────────────────────────── */
.dgb-product-page .dgb-conditional-sections {
    position: relative !important;
    overflow: visible !important;
}

.dgb-product-page .dgb-conditional-sections .dgb-section {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    margin-top: var(--dgb-overlap) !important;
    padding: 72px 0 120px !important;
    border-radius: var(--dgb-r) var(--dgb-r) 0 0 !important;
    box-shadow: var(--dgb-card-shadow) !important;
}

.dgb-product-page .dgb-conditional-sections .dgb-section:first-child {
    margin-top: 0 !important;
}

.dgb-product-page .dgb-conditional-sections .dgb-section:nth-last-child(-n+2) {
    position: relative !important;
    top: auto !important;
}

.dgb-product-page .dgb-conditional-sections .dgb-section:last-child {
    padding-bottom: 72px !important;
}

.dgb-product-page .dgb-conditional-sections .dgb-section-2 { z-index: 2 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-3 { z-index: 3 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-4 { z-index: 4 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-5 { z-index: 5 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-prep { z-index: 6 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-6 { z-index: 7 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-7 { z-index: 8 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-8 { z-index: 9 !important; }
.dgb-product-page .dgb-conditional-sections .dgb-section-9 { z-index: 10 !important; }

/* Hide WooCommerce stock display */
.dgb-product-page .stock,
.dgb-product-page .in-stock,
.dgb-product-page .out-of-stock,
.dgb-product-page p.stock {
    display: none !important;
}

/* Hidden Until Flavor */
.dgb-hidden-until-flavor { display: none; }

.dgb-flavor-notice {
    background: var(--dgb-red-soft);
    border-top: 3px solid var(--dgb-red);
    padding: 22px 0;
    text-align: center;
    color: var(--dgb-red);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--dgb-r-sm) var(--dgb-r-sm) 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   S1 – HERO
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-1 {
    padding: 36px 0 80px;
    background: var(--dgb-white);
    z-index: 1;
    position: relative;
}

.dgb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

/* Gallery */
.dgb-hero-gallery {
    position: sticky;
    top: 100px;
}

.dgb-gallery-main {
    position: relative;
    border-radius: var(--dgb-r);
    overflow: hidden;
    background: var(--dgb-off-white);
}

.dgb-gallery-main > img,
.dgb-gallery-main .dgb-main-product-image {
    width: 100%;
    height: auto;
    display: block;
}

.dgb-second-image-wrap {
    margin-top: 14px;
    border-radius: var(--dgb-r);
    overflow: hidden;
    background: var(--dgb-off-white);
}

.dgb-second-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Info */
.dgb-breadcrumb {
    font-size: 0.72rem;
    color: var(--dgb-gray);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
}

.dgb-breadcrumb a {
    color: var(--dgb-gray);
    text-decoration: none;
}

.dgb-breadcrumb a:hover {
    color: var(--dgb-red);
}

.dgb-product-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dgb-black);
    margin: 0 0 8px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

/* Social Proof */
.dgb-social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.dgb-stars {
    display: flex;
    gap: 1px;
}

.dgb-star {
    font-size: 1rem;
    line-height: 1;
}

.dgb-star-full {
    color: #f5a623;
}

.dgb-star-empty {
    color: var(--dgb-gray-light);
}

.dgb-rating-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dgb-black);
}

.dgb-rating-count {
    font-size: 0.78rem;
    color: var(--dgb-gray);
}

/* Price */
.dgb-product-price {
    margin-bottom: 8px;
}

.dgb-product-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dgb-black);
}

.dgb-product-price .price del {
    color: var(--dgb-gray);
    font-size: 1rem;
    margin-right: 6px;
}

.dgb-product-price .price ins {
    text-decoration: none;
    color: var(--dgb-red);
}

/* Package Info */
.dgb-product-page .dgb-package-info {
    display: flex;
    flex-direction: column;
    background: var(--dgb-off-white);
    border: 2px solid var(--dgb-border);
    border-radius: var(--dgb-r-xs);
    padding: 12px 16px;
    margin-bottom: 12px;
    text-align: center;
    transition: all var(--dgb-speed);
}

.dgb-product-page .dgb-package-info:not(:empty) {
    border-color: var(--dgb-red);
    background: var(--dgb-red-soft);
}

.dgb-product-page .dgb-package-line1 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dgb-black);
    line-height: 1.3;
}

.dgb-product-page .dgb-package-line2 {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dgb-gray-dark);
    margin-top: 2px;
    line-height: 1.2;
}

/* Short Description */
.dgb-short-desc {
    font-size: 0.88rem;
    color: var(--dgb-gray-dark);
    line-height: 1.65;
    margin-bottom: 16px;
}

.dgb-short-desc p {
    margin: 0 0 6px;
}

.dgb-short-desc p:last-child {
    margin-bottom: 0;
}

/* Buy Box */
.dgb-product-page .dgb-hero-buy-box {
    background: var(--dgb-white);
    border: 1px solid var(--dgb-border);
    border-radius: var(--dgb-r-sm);
    padding: 22px;
    margin-bottom: 18px;
}

/* Variation price – show above the add-to-cart row */
.dgb-product-page .dgb-hero-buy-box .woocommerce-variation-price {
    margin: 10px 0 4px 0 !important;
}

.dgb-product-page .dgb-hero-buy-box .woocommerce-variation-price .price {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: var(--dgb-black) !important;
}

/* Hide ONLY the duplicate price from German Market legacy container */
.dgb-product-page .dgb-hero-buy-box .legacy-itemprop-offers > .price,
.dgb-product-page .dgb-hero-buy-box .legacy-itemprop-offers > p.price {
    display: none !important;
}

/* German Market tax/shipping info inside buy box – keep visible */
.dgb-product-page .dgb-hero-buy-box .wgm-info {
    font-size: 0.75rem !important;
    color: var(--dgb-gray) !important;
    line-height: 1.4 !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
}

.dgb-product-page .dgb-hero-buy-box .wgm-info a {
    color: var(--dgb-red) !important;
}

.dgb-product-page .dgb-hero-buy-box .woocommerce-de_versandkosten {
    font-size: 0.75rem !important;
}

/* Variations form: remove extra padding/margin for flush alignment */
.dgb-product-page .dgb-hero-buy-box .variations_form {
    margin: 0 !important;
    padding: 0 !important;
}

.dgb-product-page .dgb-hero-buy-box .variations_form .variations {
    margin: 0 !important;
}

/* Quantity + Button inline */
.dgb-product-page .dgb-hero-buy-box .woocommerce-variation-add-to-cart,
.dgb-product-page .dgb-hero-buy-box form.cart:not(.variations_form) {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    margin-top: 10px !important;
}

.dgb-product-page .dgb-hero-buy-box .woocommerce-variation-add-to-cart .quantity,
.dgb-product-page .dgb-hero-buy-box form.cart:not(.variations_form) .quantity {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.dgb-product-page .dgb-hero-buy-box .woocommerce-variation-add-to-cart .single_add_to_cart_button,
.dgb-product-page .dgb-hero-buy-box form.cart:not(.variations_form) .single_add_to_cart_button {
    flex: 1 1 auto !important;
    margin-top: 0 !important;
}

.dgb-product-page .dgb-product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: var(--dgb-red);
    color: var(--dgb-white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: var(--dgb-r-pill);
    line-height: 1.3;
}

.dgb-product-page .dgb-delivery-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2a7d3f;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--dgb-border);
}

.dgb-product-page .dgb-delivery-notice svg {
    flex-shrink: 0;
    color: #2a7d3f;
}

.dgb-product-page .dgb-payment-icons {
    margin-top: 14px;
    text-align: center;
}

.dgb-product-page .dgb-payment-label {
    font-size: 0.68rem;
    color: var(--dgb-gray);
    display: block;
    margin-bottom: 6px;
}

.dgb-product-page .dgb-payment-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

img.dgb-pay-icon {
    height: 28px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

/* Variations – high specificity to beat theme */
.dgb-product-page .dgb-variations-wrap .variations {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dgb-product-page .dgb-variations-wrap .variations tr {
    display: block !important;
    margin-bottom: 4px !important;
}

.dgb-product-page .dgb-variations-wrap .variations td,
.dgb-product-page .dgb-variations-wrap .variations th {
    padding: 2px 0 !important;
    vertical-align: top !important;
    border: none !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
}

.dgb-product-page .dgb-variations-wrap .variations label {
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    color: var(--dgb-black) !important;
    display: block !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

.dgb-product-page .dgb-variations-wrap select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid var(--dgb-border) !important;
    border-radius: var(--dgb-r-xs) !important;
    font-size: 0.88rem !important;
    background-color: var(--dgb-white) !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 15px !important;
    transition: border-color var(--dgb-speed) !important;
}

.dgb-product-page .dgb-variations-wrap select:focus {
    outline: none !important;
    border-color: var(--dgb-red) !important;
}

.dgb-product-page .dgb-variations-wrap .single_add_to_cart_button,
.dgb-product-page .dgb-variations-wrap button.button,
.dgb-product-page .dgb-variations-wrap button[type="submit"],
.dgb-product-page .dgb-variations-wrap .button.alt,
.dgb-product-page .dgb-hero-buy-box .single_add_to_cart_button,
.dgb-product-page .dgb-hero-buy-box button.button,
.dgb-product-page .dgb-hero-buy-box button[type="submit"],
.dgb-product-page button.single_add_to_cart_button {
    width: 100% !important;
    padding: 16px 28px !important;
    background: #B12F38 !important;
    background-color: #B12F38 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--dgb-r-xs) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-top: 8px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
}

.dgb-product-page .dgb-variations-wrap .single_add_to_cart_button:hover,
.dgb-product-page .dgb-variations-wrap button.button:hover,
.dgb-product-page .dgb-hero-buy-box .single_add_to_cart_button:hover,
.dgb-product-page .dgb-hero-buy-box button.button:hover,
.dgb-product-page button.single_add_to_cart_button:hover {
    background: #8f2530 !important;
    background-color: #8f2530 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(177, 47, 56, 0.25) !important;
}

.dgb-product-page .dgb-variations-wrap .quantity input,
.dgb-product-page .dgb-hero-buy-box .quantity input {
    width: 60px !important;
    height: 100% !important;
    min-height: 52px !important;
    padding: 12px 8px !important;
    border: 2px solid var(--dgb-border) !important;
    border-radius: var(--dgb-r-xs) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Reset button  (WooCommerce clear link) */
.dgb-product-page .dgb-variations-wrap .reset_variations {
    font-size: 0.7rem !important;
    color: var(--dgb-gray) !important;
    margin-top: 2px !important;
    display: inline-block !important;
}

/* Single variation container tighten */
.dgb-product-page .dgb-hero-buy-box .single_variation_wrap {
    margin-top: 0 !important;
}

.dgb-product-page .dgb-hero-buy-box .single_variation_wrap .single_variation {
    margin-bottom: 4px !important;
}

/* Highlights */
.dgb-product-page .dgb-highlights-list {
    list-style: none !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

.dgb-product-page .dgb-highlight-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 0 !important;
    font-size: 0.82rem !important;
    color: var(--dgb-text) !important;
}

.dgb-product-page .dgb-check-icon {
    width: 16px !important;
    height: 16px !important;
    background: var(--dgb-red) !important;
    color: var(--dgb-white) !important;
    border-radius: 50% !important;
    font-size: 0.55rem !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Trust Bar */
.dgb-product-page .dgb-trust-bar {
    display: flex;
    gap: 0;
    border: 1px solid var(--dgb-border);
    border-radius: var(--dgb-r-sm);
    overflow: hidden;
    background: var(--dgb-white);
}

.dgb-product-page .dgb-trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dgb-gray-dark);
    border-right: 1px solid var(--dgb-border);
    line-height: 1.3;
}

.dgb-product-page .dgb-trust-item:last-child {
    border-right: none;
}

.dgb-product-page .dgb-trust-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--dgb-red-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dgb-red);
}

.dgb-product-page .dgb-trust-icon svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   S2 – VERGLEICHSTABELLE   (weiß)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-2 {
    background: var(--dgb-white) !important;
}

.dgb-table-wrap {
    overflow-x: auto;
    border-radius: var(--dgb-r-sm);
    border: 1px solid var(--dgb-border);
    margin-top: 20px;
}

.dgb-product-page .dgb-table-wrap table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: var(--dgb-white) !important;
    margin: 0 !important;
    border: none !important;
}

.dgb-product-page .dgb-table-wrap th,
.dgb-product-page .dgb-table-wrap td {
    padding: 13px 20px !important;
    text-align: left !important;
    font-size: 0.88rem !important;
    border: none !important;
    border-bottom: 1px solid var(--dgb-gray-light) !important;
    line-height: 1.5 !important;
}

.dgb-product-page .dgb-table-wrap thead th {
    background: var(--dgb-black) !important;
    color: var(--dgb-white) !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border-bottom: none !important;
}

.dgb-product-page .dgb-table-wrap thead th:nth-child(2) {
    background: var(--dgb-red) !important;
}

.dgb-product-page .dgb-table-wrap tbody tr:nth-child(even) td {
    background: var(--dgb-off-white) !important;
}

.dgb-product-page .dgb-table-wrap tbody tr:last-child td {
    border-bottom: none !important;
}

.dgb-product-page .dgb-table-wrap tbody td:first-child {
    font-weight: 500 !important;
}

.dgb-product-page .dgb-table-wrap tbody td:nth-child(2) {
    color: var(--dgb-red) !important;
    font-weight: 700 !important;
}

/* ═══════════════════════════════════════════════════════════════
   S3 – TIPPS / QUIZ   (hell-grau)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-3 {
    background: var(--dgb-off-white) !important;
}

.dgb-tip-box {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--dgb-white);
    border-radius: var(--dgb-r);
    padding: 32px;
    border: 1px solid var(--dgb-border);
}

.dgb-tip-image { flex-shrink: 0; }

.dgb-tip-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dgb-red);
}

.dgb-tip-question {
    font-size: 1rem;
    color: var(--dgb-red);
    margin: 0 0 8px;
    font-weight: 700;
}

.dgb-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--dgb-r-pill);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--dgb-speed);
    margin-top: 12px;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dgb-btn-primary {
    background: var(--dgb-red);
    color: var(--dgb-white);
}

.dgb-btn-primary:hover {
    background: var(--dgb-red-dark);
    color: var(--dgb-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--dgb-red-glow);
}

/* ═══════════════════════════════════════════════════════════════
   S4 – FÜR WEN GEEIGNET?   (weiß)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-4 {
    background: var(--dgb-white) !important;
}

.dgb-suitability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.dgb-suitability-col {
    background: var(--dgb-off-white);
    border-radius: var(--dgb-r-sm);
    padding: 28px 30px;
    border: 1px solid var(--dgb-gray-light);
}

.dgb-suitability-pro {
    border-top: 3px solid #2a7d3f;
}

.dgb-suitability-con {
    border-top: 3px solid var(--dgb-red);
}

.dgb-suitability-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--dgb-black);
    line-height: 1.3;
}

.dgb-suitability-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dgb-suitability-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--dgb-text);
    border-bottom: 1px solid var(--dgb-border);
}

.dgb-suitability-list li:last-child {
    border-bottom: none;
}

.dgb-check {
    color: #2a7d3f;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    line-height: 1.5;
}

.dgb-cross {
    color: var(--dgb-red);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   S5 – VORTEILE   (schwarz)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-5 {
    background: var(--dgb-black) !important;
    color: var(--dgb-white) !important;
}

.dgb-section-5 .dgb-h2,
.dgb-section-5 .dgb-section-headline {
    color: var(--dgb-white);
}

.dgb-advantages-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 40px;
}

.dgb-advantages-list li {
    padding: 11px 0 11px 28px;
    position: relative;
    font-size: 0.88rem;
    break-inside: avoid;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dgb-advantages-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--dgb-red);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   S6 – USP SPALTEN   (Bild + Overlay)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-6 {
    background-color: var(--dgb-dark) !important;
    background-size: cover !important;
    background-position: center !important;
}

.dgb-section-6::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--dgb-r) var(--dgb-r) 0 0;
}

.dgb-section-6 .dgb-wrap,
.dgb-section-6 .dgb-container {
    position: relative;
    z-index: 1;
}

.dgb-section-6 .dgb-h2,
.dgb-section-6 .dgb-section-headline,
.dgb-section-6 .dgb-section-intro,
.dgb-section-6 .dgb-sub {
    color: var(--dgb-white);
}

.dgb-usp-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.dgb-usp-col {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--dgb-r-sm);
    padding: 26px 22px;
    color: var(--dgb-white);
    transition: all var(--dgb-speed);
}

.dgb-usp-col:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--dgb-red);
    transform: translateY(-4px);
}

.dgb-usp-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.dgb-usp-col h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dgb-red);
    margin: 0 0 5px;
}

.dgb-usp-col p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   S7 – NÄHRWERTE & ZUBEREITUNG   (hell-grau)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-prep {
    background: var(--dgb-white) !important;
}

.dgb-section-7 {
    background: var(--dgb-off-white) !important;
}

.dgb-nutrition-wrap {
    margin-bottom: 36px;
}

.dgb-serving-size {
    font-size: 0.82rem;
    color: var(--dgb-gray);
    margin-bottom: 12px;
}

.dgb-nf-html-wrap {
    overflow-x: auto;
    border-radius: var(--dgb-r-sm);
    border: 1px solid var(--dgb-border);
}

.dgb-product-page .dgb-nf-html-wrap table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: var(--dgb-white) !important;
    margin: 0 !important;
    border: none !important;
}

.dgb-product-page .dgb-nf-html-wrap th,
.dgb-product-page .dgb-nf-html-wrap td {
    padding: 13px 20px !important;
    text-align: left !important;
    font-size: 0.88rem !important;
    border: none !important;
    border-bottom: 1px solid var(--dgb-gray-light) !important;
    line-height: 1.5 !important;
}

.dgb-product-page .dgb-nf-html-wrap thead th {
    background: var(--dgb-black) !important;
    color: var(--dgb-white) !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border-bottom: none !important;
}

.dgb-product-page .dgb-nf-html-wrap thead th:nth-child(2) {
    background: var(--dgb-red) !important;
}

.dgb-product-page .dgb-nf-html-wrap tbody tr:nth-child(even) td {
    background: var(--dgb-off-white) !important;
}

.dgb-product-page .dgb-nf-html-wrap tbody tr:last-child td {
    border-bottom: none !important;
}

.dgb-product-page .dgb-nf-html-wrap tbody td:first-child {
    font-weight: 500 !important;
}

.dgb-product-page .dgb-nf-html-wrap tbody td:nth-child(2) {
    color: var(--dgb-red) !important;
    font-weight: 700 !important;
}

.dgb-nf-html-wrap h3,
.dgb-nf-html-wrap h4 {
    margin: 24px 0 8px;
    font-size: 1rem;
    color: var(--dgb-black);
    font-weight: 700;
    padding: 0 20px;
}

.dgb-nf-html-wrap table + table {
    margin-top: 24px;
}

.dgb-nf-html-wrap > p {
    font-size: 0.82rem;
    color: var(--dgb-gray);
    margin: 8px 0;
    padding: 0 20px;
}

.dgb-nutrition-footnote {
    font-size: 0.72rem;
    color: var(--dgb-gray);
    margin-top: 8px;
}

.dgb-ingredients {
    margin-top: 20px;
    padding: 22px;
    background: var(--dgb-white);
    border: 1px solid var(--dgb-border);
    border-radius: var(--dgb-r-sm);
    font-size: 0.82rem;
    color: var(--dgb-gray);
}

.dgb-ingredients h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--dgb-black);
}

.dgb-select-flavor-hint {
    color: var(--dgb-gray);
    font-style: italic;
    padding: 24px;
    background: var(--dgb-white);
    border: 1px dashed var(--dgb-border);
    border-radius: var(--dgb-r-sm);
    text-align: center;
    font-size: 0.85rem;
}

/* Zubereitung */
.dgb-preparation-wrap {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--dgb-white);
    border: 1px solid var(--dgb-border);
    border-radius: var(--dgb-r);
    padding: 40px;
}

.dgb-preparation-content { flex: 1; min-width: 0; }

.dgb-usage-text {
    font-size: 0.88rem;
    color: var(--dgb-gray);
    margin-bottom: 12px;
    line-height: 1.7;
}

.dgb-steps-list {
    margin: 0;
    padding-left: 18px;
}

.dgb-steps-list li {
    padding: 7px 0;
    font-size: 0.88rem;
    color: var(--dgb-text);
    border-bottom: 1px solid var(--dgb-gray-light);
}

.dgb-steps-list li:last-child { border-bottom: none; }

.dgb-steps-list li::marker {
    color: var(--dgb-red);
    font-weight: 700;
}

.dgb-shaker-image-wrap {
    flex-shrink: 0;
    width: 280px;
    background: var(--dgb-off-white);
    border-radius: var(--dgb-r-sm);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dgb-shaker-img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    border-radius: var(--dgb-r-xs);
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════════
   S8 – ÄHNLICHE PRODUKTE   (weiß)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-8 {
    background: var(--dgb-white) !important;
}

.dgb-related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dgb-related-product-card {
    background: var(--dgb-white);
    border-radius: var(--dgb-r-sm);
    overflow: hidden;
    text-decoration: none;
    color: var(--dgb-text);
    display: block;
    border: 1px solid var(--dgb-border);
    transition: all var(--dgb-speed);
}

.dgb-related-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--dgb-red);
}

.dgb-related-product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    background: var(--dgb-off-white);
    padding: 12px;
}

.dgb-related-product-info {
    padding: 14px;
}

.dgb-related-product-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--dgb-black);
}

.dgb-related-product-price {
    font-size: 0.82rem;
    color: var(--dgb-red);
    font-weight: 700;
}

.dgb-related-product-btn {
    display: block;
    text-align: center;
    background: var(--dgb-red);
    color: var(--dgb-white);
    padding: 9px;
    font-weight: 700;
    font-size: 0.72rem;
    text-decoration: none;
    margin-top: 8px;
    border-radius: var(--dgb-r-pill);
    transition: all var(--dgb-speed);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dgb-related-product-btn:hover {
    background: var(--dgb-red-dark);
    color: var(--dgb-white);
}

/* ═══════════════════════════════════════════════════════════════
   S9 – REVIEWS   (hell-grau)
   ═══════════════════════════════════════════════════════════════ */
.dgb-section-9 {
    background: var(--dgb-off-white) !important;
}

.dgb-reviews-wrap .woocommerce-Reviews-title {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --dgb-overlap: -36px;
        --dgb-r: 22px;
    }

    .dgb-product-page .dgb-conditional-sections .dgb-section {
        position: relative !important;
        top: auto !important;
        padding: 48px 0 48px !important;
    }

    .dgb-wrap,
    .dgb-container {
        padding: 0 18px;
    }

    .dgb-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dgb-hero-gallery { position: static; }

    .dgb-advantages-list { columns: 1; }

    .dgb-tip-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .dgb-tip-image img {
        width: 110px;
        height: 110px;
    }

    .dgb-preparation-wrap {
        flex-direction: column;
        padding: 24px;
    }

    .dgb-trust-bar {
        flex-direction: column;
    }

    .dgb-trust-item {
        border-right: none;
        border-bottom: 1px solid var(--dgb-border);
    }

    .dgb-trust-item:last-child {
        border-bottom: none;
    }

    .dgb-shaker-image-wrap {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .dgb-related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dgb-related-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .dgb-suitability-grid,
    .dgb-usp-cols {
        grid-template-columns: 1fr;
    }

    .dgb-related-product-card img {
        aspect-ratio: 1 / 1;
        padding: 8px;
    }
}

/* ================================================================
   SEKTION 9 – Bewertungen
   ================================================================ */
.dgb-section-9 {
    background: var(--dgb-white);
}

.dgb-reviews-summary {
    text-align: center;
    margin-bottom: 36px;
}

.dgb-reviews-avg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dgb-reviews-avg-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--dgb-black);
    line-height: 1;
}

.dgb-reviews-avg-stars {
    font-size: 24px;
    letter-spacing: 2px;
}

.dgb-star-full {
    color: #F5A623;
}

.dgb-star-half {
    color: #F5A623;
    opacity: 0.6;
}

.dgb-star-empty {
    color: #E0E0E0;
}

.dgb-reviews-count {
    font-size: 14px;
    color: var(--dgb-gray);
    font-weight: 500;
}

.dgb-reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.dgb-review-card {
    background: var(--dgb-off-white);
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.dgb-review-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.dgb-review-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dgb-review-card-stars {
    color: #F5A623;
    font-size: 18px;
    letter-spacing: 1px;
}

.dgb-review-card-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dgb-black);
}

.dgb-review-card-date {
    font-size: 12px;
    color: var(--dgb-gray);
    margin-left: auto;
}

.dgb-review-card-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
}

.dgb-review-card-badge {
    font-size: 11px;
    color: #46b450;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 640px) {
    .dgb-reviews-list {
        grid-template-columns: 1fr;
    }

    .dgb-reviews-avg-number {
        font-size: 36px;
    }

    .dgb-review-card {
        padding: 20px;
    }
}
