/**
 * Rolex Appointment (Hyvä) — category id 39–41.
 * G0 shell: full-width main, hide Hyvä PLP chrome.
 *
 * @see dev-doc/rolex_appointment_implement_log.html#prep
 */

body.rolex-appointment-form-body #maincontent {
    display: block !important;
    min-height: unset;
}

body.rolex-appointment-form-body .page-main,
body.rolex-appointment-form-body #maincontent.page-main,
body.rolex-appointment-form-body.page-layout-1column #maincontent {
    margin: 0 !important;
    margin-block: 0 !important;
    padding-top: 0 !important;
    max-width: none;
    padding-inline: 0;
}

body.rolex-appointment-form-body #maincontent > .columns {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.rolex-appointment-form-body #category-view-container.rolex-wrapper {
    margin-top: 0;
}

body.rolex-appointment-form-body nav.breadcrumbs,
body.rolex-appointment-form-body .breadcrumbs:not(.rolex-wrapper .breadcrumbs) {
    display: none !important;
}

body.rolex-appointment-form-body .page-title-wrapper,
body.rolex-appointment-form-body h1.page-title {
    display: none !important;
}

@media only screen and (max-width: 1023px) {
    body.rolex-appointment-form-body .page-header {
        position: relative;
        z-index: 20;
    }
}

/* Alpine x-show steps — avoid flash before init (Hyvä provides [x-cloak] globally) */
body.rolex-appointment-form-body .rolexAppointmentForm [x-cloak] {
    display: none !important;
}

/*
 * rolex-form-common.css forces steps/thankyou to display:none (legacy jQuery .show()).
 * Alpine x-show.important must win when step is active — backup for .step-active class.
 */
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-cancelConfirm.step-active,
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-error.step-active,
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-step1.step-active,
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-step2.step-active,
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-step3.step-active,
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-step4.step-active,
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-step5.step-active,
body.rolex-appointment-form-body .rolex-form .rolexAppointmentForm .rolex-appointmentForm-thankyou.step-active {
    display: block !important;
}
