/**
 * Theme Name: Hortia
 * Description: A custom Blocksy Child theme for Hortia website.
 * Author: Mihael Zadravec
 * Author URI: https://mihaelzadravec.com
 * Version: 1.0.0
 * Template: blocksy
 * Text Domain: hortia
 */

 /* HEADER TOP ROW FULL WIDTH FIX
 --------------------------------*/
 #header [data-row="top"] [data-items] .ct-header-content-block {
    width:100%;
 }

 .align-center {
	justify-content:center!important;
	text-align: center!important;
 }

 /* Header search
 ----------------------------*/
 /*body.woocommerce-cart #header [data-row="bottom"],*/
 body.woocommerce-checkout #header [data-row="bottom"] {
	display:none!important;
 }

/* BACK TO TOP BUTTON custom color
-----------------------------*/
body .ct-back-to-top {
	background:var(--theme-palette-color-1)!important;
}
/* HIDE BACK TO TOP BUTTON on Product page
-----------------------------*/
body.single-product .ct-back-to-top {
	display:none!important;
}

 /**
* -------------------------------------------
* HOMEPAGE & GENERAL STYLES
* -------------------------------------------
*/

@media screen and (max-width:834px) {

	.maxi-full-width {
		width:100vw!important;
		max-width:100vw!important;
		padding-left:0;
		padding-right:0;
		margin:0;
	}

	.main-cover-wrap {
		width:100vw!important;
		max-width:100vw!important;
		padding-left:0;
		padding-right:0;
		margin:0;
	}

	.guarantees-top {
		width:100vw!important;
		max-width:100vw!important;
		padding-left:45px;
		padding-right:45px;
	}
}
@media screen and (max-width:480px) {
	.guarantees-top {
		padding-left:20px;
		padding-right:20px;
		padding-top:20px;
		padding-bottom:20px;
	}
}


/**
* -------------------------------------------
* PRODUCT CARD @ ARCHIVE, LISTS
* -------------------------------------------
*/

@media screen and (max-width:480px) {
	body.archive #main .ct-container {
		padding-top:10px!important;
	}
}

@media screen and (min-width:835px) {
	/* Extra bottom spacing on Product Category pages */
	body.tax-product_cat #main .ct-container[data-vertical-spacing="top:bottom"] {
		padding-bottom:90px;
	}
}


/* Filters 
--------------------------*/

body .ct-toggle-filter-panel {
	font-size:14px!important;
	font-weight:300!important;
	border-color:#979797!important;
	padding-top:5px!important;
	padding-bottom:5px!important;
}
body .woo-listing-top .ct-icon,
body .woo-listing-top .ct-icon-container svg {
	width:14px!important;
	height:14px!important;
}
body select.orderby {
	border-color:#979797!important;
}

/* Product image 
--------------------------*/
body [data-products] .product figure {
    --product-element-spacing: 0px;
}
body [data-products] .product figure,
body [data-products] .product figure img,
.ct-media-container img, 
.ct-media-container picture {
	border-radius:8px!important;
	background-color: var(--theme-palette-color-7);
}

body ul.products .product,
body .products .product {
	display:flex;
	flex-direction:column;
	/*padding:30px;
	border:solid 1px rgba(0,0,0,0.1); */
	transition:background 0.2s ease-out, border-color 0.2s linear;
	gap:20px;
	height:100%;
	min-height:100%;
    border-radius:16px;
}
body ul.products .product:hover,
body .products .product:hover {
	/*border:solid 1px var(--theme-palette-color-6);*/
	border-color:var(--theme-palette-color-4);
	/*background:var(--theme-palette-color-11);*/
}

/* Product image
----------------------------*/
body ul.products figure,
body .products figure {
	border:solid 1px #e0e0e0;
}
body ul.products figure,
body ul.products figure img,
body .products figure,
body .products figure img,
body [data-products] figure .ct-media-container {
	border-radius:8px!important;
}

/* Product Card Badges
----------------------------*/
body ul.products .ct-woo-badges,
body .products .ct-woo-badges {
	/*display:none; /* also turn off in Customizer */
	top:0!important;
	inset-inline-start:0!important;
}
.maxi-product-card--badges {
	position:absolute;
	top:15px!important;
	inset-inline-start:15px!important;
	background:rgba(255,0,0,0);
	display:flex;
	flex-direction:row;
	width:calc(100% - 30px);
	justify-content:flex-end;
	align-items:center;
	pointer-events: none;
}
.maxi-product-card-badge {
	font-size:16px;
	text-transform:uppercase;
	padding:4px 10px;
	background:var(--theme-palette-color-1);
	color:var(--theme-palette-color-8);
	font-weight:800!important;
	border-radius: 8px;
}

body .products .out-of-stock-badge {
	background:var(--theme-palette-color-4);
	color:#FFF!important;
	font-size:16px;
	text-transform:none;
	padding:4px 10px;
	line-height:32px;
	border-radius: 8px;
}

