/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com/demo/
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/

/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

footer a.nasa-link-image img.nasa-image.skip-lazy {
  max-width: 120px !important;
}

.woocommerce-form.woocommerce-form-login button.show-password-input {
  display: none;
}

.nasa-search-space .item-search {
  position: relative;
  padding: 6px 0;
  border-bottom: 1px solid #cecdc7;
}

.nasa-topbar-change-view-wrap {
  display: none;
}

.nasa-popup-content-contact .radio-list-wrap > p {
  justify-content: space-around !important;
}

#calc_shipping_city_field label,
#calc_shipping_postcode_field label {
  opacity: 1 !important;
  font-size: 12px !important;
  top: 0.5em !important;
  z-index: 1;
  opacity: 0.6;
  -webkit-transform: translateY(0) !important;
  -moz-transform: translateY(0) !important;
  -o-transform: translateY(0) !important;
  -ms-transform: translateY(0) !important;
  transform: translateY(0) !important;
}

.password-input {
  position: relative;
}

.password-input .show-password-input {
  position: absolute;
  right: 0;
  top: 0;
  background: transparent;
  border: none;
}

.password-input .show-password-input svg {
  fill: #e42e2d;
  width: 20px;
}

.nasa-login-register-warper .nasa-form-logo-log img {
  max-height: 40px !important;
}

.btn-submit-newsletters {
  width: 100%;
  font-size: 18px !important;
}

.popup-overlay .btn-submit-newsletters {
  width: 100%;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.popup-overlay.active .popup-box {
  transform: translateY(0);
  opacity: 1;
}

.popup-box h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.popup-box p {
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
}

.popup-box .input-group {
  position: relative;
  margin-bottom: 15px;
}

.popup-box input[type="email"] {
  width: 100%;
  padding: 14px 45px 14px 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.popup-box .close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
  outline: none;
  padding: 0;
}

.popup-box .close-btn.highlight {
  border-color: #e74c3c;
  color: #e74c3c;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.7);
}

.popup-box .close-btn:focus {
  border-color: #e74c3c;
  color: #e74c3c;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.7);
}

.popup-box .wpcf7-not-valid-tip {
  text-align: left;
  padding-top: 10px;
}

.popup-box .wpcf7-response-output {
  margin: 0;
}

.wpb_text_column p {
  padding-top: 10px;
}

.top-header {
  width: 100%;
  text-align: center;
  padding: 6px;
  background: #e42e2d;
  color: #fff;
  font-size: 16px;
  line-height: 1.5em;
}

.home-trending {
  display: none;
}

.trending-img img {
  width: 100%;
}

.products .product-img img {
  height: 280px;
  object-fit: cover;
}
.return-request textarea {
  height: 80px !important;
}
.return-request input[type="date"],
.return-request select {
  color: #757575;
}
.return-request input[type="file"] {
  background-color: white;
  font-family: inherit;
  border: 1px solid #dedede;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #757575;
  display: block;
  font-size: 100%;
  margin: 0;
  padding: 0.48276em;
  height: 42px;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  -moz-border-radius: 5px;
}
.return-request span.wpcf7-list-item {
  margin: 0;
}
.return-request .wpcf7-list-item-label {
  font-family: inherit;
  font-size: 1em;
  color: #4d4d4d;
  font-weight: 500;
}
.return-request input[type="file"]::file-selector-button {
  background-color: #757575; /* Change to your desired color */
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.home-product-list .product-item {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  padding: 10px;
  border-radius: 5px;
}
.home-product-list .product-item .main-img img {
  height: 220px;
  object-fit: cover;
}
.home-product-list .row {
  max-width: max-content;
}
.nasa-category-horizontal-4 .nasa-cat-link:hover .nasa-cat-thumb img {
  -webkit-box-shadow: 0 0 4px 0 rgb(228 46 45 / 50%) !important;
  -moz-box-shadow: 0 0 4px 0 rgb(228 46 45 / 50%) !important;
  box-shadow: 0 0 4px 0 rgb(228 46 45 / 50%) !important;
}
.discount-section input[type="submit"] {
  width: max-content;
}
/* .best-deals .price{
  display: none;
} */
.custom-add-price {
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  margin-top: 5px;
}
.custom-add-price span {
  color: #e42e2d; /* red */
  font-weight: bold;
}
.hidden-fields-container{
  border: none !important;
}
@media only screen and (min-width: 767px) {
  body {
    padding-bottom: 0;
  }
  .nasa-top-cat-filter-wrap .cat-item.root-item > a {
    text-transform: uppercase;
    font-size: 14px !important;
    padding: 10px !important;
    font-weight: bold;
  }
  #nasa-breadcrumb-site {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #f0f0f0 !important;
  }
}

@media only screen and (max-width: 767px) {
  div.mobile-margin-top-50 {
    margin-top: 10px !important;
  }

  .breadcrumb-row {
    height: 80px !important;
  }

  .hb-banner li.slick-active {
    width: 14px;
    height: 6px;
  }

  .hb-banner .banner-inner h2 {
    font-size: 14px !important;
  }

  .hide-mobile {
    display: none;
  }

  .nasa-login-register-warper .nasa-form-logo-log img {
    max-height: 25px !important;
  }

  .hb-trending .image-wrap img {
    width: 100%;
    height: 350px;
    object-fit: cover;
  }

  .products .product-img img {
    height: 190px;
    object-fit: cover;
  }
  #nasa-breadcrumb-site {
    background-size: cover !important;
  }
}

@media (max-width: 480px) {
  .popup-box {
    padding: 30px 20px;
  }

  .popup-box .close-btn {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }

  .home-trending {
    display: block;
  }

  .home-trending h3.nasa-heading-title {
    font-size: 20px;
  }

  .home-trending .nasa-slick-simple-item .image-wrap img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; */
    padding: 10px;
    /* box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px; */
    border: 1px solid #012967;
  }

  .home-trending
    .nasa-slick-simple-item
    .nasa-product-slick-item-wrap
    .title-wrap
    a {
    font-size: 16px;
    line-height: 1.3em;
  }
  .header-icons .nasa-login-register-ajax.nasa-flex {
    display: none;
  }
  .nasa-mobile-nav-wrap .nasa-menusub-for-mobile .ns-sub-account .menu-item a {
    color: #e42e2d;
  }
}

.ht_ctc_style.ht_ctc_chat_style {
    display:none;
}