.sg-brand-frame {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    min-width: 0;
    aspect-ratio: 1;
    gap: 3%;
    padding: 4%;
    overflow: hidden;
    box-sizing: border-box;
    container-type: inline-size;
    background: linear-gradient(150deg, #fdf8ef, #eee4d4);
    color: #193550;
    border: 1px solid #e5d9c6;
    border-radius: inherit;
    text-align: left;
}
.sg-brand-header {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 4%;
    min-width: 0;
}
.sg-brand-emblem {
    display: block;
    width: 45px;
    width: clamp(35px, 15cqw, 70px);
    aspect-ratio: 1;
    background: url("seasonal-gifts-emblem.png") center / contain no-repeat;
}
.sg-brand-name {
    display: block;
    min-width: 0;
    font: 700 1.1rem / 1.05 Georgia, serif;
    font-size: clamp(.94rem, 6.2cqw, 2rem);
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.sg-brand-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5%;
    min-height: 0;
}
.sg-brand-has-details .sg-brand-layout { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.sg-brand-stage, .sg-brand-detail {
    display: grid;
    min-width: 0;
    min-height: 0;
    height: 100%;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e3d7c3;
    border-radius: .42rem;
    background-color: #f6eee3;
}
.sg-brand-details {
    display: grid;
    gap: 4%;
    grid-auto-rows: minmax(0, 1fr);
    min-height: 0;
}
.sg-brand-details[hidden] { display: none !important; }
.sg-brand-detail { background-position: center; background-repeat: no-repeat; background-size: contain; }
#order-standard_cart .sg-brand-frame .sg-brand-stage img,
#order-standard_cart .sg-brand-frame .sg-brand-stage picture,
.sg-brand-frame .sg-brand-stage img,
.sg-brand-frame .sg-brand-stage picture {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 0;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    margin: 0 !important;
}
#order-standard_cart .sg-product-photo.sg-product-photo-branded { aspect-ratio: 1; background: #f0e6d7; }
.sg-product-photo-branded .sg-brand-frame { height: 100%; }
.sg-home-grid article > .sg-brand-frame { border-radius: 0; }
.sg-details-media > .sg-brand-frame { border-radius: .55rem; }
@media (min-width: 680px) {
    .sg-details-media > .sg-brand-frame { max-height: 60vh; }
}

