/**
 * TYCETOOLZ Premium WooCommerce Design
 * Vollstaendiges Dark Premium Design fuer alle WooCommerce Seiten
 * Version 4.1.0 — Kompletter Shop
 */

/* ==============================================
   PARENT THEME (Envo-One) KOMPLETT VERSTECKEN
   auf allen WooCommerce-Seiten
   ============================================== */
/* WooCommerce setzt body-Klassen: woocommerce, woocommerce-page, woocommerce-cart, etc. */
.woocommerce-page .site-header,
.woocommerce-page #masthead,
.woocommerce-page .starter-starter-header,
.woocommerce-page #wrapper-navbar,
.woocommerce-page .site-footer,
.woocommerce-page #colophon,
.woocommerce-page .footer-credits,
.woocommerce-page .starter-starter-footer,
.woocommerce-page .breadcrumbs,
.woocommerce-page #secondary,
.woocommerce-page .sidebar,
.woocommerce-page .skip-link,
.woocommerce .site-header,
.woocommerce .site-footer,
.woocommerce #masthead,
.woocommerce #colophon,
.woocommerce .footer-credits,
.woocommerce .skip-link,
body.single-product .site-header,
body.single-product .site-footer,
body.single-product #masthead,
body.single-product #colophon,
body.single-product .footer-credits,
body.single-product .skip-link {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Site-Content darf volle Breite nutzen, kein Parent-Padding */
.woocommerce-page .site-content,
.woocommerce-page #content,
.woocommerce-page .container,
.woocommerce .site-content,
body.single-product .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
}

