/*
Theme Name: Multopia Cortex BeerEscape
Theme URI: https://www.multopia.de
Description: Multopia BeerEscape für WooCommerce Shop und Multopia Cortex sowie Multopia Nova.
Author: Multopia IT-Solutions
Author URI: https://www.multopia.de
Template: storefront
Version: 1.1.21
Text Domain: beerescape-shop
*/

/* 
 * 1. CSS VARIABLES (Derived from BeerEscape CI but adapted for subtle shop) 
 */
:root {
    --bg-obsidian: #000000;
    --bg-surface: #0e0e10;
    --bg-control: #1a1a1e;
    --beer-gold: #d4a359;
    --beer-gold-rgb: 212, 163, 89;
    --amber-glow: #b8863b;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- GLOBAL FOCUS FIX (NO PURPLE) --- */
*:focus {
    outline-color: var(--beer-gold) !important;
}
button:focus, a:focus, input:focus, textarea:focus, select:focus,
.button:focus, .button.alt:focus, .woocommerce-Button:focus,
button:active, a:active, .button:active, .button.alt:active {
    outline: none !important;
}
button:focus-visible, a:focus-visible, input:focus-visible, .button:focus-visible {
    outline: 2px solid var(--beer-gold) !important;
    outline-offset: 2px !important;
}
::selection {
    background-color: rgba(212, 163, 89, 0.3) !important;
    color: #fff !important;
}

/* 
 * 2. GLOBAL RESET & TYPOGRAPHY
 */
body, html {
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6, 
.alpha, .beta, .gamma, .delta, .epsilon, .zeta {
    color: var(--text-primary);
    font-family: var(--font-headings);
    font-weight: 700;
}

a {
    color: var(--beer-gold);
}

a:hover, a:focus {
    color: var(--amber-glow);
}

/* 
 * 3. HEADER & NAVIGATION
 */
.site-header {
    background-color: var(--bg-obsidian);
    border-bottom: 1px solid var(--border-color);
}

.main-navigation ul li a,
.site-title a,
.site-header-cart .cart-contents {
    color: var(--text-primary);
    font-family: var(--font-headings);
}

.main-navigation ul li a:hover,
.site-title a:hover,
.site-header-cart .cart-contents:hover {
    color: var(--beer-gold);
}

/* 
 * 4. WOOCOMMERCE SHOP ELEMENTS
 */
/* Product Backgrounds */
ul.products li.product, 
.storefront-product-section {
    background-color: var(--bg-control);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

ul.products li.product .price,
.single-product div.product p.price {
    color: var(--beer-gold);
    font-weight: 600;
}

/* Buttons */
button, input[type="button"], input[type="reset"], input[type="submit"], .button, .widget a.button {
    background-color: var(--beer-gold);
    color: #000;
    font-family: var(--font-headings);
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.15);
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover {
    background-color: #e5b976;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 89, 0.3);
}

/* Secondary / Subtle Buttons */
.button.alt {
    background-color: var(--amber-glow);
    box-shadow: 0 4px 15px rgba(184, 134, 59, 0.15);
}
.button.alt:hover {
    background-color: var(--beer-gold);
    box-shadow: 0 6px 20px rgba(212, 163, 89, 0.3);
}

/* Forms & Inputs */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], textarea, select {
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 10px 14px;
    transition: var(--transition-smooth);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
    border-color: var(--beer-gold);
    box-shadow: 0 0 0 1px var(--beer-gold);
    background-color: rgba(14, 14, 16, 0.8);
    outline: none;
}

/* 
 * 5. FOOTER
 */
.site-footer {
    background-color: var(--bg-obsidian);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.site-footer a {
    color: var(--beer-gold);
}

/* --- CUSTOM HEADER & FOOTER CSS --- */
.header-nav.minimal-nav {
    position: sticky;
    top: 20px;
    z-index: 999;
    margin: 0 auto 40px auto;
    width: calc(100% - 80px);
    max-width: 1400px;
    border-radius: 99px;
    border: 1.5px solid rgba(212, 163, 89, 0.35);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 163, 89, 0.15);
    background: rgba(8, 8, 10, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.header-nav.minimal-nav .nav-container-wide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 72px;
}

.brand-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 6px !important; /* Perfect bottom vertical alignment for badge with buttons */
    text-decoration: none !important;
    gap: 0px !important;
    padding: 0 !important;
}

.brand-logo { 
    text-decoration: none; 
    line-height: 1.1 !important;
}

.brand-logo span {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.65rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, var(--beer-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1 !important;
}

@keyframes badgeBreath {
    0%, 100% { 
        border-color: rgba(255, 255, 255, 0.2); 
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        transform: scale(1);
    }
    50% { 
        border-color: rgba(255, 255, 255, 0.35); 
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
        transform: scale(1.02);
    }
}

.powered-by-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 99px !important;
    padding: 2.5px 8px 2.5px 4px !important;
    text-decoration: none !important;
    transition: var(--transition-smooth) !important;
    margin-left: 2px !important;
    margin-top: 5px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    animation: badgeBreath 4s ease-in-out infinite !important;
}

@keyframes badgeBreath {
    0%, 100% { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); transform: translateY(0); }
    50% { box-shadow: 0 4px 12px rgba(212, 163, 89, 0.2); transform: translateY(-1px); }
}

.powered-by-badge:hover {
    transform: translateY(-1px) scale(1.04) !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(212, 163, 89, 0.5) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 8px rgba(212, 163, 89, 0.15) !important;
}

/* Multopia Logo (echtes PNG) */
.multopia-badge-logo {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    border-radius: 2px !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)) !important;
    transition: var(--transition-smooth) !important;
}

.powered-by-badge:hover .multopia-badge-logo {
    filter: drop-shadow(0 0 6px rgba(212, 163, 89, 0.6)) !important;
    transform: scale(1.08) !important;
}

/* Badge text */
.badge-text {
    font-family: var(--font-body) !important;
    font-size: 0.55rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    transition: color var(--transition-smooth) !important;
}

.badge-text strong {
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color var(--transition-smooth) !important;
}

.powered-by-badge:hover .badge-text {
    color: rgba(255, 255, 255, 0.85) !important;
}

.powered-by-badge:hover .badge-text strong {
    color: var(--beer-gold) !important;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto;
    margin-right: 32px;
}

.nav-link-minimal {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    text-decoration: none;
}

.nav-link-minimal:hover {
    color: var(--beer-gold);
}

