/*
 Theme Name:   Hello Elementor - Love&Beyond
 Template:     hello-elementor
 Version:      1.0
 Description:  Child theme for Hello Elementor, customized for Love&Beyond.
 Author:       Gareth Davies
*/

@import url("../hello-elementor/style.css");

.lbn-checkout-wrapper {
  display: flex;
  gap: 2rem;
}

/* Desktop: left (main) then right (summary) */
@media (min-width: 769px) {
  .lbn-checkout-wrapper {
    flex-direction: row;
  }
}

/* Mobile: show summary above main */
@media (max-width: 768px) {
  .lbn-checkout-wrapper {
    flex-direction: column-reverse !important;
  }
}
.lab-checkout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }
  
  .lab-checkout-left,
  .lab-checkout-right {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  }
  
  .lab-subtext {
    margin-top: -0.5rem;
    color: #666;
    font-size: 0.9rem;
  }
  
  .lab-continue button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .lab-order-summary-header h3 {
    margin-bottom: 0.5rem;
  }
  
  .lab-plan-details {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
  
  .lab-promo-banner {
    background: #f6f6f6;
    color: green;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
  
  .lab-price-breakdown .lab-line {
    display: flex;
    justify-content: space-between;
    margin: 0.4rem 0;
    font-size: 0.9rem;
  }
  
  .lab-line.promo span:last-child,
  .lab-line.gift span:last-child {
    color: green;
  }
  
  .lab-line.gift span del {
    color: #999;
    margin-right: 0.5rem;
  }
  
  .lab-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
  }
  
  .lab-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
  }
  .woocommerce-remove-coupon {
    display: none !important;
}
  .lab-guarantee img {
    width: 60px;
    height: auto;
    border-radius: 6px;
  }

  .checkout-step {
    border: 1px solid #ddd;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
  }

  .checkout-step.active .step-header {
    background-color: #F5E6E4;
  }
  
  .step-header {
    background-color: #FEFAF9;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: block;
    width: 100%;
    user-select: none;
    transition: background-color 0.2s ease;
  }

  .step-header:hover {
    background-color: #F5E6E4;
  }

  .step-title {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .step-number {
    padding: 0.4rem 0.75rem;
    font-weight: bold;
    margin-right: 0.75rem;
  }
  
  .step-content {
    padding: 1.5rem;
    background: #fff;
  }
  
  .step-content.hidden {
    display: none;
  }
  
  .woocommerce-invalid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
  }
  
  .woocommerce-validated {
    border-color: #2ecc71 !important;
  }