/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

#category_product_images {
	max-height:253px;
}

.relative-image-wrapper {
    position: relative !important;
}

.home-category-title:hover {
	color: #0B5ED7;
	cursor: pointer;
}

span.semibold {
	font-weight: 600;
}

#menu-kosarica .menu-text {
	display: none;
}


/* PRODUCT PAGE */

.single-product .flexslider .slides img {
    max-height: 450px;
    object-fit: contain;
}

.single-product .flex-control-nav {
    bottom: -40px!important;
}

.onsale {
	left: auto !important;
	right: 15px !important;
}

/* Default badge container (does not handle positioning) */
.custom-product-badges-container {
    pointer-events: none;
    z-index: 10;
}

.custom-product-badges-container .custom-sale-badge {
    position: absolute;
    top: 20px;
    right: 32px;
	z-index: 1;
}

.custom-product-badges-container.badge-single-product .custom-product-badges-wrapper {
    position: absolute;
    top: 20px;
    left: 45px;
	z-index: 1;
}

.custom-product-badges-archive-container .custom-product-badges-archive-wrapper {
    position: absolute;
    top: 32px;
    left: 25px;
	z-index: 1;
}

.custom-product-badges-archive-container .custom-sale-badge-archive {
    position: absolute;
    top: 32px;
    right: 25px;
}

.zaloga-tekst {
	font-weight: 700;
}

.fusion-body .fusion-woo-price-tb.stacked p.price {
    text-align: left !important;
    margin: 0 0 10px 0 !important;
}

.fusion-body .fusion-woo-price-tb.stacked {
    align-items: baseline !important;
}

.fusion-button-wrapper .quantity.buttons_added {
    border: 1px solid #404040 !important;
	border-radius: 10px !important;
}


/* MINI CART */

a.button.wc-forward {
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
}

button.fusion-apply-coupon {
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	padding-left: 70px !important;
	padding-right: 70px !important;
	text-transform: inherit;
	font-size: 15px !important;
    line-height: 22px !important;
    font-weight: 600 !important;
}


/* CART */

#post-41 {
	margin-top: 80px;
}

h2.fusion-responsive-typography-calculated {
	display: none;
}

.coupon.fusion-woo-cart_coupons {
	border-top: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    padding: 30px 0 !important;
}

.custom-cart-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        align-items: flex-start;
    }
    .cart-table-section {
        flex: 0 0 70%;
    }
    .cart-collaterals {
        flex: 0 0 30%;
		margin-top: 0px !important;
    }

.cart-collaterals .cart_totals {
	margin-top: 30px;
	width: 100% !important;
	padding: 0px !important;
}

.wc-block-cart__submit-button {
	background-color: #0B5ED7;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
	margin-top: 20px !important;
}
.wc-block-cart__submit-button:hover {
	color: #fff;
}

.shipping-coupon {
	display: none;
}

a.icon-remove, a.remove {
	border: none !important;
}

.woocommerce-cart .product-thumbnail img {
    border: 0.5px solid #000;
	padding: 15px 0;
}

.woocommerce-cart .product-name a {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.woocommerce-cart .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
	padding-left: 20px;
}

.woocommerce-cart .product-brand {
	font-size: 13px;
    font-weight: 600;
    color: #a7acb2;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-cart .product-price span.amount {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.woocommerce-Price-amount.amount {
	font-size: 16px;
	font-weight: 700;
	color: #000;
}

.cart-subtotal th {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #000;
}

.woocommerce-cart .custom-discount {
    background-color: #F96DA4;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.shop_table thead th {
	border-width: 0px;
	text-transform: none;
}

.woocommerce-cart td, th {
    border-bottom: 1px solid #000;
}

.continue-shopping.pull-left.text-left {
	display: none;
}

.cart-update-btn {
	border: 1px solid #000;
	background-color: transparent;
	color: #000;
	opacity: 1 !important;
	margin-top: 10px !important;
}

.cart-update-btn:hover {
	background-color: #000;
	color: #fff;
}

.cart-collaterals {
	background-color: #F5F5F5;
	padding: 30px 15px !important;
}

.shipping__table.shipping__table--multiple {
	padding: 12px 0;
}

.shipping__table.shipping__table--multiple td {
	border-bottom: none !important;
}

.shop_table.woocommerce-checkout-review-order-table th {
	font-size: 16px;
	font-weight: 700;
	color: #000;
}

.checkout .shop_table tfoot th {
	text-align: left !important;
	width: 60% !important;
}

