.bed-feature { position: relative; }
.bed-components {
    position: relative;
    width: max-content;
    max-width: 100%;
    margin: 20px 0 0 auto;
    color: #f5f0e8;
    z-index: 12;
}
.bed-components > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    max-width: 100%;
    min-height: 112px;
    padding: 10px 16px 10px 6px;
    border: 1px solid rgba(201,168,76,.5);
    background: #172712;
    color: #f5f0e8;
    cursor: pointer;
    font: .73rem/1.45 Arial, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.bed-components > summary::-webkit-details-marker { display: none; }
.bed-components > summary:hover, .bed-components[open] > summary {
    border-color: #c9a84c;
    background: #20331a;
}
.bed-components > summary:focus-visible {
    outline: 2px solid #f3cf76;
    outline-offset: 4px;
}
.bed-components__icon {
    flex: 0 0 auto;
    width: 100px;
    height: 88px;
}
.bed-components__door {
    transform-box: fill-box;
    transform-origin: left center;
    transition: transform .38s ease;
}
.bed-components[open] .bed-components__door { transform: scaleX(.16); }
.bed-components__label { max-width: 115px; }
.bed-components__label strong {
    display: block;
    color: #c9a84c;
    font: normal .66rem/1.4 Arial, sans-serif;
    letter-spacing: .18em;
    margin-bottom: 5px;
}
.bed-components__panel {
    box-sizing: border-box;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(560px, calc(100vw - 48px));
    max-height: min(68vh, 650px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 28px;
    border: 1px solid #a58a48;
    background: #172712;
    box-shadow: 0 20px 55px rgba(0,0,0,.55);
    scrollbar-color: #9c813f #172712;
}
.bed-components__panel h3 {
    margin: 0 0 8px;
    color: #f5f0e8;
    font: normal clamp(1.45rem,3vw,2.15rem)/1.2 Georgia, serif;
}
.bed-components__intro {
    margin: 0 0 22px;
    color: rgba(245,240,232,.7);
    font: .86rem/1.6 Arial, sans-serif;
}
.bed-components__table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font: .82rem/1.5 Arial, sans-serif;
}
.bed-components__table thead th {
    padding: 0 12px 11px 0;
    color: #c9a84c;
    font-size: .65rem;
    font-weight: normal;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.bed-components__table tbody th[scope="colgroup"] {
    padding: 19px 0 8px;
    color: #c9a84c;
    font-size: .68rem;
    font-weight: normal;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.bed-components__table tbody th[scope="row"],
.bed-components__table td {
    padding: 9px 10px 9px 0;
    border-top: 1px solid rgba(245,240,232,.13);
    vertical-align: top;
}
.bed-components__table tbody th[scope="row"] {
    width: 44%;
    color: #f5f0e8;
    font-weight: 600;
}
.bed-components__table td { color: rgba(245,240,232,.78); }
@media (min-width: 1460px) {
    .bed-components {
        position: absolute;
        top: clamp(180px, 14vw, 230px);
        left: calc(100% + 18px);
        width: 132px;
        max-width: none;
        margin: 0;
    }
    .bed-components > summary {
        box-sizing: border-box;
        width: 132px;
        min-height: 150px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 12px 8px;
    }
    .bed-components__label { text-align: center; }
    .bed-components__panel {
        top: 0;
        right: calc(100% + 14px);
        width: min(560px, calc(100vw - 230px));
    }
}
@media (max-width: 680px) {
    .bed-components { width: 100%; }
    .bed-components > summary { margin-left: auto; min-height: 95px; }
    .bed-components__icon { width: 82px; height: 72px; }
    .bed-components__panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-height: 68vh;
        margin-top: 10px;
        padding: 21px 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bed-components__door { transition: none; }
}
