.site-promotion:not([hidden]) { margin-block: clamp(1.25rem, 4vw, 3rem); }
.site-promotion[hidden] { display: none; }
.site-promotion, [data-promo-preview] { container-type: inline-size; }
.promotion-banner {
    display: grid;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d7d4c2;
    border-radius: 1rem;
    background: #f5f1e5;
    color: #26332a;
}
.promotion-banner img {
    display: block;
    width: 100%;
    aspect-ratio: 40 / 21;
    object-fit: contain;
    background: #29392e;
}
.promotion-content { padding: clamp(1rem, 4cqw, 2.75rem); overflow-wrap: anywhere; }
.promotion-content h2 { margin: 0; color: inherit; font-size: clamp(1.4rem, 4cqw, 2.35rem); line-height: 1.15; }
.promotion-content p { margin-block: .7rem 1rem; color: inherit; }
.promotion-cta {
    display: inline-block;
    padding: .65rem 1rem;
    border-radius: .5rem;
    background: #344939;
    color: #fff;
    text-decoration: none;
}
.promotion-cta:hover { color: #fff; background: #26382a; }
@container (min-width: 640px) {
    .promotion-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .promotion-banner img { height: 100%; }
}
.promo-preview-scroll { overflow: auto; padding-block: .5rem; }
[data-preview-size="390"] { width: 390px; }
[data-preview-size="768"] { width: 768px; }
[data-preview-size="1100"] { width: 1100px; }

.promotion-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.promotion-track > .promotion-banner {
    flex: 0 0 100%;
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
}
.promotion-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .6rem;
}
.promotion-controls button {
    padding: .5rem .8rem;
    border: 1px solid #a4ae9c;
    border-radius: .5rem;
    background: #f5f1e5;
    color: #26332a;
    font: inherit;
    cursor: pointer;
}
.promotion-controls button:disabled { opacity: .55; cursor: default; }

.promotion-banner.promotion-text-only { grid-template-columns: minmax(0, 1fr); }
.promotion-content del { margin-right: .35rem; }
.coupon-trigger { display: flex; width: max-content; max-width: 100%; margin: 0 auto 1.5rem; text-align: center; }
.coupon-popup { width: min(36rem, calc(100% - 2rem)); max-height: 85vh; padding: clamp(1rem, 6vw, 2rem); border: 1px solid #b79857; background: #f7f3eb; color: #28312d; border-radius: .85rem; }
.coupon-popup::backdrop { background: #28312dbb; }
.coupon-popup h2 { margin: 0 0 .65rem; font-size: 2rem; }
.coupon-popup .coupon-close { margin-bottom: .85rem; background: #28312d; color: #f7f3eb; border: 0; border-radius: .3rem; padding: .4rem .75rem; }
.coupon-popup details { border-top: 1px solid #cfc3ae; padding: .75rem 0; }
.coupon-popup summary { cursor: pointer; font-weight: 700; }
.coupon-popup details > p { margin: .5rem 0; }
.coupon-popup input { max-width: 100%; padding: .35rem .5rem; margin: 0 .5rem .5rem 0; background: #fffdf7; color: #28312d; border: 1px solid #46533f; }
.coupon-popup .text-link, .coupon-popup [role="status"] { display: block; width: fit-content; margin-top: .4rem; }
