/* ============================================================
   PA Order Theme — Custom Stylesheet (basiert auf 5senses-Style)
   ============================================================ */

:root {
    --pa-red: #c9302c;
    --pa-red-dark: #a52521;
    --pa-red-hover: #b52a26;
    --pa-gold: #ba933e;
    --pa-gold-dark: #9a7a32;
    --pa-cream: #faf6f0;
    --pa-cream-dark: #f0e6d2;
    --pa-beige: #e5dcc8;
    --pa-text: #1a1a1a;
    --pa-text-soft: #4a4a4a;
    --pa-border: #e5dcc8;
}


/* ============================================================
   1. DESKTOP — Linke Sidebar (Kategorie-Liste)
   ============================================================ */

html body .menu-categories-wrapper {
    background-color: #ffffff;
    border-right: 1px solid var(--pa-border);
}

html body .menu-categories-wrapper ul li {
    border-bottom: 1px solid var(--pa-border);
}

html body .menu-categories-wrapper ul li a {
    display: block;
    padding: 14px 20px !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--pa-red) !important;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

html body .menu-categories-wrapper ul li a:hover {
    background-color: var(--pa-cream);
    color: var(--pa-red-dark) !important;
}

html body .menu-categories-wrapper ul li a.act_menu,
html body .menu-categories-wrapper ul li a.act_menu:link,
html body .menu-categories-wrapper ul li a.act_menu:visited,
html body .menu-categories-wrapper ul li a.act_menu:hover {
    background-color: var(--pa-gold) !important;
    color: #ffffff !important;
    display: block !important;
}


/* ============================================================
   2. MOBILE — Top Carousel Menu
   ============================================================ */

@media (max-width: 992px) {
    html body header #menu-main.owl-carousel {
        background-color: var(--pa-cream);
        padding: 0;
        margin: 0;
        border-bottom: 1px solid var(--pa-border);
        position: relative;
    }
    html body header #menu-main.owl-carousel .owl-stage-outer {
        padding: 0;
    }
    html body header #menu-main.owl-carousel li {
        list-style: none;
        margin: 0;
        padding: 0;
        border-right: 1px solid var(--pa-border);
    }
    html body header #menu-main.owl-carousel li a {
        display: block;
        padding: 14px 22px;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--pa-red);
        background-color: transparent;
        text-decoration: none;
        line-height: 1;
        white-space: nowrap;
        transition: all 0.2s ease;
    }
    html body header #menu-main.owl-carousel li a:hover {
        background-color: var(--pa-cream-dark);
    }
    html body header #menu-main.owl-carousel li a.act_menu {
        background-color: var(--pa-gold) !important;
        color: #ffffff !important;
    }
    html body header #menu-main.owl-carousel .owl-nav {
        margin: 0;
        position: static;
    }
    html body header #menu-main.owl-carousel .owl-nav .owl-prev,
    html body header #menu-main.owl-carousel .owl-nav .owl-next {
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        width: 36px !important;
        background-color: var(--pa-cream) !important;
        font-size: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        cursor: pointer;
        color: transparent;
    }
    html body header #menu-main.owl-carousel .owl-nav .owl-prev::before {
        content: "\2039";
        font-size: 26px !important;
        font-weight: bold;
        line-height: 1;
        color: #999;
    }
    html body header #menu-main.owl-carousel .owl-nav .owl-next::before {
        content: "\203A";
        font-size: 26px !important;
        font-weight: bold;
        line-height: 1;
        color: #999;
    }
    html body header #menu-main.owl-carousel .owl-nav .owl-prev {
        left: 0 !important;
        box-shadow: 4px 0 6px -2px rgba(0,0,0,0.08);
    }
    html body header #menu-main.owl-carousel .owl-nav .owl-next {
        right: 0 !important;
        box-shadow: -4px 0 6px -2px rgba(0,0,0,0.08);
    }
    html body header #menu-main.owl-carousel .owl-nav .disabled {
        opacity: 0.3;
    }
    html body header #menu-main.owl-carousel .owl-dots {
        display: none !important;
    }
}


/* ============================================================
   3. PRODUKT-KATEGORIE ÜBERSCHRIFTEN (h2)
   ============================================================ */

