.site-footer {
  background: #0a0a0a !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  border: none !important;
  padding-top: 60px !important;
  padding-bottom: 0 !important;
}

.site-middle-footer-wrap {
  background: #0a0a0a !important;
  overflow: hidden;
  border-bottom-left-radius: 1.875rem;
  border-bottom-right-radius: 1.875rem;
}

.site-middle-footer-wrap .site-footer-row-container-inner {
  border-bottom: none !important;
}

.site-footer-row-container,
.site-footer-row,
.site-footer-section {
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer .widget-title,
.site-footer .widgettitle,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 24px 0 !important;
  font-family: "Inter", sans-serif !important;
  text-transform: none !important;
}

.site-footer p,
.site-footer .textwidget {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.site-footer .widget_text h2,
.site-footer .widget_text h3,
.site-footer .textwidget h2,
.site-footer .textwidget h3,
.site-footer .widget_custom_html h2,
.site-footer .widget_custom_html h3 {
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 15px !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
}

.site-footer .menu,
.site-footer ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column !important;
  gap: 14px !important;
}

.site-footer .menu li,
.site-footer ul li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.site-footer a,
.site-footer .menu li a,
.site-footer ul li a,
.site-footer .product-title {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
  display: inline-block !important;
  background: none !important;
  padding: 0 !important;
}

.site-footer a:hover,
.site-footer .menu li a:hover,
.site-footer ul li a:hover,
.site-footer .product-title:hover {
  color: #fff !important;
  background: none !important;
}

.site-footer .count {
  color: rgba(0, 0, 0, 0.4) !important;
  font-size: 13px !important;
  margin-left: 4px !important;
}

.site-footer .amount {
  display: none !important;
}

.site-footer .mc4wp-form,
.site-footer form.cart,
.site-footer .widget_newsletter form,
.site-footer form {
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  padding: 6px 6px 6px 24px !important;
  margin-top: 25px !important;
  max-width: 450px !important;
}

.site-footer input[type="email"] {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 15px !important;
  color: #111 !important;
  font-family: "Inter", sans-serif !important;
  padding: 0 !important;
  box-shadow: none !important;
  min-width: 0 !important;
}

.site-footer input[type="email"]::placeholder {
  color: #777 !important;
}

.site-footer input[type="submit"],
.site-footer button[type="submit"] {
  flex-shrink: 0 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background-color: #000 !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-size: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.site-bottom-footer-wrap {
  background: #0a0a0a !important;
  color: #fff !important;
  padding: 25px 0 !important;
  margin-top: 0 !important;
  border-top: 1px #454242 solid;
}

.site-bottom-footer-wrap .widget-title,
.site-bottom-footer-wrap p,
.site-bottom-footer-wrap .textwidget,
.site-bottom-footer-wrap a {
  color: #fff !important;
}

.site-bottom-footer-wrap a:hover {
  color: #fff !important;
}

.site-bottom-footer-wrap .footer-social-wrap a {
  color: #fff !important;
}

.site-bottom-footer-wrap .footer-social-wrap a:hover {
  color: #fff !important;
}

