/* * ===============================
   GLOBAL & UTILITIES
 * ===============================
*/

/* --- Sticky Header --- */
.main-header-bar.site-header-focus-item.ast-sticky-active {
  background: #fff;
}

/* --- Sale Badge & Cross Sell --- */
span.onsale.square-outline,
.wp-block-woocommerce-cart-cross-sells-block {
  display: none;
}

/* --- Category List --- */
ul.category-list {
  justify-content: center;
}

/* --- Scrolling Text --- */
.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 5px 0;
}

.scroll-text {
  display: inline-block;
  animation: scroll-left 25s linear infinite;
  font-size: 12px;
  color: #333;
  padding-right: 300px;
}

/* --- Animation --- */
@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}


/* * ===============================
   HEADER
 * ===============================
*/

/* --- Header Container --- */
#masthead .ast-above-header-wrap .ast-container {
  padding: 0;
}

/* --- Mobile Header --- */
.ast-mobile-popup-content .header-widget-area {
  padding-left: 16px;
  padding-top: 0;
}

.ast-builder-menu-mobile.ast-builder-menu {
  padding-bottom: 0;
}

#page #ast-mobile-popup select {
  background: none;
}

/* --- Currency Switcher --- */
select.wcpbc-country-switcher.country-switcher.wp-exclude-emoji {
  width: 100%;
  border: none;
  color: var(--ast-global-color-3);
}

@media screen and (min-width: 980px) {
  .wc-price-based-country.wc-price-based-country-refresh-area.refreshed {
    overflow: clip;
    position: relative;
    left: 25px;
  }

  select.wcpbc-country-switcher {
    position: relative;
    right: 25px;
  }
}


/* * ===============================
   HOMEPAGE
 * ===============================
*/

/* --- Product Slider CSP --- */
.cps-slider {
  width: 100%;
  overflow: hidden;
}

.cps-slider .cps-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cps-slider .cps-track::-webkit-scrollbar {
  display: none;
}

.cps-slider .cps-slide {
  flex: 0 0 calc(25% - 12px);
  max-width: calc(25% - 12px);
  box-sizing: border-box;
  scroll-snap-align: start;
}

.cps-slider .cps-slide__img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 992px) {
  .cps-slider .cps-slide {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
  }
}

@media (max-width: 767px) {
  .cps-slider {
    padding: 0 10px;
  }

  .cps-slider .cps-track {
    gap: 10px;
  }

  .cps-slider .cps-slide {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
    min-width: 0;
  }

  .cps-slider .cps-slide__title {
    font-size: 14px;
    line-height: 1.4;
  }

  .cps-slider .cps-slide__price {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .cps-slider .cps-slide {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
}

/* --- Product Aspect Ratio --- */
.home .attachment-full.size-full.wp-post-image {
  aspect-ratio: 4 / 5;
}

/* --- WC Product Slider Layout --- */
#wcps-container-5001 .wcps-item {
  width: 25%;
  float: left;
  box-sizing: border-box;
  padding: 10px;
}

#wcps-container-5001::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 1024px) {
  #wcps-container-5001 .wcps-item {
    width: 33.33%;
  }
}

@media (max-width: 768px) {
  #wcps-container-5001 .wcps-item {
    width: 50% !important;
  }
}

@media (max-width: 480px) {
  #wcps-container-5001 .wcps-item {
    width: 100% !important;
  }
}

/* --- Background Banner --- */
#gspb_container-id-gsbp-e53dc07.gspb_container {
  background-color: #fff !important;
}

#gspb_container-id-gsbp-3898bff.gspb_container {
  background-color: #fff !important;
}

#gspb_container-id-gsbp-157c9d9.gspb_container {
  background-color: #fff !important;
}

/* * ===============================
   SHOP
 * ===============================
*/

/* --- Product Header --- */
.woocommerce-products-header__title.page-title {
  margin-bottom; 0px !important;
}

/* --- Product Filter --- */
.wc-blocks-filter-wrapper button {
  color: black;
  margin-top: 15px;
}


/* * ===============================
   PRODUCT PAGE
 * ===============================
*/

/* --- Product Detail Layout --- */
.single-product #content,
.single-product .site-footer {
  position: relative;
  top: 112px;
}

.single-product .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  padding-top: 120px !important;
}

/* --- Wishlist --- */
.single-product .yith-wcwl-add-to-wishlist {
  position: relative;
  top: 20px;
}

#yith-wcwl-form .product-add-to-cart > a {
  color: black !important;
}

/* --- Quick View --- */
.ast-qv-image-slider.flexslider.images {
  background-color: black !important;
}