.shipping__table.shipping__table--multiple th {
	font-size: 18px;
	font-weight: 700;
	color: #000;
}

.shipping__table.shipping__table--multiple ul li label {
	font-size: 16px;
	font-weight: 400;
}

.shipping__table.shipping__table--multiple ul li label span {
	font-size: 16px;
	font-weight: 400;
}

.shipping__table.shipping__table--multiple ul li input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.shipping__table.shipping__table--multiple ul li input[type="radio"] + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    display: inline-block;
    line-height: 0px;
}

.shipping__table.shipping__table--multiple ul li input[type="radio"] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #000;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
}

.shipping__table.shipping__table--multiple ul li input[type="radio"]:checked + label::before {
    background-color: #000;
    border-color: #000;
}

.shipping__table.shipping__table--multiple ul li input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
}

.row-divided>.col+.col:not(.large-12) {
	border-left: none;
}

.cart_totals th.product-name {
    border-width: 1px;
}

.shop_table .order-total th {
	border-width: 1px;
}

.shop_table .order-total td {
	border-width: 1px;
}

tr.order-total th {
	font-size: 22px;
	font-weight: 700;
}

.wc-proceed-to-checkout a {
	background-color: #000 !important;
	padding: 5px 20px;
}

.cart-coupon .coupon .coupon-input-group {
    display: flex;
    align-items: center;
}

.cart-coupon .coupon .coupon-input-group input.input-text {
    width: 65%;
    margin-right: 20px;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 25px 10px;
    box-sizing: border-box;
}

.cart-coupon .coupon .coupon-input-group button.is-form {
    width: 35%;
    background-color: #F96DA4;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    text-shadow: none;
    padding: 7px;
    border-radius: 10px;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

.cart-sidebar .widget-title {
	border-bottom: none;
}

.fusion-update-cart {
	display: none !important;
}

.checkout-button {
	width: 100%;
}

.cart_totals table {
	margin-bottom: 25px;
}

.shop_table td {
	padding: 25px 5px !important;
}


/*---- Checkout ----*/
.checkout-summary {
	background-color: #F5F5F5;
	padding: 30px 15px !important;
}

.checkout_coupon .coupon input.input-text {
    border: 1px solid #000;
    border-radius: 10px;
    padding: 15px 10px;
    box-sizing: border-box;
}

.checkout_coupon .coupon button {
	padding: 0px 35px;
	background-color: #000;
	color: #fff;
}

.coupon .coupon-box {
	margin-right: 15px;
}

.coupon .apply-coupon-btn {
	width: 20%;
}

tr.cart-subtotal td {
	border-bottom: 1px solid #000;
	padding: 20px 0px !important;
}

tr.woocommerce-shipping-totals td {
	border-bottom: 1px solid #000;
	padding: 20px 0px !important;
}

tr.order-total td {
	border-bottom: 1px solid #000;
	padding: 20px 0px !important;
}

.checkout-product-thumbnail img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    width: auto;
    height: auto;
	border: 1px solid #000;
}

.woocommerce-checkout-review-order-table .product-name {
    display: flex;
    align-items: center;
}

.checkout_coupon.woocommerce-form-coupon {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 30px 0;
	margin-bottom: 50px;
}

.woocommerce-billing-fields {
	border-top: none;
}

.woocommerce-billing-fields__field-wrapper input {
	border: 1px solid #000;
	border-radius: 10px;
}

.woocommerce-billing-fields__field-wrapper input::placeholder {
	color: transparent;
}

.woocommerce-billing-fields #billing_country_field .select2-selection {
    border: 1px solid #000 !important;
    border-radius: 10px !important;
    padding: 5px;
}

.woocommerce-billing-fields #billing_country_field .select2-selection__arrow {
    height: 100%;
}

.woocommerce-billing-fields #billing_country_field .select2-selection__rendered {
    line-height: normal;
    padding: 5px;
}

.woocommerce-additional-fields__field-wrapper textarea {
	border: 1px solid #000;
	border-radius: 10px;
}

.woocommerce-additional-fields__field-wrapper textarea::placeholder {
	color: transparent;
}
.os-product-category-filter .is-large {
	display: none;
}

.woocommerce-checkout #order_review .product-total{width:30%;}

.wc-block-components-order-summary-item__description h3.wc-block-components-product-name {
	font-size: 16px;
    line-height: 22px;
}

.checkout-povzetek-narocila {
	background-color: #F5F5F5;
    padding: 0px;
}

.checkout-povzetek-narocila {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 40% !important;
}

