.greenleaze-loan {
    font-size: 0.8em;
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
}

#product{
    .greenleaze-loan {
        font-size: 0.8em;
        text-align: left;
        font-weight: 500;
        background: #0d5537;
        color: #fff;
        width: fit-content;
        padding: 10px 30px;
        margin: 10px 0px;
        a{
            color: #fff;
        }
    }
}

#greenleaze-modal-body p{
    padding: 0;
    margin: 0;
}

#content_category .product .product-miniature .product-price-and-shipping{
    font-weight: bold !important;
}

.greenleaze-offers{
    padding: 15px 0px;
    border-top: 1px solid #A7B6C2;
    border-bottom: 1px solid #A7B6C2;
    margin: 15px 0px;
}

.greenleaze-offers h4{
    font-size: 1em;
    color: #00335B;
}

.greenleaze_rent_price_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.greenleaze-option {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #A7B6C2;
    padding: 10px;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    text-align: center;
    text-wrap: auto;
}

.greenleaze-option:hover {
    border-color: #00335B;
    box-shadow: 0 0 4px rgba(30, 135, 240, 0.3);
}

.greenleaze-option .duration {
    font-weight: bold;
    color: #333;
}

.greenleaze-option .price {
    font-size: 0.9em;
    color: #00335B;
}

.greenleaze-option .highlight{
    color: #00335B;
    font-weight: bold;
}

.greenleaze_during{
    font-size: .8em;
}

.greenleaze_rent_price_grid input[type="radio"] {
    display: none;
}

.greenleaze_rent_price_grid input[type="radio"]:checked + .greenleaze-option {
    border-color: #00335B;
    background: #F0F7FF;
    box-shadow: 0 0 6px rgba(0, 51, 91, 0.4);
}

.greenleaze_rent_action{
    background-color: #00335B;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: none;
    padding: 10px;
    width: 100%;
}

.greenleaze_rent_action button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.greenleaze-loan a{
    text-decoration: underline;
}

.greenleaze-loan a:hover{
    opacity: .8;
}


/***MODAL***/
.greenleaze-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.greenleaze-modal.visible {
  display: flex;
}

.greenleaze-modal-content {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}

.greenleaze-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}
