/*
Theme Name: Soprus Kohvik
*/

.osm-suggestions::-webkit-scrollbar {
	width: 6px;
}

.osm-suggestions::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.wc-block-checkout__use-address-for-billing {
	display: none !important;
}

.wc-block-components-country-input {
	display: none !important;
}

.wc-block-components-checkout-return-to-cart-button {
	display: none !important;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
	background: #000 !important;
	color: #fff !important;
	border: none !important;
	box-shadow: none !important;
	padding: .6rem 1rem !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	text-transform: none !important;
	transition: background .12s ease, transform .06s ease;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
	background: #111 !important;
	transform: translateY(-1px);
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained[disabled],
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained.is-disabled {
	opacity: .6 !important;
	cursor: not-allowed !important;
	transform: none !important;
}

@media (max-width: 768px) {

	/* Hide checkout sidebar / totals block on mobile only */
	.wc-block-components-sidebar,
	.wc-block-checkout__sidebar,
	.wp-block-woocommerce-checkout-totals-block,
	.is-sticky {
		display: none !important;
		visibility: hidden !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
	}
}

.wc-block-components-address-form__address_2-toggle,
.wc-block-components-address-form__postcode,
.wc-block-components-address-form__city,
.wc-block-components-checkout-step__description,
.wp-block-woocommerce-checkout-pickup-options-block,
.wp-block-woocommerce-checkout-shipping-method-block,
.wc-block-components-checkout-step__title {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.wc-block-components-checkout-step,
.wc-block-components-checkout-step,
.wp-block-woocommerce-checkout {
	padding-top: 0 !important;
}

.wc-block-checkout__contact-fields {
	margin: 0 !important;
}

.wc-block-checkout__login-prompt {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	text-align: center !important;
	float: none !important;
	font-size: 1.3rem !important;
	background: #000 !important;
	color: #fff !important;
	padding: 12px 0 !important;
	border-radius: 6px !important;
}

.woocommerce-MyAccount-navigation ul {
    display: flex !important;
    gap: 12px !important;
    /* space between items */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
    align-items: center !important;
	margin-bottom: 12px !important;
}


.woocommerce-MyAccount-navigation li a {
	display: block !important;
	padding: 10px 16px !important;
	border-radius: 8px !important;
	/* rounded corners */
	text-decoration: none !important;
	color: #333 !important;
	transition: background 0.2s ease !important;
	margin-bottom: 4px !important;
}

.woocommerce-MyAccount-navigation li a:hover {
	background: #e0e0e0 !important;
	/* hover effect */
}

.woocommerce-MyAccount-navigation ul li.is-active a, .woocommerce-MyAccount-navigation ul li:hover a {
	background: #f5f1e6 !important;
	/* active item color */
	color: rgb(0, 0, 0) !important;
}

.woocommerce-MyAccount-content {
	background-color: #fff !important;
	box-shadow: none !important;
}

.leaflet-control-attribution {
    display: none;
}

.leaflet-routing-container {
display: none;
}

/* Remove borders and separators from checkout steps */
.wc-block-components-checkout-step {
    border: none !important;      /* Removes any borders */
    box-shadow: none !important;  /* Removes shadow lines */
    outline: none !important;     /* Removes outlines if any */
    background: transparent !important; /* Optional: removes background lines */
}

/* Override and disable pseudo-element separator lines */
.wc-block-components-checkout-step::before,
.wc-block-components-checkout-step::after {
    background: none !important;
    bottom: auto !important;
    box-shadow: none !important;
    content: none !important;
    height: 0 !important;
    opacity: 0 !important;
    position: static !important;
    width: 0 !important;
    display: none !important;
}

.wc-block-checkout__terms.wc-block-checkout__terms--with-separator.wp-block-woocommerce-checkout-terms-block {
    padding-top: 0 !important;
}
