/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ==================================================
   SINGLE PRODUCT – KRATAK OPIS
   ================================================== */

.woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.6;
}


/* ==================================================
   SINGLE PRODUCT – QUANTITY + ADD TO CART
   ================================================== */

/* Wrapper */
.single-product form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Quantity wrapper */
.single-product form.cart .quantity {
    display: flex;
    align-items: center;
}

/* Quantity input */
.single-product form.cart .quantity input.qty {
    width: 78px;
    height: 48px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
}

/* Quantity buttons (+ / -) */
.single-product form.cart .quantity button,
.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .plus {
    width: 38px;
    height: 48px;
    font-size: 18px;
    font-weight: 600;
}

/* Add to cart button */
.single-product form.cart .single_add_to_cart_button {
    height: 50px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.3px;
    transition: transform 0.15s ease;
}

/* Hover effect */
.single-product form.cart .single_add_to_cart_button:hover {
    transform: translateY(-1px);
}


/* ==================================================
   MOBILE – VEĆI ELEMENTI ZA PRST
   ================================================== */

@media (max-width: 480px) {

    .single-product form.cart {
        gap: 10px;
    }

    .single-product form.cart .quantity input.qty {
        width: 84px;
        height: 52px;
        font-size: 19px;
    }

    .single-product form.cart .quantity button,
    .single-product form.cart .quantity .minus,
    .single-product form.cart .quantity .plus {
        width: 40px;
        height: 52px;
        font-size: 20px;
    }

    .single-product form.cart .single_add_to_cart_button {
        height: 54px;
        font-size: 17px;
        padding: 0 28px;
    }
}


/* ==================================================
   MINI CART / CART WIDGET – CLEANUP
   ================================================== */

/* Veći razmak ispod u side cartu */
.cart-widget-side .shopping-cart-widget-footer {
    padding-bottom: 60px !important;
}

/* Veće checkout dugme */
.woocommerce-mini-cart__buttons > *:last-child {
    font-size: 17px !important;
}

/* Sakrij "view cart" dugme (ako postoji) */
.woocommerce-mini-cart__buttons .btn-cart {
    display: none;
}

/* Sakrij subtotal red (ostaje samo total) */
tr.cart-subtotal {
    display: none;
}

/* ==================================================
  Recenzije uvijek otvorene
   ================================================== */

/* SVI TAB SADRŽAJI UVIJEK OTVORENI */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    display: block !important;
    opacity: 1;
    visibility: visible;
    height: auto !important;
}

/* ZADRŽI TAB NASLOVE (Opis | Recenzije) */
.single-product .woocommerce-tabs .wd-nav-tabs-wrapper {
    margin-bottom: 25px;
}


.single-product .woocommerce-tabs .wd-nav-link {
    pointer-events: none; /* ne mogu se klikati */
    cursor: default;
    padding-bottom: 6px;
}

/* Razmak između sekcija */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel--reviews {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Naslov "Recenzije" unutar sadržaja – malo jači */
.single-product #reviews h2,
.single-product .woocommerce-Reviews-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Sakrij "Dodatne informacije" sekciju samo na checkout stranici */
.woocommerce-checkout .woocommerce-additional-fields {
    display: none !important;
}
