/* BSO Microsites - Frontend Styles */

/* Landing page */
.bso-landing-wrap {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.bso-landing-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    padding: 40px;
    text-align: center;
}

.bso-landing-image {
    margin-bottom: 24px;
}

.bso-landing-image img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.bso-landing-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.bso-landing-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bso-landing-message {
    text-align: left;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.bso-landing-dates {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bso-date-item {
    text-align: center;
}

.bso-date-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 2px;
}

.bso-date-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Last day alert */
.bso-last-day-alert {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #fbbf24;
    border-radius: 6px;
}

.bso-landing-info {
    text-align: left;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 28px;
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.bso-landing-cta {
    display: inline-block;
    background: #c72c00;
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}

.bso-landing-cta:hover {
    background: #a82400;
    color: #fff;
}

.bso-landing-closed-notice {
    margin: 24px 0;
    padding: 20px;
    background: #fef3c7;
    border-radius: 6px;
    font-size: 15px;
    color: #92400e;
}

/* Listing page */
.bso-listing-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.bso-listing-intro {
    margin-bottom: 32px;
}

.bso-listing-intro h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.bso-listing-intro p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.bso-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.bso-listing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.bso-listing-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.bso-listing-card-img {
    height: 160px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bso-listing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bso-listing-card-placeholder {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
}

.bso-listing-card-body {
    padding: 16px 20px;
}

.bso-listing-card-body h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.bso-listing-card-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.bso-listing-card-btn {
    display: inline-block;
    background: #c72c00;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.bso-listing-card-btn:hover {
    background: #a82400;
    color: #fff;
}

.bso-listing-empty {
    text-align: center;
    color: #888;
    font-size: 15px;
    padding: 40px 20px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 48px;
}

/* Request form */
.bso-request-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.bso-request-section h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.bso-request-section > p {
    color: #555;
    margin-bottom: 24px;
}

.bso-request-form {
    max-width: 600px;
}

.bso-form-row {
    margin-bottom: 16px;
}

.bso-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.bso-form-row label .required {
    color: #d63638;
}

.bso-form-row input[type="text"],
.bso-form-row input[type="email"],
.bso-form-row input[type="tel"],
.bso-form-row input[type="date"],
.bso-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.bso-form-row input:focus,
.bso-form-row textarea:focus {
    outline: none;
    border-color: #c72c00;
    box-shadow: 0 0 0 2px rgba(199,44,0,.15);
}

.bso-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .bso-form-row-half {
        grid-template-columns: 1fr;
    }
}

.bso-form-submit {
    background: #c72c00;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

.bso-form-submit:hover {
    background: #a82400;
}

.bso-form-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.bso-form-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.bso-form-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.bso-form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Locked checkout fields */
.bso-locked-field input,
.bso-locked-field select {
    background: #f3f4f6 !important;
    color: #666 !important;
}
