/* 
Theme Name: Kharta Commodity Indonesia
Author: Rico T
Description: Theme for kharta.co.id
Version: 1.0.0
*/

/* Gotham Black */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham Black Regular.ttf') format('truetype'),
         url('fonts/Gotham/Gotham-Black 2.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Gotham Black Italic */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-BlackIta 2.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* Gotham Bold */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham Pro Bold.ttf') format('truetype'),
         url('fonts/Gotham/Gotham-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Gotham Medium */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

/* Gotham Medium Italic */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-MediumIta 2.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

/* Gotham Book / Regular */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Book 2.otf') format('opentype'),
         url('fonts/Gotham/GothamPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Gotham Book Italic */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-BookIta 2.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* Gotham Light */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham Pro Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* Gotham Ultra */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Ultra.otf') format('opentype');
    font-weight: 950;
    font-style: normal;
}



@font-face {
    font-family: 'Yaldevi';
    src: url('fonts/Yaldevi/Yaldevi-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 700; /* Supports range from ExtraLight to Bold */
    font-style: normal;
}




:root {
	--primary-color: #474a1d;
    --secondary-color: #da7008;
    --tertiary-color: #543920;

    --primary-color-light: #285d4b;
    --secondary-color-light: #9b5149;
    --tertiary-color-light: #c8ae60;

	--primary-black: #303030;
	--primary-gray: #ebece7;
	--light-gray: #FAFAFA;
	--primary-yellow: #ECB02D;

	--text-primary: #000000;
	--text-inv: #FFFFFF;

    --text-header-blue: #4D9AD2;
    --text-blue: #054A8D;

	--white: #FFFFFF;

	--button-primary-gradient: linear-gradient(to right, #E6A716 0%, #F5EB78 100%);
}

*, *::before, *::after {
    box-sizing: border-box;
    font-family: 'Gotham' !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Yaldevi' !important;
}

html, body {
	margin: 0 !important;
	padding: 0;
	overflow-x: hidden;

    scroll-behavior: smooth;
}

body {
	overflow-y: hidden;
}

.ehf-header #masthead {
	z-index: 100;
}

p {
    margin: 0;
}

/* #wpadminbar {
	position: static;
} */

#page {
	width: 100%;

	display: grid;
	grid-template-rows: auto 1fr;
	grid-template-columns: 100%;
	min-height: 100vh;
    padding: 0;

    position: relative;

    font-size: 0.8em;
}


#page > header .navbar,
#page .inner-padding-div > .elementor-element:not(.w-100) {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
}

.inner-padding-div {
    padding: 0 1.5em;
}


/* Nav */

.navbar {
    padding: 1.5em 2em;
    font-weight: bold;
    
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
}

.navbar .elementor-widget-navigation-menu a.hfe-menu-item, 
.navbar .elementor-widget-navigation-menu a.hfe-sub-menu-item {
    font-weight: 500;
    font-size: 1.2em;
}

.navbar .elementor-widget-navigation-menu .menu-item a.hfe-menu-item:hover, 
.navbar .elementor-widget-navigation-menu .menu-item a.hfe-menu-item:focus, 
.navbar .elementor-widget-navigation-menu .menu-item a.hfe-sub-menu-item:hover,
.navbar .elementor-widget-navigation-menu .menu-item a.hfe-sub-menu-item:focus,
.navbar .elementor-widget-navigation-menu .menu-item.current-menu-item a.hfe-menu-item, 
.navbar .elementor-widget-navigation-menu .menu-item.current-menu-item a.hfe-menu-item:focus, 
.navbar .elementor-widget-navigation-menu .menu-item.current-menu-item a.hfe-sub-menu-item, 
.navbar .elementor-widget-navigation-menu .menu-item.current-menu-item a.hfe-sub-menu-item:focus, 
.navbar .elementor-widget-navigation-menu .lang-item.current-lang a.hfe-menu-item, 
.navbar .elementor-widget-navigation-menu .lang-item.current-lang a.hfe-menu-item:focus {
    font-weight: 700;
}

#nav-right {
    max-width: 180px;
    min-width: 180px;
}

/* #nav-center .hfe-nav-menu {
    width: 100%;
} */

#nav-logo {
	max-width: 120px;
}

#nav-desktop {
	display: none;
}

#nav-mobile {
	display: block;
}

.mobile-only {
    display: block;
}

.mobile-only.flex {
    display: flex;
}

.desktop-only {
    display: none;
}

.desktop-only.flex {
    display: none;
}