.site-bottom-footer-wrap .site-footer-row {
  align-items: center !important;
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 40px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-top-footer-wrap,
  .site-middle-footer-wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .footer-widget-area.content-tablet-align-left .footer-social-inner-wrap {
    justify-content: center !important;
  }

  .site-footer .widget_text h2,
  .site-footer .widget_text h3,
  .site-footer .textwidget h2,
  .site-footer .textwidget h3,
  .site-footer .widget_custom_html h2,
  .site-footer .widget_custom_html h3 {
    font-size: 26px !important;
    margin-top: 20px !important;
  }

  .site-footer .mc4wp-form,
  .site-footer form.cart,
  .site-footer .widget_newsletter form,
  .site-footer form {
    max-width: 100% !important;
    width: 100% !important;
    padding: 8px 8px 8px 24px !important;
  }

  .site-footer input[type="submit"],
  .site-footer button[type="submit"] {
    width: 50px !important;
    height: 50px !important;
  }

  .site-bottom-footer-wrap {
    padding: 20px !important;
  }

  .site-bottom-footer-wrap .site-footer-row {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .site-bottom-footer-wrap .footer-html-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .site-bottom-footer-wrap img {
    margin: 0 auto;
  }

  #bt-scroll-up,
  #bt-scroll-up-reader {
    background: #fff !important;
    border: 2px solid #111 !important;
    border-radius: 50% !important;
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    right: 24px !important;
    bottom: 24px !important;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease !important;
  }
  #bt-scroll-up:hover,
  #bt-scroll-up-reader:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
  }
  #bt-scroll-up svg,
  #bt-scroll-up-reader svg {
    fill: none !important;
    stroke: #111 !important;
    stroke-width: 2px !important;
    width: 20px !important;
    height: 20px !important;
  }

  .site-footer .widget.ao-accordion-widget {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    overflow: hidden;
  }

  .site-footer .widget.ao-first-accordion {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
  }

  .site-footer .widget.ao-last-accordion {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
  }

  .site-footer .widget.ao-accordion-widget:not(.ao-last-accordion) {
    border-bottom: none !important;
  }

  /* Eliminate the grid gap between consecutive accordion sections */
  .site-footer .site-footer-row {
    row-gap: 24px !important;
  }

  .site-footer .ao-accordion-section {
    margin-top: -24px !important;
    margin-bottom: 0 !important;
  }

  .site-footer .ao-first-accordion-section {
    margin-top: 0 !important;
  }

  .site-footer .widget.ao-accordion-widget .widget-title,
  .site-footer .widget.ao-accordion-widget .widgettitle,
  .site-footer .widget.ao-accordion-widget h2,
  .site-footer .widget.ao-accordion-widget h3,
  .site-footer .widget.ao-accordion-widget h4 {
    margin: 0 !important;
  }

  .site-footer .ao-accordion-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    border-bottom: none !important;
  }

  .site-footer .ao-accordion-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.8;
    display: inline-block;
    transition: transform 0.35s ease;
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  .site-footer .ao-accordion-toggle.ao-active::after {
    transform: rotate(-135deg) !important;
  }

  .site-footer .ao-accordion-body-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px !important;
  }

  .site-footer .widget.ao-accordion-widget.ao-active .ao-accordion-body-wrap {
    grid-template-rows: 1fr;
    padding-bottom: 20px !important;
  }

  .site-footer .ao-accordion-body-wrap > * {
    overflow: hidden;
  }

  .site-footer .ao-accordion-toggle.ao-active {
    border-bottom-color: transparent !important;
  }

  .site-footer .widget.ao-accordion-widget ul {
    margin-top: 10px !important;
  }
}

#bt-scroll-up,
#bt-scroll-up-reader {
  background: #fff !important;
  border: 2px solid #111 !important;
  border-radius: 50% !important;
  width: 46px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111 !important;
  padding: 0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  right: 24px !important;
  bottom: 24px !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}
#bt-scroll-up:hover,
#bt-scroll-up-reader:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
}
#bt-scroll-up svg,
#bt-scroll-up-reader svg {
  fill: none !important;
  stroke: #111 !important;
  stroke-width: 2px !important;
  width: 20px !important;
  height: 20px !important;
}

/* Custom Creative Hover Effect for Theme Credit */
.aorus-credit-link {
  position: relative !important;
  display: inline-block !important;
  color: rgba(0, 0, 0, 0.6) !important;
  font-weight: 700 !important;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease !important;
  z-index: 1;
  text-decoration: none !important;
}

.aorus-credit-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.aorus-credit-link:hover {
  color: #000 !important;
}

.aorus-credit-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 991px) {
  .site-bottom-footer-wrap .footer-social-inner-wrap {
    justify-content: center !important;
  }

  .site-bottom-footer-wrap .footer-social-wrap {
    width: 100% !important;
    text-align: center !important;
  }

  /* Style Address social buttons as custom premium circles */
  .site-footer-wrap .social-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: transparent !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 6px 0 0 !important;
    transition: all 0.3s ease !important;
  }

  .site-footer-wrap .social-button:hover {
    border-color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  .site-footer-wrap .social-button svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
  }
}

.aorus-credit-tooltip {
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  color: #111 !important;
  padding: 2px 10px;
  border-radius: 15px;
  font-size: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap;
  letter-spacing: 0 !important;
  text-transform: none !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  text-shadow: none !important;
}

.aorus-credit-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1d1d1f transparent transparent transparent;
}

.aorus-credit-link:hover .aorus-credit-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
