/*
 * ============================================================
 *  Schmolke Carbon – Composite Product Styles
 *  Child-Theme: hello-theme-child-master
 *  Version: 3.0
 * ============================================================

 /* =========================
    GLOBAL / CLEANUP
 ========================= */

 /* Komponenten-Titel ausblenden */
 .component_title_wrapper {
     display: none;
 }

 /* WooCommerce Hinweise entfernen */
 .e-woocommerce-notices-wrapper,
 body.e-wc-error-notice .woocommerce-error {
     display: none;
 }


 /* =========================
    VARIATIONS TABLE
 ========================= */

 .composite_form table.variations th.label,
 .composite_form table.variations td.label {
     width: 35%;
 }

 .composite_form table.variations td.label {
     display: table-cell;
     padding: 0;
 }

 .composite_form table.variations td.label label {
     padding-left: 1em;
 }

 .composite_form table.variations td.value {
     position: relative;
     min-width: 65%;
 }


 /* =========================
    SELECT (Custom Arrow)
 ========================= */

 .composite_form table.variations td.value select {
     appearance: none;
     width: 100%;
     padding-right: 2em; /* Platz für Pfeil */
 }

 /* Custom Pfeil */
 .composite_form table.variations td.value::after {
     content: '';
     position: absolute;
     top: 50%;
     right: 0.5em;
     transform: translateY(-50%);
     pointer-events: none;

     width: 1em;
     height: 1em;

     background: url('/wp-content/uploads/2023/02/chevron-down.svg') no-repeat center;
     background-size: contain;
 }


 /* =========================
    COMPONENT / STOCK
 ========================= */

 .component_data .single_variation_wrap.component_wrap {
     margin-top: -38px;
     padding: 0 12px;
 }

 .component_data p.stock {
     padding: 12px 0;
 }

 .component_data table.variations {
     margin-bottom: 0;
 }

 .composite_form:not(.paged) .component .component_inner {
     padding-bottom: 0;
 }


 /* =========================
    CART / COMPOSITE
 ========================= */

 .cart .composite_data {
     background-color: var(--e-global-color-f701961);
     margin-top: 42px;
 }

 /* Preiszeile */
 .cart .composite_price {
     display: flex;
     justify-content: flex-end;
     margin: 0 1.25em 0.625em 0;
 }

 .cart .composite_price .price {
     font-size: 3em;
     color: var(--e-global-color-text);
     line-height: 1.15;
     margin: 0;
 }


 /* Button + Quantity Layout */
 .cart .composite_button {
     display: flex;
     align-items: center;
     margin-bottom: 0.95em;
 }

 .cart .composite_button button.composite_add_to_cart_button {
     flex: 1;
     margin-right: 0.95em;
 }

 .cart .composite_button .quantity,
 .cart .composite_button .fm-qty {
     flex-shrink: 0;
 }

 .cart .composite_button .fm-qty {
     margin-left: 1.25em;
 }


 /* Availability ausblenden */
 .cart .composite_availability {
     display: none;
 }