.hfe-nav-menu-icon {
	display: flex;

    color: var(--primary-color);
    fill: var(--primary-color);
}

#nav-mobile div.hfe-nav-menu-icon {
	padding: 0.1em;
}

.hfe-flyout-close {
	right: 1em;
	top: 1em;
}

.elementor-18 .elementor-element.elementor-element-20a8d24 .hfe-flyout-close svg {
    color: var(--primary-color);
    fill: var(--primary-color);
    font-size: 100px;
}

.hfe-menu-item {
	text-align: right;
}

#nav-mobile li.menu-item a {
	justify-content: flex-end;
	margin-right: 0.5em;
	position: relative;
	font-size: 1.5em;
}

#nav-desktop li.menu-item a {
	text-wrap: nowrap !important;
}	

#nav-desktop ul.hfe-nav-menu {
	margin: 0 auto;
	width: min(400px, 80%);
}

#nav-desktop li.menu-item a,
#nav-mobile li.menu-item a {
	color: var(--primary-color);
}

#nav-desktop li.menu-item.current-menu-item a::after,
#nav-desktop li.menu-item a:hover::after {
	content: '';
	position: absolute;
	bottom: 0.3em;
	left: 0.25em;
	right: 0.25em;
	color: var(--secondary-color);
	background: var(--secondary-color);
	height: 0.2em;
	z-index: 10;
	opacity: 1 !important;
}