[data-products] .maxi-product-card-badge--discounnew {
	display:flex;
	flex-direction:row;
	gap:4px;
}
/* Product Card Badge - Discount */
.maxi-product-card-badge--discount {
	background:var(--theme-palette-color-2);
	color:#FFF!important;
}
/* Product Card Badge - New */
.maxi-product-card-badge--new {
	background:var(--theme-palette-color-1);
	color:#FFF!important;
}

/* Product card star rating
-----------------------------*/
[data-products] .ct-woo-card-rating {
	margin-bottom:0!important;
}

/* Product title
----------------------------*/
.woocommerce-loop-product__title {
	font-size:18px;
	text-transform: none;
	font-weight: 500;
	margin-bottom:0!important;
	margin-top:-3px;
}

/* Price + Button wrapper @ Product Card type 1 */
.maxi-product-card__price_button_wrap {
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:space-between;
	flex-wrap:nowrap;
	margin-top: auto;
	gap:15px;
}

body [data-products] .product .price {
	margin-top:-10px;
	margin-bottom:0px;
}
body [data-products] .product .price del {
	font-size:80%;
}

/* Add to cart button
----------------------------*/
body .products .product a.add_to_cart_button {
	width:100%!important;
	text-transform:uppercase;
	font-weight: 700;
	border: solid 1px var(--theme-palette-color-1);
}
body .products .product:hover a.add_to_cart_button {
	width:100%!important;
	background:var(--theme-palette-color-1);
	color:var(--theme-palette-color-8);
}

/**
* -------------------------------------------
* SHOPPING CART PAGE
* -------------------------------------------
*/
@media screen and (max-width:835px) {

	/* Remove bottom spacing on Cart page */
	body.woocommerce-cart [data-vertical-spacing*=bottom] {
		/*padding-bottom: var(--theme-content-vertical-spacing);*/
		padding-bottom: 0px;
	}
	body.woocommerce-cart [data-vertical-spacing*=top] {
		padding-top: var(--theme-content-vertical-spacing);
	}
}


/* WooCommerce Cart & Checkout Page Notices
------------------------------------*/
@media screen and (max-width:835px) {

	:is(
		.woocommerce-info,
		.woocommerce-error,
		.woocommerce-message,
		.woocommerce-thankyou-order-received):before {
		top: 9px!important;
	}

	.woocommerce-notices-wrapper .woocommerce-message,
	body .woocommerce-NoticeGroup {
		margin-top:0px;
	}
	body .woocommerce-NoticeGroup {
		margin-bottom:0px;
	}

	body .wc-empty-cart-message {
		margin-top:15px!important;
	}
	body .wc-empty-cart-message .cart-empty {
		margin-bottom:20px!important;
	}
	body .wc-empty-cart-message .cart-empty::before {
		top:19px!important;
	}
	
	/*body .woocommerce-message .restore-item {
		display:none!important;
		padding:0!important;
		background:none!important;
		color:inherit!important;
		min-height:auto!important;
		margin-top:0!important;
		font-size:inherit!important;
		line-height:inherit!important;
	}*/
}
@media screen and (max-width:480px) {
	body .wc-empty-cart-message {
		margin-top:0px!important;
	}
	body .woocommerce-info.cart-empty {
		margin-bottom:15px!important;
		margin-top:20px!important;
	}
}
body .woocommerce-message .restore-item {
	display:none!important;
	padding:0!important;
	background:none!important;
	color:inherit!important;
	min-height:auto!important;
	margin-top:0!important;
	font-size:inherit!important;
	line-height:inherit!important;
}



/* Product thumbnail width on cart page
------------------------------------*/
@media (min-width: 835px) {
    [class*=ct-woocommerce] .shop_table [class*=product-thumbnail] {
        width: 150px!important;
    }
}

/* Hide table headings on Mobile cart page
------------------------------------*/
@media screen and (max-width:835px) {
	body.woocommerce-cart table.shop_table thead {
		display:none;
	}
	body.woocommerce-cart table.shop_table td,
	body.woocommerce-cart table.shop_table th {
		vertical-align:top;
		padding-top:10px;
		padding-bottom:10px;
	}
	body.woocommerce-checkout table.shop_table th {
		vertical-align:top;
		padding-top:5px;
		padding-bottom:5px;
	}
	@media (max-width:481px) {
		[class*=ct-woocommerce] .shop_table [class*=product-thumbnail] {
			width:70px!important;
		}
	}
	
	/* Cart item borders - hide last border
	-------      default: vsi imajo border */
	body.woocommerce-cart table.shop_table tbody tr.cart_item {
		--theme-table-border-width: 0 0 1px 0 !important;
	}

	/* samo en izdelek → brez borderja */
	body.woocommerce-cart
	table.shop_table
	tbody:not(:has(tr.cart_item + tr.cart_item))
	tr.cart_item {
		--theme-table-border-width: 0 !important;
	}

	/* več izdelkov → zadnji brez borderja */
	body.woocommerce-cart
	table.shop_table
	tbody:has(tr.cart_item + tr.cart_item)
	tr.cart_item:not(:has(+ tr.cart_item)) {
		--theme-table-border-width: 0 !important;
	}
}