#ast-quick-view-content div.images {
  top: -2px !important;
}


/* * ===============================
   CART
 * ===============================
*/

@media (min-width: 1201px) {
  .woocommerce-cart .ast-container {
    padding-left: 60px;
    padding-right: 60px;
  }
}


/* * ===============================
   CHECKOUT
 * ===============================
*/

/* --- Checkout Fee --- */
.fee th,
.fee td {
  padding: 25px !important;
}

/* --- Newsletter --- */
p.form-row.form-row-wide.mailchimp-newsletter.ast-animate-input {
  padding: 20px 25px 14px;
}

/* * ===============================
   POPUP
 * ===============================
*/

/* --- New Member Popup --- */
.new-member-pum input.wpcf7-submit {
  width: 100%;
}

.new-member-pum .wpcf7-form p {
  margin: 0;
}

.new-member-pum .submitting .wpcf7-submit.has-spinner,
.wpcf7-spinner {
  display: none;
}

.new-member-pum .submitting .wpcf7-spinner {
  display: inline-block;
}

.new-member-pum .wpcf7 form.invalid .wpcf7-response-output {
  display: none;
}

.new-member-pum span.wpcf7-not-valid-tip {
  font-size: 12px;
}


/* * ===============================
   FOOTER
 * ===============================
*/

/* --- Footer Menu --- */
.site-footer-section-5 .wp-block-uagb-container.uagb-block-3af07249 {
  padding-top: 0 !important;
}

div#gspb_container-id-gsbp-375d6c8 {
  display: none !important;
}

#gspb_heading-id-gsbp-862ccfd {
  color: black !important;
}

.gsbp-c2d99d4, .gsbp-2bb71a3 {
  color: black !important;
}

#gspb_heading-id-gsbp-7e072e5 {
  color: black !important;
}

#newsletter .wpcf7-email {
  color: black !important;
}

.site-footer-section a {
  color: black !important;
}


/* * ===============================
   CUSTOM PAGE
 * ===============================
*/

/* --- Accordion --- */
.wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-heading__toggle:focus,
.wp-block-accordion-heading__toggle:active {
  background-color: transparent !important;
  color: black;
}

h3.wp-block-accordion-heading {
  margin: 0;
}

.wp-block-accordion-item {
  border: 1px solid #e9e9e9;
  padding: 15px 30px;
}

span.wp-block-accordion-heading__toggle-icon {
  font-size: 24px;
}

.wp-block-accordion-panel {
  display: block !important;
  margin-block-start: unset;
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px;
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    max-height 0.3s ease;
}

.wp-block-accordion-panel[aria-hidden="true"],
.wp-block-accordion-panel[inert] {
  opacity: 0;
  transform: translateY(-15px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
}


/* * ===============================
   LINKS PAGE
 * ===============================
*/

/* --- Linktree Layout --- */
.page-id-7319 header#masthead {
  display: none !important;
}

.page-id-7319 div#secondary {
  display: none !important;
}

.page-id-7319 .site-content .ast-container {
  display: flex;
  justify-content: center !important;
}

.page-id-7319 h1.entry-title {
  display: none !important;
}

.page-id-7319 footer#colophon {
  display: none !important;
}

.page-id-7319 .ast-single-post .entry-content a {
  text-decoration: none !important;
}


/* * ===============================
   MOBILE
 * ===============================
*/

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

  /* --- Scrolling Text --- */
  .scroll-container {
    width: 90vw;
  }

  .scroll-text {
    padding-right: 200px;
  }

  /* --- Animation --- */
  @keyframes scroll-left {
    from {
      transform: translateX(0%);
    }

    to {
      transform: translateX(-100%);
    }
  }

  /* --- Category List --- */
  ul.category-list {
    justify-content: normal;
  }

  /* --- Header Cart --- */
  .woocommerce .ast-header-woo-cart .ast-site-header-cart .ast-addon-cart-wrap,
  .ast-header-woo-cart .ast-site-header-cart .ast-addon-cart-wrap {
    display: flex;
  }

  /* --- Popup Notification --- */
  #popmake-3966 {
    min-width: 300px !important;
    max-width: 300px !important;
  }

  .new-member-pum {
    justify-content: center !important;
  }

  .new-member-pum .text-container {
    width: 300px !important;
    padding: 20px !important;
  }

  .new-member-pum .img-container {
    width: 300px !important;
  }
}

/* Sign In Mobile */
@media(max-width:480px){
    span.ast-header-account-text {
        display: none;
    }
}