/* Denser visual pass for the Photobooth tunnel: quicker choices, same selling content. */
@media (min-width: 821px) {
    .ee-photobooth-tunnel-page :is(
        .ee-photo-choice,
        .ee-photo-information,
        .ee-photo-decor,
        .ee-photo-accessories,
        .ee-photo-summary,
        .ee-photo-confirmation
    ) {
        margin-bottom: 58px;
    }

    .ee-photobooth-tunnel-page .ee-photo-progress {
        margin-bottom: 26px;
        padding: 14px 18px;
    }

    .ee-photobooth-tunnel-page .ee-photo-progress li {
        gap: 8px;
        font-size: 13px;
    }

    .ee-photobooth-tunnel-page .ee-photo-progress li > span,
    .ee-photobooth-tunnel-page .ee-photo-progress li span {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .ee-photo-choice__intro,
    .ee-photo-information__intro {
        margin-bottom: 22px;
    }

    .ee-photo-choice__intro h2,
    .ee-photo-information__intro h1 {
        font-size: 39px;
        line-height: 1.06;
    }

    .ee-photo-choice__intro > p:last-child,
    .ee-photo-information__intro > p:last-child {
        font-size: 16px;
        line-height: 1.5;
    }

    .ee-photo-choice__layout {
        grid-template-columns: minmax(0, 1fr) 286px;
        gap: 24px;
    }

    .ee-photo-choice__models {
        gap: 14px;
    }

    .ee-photo-choice-card__media {
        height: 184px !important;
    }

    .ee-photo-choice-card__body {
        padding: 18px !important;
    }

    .ee-photo-choice-card h3 {
        font-size: 24px;
    }

    .ee-photo-choice-card__tagline {
        min-height: 0;
        margin-bottom: 12px;
        font-size: 15px;
        line-height: 1.42;
    }

    .ee-photo-choice-card__formulas {
        margin-top: 14px;
        padding-top: 14px;
    }

    .ee-photo-choice-card__formulas legend {
        margin-bottom: 9px;
        font-size: 15px;
    }

    .ee-photo-choice-card__formulas > div {
        gap: 6px;
    }

    .ee-photo-choice-card__formulas label span {
        min-height: 40px;
        padding: 7px 10px;
        font-size: 14px;
    }

    .ee-photo-choice-card__formulas > p,
    .ee-photo-choice-card__remove {
        margin-top: 10px;
    }

    .ee-photo-choice-summary {
        padding: 20px;
    }

    .ee-photo-choice-summary h2 {
        margin-bottom: 14px;
        font-size: 24px;
    }

    .ee-photo-choice-summary li {
        padding: 9px 0;
    }

    .ee-photo-choice-summary__total {
        padding: 15px 0;
    }

    .ee-photo-choice-summary__total > strong {
        font-size: 24px;
    }

    .ee-photo-choice-summary__trust {
        margin-top: 12px;
        padding-top: 12px;
    }

    .ee-photo-information-summary {
        margin-bottom: 20px;
        padding: 15px 18px;
    }

    .ee-photo-information-summary h2 {
        font-size: 22px;
    }

    .ee-photo-information-summary__total strong {
        font-size: 23px;
    }

    .ee-photo-information-form__section {
        padding: 24px 28px;
    }

    .ee-photo-information-form__heading {
        margin-bottom: 18px;
    }

    .ee-photo-information-form__heading h3 {
        font-size: 22px;
    }

    .ee-photo-decor__hero,
    .ee-photo-accessories__hero {
        gap: 28px;
        padding: 28px 34px;
    }

    .ee-photo-accessories__hero {
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 22px;
        padding-block: 22px;
    }

    .ee-photo-decor__hero h1,
    .ee-photo-accessories__hero h1 {
        margin-bottom: 10px;
        font-size: 38px;
        line-height: 1.05;
    }

    .ee-photo-accessories__hero h1 {
        max-width: 650px;
        font-size: 34px;
    }

    .ee-photo-decor__hero p:last-child,
    .ee-photo-accessories__hero p:last-child {
        font-size: 16px;
        line-height: 1.45;
    }

    .ee-photo-accessories__hero p:last-child {
        max-width: 650px;
        font-size: 15px;
        line-height: 1.38;
    }

    .ee-photo-decor__shortcuts {
        width: 250px;
    }

    .ee-photo-decor__shortcuts button,
    .ee-photo-accessories__skip {
        min-height: 42px;
    }

    .ee-decor-presets,
    .ee-decor-studio,
    .ee-photo-accessories__layout {
        margin-top: 34px;
    }

    .ee-photo-accessories__layout {
        gap: 22px;
        margin-top: 24px;
    }

    .ee-decor-presets,
    .ee-decor-workbench,
    .ee-accessory-recommendations,
    .ee-accessory-browser {
        padding: 24px;
    }

    .ee-decor-section-heading,
    .ee-accessory-section-heading {
        gap: 24px;
        margin-bottom: 16px;
    }

    .ee-decor-section-heading h2,
    .ee-accessory-section-heading h2 {
        font-size: 28px;
        line-height: 1.14;
    }

    .ee-decor-section-heading > p,
    .ee-accessory-section-heading > p {
        font-size: 14px;
        line-height: 1.45;
    }

    .ee-decor-presets__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .ee-decor-preset {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        min-height: 98px;
        padding: 8px;
    }

    .ee-decor-preset__visual {
        height: 78px;
    }

    .ee-decor-preset__copy strong {
        font-size: 15px;
    }

    .ee-decor-preset__copy small {
        margin-top: 4px;
        font-size: 11px;
    }

    .ee-decor-stage {
        height: clamp(330px, 36vw, 455px);
    }

    .ee-decor-workbench {
        gap: 28px;
        padding-top: 28px;
    }

    .ee-decor-library {
        padding-left: 28px;
    }

    .ee-accessory-recommendations {
        margin-bottom: 32px;
    }

    .ee-accessory-recommendations,
    .ee-accessory-browser {
        padding: 18px;
    }

    .ee-accessory-summary {
        grid-template-columns: minmax(145px, .5fr) minmax(240px, 1.25fr) minmax(150px, .55fr) minmax(210px, .7fr);
        grid-template-rows: auto;
        gap: 18px;
        padding: 12px 18px;
    }

    .ee-accessory-summary > .ee-photo-accessories__eyebrow {
        display: none;
    }

    .ee-accessory-summary h2 {
        grid-row: 1;
        align-self: center;
        font-size: 21px;
    }

    .ee-accessory-summary__items {
        grid-row: 1;
        max-height: 88px;
    }

    .ee-accessory-summary dl,
    .ee-accessory-summary__continue,
    .ee-accessory-summary__clear,
    .ee-accessory-summary__feedback {
        grid-row: 1;
    }

    .ee-accessory-summary dl > div {
        padding: 5px 0;
    }

    .ee-accessory-tabs {
        margin-bottom: 18px;
    }

    .ee-accessory-tabs button {
        min-height: 38px;
        padding-inline: 14px;
        font-size: 14px;
    }

    .ee-accessory-grid,
    .ee-accessory-grid--recommended {
        gap: 12px;
    }

    .ee-accessory-card__media {
        height: 140px;
    }

    .ee-accessory-card__media img {
        inset: 10px !important;
        width: calc(100% - 20px) !important;
        height: calc(100% - 20px) !important;
    }

    .ee-accessory-card__media > span:not(.ee-accessory-card__placeholder) {
        top: 7px;
        left: 7px;
        padding: 4px 7px;
        font-size: 9px;
    }

    .ee-accessory-card__body {
        padding: 13px !important;
    }

    .ee-accessory-card__heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .ee-accessory-card__heading h3 {
        font-family: inherit;
        font-size: 16px !important;
        line-height: 1.2;
    }

    .ee-accessory-card__heading strong {
        font-size: 15px;
    }

    .ee-accessory-card__duration {
        margin: 5px 0 8px !important;
        font-size: 10px;
    }

    .ee-accessory-card__description {
        margin-bottom: 12px !important;
        font-size: 13px;
        line-height: 1.38;
    }

    .ee-accessory-card__variant {
        margin-bottom: 10px;
    }

    .ee-accessory-card__variant select {
        min-height: 38px;
        font-size: 13px;
    }

    .ee-accessory-stepper {
        grid-template-columns: 36px minmax(32px, 1fr) 36px;
    }

    .ee-accessory-stepper button,
    .ee-accessory-card__remove,
    .ee-accessory-card__add,
    .ee-accessory-summary__continue,
    .ee-accessory-summary__clear {
        min-height: 38px !important;
    }

    .ee-accessory-bottom-action {
        margin-top: 18px;
        padding: 18px 20px;
    }

    .ee-photo-summary__hero {
        max-width: 720px;
    }

    .ee-photo-summary__hero h1 {
        font-size: 35px;
        line-height: 1.08;
    }

    .ee-photo-summary__hero p:last-child {
        max-width: 650px;
        font-size: 15px;
        line-height: 1.45;
    }

    .ee-photo-summary__layout {
        gap: 22px;
    }

    .ee-summary-card {
        padding: 20px 22px;
    }

    .ee-summary-card__heading {
        margin-bottom: 12px;
    }

    .ee-summary-card__heading h2 {
        font-size: 24px;
        line-height: 1.15;
    }

    .ee-summary-list li {
        padding: 9px 0;
        font-size: 14px;
    }

    .ee-summary-total {
        padding: 18px 20px;
    }

    .ee-summary-total h2 {
        font-size: 16px;
    }

    .ee-summary-total__amount {
        font-size: 30px;
    }

    .ee-summary-total__notice {
        padding: 12px 14px;
        font-size: 13px;
        line-height: 1.42;
    }

    .ee-summary-total > button {
        min-height: 42px;
    }
}

@media (min-width: 1080px) {
    .ee-accessory-grid,
    .ee-accessory-grid--recommended {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .ee-decor-presets__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ee-accessory-grid,
    .ee-accessory-grid--recommended {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .ee-photobooth-tunnel-page .ee-photo-progress {
        margin-bottom: 18px;
        padding: 10px 14px;
    }

    .ee-photo-accessories__hero,
    .ee-photo-decor__hero {
        padding: 22px 20px;
    }

    .ee-photo-accessories__hero {
        gap: 16px;
        padding: 20px 20px 22px;
    }

    .ee-photo-accessories__hero h1 {
        margin-bottom: 10px;
        font-size: 31px;
        line-height: 1.08;
    }

    .ee-photo-accessories__hero p:last-child {
        font-size: 15px;
        line-height: 1.5;
    }

    .ee-photo-accessories__skip {
        min-height: 44px;
        margin-top: 4px;
    }

    .ee-photo-accessories__layout {
        margin-top: 22px;
    }

    .ee-photo-accessories__catalogue {
        order: 1;
    }

    .ee-accessory-summary {
        order: 2;
        margin-top: 22px;
        padding: 16px 18px;
    }

    .ee-accessory-summary h2 {
        margin-bottom: 10px;
        font-size: 22px;
    }

    .ee-accessory-summary__items {
        gap: 6px;
        padding-bottom: 10px;
    }

    .ee-accessory-summary dl {
        margin: 10px 0;
    }

    .ee-accessory-summary dl > div {
        padding: 6px 0;
    }

    .ee-accessory-summary__continue,
    .ee-accessory-summary__clear {
        min-height: 42px !important;
    }

    .ee-accessory-section-heading {
        gap: 12px;
        margin-bottom: 14px;
    }

    .ee-accessory-section-heading h2 {
        font-size: 24px;
        line-height: 1.12;
    }

    .ee-accessory-section-heading > p {
        font-size: 13px;
        line-height: 1.45;
    }

    .ee-accessory-recommendations,
    .ee-accessory-browser,
    .ee-decor-presets,
    .ee-decor-workbench {
        padding: 18px 14px;
    }

    .ee-accessory-recommendations {
        margin-bottom: 24px;
    }
}