.woocommerce-message[role="alert"] {
	border:solid 1px var(--theme-palette-color-1);
	background:var(--theme-palette-color-9);
	color:var(--theme-palette-color-2);
	outline:none!important;
}
.woocommerce-message a.wc-forward {
	display:none;
}

body button[name="update_cart"] {
	display:none!important;
}

body .ct-woocommerce-cart-form {
	gap:90px;
}
@media screen and (max-width:480px) {
	.woocommerce-message[role="alert"],
	.woocommerce-message,
	.woocommerce ul.woocommerce-error {
		margin-bottom:1rem!important;
		font-size:13px;
		padding:7px 15px 7px 50px;
		height:auto;
		min-height:auto;
	}
	body .ct-woocommerce-cart-form {
		gap:0px;
	}
	.woocommerce ul.woocommerce-error {
		margin-top:10px!important;
	}
}
@media screen and (max-width:835px) {
	.woocommerce-message[role="alert"],
	.woocommerce-message,
	.woocommerce ul.woocommerce-error {
		margin-bottom:0rem!important;
	}
	body .ct-woocommerce-cart-form {
		gap:0px;
	}
}

.ct-woocommerce-cart-form .cart_totals {
	--cart-totals-border:solid 1px #e0e0e0;
	/*background:var(--theme-palette-color-7);*/

	/*background:var(--theme-palette-color-10);
	border-radius:8px!important;*/

	background:#F2F5F3!important;
	border:solid 1px #AAB3AC!important;
	border-radius:8px!important;
}
@media screen and (max-width: 835px) {
	.ct-woocommerce-cart-form .cart_totals {
		width:calc(100% + 10vw);
		margin-left:-5vw;
		border-width:1px 0 0 0!important;
		border-radius:0px!important;
		border-bottom-left-radius: 0!important;
		border-bottom-right-radius: 0!important;
		--cart-totals-padding: 5vw;
		padding-top:30px!important;
		background:var(--theme-palette-color-10)!important;
	}
}
.wc-proceed-to-checkout a.checkout-button,
body button#place_order {
	background:var(--theme-palette-color-1);
	font-size:1em;
	font-weight:700;
	padding-top:15px;
	padding-bottom:15px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap:10px;
	text-transform:uppercase;
}
.wc-proceed-to-checkout a.checkout-button::after {
	font-size:24px;
}
.wc-proceed-to-checkout a.checkout-button:hover,
body button#place_order:hover {
	background:var(--theme-palette-color-2);
}

/* Cart coupons
---------------------------------------*/
.woocommerce-cart-form__contents .coupon {
	flex-wrap:wrap;
}
body .cart .coupon p.coupon-error-notice {
	flex-basis:100%;
	margin:10px 0 0 0;
	text-align:left;
	color: rgb(182, 0, 36);
}
body .cart .coupon p.coupon-error-notice::before {
	content: "*";
	margin-right:5px;
}
body.woocommerce-cart .shop_table {
	margin-top:15px;
	margin-bottom:0px;
}
@media (max-width:480px) {
	body.woocommerce-cart .shop_table {
		margin-top:5px;
		margin-bottom:0px;
	}
}
body.woocommerce-cart .shop_table .product-mobile-actions {
	margin-top:7px;
}



/*
.product-remove {
	display: none;
}*/

/**
Cart totals 
---------------------------------------*/
body .cart_totals .includes_tax,
body #order_review .includes_tax {
	display:none!important;
}
body .cart_totals .maxi-cart-price-suffix,
body #order_review .maxi-cart-price-suffix {
	font-size:13px;
	opacity:0.8;
	display:block;
	font-weight:400;
	white-space:nowrap;
}
body .cart_totals .maxi-cart-price-suffix,
body #order_review .maxi-cart-price-suffix {
	position:absolute;
	top:calc(100% - 12px);
	right:0;
}
@media (max-width:480px) {
	body .cart_totals .maxi-cart-price-suffix,
	body #order_review .maxi-cart-price-suffix {
		position:absolute;
		top:calc(100% - 7px);
		right:0;
		font-size:11px;
		white-space:nowrap;
	}
}
body .cart_totals .woocommerce-shipping-destination strong {
	font-weight:400;
	display:inline-block;
}

body .cart_totals th,
body .cart_totals td {
	padding:12px 20px;
	font-weight: normal;
}
body .cart_totals td {
	text-align:right!important;
}

body .cart_totals h2,
body .ct-woocommerce-cart-form .cart_totals h2 {
	font-size:24px;
	font-weight:400;
}
@media (max-width:480px) {
	body .cart_totals h2,
	body .ct-woocommerce-cart-form .cart_totals h2 {
		font-weight:400;
	}
}

body .cart_totals tr.order-total th,
body .cart_totals tr.order-total td {
	font-size:18px;
	font-weight:700;
}

.ct-woocommerce-cart-form .cart_totals .order-total td {
	position:relative;
}

/* Product variation font size in cart
-----------------*/

