/* ===================================================== WooCommerce: zajedničko + shop */
.fx-shop{padding:40px 15px}
.fx-page-title--shop{padding-top:20px;padding-bottom:20px}

/* Traka iznad liste */
.fx-shop-head{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin:0 0 30px}
.fx-shop-head__left,.fx-shop-head__right{display:flex;flex-wrap:wrap;align-items:center;gap:10px 30px}
.fx-perpage{display:flex;align-items:center;color:rgba(255,255,255,.7)}
.fx-perpage__label{font-weight:600;color:#fff;margin-right:7px}
.fx-perpage a{padding:0 7px;color:rgba(255,255,255,.7)}
.fx-perpage a.is-current,.fx-perpage a:hover{color:#fff;font-weight:600}
.fx-perpage__sep{opacity:.3}
.woocommerce-ordering{margin:0}
.woocommerce-ordering select{height:29px;width:auto;max-width:220px;padding:0 22px 0 0;border:0;border-bottom:2px solid transparent;font-weight:600;font-size:15px;color:#fff;background-position:right 0 center;background-size:14px}
.woocommerce-ordering select:focus{border-bottom-color:var(--fx-primary)}
@media (max-width:768px){
	.fx-shop{padding:20px 15px}
	.fx-shop-head{margin-bottom:20px}
	.fx-perpage{display:none}
	.woocommerce-ordering select{max-width:160px;font-size:14px}
}

/* Mreža proizvoda */
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
ul.products::before,ul.products::after{display:none}
@media (max-width:1024px){ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:768px){ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

.fx-product{position:relative;display:flex;flex-direction:column;margin:0;background:#111;box-shadow:0 0 4px rgba(0,0,0,.12);line-height:1.4}
.fx-product__thumb{position:relative;overflow:hidden;aspect-ratio:1/1;background:#0f0f0f}
.fx-product__img{display:block;position:relative;height:100%}
.fx-product__img img{display:block;width:100%;height:100%;object-fit:cover}
.fx-product__hover{position:absolute;inset:0;opacity:0;transition:opacity .5s,transform 2s cubic-bezier(0,0,.44,1.18)}
@media (hover:hover){.fx-product:hover .fx-product__hover{opacity:1;transform:scale(1.09)}}
.fx-labels{position:absolute;top:7px;left:7px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:50%;pointer-events:none}
.fx-label,.onsale{display:block;padding:5px 10px;border-radius:12px;background:#333;color:#fff;font:600 12px/1.2 var(--fx-font);text-transform:uppercase;text-align:center;white-space:nowrap}
.fx-label--out{background:#000}
.fx-product__actions{position:absolute;top:10px;right:10px;z-index:4;opacity:0;visibility:hidden;transform:translateX(20px);transition:all .3s;background:#0f0f0f;box-shadow:1px 1px 1px rgba(0,0,0,.1);border-radius:5px}
.fx-product:hover .fx-product__actions,.fx-product:focus-within .fx-product__actions{opacity:1;visibility:visible;transform:none}
.fx-product__actions .button{width:50px;height:45px;min-height:0;padding:0;background:transparent;color:#fff;border-radius:5px;font-size:0}
.fx-product__actions .button .fx-icon{width:20px;height:20px}
.fx-product__actions .button:hover{background:rgba(255,255,255,.08);box-shadow:none;color:var(--fx-primary)}
.fx-product__actions .button.loading{opacity:.5}
.fx-product__actions .added_to_cart{display:none}
@media (hover:none){.fx-product__actions{display:none}}
.fx-product__bottom{flex:1 1 auto;display:flex;flex-direction:column;gap:12px;padding:15px}
.fx-product__title{margin:-3px 0;font:400 15px/1.4 var(--fx-font-title);text-transform:none;color:#fff}
.fx-product__title a{color:#fff}
.fx-product__title a:hover{color:rgba(255,255,255,.6)}
.fx-product .price{display:block;margin:auto 0 -3px;font-weight:600;color:var(--fx-primary)}
.price del{font-size:.9em;font-weight:400;color:rgba(255,255,255,.5);margin-right:4px}
.price ins{text-decoration:none;background:none}
@media (max-width:768px){
	.fx-product{font-size:13.5px;line-height:1.4}
	.fx-product__bottom{padding:10px;gap:10px}
	.fx-product__title{font-size:13.5px;margin:-2.7px 0}
	.fx-product .price{margin:0 0 -2.7px}
}

/* Paginacija */
.woocommerce-pagination,.fx-pagination,.nav-links{margin-top:40px;text-align:center}
.woocommerce-pagination ul,.fx-pagination ul{display:inline-flex;gap:8px;list-style:none;margin:0;padding:0}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;color:#fff;font-weight:600}
.page-numbers.current{background:#fff;color:#333}

/* Obaveštenja */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{list-style:none;margin:0 0 30px;padding:15px 20px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;line-height:1.4;color:#fff}
.woocommerce-message{background:rgb(228,203,134);color:#fff}
.woocommerce-info{background:#E0B252}
.woocommerce-error{background:#e01020;flex-direction:column;align-items:flex-start}
.woocommerce-message .button,.woocommerce-info .button{order:2;min-height:36px;font-size:12px;padding:5px 14px}
.woocommerce-message a:not(.button),.woocommerce-info a:not(.button){color:#fff;text-decoration:underline}

/* Količina (proizvod i korpa) */
.quantity{display:inline-flex;align-items:stretch;width:auto}
.quantity .qty{width:40px;min-width:40px;height:42px;padding:0;text-align:center;-moz-appearance:textfield;border-left:0;border-right:0}
.quantity .qty::-webkit-inner-spin-button,.quantity .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.fx-qty-btn{width:25px;height:42px;padding:0;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;font-size:14px}
.fx-qty-btn:hover{background:rgba(255,255,255,.08)}

.fx-qty-btn{display:flex;align-items:center;justify-content:center;min-height:0;line-height:1;border-radius:0;box-shadow:none}
.shop_table .quantity{margin:0}
