/* webkit-specific letter-spacing */
@media screen and (-webkit-min-device-pixel-ratio: 0)
{
	body
	{
		letter-spacing: 0px;
	}
}

/*media queries basic styles*/
@media only screen and (min-width: 0px) and (max-width: 1024px) {

	img {
		max-width: 100%;
		height: auto;
		width: auto\9;
	}
	
	html {
		-webkit-text-size-adjust: none;
	}
	
	body {
		margin: 0;
		padding: 0;
	}

	.cookie_ribon {
		width: 100%;
		z-index: 10999;
		display: none !important;
	}
	
	#toTop {
		display: none !important;
	}
	
	input[type="reset"], input[type="submit"] {
		appearance: none;
		-webkit-appearance: none;
	}

}



/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width: 0px) and (max-width: 599px) {



}

/*MEDIA QUERIES BY AI*/

/* Tablet (769px - 1024px) */
@media only screen and (max-width: 1024px) {
    .mobile_basket{
        display: none;
    }
    .login_cart_right_cnt{
        margin: 7px 0 7px auto;
    }
    .header_top_cnt {
        width: 90%;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .header_phone_cnt {
        margin: 10px 20px 0 0;
        font-size: 18px;
    }

    .header_phone_cnt a {
        font-size: 18px;
    }

    .header_phone_cnt a:last-of-type {
        font-size: 14px;
    }

    .header_phone_cnt i {
        font-size: 18px;
    }

    .logo img {
        max-height: 60px;
    }

    .header_top_cnt a.logo {
        font-size: 32px;
    }

    .header_bottom_cnt {
        width: 90%;
    }

    header nav ul li {
        margin: 0 20px 0 0;
    }

    header nav ul li a {
        font-size: 16px;
    }

    #go_cart i.fa-cart-shopping {
        font-size: 24px;
    }

    .items_in_cart {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
        right: -14px;
        top: -14px;
    }

    .header_social ul li img {
        height: 28px;
    }
.products_featured_cnt section {
        width: 90%;
    }

    .products_featured_cnt h1 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .products_featured_cnt article {
     	width: 47%;
    	padding-bottom: 40px;
    	margin: 0 10px 0 10px;
    }

    .products_featured_cnt article figure {
        max-width: 100%;
        max-height: none;
        padding: 3px;
    }

    .products_featured_cnt article figure img {
        width: 200px;
        height: 280px;
    }

    .products_featured_cnt article h1 {
        font-size: 16px;
        height: 55px;
        line-height: 18px;
        padding: 0 10px;
    }

    .products_featured_cnt article em {
        font-size: 13px;
        height: 90px;
        line-height: 16px;
        padding: 0 10px;
    }

    .price_cnt {
        width: 100%;
        padding: 0 20px !important;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
    }

    .price_cnt strong {
        font-size: 18px;
    }

    .price_cnt del {
        font-size: 13px;
    }

    .price_cnt .sale {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
        left: 50%;
        transform: translateX(-50%);
    }

    .cart_cnt {
        padding: 10px 10px 0;
        gap: 3px;
    }

    .quick_view_btn,
    .shop_btn_add_to_basket {
        font-size: 11px;
        padding: 8px 15px;
    }

    .shop_btn_add_to_basket span {
        font-size: 18px;
    }
	.footer_top_container {
        width: 90%;
        padding: 30px 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer_top_container section {
        width: 48%;
        margin-bottom: 30px;
    }

    .footer_top_container section h1 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer_top_container section nav ul li a {
        font-size: 14px;
    }

    .footer_top_container section nav ul li a i {
        font-size: 14px;
    }

    .footer_top_container section .social ul {
        gap: 15px;
    }

    .footer_top_container section .social ul li a i {
        font-size: 20px;
    }

    .footer_top_container section.payments nav ul li {
        font-size: 13px;
    }

    .footer_top_container section.payments .cards ul li img {
        height: 35px;
    }

    .footer_copyright {
        padding: 20px 0;
    }

    .footer_copyright aside {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer_copyright p {
        font-size: 14px;
        float: none;
        margin: 5px 0;
    }

    .footer_copyright p a {
        font-size: 14px;
    }
 .basic_site_inner_content {
        padding: 40px 0;
    }

    .basic_site_inner {
        width: 90%;
    }

    .basic_site_inner_content h1 {
        font-size: 28px;
        padding: 0 0 8px;
    }

    .basic_site_inner_content h2 {
        font-size: 22px;
        padding: 0 0 5px;
    }

    .basic_site_inner_content h3 {
        font-size: 20px;
        padding: 0 0 5px;
    }

    .basic_site_inner_content em,
    .basic_site_inner_content p {
        font-size: 14px;
        margin: 0 0 12px;
    }

    .basic_site_inner_content figure {
        width: 100%;
        max-width: 300px;
        margin: 0 20px 20px 0;
    }

    .basic_site_inner_content figure img {
        width: 100%;
        height: auto;
    }

    .basic_site_inner_content_contact article {
	width: 35%;
}

.right_column_contact {
	width: 60%;
}

.contact_form div {
	width: 47%;
}
}

/* Mobile (up to 768px) */
@media only screen and (max-width: 768px) {
    .mobile_basket{
        display: none;
    }
    .login_cart_right_cnt{
        margin: 7px 0 7px auto;
    }

    .header_top_cnt {
        width: 95%;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .header_phone_cnt {
        width: 100%;
        margin: 10px 0;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header_phone_cnt a,
    .header_phone_cnt i {
        margin: 5px 8px;
    }

    .header_phone_cnt a {
        font-size: 16px;
    }

    .header_phone_cnt a:last-of-type {
        font-size: 13px;
    }

    .header_phone_cnt i {
        font-size: 16px;
    }

    .logo {
        margin: 0 auto;
        text-align: center;
    }

    .logo img {
        max-height: 50px;
    }

    .header_top_cnt a.logo {
        font-size: 28px;
    }

    .header_bottom_cnt {
        width: 95%;
        padding: 10px;
    }

    


    .basket_content {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    #go_cart {
        justify-content: center;
    }

    #go_cart i.fa-cart-shopping {
        font-size: 22px;
    }

    .items_in_cart {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 11px;
        right: -12px;
        top: -12px;
    }

    .header_social {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .header_social ul {
        justify-content: center;
    }

    .header_social ul li {
        margin: 0 8px;
    }

    .header_social ul li img {
        height: 24px;
    }

    #cart_checkout {
        width: 90%;
        margin: 0 auto;
    }

    .cart_view_cnt {
        padding: 10px;
    }

    .cart_pop_btns_cnt {
        text-align: center;
    }
	 .products_featured_cnt {
        padding: 40px 0;
    }

    .products_featured_cnt section {
        width: 95%;
    }

    .products_featured_cnt h1 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .products_featured_cnt article {
        width: 100%;
        float: none;
        padding-bottom: 30px;
        margin: 0 auto 30px;
    }

    .products_featured_cnt article figure {
        max-width: 280px;
        margin: 0 auto;
        padding: 2px;
    }

    .products_featured_cnt article figure img {
        width: 180px;
        height: 250px;
    }

    .products_featured_cnt article h1 {
        font-size: 14px;
        height: 44px;
        line-height: 16px;
        padding: 0 8px;
    }

    .products_featured_cnt article em {
        font-size: 12px;
        height: 70px;
        line-height: 14px;
        padding: 0 8px;
    }

    .price_cnt {
        width: 100%;
        padding: 0 15px !important;
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .price_cnt strong {
        font-size: 16px;
    }

    .price_cnt del {
        font-size: 12px;
    }

    .price_cnt .sale {
        position: static;
        margin-left: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 11px;
    }

    .cart_cnt {
        flex-direction: row;
        gap: 5px;
        padding: 8px 10px 0;
    }

    .quick_view_btn,
    .shop_btn_add_to_basket {
        font-size: 12px;
        padding: 10px;
        width: 100%;
        justify-content: center;
    }

    .shop_btn_add_to_basket span {
        font-size: 16px;
    }

    /* Modal adjustments for mobile */
    .modal-box {
        width: 95% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        max-height: 80vh;
        overflow-y: auto;
    }
	  .footer_top_container {
        width: 95%;
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
    }

    .footer_top_container section {
        width: 100%;
        margin-bottom: 20px;
        align-items: center;
    }

    .footer_top_container section h1 {
        font-size: 14px;
        text-align: center;
        margin-bottom: 8px;
    }

    .footer_top_container section nav ul {
        align-items: center;
    }

    .footer_top_container section nav ul li {
        margin-bottom: 5px;
    }

    .footer_top_container section nav ul li a {
        font-size: 13px;
        justify-content: center;
    }

    .footer_top_container section nav ul li a i {
        font-size: 13px;
    }

    .footer_top_container section .social ul {
        gap: 15px;
        justify-content: center;
    }

    .footer_top_container section .social ul li a i {
        font-size: 18px;
    }

    .footer_top_container section.payments nav ul li {
        font-size: 12px;
        text-align: center;
    }

    .footer_top_container section.payments .cards {
        margin-top: 8px;
        text-align: center;
    }

    .footer_top_container section.payments .cards h1 {
        font-size: 14px;
    }

    .footer_top_container section.payments .cards ul {
        gap: 8px;
        justify-content: center;
    }

    .footer_top_container section.payments .cards ul li img {
        height: 30px;
    }

    .footer_copyright {
        padding: 15px 0;
    }

    .footer_copyright aside {
        width: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer_copyright p {
        font-size: 12px;
        float: none;
        margin: 5px 0;
    }

    .footer_copyright p a {
        font-size: 12px;
    }
    .basic_site_inner_content {
        padding: 30px 0;
    }

    .basic_site_inner {
        width: 95%;
    }

    .basic_site_inner_content h1 {
        font-size: 24px;
        padding: 0 0 6px;
        text-align: center;
    }

    .basic_site_inner_content h2 {
        font-size: 20px;
        padding: 0 0 5px;
        text-align: center;
    }

    .basic_site_inner_content h3 {
        font-size: 18px;
        padding: 0 0 5px;
        text-align: center;
    }

    .basic_site_inner_content em,
    .basic_site_inner_content p {
        font-size: 13px;
        margin: 0 0 10px;
        text-align: justify;
    }

    .basic_site_inner_content figure {
        width: 100%;
        max-width: 100%;
        margin: 0 0 15px;
        float: none;
        display: block;
    }

    .basic_site_inner_content figure img {
        width: 100%;
        height: auto;
    }
.basic_site_inner_content_contact article {
	width: 100%;
	float: none;
	display: table;
    text-align: center;
}

.right_column_contact {
	width: 100%;
	float: none;
	display: table;
	margin: 30px 0 0;
}

.contact_form div {
	width: 100%;
	float: none;
	display: table;
	margin-right: 0;
}
.contact_form dt{
    width: 100%;
}
.contact_form dd{
    width: 100% !important;
}
.contact_form div.consent_data dd, .consent_data dd{
    width: 100% !important;
}
.contact_form dd.buttons_action{
    width: 235px !important;
    margin: 0 auto !important;
}
}


/*FIX ZA KOŠARICU ZA MOBITEL*/
@media only screen and (min-width: 0px) and (max-width: 550px) {
/*//////// CART CHECKOUT STEPS ///////*/

  .cart-content, .woocommerce-cart-form { /* Zamijeni sa stvarnom klasom */
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }

  
.HeadShop dt {
	width: 100%;
	display: table;
}

.ListTop {
	display: none !important;
}

.checkout_process dl.ListBottomLighter,
.checkout_process dl.ListBottomDarker {
	margin: 0 0 40px;
	padding: 0 0 40px;
	background: #fff;
}

.checkout_process dl.ListBottomLighter dd:before,
.checkout_process dl.ListBottomDarker dd:before {
	font-size: 12px;
	color: #2d2d2d;
	font-weight: 600;
	margin: 0;
	padding: 12px 20px;
	background: #f0f0f0;
	border-right: 1px solid #d7d7d7;
	width: 100%;
	position: absolute;
	left: 0;
	top: -39px;
	box-sizing: border-box;
}

.checkout_process dl.ListBottomLighter dd:nth-of-type(1):before,
.checkout_process dl.ListBottomDarker dd:nth-of-type(1):before {
	content: "R.br.";
}

.checkout_process dl.ListBottomLighter dd:nth-of-type(2):before,
.checkout_process dl.ListBottomDarker dd:nth-of-type(2):before {
	content: "Artikl";
}

.checkout_process dl.ListBottomLighter dd:nth-of-type(3):before,
.checkout_process dl.ListBottomDarker dd:nth-of-type(3):before {
	content: "Jed. mj.";
}

.checkout_process dl.ListBottomLighter dd:nth-of-type(4):before,
.checkout_process dl.ListBottomDarker dd:nth-of-type(4):before {
	content: "Cijena";
}

.checkout_process dl.ListBottomLighter dd:nth-of-type(5):before,
.checkout_process dl.ListBottomDarker dd:nth-of-type(5):before {
	content: "Kol";
}

.checkout_process dl.ListBottomLighter dd:nth-of-type(6):before,
.checkout_process dl.ListBottomDarker dd:nth-of-type(6):before {
	content: "Iznos";
}

.checkout_process dl.ListBottomLighter dd,
.checkout_process dl.ListBottomDarker dd {
	width: 100% !important;
	display: table;
	text-align: left !important;
	position: relative;
	margin-top: 39px;
}

.artikl-img {
	display: table;
	padding: 0 20px;
	margin: 0 0 10px;
}

.artikl-img img {
	max-height: 100%;
}

.artikl-info {
	width: 100%;
	display: table;
}

.cart_quantity input {
	width: 100%;
}

.cart_quantity a {
	width: 25%;
}

.PDVList dd {
	padding: 15px 10px;
}

#back_to_shop {
	width: 43.5%;
	margin: 0 5px;
}

#back_to_shop a {
	width: 100%;
	margin: 0;
	padding-left: 7px !important;
	padding-right: 7px !important;
	font-size: 11px !important;
}

#back_to_shop a:hover {
	font-size: 11px !important;
}

 .prevStep {
	width: 43.5%;
	padding-left: 7px !important;
	padding-right: 7px !important;
	font-size: 11px !important;
    margin: 0 5px !important;
}

.prevStep:hover {
	font-size: 11px !important;
}

.nextStep {
	width: 43.5%;
	padding-left: 7px !important;
	padding-right: 7px !important;
	font-size: 11px !important;
}

.nextStep:hover {
	font-size: 11px !important;
}

.confirmStep {
	width: 43.5%;
	padding-left: 7px !important;
	padding-right: 7px !important;
	font-size: 11px !important;
}

.confirmStep:hover {
	font-size: 11px !important;
}

#second_step_form .prevStep {
	width: 43.5%;
	font-size: 10px !important;
}

#second_step_form .prevStep:hover {
	font-size: 10px !important;
}

#second_step_form .nextStep {
	width: 43.5%;
	font-size: 10px !important;
}

