.pc-eventi-list {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin: 20px 0;
}
.pc-event-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    background: #fff;
}
.pc-event-card h3 {
    margin-top: 0;
}
.pc-btn {
    display: inline-block;
    padding: 8px 14px;
    background: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.pc-btn:hover {
    background: #005177;
    color: #fff;
}
.pc-booking-wrapper {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    max-width: 700px;
    margin: 20px auto;
}
.pc-booking-wrapper h2 {
    margin-top: 0;
}
.pc-step {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.pc-step-panel {
    display: none;
}
.pc-step-panel.pc-step-panel-active {
    display: block;
}
.pc-step-panel[hidden] {
    display: none !important;
}
.pc-step-nav-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.pc-step-nav {
    border: 1px solid #d0d7de;
    background: #f6f8fa;
    color: #1f2328;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
}
.pc-step-nav.is-active {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}
.pc-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}
.pc-step h3 {
    margin-top: 0;
    font-size: 18px;
}
.pc-booking-note {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #f6f8fa;
    border: 1px solid #d8dee4;
    border-radius: 6px;
    font-size: 14px;
}
.pc-booking-note-warning {
    background: #fff8e5;
    border-color: #e8c95d;
}
.pc-tickets-table {
    width: 100%;
    border-collapse: collapse;
}
.pc-tickets-table th,
.pc-tickets-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
}
.pc-qty-wrapper {
    display: inline-flex;
    align-items: center;
}
.pc-qty-input {
    width: 60px;
    text-align: center;
    margin: 0 4px;
}
.pc-qty-minus,
.pc-qty-plus {
    border: 1px solid #ccc;
    background: #f7f7f7;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 3px;
}
.pc-qty-minus:hover,
.pc-qty-plus:hover {
    background: #e6e6e6;
}
.pc-total-row {
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
}
.pc-discount-row {
    margin-top: 10px;
}
.pc-discount-message {
    margin-left: 10px;
    font-size: 13px;
}
.pc-discount-ok {
    color: #008000;
}
.pc-discount-error {
    color: #c00;
}
.pc-booking-form input[type="text"],
.pc-booking-form input[type="email"],
.pc-booking-form textarea {
    width: 100%;
    max-width: 100%;
}
.pc-booking-form input[type="date"],
.pc-booking-form input[type="number"] {
    max-width: 100%;
}
.pc-date-fallback {
    width: 100%;
}
.pc-booking-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}
.pc-booking-message.pc-success {
    background: #e5f8e0;
    border: 1px solid #5cb85c;
    color: #3c763d;
}
.pc-booking-success-title {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 18px;
}
.pc-booking-summary {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    color: #1f2328;
}
.pc-booking-summary-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0b5f4d;
}
.pc-booking-summary p {
    margin: 0 0 10px;
}
.pc-booking-summary-divider {
    height: 1px;
    background: #e6e6e6;
    margin: 18px 0;
}
.pc-booking-message.pc-error {
    background: #fbeaea;
    border: 1px solid #d9534f;
    color: #a94442;
}
.pc-debug-panel {
    margin-top: 18px;
    padding: 12px;
    border: 2px solid #f59e0b;
    background: #fffbeb;
    color: #111827;
    font-size: 13px;
}
.pc-debug-title {
    font-weight: 700;
    margin-bottom: 10px;
}
.pc-debug-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.pc-debug-actions button {
    padding: 6px 10px;
    border: 1px solid #92400e;
    background: #ffffff;
    color: #92400e;
    cursor: pointer;
}
.pc-debug-line {
    margin: 8px 0;
    padding: 8px;
    border-left: 4px solid #16a34a;
    background: #ffffff;
}
.pc-debug-line.pc-debug-error {
    border-left-color: #dc2626;
}
.pc-debug-line pre {
    margin: 6px 0 0;
    max-height: 180px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 12px;
}
.pc-disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
}
@media (max-width: 640px) {
    .pc-step-actions {
        flex-direction: column;
    }
    .pc-booking-success-title {
        font-size: 22px;
    }
    .pc-booking-summary {
        padding: 18px;
    }
}