body .shop_table .ct-checkout-cart-item-title {
	margin-bottom:0!important;
}
body .shop_table dl.variation {
	margin-top:0px!important;
	margin-bottom:0px!important;
}
body .shop_table dl.variation dt.variation-Cenanakos,
body .shop_table dl.variation dd.variation-Cenanakos {
	font-size:12px!important;
	white-space: nowrap;
}

body .shop_table .quantity[data-type=type-2] {
	margin-top:10px;
	zoom:0.8;
	background:#FFF!important;
}
body .shop_table .quantity[data-type=type-2] input {
	font-size:130%;
}
body .shop_table .quantity[data-type=type-2] .ct-increase,
body .shop_table .quantity[data-type=type-2] .ct-decrease {
	zoom:1.2!important;
}


/* List payment options - cards, paypal, etc.
-----------------*/
.list-payment-options {
	position:relative;
	text-align:center; 
	margin:30px auto 0 50%;
	transform:translateX(-50%);
	border:solid 1px #ccc; 
	padding:15px 15px 0; 
	border-radius:8px; 
	display:inline-block;
}
.list-payment-options-label {
	width:fit-content; 
	white-space:nowrap;
	font-size:14px;
	position:absolute;
	top:0;left:50%;
	transform:translateX(-50%) translateY(-50%);
	/*background:var(--theme-palette-color-10); */
	background:#F2F5F3;
	padding:2px 10px;
}
@media screen and (max-width:835px) {
	.list-payment-options-label {
		background:var(--theme-palette-color-10); 
	}
}
@media screen and (max-width:480px) {
	.list-payment-options {
		padding:15px 7px 0; 
	}
}


/* Cart item price - sale price layout
-----------------*/

/* Hide default cross-sells on cart page */
body.woocommerce-cart .cross-sells {
	display: none;
}

.cart_item .maxi-cart-price {
	display:flex;
	flex-direction:column;
	gap:0px;
	align-items:flex-start;
}
.cart_item .maxi-cart-price--amount {
	display:flex;
	flex-direction:row;
	gap:10px;
	align-items:flex-start;
}
.cart_item .maxi-cart-price del {
	order:1;
	text-decoration-thickness: 1px;
}
.cart_item .maxi-cart-price ins {
	order:2;
	font-weight:600;
}
.cart_item .maxi-cart-price .maxi-cart-badge {
	display:none;
	order:3;
}

/* Cart subtotal item price - sale price layout
-----------------*/
.cart_item .product-subtotal .maxi-cart-price {
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:0;
}
.cart_item .product-subtotal .maxi-cart-price--amount {
	display:flex;
	flex-direction:row;
	gap:8px;
	align-items:flex-end;
}
.cart_item .product-subtotal .maxi-cart-price del {
	order:1;
}
.cart_item .product-subtotal .maxi-cart-price ins {
	order:2;
	font-weight:600;
}
.cart_item .product-subtotal .maxi-cart-price .maxi-cart-badge {
	display:block;
	order:3;
	font-size:14px;
}

.woocommerce-shipping-fields {
	margin-top:-20px;
	margin-bottom:50px;
}
@media (max-width:835px) {
	h3#order_review_heading {
		/*display:none;*/
		transform:translateY(60px);
	}
	.woocommerce-shipping-fields {
		margin-top:0px;
		margin-bottom:30px;
	}
	.woocommerce-shipping-fields .checkout-spacer {
		height:0px;
	}
}
@media (max-width:480px) {
	h3#order_review_heading {
		/*display:none;*/
		transform:translateY(45px);
	}
}


/*
CHEKCOUT
*/

/* Checkout review order item price
-----------------------*/
@media (max-width:835px) {
	#order_review .product-total {
		padding-top:auto!important;
		padding-bottom:auto!important;
		position:relative;
	}
}

#order_review .product-total .maxi-cart-price {
	display:flex;
	flex-direction:column;
	align-items:flex-end;
	gap:0;
}
#order_review .product-total .maxi-cart-price--amount {
	display:flex;
	flex-direction:row;
	gap:8px;
	align-items:flex-end;
}
#order_review .product-total .maxi-cart-price del {
	order:1;
}
#order_review .product-total .maxi-cart-price ins {
	order:2;
	font-weight:600;
}
#order_review .cart_item .product-total .maxi-cart-price .maxi-cart-badge {
	display:block;
	order:3;
	font-size:13px;
}
#order_review  table.shop_table .woocommerce-Price-amount {
	font-weight:700;
}
@media (max-width:480px) {
	#order_review  table.shop_table .woocommerce-Price-amount {
		font-weight:700!important;
	}
}
	@media (max-width:834px) {
		#order_review .product-total .maxi-cart-price {
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
			right: 0;
			margin-top: -9px;
		}
		#order_review .product-total .maxi-cart-price del,
		#order_review .product-total .maxi-cart-price ins {
			line-height:100%;
		}
		body #order_review .product-total .maxi-cart-price del bdi {
			font-weight:400!important;
			font-size:12px;
			text-decoration-thickness: 1px;
		}
		#order_review .product-total .maxi-cart-price--amount {
			flex-direction:column;
			align-items:flex-end;
			gap:2px;
		}
		#order_review .cart_item .product-total .maxi-cart-price .maxi-cart-badge {
			font-size:12px;
			position:absolute;
			top:calc(100% + 2px);
			right:0;
			white-space:nowrap;
		}
	}

	