#second_step_form .nextStep:hover {
	font-size: 10px !important;
}

#order_form .middle_order_form_left_column,
#order_form .middle_order_form_right_column,
.MiddleOrderForm .middle_order_form_left_column,
.MiddleOrderForm .middle_order_form_right_column {
	width: 100%;
	float: none;
	display: table;
}

#order_form .middle_order_form_right_column,
.MiddleOrderForm .middle_order_form_right_column {
	float: none;
}

.LeftLogin, .RightRegister, .MiddleOrderForm {
	width: 100%;
	float: none;
	display: table;
	padding: 15px;
}

.shop_receipt_customer_info_left_column, .shop_receipt_customer_info_right_column {
	width: 100% !important;
	float: none !important;
	display: table !important;
	margin-bottom: 40px !important;
}

.shop_receipt_customer_info_right_column {
	border: none !important;
}

.shop_receipt_customer_info dl dt {
	width: 38% !important;
}

.shop_receipt_customer_info dl dd {
	width: 60% !important;
}

.basic_site_inner_content .main_container .shop_receipt_content {
	width: 304px;
	display: block;
	overflow: scroll;
}

.ListTopConfirm {
	display: none !important;
}

#complete_order dl.ListBottomconfirmLighter,
#complete_order dl.ListBottomconfirmDarker {
	margin: 0 0 40px;
	padding: 0 0 40px;
	background: #fff;
}