#nav-mobile li.menu-item.current-menu-item a::after,
#nav-mobile li.menu-item a:hover::after {
	content: '';
	position: absolute;
	right: 0em;
	top: 50%;
	transform: translateY(-50%);
	width: 0.3em;
	color: var(--primary-color);
	background: var(--primary-color);
	height: calc(100% - 25px);
	z-index: 10;
	opacity: 1 !important;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side {
	right: -300px !important;
	display: block !important;
	transition: right 0.5s ease-in-out 0s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side.hfe-flyout-show {
	right: 0 !important;
}


#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item {
	right: 30%;
	opacity: 0;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:first-child {
	transition: right 0.7s ease-in-out 0s, opacity 0.7s ease-in-out 0s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(2) {
	transition: right 0.7s ease-in-out 0.15s, opacity 0.7s ease-in-out 0.15s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(3) {
	transition: right 0.7s ease-in-out 0.3s, opacity 0.7s ease-in-out 0.3s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(4) {
	transition: right 0.7s ease-in-out 0.45s, opacity 0.7s ease-in-out 0.45s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(5) {
	transition: right 0.7s ease-in-out 0.6s, opacity 0.7s ease-in-out 0.6s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(6) {
	transition: right 0.7s ease-in-out 0.75s, opacity 0.7s ease-in-out 0.75s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side.hfe-flyout-show li.menu-item {
	right: 0;
	opacity: 1;
}

#nav-mobile .hfe-nav-menu {
	margin-top: calc(1.5em + 40px);
}


#nav-desktop li.menu-item a {
	font-size: 0.75em;
}

#nav-desktop .hfe-nav-menu {
    display: flex;
    flex-wrap: nowrap;
}


.footer.side-paddings {
	padding-top: 3.5em;
}




/* Buttons */

.elementor-button {
	padding: 0.6em 1.2em;
	font-size: 1.25em;
}

.button .elementor-button {
	border-radius: 2em;
	border: 2px solid var(--primary-color);
	color: var(--text-inv);
	
	background-color: var(--primary-color);

    font-weight: 700;
}

.button:hover {
    transform: scale(1.05);
}

.button.transparent .elementor-button {
	background-color: rgb(0, 0, 0, 0);
}

a.button.gradient-yellow,
.button.gradient-yellow .elementor-button {
	background: var(--button-primary-gradient);
	color: var(--text-primary);
	font-weight: 600;
}

.button.white .elementor-button {
	background-color: rgb(0, 0, 0, 0);
	color: var(--text-primary);
	border: 1px solid var(--text-primary);
	font-weight: 600;
}


a.button,
label.button {
	padding: 0.3em 1em;
	border-radius: 0.6em;
	border: 2px solid var(--primary-color);
	color: var(--text-inv);
	background-color: var(--primary-color);
	cursor: pointer;
	font-size: 0.75em;
}

a.button.transparent,
label.button.transparent {
	background-color: rgb(0, 0, 0, 0);
}


.button.with-icon {
    padding: 0.2em 0.6em;

	display: flex;
	align-items: center;
}

.button.with-icon.left.collapse-on-mobile svg,
.button.with-icon.right.collapse-on-mobile svg {
    margin: 0.1em 0 0 0;
}

.button.with-icon.left svg {
	margin-right: 0.4em;
}

.button.with-icon.right svg {
	margin-left: 0.4em;
}

.button.with-icon .button-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.08em;
}

.button.with-icon.collapse-on-mobile .button-label {
    display: none;
}

.button.back {
    margin-right: 1em;
    margin-top: 0.5em;
}




.button.footer .elementor-button {
    font-size: 0.8em;
    width: 9.5em;
}



/* FORMS */

.form-text-control input.ff-el-form-control {
	border: 2px solid var(--primary-color);
	border-radius: 2em;
}

.form-submit-button button.ff-btn-submit.ff-btn[type=submit] {
	background: var(--button-primary-gradient);
	color: black;
}



/* HOME */

.home-base.inner-padding-div {
    --offset-home-container-height: -100px;
    
    padding: 3em 1.5em calc(100px + var(--offset-home-container-height)) 1.5em;
    background-color: var(--primary-gray);

    height: 280px;
}

.home-base.inner-padding-div .text {
    z-index: 20;
}

.home-base.inner-padding-div .text.placeholder {
    opacity: 0;
}

.home-base.inner-padding-div .buttons-container .elementor-button {
    font-size: 1.2em;
    width: 10em;
}

.home-base.inner-padding-div .container-img {
    z-index: 0;
}

.home-base.inner-padding-div .container-img img {
    object-fit: cover;
    object-position: top;
    height: calc(205px + var(--offset-home-container-height));
    width: 100vw;
}





.home-background {
    width: 100%;
    height: 60em;
    max-height: 60em;
    position: relative;
}

.home-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    opacity: 0.22;
}

.home-background::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

    background: linear-gradient(180deg, #0082FF 3.91%, #054A8D 44.71%, #091624 90.87%);
    z-index: 1;
}





/* CAROUSEL */

.product-div-container img {
    -webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
}


.product-div-container {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.carousel.products-carousel {
    padding: 0;
}

.carousel.products-carousel .carousel-control {
    display: none;
}

.products-carousel .carousel-slides-frame {
    padding: 1em 0;
}

.products-carousel .carousel-slide {
    opacity: 0.9;

    transition: opacity 0.2s ease-in-out;
}

.products-carousel .carousel-slide .product-card {
    border-radius: 1.5em;

    border: 1px solid #474A1D;
}

.products-carousel .current-slide.center-slide {
    opacity: 1;
}

.products-carousel .current-slide.center-slide .product-card {
    box-shadow: 0px 2px 1em #474A1D;
}


.products-carousel .carousel-slide > .product-card {
    transform: scale(0.825);
    transition: transform 0.2s ease-in-out;

    cursor: pointer;

    position: relative;
    
    height: 160px;
}

.products-carousel .carousel-slide > .product-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-carousel .carousel-slide > .product-card > .screen {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    
    z-index: 10;

    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0) 0%,      /* center: fully transparent */
        rgba(0, 0, 0, 0.15) 25%,      /* center: fully transparent */
        rgba(0, 0, 0, 0.7) 100%   /* edges: semi-transparent black */
    );
}

.products-carousel .carousel-slide > .product-card > .info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11;

    padding: 10em 1.5em 1.5em 1.5em;

    font-size: 0.7em;

    background: linear-gradient(
        rgba(0, 0, 0, 0) 0%,      /* top: fully transparent */
        rgba(0, 0, 0, 0.4) 40%,   /* middle: semi-transparent black */
        rgba(0, 0, 0, 0.9) 100%   /* bottom: semi-transparent black */
    )
}

.products-carousel .carousel-slide > .product-card > .info > p {
    font-size: 1.25em;
    font-weight: 600;
}

.products-carousel .carousel-slide > .product-card > .info > h3 {
    color: white;
    font-size: 1.8em;
}

.products-carousel .current-slide.center-slide > .product-card {
    transform: scale(1);
}

/* So carousel slide animation don't run on wrap around teleport */
.carousel-slide.carousel-slide-center-init:not(.cloned-slide):not(.center-slide):not(.current-slide),
.carousel-slide.product-slide-middle:not(.cloned-slide):not(.center-slide):not(.current-slide) {
    transition-delay: 1s;
    opacity: 1;
}

.carousel-slide.carousel-slide-center-init:not(.cloned-slide):not(.center-slide):not(.current-slide) > .product-card,
.carousel-slide.product-slide-middle:not(.cloned-slide):not(.center-slide):not(.current-slide) > .product-card {
    transition-delay: 1s;
    transform: scale(1);
}