/*---------------------------------------*/

/* Legal checkboxes
-------------------------------------*/
.checkout-custom-agreements {
	margin-bottom:15px;
	padding:0px;
	padding-bottom:15px;
	background:none!important;
}
.checkout-custom-agreements-title {
	font-weight:600;
	margin-bottom:10px;
}
.checkout-custom-agreements .form-row {
    margin: 0 0 18px 0;
    padding: 0;
    display: block;
}

.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.5;
	font-size:15px;
}

.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    margin-top: 0px;
    flex-shrink: 0;
}

.woocommerce-form__label-for-checkbox span {
    display: block;
    flex: 1;
}

.woocommerce-form__label-for-checkbox a {
    text-decoration: underline;
}



/* Checkout form layout main paddings to accommodate Woo notices messages
---------------------------------------*/
@media (max-width:835px) {
	body .woocommerce .ct-woocommerce-checkout {
		gap:0px;
	}
	.woocommerce-checkout-review-order {
		margin-top:5vw;
	}
	.woocommerce-billing-fields {
		margin-top:30px!important;
	}
	/* Checkout Login 
	---------------------------------------*/
	.checkout-login {
		margin-top:5px;
	}
}

body.woocommerce-checkout table.shop_table th {
	font-weight:normal;
	border-color:#c7c7c7!important;
	border-width:0 0 1px 0;
}
body.woocommerce-checkout table.shop_table th.product-total {
	text-align:right!important;
}
body.woocommerce-checkout table.shop_table tr.order-total th {
	border-width:0!important;
}
body.woocommerce-checkout table.shop_table td {
	border-color:#c7c7c7!important;
	text-align:right!important;
}
body.woocommerce-checkout table.shop_table td.product-name {
	text-align:left!important;
}
@media (max-width:835px) {
	body.woocommerce-checkout table.shop_table tr.order-total th {
		border-width:0!important;
		font-size:18px!important;
	}
	body.woocommerce-checkout table.shop_table td {
		vertical-align:top;
	}
}	


body button#place_order {
	background:var(--theme-palette-color-1);
	font-size:1.3em;
	font-weight:700;
	padding-top:18px;
	padding-bottom:18px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap:10px;
	text-transform:uppercase;
}
body button#place_order:hover {
	background:var(--theme-palette-color-2);
}

.ct-customer-details {
	border-right:dashed 1px rgba(0,0,0,0.2)!important;
	padding-right:60px;
}
@media (max-width: 835px) {
	body button#place_order {
		font-size:1.1em;
	}
	.ct-customer-details {
		order:2;
		border-right:none!important;
		padding-right:0px;
	}
	.woocommerce-checkout-payment {
		padding:0!important;
		margin-inline:0!important;
	}
}

.checkout-spacer {
	width: 100%;
	height:20px;
}
/*
body.woocommerce-checkout h1.page_title {
	text-align: left;
}*/

body.woocommerce-checkout .ct-customer-details h2,
body.woocommerce-checkout .ct-customer-details h3 {
	font-size:24px; 
	font-weight:600;
}
body.woocommerce-checkout .ct-customer-details h4 {
	font-size:20px;
	font-weight:500;
}

/* When Contact with Email and Phone are on top of the form */
#maxi-contact-first {
	margin-bottom:30px;
}
#maxi-change-billing-details-toggle {
	margin-top:15px;
	margin-bottom:30px;
}
#maxi-change-billing-details-toggle input[type="checkbox"],
.checkout-custom-agreements input[type="checkbox"],
.woocommerce-form__input-checkbox {
	background-color:white;
	width:20px!important;
	height:20px!important;
	margin-top:-2px!important;
}
#maxi-change-billing-details-toggle input[type="checkbox"]:checked,
.checkout-custom-agreements input[type="checkbox"]:checked,
.woocommerce-form__input-checkbox:checked {
	background-color:#1973AF!important;
	border-color:#1973AF!important;
}
#maxi-change-billing-details-toggle label {
	font-weight:600;
	font-size:16px;
}
#maxi-billing-details[data-show="false"] {
	display:none;
}

@media (min-width: 1000px) {
    body form.ct-woocommerce-checkout {
        /*grid-template-columns: repeat(2, minmax(0, 1fr));*/
		grid-template-columns: 2fr minmax(600px, 1fr);
		/*grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);*/
		gap:0px;
    }

	body.woocommerce-checkout .woocommerce {
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		box-sizing: border-box;
	}
	.ct-order-review {
		position:relative!important;
		display:block!important;
		top:auto!important;
	}	
	/*
	.ct-customer-details {
		padding:30px 60px 90px 60px;
		padding-left:clamp(40px,5vw,60px);
		padding-right:clamp(40px,5vw,60px);
		background-color: #fff!important;
	}
	*/

}

