/* FAUBC Gift Cards - Product Page Styles */

.faubc-gc-form {
    max-width: 600px;
    margin: 20px 0;
}

.faubc-gc-step {
    margin-bottom: 30px;
}

.faubc-gc-step h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Type Selection Buttons */
.faubc-gc-type-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.faubc-gc-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faubc-gc-type-btn:hover {
    border-color: #c9a962;
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.2);
}

.faubc-gc-type-btn.active {
    border-color: #c9a962;
    background: linear-gradient(to bottom, #fffdf9, #fff);
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.faubc-gc-type-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.faubc-gc-type-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.faubc-gc-type-desc {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Amount Buttons */
.faubc-gc-amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.faubc-gc-amount-btn {
    padding: 20px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faubc-gc-amount-btn:hover {
    border-color: #c9a962;
}

.faubc-gc-amount-btn.active {
    border-color: #c9a962;
    background: #c9a962;
    color: #fff;
}

/* Treatment Selection */
.faubc-gc-select-treatment-btn {
    width: 100%;
    padding: 20px;
    border: 2px dashed #c9a962;
    border-radius: 8px;
    background: #fffdf9;
    font-size: 16px;
    color: #c9a962;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faubc-gc-select-treatment-btn:hover {
    background: #fff8e7;
}

.faubc-gc-selected-treatment {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #c9a962;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
}

.faubc-gc-treatment-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
}

.faubc-gc-treatment-info {
    flex: 1;
}

.faubc-gc-treatment-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.faubc-gc-treatment-price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #c9a962;
}

.faubc-gc-change-treatment {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f5f5f5;
    font-size: 13px;
    cursor: pointer;
}

/* Form Fields */
.faubc-gc-field {
    margin-bottom: 20px;
}

.faubc-gc-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.faubc-gc-field input,
.faubc-gc-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.faubc-gc-field input:focus,
.faubc-gc-field textarea:focus {
    border-color: #c9a962;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.faubc-gc-field .faubc-gc-error {
    display: block;
    color: #d63638;
    font-size: 13px;
    margin-top: 5px;
}

.faubc-gc-field.has-error input,
.faubc-gc-field.has-error textarea {
    border-color: #d63638;
}

/* Navigation Buttons */
.faubc-gc-navigation {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.faubc-gc-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faubc-gc-btn-back {
    background: #f5f5f5;
    color: #666;
}

.faubc-gc-btn-back:hover {
    background: #e5e5e5;
}

.faubc-gc-btn-next,
.faubc-gc-btn-submit {
    background: #c9a962;
    color: #fff;
    flex: 1;
}

.faubc-gc-btn-next:hover,
.faubc-gc-btn-submit:hover {
    background: #b8954d;
}

.faubc-gc-btn-submit {
    background: #333;
}

.faubc-gc-btn-submit:hover {
    background: #000;
}

/* Summary */
.faubc-gc-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f8f6f3;
    border-radius: 8px;
    border-left: 4px solid #c9a962;
}

.faubc-gc-summary h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.faubc-gc-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0d5c5;
}

.faubc-gc-summary-row:last-child {
    border-bottom: none;
}

.faubc-gc-summary-label {
    color: #666;
}

.faubc-gc-summary-value {
    font-weight: 600;
    color: #333;
}

/* Product Modal */
.faubc-gc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.faubc-gc-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
}

.faubc-gc-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.faubc-gc-modal-close:hover {
    color: #333;
}

.faubc-gc-modal-content h2 {
    padding: 20px 25px;
    margin: 0;
    border-bottom: 1px solid #eee;
    font-size: 20px;
}

#faubc-gc-product-search {
    width: calc(100% - 50px);
    margin: 20px 25px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.faubc-gc-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 25px 25px;
    max-height: calc(80vh - 150px);
    overflow-y: auto;
}

.faubc-gc-product-item {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.faubc-gc-product-item:hover {
    border-color: #c9a962;
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.2);
}

.faubc-gc-product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.faubc-gc-product-item .name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.faubc-gc-product-item .price {
    font-size: 16px;
    font-weight: 700;
    color: #c9a962;
}

/* Price Range Display */
.faubc-gc-price-range {
    font-size: 20px;
    font-weight: 600;
    color: #c9a962;
}

/* Responsive */
@media (max-width: 768px) {
    .faubc-gc-type-buttons {
        grid-template-columns: 1fr;
    }
    
    .faubc-gc-amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faubc-gc-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .faubc-gc-product-grid {
        grid-template-columns: 1fr;
    }
}
