/*
Theme Name: Youthlabs
Theme URI: 
Author: 
Author URI: 
Description: A default WordPress theme
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: youthlabs
*/

/* CF7 CSS */
.screen-reader-response {
  display: none;
}

.wpcf7-response-output {
  margin-top: 2rem;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
}

.wpcf7-not-valid-tip {
  color: red;
  font-size: 0.875rem;
  line-height: 1.3;
  margin-top: 0.5rem;
}

/**
 * WooCommerce AJAX
 */
.added_to_cart {
  display: none !important;
}

/*woo minicart*/
.cart-table-custom a {
  color: inherit;
  text-decoration: none;
}

/*WOO ARCHIVE*/
.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 0 !important;
}

.top-categories {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

@media (max-width: 1200px) {
  .top-categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1024px) {
  .top-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 968px) {
  .top-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .top-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* WooCommerce Variable Product Variations */
.woocommerce .variations {
  margin-bottom: 1.5rem;
  width: 100%;
}

.woocommerce .variations tr {
  border: none;
}

.woocommerce .variations th.label {
  padding: 0.5rem 0;
  vertical-align: middle;
}

.woocommerce .variations th.label label {
  margin: 0;
  font-weight: 600;
}

.woocommerce .variations td.value {
  padding: 0.5rem 0;
}

.woocommerce .variations select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.woocommerce .variations .reset_variations {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  text-decoration: underline;
}

.woocommerce .single_variation_wrap {
  margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-variation-description {
  margin-bottom: 1rem;
}

/* Remove number input spinners */
.product-qty-input,
input[type="number"].product-qty-input,
.cart-item-qty-input {
  appearance: none !important;
  -moz-appearance: textfield !important;
}

/* Remove spinners in webkit browsers (Chrome, Safari, Edge) */
.product-qty-input::-webkit-inner-spin-button,
.product-qty-input::-webkit-outer-spin-button,
input[type="number"].product-qty-input::-webkit-inner-spin-button,
input[type="number"].product-qty-input::-webkit-outer-spin-button,
.cart-item-qty-input::-webkit-inner-spin-button,
.cart-item-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.single-product-stock p {
  margin-bottom: 0 !important;
}

.variations_form.cart .btn {
  background-color: rgb(0, 76, 98) !important;
  color: rgb(255, 255, 255) !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
  padding-top: 0.625rem !important;
  padding-bottom: 0.625rem !important;
  border-radius: 0.5rem !important;
  font-weight: 400 !important;
  font-size: 0.875rem !important;
  gap: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
}

.review-stars .review-stars--item.active .icon-star:before {
  filter: grayscale(0);
}

#commentform p.stars {
  display: none !important;
}

/* Skeleton Loader Styles */
.product-item--skeleton {
  pointer-events: none;
  user-select: none;
}

.skeleton-loader {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  width: 100%;
  /* aspect-ratio is inherited from .product-item--img */
  position: relative;
  overflow: hidden;
}

.skeleton-stars {
  opacity: 0.2;
}

.skeleton-text {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  height: 16px;
}

.skeleton-text--small {
  width: 40px;
  height: 14px;
}

.skeleton-text--title {
  width: 80%;
  height: 20px;
}

.skeleton-text--price {
  width: 100px;
  height: 24px;
}

.skeleton-button {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
  width: 150px;
  height: 40px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Smooth transition for product loading */
#homepage_products_wrapper {
  transition: opacity 0.3s ease-in-out;
}

#homepage_category_filters .category-btn {
  border: none !important;
}

/* WooCommerce My Account Styles */
.woocommerce-account .section--normal {
  padding-top: 3rem;
}

/* My Account Navigation */
.woocommerce-account .myaccount-navigation {
  margin-bottom: 2rem;
}

.woocommerce-account .btn--custom {
  text-align: left;
  margin-bottom: 0.5rem;
}

/* Orders Table */
.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table thead th {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
}

.orders-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.orders-table tbody tr:last-child td {
  border-bottom: none;
}

/* Badge States */
.badge--state {
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
}

.badge--state--1 {
  background-color: #e3f2fd;
  color: #1976d2;
}

.badge--state--2 {
  background-color: #fff3e0;
  color: #f57c00;
}

.badge--state--3 {
  background-color: #e1f5fe;
  color: #0288d1;
}

.badge--state--4 {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.badge--state--5 {
  background-color: #e8f5e9;
  color: #388e3c;
}

.badge--state--6 {
  background-color: #c8e6c9;
  color: #2e7d32;
}

.badge--state--7 {
  background-color: #ffebee;
  color: #c62828;
}

.badge--state--8 {
  background-color: #fff9c4;
  color: #f57f17;
}

.badge--state--9 {
  background-color: #fce4ec;
  color: #c2185b;
}

.badge--state--10 {
  background-color: #e0f2f1;
  color: #00695c;
}

/* Custom Table */
.custom-table-wrap {
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table thead th {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
}

.custom-table tbody td {
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}

.custom-table tbody tr:last-child td {
  border-bottom: none;
}

/* Progress Bar */
.progress-custom {
  height: 0.5rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #28a745;
  transition: width 0.6s ease;
}

/* Password Toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper--input {
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 2.5rem;
  cursor: pointer;
  z-index: 10;
}

.toggle-password .icon-style {
  font-size: 1.25rem;
  color: #6c757d;
}

.toggle-password:hover .icon-style {
  color: #495057;
}

/* Form Controls */
.form-control--shadow,
.form-select--shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #ced4da;
}

.form-control--shadow:focus,
.form-select--shadow:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

/* Block Styles */
.block--custom {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
}

.block--light-green {
  background-color: #f0f9f4;
  border-radius: 0.5rem;
  padding: 2rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .woocommerce-account .col-lg-3 {
    margin-bottom: 2rem;
  }

  .orders-table {
    font-size: 0.875rem;
  }

  .orders-table thead th,
  .orders-table tbody td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .woocommerce-account .col-6 {
    width: 100%;
    margin-bottom: 2rem;
  }

  .orders-table-wrap {
    overflow-x: scroll;
  }

  .orders-table {
    min-width: 600px;
  }
}

/* WooCommerce Cart */
.cart-shipping-method {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-shipping-methods {
  align-items: flex-end;
}

.cart-table tbody tr td a{
  color: inherit!important;
  text-decoration: none!important;
}

/* WooCommerce Checkout */
.woocommerce-checkout  form .form-row .input-text,
.woocommerce-checkout  form .form-row select {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding: inherit;
  display: inherit;
  background-color: inherit;
  border: inherit;
  border-radius: inherit;
  color: inherit;
  width: inherit;
  margin: inherit;
  line-height: inherit;
  height: inherit;
}

.woocommerce-checkout .form-control--shadow,
.woocommerce-checkout .form-select--shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #ced4da !important;
}

.woocommerce-checkout .form-control--shadow {
  border: 1px solid rgba(0, 76, 98, 0.25) !important;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-checkout .form-control {
  display: block !important;
  width: 100% !important;
  padding: 0.375rem 0.75rem;
  font-size: 1rem !important;
  font-weight: 400;
  line-height: 1.5 !important;
  color: var(--bs-body-color);
  background-color: var(--bs-form-control-bg) !important;
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
  appearance: none;
  border-radius: 0.375rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.woocommerce-checkout .form-control {
  padding: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 130% !important;
  font-size: 0.875rem !important;
  color: #004c62 !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 76, 98, 0.25) !important;
  border-radius: 0.5rem !important;
}

.woocommerce-form__label-for-checkbox {
  margin-bottom: 0 !important;
}

.woocommerce-checkout .select2-container .select2-selection--single {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 5px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 76, 98, 0.25);
  border-image: initial;
  font-weight: 500;
  font-size: 0.875rem;
  background-size: 0.625rem;
  padding: 0;
  border-radius: 0.5rem;
  --bs-form-select-bg-img: url(
    data:image/svg + xml,
    %3csvgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 16 16"%3e%3cpathfill="none"stroke="%23343a40"stroke-linecap="round"stroke-linejoin="round"stroke-width="2"d="m2 5 6 6 6-6"/%3e%3c/svg%3e
  );
  display: block;
  width: 100%;
  line-height: 1!important;
  color: var(--bs-body-color)!important;
  background-color: var(--bs-form-control-bg)!important;
  background-image: var(--bs-form-select-bg-img),
    var(--bs-form-select-bg-icon, none)!important;
  background-repeat: no-repeat!important;
  appearance: none!important;
  background-position: right 0.75rem center!important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out!important;
  height: auto !important;
}

.woocommerce-checkout
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  padding: 1rem 1.75rem 1rem 1rem;
  line-height: 1!important;
}

.woocommerce-checkout
  .select2-container
  .select2-selection--single
  .select2-selection__arrow {
  height: 100% !important;
}

.checkout-coupon-toggle{
	cursor: pointer;
}

.btn-remove-coupon{
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

.btn-remove-coupon:hover{
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  background: none;
  border: none;
  padding: 0;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: inherit;
  border-radius: 0;
  line-height: inherit;
  background-color: inherit;
  color: inherit;
  transition: all 0.2s ease-in-out;
  font-size: 0.813rem;
  line-height: 130%;
}

.woocommerce-checkout #payment div.payment_box::before {
  content: none;
}

.woocommerce-checkout #payment div.form-row {
  padding: 0;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-form__input-checkbox{
  margin-right: 0 !important;
}

.woocommerce-terms-and-conditions-wrapper label{
  line-height: 1.5 !important;
}

#place_order{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  line-height: normal;
  border-radius: 0.25rem;
  transition: all 0.3s ease-in-out;
  border-radius: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  gap: 0.5rem;
  background-color: #F0CCE8;
  color: #004C62;
  width: 100% !important;
  justify-content: center !important;
}

/*Login page*/
form.woocommerce-form.woocommerce-form-login.login, .woocommerce-form.woocommerce-form-register.register{
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

/*Packeta*/
.packeta-widget-button button{
  background-color: #BA1B02!important;
  color: #ffffff!important;
  border: none!important;
  padding: 0.875rem 1.5rem!important;
  font-weight: 600!important;
  font-size: 0.875rem!important;
  gap: 0.5rem!important;
  border-radius: 0.5rem!important;
  text-decoration: none!important;
  cursor: pointer!important;
  line-height: normal!important;
}

/*defualts*/
.circle-big img {
  bottom: 0!important;
  position: relative!important;
  left: 0!important;
  transform: none!important;
  width: 100%!important;
  height: 100%!important;
  object-fit: cover!important;
}

/* mailchimp */
.mc4wp-response {
    color: white;
    margin-top: 1rem;
}

p.form-row.form-row-wide.mailchimp-newsletter {
	align-items: center;
	padding: 0;
	gap: 0.75rem;
	display: flex;
	margin-bottom: 1.5rem;
}

p.form-row.form-row-wide.mailchimp-newsletter label {
	color: #004C62;
	font-size: 0.813rem;
	line-height: 1.5;
	font-weight: 500;
}

p.form-row.form-row-wide.mailchimp-newsletter input[type="checkbox"] {
	appearance: none;
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 1px solid rgba(0, 76, 98, 0.5);
	border-radius: 0.25rem;
	background-color: transparent;
	margin: 0;
	cursor: pointer;
	background-image: var(--bs-form-check-bg-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-right: 0.75rem;
}

p.form-row.form-row-wide.mailchimp-newsletter input[type="checkbox"]:checked[type="checkbox"] {
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

p.form-row.form-row-wide.mailchimp-newsletter input[type="checkbox"]:checked {
	background-color: #004C62 !important;
}

/*cart cross sells*/
.cart-collaterals .cross-sells{
	display: none!important;
}