/*
Theme Name: TheGoat
Version: 1.0
Tested up to: 7.0
Requires at least: 6.3.0
Requires PHP: 7.4
Author: Vero solutions
Author URI: https://goatclub.gg/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gt
*/
/**************************************************
*   Common fixes
*/

.gt_b0 .raffle-card .raffle-card__top {
  margin-bottom: 3px;
}
.gt_b0 .raffle-card .raffle-card__image img {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  width: 45px;
  height: 45px;
}
.gt_b1 .gt_b1__pagination {
  bottom: 8px !important;
}

.header__btns .header__gcash img,
.header__btns .header__gcash span {
  z-index: 1;
}

.header__btns .header__gcash {
  font-weight: 600;
  font-size: 16px;
  color: #deff31;
  padding: 9px 19px 9px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  position: relative;
}

@media (max-width: 992px) {
  .header__btns .header__gcash {
    padding: 5px 6px;
    font-size: 14px;
    padding-right: 10px;
  }

  .header__btns .header__gcash img {
    display: block;
    height: 16px;
    width: auto;
  }
}

.header__btns .header__gcash::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2px);
  border-radius: 12px;
  height: calc(100% - 2px);
  overflow: hidden;
  opacity: 1;
  --bg: linear-gradient(0deg, #5c1dc5, #9832df);
  background: #242223;
  backdrop-filter: blur(7.5px);
  z-index: 1;
}

