/* R8: one alignment system for native Mirox sections; native controls retain their handlers. */
body[data-muzzhome-recovery="r8"] {--muzz-ink:#292824;--muzz-moss:#4c5342;--muzz-line:#dcd5c9;background:#f5f2ec}
body[data-muzzhome-recovery="r8"] #main-content {background:#f5f2ec}
body[data-muzzhome-recovery="r8"] #main-content > div {background:transparent}
body[data-muzzhome-recovery="r8"] .muzz-main-header {background:#fffdf9;border-bottom:1px solid #ddd6cb}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__desktop {background:#fffdf9}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__desktop > .container {max-width:1440px;padding-inline:32px}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__inner {min-height:84px;gap:16px}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__right {gap:0}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__right .f-switcher-dropdown {display:block;margin:0 8px 0 0;font-size:12px}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__right :is(.f-header__search,.f-header__account) {min-width:38px;min-height:44px;padding:8px}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-menu > .f-menu__item > .f-menu__link--main {padding:29px 6px;font-size:13px;line-height:24px;white-space:nowrap}
body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__desktop .f-menu {--main-link-px:6px;--main-link-py:29px;gap:0;flex-wrap:nowrap}
@media(min-width:1361px){
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__desktop {display:block}
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__mobile {display:none}
}
@media(max-width:1360px){
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__desktop {display:none}
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__mobile {display:flex;min-height:76px;padding:8px 24px;gap:12px;background:#fffdf9}
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-menu-button {flex:1 1 0;min-width:44px;min-height:44px;align-items:center;padding:0}
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-logo--mobile {flex:0 0 auto;width:auto;margin:0;padding:0}
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__mobile-right {flex:1 1 0;width:auto;min-width:132px;align-items:center;gap:0}
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__mobile-right > f-search-popup {flex:0 0 44px;width:44px;height:44px;padding:11px;cursor:pointer}
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-menu-customer__language-currency .f-switcher-dropdown {display:block}
}
/* All home panels use the same external edges and internal spacing. */
body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) {width:calc(100% - 80px);max-width:1280px;margin:32px auto;background:#fffdf9;border:1px solid #ddd6ca;border-radius:12px;color:#292824;overflow:hidden}
body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) > :is(.container,.container-fluid,.container-narrow,.f-collection-list__container) {width:100%;max-width:none;padding:32px;margin:0;box-sizing:border-box}
body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) :is(.f-section__heading,.f-content-box__heading,.f-collage-tab--heading) {font-size:34px;line-height:1.16;letter-spacing:-.025em}
/* A text column and two equally sized category cards. Swiper supplies the sole gutter. */
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-list__wrapper {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;padding:0!important}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-section__header {grid-column:1;width:auto;flex-basis:auto;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px;margin:0;background:#eee8dd;border:1px solid #e2d9cb;border-radius:8px;min-width:0}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-section__description {font-size:15px;line-height:1.65;max-width:none;margin:16px 0 0;color:#65645b}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-section__subheading {font-size:10px;line-height:1.6;letter-spacing:.1em;margin:0 0 14px;color:#555b4c}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-list__content {grid-column:2 / span 2;width:100%;min-width:0;margin:0!important;padding:0;overflow:hidden}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail :is(.f-mixed-layout,.f-mixed-layout__wrapper,.swiper-container,.f-mixed-layout__inner) {margin:0!important;padding:0!important;--column-gap:0px;--column-gap-mobile:0px;--row-gap:0px;--row-gap-mobile:0px;gap:0}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .swiper-slide {padding:0!important}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-card__image {border-radius:8px;overflow:hidden;aspect-ratio:4/3}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-card__image :is(.f-hover-box__wrapper,responsive-image,picture,.f-media) {width:100%;height:100%;padding:0!important;aspect-ratio:4/3!important}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-card__image img {width:100%;height:100%;object-fit:cover}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-card__info {padding:14px 0 0;margin:0}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-card__title {font-size:18px;line-height:1.4;margin:0}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-list__controls {position:static;width:auto;margin:0;padding:0;text-align:left}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-slider-controls {margin-top:24px;gap:8px}
body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-slider-controls__button {width:40px;height:40px;min-width:40px;background:transparent;border-color:#acae9d}
/* Equal halves inside a single stone-coloured editorial panel. */
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__inner {display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:0;margin:0;background:#eee8dd;border:1px solid #e2d9cb;border-radius:8px;overflow:hidden}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__image {width:100%;padding:0;min-width:0}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__content {display:flex;align-items:center;justify-content:center;width:100%;padding:36px;min-width:0;background:#eee8dd}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 :is(.f-image-with-text__image-wrapper,.f-image-with-text__image-first) {height:100%;width:100%;border-radius:0;transform:none!important;margin:0}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__image-first {min-height:100%;aspect-ratio:4/3}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__image-first :is(responsive-image,.f-media,picture,.f-hover-box__wrapper) {height:100%;width:100%;padding:0!important;aspect-ratio:auto!important}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__image-first img {width:100%;height:100%;object-fit:cover}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-content-box__description {font-size:15px;line-height:1.7;color:#65645b}
body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 :is(.f-content-box__heading,.f-content-box__subheading) {color:#292824}
body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-collage-tabs__wrapper {background:#eee8dd;border:1px solid #e2d9cb;border-radius:8px;align-items:stretch}
body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-collage-tabs__images {min-width:0;aspect-ratio:4/3;height:100%}
body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-image-and-text-tabs__header {border-color:#dcd1bf;padding:14px 30px 0;gap:18px}
body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-collage-tab--content {padding:28px 36px 36px}
body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-tab-content__wrapper {background:transparent}
body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-collage-tab--description {font-size:15px;line-height:1.7;color:#65645b}
/* The portrait image stretches to the full real product grid. */
body[data-muzzhome-recovery="r8"] .muzz-home-products-r6 .f-featured-colelction__wrapper {margin:0!important;gap:24px;align-items:stretch}
body[data-muzzhome-recovery="r8"] .muzz-home-products-r6 .f-section__header {margin:0 0 28px}
body[data-muzzhome-recovery="r8"] .muzz-home-products-r6 .f-image-card {background:#eee8dd;border-radius:8px}
body[data-muzzhome-recovery="r8"] .muzz-home-products-r6 .f-product-card {border-color:#e6dfd3;border-radius:8px}
body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 collapsible-tab {background:#f5f1e9;border-color:#e2d9cb;border-radius:6px}
body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 collapsible-tab:last-child {margin-bottom:0}
body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 .f-section__header {margin:0}
body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 .f-collapsible--button {font-size:17px;line-height:1.5;padding:20px;min-height:64px}
@media(min-width:1024px){
 body[data-muzzhome-recovery="r8"] #main-content .muzz-home-help-r6 > .container {display:grid;grid-template-columns:1fr 2fr;gap:32px;align-items:start}
}
@media(min-width:1024px){body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 .f-collapsible__content-wrapper {display:contents}}
/* Four honest footer columns; each menu has its own native heading. */
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--accordion {grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr));gap:40px}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-menu {grid-column:auto}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-menu .f-link-lists {columns:1!important}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-title {font-size:16px;margin-bottom:18px}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-menu .f-link {font-size:14px;line-height:1.6;padding-block:6px}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-custom_text .block-image {max-width:145px!important;margin-bottom:22px}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-custom_text .block-text {font-size:13px}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-newsletter {grid-column:1/-1}
body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-newsletter .f-footer--block-inner {column-gap:40px}
@media(min-width:768px) and (max-width:1099px){
 body[data-muzzhome-recovery="r8"] .f-footer .f-footer--accordion {grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 40px}
 body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-menu + .f-footer--block-menu {grid-column:auto}
}
@media(max-width:1023px){
 body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) {width:calc(100% - 48px);margin:24px auto}
 body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) > :is(.container,.container-fluid,.container-narrow,.f-collection-list__container) {padding:24px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-list__wrapper {grid-template-columns:1fr;gap:24px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-section__header {grid-column:1;width:100%;padding:24px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-list__content {grid-column:1}
 body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__content {padding:24px}
 body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-image-and-text-tabs__header {padding:12px 20px 0;gap:12px}
 body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-collage-tab--content {padding:24px}
 body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 .f-section__header {margin-bottom:24px}
}
@media(max-width:767px){
 body[data-muzzhome-recovery="r8"] .muzz-main-header .f-header__mobile {padding-inline:16px;min-height:72px}
 body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) {width:calc(100% - 32px);margin:20px auto;border-radius:10px}
 body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) > :is(.container,.container-fluid,.container-narrow,.f-collection-list__container) {padding:16px}
 body[data-muzzhome-recovery="r8"] #main-content :is(.muzz-home-category-rail,.muzz-home-products-r6,.muzz-home-bedding-r6,.muzz-home-details-tabs,.muzz-home-help-r6) :is(.f-section__heading,.f-content-box__heading,.f-collage-tab--heading) {font-size:28px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-section__header {padding:22px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-section__description {font-size:14px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-slider-controls {margin-top:20px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-list__wrapper {gap:16px}
 body[data-muzzhome-recovery="r8"] .muzz-home-category-rail .f-collection-card__title {font-size:17px}
 body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__inner {grid-template-columns:1fr}
 body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__image-first {aspect-ratio:4/3}
 body[data-muzzhome-recovery="r8"] .muzz-home-bedding-r6 .f-image-with-text__content {padding:26px 22px}
 body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-image-and-text-tabs__header {padding:8px 16px 0;gap:14px}
 body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-collage-tabs__images {aspect-ratio:4/3}
 body[data-muzzhome-recovery="r8"] .muzz-home-details-tabs .f-collage-tab--content {padding:26px 22px}
 body[data-muzzhome-recovery="r8"] .muzz-home-products-r6 .f-section__header {margin:8px 4px 24px}
 body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 .f-section__header {margin:8px 4px 24px}
 body[data-muzzhome-recovery="r8"] .muzz-home-help-r6 .f-collapsible--button {padding:16px;font-size:16px}
 body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-menu .f-footer--block-title {margin:0}
 body[data-muzzhome-recovery="r8"] .f-footer .f-footer--block-menu .f-link {min-height:44px;padding-block:10px}
}

/* Keep the mobile portrait overlay inside the full image, matching desktop. */
@media(max-width:767px){body[data-muzzhome-recovery="r8"] .muzz-home-products-r6 .f-image-card .f-image-card__content {position:absolute!important;inset:0;height:100%;align-items:flex-end!important;padding:24px!important}}
