/**
 * Theme Name: Mukwonago CBD and Wellness
 * Template:   hello-elementor
 * Version: 1
*/

.horizontal_center {  
  left: 50%;
  transform: translate(-50%, 0%);
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.splide__slide img {
    width: 100%;
    height: auto;
}

.splide__track--nav>.splide__list>.splide__slide {
	display: hidden;
}

.splide__track--nav>.splide__list>.splide__slide.is-active {
	display: hidden;
}

#image-carousel p {
    color: #FFF;
    font-size: 45px;
    font-size: 4.5vh;    
}

.md_button {
    background-color: #ddd;
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 16px;
    text-transform: uppercase;
}

.featured_background {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -15%);
    width:65%;
    height: 90%;  
}

.featured_background .background_image {
    opacity: 0.55;
    height:90%;
}

.title_wrap {
    position: absolute;
    top: 0vh;
    background-color: #007939;
    width: 100%;
    height: 8vh;
    padding: 0px;
    padding-bottom: 5px;
    margin: 0px;
}

.title_text {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -0%);
    font-weight: bold;
    font-size: 5vh;
}

.featured_image {    
    position: absolute;
    left: 5vh;
    top: 10vh;
    overflow:hidden;
}

.featured_image img {
    height: 52vh;
    /*border: 5px solid #02a54e;*/
    margin-top: 1vh;    
    /*transform: rotate(90deg);*/
}

.leafly_link {
    position:absolute;
    right:0vh;
}

.short_descr_wrap {
    position: absolute;
    right: 5vh;
    left: 50vh;
    top: 12vh;     
    line-height: 1.35;  
}

.short_descr_wrap font {
    font-size: 20px;  
}

.short_descr a:link {
    color: #FFF;
    font-weight: bold;
}

.short_descr a:visited {
    color: #FFF;
    font-weight: bold;
}

.short_descr a:hover {
    color: #FFF;
    font-weight: bold;
    text-decoration: underline;
}

.short_descr a:active {
    color: #FFF;
    font-weight: bold;
}

.thca_wrap {
    position: absolute;   
    bottom: 0vh; 
    background-color: #007939;
    width: 100%;
    padding: 0px;
    padding-bottom: 5px;
    margin: 0px;
    height: 6vh;
}

.thca_category {
    font-size:.8em;    
    position: absolute;
    left: 0vh;    
    padding: 0px;
    margin-left: 5px;
}

.thca_percent {
    font-size:.7em;    
    position: absolute;
    left: 0vh;
    bottom: 0vh;
    margin-left: 5px;
}

.thca_wrap .thca_category {
  padding: 5px;
  position: absolute;
  left: 0vh;
}

.thca_wrap a {
  padding: 5px;
  position: absolute;
  right: 0vh;
  top:-1.25vh;
}

/* WooCommerce */



.product-rating__stars span {
    font-family:star;
}

/*star rating for products*/

div.product .woocommerce-product-rating {
    margin-bottom: 1.618em;
}

.woocommerce-product-rating .star-rating {
    margin: .5em 4px 0 0;
    float: left;
}

.woocommerce-product-rating::after, .rating-custom .woocommerce-product-rating::before {

    content: ' ';
    display: table;

}

.woocommerce-product-rating {
    line-height: 2;
}

.star-rating {
    float: right;
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star;
}

.star-rating::before {
    content: '\73\73\73\73\73';
    color: #d3ced2;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating {
    line-height: 1;
    font-size: 1em;
    font-family: star;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0;
}

.star-rating span {

    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;

}

/* Consent form styles */

.hidden {
    display: none;
}

.container:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-image: url('image.jpg');
   opacity: 0.5;
}

#consent-popup {      
    position: fixed;
    z-index: 10000;   
    width:100%;
    height:100%;    
    background-image: url('http://jasonl510.sg-host.com/wp-content/uploads/2026/06/consent-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;    
}

#age-verification-form {
    background-color: #FFF;
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -32%);
    width: 42%;
    height: 65%;      
}

#age-verification-form p {
    font-size:1.5em;
    margin-top:5px;
}

/* mobile media queries */


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

    #age-verification-form {
        width: 65%;
    }

    #age-verification-form h2 {
        font-size:20px;        
    }

    #age-verification-form p {
        font-size:18px;
        margin-top:5px;
    }

    .parallax {
        min-height: 125vh;
    }

    .my_products {
        max-width:280px;
    }
}

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

    #age-verification-form {
        width: 85%;
    }

    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }
    
    #image-carousel-div {
        height:125vh;
        width:100%;
    } 

    .featured_background {
        position: static;
        margin: auto;
        top: 15%;
        left: auto;
        transform: none;
        width: 85%;
        height: 75%;      
    }

    .featured_background .background_image {        
        width: 100%;
        height:1px;
    }

    .featured_image {       
        height:48vh;               
        position: absolute;        
        top: 10%;
        left: 50%;
        transform: translate(-50%, -10%);
    }     
    
    .featured_image img {
        height:100%;
        object-fit:contain;            
        margin-top: 1vh;
        margin-bottom: 1vh;        
    }

    .leafly_link {
        position:absolute;
        right:0vh;        
    }

    .leafly_link button {
        font-size:.5em;
    }

    .short_descr_wrap {
        position: absolute;
        right: 85px;
        left: 85px;
        top: 53vh;                   
        padding-bottom:15px; 
        padding-top:15px;    
        font-size: 17px;
        line-height:18px;    
    }

    .short_descr_wrap font {        
        font-size: 17px;
        line-height:18px;
    }

    .short_descr {
        font-size: 17px;
        line-height: 18px;
    }    

    .thca_category {
        padding-top: 15px;
        font-size: 17px;        
    }

    .thca {
        margin-top: 25px;
        font-size: 17px;
    }    

    .thca_wrap a {
        position: absolute;
        top: -1.25vh;
        left: 58%;
        transform: translate(-58%, 0%);
    }

    .title_wrap font {
        font-size: 20px;
        text-align: center;
    }

    .title_text {                        
        text-align: center;
        text-wrap: nowrap;
    }

    .buy_now_button {
        position: absolute;
        top: -50px;
        left: -35px;
        font-size: .8em; /* 1 */
        line-height: 1; /* 1 */
        padding: 10px 50px 10px 50px;
    }
}

