/* 
 Theme Name:     Divi Custom Child for 54 Main Street
 Author:         LocalWerx
 Author URI:     http://localwerx.com 
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


.custom-upsell-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.custom-upsell-image {
  flex: 0 0 30%;
}

.custom-upsell-details {
  flex: 1;
  min-width: 0;
}

.custom-upsell-details h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 6px;
  padding: 0;
}

.custom-upsell-details h3 a {
  color: inherit;
}

.custom-upsell-price {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.custom-upsell-description {
  font-size: 15px;
  line-height: 1.5;
}

/* Upsell CTA: text link on all devices */
.custom-upsell-card a.custom-upsell-cta,
.custom-upsell-card a.custom-upsell-cta:hover {
    display: inline-block !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: 600;
    line-height: inherit !important;
    text-decoration: underline;
    text-transform: none !important;
}

/* Explicitly maintain text-link styling on mobile */
@media only screen and (max-width: 767px) {
    .custom-upsell-card a.custom-upsell-cta {
        display: inline-block !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }
}


@media (max-width: 480px) {
  .custom-upsell-card {
    gap: 12px;
  }
}

