/*   
Theme Name: Green Pharm
Author: Digital Brain
Author URI: digitalbrain.net
Version: 1.0.0
*/
.order-popup .btn-wrap button, .order-popup .btn-wrap a {
      width: 100%;
      border: none;
      background: #fff;
      cursor: pointer;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; }
      .order-popup .btn-wrap button:hover, .order-popup .btn-wrap a:hover {
        background: #000; }
.order-popup .nice-select .list li {
  position: relative; }
  .order-popup .nice-select .list li a:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: ''; }
figure img{
	height: auto;
}
.locations-after.is-open .content{
	max-height: inherit;
}
.footer-form input{
	width: 100%;
}
.footer-form .wpcf7-form-control-wrap{
	width: calc(100% - 40px);
}

.top-line .nice-select .option{
	position: relative;
}

.top-line .nice-select .option a:after{
	position: absolute;
	top: 0;
	 left: 0;
	width: 100%;
	height: 100%;
	content: "";
}

.footer-form{
	position: relative;
}

.wpcf7 form .wpcf7-response-output{
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin:20px 0 0;
	
}

.footer-form .wpcf7-not-valid-tip{
	font-size: 12px;
}

.footer-form button:hover{
	background: #7eb772;
}

.wpcf7 form .wpcf7-response-output{
	z-index: 10;
}

.order-block{
	padding: 0!important;
	background: transparent!important;
}

.age-gate-buttons, .age-gate__buttons {
	margin-top: 40px;
}

@media (max-width: 1199px){
	.home-banner .bg .bg-video{
		display: none!important;
	}
	.home-banner .bg .bg-video-1{
		display: block!important;
	}
}

/* Form container */
#gform_wrapper_2 {
	width: 216px;
	border: 2px solid white;
	height: 48px;
	display: flex;
	justify-content: space-between;
	padding: 2px;
	border-radius: 24px;
	position: relative;
	background-color: transparent;
	margin: 0 auto; /* Center on mobile by default */
  }
  
  /* Hide labels */
  #gform_wrapper_2 .gfield_label {
	display: none;
  }
  
  /* Submit button */
  #gform_wrapper_2 .gform_footer {
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	position: absolute;
	right: 2px;
	top: 2px;
  }
  
  #gform_wrapper_2 .gform_footer input[type="submit"] {
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: var(--old-green);
	display: flex;
	justify-content: center;
	align-items: center;
	border: none;
	cursor: pointer;
	padding: 0;
	min-width: unset;
	font-size: 0;
	background-image: url('img/icon-3.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px;
  }
  
  #gform_wrapper_2 .gform_footer input[type="submit"]:hover {
	background-color: #fff;
  }
  
  /* Form fields */
  #gform_wrapper_2 .gform_body {
	width: calc(100% - 40px);
  }
  
  #gform_wrapper_2 .gfield {
	padding: 0;
	margin: 0;
  }
  
  #gform_wrapper_2 input[type="email"],
  #gform_wrapper_2 input[type="text"] {
	width: 100%;
	border: none;
	background: transparent;
	padding: 0 15px;
	height: 40px;
	line-height: 40px;
	font-size: 20px;
	font-weight: 400;
	color: #fff;
	letter-spacing: 1px;
	margin: 0;
  }
  
  /* Placeholder text color */
  #gform_wrapper_2 input[type="email"]::placeholder,
  #gform_wrapper_2 input[type="text"]::placeholder {
	color: rgba(255, 255, 255, 0.6);
	opacity: 1;
  }
  
  /* For IE */
  #gform_wrapper_2 input[type="email"]:-ms-input-placeholder,
  #gform_wrapper_2 input[type="text"]:-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.6);
  }
  
  /* For Edge */
  #gform_wrapper_2 input[type="email"]::-ms-input-placeholder,
  #gform_wrapper_2 input[type="text"]::-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.6);
  }
  
  /* Validation messages */
  #gform_wrapper_2 .validation_message {
	font-size: 12px;
	position: absolute;
	bottom: -20px;
  }
  
  #gform_wrapper_2 .validation_error,
  #gform_wrapper_2 .gform_validation_errors {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: 20px 0 0;
	z-index: 10;
  }
  
  /* Fix for form layout */
  #gform_wrapper_2 .gform_fields {
	display: flex;
	grid-gap: 0;
  }
  
  #gform_wrapper_2 form {
	display: flex;
  }
  
  #gform_wrapper_2 .gform_body {
	flex: 1;
  }
  
  /* Confirmation message styling */
  #gform_confirmation_message_2 {
	color: #fff;
	font-size: 16px;
	line-height: 1.4;
	padding: 10px 0;
	border-radius: 4px;
	width: 216px;
	margin: 0 auto; /* Center on mobile */
  }
  
  /* Container for confirmation message */
  #gform_confirmation_wrapper_2 {
	width: 216px;
	margin: 0 auto; /* Center on mobile */
  }
  
  /* Desktop styles - change alignment for larger screens */
  @media screen and (min-width: 768px) {
	#gform_wrapper_2 {
	  margin: 0; /* Left-align on desktop */
	}
	
	#gform_confirmation_message_2 {
	  margin: 0; /* Left-align on desktop */
	}
	
	#gform_confirmation_wrapper_2 {
	  margin: 0; /* Left-align on desktop */
	}
  }

  .below-text p {
	margin-bottom: 1rem;
  }