/* ===============================
GLOBAL
=============================== */

html{
	scroll-behavior: smooth;
}

table, td, th {
	border: none !important;
}

input[type=checkbox], input[type=radio] {
    margin: 0 10px 0 0 !important;
}


/* ===============================
OUT OF STOCK OVERLAY
=============================== */

.ast-shop-product-out-of-stock {
	color: white;
	text-indent: -9999px;  
	width: 100%;
	left:0em !important;
	right:0em !important;
	bottom:0em !important;
	height: 100%;
	background-color: rgba(255,255,255,.60) !important;
}

.wcsob_soldout{
	font-size:13px;
	font-family:Arial;
	font-weight: 200;
}


/* ===============================
PRODUCT PAGE CLEANUP
=============================== */

.flex-control-thumbs{
	display:none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	display:none !important;
}

.gallery-item {
	padding: 0px 0px 20px 0px !important;
}

.gallery-icon {
	border-radius:0px !important;
}

.woocommerce div.product div.images,
.woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport {
	margin-bottom: 0px !important;
}

.elementor-widget-heading{
	margin-bottom:-10px !important;
}

.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item {
	border-radius: 0px !important;
}

.woocommerce div.product.elementor form.cart.variations_form .woocommerce-variation-add-to-cart, 
.woocommerce div.product.elementor form.cart:not(.grouped_form):not(.variations_form) {
	display: contents !important;
}

.woocommerce div.product form.cart table {
    margin: 0 !important;
}

.single_variation_wrap{
	border-top: 1px solid rgba(0,0,0,.1) !important;
}

.woocommerce div.product form.cart .single_variation_wrap .single_variation {
  	margin-bottom: 0 !important;
}

.woocommerce div.product form.cart .single_variation_wrap p {
    margin-top: 2em;
}

.woocommerce-variation-description p{
	background-color: #7A7A7A;
	color: white !important;
	padding: 10px 40px !important;
	text-align: center !important;
}

.ast-stock-avail {
	display: none !important;
}

.woocommerce div.product .stock {
	font-size: 13px !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
    display: none !important; 
}


/* ===============================
CHECKOUT – STRUCTURE FIX
=============================== */

/* Genskab WooCommerce tabelstruktur */
.shop_table.woocommerce-checkout-review-order-table tr{
	display: table-row !important;
}

.shop_table.woocommerce-checkout-review-order-table td{
	display: table-cell !important;
	height: auto !important;
	vertical-align: top;
}

/* Fjern gamle flex/grid konflikter */
td[data-title]{
	display: table-cell !important;
}


/* ===============================
CHECKOUT – DESKTOP LAYOUT
=============================== */

@media (min-width: 1024px) {

    .woocommerce-checkout #customer_details {
        width: 55%;
        float: left;
    }

    .woocommerce-checkout #order_review {
        width: 45%;
        float: right;
        background: #f8f6f4;
        padding: 35px;
        border-radius: 12px;
    }

    #order_review table.shop_table th,
    #order_review table.shop_table td {
        white-space: normal !important;
        word-break: break-word;
        line-height: 1.6;
    }

    #order_review .product-name {
        width: 70%;
    }

    #order_review .product-total {
        width: 30%;
        text-align: right;
    }

    #order_review .variation,
    #order_review .stock,
    #order_review small {
        display: block;
        margin-top: 6px;
    }

}


/* /* ============================= */
/* CHECKOUT – EMMASONNE CLEAN UI */
/* ============================= */

/* Layout spacing */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review{
    margin-top: 0 !important;
}

/* ============================= */
/* DIN ORDRE HEADING */
/* ============================= */

#order_review_heading{
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0 0 18px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ============================= */
/* ORDER BOX */
/* ============================= */

#order_review{
		margin-top: 10px;
    background: #f8f6f4;
    padding: 35px;
    border-radius: 12px;
    border: none;
}

/* Tabel styling */
#order_review table{
    font-size: 14px;
}

#order_review th{
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

#order_review td{
    padding: 12px 0;
}

/* Total styling */
#order_review .order-total{
    font-size: 18px;
    font-weight: 500;
}

/* ============================= */
/* SHIPMONDO FIX */
/* ============================= */

/* Gør container fuld bredde */
.shipmondo-original{
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix tekst som brydes grimt */
.shipmondo-original,
.shipmondo-original *{
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Valgt pakkeshop */
.selected_service_point{
    background: #ffffff;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 10px;
}

/* Pakkeshop navn */
.selected_service_point .name{
    font-weight: 500;
    font-size: 14px;
}

/* Adresse og distance */
.selected_service_point .address_info,
.selected_service_point .distance{
    font-size: 13px;
    color: #666;
}

/* Liste i modal */
.service_points_list .service_point{
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* Hover effekt */
.service_points_list .service_point:hover{
    background: #f8f6f4;
}

/* Skjul powered by */
.powered_by_shipmondo{
    display: none;
}

/* ============================= */
/* SHIPPING RADIO */
/* ============================= */

.woocommerce-shipping-methods{
    margin-top: 15px;
}

.woocommerce-shipping-methods li{
    margin-bottom: 10px;
}


/* ===============================
SHIPPING
=============================== */

.woocommerce ul#shipping_method li {
    padding: .25em 0;
}


/* ===============================
COUPON / PLUGINS
=============================== */

.wl .coupon.wl-ci-coupon input.wl-ci-coupon-field {
	border-radius:0px !important;
}

.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message {
	margin:0 0 2em 0 !important;
}

/* Fix CSS comment syntax */
#mailpoet_woocommerce_checkout_optin_field{
	/* display:none !important; */
}

#ce4wp_checkout_consent_checkbox_field {
	/* display:none !important; */
}


/* ===============================
COOKIE BAR
=============================== */

.cli-bar-btn_container {
    margin-bottom: 0;
	margin-top: 20px;
    margin-left: 0 !important;
}

.cli-plugin-button {
    padding: 8px 14px 9px;
    margin-left: 0 !important;
	width: 50%;
    float: left;
    line-height: 2 !important;
}

.cookie-con{
	padding: 0 30px !important;
}

.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: black !important;
}


/* ===============================
MISC
=============================== */

a.ringguide:hover{
	font-weight: 600 !important;
}

.trp-with-flags {
	background-color:black !important;
}

.hfe-menu-item{
	text-transform: lowercase;
}

@media (max-width: 767px) {

	.astra-shop-summary-wrap {
   		margin-top: -3.5rem;
		z-index: 9 !important;
		position: absolute;
		width: 100%;
	}

	.elementor-widget-wc-archive-products .products {
    	grid-template-columns: repeat(1,1fr);
	}
}

.flex-viewport {
	height: 100% !important;
}

.woocommerce span.onsale { 
	margin: 10px; 
}