.btn-cta-minimal,
.header-actions-wrapper .site-header-cart .cart-contents {
    background: none !important;
    border: 1.8px solid var(--beer-gold) !important;
    color: var(--beer-gold) !important;
    border-radius: 99px !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: var(--transition-smooth) !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    gap: 8px !important;
    height: 44px !important;
    padding: 0 28px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.btn-cta-minimal:hover,
.header-actions-wrapper .site-header-cart .cart-contents:hover {
    background: var(--beer-gold) !important;
    color: #000000 !important;
    box-shadow: 0 8px 22px rgba(var(--beer-gold-rgb), 0.45) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* Header Actions Wrapper */
.header-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Burger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid rgba(212, 163, 89, 0.4) !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-toggle:hover, .menu-toggle:focus {
    background: rgba(212, 163, 89, 0.1) !important;
    border-color: var(--beer-gold) !important;
    box-shadow: 0 0 12px rgba(212, 163, 89, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--beer-gold);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Ensure smooth toggle transition */
.menu-toggle.open {
    background: rgba(212, 163, 89, 0.15) !important;
    border-color: var(--beer-gold) !important;
    box-shadow: 0 0 15px rgba(212, 163, 89, 0.4);
}

.menu-toggle.open span {
    background-color: #ffffff; /* Contrast when open */
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* WOOCOMMERCE CART BUTTON OVERRIDE IN OUR HEADER */
.header-actions-wrapper ul.site-header-cart,
.header-actions-wrapper li.site-header-cart,
.header-actions-wrapper .site-header-cart {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: inline-block !important;
    float: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.header-actions-wrapper .site-header-cart .cart-contents {
    height: 44px !important;
    padding: 0 28px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 99px !important;
    text-decoration: none !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    background: none !important;
    border: 1.8px solid var(--beer-gold) !important;
    color: var(--beer-gold) !important;
    transition: var(--transition-smooth) !important;
}

.header-actions-wrapper .site-header-cart .cart-contents:hover {
    background: var(--beer-gold) !important;
    color: #000000 !important;
    box-shadow: 0 8px 22px rgba(var(--beer-gold-rgb), 0.45) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* Ensure the WooCommerce Cart icon inside the button aligns perfectly */
.header-actions-wrapper .site-header-cart .cart-contents::after {
    line-height: 1 !important;
    vertical-align: middle !important;
    display: inline-block !important;
    margin: 0 0 0 8px !important;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    font-size: 1rem !important;
    height: auto !important;
    width: auto !important;
}

.minimal-footer {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 24px 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-top: none;
    background: transparent;
    position: relative;
}

.minimal-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.minimal-footer a:hover {
    color: var(--beer-gold);
}

.footer-copyright {
    display: block;
}

.footer-links {
    font-size: 0.75rem;
    opacity: 0.75;
}

.footer-links a {
    color: var(--beer-gold) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.footer-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.footer-separator {
    margin: 0 6px !important;
    color: rgba(255, 255, 255, 0.2) !important;
    display: inline !important;
}

/* HIDE WOOCOMMERCE RESULTS COUNT & SORTING */
.storefront-sorting,
.woocommerce-result-count,
.woocommerce-ordering {
    display: none !important;
}

@media (max-width: 768px) {
    .header-nav.minimal-nav {
        top: 10px;
        width: calc(100% - 32px);
        border-radius: 20px !important;
    }
    .header-nav.minimal-nav .nav-container-wide {
        height: 64px !important;
        padding: 0 20px !important;
    }
    .menu-toggle {
        display: flex !important;
    }
    .nav-links {
        display: none !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(8, 8, 10, 0.98) !important;
        border: 1.5px solid rgba(212, 163, 89, 0.35) !important;
        border-radius: 20px !important;
        padding: 24px 20px !important;
        gap: 16px !important;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.95) !important;
        z-index: 1000 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .nav-links.active {
        display: flex !important;
    }
    .nav-link-minimal {
        display: inline-block !important;
        font-size: 1rem !important;
        color: var(--text-primary) !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        width: 100% !important;
        text-align: center !important;
        padding: 8px 0 !important;
        border-bottom: none !important;
    }
    .nav-link-minimal:hover {
        color: var(--beer-gold) !important;
        border-bottom: none !important;
    }
    .btn-cta-minimal {
        display: inline-flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 4px !important;
    }
    .site-header-cart {
        display: block !important;
    }
    .storefront-handheld-footer-bar {
        display: none !important;
    }
}

/* Force Breadcrumbs centered and visible everywhere including shop */
.storefront-breadcrumb {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    background: transparent !important;
}

.storefront-breadcrumb .col-full {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
}

.woocommerce-breadcrumb,
nav.woocommerce-breadcrumb {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-breadcrumb a,
nav.woocommerce-breadcrumb a {
    color: var(--beer-gold) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-breadcrumb a:hover,
nav.woocommerce-breadcrumb a:hover {
    color: #ffffff !important;
}

.page-template-template-homepage .storefront-breadcrumb,
.home .storefront-breadcrumb {
    display: block !important;
}

/* --- WOOCOMMERCE & STOREFRONT DARK MODE RESETS --- */
body, .site, .site-content, .site-main, .woocommerce-MyAccount-content, .entry-content, #page {
    background: transparent !important;
    color: var(--text-primary) !important;
}

body {
    background: linear-gradient(-45deg, #000000, #040406, #100b05, #000000) !important;
    background-size: 400% 400% !important;
    animation: gradientFlow 20s ease infinite !important;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3, h4, h5, h6, 
.woocommerce-loop-product__title,
.woocommerce-MyAccount-navigation-link a {
    color: var(--text-primary) !important;
}

/* Tables & Orders */
table.shop_table, table.shop_table th, table.shop_table td, 
.woocommerce-table, .woocommerce-table th, .woocommerce-table td,
.woocommerce-orders-table, .woocommerce-orders-table th, .woocommerce-orders-table td {
    background: rgba(26, 26, 30, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-secondary) !important;
}

table.shop_table th {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

/* Form Fields & Selects */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
textarea, select, .select2-container--default .select2-selection--single {
    background: rgba(26, 26, 30, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}

/* My Account Navigation */
.woocommerce-MyAccount-navigation {
    background: rgba(26, 26, 30, 0.6) !important;
    border-radius: 12px;
    padding: 10px;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.woocommerce-MyAccount-navigation ul li a {
    color: var(--text-secondary) !important;
    display: block;
    padding: 8px 12px;
    text-decoration: none;
}
.woocommerce-MyAccount-navigation ul li.is-active a, .woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--beer-gold) !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

/* Addresses & Content Boxes */
.woocommerce-Address, .woocommerce-customer-details address, .col2-set .col-1, .col2-set .col-2 {
    background: rgba(26, 26, 30, 0.6) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Unified Notice & Alert Styling (CI Clean & Premium) */
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.woocommerce-notice,
ul.woocommerce-error,
div.woocommerce-info,
div.woocommerce-message {
    background: rgba(14, 14, 16, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid var(--beer-gold) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    color: #ffffff !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 163, 89, 0.05) !important;
    margin: 0 0 30px 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    list-style: none !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Specific left border accents for error/info/message types */
.woocommerce-error, ul.woocommerce-error {
    border-left: 4px solid #e74c3c !important; /* Premium Coral-Red for errors */
}
.woocommerce-info, div.woocommerce-info {
    border-left: 4px solid var(--beer-gold) !important; /* Gold for info */
}
.woocommerce-message, div.woocommerce-message {
    border-left: 4px solid #2ecc71 !important; /* Premium Green for success */
}

/* List item adjustments inside notices */
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li,
ul.woocommerce-error li {
    margin: 0 0 8px 0 !important;
    padding: 0 0 0 24px !important;
    list-style: none !important;
    color: #ffffff !important;
    position: relative !important;
}

/* Add fine bullet points or icons before notice items */
.woocommerce-error li::before,
.woocommerce-info li::before,
.woocommerce-message li::before,
ul.woocommerce-error li::before {
    content: "•" !important;
    position: absolute !important;
    left: 8px !important;
    top: 0 !important;
    color: inherit !important;
    font-weight: bold !important;
}

.woocommerce-error li:last-child,
.woocommerce-info li:last-child,
.woocommerce-message li:last-child,
ul.woocommerce-error li:last-child {
    margin-bottom: 0 !important;
}

/* Links inside notices */
.woocommerce-error a,
.woocommerce-info a,
.woocommerce-message a,
.woocommerce-notice a {
    color: var(--beer-gold) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}
.woocommerce-error a:hover,
.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-notice a:hover {
    color: #ffffff !important;
}

/* Notice action buttons (e.g. "Warenkorb anzeigen") */
.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message .button,
.woocommerce-notice .button {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid var(--beer-gold) !important;
    color: var(--beer-gold) !important;
    padding: 6px 16px !important;
    font-size: 0.8rem !important;
    height: auto !important;
    border-radius: 99px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    float: right !important;
    margin-top: -4px !important;
    transition: var(--transition-smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
}
.woocommerce-error .button:hover,
.woocommerce-info .button:hover,
.woocommerce-message .button:hover,
.woocommerce-notice .button:hover {
    background: var(--beer-gold) !important;
    color: #000000 !important;
    box-shadow: 0 4px 12px rgba(var(--beer-gold-rgb), 0.3) !important;
}

/* Buttons */
button.button, a.button, input.button, .woocommerce-Button, .checkout-button, #place_order {
    background: linear-gradient(135deg, var(--beer-gold) 0%, var(--amber-glow) 100%) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 99px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 12px 24px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
button.button:hover, a.button:hover, input.button:hover, .woocommerce-Button:hover, .checkout-button:hover, #place_order:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--beer-gold) 100%) !important;
    color: #000000 !important;
}

/* --- ADDED UPDATES: SHOP TITLE, PANELS, FOOTER TEXTS --- */

.woocommerce-products-header__title.page-title, .page-title, .entry-title {
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 2rem !important;
    text-shadow: 0 0 15px rgba(212, 163, 89, 0.3) !important;
    border: none !important;
    display: block !important;
    text-align: left !important;
}

ul.products li.product,
.storefront-product-section ul.products li.product,
.wc-block-grid__product {
    background: rgba(14, 14, 16, 0.85) !important;
    border: 1px solid rgba(212, 163, 89, 0.2) !important;
    border-radius: 24px !important;
    padding: 1.5rem !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    margin-bottom: 2rem !important;
}

ul.products li.product::after,
.storefront-product-section ul.products li.product::after,
.wc-block-grid__product::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 10% !important;
    width: 80% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(212, 163, 89, 0.4), transparent) !important;
}

ul.products li.product:hover,
.storefront-product-section ul.products li.product:hover,
.wc-block-grid__product:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(212, 163, 89, 0.5) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 163, 89, 0.2) !important;
}

ul.products li.product .legal-info,
ul.products li.product .wc-gzd-additional-info,
.storefront-product-section ul.products li.product .legal-info,
.storefront-product-section ul.products li.product .wc-gzd-additional-info,
.wc-block-grid__product .legal-info,
.wc-block-grid__product .wc-gzd-additional-info {
    display: none !important;
}

.footer-legal-notes {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.3;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-legal-notes p {
    margin: 0;
}

.footer-dev-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.5;
}

/* Sale Badge like Testphase Panel */
span.onsale {
    background: rgba(212, 163, 89, 0.15) !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    color: var(--beer-gold) !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-family: var(--font-headings) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    animation: salePulse 2s infinite alternate !important;
    top: -12px !important;
    right: auto !important;
    left: -12px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

/* --- ADDED UPDATES FOR LATEST FEEDBACK --- */

/* 1. Badge Abstand (Removed overriding rules) */

/* 2 & 3. Cart Icon in one line & Dropdown fix */
.header-actions-wrapper .site-header-cart .cart-contents {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}
.header-actions-wrapper .site-header-cart .cart-contents span.amount,
.header-actions-wrapper .site-header-cart .cart-contents span.count {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header-cart .widget_shopping_cart {
    background: rgba(14, 14, 16, 0.98) !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    padding: 20px !important;
    width: 340px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8) !important;
    color: var(--text-secondary) !important;
}

/* 4. Sale Badge higher distance */
span.onsale {
    top: -24px !important;
}

@keyframes salePulse {
    from { 
        box-shadow: 0 0 5px rgba(212, 163, 89, 0.2), 0 4px 15px rgba(0,0,0,0.5); 
    }
    to { 
        box-shadow: 0 0 15px rgba(212, 163, 89, 0.5), 0 4px 15px rgba(0,0,0,0.5); 
        transform: scale(1.03); 
    }
}

/* --- ADDED UPDATES: BACKGROUND, SINGLE PRODUCT, FOOTER --- */

/* Remove height: 100% to fix admin bar scroll overlap */
html {
    height: 100% !important;
}
body {
    min-height: 100% !important;
}

/* 1. Fix Black Background Issue */
.site, .site-header, .site-content, .site-main, .content-area, .hentry, .woocommerce-MyAccount-content, .entry-content, #page, .site-footer {
    background: transparent !important;
}
.storefront-primary-navigation {
    background: transparent !important;
}

/* 2. Sale Badge (Shop & Product Page) - Top right, slight angle */
span.onsale, 
ul.products li.product span.onsale {
    position: absolute !important;
    top: -12px !important;
    right: -12px !important;
    left: auto !important;
    width: auto !important;
    padding: 8px 18px !important;
    text-align: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    background: rgba(212, 163, 89, 0.15) !important;
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    z-index: 99 !important;
    margin: 0 !important;
    transform: rotate(8deg) !important;
    animation: salePulseRotation 2s infinite alternate !important;
}

/* Position exactly on the image for the detail page - matching the Shop page (top right) */
.single-product div.images span.onsale {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    background: rgba(212, 163, 89, 0.15) !important;
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    z-index: 99 !important;
    margin: 0 !important;
    transform: rotate(8deg) !important;
    animation: salePulseRotation 2s infinite alternate !important;
}

@keyframes salePulseRotation {
    from { 
        box-shadow: 0 0 5px rgba(212, 163, 89, 0.2), 0 5px 15px rgba(0,0,0,0.5); 
        transform: rotate(8deg) scale(1);
    }
    to { 
        box-shadow: 0 0 20px rgba(212, 163, 89, 0.6), 0 5px 15px rgba(0,0,0,0.5); 
        transform: rotate(8deg) scale(1.04); 
    }
}

@keyframes salePulseRotationLeft {
    from { 
        box-shadow: 0 0 5px rgba(212, 163, 89, 0.2), 0 5px 15px rgba(0,0,0,0.5); 
        transform: rotate(-8deg) scale(1);
    }
    to { 
        box-shadow: 0 0 20px rgba(212, 163, 89, 0.6), 0 5px 15px rgba(0,0,0,0.5); 
        transform: rotate(-8deg) scale(1.04); 
    }
}
.single-product div.images {
    overflow: hidden !important;
    border-radius: 24px !important;
}

/* 3. Enhance Single Product Panel & Product Overviews */
.single-product div.product {
    background: rgba(14, 14, 16, 0.65) !important;
    border: 1px solid rgba(212, 163, 89, 0.25) !important;
    border-radius: 32px !important;
    padding: 3rem !important;
    backdrop-filter: blur(35px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(212, 163, 89, 0.05) !important;
    position: relative !important;
}
.single-product div.product::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 15% !important;
    width: 70% !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, transparent, rgba(212, 163, 89, 0.7), transparent) !important;
}
@media (max-width: 768px) {
    .single-product div.product {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
}

/* Enhance Shop Overview Panels even more */
ul.products li.product {
    background: rgba(14, 14, 16, 0.7) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(212, 163, 89, 0.05) !important;
}

/* 4. Footer Spacing exact match */
.site-footer {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.minimal-footer {
    margin-top: 0 !important;
    padding: 24px 0 !important;
}
.storefront-handheld-footer-bar {
    display: none !important; /* Hide Storefront mobile footer bar which overlaps */
}

/* --- ADDED UPDATES: WARENKORB, MEIN KONTO, INPUTS --- */

/* 1. Warenkorb Button schöner & Quantity Input Layout */
.woocommerce div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 24px !important;
    flex-wrap: wrap !important;
}

.single_add_to_cart_button, button[name="add-to-cart"] {
    background: linear-gradient(135deg, var(--beer-gold) 0%, var(--amber-glow) 100%) !important;
    color: #000000 !important;
    border-radius: 99px !important;
    padding: 16px 36px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 25px rgba(212, 163, 89, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.single_add_to_cart_button:hover, button[name="add-to-cart"]:hover {
    box-shadow: 0 12px 35px rgba(212, 163, 89, 0.6) !important;
    transform: translateY(-2px) !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--beer-gold) 100%) !important;
}

/* 2. Kontextmenü Dropdown weiße Elemente fixen */
.site-header-cart .widget_shopping_cart,
.site-header-cart .widget_shopping_cart_content {
    background-color: rgba(14, 14, 16, 0.98) !important;
}
.site-header-cart .widget_shopping_cart::before,
.site-header-cart .widget_shopping_cart::after {
    border-bottom-color: rgba(14, 14, 16, 0.98) !important; /* The little arrow pointing up */
}
.site-header-cart .widget_shopping_cart ul.cart_list li {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.site-header-cart .widget_shopping_cart .buttons {
    background: transparent !important;
}
.site-header-cart .widget_shopping_cart p {
    background: transparent !important;
}

/* 3. Mein Konto Menü moderner */
.woocommerce-MyAccount-navigation {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}
.woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    border: none !important;
}
.woocommerce-MyAccount-navigation ul li {
    border: none !important;
}
.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 14px 20px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(212, 163, 89, 0.1) !important;
    border-color: rgba(212, 163, 89, 0.3) !important;
    transform: translateX(4px) !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, rgba(212, 163, 89, 0.2) 0%, transparent 100%) !important;
    border-left: 4px solid var(--beer-gold) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
}

/* 4. Buttons in einer Zeile (z.B. in Mein Konto) */
.woocommerce-MyAccount-content p .button,
.woocommerce-MyAccount-content td .button,
.woocommerce-MyAccount-content .woocommerce-pagination .button {
    display: inline-flex !important;
    margin-right: 12px !important;
    margin-bottom: 12px !important;
}
.woocommerce-MyAccount-content .woocommerce-Message .button {
    display: inline-flex !important;
    margin-left: 12px !important;
}

/* 5. Inputs stimmiger anpassen (Textfelder, Selects, Number) */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"],
textarea, select {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

/* Fix Select2 (Bundesland) Selectors */
.select2-container--default .select2-selection--single {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    padding-left: 16px !important;
    line-height: 50px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 15px !important;
}
.select2-dropdown {
    background-color: #1a1a1e !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(212, 163, 89, 0.2) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--beer-gold) !important;
    color: #000 !important;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, input[type="number"]:focus,
textarea:focus, select:focus {
    outline: none !important;
    border-color: var(--beer-gold) !important;
    box-shadow: 0 0 0 2px rgba(212, 163, 89, 0.2), inset 0 2px 5px rgba(0,0,0,0.5) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

/* Speziell: Quantity Input neben Warenkorb-Button */
.quantity input.qty {
    width: 70px !important;
    padding: 12px 10px !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    min-height: 50px !important;
}

/* --- RESTORED MULTOPIA BADGE (Match main site design) --- */

/* --- MODERN PRICES --- */
.price, ul.products li.product .price, .single-product div.product p.price {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: var(--font-headings) !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}
.price del, ul.products li.product .price del, .single-product div.product p.price del {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
    display: inline-block !important;
    opacity: 1 !important;
}
.price ins, ul.products li.product .price ins, .single-product div.product p.price ins {
    background: transparent !important;
    color: var(--beer-gold) !important;
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-shadow: 0 0 15px rgba(212, 163, 89, 0.5) !important;
    padding: 0 !important;
}
/* Slightly smaller on overview */
ul.products li.product .price ins {
    font-size: 1.45rem !important;
}
ul.products li.product .price del {
    font-size: 0.95rem !important;
}
/* If there's only a regular price (no sale) */
.price > span.woocommerce-Price-amount {
    color: var(--beer-gold) !important;
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    text-shadow: 0 0 15px rgba(212, 163, 89, 0.5) !important;
}
ul.products li.product .price > span.woocommerce-Price-amount {
    font-size: 1.45rem !important;
}

/* --- STOCK STATUS BADGES --- */
p.stock {
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 99px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    font-family: var(--font-body) !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.5px !important;
}
p.stock.in-stock {
    background: rgba(46, 204, 113, 0.15) !important;
    color: #2ecc71 !important;
    border: 1px solid rgba(46, 204, 113, 0.3) !important;
}
p.stock.out-of-stock {
    background: rgba(231, 76, 60, 0.15) !important;
    color: #e74c3c !important;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
}
p.stock.available-on-backorder {
    background: rgba(243, 156, 18, 0.15) !important;
    color: #f39c12 !important;
    border: 1px solid rgba(243, 156, 18, 0.3) !important;
}

/* --- PRODUCT META & BREADCRUMBS --- */
.storefront-breadcrumb {
    margin-bottom: 2rem !important;
    padding: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
}
.woocommerce-breadcrumb {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-breadcrumb a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.woocommerce-breadcrumb a:hover {
    color: var(--beer-gold) !important;
}

.product_meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}
.product_meta > span {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.product_meta a {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 4px 14px !important;
    border-radius: 99px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    margin-left: 4px !important;
}
.product_meta a:hover {
    background: rgba(212, 163, 89, 0.15) !important;
    border-color: rgba(212, 163, 89, 0.3) !important;
    color: var(--beer-gold) !important;
}
.product_meta .sku {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-family: var(--font-headings) !important;
    letter-spacing: 0.5px !important;
}

/* --- STICKY FOOTER (Replaced by bottom declarations) --- */

/* --- CART ICON ALIGNMENT FIX --- */
.nav-links .site-header-cart .cart-contents::before,
.nav-links .site-header-cart .cart-contents::after,
.nav-links .site-header-cart .cart-contents i {
    transform: translateY(-2px) !important;
    display: inline-block !important;
}

/* --- EXTREMELY MODERN PRODUCT CARDS (SHOP OVERVIEW) --- */
ul.products li.product {
    background: rgba(14, 14, 16, 0.5) !important; 
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    padding: 1.2rem !important; 
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: visible !important;
}

ul.products li.product:hover {
    background: rgba(20, 20, 24, 0.8) !important;
    border-color: rgba(212, 163, 89, 0.3) !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 163, 89, 0.1) !important;
}

ul.products li.product img {
    border-radius: 16px !important;
    margin-bottom: 20px !important;
    transition: transform 0.5s ease !important;
    width: 100% !important;
}

ul.products li.product:hover img {
    transform: scale(1.05) !important;
}

ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    font-family: var(--font-headings) !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
    transition: color 0.3s ease !important;
}

ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--beer-gold) !important;
}

ul.products li.product .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 12px 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

ul.products li.product .price del {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 !important;
}

ul.products li.product .price ins, ul.products li.product .price > span.woocommerce-Price-amount {
    font-size: 1.6rem !important;
    color: var(--beer-gold) !important;
    margin: 0 !important;
}

ul.products li.product .button {
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    font-size: 0.95rem !important;
    letter-spacing: 1px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: auto !important; 
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

ul.products li.product:hover .button {
    background: linear-gradient(135deg, var(--beer-gold) 0%, var(--amber-glow) 100%) !important;
    color: #000000 !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(212, 163, 89, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* --- SHORT & LONG DESCRIPTIONS --- */
.woocommerce-product-details__short-description {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 2rem !important;
}
.woocommerce-product-details__short-description p {
    margin-bottom: 1rem !important;
}

.woocommerce-tabs {
    margin-top: 3rem !important;
}
.woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 12px !important;
    border: none !important;
    margin: 0 0 2rem 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
}
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after {
    display: none !important; 
}
.woocommerce-tabs ul.tabs li {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 99px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}
.woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 10px 24px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
.woocommerce-tabs ul.tabs li.active {
    background: rgba(212, 163, 89, 0.15) !important;
    border-color: rgba(212, 163, 89, 0.4) !important;
}
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover {
    color: var(--beer-gold) !important;
}

.woocommerce-Tabs-panel {
    background: rgba(14, 14, 16, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    padding: 2.5rem !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
}
.woocommerce-Tabs-panel h2 {
    color: var(--beer-gold) !important;
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
    font-family: var(--font-headings) !important;
}
.woocommerce-Tabs-panel p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 1.5rem !important;
}

@media (max-width: 768px) {
    .single-product span.onsale {
        top: -15px !important;
        right: -15px !important;
        left: auto !important;
    }
    .footer-dev-badge {
        position: static;
        margin-top: 20px;
    }
}

/* --- DASHBOARD ILLUSTRATION --- */
.account-dashboard-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background: rgba(14, 14, 16, 0.6);
    border-radius: 24px;
    border: 1px solid rgba(212, 163, 89, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 2rem;
}
.account-dashboard-illustration img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 163, 89, 0.4));
    animation: floatingBeer 6s ease-in-out infinite;
}
@keyframes floatingBeer {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- WOOCOMMERCE ORDERS & ADDRESSES FIXES --- */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: rgba(14, 14, 16, 0.6) url('images/orders_illustration.png') no-repeat top 40px center !important;
    background-size: 150px !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    border-radius: 24px !important;
    padding: 220px 32px 40px 32px !important; 
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    margin-top: 2rem !important;
}
.woocommerce-info::before {
    display: none !important;
}
.woocommerce-info .button {
    font-size: 0.85rem !important;
    padding: 10px 20px !important;
    margin-top: 16px !important;
    white-space: nowrap !important;
}

.woocommerce-orders-table {
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
}
.woocommerce-orders-table th {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.65rem !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 0 16px 12px 16px !important;
}
.woocommerce-orders-table tr.woocommerce-orders-table__row {
    background: rgba(26, 26, 30, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}
.woocommerce-orders-table tr.woocommerce-orders-table__row:hover {
    background: rgba(212, 163, 89, 0.08) !important;
    transform: translateX(4px) !important;
    box-shadow: -4px 0 0 var(--beer-gold) !important;
}
.woocommerce-orders-table td {
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    padding: 20px 16px !important;
    vertical-align: middle !important;
}
.woocommerce-orders-table td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px 0 0 12px !important;
}
.woocommerce-orders-table td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 0 12px 12px 0 !important;
}

.woocommerce-orders-table__cell-order-number a {
    font-family: var(--font-headings) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
}
.woocommerce-orders-table__cell-order-number a:hover {
    color: var(--beer-gold) !important;
}

.woocommerce-orders-table__cell-order-status {
    color: var(--beer-gold) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.75rem !important;
}

.woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
}
.woocommerce-orders-table__cell-order-actions .button {
    font-size: 0.75rem !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    min-width: unset !important;
}

.woocommerce-edit-address .woocommerce-MyAccount-content > p {
    display: none !important;
}
.woocommerce-edit-address .woocommerce-MyAccount-content .u-columns {
    margin-top: 1rem !important;
}

/* --- FORM LABEL SPACING --- */
.woocommerce form .form-row label, 
.woocommerce-page form .form-row label {
    margin-bottom: 8px !important;
    display: block !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* --- ACCOUNT DETAILS FORM FIX --- */
.woocommerce-EditAccountForm fieldset {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 24px !important;
    border-radius: 16px !important;
    margin-top: 2rem !important;
}
.woocommerce-EditAccountForm legend {
    color: var(--beer-gold) !important;
    font-size: 1.2rem !important;
    font-family: var(--font-headings) !important;
    margin-bottom: 1rem !important;
}

/* --- LOGOUT BUTTON --- */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ff6b6b !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    border-color: rgba(255, 107, 107, 0.3) !important;
    color: #ff4757 !important;
}

/* --- DOWNLOADS EMPTY STATE ILLUSTRATION --- */
.woocommerce-MyAccount-downloads .woocommerce-Message--info,
.woocommerce-MyAccount-downloads .woocommerce-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: rgba(14, 14, 16, 0.6) url('images/downloads_illustration.png') no-repeat top 40px center !important;
    background-size: 150px !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    border-radius: 24px !important;
    padding: 220px 32px 40px 32px !important; 
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    margin-top: 2rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 300 !important;
}
.woocommerce-MyAccount-downloads .woocommerce-info .button {
    margin-top: 24px !important;
}

/* --- CHECKOUT & ALERTS OVERHAUL --- */
.woocommerce-cart .woocommerce-message, 
.woocommerce-cart .woocommerce-error, 
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-message, 
.woocommerce-checkout .woocommerce-error, 
.woocommerce-checkout .woocommerce-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: rgba(14, 14, 16, 0.8) !important;
    border: 1px solid rgba(212, 163, 89, 0.4) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 16px 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    text-align: left !important;
    gap: 12px !important;
}
.woocommerce-cart .woocommerce-message::before, 
.woocommerce-cart .woocommerce-error::before, 
.woocommerce-cart .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before, 
.woocommerce-checkout .woocommerce-error::before, 
.woocommerce-checkout .woocommerce-info::before {
    display: none !important;
}
.woocommerce-checkout .woocommerce-info .showcoupon,
.woocommerce-checkout .woocommerce-info .showlogin {
    color: var(--beer-gold) !important;
    font-weight: 700 !important;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.woocommerce-checkout .col2-set .col-1, 
.woocommerce-checkout .col2-set .col-2 {
    background: transparent !important;
}
.woocommerce-checkout::before, 
.woocommerce-checkout::after {
    display: none !important;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 99px !important;
    padding: 14px 20px !important;
    transition: var(--transition-smooth) !important;
    box-shadow: none !important;
    width: 100% !important;
}
.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row textarea:focus {
    border-color: var(--beer-gold) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}
.woocommerce-checkout form .form-row textarea {
    border-radius: 24px !important;
}

.select2-container .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 99px !important;
    height: 48px !important;
    color: #ffffff !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    line-height: 48px !important;
    padding-left: 20px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 15px !important;
}
.select2-dropdown {
    background-color: #1a1a1e !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    color: #ffffff !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(212, 163, 89, 0.2) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--beer-gold) !important;
    color: #000 !important;
}

/* --- CHECKOUT PLACE ORDER BUTTON --- */
#place_order {
    background: linear-gradient(135deg, var(--beer-gold) 0%, var(--amber-glow) 100%) !important;
    color: #000000 !important;
    font-family: var(--font-headings) !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 20px 40px !important;
    border-radius: 99px !important;
    border: none !important;
    width: 100% !important;
    box-shadow: 0 10px 30px rgba(212, 163, 89, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-top: 24px !important;
}

#place_order:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(212, 163, 89, 0.6), 0 0 15px rgba(212, 163, 89, 0.4) !important;
}

/* --- FIX FOOTER SCROLL --- */
/* --- LAYOUT OVERRIDES (Replaced by bottom declarations) --- */

/* --- FIX HORIZONTAL OVERFLOW & RESPONSIVE ORDERS TABLE --- */
body, html {
    overflow-x: hidden !important;
}
#page {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

@media (max-width: 850px) {
    .woocommerce-orders-table {
        display: block !important;
        border: none !important;
        width: 100% !important;
    }
    .woocommerce-orders-table thead {
        display: none !important;
    }
    .woocommerce-orders-table tbody {
        display: block !important;
        width: 100% !important;
    }
    .woocommerce-orders-table tr.woocommerce-orders-table__row {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 24px !important;
        border-radius: 16px !important;
        padding: 16px 20px !important;
        background: rgba(26, 26, 30, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
    }
    .woocommerce-orders-table tr.woocommerce-orders-table__row:hover {
        transform: none !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
        border-color: rgba(212, 163, 89, 0.3) !important;
    }
    .woocommerce-orders-table td {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 16px 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 0 !important;
    }
    .woocommerce-orders-table td:last-child {
        border-bottom: none !important;
    }
    .woocommerce-orders-table td::before {
        content: attr(data-title) !important;
        font-family: var(--font-headings) !important;
        color: rgba(255, 255, 255, 0.4) !important;
        font-size: 0.65rem !important;
        text-transform: uppercase !important;
        margin-bottom: 8px !important;
        letter-spacing: 2px !important;
    }
    .woocommerce-orders-table__cell-order-actions {
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        padding-top: 16px !important;
    }
}

/* Beautiful Order Number on Desktop/Mobile */
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a {
    color: var(--beer-gold) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
}
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a::before {
    content: '📦 ' !important;
}

/* Illustrated Edit Icon for Addresses */
.woocommerce-Address-title a.edit {
    font-size: 0 !important; /* Hide text */
    text-decoration: none !important;
}
.woocommerce-Address-title a.edit::before {
    content: "" !important;
    font-size: 0 !important;
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4a359"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>') no-repeat center center !important;
    background-size: contain !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
    opacity: 0.8 !important;
}
.woocommerce-Address-title a.edit:hover::before {
    transform: scale(1.15) rotate(5deg) !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 6px rgba(212, 163, 89, 0.4)) !important;
}

/* Fallback for State/Bundesland native select in Addresses */
select.state_select, select.country_select, .woocommerce-address-fields select {
    background-color: rgba(14, 14, 16, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
select.state_select:focus, select.country_select:focus, .woocommerce-address-fields select:focus {
    border-color: var(--beer-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(212, 163, 89, 0.2) !important;
}

/* Beautiful Orders Table */
.woocommerce-orders-table {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
}
.woocommerce-orders-table th {
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.woocommerce-orders-table td {
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    vertical-align: middle !important;
    font-size: 0.95rem !important;
}
.woocommerce-orders-table tr:last-child td {
    border-bottom: none !important;
}
.woocommerce-orders-table tr:hover td {
    background: rgba(212, 163, 89, 0.03) !important;
}
.woocommerce-orders-table .button.view {
    background: transparent !important;
    border: 1px solid rgba(212, 163, 89, 0.6) !important;
    color: var(--beer-gold) !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    display: inline-block !important;
    text-align: center !important;
}
.woocommerce-orders-table .button.view:hover {
    background: var(--beer-gold) !important;
    color: #0e0e10 !important;
    box-shadow: 0 0 10px rgba(212, 163, 89, 0.4) !important;
    border-color: var(--beer-gold) !important;
}

/* Hide Display Name in Account Details */
p.woocommerce-form-row:has(input#account_display_name),
p.woocommerce-form-row:has(input#account_display_name) + .clear {
    display: none !important;
}

/* --- ENHANCE "ANSEHEN" BUTTON ON SHOP CARDS --- */
ul.products li.product .button,
.storefront-product-section ul.products li.product .button,
.wc-block-grid__product .button {
    background: linear-gradient(135deg, var(--beer-gold) 0%, var(--amber-glow) 100%) !important;
    color: #000000 !important;
    font-family: var(--font-headings) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 99px !important;
    border: none !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
    padding: 14px 20px !important;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: center !important;
    display: block !important;
}
ul.products li.product .button:hover,
.storefront-product-section ul.products li.product .button:hover,
.wc-block-grid__product .button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(212, 163, 89, 0.6), 0 0 10px rgba(212, 163, 89, 0.3) !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--beer-gold) 100%) !important;
}

/* --- HIDE PRODUCT PAGINATION (NEXT/PREV) --- */
.storefront-product-pagination {
    display: none !important;
}

/* --- DYNAMIC TEXT & ANIMATIONS ON PRODUCT DETAILS --- */
@keyframes elegantFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.single-product div.product .product_title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important; /* Reduced to make room for meta below */
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.single-product div.product .product_meta {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both !important;
}
.single-product div.product .product_meta a {
    color: var(--beer-gold) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}
.single-product div.product .product_meta .sku_wrapper,
.single-product div.product .product_meta .posted_in {
    display: inline-block !important;
}

.single-product div.product .price {
    font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
    color: var(--beer-gold) !important;
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both !important;
}

.single-product div.product .woocommerce-product-details__short-description {
    font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both !important;
}

.single-product div.product form.cart {
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 15px !important;
}

.single-product div.product form.cart .quantity {
    order: 1 !important;
    margin: 0 !important;
}

.single-product div.product form.cart .single_add_to_cart_button {
    order: 2 !important;
    margin: 0 !important;
}

/* Move Apple Pay / Google Pay / Stripe / WooPayments Express checkout buttons BELOW add to cart button */
.single-product div.product form.cart #wcpay-payment-request-wrapper,
.single-product div.product form.cart #wcpay-payment-request-button-separator,
.single-product div.product form.cart #wc-stripe-payment-request-wrapper,
.single-product div.product form.cart #wc-stripe-payment-request-button-separator,
.single-product div.product form.cart .wcpay-payment-request-wrapper,
.single-product div.product form.cart .wcpb-button,
.single-product div.product form.cart .apple-pay-button {
    order: 10 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 10px !important;
}

.single-product div.product .product_meta {
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both !important;
}

.woocommerce-Tabs-panel {
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* --- STOCK STATUS STYLING --- */
.single-product div.product p.stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    margin-bottom: 1.5rem !important;
    animation: elegantFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both !important;
}

.single-product div.product p.stock.in-stock {
    background: rgba(46, 204, 113, 0.1) !important;
    color: #2ecc71 !important;
    border: 1px solid rgba(46, 204, 113, 0.2) !important;
}

.single-product div.product p.stock.out-of-stock {
    background: rgba(231, 76, 60, 0.1) !important;
    color: #e74c3c !important;
    border: 1px solid rgba(231, 76, 60, 0.2) !important;
}

/* Add a glowing dot */
.single-product div.product p.stock.in-stock::before {
    content: '' !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    background: #2ecc71 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #2ecc71 !important;
}

.single-product div.product p.stock.out-of-stock::before {
    content: '' !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    background: #e74c3c !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #e74c3c !important;
}

/* --- CHECKOUT BUTTON (WARENKORB) --- */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-mini-cart__buttons a.checkout {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 800 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-mini-cart__buttons a.checkout:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
    background: #f0f0f0 !important;
    border-color: #f0f0f0 !important;
}

/* --- CART TOTALS STYLING --- */
.cart_totals table.shop_table tr.order-total th {
    font-size: 0.9rem !important;
    text-align: left !important;
    font-weight: 600 !important;
    padding-left: 0 !important;
}

.cart_totals table.shop_table tr.order-total td {
    font-size: 0.9rem !important;
    text-align: right !important;
    padding-right: 0 !important;
}

/* --- CART PRODUCT LIST STYLING --- */
.woocommerce-cart-form__cart-item td.product-thumbnail {
    padding-right: 32px !important;
}

.woocommerce-cart-form__cart-item td.product-name {
    position: relative !important;
    padding-bottom: 30px !important; /* Space for the remove button */
}

/* Make CTA / Remove button smaller and move it up */
.woocommerce-cart-form__cart-item td.product-remove {
    position: absolute !important;
    bottom: 5px !important;
    left: 20px !important; /* Adjust if needed */
    border: none !important;
    padding: 0 !important;
}

.woocommerce-cart-form__cart-item td.product-remove a.remove {
    font-size: 1.2rem !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 22px !important;
}

/* --- PRODUCT DETAIL PAGE: STOCK UNDER PRICE --- */
.single-product .summary.entry-summary {
    display: flex !important;
    flex-direction: column !important;
}
.single-product .summary.entry-summary .product_title { order: 1; }
.single-product .summary.entry-summary .woocommerce-product-rating { order: 2; }
.single-product .summary.entry-summary .price { order: 3; }
.single-product .summary.entry-summary .stock { order: 4; margin-top: 5px !important; margin-bottom: 20px !important; }
.single-product .summary.entry-summary .woocommerce-product-details__short-description { order: 5; }
.single-product .summary.entry-summary form.cart { order: 6; }
.single-product .summary.entry-summary .product_meta { order: 7; }

/* --- WARENKORB KONTEXTMENÜ (MINI CART) BUTTONS --- */
.woocommerce-mini-cart__buttons.buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
}
.woocommerce-mini-cart__buttons.buttons a.button {
    flex: 1;
    text-align: center !important;
    padding: 10px 10px !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
}
@media (max-width: 480px) {
    .woocommerce-mini-cart__buttons.buttons a.button {
        font-size: 0.75rem !important;
        padding: 8px 5px !important;
    }
}

/* --- HIDE PAGE TITLES EVERYWHERE (KEEP BREADCRUMBS) --- */
.type-page .entry-header .entry-title,
.woocommerce-products-header__title.page-title,
.tax-product_cat .woocommerce-products-header__title,
.tax-product_tag .woocommerce-products-header__title {
    display: none !important;
}

/* --- CART ICON VERTICAL CENTERING FIX --- */
.nav-links .site-header-cart .cart-contents {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.nav-links .site-header-cart .cart-contents::before,
.nav-links .site-header-cart .cart-contents::after,
.nav-links .site-header-cart .cart-contents i {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    transform: none !important; /* Remove any previous translations */
}
.nav-links .site-header-cart .cart-contents span.amount,
.nav-links .site-header-cart .cart-contents span.count {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- PREVENT UNNECESSARY SCROLLING ON SHORT PAGES (STICKY FOOTER) --- */
#page {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    min-height: 100dvh !important; /* dynamic viewport height */
    width: 100% !important;
    box-sizing: border-box !important;
}
body.admin-bar #page {
    min-height: calc(100vh - 32px) !important;
    min-height: calc(100dvh - 32px) !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar #page {
        min-height: calc(100vh - 46px) !important;
        min-height: calc(100dvh - 46px) !important;
    }
}
.site-content {
    flex: 1 0 auto !important;
    padding-bottom: 40px !important;
}
#appFooter {
    flex-shrink: 0 !important;
    margin-top: auto !important;
}

/* --- ADAPT STICKY HEADER POSITION FOR ADMIN BAR --- */
body.admin-bar .header-nav.minimal-nav {
    top: 52px !important; /* 32px admin bar + 20px gap */
}
@media screen and (max-width: 782px) {
    body.admin-bar .header-nav.minimal-nav {
        top: 66px !important; /* 46px admin bar + 20px gap */
    }
}

/* --- HIDE ADMIN "BEARBEITEN" LINKS ON FRONTEND --- */
.edit-link,
a.post-edit-link {
    display: none !important;
}

/* --- SALE BADGE POSITION (SINGLE PRODUCT IMAGE CORNER) --- */
.single-product span.onsale,
.single-product div.images span.onsale {
    top: -15px !important;
    right: -15px !important;
    left: auto !important;
    transform: rotate(8deg) !important;
    z-index: 10 !important;
}
@media (max-width: 768px) {
    .single-product span.onsale,
    .single-product div.images span.onsale {
        top: -10px !important;
        right: -10px !important;
    }
}

/* --- DELIVERY STATUS STYLING (SINGLE LINE, SMALLER LABEL) --- */
.single-product .summary.entry-summary .stock,
p.stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important; /* Immer in einer Zeile */
    font-size: 0.75rem !important; /* Etwas kleiner */
    font-weight: 700 !important;
    padding: 4px 10px !important; /* Etwas kompakter */
    border-radius: 8px !important;
    width: max-content !important; /* Nur so breit wie der Text */
    max-width: 100% !important;
}

