.gift-voucher-container {
    /*width: 100%;*/
    /*max-width: 100%;*/
    margin: auto !important;
    padding: 20px;
    font-family: matrice !important;
    background-color: #252526 !important;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    border-radius: 10px;
    border:solid 2px #BCB9B1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gift-voucher-form {
    border-radius: 12px;
    padding: 40px;
    width: 100%;
}

.gift-voucher-form h2 {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 100px;
    color: white;
    font-family: matrice;
    text-align: center;
}

/* Two Column Layout */
.voucher-main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 500px;
}

/* Left Column - Images */
.voucher-image-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voucher-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voucher-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voucher-image.active {
    opacity: 1;
    transform: translateY(0);
}

.voucher-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.voucher-image img:hover {
    transform: scale(1.02);
}

/* Right Column - Controls */
.voucher-controls-column {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voucher-step {
    margin-bottom: 40px;
    width: 100%;
}

.voucher-step > label {
    display: block;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Voucher Type Selection */
.voucher-type-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.voucher-type-selection input[type="radio"] {
    display: none;
}

.voucher-type-btn {
    flex: 1;
    border-radius: 10px;
    padding: 15px 30px;
    background: transparent;
    cursor: pointer;
    border: solid 1px #BCB9B1;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0;
}

/*.voucher-type-btn:first-child {*/
/*    border-right: 1px solid black;*/
/*}*/

/*.voucher-type-btn:last-child {*/
/*    border-left: 1px solid black;*/
/*}*/

.voucher-type-selection input[type="radio"]:checked + .voucher-type-btn {
    background: #BCB9B1;
    color: #fff;
    border-color: #BCB9B1;
}

/* Amount Selection */
.amount-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    color: white;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    min-width: 80px;
}

.amount-btn:hover,
.amount-btn.hover {
    background: #BCB9B1;
    border-color: #BCB9B1;
    transform: translateY(-2px);
}

.amount-btn:focus,
.voucher-type-btn:focus {
    outline: 2px solid #BCB9B1;
    outline-offset: 2px;
}

.amount-btn.selected {
    background: #BCB9B1;
    color: #fff;
    border-color: #BCB9B1;
}

.custom-amount-btn.selected {
    background: #BCB9B1;
    border-color: #BCB9B1;
}

/* Custom Amount Input */
.custom-amount-input {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
    background: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    border: none !important;
    max-width: 400px;
}

.custom-amount-input input {
    border: solid 2px green;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    width: 200px;
    outline: solid 2px red;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-amount-input input:focus {
    background-color: black;
    box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.3);
}

.custom-amount-input span {
    font-weight: 500;
    color: #D1A586;
}

.custom-amount-input input.error {
    background-color: #fff5f5;
}

.custom-amount-input input.error::placeholder {
    color: white;
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 20px;
    background: #BCB9B1;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: #BCB9B1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 165, 116, 0.3);
}

.add-to-cart-btn:disabled,
.add-to-cart-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Purchase Note */
.purchase-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.purchase-note p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .voucher-main-container {
        gap: 40px;
        min-height: 450px;
    }
    
    .voucher-controls-column {
        padding-left: 10px;
    }
    
    .voucher-image-container {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .gift-voucher-container {
        padding: 10px;
    }
    
    .gift-voucher-form {
        padding: 20px;
    }
    
    .gift-voucher-form h2 {
        font-size: 2rem;
        margin-bottom: 50px !important;
    }
    
    /* Stack columns on mobile */
    .voucher-main-container {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: auto;
    }
    
    .voucher-controls-column {
        padding-left: 0;
        justify-content: flex-start;
    }
    
    .voucher-image-container {
        margin-top: 50px !important;
        min-height: 250px;
        max-width: 300px;
        margin-bottom:50px;
    }
    
    .voucher-image img {
        max-width: 300px;
    }
    
    .voucher-type-selection {
        flex-direction: column;
    }
    
    .voucher-type-btn:first-child {
        /*border-radius: 50px 50px 0 0;*/
        border-right: 2px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .voucher-type-btn:last-child {
        /*border-radius: 0 0 50px 50px;*/
        border-left: 2px solid #e0e0e0;
        border-top: 1px solid #e0e0e0;
    }
    
    .amount-selection {
        justify-content: center;
    }
    
    .amount-btn {
        min-width: 80px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .voucher-image img {
        max-width: 250px;
    }
    
    .voucher-image-container {
        min-height: 200px;
    }
    
    .amount-selection {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .amount-btn {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}gift-voucher-form

/* Loading State */
.add-to-cart-btn.loading {
    position: relative;
    color: transparent;
}

.add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}