@media (max-width: 680px) {
    .studio-agenda-frontend {
        margin: 12px auto;
        padding: 16px 14px;
        border-radius: 18px;
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    }

    .agenda-fe-stepper {
        justify-content: space-between;
        gap: 0;
        margin: 0 -2px 18px;
        padding: 4px 2px 8px;
        scroll-snap-type: x proximity;
    }

    .fe-step-item {
        min-width: 68px;
        scroll-snap-align: start;
    }

    .fe-step-num {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }

    .fe-step-label {
        font-size: 11px;
    }

    .agenda-frontend-header {
        gap: 12px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-cards-container {
        gap: 14px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
        border-radius: 20px;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-media,
    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-gallery-trigger,
    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-cover {
        width: 100%;
        min-width: 0;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-gallery-trigger {
        border-radius: 16px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-cover {
        height: auto;
        aspect-ratio: 16 / 10;
        min-height: 0;
        border-radius: 16px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-gallery-badge {
        left: 12px;
        bottom: 12px;
        padding: 7px 11px;
        font-size: 0.74rem;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-content {
        gap: 12px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-head {
        display: grid;
        gap: 10px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-head h4 {
        font-size: 1.3rem;
        line-height: 1.16;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-head-side {
        justify-self: start;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-facts {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-fact {
        gap: 5px;
        padding: 12px 13px;
        border-radius: 13px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-description {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-footer,
    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-actions {
        width: 100%;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-footer {
        padding-top: 2px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-actions {
        margin-left: 0;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-select-btn {
        width: 100%;
        min-height: 46px;
        justify-content: center;
        text-align: center;
    }

    .fe-back-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #f8fafc;
    }

    .fe-service-card,
    .fe-booking-review,
    .fe-confirmation-container,
    .fe-review-card {
        border-radius: 16px;
    }

    .fe-service-card {
        padding: 16px;
        align-items: flex-start;
    }

    .fe-service-actions {
        gap: 10px;
        margin-left: 12px;
        align-self: flex-start;
    }

    .agenda-fe-grid {
        gap: 10px;
    }

    .fe-slot-card {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .fe-slot-card .time {
        font-size: 1rem;
    }

    .studio-fe-field-wrap input,
    .studio-fe-field-wrap select,
    .studio-fe-field-wrap textarea {
        border-radius: 12px;
    }

    .fe-review-card {
        padding: 14px 16px;
    }

    .fe-review-text {
        font-size: 16px;
    }

    .booking-contact-grid {
        grid-template-columns: 1fr;
    }

    .booking-contact-card,
    .booking-error-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .studio-agenda-frontend .agenda-fe-step[data-step="2"] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="2"] .fe-monthly-grid {
        min-width: 560px;
    }

    .agenda-fe-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fe-step-actions,
    .fe-confirmation-container {
        text-align: center;
    }

    .fe-step-next-btn,
    .fe-primary-action-btn,
    .booking-success-btn {
        width: 100%;
    }

    .booking-success-atc {
        width: 100%;
    }

    .booking-success-atc table {
        width: 100% !important;
    }

    .booking-success-atc td {
        padding: 0 8px !important;
    }

    .booking-success-atc a {
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .studio-agenda-frontend {
        padding: 14px 12px;
    }

    .fe-step-item {
        min-width: 62px;
    }

    .fe-step-line {
        flex-basis: 18px;
        margin: 0 3px;
    }

    .agenda-fe-grid {
        grid-template-columns: 1fr;
    }

    .fe-slot-card {
        padding: 14px;
    }

    .fe-service-icon {
        width: 44px;
        height: 44px;
        margin-right: 12px;
        flex: 0 0 44px;
    }

    .fe-service-actions {
        margin-left: 10px;
    }

    .fe-service-info-toggle {
        width: 26px;
        height: 26px;
        font-size: 0.92rem;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-card {
        padding: 12px;
        gap: 12px;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-head h4 {
        font-size: 1.22rem;
    }

    .studio-agenda-frontend .agenda-fe-step[data-step="1"] .fe-studio-description {
        font-size: 0.92rem;
    }
}

@media (max-width: 680px) {
    .fe-service-info-modal-dialog {
        max-width: calc(100vw - 24px);
        border-radius: 16px;
    }
}