/* --- MODERN & FULLY RESPONSIVE MINI-CART (Warenkorb Kontextmenü) --- */
.site-header-cart .widget_shopping_cart {
    background: rgba(18, 18, 20, 0.85) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(212, 163, 89, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6) !important;
    padding: 20px !important;
    width: 340px !important;
    max-width: 90vw !important;
    
    /* Smooth opacity transitions instead of default storefront visibility */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    transform: translateY(10px) !important;
    
    /* Position alignment */
    left: auto !important;
    right: 0 !important;
}

/* Hover and focus states to show the cart */
.site-header-cart:hover .widget_shopping_cart,
.site-header-cart.focus .widget_shopping_cart,
.site-header-cart:focus-within .widget_shopping_cart {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.woocommerce-mini-cart.cart_list {
    max-height: 50vh !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
}
.woocommerce-mini-cart.cart_list::-webkit-scrollbar {
    width: 6px;
}
.woocommerce-mini-cart.cart_list::-webkit-scrollbar-thumb {
    background: rgba(212, 163, 89, 0.4);
    border-radius: 4px;
}

.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.woocommerce-mini-cart-item:last-child {
    border-bottom: none !important;
}

.woocommerce-mini-cart-item img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce-mini-cart-item a:not(.remove) {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    display: block !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
}
.woocommerce-mini-cart-item .quantity {
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.6) !important;
}