.checkout-povzetek-narocila .fusion-column-wrapper {
	padding: 30px 20px !important;
}

.checkout-podatki-narocnika {
	width: 60% !important;
}

.checkout-podatki-narocnika .fusion-woo-checkout-billing-tb {
	padding-top: 30px !important;
}

.shop_table .product-name {
	width: 100% !important;
}

.checkout .shop_table th.product-total {
	width: 20% !important;
}

.checkout .shop_table tbody .product-total {
	width: 20% !important;
}

.wc_payment_methods.payment_methods.methods {
	margin-top: 30px !important;
	background-color: #fff;
	padding: 15px;
}

.checkout-popust-koda .avada-coupon-fields {
	justify-content: space-between;
}

form.checkout_coupon.woocommerce-form-coupon {
	display: block !important;
}

.woocommerce .checkout_coupon {
    display: block !important;
    max-width: 1260px;
    margin: 0 auto 0 auto;
    padding: 20px 0;
	border-left: 0;
	border-right: 0;
}

.woocommerce .checkout_coupon > p:first-of-type {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.woocommerce .checkout_coupon .form-row {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 0;
}

.woocommerce .checkout_coupon .form-row-first {
    width: 70%;
}

.woocommerce .checkout_coupon .form-row-last {
    width: auto;
}

.woocommerce .checkout_coupon input.input-text {
    width: 100%;
    padding: 10px;
    font-size: 15px;
}

.woocommerce .checkout_coupon button.button {
    padding: 10px 20px;
    font-size: 15px;
    background-color: #000; /* Change to match your design */
    color: #fff;
    border: none;
    cursor: pointer;
}

.woocommerce .checkout_coupon .clear {
    display: none;
}

.woocommerce-form-coupon-toggle {
	max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}


/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .checkout .col.large-7,
  .checkout .col.large-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .woocommerce-checkout .woocommerce-form-coupon {
    flex-direction: column;
  }

  .woocommerce-checkout .woocommerce-form-coupon input.input-text {
    width: 100%;
  }

  .woocommerce-checkout .woocommerce-form-coupon button.button {
    width: 100%;
  }
	
	.woocommerce .checkout_coupon .form-row-first {
		width: 100% !important;
		margin-bottom: 20px;
	}
	
	.woocommerce .checkout_coupon .form-row-last {
		width: 100% !important;
	}
}



/* RESPONSIVE */

@media only screen and (max-width: 600px) {
	.single_add_to_cart_button.button {
		font-size: 16px !important;
		line-height: 20px !important;
		padding: 15px 5px !important;
	}
	
	.fusion-button-wrapper .quantity.buttons_added {
		width: calc(20px + 35px + 35px) !important;
	}
	
	.custom-product-badges-container.badge-single-product .custom-product-badges-wrapper {
		top: 12px !important;
    	left: 20px !important;
	}
	
	.custom-product-badges-container .custom-sale-badge {
		top: 12px !important;
    	right: 20px !important;
	}
	
	#menu-glavni-meni-1 {
		margin-top: 10px;
	}
	
	.custom-cart-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .cart-table-section,
    .cart-collaterals {
        width: 100%;
    }
	
	#post-41 {
		margin-top: 60px;
	}
	
	.avada-cart-actions {
		display: none !important;
	}
	
	.woocommerce-cart td, th {
		border-bottom: 0 !important;
	}
	
	.cart-update-wrapper button {
		padding-top: 10px !important;
		padding-right: 20px !important;
		padding-bottom: 10px !important;
		padding-left: 20px !important;
		width: 100%;
	}
	
	a.button.wc-forward {
		text-align: center;
	}
	
	.cart-coupon-inline form.apply-coupon-inline {
		display: block !important;
	}
	
	.cart-coupon-inline form.apply-coupon-inline button {
		margin-top: 20px !important;
		width: 100% !important;
	}
	
	.checkout-podatki-narocnika {
		display: contents !important;
	}
	
	.checkout-povzetek-narocila {
		display: contents !important;
	}
	
	.fusion-woo-checkout-order-review-tb ul.woocommerce-shipping-methods li label {
		padding-left: 0px !important;
	}
	
	.checkout-povzetek-narocila .fusion-column-wrapper {
		padding: 30px 0px !important;
		margin-top: 40px !important;
	}
	
	.avada-coupon-fields {
		display: block !important;
	}
	
	.avada-coupon-fields .button {
		margin-top: 20px !important;
    	width: 100%;
	}
}