/*!
Theme Name: Kava Child
Theme URI:
Author: Zemez
Author URI:
Description: Kava child theme.
Template: kava
Version: 1.0.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kava-child
*/

/* ============================================
   OPTION 3: Premium Button with Icon
   ============================================ */

.single_add_to_cart_button.button.alt {
  /* Layout & Sizing */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 45px;
  height: auto;
  min-height: 54px;
  width: 100%;
  max-width: 530px;
  
  /* Typography */
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  
  /* Colors & Background */
  background-color: #E46E6E;  /* Red */
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  
  /* Interaction & Animation */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(228, 110, 110, 0.25);
  position: relative;
  overflow: hidden;
}

.single_add_to_cart_button.button.alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.single_add_to_cart_button.button.alt:hover {
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.35);
}

.single_add_to_cart_button.button.alt:hover::before {
  left: 0;
}

/* Icon styling */
.single_add_to_cart_button.button.alt .button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.single_add_to_cart_button.button.alt .button-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.single_add_to_cart_button.button.alt:hover .button-icon svg {
  transform: scale(1.1);
}


/* ============================================
   RESPONSIVE ADJUSTMENTS (All Options)
   ============================================ */

@media (max-width: 768px) {
  .single_add_to_cart_button.button.alt {
    padding: 12px 30px;
    min-height: 48px;
    font-size: 14px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .single_add_to_cart_button.button.alt {
    padding: 12px 24px;
    min-height: 44px;
    font-size: 13px;
    width: 100%;
  }
}


/* ============================================
   ADDITIONAL: Loading State (Optional)
   ============================================ */

.single_add_to_cart_button.button.alt.loading {
  opacity: 0.7;
  pointer-events: none;
}

.single_add_to_cart_button.button.alt.loading .jet-woo-button-content {
  opacity: 0.5;
}

/* ============================================
   ADDITIONAL: Success State (Optional)
   ============================================ */

.single_add_to_cart_button.button.alt.added {
  background-color: #27ae60;
}

.single_add_to_cart_button.button.alt.added:hover {
  background-color: #1e8449;
}

/* Style Reviews tab to match Add to Basket button */
.woocommerce-tabs .nav-tabs li a {
  background-color: #E46E6E !important;
  color: #FFFFFF !important;
  padding: 12px 30px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
}

.woocommerce-tabs .nav-tabs li a:hover {
  background-color: #1a1a1a !important;
  transform: translateY(-2px) !important;
}

.woocommerce-tabs .nav-tabs li.active a {
  background-color: #E46E6E !important;
}