/* parent overrides */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
 button,
 input,
 optgroup,
 select,
 textarea {
   font-family: inherit; /* 1 */
   font-size: 1rem; /* 1 */
   line-height: 1.5; /* 1 */
   margin: 0; /* 2 */
 }
 
 input[type=text],
 input[type=date],
 input[type=email],
 input[type=number],
 input[type=password],
 input[type=search],
 input[type=tel],
 input[type=url],
 select,
 textarea {
   width: 100%;
   border: solid 1px #555;
   border-radius: 3px;
   padding: 0.5rem 1rem;
   transition: all 0.3s;
 }
 input[type=text]:focus,
 input[type=date]:focus,
 input[type=email]:focus,
 input[type=number]:focus,
 input[type=password]:focus,
 input[type=search]:focus,
 input[type=tel]:focus,
 input[type=url]:focus,
 select:focus,
 textarea:focus {
   border-color: #222;
 }
 
 /**
  * Show the overflow in IE.
  * 1. Show the overflow in Edge.
  */
 button,
 input { /* 1 */
   overflow: visible;
 }
 
 /**
  * Remove the inheritance of text transform in Edge, Firefox, and IE.
  * 1. Remove the inheritance of text transform in Firefox.
  */
 button,
 select { /* 1 */
   text-transform: none;
 }
 
 /**
  * Correct the inability to style clickable types in iOS and Safari.
  */
 button,
 [type=button],
 [type=reset],
 [type=submit] {
   width: auto;
   -webkit-appearance: button;
 }
 
 /**
  * Restore the focus styles unset by the previous rule.
  */
 button,
 [type=submit],
 [type=button] {
   display: inline-block;
   font-weight: 400;
   color: #FFF;
   text-align: center;
   white-space: nowrap;
   -webkit-user-select: none;
      -moz-user-select: none;
           user-select: none;
   background-color: #02a54e;
   border: 1px solid #02a54e;
   padding: 0.5rem 1rem;
   font-size: 1rem;
   border-radius: 3px;
   transition: all 0.3s;
   text-transform:uppercase;
 }
 button:focus:not(:focus-visible),
 [type=submit]:focus:not(:focus-visible),
 [type=button]:focus:not(:focus-visible) {
   outline: none;
 }
 button:hover, button:focus,
 [type=submit]:hover,
 [type=submit]:focus,
 [type=button]:hover,
 [type=button]:focus {
   background-color: #ffffff;
   color: #02a54e;
   text-decoration: none;
 }
 button:not(:disabled),
 [type=submit]:not(:disabled),
 [type=button]:not(:disabled) {
   cursor: pointer;
}

/* Card Expiration */

.exp-wrapper {
    position: relative;    
    display: flex;
    width: 135px;
    justify-content: space-between;
    height: 36px;
    line-height: 36px;
    font-size: 24px;
  }
  
  .exp-wrapper:after {
    content: '/';
    position: absolute;
    left: 50%;
    margin-left: -11px;
    color: #aaa;
  }
  
  input.exp {
    float: left;
    font-family: monospace;
    border: 0;
    width: 15px;
    outline: none;
    appearance: none;
    font-size: 14px;
}

.parallax {
    /* The image used */
    background-image: url("https://missiondistro.com/wp-content/uploads/2025/03/missiondistro-thca-flower-banner.jpg");
  
    /* Set a specific height */
    min-height: 75vh;
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
}

.parallax h1 {
    font-size: 3em;
    color:#FFF;    
    position: absolute;
    min-width:75%;     
    text-align: center;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.parallax banner {
    background-image: url("https://missiondistro.com/wp-content/uploads/2025/02/istockphoto-1205549124-1024x1024_cropped.jpg");
}

.image_container {
    overflow: hidden;
}

.my_products {
    overflow: hidden;
}

.zoom {    
    transition: transform .2s; /* Animation */    
    overflow: hidden;
}
  
.zoom:hover {
    transform: scale(1.5); 
}

.big_zoom {    
    transition: transform .2s; /* Animation */    
    overflow: hidden;
}
  
.big_zoom:hover {
    transform: scale(1.7); 
}

.items_block {
    padding-left:55px;
}

.flex {
    display:flex;    
}

/* WooCommerce Overries */

.product_meta .sku_wrapper {
    display: none;
}

.product_meta .detail-label {
    display: none;
}