@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//shopamber.lk/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=") format("woff2");
}

:root {
	--wd-text-font: Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-transform: uppercase;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Amber Text Font (helvetica regular)", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(0,0,0);
	--wd-alternative-color: rgb(14,13,13);
	--wd-link-color: rgb(216,147,52);
	--wd-link-color-hover: rgb(241,183,124);
	--btn-default-font-family: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 600;
	--btn-default-transform: capitalize;
	--btn-default-bgcolor: rgb(14,13,13);
	--btn-default-bgcolor-hover: rgb(94,94,94);
	--btn-accented-font-family: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 700;
	--btn-accented-transform: uppercase;
	--btn-accented-bgcolor: rgb(14,13,13);
	--btn-accented-bgcolor-hover: rgb(94,94,94);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 95px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 211px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 880px;
	--wd-popup-padding: 0px;
}
.header-banner {
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
.page-title-default {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.footer-container {
	background-color: #ffffff;
	background-image: none;
}
html .wd-product .price, html .wd-product .price > .amount, html .wd-product .price ins > .amount {
	font-family: "Amber Text Font (helvetica regular)", Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	color: rgb(0,0,0);
}
html .wd-product .price:hover, html .wd-product .price > .amount:hover, html .wd-product .price ins > .amount:hover {
	color: rgb(141,198,61);
}
html .product.wd-product del, html .product.wd-product del .amount {
	font-family: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
	color: rgb(160,160,160);
}
html .product.wd-product del:hover, html .product.wd-product del .amount:hover {
	color: rgb(132,132,132);
}
html .page-title > .container > .title {
	font-family: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
}
html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a {
	font-family: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-transform: capitalize;
	color: rgb(0,0,0);
}
html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a:hover, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a:hover, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu  > li > a:hover, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a:hover {
	color: rgb(137,137,137);
}
html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a {
	font-family: "Amber Text Font (helvetica regular)", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
	color: rgb(0,0,0);
}
html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a:hover, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a:hover, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu  li a:hover, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a:hover {
	color: rgb(76,76,76);
}
html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a {
	font-family: "Amber Text Font (helvetica regular)", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
	color: rgb(0,0,0);
}
html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a:hover {
	color: rgb(96,96,96);
}
html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title {
	font-family: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	font-size: 18px;
}
.page .main-page-wrapper {
	background-color: rgb(243,243,243);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-color: rgb(243,243,243);
	background-image: none;
}
.single-product .main-page-wrapper {
	background-color: rgb(243,243,243);
	background-image: none;
}
html .wd-buy-now-btn {
	font-family: "Amber Title Font (Helvetica Bold)", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
	color: rgb(255,255,255);
	background: rgb(164,193,46);
}
html .wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgba(164,193,46,0.9);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(14,13,13);
	--wd-form-brd-color-focus: rgb(0,0,0);
}
.product-labels .product-label.onsale {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(143,196,64);
	color: rgb(250,250,242);
}
.product-labels .product-label.featured {
	background-color: rgb(216,147,52);
	color: rgb(250,250,242);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(250,250,242);
	color: rgb(14,13,13);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(14,13,13);
	color: rgb(250,250,242);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 1px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 250px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 0px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1239px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

@media (min-width: 1222px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

rs-slides :is([data-type=text],[data-type=button]) {
font-family: Arial, Helvetica, sans-serif !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: Amber Title Font (Helvetica Bold) !important;
}

@font-face {
	font-family: "Amber Title Font (Helvetica Bold)";
	src: url("//shopamber.lk/wp-content/uploads/2024/05/Helvetica-Bold.woff2") format("woff2"), 
url("//shopamber.lk/wp-content/uploads/2024/05/Helvetica-Bold.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Amber Text Font (helvetica regular)";
	src: url("//shopamber.lk/wp-content/uploads/2024/05/Helvetica.woff2") format("woff2"), 
url("//shopamber.lk/wp-content/uploads/2024/05/Helvetica.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

/* Apply hover styles to main container and button container when the main container is hovered */
.HOMEPAGETAKE-TWO:hover .main-container,
.HOMEPAGETAKE-TWO:hover .BUTTONB {
    /* Your hover styles here */
}

/* Reset hover styles for main container and button container */
.HOMEPAGETAKE-TWO .main-container,
.HOMEPAGETAKE-TWO .BUTTONB {
    /* Your normal styles here */
}


.menu-item-28873 a {
  color: red;
}



add_action('woocommerce_review_order_before_payment', 'custom_coupon_button_on_checkout');

function custom_coupon_button_on_checkout() {
    if (is_wc_endpoint_url('order-received')) return;

    $has_sale_item = false;
    foreach (WC()->cart->get_cart() as $cart_item) {
        if ($cart_item['data']->is_on_sale()) {
            $has_sale_item = true;
            break;
        }
    }

    if ($has_sale_item) {
        echo '<p style="color: red; margin-bottom: 15px;">The AMBER30 coupon cannot be used with sale items in the cart.</p>';
    } else {
        ?>
        <div class="custom-coupon-box" style="margin-bottom:20px;">
            <button type="button" class="button alt" id="applyAmberCoupon">Apply AMBER30 Coupon</button>
        </div>

        <script type="text/javascript">
            jQuery(function($){
                $('#applyAmberCoupon').on('click', function(e){
                    e.preventDefault();
                    var couponCode = 'amber30';

                    $('form.checkout_coupon input#coupon_code').val(couponCode);
                    $('form.checkout_coupon').submit();

                    $(this).text("Applied").prop("disabled", true);
                });
            });
        </script>
        <?php
    }
}



.woocommerce-form-coupon-toggle {
    display: none !important;
}