/* Audio & People: Warenkorb, Kasse, Konto und Produktseiten auf dunklem Grund lesbar */
body.woocommerce-page, body.woocommerce {
	--ap-text: #fff;
	--ap-muted: rgba(255, 255, 255, .62);
	--ap-line: rgba(255, 255, 255, .12);
	--ap-surface: #1a0d20;
	--ap-surface-2: #241330;
	--ap-accent: #5e2a46;
	--ap-accent-hi: #c0588a;
	--ap-link: #f0a9cb;
}

/* Grundfarben */
body.woocommerce-page .woocommerce,
body.woocommerce-page .woocommerce table,
body.woocommerce-page .woocommerce th,
body.woocommerce-page .woocommerce td,
body.woocommerce-page .woocommerce label,
body.woocommerce-page .woocommerce h2,
body.woocommerce-page .woocommerce h3,
body.woocommerce-page .woocommerce p,
body.woocommerce-page .woocommerce li,
body.woocommerce-page .woocommerce strong,
body.woocommerce-page .woocommerce .amount,
body.woocommerce .product .summary,
body.woocommerce .product .summary *:not(.button):not(input):not(select) {
	color: var(--ap-text);
}
body.woocommerce-page .woocommerce a:not(.button):not(.checkout-button),
body.woocommerce .product .summary a:not(.button) {
	color: var(--ap-link) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.woocommerce-page .woocommerce a:not(.button):hover { color: #fff !important; }
body.woocommerce-page .woocommerce .description,
body.woocommerce-page .woocommerce .ap-checkout-hint,
body.woocommerce-page .woocommerce small { color: var(--ap-muted) !important; }
body.woocommerce-page .woocommerce .required { color: var(--ap-accent-hi) !important; border: 0; text-decoration: none; }

/* Tabellen */
body.woocommerce-page .woocommerce table.shop_table {
	background: transparent !important;
	border: 1px solid var(--ap-line) !important;
	border-radius: 4px; border-collapse: separate; border-spacing: 0;
}
body.woocommerce-page .woocommerce table.shop_table th,
body.woocommerce-page .woocommerce table.shop_table td {
	background: transparent !important;
	border-color: var(--ap-line) !important;
	padding: 12px 14px !important;
	vertical-align: middle;
}
body.woocommerce-page .woocommerce table.shop_table thead th {
	color: var(--ap-muted) !important; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400;
}

/* Warenkorb als kompakte Zeilen */
body.woocommerce-cart table.cart td.product-thumbnail { width: 72px; }
body.woocommerce-cart table.cart td.product-thumbnail img,
body.woocommerce-page img.ap-cart-thumb {
	width: 56px !important; height: 56px !important; max-width: 56px !important;
	object-fit: cover; border-radius: 3px; display: block;
}
body.woocommerce-cart table.cart td.product-remove { width: 40px; text-align: center; }
body.woocommerce-cart table.cart td.product-name a { font-weight: 700; text-decoration: none !important; color: #fff !important; }
body.woocommerce-cart table.cart td.product-name a:hover { text-decoration: underline !important; }
body.woocommerce-cart table.cart td.product-quantity,
body.woocommerce-cart table.cart th.product-quantity { display: none; }
body.woocommerce-page .woocommerce a.remove {
	color: var(--ap-muted) !important; background: transparent !important; text-decoration: none !important;
	font-size: 22px; line-height: 1; width: auto; height: auto;
}
body.woocommerce-page .woocommerce a.remove:hover { color: #fff !important; }
body.woocommerce-cart .cart_totals h2 { font-size: 18px; letter-spacing: .08em; }
body.woocommerce-cart table.cart td.actions .button[name="update_cart"] { display: none !important; }

/* Buttons */
body.woocommerce-page .woocommerce .button,
body.woocommerce-page .woocommerce button.button,
body.woocommerce-page .woocommerce a.checkout-button,
body.woocommerce-page #place_order,
body.woocommerce .product .single_add_to_cart_button {
	background: var(--ap-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	opacity: 1 !important;
	transition: background-color .15s ease;
}
body.woocommerce-page .woocommerce a.checkout-button,
body.woocommerce-page #place_order {
	display: block; width: 100%; padding: 16px 20px !important; font-size: 16px !important; text-align: center;
}
body.woocommerce-page .woocommerce .button:hover,
body.woocommerce-page .woocommerce a.checkout-button:hover,
body.woocommerce-page #place_order:hover,
body.woocommerce .product .single_add_to_cart_button:hover { background: var(--ap-accent-hi) !important; }
body.woocommerce-page .woocommerce .button:focus-visible,
body.woocommerce-page #place_order:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Formulare */
body.woocommerce-page .woocommerce input.input-text,
body.woocommerce-page .woocommerce select,
body.woocommerce-page .woocommerce textarea {
	background: #fff !important; color: #100614 !important;
	border: 1px solid transparent !important; border-radius: 4px !important;
	padding: 10px 12px !important; min-height: 44px; font-size: 16px !important;
}
body.woocommerce-page .woocommerce input.input-text:focus { border-color: var(--ap-accent-hi) !important; outline: none; }
body.woocommerce-page .woocommerce form .form-row { margin-bottom: 14px; }
body.woocommerce-checkout .ap-checkout-hint { margin: 0 0 16px; font-size: 14px; }

/* Kasse: Zahlungsbereich */
body.woocommerce-checkout #payment {
	background: var(--ap-surface) !important;
	border: 1px solid var(--ap-line); border-radius: 4px;
}
body.woocommerce-checkout #payment ul.payment_methods { border-color: var(--ap-line) !important; }
body.woocommerce-checkout #payment ul.payment_methods li,
body.woocommerce-checkout #payment ul.payment_methods li label { color: #fff !important; }
body.woocommerce-checkout #payment div.payment_box {
	background: var(--ap-surface-2) !important; color: #fff !important;
}
body.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--ap-surface-2) !important; }
body.woocommerce-checkout #payment div.payment_box * { color: #fff; }
body.woocommerce-checkout #payment div.payment_box iframe { color-scheme: light; }
body.woocommerce-checkout #payment .place-order { background: transparent !important; }
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .ap-waiver span { color: var(--ap-muted) !important; font-size: 14px; }
body.woocommerce-checkout .ap-waiver { margin: 12px 0 16px !important; }
body.woocommerce-checkout .ap-waiver label { display: flex !important; gap: 10px; align-items: flex-start; }
body.woocommerce-checkout .ap-waiver input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--ap-accent-hi); }

