.nyal-bouquet-modal-open { overflow: hidden; }

.nyal-bouquet-modal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #224229;
}

.nyal-bouquet-modal-content h3 {
    font-size: 1.2rem;
}

.nyal-bouquet-modal-content .form-group {
    margin-top: 20px;
}
.nyal-bouquet-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    overflow: auto;
}

.nyal-bouquet-modal-content {
    background: #fff;
    max-width: 720px;
    margin: 60px auto;
    padding: 20px;
    border-radius: 6px;
    position: relative;
}

.nyal-bouquet-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #7a7a7a;
}

.nyal-bouquet-modal-close:hover {
    color: #111;
}

.nyal-bouquet-section {
    margin-top: 16px;
    margin-bottom: 20px;
}

.nyal-bouquet-style-selector,
.nyal-bouquet-option-selector {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.nyal-bouquet-style-item{
    border: 1px solid #224229;
    color: #224229;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 49%;
    text-align: center;
}

.nyal-bouquet-style-item:hover, .nyal-bouquet-style-item.active{
    border: 1px solid #224229;
    box-shadow: 0 0 10px rgba(34, 66, 41, 0.3);
    background: #224229;
    color: #fff;
}

.nyal-bouquet-option-item {
    cursor: pointer;
    border: 1px solid #e1e2e7;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    width: 49%;
}

.nyal-bouquet-option-item:hover{
    border-color: #2242296b;
    background: #22422912;
    box-shadow: 0 0 10px rgba(34, 66, 41, 0.3);
}

.nyal-bouquet-option-item.active{
    border-color: #224229;
    box-shadow: 0 0 10px rgba(34, 66, 41, 0.3);
    background: #22422912;
}

.nyal-bouquet-option-image img { object-fit: contain; }
.nyal-bouquet-option-image.no-card { 
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 205px;
    width: 100%;
    border: 1px dashed #ccc;
}

.nyal-bouquet-modal-actions { margin-top: 16px; }

.nyal-bouquet-validation-error {
    background: #fbeaea;
    color: #ef2e15;
    border: 1px solid #f1c0c0;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.nyal-bouquet-section label {
    display: block;
    margin-bottom: 5px;
    margin-top: 10px;
    font-weight: bold;
}

.nyal-bouquet-section input, .nyal-bouquet-section select, .nyal-bouquet-section textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.nyal-bouquet-modal-actions {
    text-align: center;
}

.nyal-bouquet-modal-actions .button {
    padding: 10px 20px;
    background-color: #224229;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 60%;
    border-radius: 32px;
}

.nyal-bouquet-option-label {
    font-weight: bold;
    color: #333;
    padding: 20px 0;
    font-size: 1.2rem;
}
.nyal-bouquet-modal-actions .button:not(:disabled):hover {
    background-color: #224229;
}

.required {
    color: #ef2e15;
    font-size: 1.2rem;
    font-weight: bold;
}


.nyal-bouquet-modal-actions .button.loading-add-to-cart {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
  }
  
  .nyal-bouquet-modal-actions .button.loading-add-to-cart::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin-order 1s linear infinite;
  }

@media screen and (max-width: 600px) {
    .nyal-bouquet-option-selector {
        flex-direction: column;
        align-items: center;
    }

    .nyal-bouquet-option-item {
        width: 98%;
        margin-bottom: 15px;
    }

    .nyal-bouquet-modal-actions .button {
        width: 98%;
    }
}