/**
 * Product Page Enhancements
 * Styles for excerpt, form title, and checkbox
 */

/* ============================================
   Product Excerpt (Short Description after Price)
   ============================================ */
.product-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #00a651;
    border-radius: 4px;
}

.product-excerpt p {
    margin: 0 0 10px;
}

.product-excerpt p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Custom Form Wrapper with Title
   ============================================ */
.product-custom-form-wrapper {
    margin: 25px 0;
}

.product-custom-form-wrapper .form-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: center;
    padding: 20px 20px 0;
}

/* ============================================
   Checkbox Agreement Section
   ============================================ */
.form-checkbox-wrapper {
    margin: 15px 0;
    padding: 0;
    background: transparent;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: inherit;
    text-decoration: underline;
}

.checkbox-text a:hover {
    opacity: 0.8;
}

/* Submit Button Hover Enhancement */
.product-custom-form input[type="submit"]:hover,
.product-custom-form button[type="submit"]:hover {
    background-color: #008a43 !important;
}

/* ============================================
   Responsive Updates
   ============================================ */
@media (max-width: 768px) {
    .product-excerpt {
        padding: 12px;
        font-size: 13px;
    }

    .product-custom-form-wrapper .form-title {
        font-size: 18px;
    }

    .checkbox-label {
        font-size: 12px;
    }

    .checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
}