.bg-hover-gcash {
  --bg: linear-gradient(0deg, #5c1dc5, #9832df);
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  border-radius: 12px;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  transition: opacity 0.3s ease-in-out;
  z-index: 0;
}

.gt_b17 .goat-verify .goat-verify__row label {
  text-transform: none;
}
@media screen and (min-width: 768px) {
  .gt_b1 .gt_b1__pagination {
    bottom: 22px !important;
  }
  .gt_b0 .raffle-card__bottom .goat-countdown {
    font-size: 15px;
  }
  .gt_b0 .raffle-card .raffle-card__top {
    margin-bottom: 8px;
  }
  .gt_b0 .raffle-card .raffle-card__image img {
    width: 63px;
    height: 61px;
  }
}
/**************************************************
*   Checkout Modal fixes
*/
.goat-products-modal__inner
  .checkout__order
  .woocommerce-checkout-review-order
  .secure-text {
  order: 5;
  text-align: center;
  margin-top: 15px;
}
.goat-products-modal__inner
  .checkout__order
  .woocommerce-checkout-review-order
  .secure-text
  p
  svg {
  display: inline-block;
  vertical-align: middle;
}
.error-message {
  color: #ff3932;
  font-size: 12px;
  /* padding-left: 13px; */
}
.woocommerce-form-row.has-error svg {
  top: calc(50% - 10px) !important;
}
.goat-account__content .woocommerce-notices-wrapper {
  display: block !important;
}
.goat-products-modal__inner form.checkout .goat-error {
  max-width: 380px;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .goat-products-modal .goat-products-modal__inner {
    max-width: 95%;
  }
  .goat-products-modal .goat-products-modal__inner .checkout__sign {
    max-width: 100%;
    min-height: 1px;
  }
  .goat-products-modal .goat-products-modal__inner .checkout__sign-img {
    display: none;
  }
  .goat-products-modal .goat-products-modal__inner .checkout__sign-content {
    padding: 7px;
  }
}
/**************************************************
*   Raffle product page (package/tier modal)
*/
.single-goat_raffles .raffle-sec__packages .raffle-sec__packages-header h3 {
  font-family: "Kuunari", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
}
.single-goat_raffles .raffle-sec__packages .gt_b14__text p {
  text-align: center;
}
.single-goat_raffles .raffle-sec__packages .gt_b14__text p strong {
  font-weight: 700;
}
.single-goat_raffles .raffle-sec__packages .goat-product .goat-product__acum {
  margin-top: 20px;
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range {
  text-align: center;
  position: relative;
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range:before {
  content: "";
  height: 5px;
  display: block;
  position: absolute;
  left: 0;
  top: 46px;
  width: 100%;
  border-radius: 15px;
  background-image: url(/wp-content/uploads/2024/11/range.svg);
  background-size: cover;
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .value {
  display: inline-block;
  max-width: 63px;
  width: 100%;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 45px;
  background: #3b393b;
  font-size: 14px;
  font-weight: 500;
  color: #cbcbcb;
  margin: 0 auto 8px;
  text-align: center;
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .range-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  position: relative;
  z-index: 2;
  cursor: pointer;
  outline: none;
  border-radius: 15px;
  height: 6px;
  background: rgba(0, 0, 0, 0);
}

.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  background-color: #9c71ff;
  border-radius: 50%;
  border: none;
  transition: 0.2s ease-in-out;
}

.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .range-input::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background-color: #9c71ff;
  border-radius: 50%;
  border: none;
  transition: 0.2s ease-in-out;
}

.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .range-input::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 5px rgba(156, 113, 255, 0.1);
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .range-input:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 7px rgba(156, 113, 255, 0.2);
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 7px rgba(156, 113, 255, 0.2);
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .sliderticks {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  padding: 0 10px;
}
.single-goat_raffles
  .raffle-sec__packages
  .goat-product
  .goat-product__acum
  .range
  .sliderticks
  span {
  display: flex;
  justify-content: center;
  width: 1px;
  height: 7px;
  background: #3b393b;
  transition: background 0.3s ease-in-out;
}
.single-goat_raffles .raffle-sec__packages .entry-calculator .container {
  padding: 0;
}
.entry-calculator .container .range:before {
  background-size: cover;
  height: 5px;
  top: 44px;
}
.gt_b14 .goat-product .goat-product__acum .range:before {
  height: 5px;
  top: 46px;
  background-size: cover;
}
@media screen and (max-width: 650px) {
  .single-goat_raffles .raffle-sec__packages .goat-product .goat-product__acum,
  .single-goat_raffles
    .raffle-sec__packages
    .goat-product
    .goat-product__entries,
  .single-goat_raffles
    .raffle-sec__packages
    .goat-product
    .goat-product__text-title {
    display: none;
  }
}
/**************************************************
*   Account Modal fixes
*/
.goat-membership-modal__body
  .goat-membership-modal__step
  .goat-membership-modal__card {
  min-width: 1px !important;
}
.goat-membership-modal__body
  .goat-membership-modal__step
  .goat-membership-modal__card
  #stripe-card-update-element {
  width: 100%;
  margin: 30px 0 10px;
}
.goat-password-modal .goat-password-modal__close {
  display: block;
  cursor: pointer;
  position: absolute;
  z-index: 4;
  background: rgba(0, 0, 0, 0);
  border: none;
  top: 5px;
  right: 9px;
  margin: 0;
  padding: 0;
  width: auto;
}
.goat-password-modal .goat-password-modal__close svg {
  display: block;
  position: relative;
  z-index: 4;
  line-height: 0;
  height: auto;
}
.goat-password-modal .form-row {
  position: relative;
  margin-bottom: 15px;
}
.goat-password-modal .form-row .show-pass,
.goat-password-modal .form-row .hide-pass {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  z-index: 3;
  display: none;
  cursor: pointer;
}
.goat-password-modal .form-row .show-pass.active,
.goat-password-modal .form-row .hide-pass.active {
  display: block;
}
.goat-password-modal__body h3 {
  text-align: center;
}
@media (min-width: 1099px) {
  .header ul.menu > li.menu-item:not(.menu-item-has-children) a,
  .header
    ul.menu
    > li.menu-item.current-menu-item:not(.menu-item-has-children)
    a {
    border-radius: 12px;
    padding: 10px 15px;
    margin: 0 -15px;
    transition: all 0.3s ease-in-out;
  }

  .header ul.menu > li.menu-item:not(.menu-item-has-children) a:hover,
  .header
    ul.menu
    > li.menu-item.current-menu-item:not(.menu-item-has-children)
    a {
    background: #2d2d2d;
  }

  #menu-item-276 a {
    font-weight: 600;
    color: #deff31;
    /* margin-left: 13px; */
  }
  /* .header ul.menu li.menu-item#menu-item-276 > a:hover {
        margin-left: -2px;
    } */
}
.header .container ul.menu li.menu-item a,
.header ul.menu li.menu-item {
  position: relative;
}
.header .container ul.menu li.menu-item.menu-item-has-children .sub-menu {
  position: absolute;
  left: 0;
  border: 1px solid #8f2fdb;
  padding: 10px 20px;
  border-radius: 10px;
  z-index: 102;
  background: #1e1e1e;
  width: max-content;
  flex-direction: column;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings),
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings) {
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  left: 50%;
  top: 60px;
  transform: translateX(-50%);
  border: unset;
  border-radius: 20px;
  background: linear-gradient(160deg, #3b393b, #3b393b00);
  filter: drop-shadow(10px, 10px, 12px, #000);
  overflow: hidden;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)::before,
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  background: #1e1e1e url("./assets/img/back-gradient.png");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li,
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li {
  padding: 0;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li
  a,
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li
  a {
  display: block;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
  font-family: "SF Pro Display", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  min-width: 251px;
  transition: all 0.3s ease-in-out;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li
  a
  .mega_menu_settings,
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li
  a
  .mega_menu_settings {
  font-family: "SF Pro Display", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 19px;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 4px;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li
  a:hover,
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  > li
  a:hover {
  margin: 0;
  background: #deff313d;
  color: #deff31;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  .mega_menu__content,
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  .mega_menu__content {
  max-width: 155px;
  color: #cbcbcb;
  white-space: normal;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  .menu_item_icon,
.header
  .header__mobile
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu:has(.mega_menu_settings)
  .menu_item_icon {
  /* object-fit: contain;
  max-width: 80px; */
  height: 70px;
  width: auto;
}

.header .container ul.menu li.menu-item.menu-item-has-children {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .menu-item-arrow {
  transition: all 0.3s ease-in-out;
}

.header .container ul.menu #menu-item-3772 a,
.header .header__mobile ul.menu #menu-item-3772 a {
  padding-right: 10px;
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children.hover
  .menu-item-arrow {
  transform: rotate(180deg);
}

@media (max-width: 1099px) {
  .header .header__mobile ul.menu li.menu-item.menu-item-has-children {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
  }

  .header
    .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children
    .sub-menu:has(.mega_menu_settings) {
    background: unset;
    padding: 0;
    transform: unset;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    order: 3;
    flex: 1 1 100%;
    border-radius: unset;
  }

  .header
    .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children
    .sub-menu:has(.mega_menu_settings)
    > li:first-of-type {
    margin-top: 12px;
  }

  .header
    .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children
    .sub-menu:has(.mega_menu_settings)
    > li
    a {
    padding: 14px;
    font-size: 14px;
    min-width: unset;
  }

  .header
    .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children
    .sub-menu:has(.mega_menu_settings)
    > li
    a:hover,
  .header
    .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children
    .sub-menu:has(.mega_menu_settings)
    > li
    a:focus {
    background: #deff310d;
    border: 1px solid #deff313d;
  }

  .header
    .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children
    .sub-menu:has(.mega_menu_settings)
    .mega_menu__content {
    color: #707070;
    font-size: 12px;
    line-height: 16px;
    max-width: 145px;
  }

  .header
    .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children
    .sub-menu:has(.mega_menu_settings)
    .menu_item_icon {
    max-width: 58px;
    height: auto;
  }

  .header__mobile
    ul.menu
    li.menu-item.menu-item-has-children:has(.mega_menu_settings)
    > a {
    order: 1;
  }

  .header__mobile svg.menu-item-arrow {
    order: 2;
  }

  .header__mobile .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-item.active .sub-menu {
    max-height: 500px;
  }

  .menu-item-arrow {
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .menu-item.active .menu-item-arrow {
    transform: rotate(180deg);
  }

  .accordion-toggle {
    cursor: pointer;
  }
}

.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu::before {
  content: "";
  display: block;
  right: 0;
  position: absolute;
  top: -6px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #8f2fdb;
}
.header ul.menu li.menu-item.menu-item-has-children .sub-menu:hover {
  display: block;
}
.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children:not(.hover)
  .sub-menu {
  display: none;
}
.header
  .container
  ul.menu
  li.menu-item.menu-item-has-children
  .sub-menu
  .menu-item {
  padding: 5px 0;
}
.header .container ul.menu li.menu-item a sup {
  position: absolute;
  font-size: 9px;
  top: -10px;
}

.header .header__mobile li.menu-item.menu-item-has-children .sub-menu {
  padding: 10px;
}
.header
  .header__mobile
  li.menu-item.menu-item-has-children
  .sub-menu
  .menu-item {
  padding: 5px 0;
}
.header__mobile .menu-header-mobile-help-menu-container ul.menu {
  border-bottom: none !important;
  padding: 14px 0 0 !important;
}
.mobile-menu-banner img {
  max-width: 100%;
  object-fit: cover; /* Ensure the ratio fits nicely */
  aspect-ratio: 11 / 4; /* Force 11:4 ratio */
  display: block;
  border-radius: 20px;
}
.mobile-menu-banner {
  padding: 20px 0;
  border-bottom: 1px solid #434343;
}
.header .custom-logo-link img,
.footer .custom-logo-link img {
  height: auto !important;
  width: 150px !important;
}
.header .custom-logo-link {
  height: max-content !important;
}
/* Reset password modal */
.woocommerce-lost-password .lost_reset_password {
  max-width: 400px !important;
}
.woocommerce-lost-password .remember-pass {
  margin-top: 10px;
}
@media (min-width: 576px) {
  .goat-password-modal__body h3 {
    font-size: 24px !important;
  }
}