.products-carousel .carousel-control.prev,
.products-carousel .carousel-control.next {
    padding: 0.75em 0.5em;
}


.products-detail-carousel .carousel-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-detail-carousel .carousel-slide > .product-detail-card {
    background: #EBECE7;
    color: #474A1D;

    padding: 2em;
    border-radius: 1.5em;

    width: 100%;

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25em;
}

.products-detail-carousel .carousel-slide > .product-detail-card h2 {
    font-size: 2em;
    font-weight: 700;
    padding: 0;
    margin: 0;
}



.products-buttons.buttons-container {
    display: flex;
    gap: 1em;
    font-size: 1.4em;

    margin-top: 0.5em;
	margin-left: auto;
	margin-right: auto;
}

.products-buttons.buttons-container > .button {
    background-color: #954A00;
    color: white;
    border: none;
    outline: none;

    padding: 0.5em 1em;
    border-radius: 1.5em;

    transition: transform 0.2s ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25em;
}



/* FORMS */

.required {
    color: red;
}

.product-contact-modal-content .header {
    margin-bottom: 1em;
}

.product-contact-modal-content .title {
    color: var(--primary-color);
    font-size: 2em;
    margin: 0.4em;
}

form.kharta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;

    padding: 1em 0em;
}

form.kharta-form > div {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

form.kharta-form input,
form.kharta-form textarea,
div.ts-wrapper.searchable-country-select {
    border: none;
    border-bottom: 1px solid var(--primary-color);

    padding: 0.5em;

    font-size: 1.2em;
}

form.kharta-form input,
div.ts-wrapper.searchable-country-select {
	height: 3em;
}

div.ts-wrapper.searchable-country-select .ts-dropdown-content {
	background: white;
}

div.ts-wrapper.searchable-country-select .ts-control input {
	height: 100%;
}

form.kharta-form input:focus,
form.kharta-form textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--primary-color);
}

form.kharta-form label {
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;

    font-size: 1.1em;
}

form.kharta-form .buttons-container {
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: space-between;

    margin-top: 1em;
}

form.kharta-form .buttons-container .button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    outline: none;

    padding: 0.75em 1.25em;
    border-radius: 2em;
    width: min(45%, 15em);
    font-size: 1.1em;

    transition: transform 0.2s ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

form.kharta-form .buttons-container label.button {
    background-color: rgb(71, 74, 29, 0.3);
    color: var(--primary-color);
}


form.kharta-form .horizontal-group {
    display: flex;
    gap: 1em;
    flex-direction: column;
}

form.kharta-form .horizontal-group > div {
    display: flex;
    flex-direction: column;

    width: 100%;
}



.contact-us-form-container form.kharta-form {
    padding: 0em 0.75em 1em 0.75em;
    margin-top: -1em;
}

.contact-us-form-container form.kharta-form .button {
    background-color: #954A00;
    margin-left: auto;
}



.bottom-base.inner-padding-div {
    position: relative;
    height: 60em;
}

.footer-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.footer-img img {
    width: 100%;
    height: 100%;
    
    object-fit: cover;
    object-position: top center;
}









/* Footer */

#copyright-footer p {
	font-weight: 400;
}



.img-object-fit-cover img {
	object-fit: cover;
}

.top-screen img {
	object-fit: cover;
	object-position: top left;
}

.top-screen::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	background-color: var(--primary-black);
	opacity: 0.6;
}

.above-top-screen {
	z-index: 10;
}




/* Contact Us */

.contact-us-div {
    overflow: hidden;
}




/* ARROWS */

.arrow-up {
    width: 0; 
    height: 0; 
    border-left: var(--arrow-size, 7.5px) solid transparent;
    border-right: var(--arrow-size, 7.5px) solid transparent;
    border-bottom: var(--arrow-size, 7.5px) solid var(--arrow-color, var(--primary-color));
    cursor: pointer;
}

.arrow-up.white {
  border-bottom: var(--arrow-size, 7.5px) solid white;
}




/* CAROUSEL */

.carousel {
    position: relative;
	transition: width 0.2s ease-in-out;
    width: calc(100vw - var(--offset-width, 0));
    margin: 1em 0;
    padding: 0 1.5em;

	word-break: break-word;
}

.carousel-slides-frame {
    overflow: hidden;
	width: 100%;
}

.carousel-slides {
    position: relative;
    display: flex;
	/* align-items: center; */
    width: 100%;
}

.carousel-slides.dragging {
	user-select: none;
}