.woocommerce-mini-cart-item a.remove {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-left: auto !important;
    color: #e74c3c !important;
    font-size: 1.2rem !important;
    background: rgba(231, 76, 60, 0.1) !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 22px !important;
    border-radius: 50% !important;
}
.woocommerce-mini-cart-item a.remove:hover {
    background: #e74c3c !important;
    color: #fff !important;
}

.woocommerce-mini-cart__total.total {
    border-top: 1px solid rgba(212, 163, 89, 0.2) !important;
    padding: 16px 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 1.1rem !important;
    color: #fff !important;
    font-weight: 700 !important;
}

@media (max-width: 480px) {
    .site-header-cart .widget_shopping_cart {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 24px 24px 0 0 !important;
        border: none !important;
        border-top: 1px solid rgba(212, 163, 89, 0.3) !important;
        transform: translateY(100%) !important; /* Slide up from bottom */
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease !important;
    }
    .site-header-cart:hover .widget_shopping_cart,
    .site-header-cart.focus .widget_shopping_cart,
    .site-header-cart:focus-within .widget_shopping_cart {
        transform: translateY(0) !important;
    }
}

/* Position WooCommerce Sale Badge in Product Details Gallery top-right */
.single-product div.images {
    position: relative !important;
}
.single-product div.images span.onsale {
    left: auto !important;
    right: 16px !important;
    top: 16px !important;
    margin: 0 !important;
}