/* Ganzer Body: Dark Background + richtige Font */
.woocommerce-page,
.woocommerce-page body,
body.single-product {
    background: #0a0a0a !important;
    color: #e0e0e0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* === SHOP HEADER === */
/* Der alte Shop-Header wird durch die globale Top-Navigation ersetzt */
.tc-shop-header{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}
.tc-shop-header-in{
    max-width:1200px;margin:0 auto;padding:12px 24px;
    display:flex;align-items:center;gap:16px;
}
.tc-shop-logo{display:flex;align-items:center;gap:0;flex-shrink:0;text-decoration:none}
.tc-shop-logo img{height:75px;width:auto}
.tc-shop-logo-text{
    font-size:18px;font-weight:800;letter-spacing:5px;text-transform:uppercase;
    background:linear-gradient(135deg,#D4A853,#F0D78C,#D4A853);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.tc-shop-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.tc-shop-nav-link{
    display:inline-flex;align-items:center;gap:5px;padding:8px 10px;
    border-radius:6px;font-size:12px;font-weight:600;color:#888;
    transition:all .2s;white-space:nowrap;text-decoration:none;
}
.tc-shop-nav-link:hover{color:#D4A853}
.tc-shop-nav-link svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0}
.tc-shop-nav-wa{color:#25D366}
.tc-shop-nav-wa svg{fill:currentColor;stroke:none}

.tc-shop-cart-btn{
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    padding:8px 14px;border-radius:8px;
    background:linear-gradient(135deg,#D4A853,#C49A48);
    color:#000;text-decoration:none;transition:all .2s;min-height:40px;
}
.tc-shop-cart-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(212,168,83,.3)}
.tc-shop-cart-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.tc-cart-count{
    font-size:11px;font-weight:800;
    background:#fff;color:#000;
    width:18px;height:18px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    margin-left:6px;
}
.tc-cart-count:empty,.tc-cart-count[data-count="0"]{display:none}

.tc-shop-menu-toggle{
    display:none;background:none;border:none;cursor:pointer;padding:8px;
    color:#ccc;min-width:44px;min-height:44px;
    align-items:center;justify-content:center;
}
.tc-shop-menu-toggle svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}
.tc-shop-menu-toggle.tc-open svg line:nth-child(1){transform:rotate(45deg) translate(5px,-5px)}
.tc-shop-menu-toggle.tc-open svg line:nth-child(2){opacity:0}
.tc-shop-menu-toggle.tc-open svg line:nth-child(3){transform:rotate(-45deg) translate(5px,5px)}

.tc-shop-mobile-nav{
    display:none;flex-direction:column;
    background:#0a0a0a;border-top:1px solid rgba(212,168,83,.08);
    padding:0 24px;max-height:0;overflow:hidden;transition:max-height .3s,padding .3s;
}
.tc-shop-mobile-nav.tc-open{display:flex;max-height:500px;padding:16px 24px}
.tc-shop-mobile-nav a{
    display:block;padding:12px 0;color:#ccc;font-size:15px;font-weight:600;
    border-bottom:1px solid rgba(255,255,255,.04);text-decoration:none;
    transition:color .2s;
}
.tc-shop-mobile-nav a:hover{color:#D4A853}
.tc-shop-mobile-nav a:last-child{border-bottom:none}

/* === SHOP FOOTER === */
.tc-footer{background:#050505;border-top:1px solid rgba(212,168,83,.06)}
.tc-footer-gold-line{height:2px;background:linear-gradient(90deg,transparent,#D4A853,transparent);opacity:.3}
.tc-footer-inner{
    max-width:1200px;margin:0 auto;padding:40px 24px 30px;
    display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;
}
.tc-footer-logo-text{
    font-size:20px;font-weight:900;letter-spacing:5px;text-transform:uppercase;
    background:linear-gradient(135deg,#D4A853,#F0D78C,#D4A853);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.tc-footer-logo-link{text-decoration:none}
.tc-footer-tagline{font-size:13px;color:#555;line-height:1.7;margin-top:10px;max-width:280px}
.tc-footer-col-title{
    font-size:10px;font-weight:800;color:#D4A853;text-transform:uppercase;
    letter-spacing:2px;margin-bottom:14px;
}
.tc-footer-links{display:flex;flex-direction:column;gap:4px}
.tc-footer-link{color:#555;font-size:13px;padding:3px 0;transition:color .2s;text-decoration:none}
.tc-footer-link:hover{color:#D4A853}
.tc-footer-bottom{
    max-width:1200px;margin:0 auto;padding:16px 24px 24px;
    border-top:1px solid #0f0f0f;display:flex;justify-content:space-between;
    align-items:center;flex-wrap:wrap;gap:10px;
}
.tc-footer-copy{font-size:12px;color:#333}
.tc-footer-copy a{color:#555;text-decoration:none}
.tc-footer-copy a:hover{color:#D4A853}

/* WhatsApp Sticky */
.tc-wa-sticky{
    position:fixed!important;bottom:20px;right:20px;z-index:9998;
    width:52px;height:52px;background:#25D366;border-radius:50%;
    display:flex!important;align-items:center;justify-content:center;
    box-shadow:0 4px 16px rgba(37,211,102,.3);transition:transform .2s;
    text-decoration:none;
}
.tc-wa-sticky:hover{transform:scale(1.08)}
.tc-wa-sticky svg{width:26px;height:26px}

/* === HEADER/FOOTER RESPONSIVE === */
@media(max-width:768px){
    .tc-shop-header{display:none !important}
    .tc-shop-header-in{padding:10px 16px;gap:8px}
    .tc-shop-logo img{height:75px}
    .tc-shop-logo-text{font-size:14px;letter-spacing:3px}
    .tc-shop-nav{display:none}
    .tc-shop-menu-toggle{display:inline-flex}
    .tc-shop-cart-btn{padding:8px 10px}
    .tc-shop-cart-btn svg{width:16px;height:16px}
    .tc-footer-inner{grid-template-columns:1fr 1fr;gap:24px;padding:30px 16px 20px}
    .tc-footer-brand{grid-column:1/-1}
    .tc-footer-bottom{flex-direction:column;text-align:center;padding:16px 16px 24px}
}
@media(max-width:480px){
    .tc-footer-inner{grid-template-columns:1fr;text-align:center}
    .tc-footer-tagline{max-width:100%;text-align:center}
    .tc-footer-col-title{text-align:center}
    .tc-footer-links{align-items:center}
}

/* === GLOBAL WOOCOMMERCE OVERRIDES === */
body.woocommerce,
body.woocommerce-page,
body.woocommerce .site,
body.woocommerce-page .site,
body.woocommerce #page,
body.woocommerce-page #page {
    background: #0a0a0a !important;
}

.woocommerce,
.woocommerce-page,
.woocommerce .site-content,
.woocommerce-page .site-content,
.woocommerce .content-area,
.woocommerce-page .content-area,
.woocommerce .site-main,
.woocommerce-page .site-main {
    background: #0a0a0a !important;
    color: #fff !important;
}

.woocommerce .container,
.woocommerce-page .container {
    background: #0a0a0a !important;
}

/* === TYCETOOLZ WOO PAGE WRAPPER === */
.tc-woo-page-wrap {
    background: #0a0a0a;
    min-height: 100vh;
    padding: 30px 20px 80px; /* Globale Nav gibt 60px padding-top via body */
}

.tc-woo-page-inner {
    max-width: 900px;
    margin: 0 auto;
}

.tc-woo-page-title {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(212,168,83,0.2);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.5px;
}
.tc-woo-page-content {
    margin-top: 30px;
}

/* === FORTSCHRITTSANZEIGE (Checkout) === */
.tc-checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 35px;
    padding: 0 20px;
}

.tc-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    transition: color 0.3s;
}

.tc-progress-step.tc-step-active {
    color: #D4A853;
}

.tc-progress-step.tc-step-done {
    color: #4CAF50;
}

.tc-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 800;
    transition: all 0.3s;
}

.tc-step-active .tc-step-num {
    background: #D4A853;
    color: #000;
}

.tc-step-done .tc-step-num {
    background: #4CAF50;
    color: #fff;
}

.tc-progress-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 10px;
}

.tc-progress-line.tc-line-active {
    background: linear-gradient(90deg, #4CAF50, #D4A853);
}

/* --- Rabatt-Banner --- */
.tc-discount-banner {
    background: linear-gradient(135deg, rgba(76,175,80,0.15), rgba(212,168,83,0.15));
    border: 1px solid rgba(76,175,80,0.3);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    margin-bottom: 20px;
}

/* --- Trust-Badges --- */
.tc-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tc-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
}

/* === SHOP PAGE - PRODUCT GRID === */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 40px 20px !important;
    list-style: none !important;
}

.woocommerce ul.products li.product {
    background: linear-gradient(135deg, rgba(20,20,20,0.95) 0%, rgba(15,15,15,0.98) 100%) !important;
    border: 1px solid rgba(212,168,83,0.15) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(212,168,83,0.6) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(212,168,83,0.25) !important;
}

.woocommerce ul.products li.product img {
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    filter: brightness(1.1) contrast(1.08) !important;
    transition: all 0.4s ease !important;
    width: 100% !important;
    height: auto !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 12px !important;
}

.woocommerce ul.products li.product .price {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #D4A853 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.woocommerce ul.products li.product .price del {
    color: #666 !important;
    font-size: 20px !important;
    margin-right: 10px !important;
    opacity: 0.6 !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    background: none !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    background: #D4A853 !important;
    color: #000 !important;
    border: none !important;
    padding: 14px 30px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover {
    background: #e0b964 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(212,168,83,0.3) !important;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: #D4A853 !important;
    color: #000 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
}

/* === SINGLE PRODUCT PAGE === */
.woocommerce div.product {
    background: #0a0a0a !important;
    padding: 40px 20px !important;
}

.woocommerce div.product .product_title {
    color: #fff !important;
    font-size: 36px !important;
    font-weight: 900 !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #D4A853 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: #ccc !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.woocommerce div.product div.images {
    background: rgba(20,20,20,0.5) !important;
    border: 1px solid rgba(212,168,83,0.15) !important;
    border-radius: 16px !important;
    padding: 20px !important;
}

.woocommerce div.product div.images img {
    border-radius: 12px !important;
}

/* Single Product Add to Cart Button */
.woocommerce div.product form.cart .button {
    background: linear-gradient(135deg, #D4A853, #b8912e) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 14px 40px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce div.product form.cart .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(212,168,83,0.3) !important;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: rgba(20,20,20,0.5) !important;
    border: 1px solid rgba(212,168,83,0.2) !important;
    border-radius: 10px 10px 0 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #ccc !important;
    font-weight: 600 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: rgba(212,168,83,0.1) !important;
    border-bottom-color: #0a0a0a !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #D4A853 !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: rgba(20,20,20,0.3) !important;
    border: 1px solid rgba(212,168,83,0.15) !important;
    border-radius: 0 0 12px 12px !important;
    padding: 25px !important;
    color: #ccc !important;
}

/* === WARENKORB (CART) === */
.woocommerce-cart .tc-woo-page-inner {
    max-width: 800px;
}

.woocommerce table.shop_table {
    background: rgba(20,20,20,0.5) !important;
    border: 1px solid rgba(212,168,83,0.15) !important;
    border-radius: 16px !important;
    color: #fff !important;
    overflow: hidden;
    border-collapse: separate !important;
}

.woocommerce table.shop_table th {
    background: rgba(212,168,83,0.1) !important;
    color: #D4A853 !important;
    font-weight: 700 !important;
    padding: 15px !important;
    border-bottom: 2px solid rgba(212,168,83,0.3) !important;
}

.woocommerce table.shop_table td {
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    padding: 15px !important;
    color: #ccc !important;
}

.woocommerce table.shop_table td.product-name a {
    color: #fff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: #D4A853 !important;
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    color: #D4A853 !important;
    font-weight: 700 !important;
}

/* Remove Button */
.woocommerce a.remove {
    color: #ff4444 !important;
    font-size: 22px !important;
}

.woocommerce a.remove:hover {
    background: rgba(255,68,68,0.15) !important;
    color: #ff6666 !important;
}

/* Cart Thumbnail */
.woocommerce table.shop_table img {
    border-radius: 8px !important;
    width: 60px !important;
}

/* Quantity Input */
.woocommerce .quantity .qty {
    background: rgba(20,20,20,0.8) !important;
    border: 1px solid rgba(212,168,83,0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px !important;
    width: 60px !important;
    text-align: center !important;
}

/* Cart Actions */
.woocommerce table.shop_table td.actions {
    padding: 20px !important;
}

/* Coupon Input */
.woocommerce .coupon .input-text {
    background: rgba(20,20,20,0.8) !important;
    border: 1px solid rgba(212,168,83,0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
}

.woocommerce .coupon .button,
.woocommerce table.shop_table td.actions .button {
    background: rgba(212,168,83,0.15) !important;
    color: #D4A853 !important;
    border: 1px solid rgba(212,168,83,0.3) !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.woocommerce .coupon .button:hover,
.woocommerce table.shop_table td.actions .button:hover {
    background: rgba(212,168,83,0.25) !important;
}

/* Cart Totals */
.woocommerce-cart .cart-collaterals {
    max-width: 100% !important;
    margin: 30px auto !important;
    float: none !important;
}

.woocommerce .cart_totals {
    background: rgba(20,20,20,0.6) !important;
    border: 1px solid rgba(212,168,83,0.2) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce .cart_totals h2 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 15px !important;
}

.woocommerce .cart_totals table {
    background: transparent !important;
    border: none !important;
}

.woocommerce .cart_totals table th {
    color: #ccc !important;
    font-weight: 600 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.woocommerce .cart_totals table td {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Checkout Button in Cart */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: linear-gradient(135deg, #D4A853, #b8912e) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    border: none !important;
    text-transform: none !important;
    text-align: center !important;
    display: block !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(212,168,83,0.35) !important;
    background: linear-gradient(135deg, #e0b964, #c9a03a) !important;
}

/* Empty Cart — Professionelles Design */
.woocommerce-cart .cart-empty,
.woocommerce .cart-empty {
    text-align: center !important;
    padding: 80px 20px 40px !important;
    color: #999 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    background: rgba(255,255,255,0.02) !important;
    border: 1px dashed rgba(212,168,83,0.2) !important;
    border-radius: 16px !important;
    margin: 30px auto !important;
    max-width: 500px !important;
}
.woocommerce-cart .cart-empty::before,
.woocommerce .cart-empty::before {
    content: "🛒";
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.woocommerce-cart .return-to-shop,
.woocommerce .return-to-shop {
    text-align: center !important;
    padding: 20px 0 40px !important;
}

.woocommerce-cart .return-to-shop a,
.woocommerce .return-to-shop a {
    background: linear-gradient(135deg, #D4A853, #b8912e) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 14px 30px !important;
    border-radius: 10px !important;
    border: none !important;
    text-transform: none !important;
    display: inline-block !important;
    margin-top: 20px !important;
}

.woocommerce-cart .return-to-shop a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212,168,83,0.3) !important;
}

/* === KASSE (CHECKOUT) === */
.woocommerce-checkout .tc-woo-page-inner {
    max-width: 700px;
}

/* Checkout Layout: 1-Spalte zentriert */
.woocommerce-checkout .col2-set {
    max-width: 600px !important;
    margin: 0 auto !important;
    float: none !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    max-width: 600px !important;
    margin: 30px auto !important;
    float: none !important;
    width: 100% !important;
}

/* Billing Heading */
.woocommerce-checkout h3#billing_heading,
.woocommerce-checkout .woocommerce-billing-fields h3 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* Shipping Heading */
.woocommerce-checkout h3#ship-to-different-address {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Order Review Heading */
.woocommerce-checkout #order_review_heading {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 0 !important;
}

/* Order Review Box */
.woocommerce-checkout #order_review {
    background: rgba(20,20,20,0.6) !important;
    border: 1px solid rgba(212,168,83,0.2) !important;
    border-radius: 16px !important;
    padding: 30px !important;
}

/* === EINGABEFELDER (Forms) === */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-account input.input-text,
.woocommerce-account textarea,
.select2-container--default .select2-selection--single {
    background: rgba(20,20,20,0.8) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    transition: border-color 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce-checkout input.input-text:focus,
.woocommerce-account input.input-text:focus {
    border-color: #D4A853 !important;
    box-shadow: 0 0 0 2px rgba(212,168,83,0.2) !important;
    outline: none !important;
}

.woocommerce form .form-row label,
.woocommerce-checkout label,
.woocommerce-account label {
    color: #ccc !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

/* Select2 Dropdown */
.select2-container--default .select2-selection--single {
    height: 44px !important;
}

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

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

.select2-dropdown {
    background: #1a1a1a !important;
    border: 1px solid rgba(212,168,83,0.3) !important;
    border-radius: 8px !important;
}

.select2-results__option {
    color: #ccc !important;
    padding: 10px 14px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(212,168,83,0.2) !important;
    color: #D4A853 !important;
}

.select2-search--dropdown .select2-search__field {
    background: rgba(20,20,20,0.8) !important;
    border: 1px solid rgba(212,168,83,0.3) !important;
    color: #fff !important;
    border-radius: 6px !important;
}

/* Checkbox & Radio */
.woocommerce form .form-row input[type="checkbox"],
.woocommerce-checkout input[type="checkbox"] {
    accent-color: #D4A853 !important;
}

/* === BESTELLBUTTON === */
.woocommerce #place_order,
.woocommerce-checkout #place_order {
    background: linear-gradient(135deg, #D4A853, #b8912e) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
    margin-top: 15px !important;
}

.woocommerce #place_order:hover,
.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(212,168,83,0.35) !important;
    background: linear-gradient(135deg, #e0b964, #c9a03a) !important;
}

/* === ZAHLUNGSARTEN === */
.woocommerce-checkout #payment {
    background: rgba(20,20,20,0.4) !important;
    border: 1px solid rgba(212,168,83,0.15) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.woocommerce-checkout #payment .payment_methods {
    border: none !important;
    padding: 0 !important;
}

.woocommerce-checkout #payment .payment_methods li {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 12px 0 !important;
    background: transparent !important;
}

.woocommerce-checkout #payment .payment_methods li:last-child {
    border-bottom: none !important;
}

.woocommerce-checkout #payment .payment_methods li label {
    color: #fff !important;
    font-weight: 600 !important;
}

.woocommerce-checkout #payment .payment_methods li .payment_box {
    background: rgba(20,20,20,0.5) !important;
    color: #ccc !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
    padding: 12px !important;
}

.woocommerce-checkout #payment .payment_methods li .payment_box::before {
    border-bottom-color: rgba(20,20,20,0.5) !important;
}

/* PayPal Smart Buttons */
#ppc-button,
.ppc-button-wrapper,
#ppcp-hosted-fields,
.ppcp-vaulted-paypal,
#ppc-button-ppcp-gateway {
    margin-top: 15px !important;
}

/* === TABELLE ALLGEMEIN === */
.woocommerce table.shop_table .shipping .woocommerce-shipping-methods li label,
.woocommerce table.shop_table .shipping td {
    color: #4CAF50 !important;
    font-weight: 600 !important;
}

.woocommerce table.shop_table .order-total td {
    color: #D4A853 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

.woocommerce table.shop_table .order-total th {
    font-size: 18px !important;
    color: #fff !important;
}

.woocommerce table.shop_table .cart-discount td,
.woocommerce table.shop_table .cart-discount .woocommerce-Price-amount {
    color: #4CAF50 !important;
    font-weight: 700 !important;
}

/* === MEIN KONTO === */
.woocommerce-account .tc-woo-page-inner {
    max-width: 800px;
}

.woocommerce-MyAccount-navigation {
    background: rgba(20,20,20,0.6) !important;
    border: 1px solid rgba(212,168,83,0.2) !important;
    border-radius: 16px !important;
    padding: 10px !important;
    margin-bottom: 30px !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    justify-content: center !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 10px 18px !important;
    color: #ccc !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.2s !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(212,168,83,0.1) !important;
    color: #D4A853 !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(212,168,83,0.15) !important;
    color: #D4A853 !important;
}

.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    color: #ccc !important;
}

.woocommerce-MyAccount-content p {
    color: #ccc !important;
}

.woocommerce-MyAccount-content a {
    color: #D4A853 !important;
}

/* Login Form */
.woocommerce form.login,
.woocommerce form.register {
    background: rgba(20,20,20,0.6) !important;
    border: 1px solid rgba(212,168,83,0.2) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    max-width: 450px !important;
    margin: 0 auto !important;
}

.woocommerce form.login h2,
.woocommerce form.register h2 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.woocommerce form.login .button,
.woocommerce form.register .button {
    background: linear-gradient(135deg, #D4A853, #b8912e) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    width: 100% !important;
}

.woocommerce form.login .button:hover,
.woocommerce form.register .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212,168,83,0.3) !important;
}

.woocommerce .lost_password a {
    color: #D4A853 !important;
    font-size: 14px !important;
}

/* Order Table in Account */
.woocommerce-account table.shop_table {
    border-collapse: separate !important;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button {
    background: rgba(212,168,83,0.15) !important;
    color: #D4A853 !important;
    border: 1px solid rgba(212,168,83,0.3) !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s !important;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button:hover {
    background: rgba(212,168,83,0.25) !important;
}

/* Address Cards */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    background: rgba(20,20,20,0.5) !important;
    border: 1px solid rgba(212,168,83,0.15) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address header h3 {
    color: #fff !important;
}

.woocommerce-account .woocommerce-Addresses address {
    color: #ccc !important;
}

/* === DANKE-SEITE (Order Received) === */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: linear-gradient(135deg, rgba(76,175,80,0.15), rgba(212,168,83,0.1));
    border: 1px solid rgba(76,175,80,0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

.woocommerce-order-received .woocommerce-order-overview {
    background: rgba(20,20,20,0.6) !important;
    border: 1px solid rgba(212,168,83,0.2) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.woocommerce-order-received .woocommerce-order-overview li {
    color: #ccc !important;
    border-right-color: rgba(255,255,255,0.1) !important;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    color: #D4A853 !important;
}

.woocommerce-order-received h2,
.woocommerce-order-received .woocommerce-order-details h2 {
    color: #fff !important;
}

/* === BENACHRICHTIGUNGEN (Messages) === */
.woocommerce-message {
    background: rgba(76,175,80,0.1) !important;
    border-top: 3px solid #4CAF50 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    margin-bottom: 20px !important;
}

.woocommerce-message a.button {
    background: #4CAF50 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-weight: 600 !important;
    border: none !important;
}

.woocommerce-info {
    background: rgba(212,168,83,0.1) !important;
    border-top: 3px solid #D4A853 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    margin-bottom: 20px !important;
}

.woocommerce-info a {
    color: #D4A853 !important;
}

.woocommerce-error {
    background: rgba(255,68,68,0.1) !important;
    border-top: 3px solid #ff4444 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    margin-bottom: 20px !important;
}

.woocommerce-error li {
    color: #ff8888 !important;
}

/* === BREADCRUMBS === */
.woocommerce .woocommerce-breadcrumb {
    color: #999 !important;
    font-size: 14px !important;
    margin-bottom: 30px !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #D4A853 !important;
}

/* === PAGINATION === */
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 1px solid rgba(212,168,83,0.3) !important;
    margin: 0 5px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    color: #fff !important;
    background: rgba(20,20,20,0.8) !important;
    padding: 10px 15px !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #D4A853 !important;
    color: #000 !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: rgba(212,168,83,0.15) !important;
    color: #D4A853 !important;
}

/* === RELATED PRODUCTS === */
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
}

/* === COUPON / GUTSCHEIN === */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: rgba(20,20,20,0.5) !important;
    border-top: 2px solid rgba(212,168,83,0.3) !important;
}

.woocommerce form.checkout_coupon {
    background: rgba(20,20,20,0.5) !important;
    border: 1px solid rgba(212,168,83,0.2) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.woocommerce form.checkout_coupon .button {
    background: rgba(212,168,83,0.15) !important;
    color: #D4A853 !important;
    border: 1px solid rgba(212,168,83,0.3) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* === TERMS BOX === */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    color: #999 !important;
    font-size: 13px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: #D4A853 !important;
}

/* === RESPONSIVE - MOBILE === */
@media (max-width: 768px) {
    .tc-woo-page-wrap {
        padding: 20px 12px 60px;
    }
    .tc-woo-page-title {
        font-size: 26px !important;
        margin-bottom: 8px;
    }
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px 16px !important;
    }
    .woocommerce div.product .product_title {
        font-size: 28px !important;
    }
    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 26px !important;
    }
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #order_review {
        max-width: 100% !important;
    }
    .woocommerce-checkout #order_review {
        padding: 20px 15px !important;
    }
    .tc-checkout-progress {
        max-width: 100%;
    }
    .tc-progress-step {
        font-size: 12px;
        gap: 4px;
    }
    .tc-step-num {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .tc-trust-badges {
        grid-template-columns: 1fr;
    }
    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        color: #999 !important;
        font-weight: 600 !important;
    }
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column !important;
    }
    .woocommerce form.login,
    .woocommerce form.register {
        max-width: 100% !important;
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .tc-woo-page-title {
        font-size: 22px !important;
    }
    .woocommerce-checkout #order_review {
        padding: 15px 10px !important;
    }
    .woocommerce #place_order,
    .woocommerce-checkout #place_order {
        font-size: 15px !important;
        padding: 14px 20px !important;
    }
}