.carousel-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
	height: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
	opacity: 0.5;
    color: var(--text-primary);
    border: none;
	width: 1em;
    padding: 0.75em;
    cursor: pointer;
    z-index: 1;

	display: flex;
	justify-content: center;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-control:hover {
	background-color: var(--white);
	opacity: 0.8;
}



/* CUSTOM SCROLLBAR */

.custom-scrollbar {
    scrollbar-width: thin;  /* Firefox */
    scrollbar-color: var(--scrollbar-color, var(--primary-color)) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border: none;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--scrollbar-color, var(--primary-color));
    border-radius: 20px;
    border: 4px solid transparent;
}

.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}


/* LOADING */

@keyframes loading {
	0% {
	  transform: scale(1);
	}
	50% {
	  transform: scale(0.2);
	}
	100% {
	  transform: scale(1);
	}
}
  
  
/* LOADING ICON */

.loading-container-full {
	--bg: white;

	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: var(--bg);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.loading-container {
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--loading-bg-color, transparent);
	padding: var(--padding, 0);
}

.loading-circle {
	border-radius: 50%;
	width: var(--loading-width, 1em);
	height: var(--loading-width, 1em);
	background: var(--loading-color, var(--primary-color));
	margin: 0 0.2em 0 0.2em;
	animation: 1.5s ease-in-out calc(var(--delay) * 0.333s) infinite loading;
}

.loading-container + h3 {
	color: var(--primary-color);
}

.loading-content-div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2em 1em;
}

.loading-description {
	margin-bottom: 2em;
	text-align: center;
}


/* MODAL */

.modal-toggle {
    display: none;
}

.modal-toggle:checked + .modal {
    display: flex;
}

.modal {
    display: none;
    position: fixed; 
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);

    justify-content: center;
    align-items: center;
}

.modal-container-with-close {
    position: relative;
    width: 90%;
    font-size: 0.8em;

	border-radius: 20px;
	overflow: hidden;
}

.modal-content {
	--modal-background: #fefefe;

    color: var(--text-color);
    background-color: var(--modal-background);
    margin: auto;
    padding: 1.5em;

    text-align: center;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content.with-absolute-buttons {
    padding: 1.4em 1.4em 4.5em 1.4em;
}

.modal-content h1 {
    font-weight: bold;
}

.modal-container-with-close .close-modal {
    position: absolute;
    top: 0.6em;
    right: 0.6em;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: var(--primary-color);
    color: white;
    font-size: 1.7em;
    font-weight: bold;
    cursor: pointer;
}

.modal-container-with-close .close-modal:hover,
.modal-container-with-close .close-modal:focus {
    color: white;
}

.modal-buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 1em;
}

.modal-buttons a,
.modal-buttons button,
.modal-buttons label {
    width: 40%;
    padding: 0.4em 0.1em;
    font-weight: bold;
    border: none;
}

.modal-buttons a.button {
    margin: 0.5em 0 0.5em 0;
    font-size: 1.1em;
}

.modal-buttons .delete {
    background: var(--primary-red);
    color: white;
}

.modal-buttons .cancel {
    background: var(--btn-cancel-bg);
    color: var(--btn-cancel-color);
}

.modal-buttons.absolute {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--modal-background);
	padding: 0.5em 0;
}



/* SCROLL INDICATOR */

.scroll-indicator {
    position: relative;
    width: 24px;
    height: 60px;
    margin: 0 auto;
}

.scroll-indicator:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.scroll-indicator::before,
.scroll-indicator::after,
.scroll-indicator .middle {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 24px;
    height: 24px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
}

.scroll-indicator::before {
    top: 0;
}

.scroll-indicator .middle {
    top: 20px;
}

.scroll-indicator::after {
     top: 40px;
}



/* OTHER */

.only-desktop,
.only-desktop.flex,
.only-desktop-flex,
a.only-desktop,
a.only-desktop-flex {
    display: none !important;
}

.only-mobile,
a.only-mobile {
    display: block !important;
}

.only-mobile-flex,
a.only-mobile-flex {
    display: flex !important;
}

.form-additional-info {
    margin: -1em 0 1.5em 0.1em;
}

.file-additional-info {
    margin: 0 0 0 0.1em;
}

.hide {
    display: none !important;
}

.flex {
    display: flex;
}

.force-flex-row {
	display: flex !important;
	flex-direction: row !important;
}

.flex.fd-col {
    flex-direction: column;
}

.flex.fd-col-rev {
    flex-direction: column-reverse;
}

.flex.wrap {
    flex-wrap: wrap;
}