form[name="checkout"].checkout-layout {
    display: flex;
    gap: 90px;   
}


.checkout-inline-error-message {
	position: absolute;
    font-size: 13px;
    color: red;
    top: calc(100% + 5px);
    margin: 0;
}

/*------------------------------*/

.woocommerce-billing-fields__field-wrapper {
	margin-bottom:0px;
}
.woocommerce-billing-fields--header {
	display:flex; 
	align-items:center; 
	justify-content: space-between; 
	gap:10px;
	flex-direction:row;
	margin-bottom:15px;
}
.woocommerce-billing-fields--header-note {
	margin-top:-15px;
	margin-bottom:0px;
	opacity:0.8;
 }
@media (max-width: 835px) {
	.woocommerce-billing-fields__field-wrapper {
		margin-bottom:30px!important;
	}
	.woocommerce-billing-fields--header {
		margin-bottom:0;
	}
	.woocommerce-billing-fields--header-note {
		line-height:110%;
		margin-bottom:20px;
	}
}



/**
* FLOATING LABELS
------------------------------------------*/

body.woocommerce-checkout .ct-customer-details input[type="text"],
body.woocommerce-checkout .ct-customer-details input[type="email"],
body.woocommerce-checkout .ct-customer-details input[type="tel"],
body.woocommerce-checkout .ct-customer-details input[type="password"],
body.woocommerce-checkout .ct-customer-details select,
body.woocommerce-checkout .ct-customer-details textarea {
	background-color: rgba(255,255,255,1);
	border:none!important;
	padding:38px 15px 20px 15px!important;
	font-size:18px;
	box-sizing: border-box!important;
}

body.woocommerce-checkout input:focus::placeholder,
body.woocommerce-checkout textarea:focus::placeholder {
    opacity: 0;
	transition: opacity 0.2s ease;
}

.ct-customer-details .form-row {
	box-sizing: border-box!important;
}

.ct-customer-details .form-row:not(#billing_country_field):has(.woocommerce-input-wrapper),
.ct-customer-details .form-row:has(.woocommerce-input-wrapper) {
    position: relative;
	/*border:solid 1px var(--theme-form-field-border-initial-color);*/
	border:solid 1px #555;
	border-radius:4px;
	background:#FFF!important;
	box-sizing: border-box!important;
}
@media (max-width: 480px) {
	.ct-customer-details .form-row:not(#billing_country_field):has(.woocommerce-input-wrapper),
	.ct-customer-details .form-row:has(.woocommerce-input-wrapper) {
		margin:0 0 10px!important;
	}
	.ct-customer-details .form-row.woocommerce-invalid:not(#billing_country_field):has(.woocommerce-input-wrapper), 
	.ct-customer-details .form-row.woocommerce-invalid:has(.woocommerce-input-wrapper) {
		margin-bottom:30px!important;
	}

}

.ct-customer-details .form-row:has(.select2) {
	padding-top:18px;
}
.ct-customer-details .form-row .selection {
	border:none!important;
}

/* Country select field - because the shop is selling to only one specific country */

#billing_country_field,
#shipping_country_field {
	padding-top:26px!important;
	padding-bottom:5px;
	box-sizing: border-box!important;
}
#billing_country_field span.woocommerce-input-wrapper,
#shipping_country_field span.woocommerce-input-wrapper {
	margin-left:15px;
}
#billing_country_field span.woocommerce-input-wrapper strong,
#shipping_country_field span.woocommerce-input-wrapper strong {
	font-weight:400;
}

.woocommerce-checkout .select2-dropdown,
.woocommerce-checkout .select2-container {
    box-sizing: border-box!important;
	padding-top:0!important;
}

.select2-selection__rendered,
.select2-container--focus {
	border-color:transparent!important;
	outline:none!important;
}

span.select2-container .select2-selection--single,
span.select2-container .select2-selection--multiple,
span.select2-container .select2-selection--default {
	border:none!important;
	padding:0!important;
	margin:0!important;
	box-sizing:border-box!important;
}

/* stopi label čez input */

.ct-customer-details .form-row:has(.woocommerce-input-wrapper) label {
    position: absolute;
    top: 4px;
	left:15px;
    font-size: 12px;
    color: #555;
	opacity:1;
    font-size: 12px;
    pointer-events: none;
    transition: 0.2s ease;
    background: none; 
    padding: 0;
}

/* ko je fokus ali polje ni prazno */
/*
.form-row:has(input:focus) > label,
.form-row:has(input:not(:placeholder-shown)) > label {
    top: 6px;
	left:15px;
    font-size: 12px;
    color: #555;
	opacity:1;
}
	*/

/*------------------------------*/