#complete_order dl.ListBottomconfirmLighter dd:before,
#complete_order dl.ListBottomconfirmDarker dd:before {
	font-size: 12px;
	color: #2d2d2d;
	font-weight: 600;
	margin: 0;
	padding: 12px 20px;
	background: #f0f0f0;
	border-right: 1px solid #d7d7d7;
	width: 100%;
	position: absolute;
	left: 0;
	top: -39px;
	box-sizing: border-box;
}

#complete_order dl.ListBottomconfirmLighter dd:nth-of-type(1):before,
#complete_order dl.ListBottomconfirmDarker dd:nth-of-type(1):before {
	content: "R.br.";
}

#complete_order dl.ListBottomconfirmLighter dd:nth-of-type(2):before,
#complete_order dl.ListBottomconfirmDarker dd:nth-of-type(2):before {
	content: "Naziv proizvoda";
}

#complete_order dl.ListBottomconfirmLighter dd:nth-of-type(3):before,
#complete_order dl.ListBottomconfirmDarker dd:nth-of-type(3):before {
	content: "Jed. mj.";
}

#complete_order dl.ListBottomconfirmLighter dd:nth-of-type(4):before,
#complete_order dl.ListBottomconfirmDarker dd:nth-of-type(4):before {
	content: "Cijena";
}

