body:has(#mh-bed-configurator) .product__info-container variant-selects,
body:has(#mh-bed-configurator) .product__info-container variant-radios,
body:has(#mh-bed-configurator) .product__info-container product-form,
body:has(#mh-bed-configurator) .product__info-container form.cart,
body:has(#mh-bed-configurator) .product__info-container .product-form__quantity,
body:has(#mh-bed-configurator) .product__info-container [id^="price-"],
body:has(#mh-bed-configurator) #StickyATC {
    display: none !important;
}

.mh-bed {
    --mh-bed-gold: #e0c58e;
    --mh-bed-border: #80673e;
    --mh-bed-ink: #f5eee1;
    margin-block: 1.5rem 2.5rem;
}

.mh-bed [hidden] { display: none !important; }

.mh-bed-price {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    min-height: 1.5em;
    margin-bottom: 1.6rem;
}

.mh-bed-personalize {
    border: 1px solid var(--mh-bed-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #22201b, #111110);
    color: var(--mh-bed-ink);
}

.mh-bed-personalize > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem 2.6rem;
    border-radius: 17px;
    background: linear-gradient(120deg, #292317, #1c1913);
    color: var(--mh-bed-gold);
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: .04em;
    list-style: none;
    cursor: pointer;
}

.mh-bed-personalize > summary::-webkit-details-marker { display: none; }

.mh-bed-personalize > summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 2.9rem;
    border: 1px solid #695532;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.mh-bed-personalize[open] > summary {
    border-bottom: 1px solid #695532;
    border-radius: 17px 17px 0 0;
}
.mh-bed-personalize[open] > summary::after { content: "−"; }

#mh-bed-configurator .mh-bed-panel {
    min-width: 0;
    margin: 0;
    padding: 2.8rem;
    border: 0;
}

.mh-bed-panel h3 {
    margin: 0 0 .8rem;
    color: #f6eddb;
    font: 700 clamp(2.8rem, 3vw, 3.6rem)/1.15 Georgia, serif;
}

.mh-bed-intro, .mh-bed-note {
    color: #d4cabc;
    font-size: 1.4rem;
    line-height: 1.6;
}
.mh-bed-intro { margin: 0 0 2.2rem; }
.mh-bed-note { margin: .85rem 0 0; }

.mh-bed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem 1.6rem;
}
.mh-bed-grid > label { min-width: 0; }
.mh-bed-standard { margin-bottom: 1.8rem; }
#mh-bed-configurator .mh-bed-options {
    min-width: 0;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}

.mh-bed-options legend {
    margin-bottom: .7rem;
    padding: 0;
    color: inherit;
    font-size: 1.3rem;
}

.mh-bed-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1rem;
}

#mh-bed-configurator .mh-bed-options-row label {
    position: relative;
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.mh-bed-options-row input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.mh-bed-options-row span {
    padding: .4rem 1.2rem;
    border: 1px solid #949494;
    border-radius: 7px;
    background: transparent;
    color: #fff;
    line-height: 1.45;
    text-align: center;
}

.mh-bed-options-row input:checked + span {
    border-color: #fff;
    background: #fff;
    color: #080705;
}

.mh-bed-options-row input:focus-visible + span {
    outline: 2px solid var(--mh-bed-gold);
    outline-offset: 2px;
}

.mh-bed label { font-size: 1.3rem; font-weight: 650; }

.mh-bed select,
.mh-bed-panel input[type="number"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 4.8rem;
    margin-top: .6rem;
    border: 1px solid #806945;
    border-radius: 9px;
    padding: .9rem 1.2rem;
    background: linear-gradient(#352f25, #29251e);
    color: #f7edda;
    color-scheme: dark;
    font: inherit;
}

.mh-bed select { cursor: pointer; }
.mh-bed select option { background: #29251e; color: #f7edda; }

@supports (appearance: base-select) {
    .mh-bed-panel .mh-bed-colors,
    .mh-bed-panel .mh-bed-colors::picker(select) { appearance: base-select; }

    .mh-bed-panel .mh-bed-colors { display: flex; align-items: center; gap: .5rem; }
    .mh-bed-colors::picker-icon { color: var(--mh-bed-gold); }

    .mh-bed-colors::picker(select) {
        max-height: 26rem;
        padding: .5rem;
        border: 1px solid #806945;
        border-radius: 9px;
        background: #29251e;
        color: #f7edda;
        color-scheme: dark;
    }

    .mh-bed-colors option { gap: .8rem; padding: .75rem; border-radius: 6px; }
    .mh-bed-colors option:is(:hover, :focus, :checked) { background: #493b26; }

    .mh-bed-swatch {
        display: inline-block;
        width: 1.65rem;
        height: 1.65rem;
        flex: 0 0 1.65rem;
        margin-inline-end: .4rem;
        border: 1px solid #a58a62;
        border-radius: 50%;
        background: var(--swatch) center / cover no-repeat;
        vertical-align: middle;
    }
}

.mh-bed-section {
    min-width: 0;
    margin: 1.8rem 0 0;
    padding: 1rem 0 0;
    border: 0;
    border-top: 1px solid #695532;
}

.mh-bed-section legend {
    padding: 0 .9rem 0 0;
    color: #f1e2c8;
    font-size: 1.6rem;
    font-weight: 800;
}

#mh-bed-configurator .mh-bed-units {
    display: block;
    max-width: 24rem;
    margin-bottom: 1.4rem;
}

.mh-bed-measurements { display: grid; gap: 1.3rem; }

.mh-bed .mh-bed-component {
    min-width: 0;
    margin: 0;
    padding: .7rem 1.3rem 1.2rem;
    border: 1px solid #695532;
    border-radius: 10px;
}

.mh-bed .mh-bed-component legend { padding: 0 .55rem; }

.mh-bed-component-fields { margin-top: .7rem; }

.mh-bed label.mh-bed-check {
    display: inline-flex;
    align-items: center;
    min-height: 3.3rem;
    margin-inline-end: 1.2rem;
    gap: .65rem;
    cursor: pointer;
}
.mh-bed-check input { accent-color: #c8a96b; }

.mh-bed .mhmto-note { margin: 1.7rem 0; }
.mh-bed-quantity { margin-block: 1.7rem 2.4rem; }

.mh-bed-stepper {
    display: grid;
    grid-template-columns: 4.4rem 4.8rem 4.4rem;
    width: max-content;
    max-width: 100%;
    margin-top: .6rem;
    border: 1px solid #949494;
    border-radius: 14px;
}

.mh-bed-stepper button, .mh-bed-stepper input {
    min-width: 0;
    min-height: 4.4rem;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font: inherit;
    text-align: center;
}
.mh-bed-stepper input { width: 100%; appearance: textfield; }
.mh-bed-stepper input::-webkit-inner-spin-button,
.mh-bed-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.mh-bed-stepper button { cursor: pointer; }
.mh-bed-stepper button:disabled { opacity: .5; cursor: default; }

.mh-bed-actions {
    display: grid;
    gap: 1.4rem;
    padding: 2rem;
    border: 1px solid #d8c7a5;
    border-radius: 20px;
    background: #faf7f1;
}

.mh-bed .mh-bed-actions .button {
    width: 100%;
    min-height: 5rem;
    padding: 1.2rem 1.8rem;
    border: 1px solid #af8842;
    border-radius: 16px;
    box-shadow: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.mh-bed-actions .button::before,
.mh-bed-actions .button::after { display: none; }
#mh-bed-configurator .mh-bed-actions .mh-bed-add.button { background: #af8842; color: #080705; }
#mh-bed-configurator .mh-bed-actions .mh-bed-buy.button { background: #141210; color: #d9bc82; }
.mh-bed-actions .button:hover:not(:disabled) { filter: brightness(1.12); }
.mh-bed .mh-bed-actions .button:disabled { opacity: .55; cursor: default; }

.mh-bed :is(summary, select, input, button):focus-visible {
    outline: 2px solid var(--mh-bed-gold);
    outline-offset: 3px;
}
.mh-bed-actions .button:focus-visible { outline-color: #765522; }

@media (max-width: 520px) {
    .mh-bed-grid { grid-template-columns: 1fr; }
    #mh-bed-configurator .mh-bed-panel, .mh-bed-actions { padding: 1.6rem; }
    .mh-bed-personalize > summary { padding: 1.4rem 1.6rem; }
}