.jc {
    justify-content: center;
}

.jsb {
    justify-content: space-between;
}

.jfs {
    justify-content: flex-start;
}

.jfe {
    justify-content: flex-end;
}

.ac {
    align-items: center;
}

.afs {
    align-items: flex-start;
}

.afe {
    align-items: flex-end;
}

.flex-flexible {
    display: flex;
    flex-direction: column;
}

.gap-1em {
    gap: 1em;
}

.gap-075em {
    gap: 0.75em;
}

.gap-05em {
    gap: 0.5em;
}

.gap-025em {
    gap: 0.25em;
}

.fs-2-5em {
    font-size: 2.5em;
}

.fs-2em {
    font-size: 2em;
}

.fs-1-5em {
    font-size: 1.5em;
}

.fs-1-2em {
    font-size: 1.2em;
}

.fs-1-1em {
    font-size: 1.1em;
}

.fs-1em {
    font-size: 1em;
}

.fs-095em {
    font-size: 0.95em;
}

.fs-09em {
    font-size: 0.9em;
}

.fs-085em {
    font-size: 0.85em;
}

.fs-08em {
    font-size: 0.8em;
}

.fs-075em {
    font-size: 0.75em;
}

.fs-06em {
    font-size: 0.6em;
}

.fs-05em {
    font-size: 0.5em;
}

.fs-025em {
    font-size: 0.25em;
}

.fit-content {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.w100 {
    width: 100%;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-025 {
    margin-bottom: 0.25em;
}

.m-0 {
    margin: 0;
}

.no-user-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bold {
    font-weight: bold;
}

.bold-800 {
    font-weight: 800;
}

.bold-900 {
    font-weight: 900;
}

.non-bold {
    font-weight: normal;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.ws-pw {
    white-space: pre-wrap;
}

.wb-bw {
    word-break: break-word;
}

.ta-c {
    text-align: center;
}

.ta-l {
    text-align: left;
}

.ta-r {
    text-align: right;
}

.text-uppercase,
.TEXT-UPPERCASE {
    text-transform: uppercase;
}

.text-lowercase,
.TEXT-LOWERCASE {
    text-transform: lowercase;
}

.text-capitalize,
.TEXT-CAPITALIZE {
    text-transform: capitalize;
}

.text-notransform,
.TEXT-NOTRANSFORM {
    text-transform: none !important;
}

.margin-left-auto {
    margin-left: auto;
}


.line-clamp-2 {
    text-overflow: ellipsis;
    overflow: hidden;

    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2; /* Number of lines to display */
	line-clamp: 2;
}

.line-clamp-3 {
    text-overflow: ellipsis;
    overflow: hidden;

    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; /* Number of lines to display */
	line-clamp: 3;
}

.line-clamp-4 {
    text-overflow: ellipsis;
    overflow: hidden;

    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4; /* Number of lines to display */
	line-clamp: 4;
}

.line-clamp-5 {
    text-overflow: ellipsis;
    overflow: hidden;

    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5; /* Number of lines to display */
	line-clamp: 5;
}

.line-clamp-6 {
    text-overflow: ellipsis;
    overflow: hidden;

    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6; /* Number of lines to display */
	line-clamp: 6;
}



.primary {
    color: var(--primary-color);
}

.secondary {
    color: var(--secondary-color);
}

.tertiary {
    color: var(--tertiary-color);
}



@media only screen and (min-width: 320px) {

	/* BLOG */

	.blog-div {
		grid-template-columns: repeat(2, 1fr);
	}

}


@media only screen and (min-width: 500px) {

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
		font-size: 6vw;
	}
	
	.home-metaslider-info .home-p,
	.page-subtitle {
		font-size: 0.85em;
		padding-top: 10px;
	}

	#home-metaslider,
	#home-metaslider .flexslider {
		min-height: var(--slider-min-height-tablet);
	}

	#home-metaslider .flex-viewport,
	#home-metaslider .flex-viewport ul,
	#home-metaslider .flex-viewport li,
	#home-metaslider .flex-viewport img {
		min-height: var(--slider-min-height-tablet);
	}

	#warranty-card-container {
		grid-template-columns: 45% 45%;
		grid-template-rows: 165px;
	}


    /* PRODUCT */

    .products-carousel .carousel-slide > .product-card {
        height: 260px;
    }

}