#order_review {
	/*background:#FFF!important;	*/
	/*background: var(--theme-palette-color-10) !important;*/
	background:#F2F5F3!important;
	border:solid 1px #AAB3AC!important;
	border-radius:8px!important;
	padding:0px 30px 0px 30px!important;
	/*border: solid 1px var(--theme-form-field-border-initial-color)!important;*/
	
}
.ct-order-review {
	border:none!important;
	border-color: var(--theme-form-field-border-initial-color)!important;
	border-left:solid 0px var(--theme-form-field-border-initial-color)!important;
	/*background-color: var( --theme-palette-color-7 )!important;*/
	border-radius:0px!important;
	padding:0 0px 30px 60px!important;
	transition: all 0.3s ease;
}
@media (max-width: 835px) {
	#order_review {
		padding:65px 5vw 15px!important;
		width:100vw!important;
		max-width:100vw!important;
		margin-left:-5vw!important;	
		margin-top: -15px!important;
		border:none!important;
		background:var(--theme-palette-color-10)!important;
	}
}
@media (max-width: 480px) {
	#order_review {
		margin-left:-5vw!important;	
		margin-top: -15px!important;
	}
}

.checkout-shipping-methods-wrap {
	margin:20px 0 40px 0;
}
.checkout-shipping-methods-wrap table,
.checkout-shipping-methods-wrap tr,
.checkout-shipping-methods-wrap td {
	border:none!important;
	padding:0!important;
}

/* Order total */
.ct-order-review tr.order-total th,
.ct-order-review tr.order-total td {
	font-size:24px;
	font-weight:700!important;
	position:relative;
}
#order_review tfoot td,
#order_review tfoot th {
	padding-top:15px;
	padding-bottom:15px;
}

@media (max-width: 835px) {
	#order_review tfoot td,
	#order_review tfoot th {
		padding-top:10px;
		padding-bottom:10px;
	}
	.ct-order-review {
		order:1;
		padding-left:0px!important;
		padding-bottom:0px!important;
	}
	.ct-order-review tr.order-total th,
	.ct-order-review tr.order-total td {
		font-size:16px;
	}
}

/*
.ct-order-review tr.order-total td {
	font-size:28px;
}*/
.ct-order-review tr.order-total small.includes_tax {
	display:block;
	position:absolute;
	top:calc(100% - 12px);
	right:15px;
	font-weight:400!important;
	font-size:14px!important;
	width:clamp(200px,20vw,400px);
	opacity:0.7;
}
@media (max-width: 480px) {
	table.shop_table .ct-checkout-cart-item {
		grid-template-columns: 45px 1fr!important;
		align-items:flex-start!important;
		padding-right:45px;
		gap:10px!important;
	}
}

/* Shipping address toggle buttons */
.ship-choice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.ship-toggle-btn {
	display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #FFF;
    color: #222;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ship-toggle-btn:hover {
    border-color: #1973AF;
    background: #fff;
}

.ship-toggle-btn.is-active {
    border-color: #1973AF;
    background: #EFF4FE;
    font-weight: 600;
}

/* RADIO ICON STYLE */
.ship-toggle-btn .fake-radio {
    width: 16px;
    height: 16px;
    border: 1px solid #b9c2cd;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all .18s ease;
	background:#FFFFFF;
}

.ship-toggle-btn.is-active .fake-radio {
    border-color: rgba(255,255,255,0);
	background:#1973AF;
}

/* DOT */
.ship-toggle-btn.is-active .fake-radio::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #FFF;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/**
* SHIPPING METHODS
------------------------------------------*/
ul#shipping_method {
	position: relative;
}
ul#shipping_method li {
	padding: 18px 25px;
	border-width: 1px 1px 1px 1px!important;
    border-style: var(--theme-form-field-border-style, solid);
	border-color: var(--theme-form-field-border-initial-color);
	margin:-1px 0 0 0!important;
	z-index:1;
	background:#FFF!important;
}

ul#shipping_method li {
	border-radius:8px;
}
/*
ul#shipping_method li:first-of-type {
	border-radius:8px 8px 0 0;
}
ul#shipping_method li:last-of-type {
	border-radius:0 0 8px 8px;
	border-bottom-width:1px;
}
	*/
ul#shipping_method li:has(input:checked) {
	border: 1px solid var(--theme-palette-color-1)!important;
	border-color:#1973AF!important;
	box-sizing: border-box;
}
ul#shipping_method li label {
	background:none!important;
}
ul#shipping_method li #gls-map-button {
	border: solid 1px #1973AF;
	background:#FFF;
	color:#1973AF;
	padding:5px 10px;
	border-radius:4px;
	font-size:13px;
	cursor: pointer;
	margin-top:10px;
}
ul#shipping_method li #gls-map-button:hover {
	background:#1973AF;
	color:#FFF;
}
ul#shipping_method li:has(input:checked) {
    background: var(--theme-palette-color-11)!important;
	background-color: #EFF4FE!important;
	border-bottom: 1px solid  var(--theme-palette-color-1)!important;
	border-color:#1973AF!important;
    /*border: 1px solid #456f55!important;*/
	box-sizing: border-box;
	z-index:2
}
ul#shipping_method li:has(input:checked) .field label {
    background: none!important;
	border-bottom:none!important;
    /*border: 1px solid #456f55!important;
	box-sizing: border-box;*/
}

