.leaf-product-media {
    clear: both;
    margin: 22px 0;
}

.leaf-product-media-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #d8cabb;
}

.leaf-product-media-tabs button {
    margin: 0 0 -1px;
    padding: 10px 14px;
    min-height: 44px;
    border: 1px solid #d8cabb;
    border-radius: 4px 4px 0 0;
    background: #f5efe6;
    color: #392820;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.leaf-product-media-tabs button + button {
    margin-left: -1px;
}

.leaf-product-media-tabs button[aria-selected="true"] {
    position: relative;
    border-bottom-color: #fdfbf7;
    background: #fdfbf7;
    color: #392820;
}

.leaf-product-media-tabs button:focus-visible,
.leaf-product-media-panel:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid #704936;
    outline-offset: 2px;
}

.leaf-product-media [hidden] {
    display: none !important;
}

.leaf-product-media-panel {
    min-width: 0;
    padding-top: 14px;
}

.leaf-product-media-panel video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.leaf-product-media-panel .leaf-buying-support {
    margin: 0;
}

.leaf-product-media-ready #leaf-info-video-title,
.leaf-product-media-ready #leaf-info-delivery #leaf-delivery-title {
    display: none;
}

@media (max-width: 480px) {
    .leaf-product-media-tabs button {
        padding-inline: 11px;
        font-size: 14px;
    }
}