@media only screen and (min-width: 767px) {


    .home-base.inner-padding-div {
        --offset-home-container-height: -50px;
        
        padding: 3em 1.5em calc(50px + var(--offset-home-container-height)) 1.5em;

        height: max(55dvh, 450px);
        max-height: 650px;
    }

    .home-base.inner-padding-div .container-img img {
        height: calc(350px + var(--offset-home-container-height));
    }

    .home-background {
        height: 105vh;
        max-height: 105vh;
    }

    

    #nav-logo {
        max-width: 100px;
    }


    #page {
        font-size: 0.85em;
    }
	
	#nav-desktop {
		display: block;
	}

    #nav-mobile {
        display: none;
    }

    .mobile-only {
        display: none;
    }

    .mobile-only.flex {
        display: none;
    }

    .desktop-only {
        display: block;
    }

    .desktop-only.flex {
        display: flex;
    }

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
        font-size: 3em;
    }

	.side-paddings {
		padding: 10px 50px;
	}


    /* BUTTON */

    .button.footer .elementor-button {
        width: 12em;
    }


    /* FORM */

    form.kharta-form .horizontal-group {
        flex-direction: row;
    }
    
    form.kharta-form {
        padding: 1em 2em;
    }

    .contact-us-form-container form.kharta-form {
        padding: 1.75em 1.75em 1.75em 0;
        margin: 0;
    }


	/* MODAL */

    .modal-container-with-close {
        width: max(50%, 650px);
    }

	/* HOME PAGE */

	#why-container {	
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
	}

	#warranty-card-container {
		grid-template-columns: 300px 300px;
		grid-template-rows: 175px;
	}


    /* PRODUCT */

    .carousel.products-carousel {
        padding: 0 1.5em;
    }

    .carousel.products-carousel .carousel-control {
        display: flex;
    }

    .products-carousel .carousel-slide > .product-card {
        height: 320px;
    }
	
	
	.products-carousel .carousel-slide > .product-card > .info {
		padding: 10em 2.25em 2.25em 2.25em;
	}

	.products-carousel .carousel-slide > .product-card > .info > p {
		font-size: 1.5em;
		font-weight: 600;
	}

	.products-carousel .carousel-slide > .product-card > .info > h3 {
		color: white;
		font-size: 2.35em;
	}


	/* SERVICES */

	.service-div-container {
        gap: 2em;
    }

    .service-div-container > .service-card > img {
        height: 100px;
    }

    /* INSTRUCTORS */

    /* .products-detail-carousel .carousel-slide > div {
        
    } */


    .service-content.modal-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .service-content.modal-content .info > * {
        text-align: left;
    }

}

@media only screen and (min-width: 1024px) {

    .home-base.inner-padding-div {
		padding: 3em 1.5em calc(50px + var(--offset-home-container-height)) 1.5em;
		
        height: max(70dvh, 650px);
        max-height: 700px;
    }

    #page {
        font-size: 1em;
    }

    #nav-mobile {
        display: none;
    }

    .home-base.inner-padding-div .buttons-container .elementor-button {
        font-size: 0.9em;
        width: 13em;
    }

	.button,
	.button-transparent,
	.elementor-button-text {
		font-size: 1.1em;
	}

    .button.footer .elementor-button {
        font-size: 0.7em;
        width: 12em;
    }

	.elementor-button {
		padding: 0.8em 1.75em;
		font-size: 0.75em;
	}
	
	#nav-desktop .hfe-nav-menu {
		transform: translateX(2em);
	}

	#nav-desktop li.menu-item a {
		font-size: 1em;
	}

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
        font-size: 4.5vw;
    }
	
	.home-metaslider-info .home-p,
	.page-subtitle {
		font-size: 1em;
	}

	.side-paddings {
		padding: 10px 80px;
	}

	/* HOME PAGE */

	.paint-protection-svg {
		height: 3.5em;
	}

	.paint-protection-text-mobile {
		display: none;
	}
	
	.paint-protection-text-desktop {
		display: inline-block;
	}

	/* SERVICES CAROUSEL */

	.carousel.services-carousel {
		left: 1em;
		right: 1em;
	}

	.services-carousel .service .service-title {
		font-size: 1em;
	}

	.services-carousel .service {
		grid-template-rows: 4.5em 4em;
	}

	/* TESTIMONY */

	.testimony-div {
		grid-template-columns: repeat(3, 1fr);
	}

    /* PRODUCT */

    .products-carousel .carousel-slide > .product-card {
        height: 450px;
    }

}

@media only screen and (min-width: 1250px) {

	.button,
	.button-transparent,
	.elementor-button-text {
		font-size: 1.15em;
	}

    .button.footer .elementor-button {
        font-size: 0.9em;
        width: 12em;
    }

	/* HOME PAGE */

	#why-container {	
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: 1fr;
	}

	/* SERVICES CAROUSEL */

	#services-carousel-outer-div {
		bottom: 3em;
	}

}