/* Styling WooCommerce Product Meta (SKU & Category) under the title */
.single-product .summary .product_meta {
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
    margin-top: 8px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding-bottom: 12px !important;
}

.single-product .summary .product_meta span {
    display: inline-block !important;
}

.single-product .summary .product_meta a {
    color: var(--beer-gold) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.single-product .summary .product_meta a:hover {
    color: var(--amber-glow) !important;
    text-decoration: underline !important;
}

/* Floating Animation for empty beer mug */
@keyframes floatingBeerMug {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Custom headings (like Neu im Shop) styled in BeerEscape CI (Gold, Uppercase, Glow) */
h2.wp-block-heading,
.wp-block-heading,
.woocommerce-MyAccount-content h2,
.cart-collaterals h2,
.cross-sells h2,
.up-sells h2,
.related-products h2 {
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-top: 3.5rem !important;
    margin-bottom: 2rem !important;
    text-shadow: 0 0 15px rgba(212, 163, 89, 0.3) !important;
    border: none !important;
    text-align: left !important;
    display: block !important;
}

/* Spacing/gap between block products (e.g., Neu im Shop) */
.wc-block-grid__products,
ul.wc-block-grid__products {
    gap: 36px !important;
    grid-gap: 36px !important;
}

/* Styling WooCommerce Block Products (Empty Cart Grid) to match standard homepage products */
.wc-block-grid__products .wc-block-grid__product,
.wc-block-grid__product {

    background-color: var(--bg-control) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    transition: var(--transition-smooth) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.wc-block-grid__product:hover {
    border-color: rgba(212, 163, 89, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 163, 89, 0.05) !important;
    transform: translateY(-4px) !important;
}

.wc-block-grid__product-title,
.wc-block-grid__product .wc-block-grid__product-title {
    color: var(--text-primary) !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.wc-block-grid__product-price,
.wc-block-grid__product .wc-block-grid__product-price,
.wc-block-grid__product-price .woocommerce-Price-amount {
    color: var(--beer-gold) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.wc-block-grid__product-add-to-cart a,
.wc-block-grid__product .wp-block-button__link {
    background-color: var(--beer-gold) !important;
    color: #000 !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    border-radius: 99px !important;
    padding: 10px 20px !important;
    transition: var(--transition-smooth) !important;
    border: none !important;
    display: inline-block !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: auto !important;
}

.wc-block-grid__product-add-to-cart a:hover,
.wc-block-grid__product .wp-block-button__link:hover {
    background-color: var(--amber-glow) !important;
    color: #000 !important;
    box-shadow: 0 5px 15px rgba(184, 134, 59, 0.4) !important;
}

/* --- MY ACCOUNT ORDERS BADGES --- */
/* Order number as badge */
.woocommerce-orders-table__cell-order-number a {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-family: var(--font-headings) !important;
    font-size: 0.85rem !important;
    transition: var(--transition-smooth) !important;
}
.woocommerce-orders-table__cell-order-number a:hover {
    background: rgba(212, 163, 89, 0.15) !important;
    border-color: var(--beer-gold) !important;
    color: var(--beer-gold) !important;
}

/* Align all cells in orders table to vertical middle */
.woocommerce-orders-table td {
    vertical-align: middle !important;
}

/* Order date in single line */
.woocommerce-orders-table__cell-order-date {
    white-space: nowrap !important;
}


.order-status-badge {
    display: inline-block !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-family: var(--font-headings) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.order-status-badge.status-completed {
    background: rgba(46, 204, 113, 0.15) !important;
    border: 1px solid rgba(46, 204, 113, 0.4) !important;
    color: #2ecc71 !important;
}

.order-status-badge.status-processing {
    background: rgba(212, 163, 89, 0.15) !important;
    border: 1px solid rgba(212, 163, 89, 0.4) !important;
    color: var(--beer-gold) !important;
}

.order-status-badge.status-on-hold {
    background: rgba(241, 196, 15, 0.15) !important;
    border: 1px solid rgba(241, 196, 15, 0.4) !important;
    color: #f1c40f !important;
}

.order-status-badge.status-pending {
    background: rgba(230, 126, 34, 0.15) !important;
    border: 1px solid rgba(230, 126, 34, 0.4) !important;
    color: #e67e22 !important;
}

.order-status-badge.status-cancelled,
.order-status-badge.status-failed {
    background: rgba(231, 76, 60, 0.15) !important;
    border: 1px solid rgba(231, 76, 60, 0.4) !important;
    color: #e74c3c !important;
}

/* --- MY ACCOUNT ADDRESSES EDIT PENCIL BUTTONS --- */
.woocommerce-Address a.edit::before,
.woocommerce-Addresses a.edit::before,
.woocommerce-Address-title a.edit::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    vertical-align: middle !important;
    /* Reset parent theme icon font configurations */
    font-family: inherit !important;
    line-height: 1 !important;
    speak: never !important;
}

/* Hide default storefront/woocommerce edit icon elements */
.woocommerce-Address a.edit::after,
.woocommerce-Addresses a.edit::after,
.woocommerce-Address-title a.edit::after {
    content: none !important;
    display: none !important;
}



.woocommerce-Address a.edit,
.woocommerce-Addresses a.edit,
.woocommerce-Address-title a.edit {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--beer-gold) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    background: rgba(212, 163, 89, 0.05) !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: var(--font-headings) !important;
    transition: var(--transition-smooth) !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

.woocommerce-Address a.edit:hover,
.woocommerce-Addresses a.edit:hover,
.woocommerce-Address-title a.edit:hover {
    background: rgba(212, 163, 89, 0.15) !important;
    border-color: var(--beer-gold) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(212, 163, 89, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* --- MY ACCOUNT EDIT ACCOUNT (Change Password fieldset) --- */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid rgba(212, 163, 89, 0.25) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    margin-top: 32px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

.woocommerce-EditAccountForm fieldset legend {
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    color: var(--beer-gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 0 12px !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce-EditAccountForm p.form-row {
    margin-bottom: 20px !important;
}

.woocommerce-EditAccountForm label {
    font-family: var(--font-headings) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Secondary Shop Footer Links */
.footer-shop-links {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    opacity: 0.8;
}

.footer-shop-links a {
    font-size: 0.66rem !important;
}

.footer-shop-links .footer-separator {
    font-size: 0.66rem !important;
}


/* Stornieren / Vertrag widerrufen / Cancel button (smaller, red-themed, not yellow) */
.woocommerce-orders-table__cell-order-actions a.vertrag_widerrufen,
.woocommerce-MyAccount-content a.vertrag_widerrufen,
.woocommerce-MyAccount-content a.cancel,
.woocommerce-order-details a.vertrag_widerrufen,
.woocommerce-order-details a.cancel {
    background: rgba(231, 76, 60, 0.05) !important;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
    color: #e74c3c !important;
    font-size: 0.8rem !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    transition: var(--transition-smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 6px !important;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: none !important;
}

.woocommerce-orders-table__cell-order-actions a.vertrag_widerrufen:hover,
.woocommerce-MyAccount-content a.vertrag_widerrufen:hover,
.woocommerce-MyAccount-content a.cancel:hover,
.woocommerce-order-details a.vertrag_widerrufen:hover,
.woocommerce-order-details a.cancel:hover {
    background: rgba(231, 76, 60, 0.15) !important;
    border-color: #e74c3c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2) !important;
    transform: translateY(-1px) !important;
}


/* --- ORDER DETAILS SINGLE VIEW (CI STYLING) --- */
.woocommerce-MyAccount-content p.order-info {
    background: rgba(14, 14, 16, 0.65) !important;
    border: 1px solid rgba(212, 163, 89, 0.25) !important;
    padding: 20px 24px !important;
    border-radius: 14px !important;
    color: var(--text-secondary) !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    margin-bottom: 32px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.woocommerce-MyAccount-content p.order-info mark {
    background: transparent !important;
    padding: 0 !important;
    font-weight: inherit;
    color: inherit;
}

.woocommerce-MyAccount-content p.order-info mark.order-number {
    background: rgba(212, 163, 89, 0.1) !important;
    border: 1px solid rgba(212, 163, 89, 0.35) !important;
    color: var(--beer-gold) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    font-family: var(--font-headings) !important;
    margin: 0 4px !important;
}

.woocommerce-MyAccount-content p.order-info mark.order-date {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin: 0 4px !important;
}

.woocommerce-MyAccount-content p.order-info mark.order-status {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    font-family: var(--font-headings) !important;
    text-transform: uppercase !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.5px !important;
    margin-left: 6px !important;
}

.woocommerce-MyAccount-content p.order-info mark.order-status.status-completed {
    background: rgba(46, 204, 113, 0.15) !important;
    border: 1px solid rgba(46, 204, 113, 0.4) !important;
    color: #2ecc71 !important;
}

.woocommerce-MyAccount-content p.order-info mark.order-status.status-processing {
    background: rgba(212, 163, 89, 0.15) !important;
    border: 1px solid rgba(212, 163, 89, 0.4) !important;
    color: var(--beer-gold) !important;
}

.woocommerce-MyAccount-content p.order-info mark.order-status.status-on-hold {
    background: rgba(241, 196, 15, 0.15) !important;
    border: 1px solid rgba(241, 196, 15, 0.4) !important;
    color: #f1c40f !important;
}

.woocommerce-MyAccount-content p.order-info mark.order-status.status-pending {
    background: rgba(230, 126, 34, 0.15) !important;
    border: 1px solid rgba(230, 126, 34, 0.4) !important;
    color: #e67e22 !important;
}

.woocommerce-MyAccount-content p.order-info mark.order-status.status-cancelled,
.woocommerce-MyAccount-content p.order-info mark.order-status.status-failed {
    background: rgba(231, 76, 60, 0.15) !important;
    border: 1px solid rgba(231, 76, 60, 0.4) !important;
    color: #e74c3c !important;
}

/* --- MODERN ORDER DETAILS VIEW (CI STRICT) --- */
.woocommerce-order-details {
    background: rgba(14, 14, 16, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-top: 30px !important;
    margin-bottom: 40px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.woocommerce-order-details__title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--beer-gold) !important;
    margin-bottom: 24px !important;
    border-bottom: 1.5px solid rgba(212, 163, 89, 0.25) !important;
    padding-bottom: 12px !important;
    display: inline-block !important;
}

/* Order Details Table */
table.shop_table.order_details {
    background: transparent !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    margin-bottom: 0 !important;
}

table.shop_table.order_details th {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-size: 0.85rem !important;
    padding: 12px 16px !important;
}

table.shop_table.order_details tbody tr {
    background: rgba(255, 255, 255, 0.02) !important;
    transition: var(--transition-smooth) !important;
}

table.shop_table.order_details tbody tr:hover {
    background: rgba(212, 163, 89, 0.04) !important;
}

table.shop_table.order_details td, 
table.shop_table.order_details th {
    border: none !important;
    padding: 16px !important;
    vertical-align: middle !important;
}

table.shop_table.order_details tbody td {
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

table.shop_table.order_details tbody td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

table.shop_table.order_details tbody td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

/* Product link & details styling */
table.shop_table.order_details td.product-name a {
    color: #ffffff !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: var(--transition-smooth) !important;
}

table.shop_table.order_details td.product-name a:hover {
    color: var(--beer-gold) !important;
}

/* Product quantity badge */
table.shop_table.order_details .product-quantity {
    background: rgba(212, 163, 89, 0.12) !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    color: var(--beer-gold) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    font-family: var(--font-headings) !important;
    margin-left: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Item meta (attributes, etc) */
table.shop_table.order_details .wc-item-meta {
    margin-top: 6px !important;
    font-size: 0.8rem !important;
    color: var(--text-secondary) !important;
    list-style: none !important;
    padding-left: 0 !important;
}

table.shop_table.order_details .wc-item-meta li strong {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
}

/* Table totals footers */
table.shop_table.order_details tfoot tr {
    background: transparent !important;
}

table.shop_table.order_details tfoot th {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: right !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

table.shop_table.order_details tfoot td {
    color: #ffffff !important;
    text-align: right !important;
    font-weight: 600 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Final total row highlighted */
table.shop_table.order_details tfoot tr:last-child th,
table.shop_table.order_details tfoot tr:last-child td {
    border-top: 1.5px solid rgba(212, 163, 89, 0.3) !important;
    border-bottom: 1.5px solid rgba(212, 163, 89, 0.3) !important;
    background: rgba(212, 163, 89, 0.04) !important;
}

table.shop_table.order_details tfoot tr:last-child th {
    color: #ffffff !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

table.shop_table.order_details tfoot tr:last-child td {
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    text-shadow: 0 0 10px rgba(212, 163, 89, 0.25) !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Customer details section & equal height flexbox layout */
.woocommerce-customer-details {
    margin-top: 40px !important;
}

.woocommerce-customer-details .col2-set {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin: 0 !important;
}

.woocommerce-customer-details .col2-set .col-1,
.woocommerce-customer-details .col2-set .col-2 {
    flex: 1 1 300px !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce-column__title,
.woocommerce-Address-title h3,
.woocommerce-Address h3,
.addresses h3,
.woocommerce-customer-details h3,
.woocommerce-customer-details .woocommerce-column__title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: var(--beer-gold) !important;
    margin-bottom: 16px !important;
    display: inline-block !important;
    border: none !important;
    padding: 0 !important;
    font-family: var(--font-headings) !important;
}


/* Address columns styling */
.woocommerce-customer-details address {
    background: rgba(14, 14, 16, 0.75) !important;
    border: 1px solid rgba(212, 163, 89, 0.2) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: var(--text-secondary) !important;
    font-size: 0.82rem !important; /* Smaller font-size to prevent wrapping */
    line-height: 1.6 !important;
    position: relative !important;
    overflow: hidden !important;
    flex-grow: 1 !important; /* Forces panels to stretch and remain equal size */
    display: flex !important;
    flex-direction: column !important;
}


/* Subtle decorative glow line for address boxes */
.woocommerce-customer-details address::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, var(--beer-gold), transparent) !important;
}

/* Phone and email items in address */
.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 0.9rem !important;
    display: block !important;
}

.woocommerce-customer-details--phone a,
.woocommerce-customer-details--email a {
    color: var(--beer-gold) !important;
    text-decoration: none !important;
    transition: var(--transition-smooth) !important;
    font-weight: 600 !important;
}

.woocommerce-customer-details--phone a:hover,
.woocommerce-customer-details--email a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}

/* --- PREMIUM WOOCOMMERCE CHECKOUT STYLING (CI STRICT) --- */

/* Checkout Heading Layouts */
.woocommerce-checkout h3 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: var(--beer-gold) !important;
    margin-bottom: 24px !important;
    border-bottom: 1.5px solid rgba(212, 163, 89, 0.25) !important;
    padding-bottom: 10px !important;
    display: inline-block !important;
}

/* Form field wrapper & label styling */
.woocommerce-checkout form.checkout label {
    color: #ffffff !important;
    font-family: var(--font-headings) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.woocommerce-checkout form.checkout .form-row {
    margin-bottom: 18px !important;
}

.woocommerce-checkout form.checkout abbr.required {
    color: var(--beer-gold) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 700 !important;
}

/* Coupon & Login Box overrides */
form.checkout_coupon,
form.login,
form.register {
    background: rgba(14, 14, 16, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Select2 Country Selection dropdown fix (prevents black-on-black or white-on-white) */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    background: rgba(26, 26, 30, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    line-height: 48px !important;
    padding-left: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 8px !important;
}

.select2-dropdown {
    background-color: var(--bg-surface) !important;
    border: 1px solid rgba(212, 163, 89, 0.4) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    z-index: 9999 !important;
}

.select2-container--default .select2-results__option {
    color: var(--text-secondary) !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--beer-gold) !important;
    color: #000000 !important;
}

/* Order Review Table & Wrappers on Checkout (removes white background) */
#order_review,
#order_review_heading,
.woocommerce-checkout-review-order,
table.shop_table.woocommerce-checkout-review-order-table thead,
table.shop_table.woocommerce-checkout-review-order-table tbody,
table.shop_table.woocommerce-checkout-review-order-table tfoot,
table.shop_table.woocommerce-checkout-review-order-table tr,
table.shop_table.woocommerce-checkout-review-order-table th,
table.shop_table.woocommerce-checkout-review-order-table td,
table.shop_table.woocommerce-checkout-review-order-table tr.cart_item,
table.shop_table.woocommerce-checkout-review-order-table td.product-name,
table.shop_table.woocommerce-checkout-review-order-table td.product-total {
    background: transparent !important;
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

table.shop_table.woocommerce-checkout-review-order-table {
    background: rgba(14, 14, 16, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

table.shop_table.woocommerce-checkout-review-order-table th,
table.shop_table.woocommerce-checkout-review-order-table td {
    padding: 16px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle !important;
}

table.shop_table.woocommerce-checkout-review-order-table thead th {
    border-top: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-size: 0.85rem !important;
}

table.shop_table.woocommerce-checkout-review-order-table tbody tr {
    background: transparent !important;
}

table.shop_table.woocommerce-checkout-review-order-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01) !important;
}

/* Highlight total row in Checkout Review */
table.shop_table.woocommerce-checkout-review-order-table tr.order-total th,
table.shop_table.woocommerce-checkout-review-order-table tr.order-total td {
    background: rgba(212, 163, 89, 0.04) !important;
    border-top: 1.5px solid rgba(212, 163, 89, 0.3) !important;
}

table.shop_table.woocommerce-checkout-review-order-table tr.order-total th {
    color: #ffffff !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

table.shop_table.woocommerce-checkout-review-order-table tr.order-total td {
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    text-shadow: 0 0 10px rgba(212, 163, 89, 0.25) !important;
}

/* Payment Methods Box (`#payment`) */
#add_payment_method #payment, 
.woocommerce-cart #payment, 
.woocommerce-checkout #payment {
    background: rgba(14, 14, 16, 0.75) !important;
    border: 1px solid rgba(212, 163, 89, 0.25) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

#add_payment_method #payment ul.payment_methods, 
.woocommerce-cart #payment ul.payment_methods, 
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
}

#add_payment_method #payment ul.payment_methods li, 
.woocommerce-cart #payment ul.payment_methods li, 
.woocommerce-checkout #payment ul.payment_methods li {
    color: #ffffff !important;
    line-height: 1.6 !important;
}

#add_payment_method #payment ul.payment_methods li label, 
.woocommerce-cart #payment ul.payment_methods li label, 
.woocommerce-checkout #payment ul.payment_methods li label {
    color: #ffffff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

#add_payment_method #payment div.payment_box, 
.woocommerce-cart #payment div.payment_box, 
.woocommerce-checkout #payment div.payment_box {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    padding: 15px !important;
    font-size: 0.88rem !important;
    margin-top: 10px !important;
    margin-bottom: 15px !important;
}

#add_payment_method #payment div.payment_box::before, 
.woocommerce-cart #payment div.payment_box::before, 
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: rgba(255, 255, 255, 0.03) !important;
}

/* Privacy Policy & Terms/Conditions Text */
.woocommerce-privacy-policy-text {
    color: var(--text-secondary) !important;
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 24px !important;
}

.woocommerce-terms-and-conditions-wrapper label.checkbox {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    margin-top: 3px !important;
    cursor: pointer !important;
}

/* Place Order Primary Checkout CTA Button */
#place_order {
    width: 100% !important;
    padding: 16px 32px !important;
    font-size: 1.05rem !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 25px rgba(212, 163, 89, 0.3) !important;
    transition: var(--transition-smooth) !important;
    height: auto !important;
    line-height: 1.2 !important;
}

#place_order:hover {
    box-shadow: 0 12px 35px rgba(212, 163, 89, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* --- PREMIUM SECONDARY PAGES STYLING (CI STRICT) --- */
/* Target Payment Methods, Shipping, Returns, Refund and Cancellation info pages */
.page-slug-bezahlmoeglichkeiten .entry-content,
.page-slug-versandarten .entry-content,
.page-slug-retouren .entry-content,
.page-slug-erstattungen_rueckgaben .entry-content,
.page-slug-widerrufsbelehrung .entry-content {
    color: var(--text-secondary) !important;
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
}

/* Transform bullet point lists into premium dark glassmorphic cards */
.page-slug-bezahlmoeglichkeiten .entry-content ul,
.page-slug-versandarten .entry-content ul,
.page-slug-retouren .entry-content ul,
.page-slug-erstattungen_rueckgaben .entry-content ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 28px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 35px 0 !important;
}

.page-slug-bezahlmoeglichkeiten .entry-content ul li,
.page-slug-versandarten .entry-content ul li,
.page-slug-retouren .entry-content ul li,
.page-slug-erstattungen_rueckgaben .entry-content ul li {
    background: rgba(14, 14, 16, 0.65) !important;
    border: 1px solid rgba(212, 163, 89, 0.2) !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    margin: 0 !important; /* Override theme list item margins */
    transition: var(--transition-smooth) !important;
}

.page-slug-bezahlmoeglichkeiten .entry-content ul li:hover,
.page-slug-versandarten .entry-content ul li:hover,
.page-slug-retouren .entry-content ul li:hover,
.page-slug-erstattungen_rueckgaben .entry-content ul li:hover {
    border-color: var(--beer-gold) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 163, 89, 0.1) !important;
    transform: translateY(-3px) !important;
}

.page-slug-bezahlmoeglichkeiten .entry-content ul li::before,
.page-slug-versandarten .entry-content ul li::before,
.page-slug-retouren .entry-content ul li::before,
.page-slug-erstattungen_rueckgaben .entry-content ul li::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, var(--beer-gold), transparent) !important;
}

/* Format the bold headings inside the cards */
.page-slug-bezahlmoeglichkeiten .entry-content ul li strong:first-child,
.page-slug-versandarten .entry-content ul li strong:first-child,
.page-slug-retouren .entry-content ul li strong:first-child,
.page-slug-erstattungen_rueckgaben .entry-content ul li strong:first-child {
    display: block !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    color: var(--beer-gold) !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Beautiful modern tables on legal / info pages */
.page-slug-bezahlmoeglichkeiten table,
.page-slug-versandarten table,
.page-slug-retouren table,
.page-slug-erstattungen_rueckgaben table,
.page-slug-widerrufsbelehrung table {
    background: rgba(14, 14, 16, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    margin: 30px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.page-slug-bezahlmoeglichkeiten table th,
.page-slug-bezahlmoeglichkeiten table td,
.page-slug-versandarten table th,
.page-slug-versandarten table td,
.page-slug-retouren table th,
.page-slug-retouren table td,
.page-slug-erstattungen_rueckgaben table th,
.page-slug-erstattungen_rueckgaben table td,
.page-slug-widerrufsbelehrung table th,
.page-slug-widerrufsbelehrung table td {
    padding: 16px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle !important;
}

.page-slug-bezahlmoeglichkeiten table thead th,
.page-slug-versandarten table thead th,
.page-slug-retouren table thead th,
.page-slug-erstattungen_rueckgaben table thead th,
.page-slug-widerrufsbelehrung table thead th {
    border-top: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--beer-gold) !important;
    font-family: var(--font-headings) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-size: 0.85rem !important;
}

/* Styling for Single Product Meta (SKU, Categories) below the price */
.single-product div.product p.price {
    margin-bottom: 8px !important;
}

.single-product .summary .product_meta {
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
    margin-bottom: 24px !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
}

.single-product .summary .product_meta span {
    margin-right: 15px !important;
    display: inline-block !important;
}

.single-product .summary .product_meta a {
    color: var(--beer-gold) !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: var(--transition-smooth) !important;
}

.single-product .summary .product_meta a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3) !important;
}

/* Mini-cart dropdown menu & CTA buttons adjustments */
.site-header-cart .widget_shopping_cart,
.widget_shopping_cart {
    background: rgba(14, 14, 16, 0.96) !important;
    border: 1px solid rgba(212, 163, 89, 0.3) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85) !important;
    padding: 16px !important;
}

/* Ensure mini-cart dropdown list items look premium */
.widget_shopping_cart ul.cart_list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 8px 0 !important;
    color: var(--text-secondary) !important;
}

.widget_shopping_cart ul.cart_list li a {
    color: #ffffff !important;
    font-weight: 600 !important;
}
.widget_shopping_cart ul.cart_list li a:hover {
    color: var(--beer-gold) !important;
}

.widget_shopping_cart .total {
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 0 !important;
    margin-bottom: 12px !important;
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
}

.widget_shopping_cart .total .amount {
    color: var(--beer-gold) !important;
}

/* Make mini-cart buttons smaller and keep them next to each other */
.widget_shopping_cart_content .buttons,
.woocommerce-mini-cart__buttons,
.widget_shopping_cart .buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget_shopping_cart_content .buttons a,
.woocommerce-mini-cart__buttons a,
.widget_shopping_cart .buttons a {
    flex: 1 1 50% !important;
    width: auto !important;
    font-size: 0.72rem !important; /* Compactor/smaller size */
    padding: 10px 14px !important; /* Smaller padding */
    height: auto !important;
    min-height: 0 !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
    text-align: center !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: 0.5px !important;
}

/* Specifically adjust secondary button (Warenkorb anzeigen) in dropdown to be less prominent if needed, but both matching the CI */
.widget_shopping_cart_content .buttons a.button:not(.checkout),
.woocommerce-mini-cart__buttons a.button:not(.checkout) {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid var(--beer-gold) !important;
    color: var(--beer-gold) !important;
}

.widget_shopping_cart_content .buttons a.button:not(.checkout):hover,
.woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
    background: var(--beer-gold) !important;
    color: #000000 !important;
    box-shadow: 0 4px 12px rgba(var(--beer-gold-rgb), 0.3) !important;
}

/* Primary checkout button in dropdown */
.widget_shopping_cart_content .buttons a.checkout,
.woocommerce-mini-cart__buttons a.checkout {
    background: linear-gradient(135deg, var(--beer-gold) 0%, var(--amber-glow) 100%) !important;
    color: #000000 !important;
}

.widget_shopping_cart_content .buttons a.checkout:hover,
.woocommerce-mini-cart__buttons a.checkout:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--beer-gold) 100%) !important;
    color: #000000 !important;
}

/* ABSOLUTE FORCE: Empty Cart standard notice formatting (Cart page & Mini-Cart) */
.woocommerce-cart .cart-empty,
p.cart-empty,
.cart-empty.woocommerce-info,
p.woocommerce-mini-cart__empty-message,
.widget_shopping_cart_content .cart-empty {
    text-align: center !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 300 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    max-width: 600px !important;
    margin: 0 auto 30px auto !important;
    padding: 14px 20px !important;
    background: rgba(14, 14, 16, 0.6) !important;
    display: block !important;
    width: 100% !important;
}

/* Force children elements inside the empty cart message to inherit the styling */
.woocommerce-cart .cart-empty *,
p.cart-empty *,
.cart-empty.woocommerce-info *,
p.woocommerce-mini-cart__empty-message *,
.widget_shopping_cart_content .cart-empty * {
    text-align: center !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 300 !important;
}

/* Force Cart Cross-Sells to look EXACTLY like Shop page product cards */
.woocommerce-cart .cross-sells ul.products li.product,
.woocommerce-cart .up-sells ul.products li.product {
    background-color: var(--bg-control) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    box-shadow: none !important;
    transition: var(--transition-smooth) !important;
}

.woocommerce-cart .cross-sells ul.products li.product:hover,
.woocommerce-cart .up-sells ul.products li.product:hover {
    border-color: var(--beer-gold) !important;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.1) !important;
}

/* Hide default Storefront crying emoji on empty cart */
.woocommerce-cart .cart-empty::before,
.cart-empty.woocommerce-info::before,
p.cart-empty::before {
    display: none !important;
    content: none !important;
}

/* Animation for the empty cart beer mug */
@keyframes floatingBeerMug {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Hide default Storefront mobile menu and handheld footer bar */
button.menu-toggle,
.storefront-handheld-footer-bar {
    display: none !important;
}

/* Custom formatting for the 4 shop-specific footer links */
.minimal-footer .footer-shop-links {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.minimal-footer .footer-shop-links a,
.minimal-footer .footer-shop-links .footer-separator {
    font-size: 0.7rem !important;
    font-weight: 300 !important;
    letter-spacing: 0.5px;
}

/* My Account - Addresses UI Improvements */
.woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-bottom: 10px !important;
}

.woocommerce-Address-title h3 {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    color: var(--text-secondary) !important;
}

.woocommerce-Address-title a.edit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    color: #000000 !important;
    background-color: var(--beer-gold) !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: var(--transition-smooth) !important;
    float: none !important;
}

.woocommerce-Address-title a.edit:hover {
    background-color: #e5b976 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.3) !important;
}

/* Eliminate 1cm overscroll on short pages and force sticky footer */
#page {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}
#content {
    flex-grow: 1 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.site-main {
    margin-bottom: 0 !important;
}

/* Match Storefront content width to parent theme (1400px) */
.col-full {
    max-width: 1400px !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* CI Design for standard Information Pages (Retouren, AGB, Impressum, Datenschutz etc.) */
body.page-id-71 .site-main,
body.page-id-55 .site-main,
body.page-id-73 .site-main,
body.page-slug-retouren .site-main,
body.page-slug-erstattungen_rueckgaben .site-main,
body.page-slug-vertrag-widerrufen .site-main {
    background: rgba(14, 14, 16, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 2px solid var(--beer-gold) !important;
    border-radius: 16px !important;
    padding: 50px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    max-width: 1400px !important;
    margin: 60px auto !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

body.page-id-71 .entry-header,
body.page-id-55 .entry-header,
body.page-id-73 .entry-header,
body.page-slug-retouren .entry-header,
body.page-slug-erstattungen_rueckgaben .entry-header,
body.page-slug-vertrag-widerrufen .entry-header {
    text-align: center !important;
    margin-bottom: 40px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 20px !important;
}

body.page-id-71 .entry-title,
body.page-id-55 .entry-title,
body.page-id-73 .entry-title,
body.page-slug-retouren .entry-title,
body.page-slug-erstattungen_rueckgaben .entry-title,
body.page-slug-vertrag-widerrufen .entry-title {
    color: var(--beer-gold) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

/* Fix text typography for legal content */
body.page-id-71 .entry-content,
body.page-id-55 .entry-content,
body.page-id-73 .entry-content,
body.page-slug-retouren .entry-content,
body.page-slug-erstattungen_rueckgaben .entry-content,
body.page-slug-vertrag-widerrufen .entry-content {
    color: var(--text-secondary) !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
}

/* Legal content h2, h3 styling */
body.page-id-71 .entry-content h2,
body.page-id-55 .entry-content h2,
body.page-id-73 .entry-content h2,
body.page-slug-retouren .entry-content h2,
body.page-slug-erstattungen_rueckgaben .entry-content h2,
body.page-slug-vertrag-widerrufen .entry-content h2 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-top: 40px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding-bottom: 10px !important;
}

/* Ensure links in legal text look like gold */
body.page-id-71 .entry-content a,
body.page-id-55 .entry-content a,
body.page-id-73 .entry-content a,
body.page-slug-retouren .entry-content a,
body.page-slug-erstattungen_rueckgaben .entry-content a,
body.page-slug-vertrag-widerrufen .entry-content a {
    color: var(--beer-gold) !important;
    text-decoration: underline !important;
}

/* --- MOBILE HEADER NAVIGATION (Hamburger Menu) --- */
@media screen and (max-width: 768px) {
    .header-actions-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        background: transparent !important;
        border: none !important;
        padding: 5px !important;
        margin: 0 !important;
        cursor: pointer !important;
        z-index: 1000 !important;
    }
    .menu-toggle span {
        display: block !important;
        width: 28px !important;
        height: 2px !important;
        background-color: var(--beer-gold) !important;
        transition: var(--transition-smooth) !important;
        border-radius: 2px !important;
    }
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
    .menu-toggle.open span:nth-child(2) { opacity: 0 !important; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }

    .nav-links {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(10, 10, 12, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 20px !important;
        border-bottom: 1px solid rgba(212, 163, 89, 0.2) !important;
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.9) !important;
        align-items: center !important;
    }
    .nav-links.active {
        display: flex !important;
        animation: fadeInDown 0.3s ease-out forwards;
    }
    .nav-link-minimal {
        width: 100% !important;
        text-align: center !important;
        padding: 15px 0 !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    .btn-cta-minimal {
        margin-top: 20px !important;
        width: 80% !important;
        text-align: center !important;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Make shop-specific footer links semi-transparent */
.footer-shop-links {
    opacity: 0.5 !important;
    transition: var(--transition-smooth) !important;
}
.footer-shop-links:hover {
    opacity: 0.8 !important;
}

/* --- CUSTOM PAYMENT METHODS PAGE --- */
body.page-slug-bezahlmoeglichkeiten .site-main {
    max-width: 1400px !important;
    margin: 60px auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    display: block !important;
}

body.page-slug-bezahlmoeglichkeiten .entry-header {
    width: 100%;
    margin-bottom: 30px !important;
    text-align: left !important;
    border: none !important;
}

body.page-slug-bezahlmoeglichkeiten .entry-title {
    color: var(--beer-gold) !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}

body.page-slug-bezahlmoeglichkeiten .entry-content {
    width: 100%;
}

/* Force the payment methods list to stack vertically over full width */
body.page-slug-bezahlmoeglichkeiten .entry-content ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
}

/* Make sure paragraphs or blocks inside the list don't get a double-panel */
body.page-slug-bezahlmoeglichkeiten .entry-content ul li > p,
body.page-slug-bezahlmoeglichkeiten .entry-content ul li > div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 15px !important;
}

/* Ensure direct paragraphs in the page also just look like cards if not in a list */
body.page-slug-bezahlmoeglichkeiten .entry-content > p {
    background: rgba(14, 14, 16, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid var(--beer-gold) !important;
    border-radius: 12px !important;
    padding: 24px 30px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5) !important;
}

/* Fix for huge Address titles in WooCommerce My Account */
.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 1.25rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    letter-spacing: 2px !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   Empty Cart Block / Classic Overrides
   ========================================================================== */

/* 1. Center everything and fix text for Empty Cart Message */
.cart-empty,
.wc-empty-cart-message,
.wc-block-cart__empty-cart__title {
    text-align: center !important;
    color: #ffffff !important;
    font-size: 1.4rem !important;
    text-transform: none !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    line-height: 1.5 !important;
}

/* 2. Remove the default Sad Face container background (Gold Circle) */
.wc-block-cart-empty-page__icon,
.wc-block-components-empty-return-to-shop__icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
}

/* 3. Hide the original sad face SVG/IMG or font-icon */
.wc-block-cart-empty-page__icon svg,
.wc-block-cart-empty-page__icon img,
.wc-block-components-empty-return-to-shop__icon svg {
    display: none !important;
}

/* 4. Add the Beer Mug as a background pseudo-element */
.woocommerce-cart .cart-empty::before,
.wc-block-cart-empty-page__icon::before,
.wc-block-components-empty-return-to-shop__icon::before {
    content: "" !important;
    display: block !important;
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto 20px auto !important;
    background-image: url("data:image/svg+xml;utf8,%3Csvg width='140' height='140' viewBox='0 0 200 200' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 135 60 C 170 60, 170 140, 135 140' stroke='%23d4a359' stroke-width='12' stroke-linecap='round' fill='none'/%3E%3Cpath d='M 135 70 C 158 70, 158 130, 135 130' stroke='rgba(255,255,255,0.2)' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M 60 40 L 140 40 C 140 40, 143 155, 135 165 C 127 175, 73 175, 65 165 C 57 155, 60 40, 60 40 Z' fill='rgba(255,255,255,0.05)' stroke='%23d4a359' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M 73 48 L 73 152 C 73 152, 73 162, 80 162 C 87 162, 87 152, 87 152 L 87 48' stroke='%23d4a359' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M 100 48 L 100 165' stroke='%23d4a359' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M 127 48 L 127 152 C 127 152, 127 162, 120 162 C 113 162, 113 152, 113 152 L 113 48' stroke='%23d4a359' stroke-width='1.5' stroke-linecap='round'/%3E%3Cellipse cx='100' cy='40' rx='40' ry='8' fill='rgba(255,255,255,0.02)' stroke='%23d4a359' stroke-width='4'/%3E%3Cpath d='M 67 160 C 67 160, 72 172, 100 172 C 128 172, 133 160, 133 160 Z' fill='rgba(255,255,255,0.05)' stroke='%23d4a359' stroke-width='2'/%3E%3Cpath d='M 75 158 C 75 158, 85 163, 100 163 C 115 163, 125 158, 125 158 C 125 158, 115 166, 100 166 C 85 166, 75 158, 75 158 Z' fill='%23d4a359'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    font-size: 0 !important;
    color: transparent !important;
}

/* Align Gutenberg Cart Block elements properly */
.wc-block-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   WOOCOMMERCE BLOCKS (CART & CHECKOUT) - BEERESCAPE CI STYLING
   ========================================================================== */

/* Main Cart & Checkout Containers */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    max-width: 1400px !important;
    margin: 40px auto !important;
}

/* Make inner columns flex properly */
.wc-block-cart:not(.is-cart-empty),
.wc-block-checkout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

/* Items List Area (Left) & Checkout Main Area */
.wc-block-cart-items,
.wc-block-checkout__main,
.wc-block-checkout-step {
    flex: 1 1 60% !important;
    background: rgba(14, 14, 16, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

/* Remove default backgrounds from specific inner blocks of checkout */
.wc-block-checkout__main {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
}

/* Sidebar Totals Area (Right) */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
    flex: 1 1 30% !important;
    background: rgba(20, 20, 24, 0.8) !important;
    border: 1px solid rgba(212, 163, 89, 0.2) !important;
    border-top: 3px solid var(--beer-gold) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7) !important;
}

/* Titles */
.wc-block-cart__totals-title,
.wc-block-checkout__title,
.wc-block-components-title,
.wc-block-components-checkout-step__title {
    color: var(--beer-gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
}

/* Text Colors */
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-cart-item__name,
.wc-block-components-product-name,
.wc-block-components-product-price,
.wc-block-components-totals-wrapper,
.wc-block-components-checkout-step__content {
    color: #ffffff !important;
}

.wc-block-components-product-details,
.wc-block-components-product-metadata,
.wc-block-cart-item__prices {
    color: var(--text-secondary) !important;
}

/* Individual Cart Items */
.wc-block-cart-items th {
    color: var(--beer-gold) !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.wc-block-cart-items td, 
.wc-block-cart-items .wc-block-cart-item,
.wc-block-components-order-summary-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 20px 0 !important;
    background: transparent !important;
}

/* Override WooCommerce White Backgrounds on specific items */
.wc-block-components-order-summary-item__image {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Notice Banner (Shipping warnings etc) */
.wc-block-components-notice-banner {
    background: rgba(14, 14, 16, 0.8) !important;
    border: 1px solid var(--beer-gold) !important;
    color: #fff !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
}
.wc-block-components-notice-banner > svg {
    fill: var(--beer-gold) !important;
    color: var(--beer-gold) !important;
}

/* Inputs and Selects */
.wc-block-components-text-input input,
.wc-block-components-quantity-selector input,
.wc-block-components-combobox-control input,
.wc-block-components-textarea textarea {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus {
    border-color: var(--beer-gold) !important;
    box-shadow: 0 0 10px rgba(212, 163, 89, 0.2) !important;
    outline: none !important;
    background: rgba(0,0,0,0.8) !important;
}

/* Radio buttons & Checkboxes */
.wc-block-components-radio-control__input,
.wc-block-components-checkbox__input {
    background: rgba(0,0,0,0.5) !important;
    border: 1px solid var(--beer-gold) !important;
}
.wc-block-components-radio-control__input:checked,
.wc-block-components-checkbox__input:checked {
    background: var(--beer-gold) !important;
}

/* Payment Methods Box */
.wc-block-components-radio-control-accordion-content {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--text-secondary) !important;
    border-radius: 8px !important;
}

/* Primary Button (Checkout / Place Order) */
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-checkout__place-order-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button:not(.is-link) {
    background: linear-gradient(135deg, #f7d486 0%, #d4a359 100%) !important;
    color: #121212 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border: none !important;
    border-radius: 99px !important;
    padding: 18px 30px !important;
    box-shadow: 0 10px 25px rgba(212, 163, 89, 0.4) !important;
    transition: var(--transition-smooth) !important;
    width: 100% !important;
    margin-top: 15px !important;
}

.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-checkout__place-order-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button:not(.is-link):hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(212, 163, 89, 0.6) !important;
    background: linear-gradient(135deg, #ffe299 0%, #e8b665 100%) !important;
}

/* Totals Wrapper */
.wc-block-components-totals-wrapper {
    background: transparent !important;
    border: none !important;
}
.wc-block-components-totals-item {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 15px 0 !important;
}

@media (max-width: 768px) {
    .wc-block-cart:not(.is-cart-empty),
    .wc-block-checkout {
        flex-direction: column !important;
    }
    .wc-block-cart-items,
    .wc-block-checkout__main,
    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar {
        flex: 1 1 100% !important;
        width: 100% !important;
        padding: 20px !important;
    }
}

/* ==========================================================================
   ULTIMATE ADDRESS EDIT BUTTON OVERRIDE (MY ACCOUNT)
   ========================================================================== */
.woocommerce-MyAccount-content .woocommerce-Address {
    position: relative !important;
    padding-bottom: 20px !important;
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: block !important;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 0.85rem !important; /* Viel kleiner */
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
    color: var(--text-secondary) !important;
}

/* Address Text itself */
.woocommerce-MyAccount-content .woocommerce-Address address {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    font-style: normal !important;
    color: #ffffff !important;
}

/* Edit Button on the far right, height of the first name */
.woocommerce-MyAccount-content .woocommerce-Address-title a.edit {
    position: absolute !important;
    top: 45px !important; /* Auf Höhe des Vornamens */
    right: 20px !important; /* Ganz rechts */
    bottom: auto !important;
    left: auto !important;
    font-size: 0.95rem !important; /* Text wieder sichtbar und größer */
    color: #ffffff !important; /* Weiß */
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: none !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-content .woocommerce-Address-title a.edit:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* Reset any hidden pseudo elements */
.woocommerce-MyAccount-content .woocommerce-Address-title a.edit::before {
    font-size: 1rem !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    transform: none !important;
    filter: none !important;
}

/* Hide Cancel Button in Orders List */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a.cancel,
.woocommerce-orders-table .button.cancel {
    display: none !important;
}

/* --- WOOCOMMERCE CART PAGE FIXES --- */
/* Remove white background from buttons */
.woocommerce-cart .actions .button,
.woocommerce-cart input.button,
.woocommerce-cart button.button {
    background-color: transparent !important;
    border: 1.5px solid var(--beer-gold) !important;
    color: var(--beer-gold) !important;
    box-shadow: none !important;
}
.woocommerce-cart .actions .button:hover,
.woocommerce-cart input.button:hover,
.woocommerce-cart button.button:hover {
    background-color: var(--beer-gold) !important;
    color: #000 !important;
}

/* Smaller price and total sum */
.woocommerce-cart table.cart .product-price .amount,
.woocommerce-cart table.cart .product-subtotal .amount,
.woocommerce-cart .cart-collaterals .cart_totals .amount,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
    font-size: 0.95rem !important;
}

/* Fix overlapping cart table responsive issues */
@media screen and (max-width: 768px) {
    .woocommerce-cart table.cart,
    .woocommerce-cart table.cart tbody,
    .woocommerce-cart table.cart tr,
    .woocommerce-cart table.cart th,
    .woocommerce-cart table.cart td {
        display: block !important;
        width: 100% !important;
    }
    .woocommerce-cart table.cart thead {
        display: none !important;
    }
    .woocommerce-cart table.cart tr.cart_item {
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
    }
    .woocommerce-cart table.cart td.product-thumbnail,
    .woocommerce-cart table.cart td.product-remove,
    .woocommerce-cart table.cart td.product-name,
    .woocommerce-cart table.cart td.product-price,
    .woocommerce-cart table.cart td.product-quantity,
    .woocommerce-cart table.cart td.product-subtotal {
        border: none !important;
        padding: 8px 0 !important;
        text-align: right !important;
        min-height: 30px;
    }
    .woocommerce-cart table.cart td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        color: var(--text-secondary);
        text-transform: uppercase;
        font-size: 0.75rem;
    }
    .woocommerce-cart table.cart td.product-thumbnail {
        text-align: center !important;
    }
    .woocommerce-cart table.cart td.product-thumbnail::before {
        display: none !important;
    }
    .woocommerce-cart .actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* --- WOOCOMMERCE CHECKOUT (KASSE) FIXES --- */
/* Fix Email field overlap on checkout page */
.woocommerce-checkout .woocommerce-billing-fields #billing_email_field,
.woocommerce-checkout p#billing_email_field {
    clear: both !important;
    width: 100% !important;
    display: block !important;
    margin-top: 25px !important; /* Increased space */
    margin-bottom: 15px !important;
}

.woocommerce-checkout input[type="email"] {
    min-height: 48px !important;
}

/* Fix Checkout Order Review (Bestellübersicht) white background */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review table.shop_table,
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td,
.woocommerce-checkout #order_review table.shop_table tbody,
.woocommerce-checkout #order_review table.shop_table tfoot,
#add_payment_method #payment, 
.woocommerce-cart #payment, 
.woocommerce-checkout #payment,
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment div.payment_box {
    background-color: transparent !important;
    background: none !important;
}

/* Smaller total sum on Checkout page */
.woocommerce-checkout table.shop_table tr.order-total th,
.woocommerce-checkout table.shop_table tr.order-total td,
.woocommerce-checkout table.shop_table tr.order-total td .amount,
.woocommerce-checkout table.shop_table tr.cart-subtotal th,
.woocommerce-checkout table.shop_table tr.cart-subtotal td,
.woocommerce-checkout table.shop_table tr.cart-subtotal td .amount,
.woocommerce-checkout #order_review table.shop_table tfoot tr th,
.woocommerce-checkout #order_review table.shop_table tfoot tr td,
.woocommerce-checkout #order_review table.shop_table tfoot tr td .amount {
    font-size: 0.95rem !important;
}
