/* WooCommerce Custom Styles - Biomassza Webshop */

/* WooCommerce Product Grid Optimalizálás - Spacing javítás */
.woocommerce ul.products,
.woocommerce .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
}

.woocommerce li.product {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    transition: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Kép stílus */
.woocommerce li.product a img,
.woocommerce li.product .wp-post-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.woocommerce li.product a.woocommerce-LoopProduct-link {
    display: block !important;
    margin-bottom: 0 !important;
}

/* Termék cím */
.woocommerce li.product .woocommerce-loop-product__title,
.woocommerce li.product h2,
.woocommerce li.product h3 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #2d2a24 !important;
    margin: 15px 15px 8px 15px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    text-align: center;
}

.woocommerce li.product .woocommerce-loop-product__title:hover,
.woocommerce li.product h2:hover,
.woocommerce li.product h3:hover {
    color: #f39c00 !important;
}

/* Ár megjelenítés */
.woocommerce li.product .price,
.woocommerce li.product span.price {
    font-size: 2rem !important;
    color: #2d2a24 !important;
    display: block !important;
    text-align: center !important;
    background: transparent !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600;
    text-transform: uppercase;
}

.woocommerce li.product .price .woocommerce-Price-currencySymbol,
.woocommerce li.product span.price .woocommerce-Price-currencySymbol {
    font-family: inherit !important;
    font-size: 0.8rem !important;
}

/* Product Block */
.woocommerce li.product .product-block {
    position: relative;
    overflow: hidden;
}

/* Shop Action */
.woocommerce li.product .shop-action {
    display: none !important;
}

.shop-hero-title {
    color: white !important;
}

/* Narancssárga színek */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button {
    background-color: #f39c00 !important;
    color: white !important;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button:hover {
    background-color: #f5b100 !important;
    color: white !important;
}

/* Links */
.woocommerce a {
    color: #f39c00 !important;
}

.woocommerce a:hover {
    color: #f5b100 !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    border-color: #f39c00 !important;
    color: #f39c00 !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #f39c00 !important;
    color: white !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background-color: #f39c00 !important;
}

/* Price filter */
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: #f39c00 !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #f39c00 !important;
}

/* Messages */
.woocommerce-message {
    border-top-color: #f39c00 !important;
}

.woocommerce-message::before {
    color: #f39c00 !important;
}

/* Cart */
.woocommerce .cart .button,
.woocommerce .cart input.button {
    background-color: #f39c00 !important;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #f39c00 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: #f5b100 !important;
}

/* Kosárba gomb - erős narancssárga */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce .products .product .add_to_cart_button,
a.button.product_type_simple.add_to_cart_button,
.add_to_cart_button {
    background: #f39c00 !important;
    background-color: #f39c00 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    text-transform: none !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
    cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce .products .product .add_to_cart_button:hover,
a.button.product_type_simple.add_to_cart_button:hover,
.add_to_cart_button:hover {
    background: #f5b100 !important;
    background-color: #f5b100 !important;
    color: white !important;
}
/* Block checkout - csak szállítás és fizetés elrejtése */
.wc-block-checkout__shipping-method,
.wc-block-checkout__payment-method {
    display: none !important;
}

/* ============================================
   CHECKOUT - SZÁLLÍTÁS ÉS FIZETÉS ELREJTÉSE
   ============================================ */

/* Szállítási opciók elrejtése */
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .shipping_address,
.woocommerce-checkout #shipping_method,
.woocommerce-checkout .woocommerce-shipping-totals,
#order_review .woocommerce-shipping-totals,
tr.woocommerce-shipping-totals,
.woocommerce table.shop_table tr.shipping,
#order_review tr.shipping,
tr.shipping,
.wc-block-components-shipping-rates-control,
.wc-block-checkout__shipping-method,
#shipping-method {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Fizetési módok elrejtése */
.woocommerce-checkout #payment .payment_methods,
.woocommerce-checkout .wc_payment_methods,
.woocommerce-checkout .payment_methods,
.woocommerce-checkout-payment .payment_methods,
#payment .payment_methods,
.wc_payment_method,
.wc-block-checkout__payment-method,
#payment-method,
.payment_method_cod,
.payment_method_bacs,
.payment_method_cheque {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Payment box háttér és keret eltávolítása */
#payment {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#payment .form-row {
    padding: 0 !important;
    margin: 0 !important;
}

/* Megrendelés gomb - MINDIG LÁTHATÓ ÉS LEGALUL */
#place_order,
.woocommerce #place_order,
.woocommerce-checkout #place_order,
#payment #place_order,
button#place_order,
input#place_order {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px 0 20px 0 !important;
    padding: 18px 30px !important;
    background: #f39c00 !important;
    background-color: #f39c00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    text-transform: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

#place_order:hover,
.woocommerce #place_order:hover,
.woocommerce-checkout #place_order:hover {
    background: #e08900 !important;
    background-color: #e08900 !important;
    color: #fff !important;
}

/* Place order wrapper */
#payment .place-order,
.form-row.place-order,
.woocommerce-checkout .place-order {
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
    background: transparent !important;
}

/* Rendelés összesítő táblázat - szállítás sor elrejtése */
.woocommerce-checkout-review-order-table tr.shipping,
.woocommerce-checkout-review-order-table .shipping,
.shop_table tr.shipping {
    display: none !important;
}