html body .elementor-widget-productscategory h2,
html body .woocommerce h2 {
    color: var(--pa-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 30px 0 20px 0;
    font-size: 28px;
}


/* ============================================================
   4. PRODUKT-KARTEN
   ============================================================ */

html body .item-product-widget {
    background-color: #ffffff;
    border: 1px solid var(--pa-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s ease;
}

html body .item-product-widget:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

html body .item-product-widget .product-name,
html body .item-product-widget h3,
html body .item-product-widget h2 {
    color: var(--pa-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
    margin-bottom: 8px;
}

html body .item-product-widget .product-description,
html body .item-product-widget p {
    color: var(--pa-text-soft);
    font-size: 14px;
    line-height: 1.5;
}

html body .item-product-widget .price,
html body .woocommerce-Price-amount {
    color: var(--pa-gold) !important;
    font-weight: 700;
    font-size: 16px;
}


/* ============================================================
   5. BUTTONS — alle Buttons in Rot
   ============================================================ */

html body .add-to-cart,
html body .product-cart-option .add-to-cart,
html body button.single_add_to_cart_button,
html body .button.alt,
html body .woocommerce a.button,
html body .woocommerce button.button,
html body .woocommerce input.button,
html body .woocommerce #respond input#submit,
html body input[type="submit"].button,
html body .checkout-button,
html body .wc-block-components-button {
    background-color: var(--pa-red) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 8px 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(201, 48, 44, 0.15);
}

html body .add-to-cart:hover,
html body .product-cart-option .add-to-cart:hover,
html body button.single_add_to_cart_button:hover,
html body .button.alt:hover,
html body .woocommerce a.button:hover,
html body .woocommerce button.button:hover,
html body .woocommerce input.button:hover,
html body .checkout-button:hover {
    background-color: var(--pa-red-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(201, 48, 44, 0.25);
    transform: translateY(-1px);
}

html body .add-to-cart .woocommerce-Price-amount,
html body .add-to-cart .woocommerce-Price-currencySymbol {
    color: #ffffff !important;
}


/* ============================================================
   6. QUANTITY +/− Buttons
   ============================================================ */

/* Quantity controls — outer container with border, flat buttons inside */

/* Outer wrapper: dezente Border drumherum, wie im 5senses Vorbild */
html body .product-quantity,
html body .quantity,
html body .product-cart-option .quantity,
html body .product-cart-option .product-quantity {
    background-color: #ffffff !important;
    border: 1px solid var(--pa-border) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    padding: 4px 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
}

/* Buttons: flat, no own border */
html body .lafka-qty-plus,
html body .lafka-qty-minus,
html body input.lafka-qty-plus,
html body input.lafka-qty-minus {
    background-color: transparent !important;
    color: var(--pa-text) !important;
    border: none !important;
    box-shadow: none !important;
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer;
    line-height: 1;
}

/* Number input: flat, no border, hide native spinner */
html body input.qty {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 4px !important;
    text-align: center;
    width: 28px !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* Hide native spinner arrows on Chrome/Safari/Edge */
html body input.qty::-webkit-outer-spin-button,
html body input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}


/* ============================================================
   6b. PRODUKT-VARIANTEN (Select Dropdowns)
   ============================================================ */

/* Wrapper around variant select: no border, transparent */
html body .item-product-widget .product-cart-option,
html body .item-product-widget .product-wrap,
html body .product-cart-option,
html body .product-cart-option .product-options-wrapper,
html body .variations,
html body .product-variations {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* The select itself: single border, flat look */
html body select.product-options,
html body .product-cart-option select,
html body .variations select {
    width: 100% !important;
    background-color: #ffffff !important;
    border: 1px solid var(--pa-border) !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: var(--pa-text) !important;
    box-shadow: none !important;
    cursor: pointer;
    appearance: auto;
}

html body select.product-options:focus,
html body .product-cart-option select:focus,
html body .variations select:focus {
    border-color: var(--pa-red) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(201, 48, 44, 0.15) !important;
}


/* ============================================================
   7. CART FOOTER (untere Leiste)
   ============================================================ */

html body #ajax_cart_option_footer {
    background-color: #ffffff !important;
    color: var(--pa-text) !important;
    padding: 12px 20px !important;
    border-top: 1px solid var(--pa-border) !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

html body #ajax_cart_option_footer.active {
    background-color: #ffffff !important;
}

html body #ajax_cart_option_footer .count-footer {
    background-color: var(--pa-red);
    color: #ffffff;
    border-radius: 50%;
    padding: 4px 10px;
    font-weight: 700;
    margin-right: 8px;
}

html body #ajax_cart_option_footer .total-price {
    color: var(--pa-text) !important;
    font-weight: 700;
}

html body #ajax_cart_option_footer .woocommerce-Price-amount {
    color: var(--pa-gold) !important;
    font-weight: 700;
}


/* ============================================================
   8. CART / CHECKOUT SEITE
   ============================================================ */

html body .cart_item .product-remove a {
    color: var(--pa-red) !important;
    font-size: 20px;
}

html body table.cart .product-name a,
html body table.shop_table .product-name a {
    color: var(--pa-text) !important;
    font-weight: 600;
    text-decoration: none;
}

html body table.cart .product-name a:hover {
    color: var(--pa-red) !important;
}

html body .coupon input[type="text"],
html body input[type="text"],
html body input[type="email"],
html body input[type="tel"],
html body textarea,
html body select {
    border: 1px solid var(--pa-border) !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    background-color: #ffffff;
}

html body input[type="text"]:focus,
html body input[type="email"]:focus,
html body textarea:focus {
    border-color: var(--pa-red) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 48, 44, 0.15);
}


/* ============================================================
   9. NOTIFICATIONS / MESSAGES
   ============================================================ */

html body .woocommerce-message,
html body .woocommerce-info,
html body .woocommerce-error {
    border-radius: 4px;
    padding: 12px 16px;
    border-left: 4px solid var(--pa-red);
    background-color: var(--pa-cream);
}

html body .woocommerce-message {
    border-left-color: var(--pa-gold);
}


/* ============================================================
   10. BACK-TO-TOP Button
   ============================================================ */

html body #back-top {
    background-color: var(--pa-text) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    opacity: 0.85;
}

html body #back-top:hover {
    background-color: var(--pa-gold) !important;
    opacity: 1;
    transform: translateY(-2px);
}


/* ============================================================
   11. LINKS allgemein
   ============================================================ */

html body a {
    color: var(--pa-red);
    text-decoration: none;
    transition: color 0.15s ease;
}

html body a:hover {
    color: var(--pa-red-dark);
}


/* ============================================================
   12. ALLGEMEINE TYPOGRAFIE-VERBESSERUNGEN
   ============================================================ */

html body {
    color: var(--pa-text);
    line-height: 1.6;
}

html body h1, 
html body h2, 
html body h3, 
html body h4 {
    color: var(--pa-text);
    font-weight: 700;
}