﻿/*
Theme Name: BBQ Entertainment Child
Theme URI: https://bbqentertainment.com
Description: Child theme for BBQ Entertainment
Author: Riin.eu
Author URI: https://riin.eu
Template: hello-elementor
Version: 1.0.0
Text Domain: bbq-child
*/

/* ============================================
   BBQ Entertainment - WooCommerce Style Fixes
   Lisa see: Appearance > Customize > Additional CSS
   või child theme style.css-i
   ============================================ */

/* ------------------------------------------
   1. TOOTEKAARDID (Product Cards / Shop Loop)
   ------------------------------------------ */

/* Valge taust tootekaartidele */
ul.products li.product,
.woocommerce ul.products li.product {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Tootenimi oranžiks (nagu pilt 2) */
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #e8672c !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Tootenimi hover */
ul.products li.product a:hover .woocommerce-loop-product__title {
    color: #c41230 !important;
}

/* Allahinna badge → punane ring protsendiga (nagu pilt 2) */
.woocommerce span.onsale,
span.onsale {
    background-color: #c41230 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 55px !important;
    height: 55px !important;
    line-height: 55px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    min-height: unset !important;
    min-width: unset !important;
}

/* Eemalda vana oranž "Allahindlus!" badge kui see on custom */
.badge-inner,
.onsale-inner {
    display: none !important;
}

/* Hind - tavahind läbikriipsutatud */
ul.products li.product .price del {
    color: #999 !important;
    font-size: 14px !important;
}

/* Hind - soodushind */
ul.products li.product .price ins {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

/* Hind käibemaksuta tekst */
.woocommerce-Price-amount .woocommerce-price-suffix {
    color: #999 !important;
    font-size: 12px !important;
}

/* "LISA KORVI" nupp - must äärisega, valge taust (nagu pilt 2) */
ul.products li.product .button,
ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.button {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 2px solid #1a1a1a !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    padding: 10px 25px !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

/* "LISA KORVI" hover - must taust, valge tekst */
ul.products li.product .button:hover,
ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* "Maksa kolmes võrdses osas" tekst */
.woocommerce-loop-product__installment,
.product-installment {
    font-size: 14px !important;
    color: #1a1a1a !important;
    margin-top: 5px !important;
}


/* ------------------------------------------
   2. OSTUKORVI LEHT (Cart Page)
   ------------------------------------------ */

/* Ostukorvi tabel - valge taust */
.woocommerce-cart table.cart,
.woocommerce table.shop_table,
.woocommerce-cart .woocommerce table.shop_table {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
}

/* Tabeli header - valge, mitte hall */
.woocommerce table.shop_table thead th,
.woocommerce-cart table.cart thead th {
    background: #ffffff !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #1a1a1a !important;
    padding: 15px !important;
}

/* Tabeli read - valge taust */
.woocommerce table.shop_table tbody tr,
.woocommerce table.shop_table tbody td {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

/* Tabeli read hover */
.woocommerce table.shop_table tbody tr:hover {
    background: #fafafa !important;
}

/* Eemalda triibulised read (zebra striping) */
.woocommerce table.shop_table tbody tr:nth-child(even),
.woocommerce table.shop_table tbody tr:nth-child(odd) {
    background: #ffffff !important;
}

/* Ostukorvi summad box - valge taust */
.woocommerce-cart .cart_totals,
.cart_totals,
.cart-collaterals .cart_totals {
    background: #ffffff !important;
}

.cart_totals table,
.cart_totals th,
.cart_totals td {
    background: #ffffff !important;
}

/* "UUENDA OSTUKORVI" nupp */
.woocommerce-cart table.cart td.actions button[name="update_cart"],
button[name="update_cart"] {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 12px 25px !important;
}

/* "RAKENDA KUPONGI" nupp */
.woocommerce-cart .coupon button,
.coupon .button {
    background: #c41230 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Koguse input */
.woocommerce table.cart td.product-quantity input.qty {
    border: 1px solid #e5e5e5 !important;
    background: #ffffff !important;
    padding: 8px !important;
    width: 60px !important;
    text-align: center !important;
}

/* Eemalda toode (x) nupp */
.woocommerce a.remove {
    color: #c41230 !important;
}

.woocommerce a.remove:hover {
    background: #c41230 !important;
    color: #ffffff !important;
}


/* ------------------------------------------
   3. KASSA LEHT (Checkout Page)
   ------------------------------------------ */

/* Kassa üldine taust - valge */
.woocommerce-checkout,
.woocommerce-checkout .woocommerce {
    background: #ffffff !important;
}

/* Tellimuse kokkuvõte tabel - valge */
.woocommerce-checkout-review-order-table,
.woocommerce table.woocommerce-checkout-review-order-table {
    background: #ffffff !important;
}

.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    background: #ffffff !important;
}

/* Makseviisi ja saatmise sektsioonid - valge taust */
.woocommerce-checkout #payment,
#payment {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    background: #ffffff !important;
}

/* Saatmise valikud - valge taust */
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-billing-fields,
#order_review,
#order_review_heading {
    background: #ffffff !important;
}

/* Shipment sektsioon (tarne valik) - valge */
#shipping_method,
.woocommerce-shipping-totals td,
.woocommerce-shipping-totals th {
    background: #ffffff !important;
}

/* Kassa vormid - valge taust */
.woocommerce form.checkout,
.woocommerce-checkout form.checkout {
    background: #ffffff !important;
}

/* Input väljad kassas */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    padding: 10px !important;
}

/* Kokku summa rida */
.woocommerce-checkout-review-order-table tfoot tr.order-total {
    background: #ffffff !important;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    color: #c41230 !important;
    font-weight: 700 !important;
    font-size: 20px !important;
}

/* "Kokku" label */
.woocommerce-checkout-review-order-table tfoot tr.order-total th {
    color: #c41230 !important;
    font-weight: 700 !important;
}

/* Pangalingid - valge taust (Montonio/EveryPay) */
.montonio-payment-methods,
.montonio-bank-list,
.wc_payment_method .payment_box {
    background: #ffffff !important;
}

/* Tellimuse esitamise nupp */
#place_order,
.woocommerce-checkout #place_order {
    background: #c41230 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    padding: 15px 30px !important;
    width: 100% !important;
}

#place_order:hover {
    background: #a00f28 !important;
}


/* ------------------------------------------
   4. ÜLDISED WooCommerce PARANDUSED
   ------------------------------------------ */

/* Kõik WooCommerce tabelid - valge taust */
.woocommerce table.shop_table {
    border-collapse: collapse !important;
    background: #ffffff !important;
}

/* WooCommerce info/error teated */
.woocommerce-message,
.woocommerce-info {
    background: #ffffff !important;
    border-top-color: #c41230 !important;
}

.woocommerce-error {
    background: #ffffff !important;
    border-top-color: #e8672c !important;
}

/* Lehe taust üldiselt valge */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
    background: #ffffff !important;
}