ul#shipping_method li input[type=radio]:checked {
	color:#FFF!important;
	background-color:#1973AF!important;
	border-color:#1973AF!important;
}

.ct-shipping-heading {
	display:none;
}

.woocommerce-checkout-payment .place-order {
	padding-left:0px!important;
	padding-right:0px!important;
}

/**
* PAYMENT METHODS
------------------------------------------*/

#payment ul.payment_methods li.payment_method,
ul.payment_methods li {
	/*padding: 18px 25px;*/
	border: solid 1px var(--theme-form-field-border-initial-color)!important;
	border-radius: var(--has-classic-forms, var(--theme-form-field-border-radius, 3px))!important;
	overflow:hidden!important;
	margin-bottom:10px;
}

form[name="checkout"] ul#shipping_method label[for^="shipping_"] {
	display:inline-block;
}
#payment ul.payment_methods li.wc_payment_method:has(input:checked) {
	border: 1px solid var(--theme-palette-color-1)!important;
	border-color:#1973AF!important;
	box-sizing: border-box;
}
#payment ul.payment_methods li.wc_payment_method label {
	background:#FFF!important;
}
#payment ul.payment_methods li.wc_payment_method:has(input:checked) label {
    background: var(--theme-palette-color-11)!important;
	background-color: #EFF4FE!important;
	border-bottom: 1px solid  var(--theme-palette-color-1)!important;
	border-color:#1973AF!important;
    /*border: 1px solid #456f55!important;*/
	box-sizing: border-box;
}
#payment ul.payment_methods li.wc_payment_method:has(input:checked) .field label {
    background: none!important;
	border-bottom:none!important;
    /*border: 1px solid #456f55!important;
	box-sizing: border-box;*/
}
#payment ul.payment_methods input[type="radio"],
#payment ul.payment_methods li.wc_payment_method input[type=radio]:first-child:checked+label:before {
	color:#1973AF!important;
	background-color:#FFF!important;
	border-color:#1973AF!important;
}
.payment_box {
	background:#FFF!important;
}



/**
* COUPON FORM
* Reposition coupon form on checkout page
-------------------------------------------
*/

/* Hide coupon form by default */
#checkout-coupon-block .woocommerce-info::before,
#checkout-coupon-block .woocommerce-info::after {
	display:none;
}
/* Show repositioned coupon form */
#checkout-coupon-block .woocommerce-form-coupon-toggle {
	display:block;
}
#checkout-coupon-block .woocommerce-form-coupon-toggle .woocommerce-info {
	display: flex;
	flex-direction: row;
	gap:0;
	background:none!important;
	padding:0!important;
	margin: 0 !important;
	border:none!important;
	padding-inline-start: 0px;
	justify-content: space-between;
	text-align: left;
	font-size:13px;
	font-weight:normal;
	min-height:0px;
}
#checkout-coupon-block .woocommerce-form-coupon-toggle .woocommerce-info a {
	display:inline-block;
	padding-left:10px;
	text-decoration:underline;
}
#checkout-coupon-block .form-row {
	width: auto;
	margin-bottom: 0rem;
}
/* Coupon form container */
#custom-coupon-container {
	display:grid;
	grid-template-columns: minmax(0, 2fr) minmax(160px,1fr);
	flex-direction:row;
	gap:10px;
}
#checkout-coupon-block .form-row {
	text-align: left;
	width: auto;
    margin-bottom: 0rem;
	margin-top:10px;
}
#checkout-coupon-block .form-row-first,
#checkout-coupon-block .form-row-last {
	float: none;
	margin-block-end: 0px!important;
	padding-block-start: 0px!important;
	padding-block-end: 0px!important;
	width:100%;
}
#checkout-coupon-block .form-row-last button {
	width:100%;
	font-size:14px;
}
/* Coupon input field */
#checkout-coupon-block  input#custom_coupon_code {
	background-color: rgba(255,255,255,0.6);
	box-sizing: border-box;
}
/* Coupon error message */
#checkout-coupon-block #custom-coupon-error .woocommerce-error {
	margin-top:5px;
	font-size:13px;
	background:none;
	text-align:left;
	color:#B60024;
	padding:0!important;
	align-items: left;
	padding-inline-start: 0px;
	min-height:auto;
}
#checkout-coupon-block #custom-coupon-error .woocommerce-error::before {
	display:none;
}


/* Contact page / Kontakt
---------------------------------------*/
.ff-message-success {
    border: 0!important;
    box-shadow: none!important;
    margin-top: 10px;
    padding: 0px!important;
    position: relative;
}

/* FOOTER
---------------------------------------*/
#footer [data-row="top"] .ct-container-fluid {
	margin-left:0!important;
	margin-right:0!important;
	width: 100%!important;
}


/* Zakaj Hortia Page
---------------------------------------*/
@media (min-width:1100px) and (max-width: 1289px) {
	.hortia-our-products h3 {
		font-size:24px;
	}
}