/* Sons of Cards – WooCommerce an die dunkle Gestaltung anpassen
   (Standard-Stile von WooCommerce bleiben geladen; hier nur Farben, Formen, Abstände.) */

/* Knöpfe */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button:not(.is-link),.woocommerce-mini-cart__buttons .button,.info .button{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;border:1px solid transparent;
  background:var(--gold);color:var(--gold-ink);font:600 15px/1 var(--font-b);transition:transform .25s var(--spring),box-shadow .2s,background .2s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover,.info .button:hover{background:var(--gold);color:var(--gold-ink);transform:translateY(-2px);box-shadow:0 8px 30px -8px rgba(255,201,77,.6)}
.woocommerce button.button:disabled,.woocommerce button.button.disabled,.woocommerce a.button.disabled{background:var(--surface-2);color:var(--dim);opacity:1}
.woocommerce a.button.loading,.woocommerce button.button.loading{opacity:.6}
.woocommerce a.added_to_cart{display:none} /* die Schublade öffnet sich stattdessen */
.info .button.added{background:var(--g)}

/* Hinweise */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments,.wc-block-components-notice-banner{
  background:var(--surface);color:var(--text);border:1px solid var(--line);border-left:3px solid var(--cyan);border-radius:var(--r-m);padding:16px 20px;list-style:none;margin:0 0 24px}
.woocommerce-message{border-left-color:var(--g)}.woocommerce-error{border-left-color:var(--r)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message a,.woocommerce-info a{color:var(--gold)}

/* Formulare */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .quantity .qty,
.woocommerce-ordering select,.select2-container--default .select2-selection--single,.woocommerce table.shop_table input.input-text,
.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select .wc-blocks-components-select__select,.wc-block-components-quantity-selector{
  background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--line-2)!important;border-radius:14px;min-height:48px;padding-inline:14px;font:500 15px/1.3 var(--font-b)}
.woocommerce form .form-row textarea{padding-block:12px;min-height:110px}
.wc-block-components-text-input label,.wc-blocks-components-select__label{color:var(--muted)!important}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--text);line-height:46px}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
.select2-dropdown{background:var(--surface-2);color:var(--text);border-color:var(--line-2)}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--gold);color:var(--gold-ink)}
.select2-container--default .select2-results__option[aria-selected=true]{background:var(--surface)}
.select2-search--dropdown .select2-search__field{background:var(--bg);color:var(--text);border-color:var(--line-2)}
.woocommerce form .form-row label{color:var(--muted);font-size:14px}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon{border:1px solid var(--line);border-radius:var(--r-l);background:var(--bg-2)}
.woocommerce-ordering{margin:0;float:none}
.woocommerce .woocommerce-ordering select{min-height:40px;border-radius:999px;font-size:14px}
.woocommerce .woocommerce-result-count,.woocommerce-result-count{margin:0;float:none;font:400 12px/1 var(--font-m);color:var(--muted)}

/* Tabellen (Warenkorb, Bestellungen) */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:var(--r-m);border-collapse:separate;overflow:hidden;background:var(--bg-2)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line);padding:14px 16px}
.woocommerce table.shop_table th{font:500 12px/1 var(--font-m);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.woocommerce table.shop_table a{color:var(--text)}
.woocommerce a.remove{color:var(--muted)!important;border:1px solid var(--line)}
.woocommerce a.remove:hover{background:var(--r);color:#fff!important}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #payment,.woocommerce-checkout-review-order{background:var(--bg-2);border-radius:var(--r-l)}
.woocommerce-checkout #payment{border:1px solid var(--line)}
.woocommerce-checkout #payment div.payment_box{background:var(--surface);color:var(--text)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--surface)}
.woocommerce-checkout #payment ul.payment_methods{border-color:var(--line)}
.shop-page{max-width:1100px}
.shop-page h2,.shop-page h3{font-size:24px;margin:1.2em 0 .6em}
.shop-page a{color:var(--gold)}
.shop-page a.button,.shop-page .wc-block-components-button{color:var(--gold-ink)}

/* Konto */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;border:1px solid var(--line);border-radius:var(--r-m);background:var(--bg-2)}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:10px;color:var(--muted)}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:var(--surface);color:var(--text)}

/* Seitenzahlen */
.woocommerce nav.woocommerce-pagination{margin-top:48px}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:6px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;min-height:44px;display:grid;place-items:center;border-radius:50%;
  border:1px solid var(--line);color:var(--muted);font:500 14px/1 var(--font-m);background:transparent}
.woocommerce nav.woocommerce-pagination ul li a:hover,.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--text);color:var(--bg);border-color:var(--text)}