#complete_order dl.ListBottomconfirmLighter dd:nth-of-type(5):before,
#complete_order dl.ListBottomconfirmDarker dd:nth-of-type(5):before {
	content: "Kol";
}

#complete_order dl.ListBottomconfirmLighter dd:nth-of-type(6):before,
#complete_order dl.ListBottomconfirmDarker dd:nth-of-type(6):before {
	content: "Ukupni iznos";
}

#complete_order dl.ListBottomconfirmLighter dd,
#complete_order dl.ListBottomconfirmDarker dd {
	width: 100% !important;
	display: table;
	text-align: left !important;
	position: relative;
	margin-top: 39px;
}

form[name="check_coupon"] input {
	width: 180px !important;
	max-width: 180px !important;
}

.IznosBottomLast {
	padding-left: 20px;
	padding-right: 20px;
}

.ButtonBox {
	width: 100%;
}

.PdvListTop {
    display: none !important;
}
.PDVList{
    width: 100%;
}
.PDVList dl.PdvListBottomDarker {
    margin: 0 0 40px;
    padding: 0 0 40px;
    background: #fff;
}

.PDVList dl.PdvListBottomDarker dd:before {
    font-size: 12px;
    color: #2d2d2d;
    font-weight: 600;
    margin: 0;
    padding: 12px 20px;
    background: #f0f0f0;
    border-right: 1px solid #d7d7d7;
    width: 100%;
    position: absolute;
    left: 0;
    top: -39px;
    box-sizing: border-box;
}