@media only screen and (min-width: 1500px) {

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
		font-size: 5em;
	}
	
	.home-metaslider-info .home-p,
	.page-subtitle {
		font-size: 1.35em;
	}

	.side-paddings {
		padding: 10px 200px;
	}

	.button,
	.button-transparent,
	.elementor-button-text {
		font-size: 1.2em;
	}

	/* SERVICES */

	.services-div {
		gap: 5em;
	}

	/* SERVICES CAROUSEL */

	.services-carousel .service {
		padding: 1em 1em;
		grid-template-rows: 7em 3.5em;
	}

}


@media only screen and (min-width: 1750px) {

	#warranty-card-container {
		grid-template-columns: 400px 400px;
		grid-template-rows: 250px;
	}

}




/* RESI */

/* Receipt Tracking Styles */

.track_resi_form_div {
    max-width: 90vw;
    margin: 0 auto;
}

.receipt-summary {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 100%;
    overflow-x: auto;
}

.receipt-header {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.receipt-header h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.receipt-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item .label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.meta-item .value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
    margin-top: 4px;
}

.receipt-totals {
    display: flex;
    gap: 20px;
    background: #e8f4fc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #b3e0ff;
}

.total-item {
    text-align: center;
    flex: 1;
}

.total-item .label {
    display: block;
    font-size: 12px;
    color: #2980b9;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.total-item .value {
    display: block;
    font-size: 20px;
    color: #2c3e50;
    font-weight: bold;
}

.products-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.products-section h4 {
    color: #2c3e50;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
	font-size: 1.5em;
}

.product-card {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card p,
.product-card h3 {
    margin: 0;
}

.product-header {
    margin-bottom: 10px;
}

.product-header h5 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 8px;
	font-size: 1.4em;
}

.product-meta {
    display: flex;
    gap: 0.75em;
    flex-wrap: wrap;
}

.product-meta span {
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
}

.product-details {
    background: white;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.detail-row {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.containers-table {
    overflow-x: auto;
    margin-top: 15px;
}

.containers-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.containers-table th {
    background: #2c3e50;
    color: white;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.containers-table td {
    padding: 10px;
    border: 1px solid #dee2e6;
    background: white;
}

.containers-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.containers-table tr:hover td {
    background: #e8f4fc;
}

.no-data {
    text-align: center;
    color: #6c757d;
    padding: 20px;
    font-style: italic;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .receipt-meta {
        grid-template-columns: 1fr;
    }
    
    .receipt-totals {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-details {
        grid-template-columns: 1fr;
    }
    
    .containers-table table {
        font-size: 12px;
    }
    
    .containers-table th,
    .containers-table td {
        padding: 6px;
    }
}

/* Modal content specific */
.resi-content .receipt-summary {
    overflow-y: auto;
    padding: 0 0.5em;
}

/* Custom scrollbar */
.receipt-summary::-webkit-scrollbar {
    width: 8px;
}

.receipt-summary::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.receipt-summary::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.receipt-summary::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.list-header {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.list-header h3 {
    margin-top: 0;
    color: #2c3e50;
}

.search-info {
    color: #6c757d;
    font-size: 14px;
    margin-top: 8px;
}

.receipts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.receipt-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.receipt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.card-header {
    background: #2c3e50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h4 {
    margin: 0;
    font-size: 18px;
}

.receipt-badge {
    background: #3498db;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.card-body {
    padding: 15px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f1f1;
}

.card-row .label {
    color: #6c757d;
    font-size: 13px;
}

.card-row .value {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
}

.card-totals {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
}

.mini-total {
    text-align: center;
    flex: 1;
}

.mini-label {
    display: block;
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.mini-value {
    display: block;
    font-size: 16px;
    color: #2c3e50;
    font-weight: bold;
}

.card-footer {
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.view-details-btn {
    width: 100%;
    padding: 10px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.view-details-btn:hover {
    background: #2980b9;
}

.back-to-list-btn {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.back-to-list-btn:hover {
    background: #5a6268;
}

.list-summary {
    background: #e8f4fc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid #b3e0ff;
}

.list-summary p {
    margin: 5px 0;
    color: #2c3e50;
}

.search-meta {
	margin-bottom: 1.5em;
}

@media (max-width: 768px) {
    .receipts-grid {
        grid-template-columns: 1fr;
    }
}