/* Express-Zahlung (Apple Pay / Google Pay) */
#wc-stripe-express-checkout-element,
.wc-stripe-express-checkout-element { margin: 0 0 12px; }
#wc-stripe-express-checkout-button-separator,
.wc-stripe-express-checkout-button-separator { color: var(--ap-muted) !important; text-align: center; margin: 8px 0 16px !important; }

/* Hinweise */
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-error,
body.woocommerce-page .wc-block-components-notice-banner {
	background: var(--ap-surface) !important; color: #fff !important;
	border: 1px solid var(--ap-line) !important; border-left: 3px solid var(--ap-accent-hi) !important; border-radius: 4px;
}
body.woocommerce-page .woocommerce-error { border-left-color: #ff6b6b !important; }
body.woocommerce-page .woocommerce-message::before,
body.woocommerce-page .woocommerce-info::before { color: var(--ap-accent-hi) !important; }

/* Konto */
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--ap-line); }
body.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; text-decoration: none !important; color: #fff !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--ap-accent-hi) !important; }

/* Produktseite */
body.woocommerce .product .quantity { display: none !important; }
body.woocommerce .product .price, body.woocommerce .product .price * { color: #fff !important; }

/* Blockierte Bereiche während dem Laden */
body.woocommerce-page .blockUI.blockOverlay { background: rgba(16, 6, 20, .6) !important; }

@media (max-width: 640px) {
	body.woocommerce-cart table.cart td.product-thumbnail { display: table-cell !important; }
	body.woocommerce-page .woocommerce table.shop_table td { padding: 10px !important; }
}

body.woocommerce-page .woocommerce a.checkout-button,
body.woocommerce-page #place_order { box-sizing: border-box; max-width: 100%; }
body.woocommerce-cart table.cart tr:last-child td.actions:empty,
body.woocommerce-cart table.cart td.actions { padding: 0 !important; border: 0 !important; }