/* Produktseite */
.pdp__info .product_title{font-size:clamp(34px,5vw,64px);margin:10px 0 0}
.pdp__info p.price,.pdp__info span.price{font:600 clamp(30px,4vw,44px)/1 var(--font-m);letter-spacing:-.03em;color:var(--text);margin:22px 0 4px;display:block}
.pdp__info p.price del{font-size:.5em;color:var(--dim);opacity:1;margin-right:.4em}
.pdp__info p.price ins{text-decoration:none;color:var(--gold)}
.pdp__info .woocommerce-product-details__short-description{color:var(--muted);max-width:56ch;margin-top:18px}
.pdp__info form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:8px 0 22px}
.pdp__info form.cart .quantity{float:none;margin:0}
.pdp__info form.cart .quantity .qty{width:84px;text-align:center;border-radius:999px;min-height:52px}
.pdp__info form.cart button.single_add_to_cart_button{float:none;min-height:52px;padding-inline:30px;flex:1;max-width:340px}
.pdp__info form.variations_form{display:block}
.pdp__info table.variations{margin-bottom:14px}
.pdp__info table.variations th,.pdp__info table.variations td{padding:6px 12px 6px 0;text-align:left}
.pdp__info table.variations select{min-height:48px;padding-inline:14px;border-radius:14px;background:var(--surface);color:var(--text);border:1px solid var(--line-2)}
.pdp__info .stock{font:500 13px/1 var(--font-m);color:var(--g);margin:0 0 10px}
.pdp__info .stock.out-of-stock{color:var(--r)}
.pdp__info .product_meta{display:grid;gap:4px;font-size:13px;color:var(--dim);padding-top:18px;border-top:1px solid var(--line)}
.pdp__info .product_meta a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.pdp__after{padding-top:clamp(48px,7vw,96px)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 24px;display:flex;gap:6px;flex-wrap:wrap}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--line);border-radius:999px;background:var(--surface);margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:11px 18px;color:var(--muted);font:500 14px/1 var(--font-b)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--text);border-color:var(--text)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--bg)}
.woocommerce div.product .woocommerce-tabs .panel{max-width:72ch;color:var(--muted)}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:26px;color:var(--text);margin-bottom:.5em}
.related.products,.upsells.products{margin-top:clamp(48px,7vw,96px)}
.related.products>h2,.upsells.products>h2{font-size:clamp(28px,4vw,44px);margin-bottom:28px}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--gold)}

/* Mini-Warenkorb in der Schublade */
.woocommerce-mini-cart{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.woocommerce-mini-cart-item{position:relative;display:grid;grid-template-columns:56px 1fr;gap:4px 14px;align-items:center;padding:12px 40px 12px 12px;border-radius:var(--r-m);border:1px solid var(--line);background:var(--surface);animation:rise .5s var(--ease) both}
.woocommerce-mini-cart-item>a:not(.remove){display:contents;font:700 15px/1.25 var(--font-d)}
.woocommerce-mini-cart-item img{grid-row:1/3;width:56px;height:78px;object-fit:cover;border-radius:5px;margin:0!important;float:none!important}
.woocommerce-mini-cart-item .quantity{grid-column:2;font:500 13px/1 var(--font-m);color:var(--muted)}
.woocommerce-mini-cart-item a.remove{position:absolute;right:10px;top:10px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;line-height:1;font-size:16px}
.woocommerce-mini-cart__total{display:flex;justify-content:space-between;margin:20px 0 14px;padding-top:16px;border-top:1px solid var(--line);font:600 18px/1 var(--font-m)}
.woocommerce-mini-cart__total strong{font:500 14px/1.3 var(--font-b);color:var(--muted)}
.woocommerce-mini-cart__buttons{display:grid;gap:8px;margin:0}
.woocommerce-mini-cart__buttons .button:not(.checkout){background:transparent;border-color:var(--line-2);color:var(--text)}
.woocommerce-mini-cart__empty-message{color:var(--muted);text-align:center;padding:48px 0}

/* Block-Warenkorb / Block-Kasse */
.wc-block-components-sidebar,.wc-block-components-totals-wrapper,.wc-block-cart-items,.wc-block-cart-items td,.wc-block-cart-items th{border-color:var(--line)!important}
.wc-block-components-product-name,.wc-block-components-totals-item__label,.wc-block-components-title{color:var(--text)}
.wc-block-components-radio-control-accordion-option,.wc-block-components-radio-control__option{border-color:var(--line)!important}
.wc-block-components-order-summary-item__quantity{background:var(--surface-2);color:var(--text);border-color:var(--line-2)}