.PDVList dl.PdvListBottomDarker dd:nth-of-type(1):before {
    content: "Dostavna služba";
}

.PDVList dl.PdvListBottomDarker dd:nth-of-type(2):before {
    content: "Stopa";
}

.PDVList dl.PdvListBottomDarker dd:nth-of-type(3):before {
    content: "Osnovica";
}

.PDVList dl.PdvListBottomDarker dd:nth-of-type(4):before {
    content: "Iznos poreza";
}

.PDVList dl.PdvListBottomDarker dd:nth-of-type(5):before {
    content: "Dostava";
}

.PDVList dl.PdvListBottomDarker dd {
    width: 100% !important;
    display: table;
    text-align: left !important;
    position: relative;
    margin-top: 39px;
}
.messi {
    position: fixed !important; /* Koristimo fixed za bolje centriranje na cijelom ekranu */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    max-width: 500px !important; /* Zadržava maksimalnu širinu od 500px na većim ekranima, ali 100% na malim */
    margin: 0 !important;
    z-index: 100000 !important; /* Zadržavamo visoki z-index */
    opacity: 1 !important;
}

.messi-box {
    width: 100% !important; /* Prilagođava se roditelju */
    max-width: 500px !important;
    margin: 0 auto !important; /* Dodatno centriranje ako je potrebno */
}

.messi-wrapper {
    width: 100% !important;
}

.messi-titlebox,
.messi-content,
.messi-footbox {
    width: 100% !important;
    box-sizing: border-box !important;
}

}