/* =========================================================
   IEF – WOOCOMMERCE SHOP & CATEGORY - 3 KOLONE
   ========================================================= */

/* RESET THEGEM & BOOTSTRAP */
body.post-type-archive-product .products.inline-row .product.inline-column,
body.tax-product_cat .products.inline-row .product.inline-column {
    min-width: 0 !important;
    float: none !important;
    width: auto !important;
}

body.post-type-archive-product .products .col-sm-3,
body.post-type-archive-product .products .col-xs-6,
body.tax-product_cat .products .col-sm-3,
body.tax-product_cat .products .col-xs-6 {
    width: auto !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* RESET THEGEM FIRST/LAST CLASSES */
body.post-type-archive-product .products .product.first,
body.post-type-archive-product .products .product.last,
body.tax-product_cat .products .product.first,
body.tax-product_cat .products .product.last {
    clear: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* PRODUCTS GRID CONTAINER */
body.post-type-archive-product .products.row.inline-row,
body.tax-product_cat .products.row.inline-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
}

/* PRODUCT ITEM - 3 KOLONE */
body.post-type-archive-product .products .inline-column.product,
body.post-type-archive-product .products .inline-column.product.first,
body.post-type-archive-product .products .inline-column.product.last,
body.tax-product_cat .products .inline-column.product,
body.tax-product_cat .products .inline-column.product.first,
body.tax-product_cat .products .inline-column.product.last {
    display: flex !important;
    flex: 0 0 calc(33.333% - 14px) !important;
    max-width: calc(33.333% - 14px) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    clear: none !important;
}

/* PRODUCT INNER */
body.post-type-archive-product .products .product .product-inner,
body.tax-product_cat .products .product .product-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

body.post-type-archive-product .products .product .product-inner:hover,
body.tax-product_cat .products .product .product-inner:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* IMAGE LINK */
body.post-type-archive-product .products .product a.product-image,
body.tax-product_cat .products .product a.product-image {
    display: block;
    width: 100%;
    background: #f8f8f8;
    padding: 0px;
    box-sizing: border-box;
}

/* IMAGE INNER SPAN */
body.post-type-archive-product .products .product .product-image-inner,
body.tax-product_cat .products .product .product-image-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 320px;
}

/* IMAGE */
body.post-type-archive-product .products .product .product-image-inner img,
body.tax-product_cat .products .product .product-image-inner img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

/* SAKRIJ OVERLAY */
body.post-type-archive-product .products .product .woo-product-overlay,
body.tax-product_cat .products .product .woo-product-overlay {
    display: none;
}

/* PRODUCT INFO */
body.post-type-archive-product .products .product .product-info,
body.tax-product_cat .products .product .product-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
}

/* TITLE */
body.post-type-archive-product .products .product .product-title,
body.tax-product_cat .products .product .product-title {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 0;
}

body.post-type-archive-product .products .product .product-title a,
body.tax-product_cat .products .product .product-title a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

/* PRODUCT BOTTOM */
body.post-type-archive-product .products .product .product-bottom,
body.tax-product_cat .products .product .product-bottom {
    padding: 10px 15px 15px;
    text-align: center;
}

/* =========================================================
   RESPONSIVE - TABLET (2 KOLONE)
   ========================================================= */
@media (max-width: 900px) {
    body.post-type-archive-product .products .inline-column.product,
    body.post-type-archive-product .products .inline-column.product.first,
    body.post-type-archive-product .products .inline-column.product.last,
    body.tax-product_cat .products .inline-column.product,
    body.tax-product_cat .products .inline-column.product.first,
    body.tax-product_cat .products .inline-column.product.last {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }
    
    body.post-type-archive-product .products .product .product-image-inner,
    body.tax-product_cat .products .product .product-image-inner {
        height: 280px;
    }
    
    body.post-type-archive-product .products .product .product-image-inner img,
    body.tax-product_cat .products .product .product-image-inner img {
        max-height: 260px;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE (1 KOLONA)
   ========================================================= */
@media (max-width: 576px) {
    body.post-type-archive-product .products.row.inline-row,
    body.tax-product_cat .products.row.inline-row {
        gap: 15px;
    }
    
    body.post-type-archive-product .products .inline-column.product,
    body.post-type-archive-product .products .inline-column.product.first,
    body.post-type-archive-product .products .inline-column.product.last,
    body.tax-product_cat .products .inline-column.product,
    body.tax-product_cat .products .inline-column.product.first,
    body.tax-product_cat .products .inline-column.product.last {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    body.post-type-archive-product .products .product .product-image-inner,
    body.tax-product_cat .products .product .product-image-inner {
        height: 300px;
    }
    
    body.post-type-archive-product .products .product .product-image-inner img,
    body.tax-product_cat .products .product .product-image-inner img {
        max-height: 280px;
    }
}

.container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after {
    display: inherit;
    content: none !important;
}

#page-title{
	display:none;
}



/* =========================================
   MINI CART – OSTAVI KOLIČINU, UKLONI DUGMIĆE
   ========================================= */

/* ukloni samo interaktivni quantity blok */
.widget_shopping_cart_content 
.woocommerce-mini-cart-item__qty {
    display: none !important;
}


