.vci-composition-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    color: #fff9f2;
    background: radial-gradient(ellipse at 73% 22%, #934b52, transparent 58%), linear-gradient(115deg, #35151f, #692d39 72%, #622a35);
}
.vci-composition-intro { padding: clamp(24px, 4vw, 54px); }
.vci-composition-intro h1 { color: inherit; line-height: 1.02; }
.vci-composition-intro > p { margin: 12px 0 0; max-width: 40ch; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.4; color: #f4e6e6; }
.vci-composition-intro .vci-composition-delivery { font-size: 14px; margin-top: 18px; }
.vci-composition-delivery strong { color: #fff; }
.vci-composition-hero.is-text-only { grid-template-columns: 1fr; }
.vci-composition-feature { display: block; position: relative; align-self: stretch; color: inherit; min-width: 0; }
.vci-composition-feature:hover { color: #fff; }
.vci-composition-feature > span {
    display: block; position: absolute; bottom: 12px; right: 18px; left: 18px;
    text-align: center; font-size: 14px; font-weight: 650; line-height: 1.4; color: #fff8ee;
}
.vci-bouquet-chevron { display: inline-block; vertical-align: .18em; width: .5em; height: .5em; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin-left: 5px; }
.vci-composition-shop .vci-regali-guide a { color: var(--vino); text-decoration: underline; text-underline-offset: .17em; }
.vci-composition-shop .vci-regali-card { border-radius: 10px; }
.vci-composition-shop .vci-regali-card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(23px, 2vw, 29px); }
.vci-composition-shop .vci-regali-form button { padding-inline: 14px; border-radius: 6px; }

.vci-bouquet-scene {
    position: relative; isolation: isolate; container-type: inline-size; overflow: hidden;
    display: grid; place-items: end center; height: clamp(220px, 21vw, 290px);
    background: radial-gradient(ellipse at 54% 23%, #fffcf5 9%, transparent 72%),
                linear-gradient(152deg, #ece0d8, #f3e8de 57%, #e5d5cd);
}
.vci-bouquet-scene[data-bottles="3"] { background: radial-gradient(ellipse at 48% 22%, #fffaf6, transparent 72%), linear-gradient(145deg, #efe1dc, #ead5d1); }
.vci-bouquet-scene[data-bottles="4"] { background: radial-gradient(ellipse at 48% 22%, #fffcf3, transparent 72%), linear-gradient(145deg, #ede7d9, #e0d5bb); }
.vci-bouquet-scene[data-bottles="6"] { background: radial-gradient(ellipse at 48% 22%, #fffaf6, transparent 72%), linear-gradient(145deg, #e7dfe2, #e2ced0); }
.vci-bouquet-arrangement { position: relative; width: min(100%, 430px); height: 100%; max-height: 80cqw; }
.vci-bouquet-arrangement::before {
    content: ""; position: absolute; z-index: 0; left: 21%; width: 58%; bottom: 4%; height: 9%; pointer-events: none;
    background: radial-gradient(ellipse, rgb(66 32 39 / .26), rgb(66 32 39 / .09) 45%, transparent 70%);
}
.vci-bouquet-bottle {
    position: absolute; display: block; width: auto; max-width: 28%; max-height: none; object-fit: contain; object-position: center bottom;
    left: var(--x, 50%); bottom: var(--base, 8%); height: var(--height, 82%); z-index: var(--layer, 1);
    transform-origin: center 93%; transform: translateX(-50%) rotate(var(--angle, 0deg));
    filter: drop-shadow(2px 3px 2px rgb(49 25 22 / .16));
}
[data-bottles="2"] .vci-bouquet-bottle:nth-child(1) { --x: 46%; --angle: -12deg; --height: 82%; --base: 11%; }
[data-bottles="2"] .vci-bouquet-bottle:nth-child(2) { --x: 55%; --angle: 10deg; --height: 79%; --layer: 2; }

[data-bottles="3"] .vci-bouquet-bottle:nth-child(1) { --x: 38%; --angle: -15deg; --height: 75%; --base: 12%; }
[data-bottles="3"] .vci-bouquet-bottle:nth-child(2) { --x: 50%; --height: 85%; --layer: 3; }
[data-bottles="3"] .vci-bouquet-bottle:nth-child(3) { --x: 62%; --angle: 14deg; --height: 76%; --base: 11%; }

[data-bottles="4"] .vci-bouquet-bottle:nth-child(1) { --x: 32%; --angle: -16deg; --height: 74%; --base: 12%; }
[data-bottles="4"] .vci-bouquet-bottle:nth-child(2) { --x: 44%; --angle: -5deg; --height: 85%; --layer: 3; }
[data-bottles="4"] .vci-bouquet-bottle:nth-child(3) { --x: 56%; --angle: 5deg; --height: 81%; --layer: 2; --base: 9%; }
[data-bottles="4"] .vci-bouquet-bottle:nth-child(4) { --x: 68%; --angle: 16deg; --height: 74%; --base: 12%; }

[data-bottles="6"] .vci-bouquet-bottle:nth-child(1) { --x: 22%; --angle: -16deg; --height: 68%; --base: 13%; }
[data-bottles="6"] .vci-bouquet-bottle:nth-child(2) { --x: 33%; --angle: -10deg; --height: 76%; --base: 11%; --layer: 2; }
[data-bottles="6"] .vci-bouquet-bottle:nth-child(3) { --x: 44%; --angle: -3deg; --height: 84%; --layer: 3; }
[data-bottles="6"] .vci-bouquet-bottle:nth-child(4) { --x: 56%; --angle: 3deg; --height: 81%; --layer: 3; }
[data-bottles="6"] .vci-bouquet-bottle:nth-child(5) { --x: 67%; --angle: 10deg; --height: 75%; --base: 11%; --layer: 2; }
[data-bottles="6"] .vci-bouquet-bottle:nth-child(6) { --x: 78%; --angle: 16deg; --height: 68%; --base: 13%; }

.vci-composition-feature .vci-bouquet-scene {
    height: 100%; min-height: 250px; padding-bottom: 30px;
    background: radial-gradient(ellipse at 50% 70%, rgb(255 223 180 / .23), transparent 63%);
}
.vci-composition-feature .vci-bouquet-arrangement { max-height: min(76cqw, 280px); }
.vci-composition-feature .vci-bouquet-arrangement::before { background: radial-gradient(ellipse, rgb(36 5 15 / .5), transparent 68%); }
.vci-composition-feature:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }

/* A changed catalogue photo keeps its native background and full aspect ratio. */
.vci-bouquet-scene.is-catalog-photo { background: #fff; }
.is-catalog-photo .vci-bouquet-arrangement { display: flex; align-items: end; justify-content: center; padding: 6% 3%; max-height: none; }
.is-catalog-photo .vci-bouquet-arrangement::before { content: none; }
.is-catalog-photo .vci-bouquet-bottle { position: static; flex: 0 1 auto; width: 0; max-width: none; flex-grow: 1; min-width: 0; height: 100%; transform: none; filter: none; }

@media (max-width: 640px) {
    .vci-composition-hero { grid-template-columns: 1fr; }
    .vci-composition-intro { padding: 19px 18px 0; }
    .vci-composition-intro h1 { font-size: clamp(32px, 9vw, 44px); }
    .vci-composition-intro > p { margin-top: 7px; font-size: 15px; }
    .vci-composition-intro .vci-composition-delivery { margin-top: 7px; font-size: 13px; }
    .vci-composition-hero.is-text-only .vci-composition-intro { padding-bottom: 19px; }
    .vci-composition-feature .vci-bouquet-scene { min-height: 0; height: clamp(165px, 48vw, 218px); padding-bottom: 21px; }
    .vci-composition-feature .vci-bouquet-arrangement { width: min(82%, 344px); }
    .vci-composition-feature > span { bottom: 7px; font-size: 12px; }
    .vci-bouquet-scene { height: clamp(202px, 60vw, 265px); }
    .vci-composition-shop .vci-regali-catalog { padding-top: 22px; }
    .vci-composition-shop .vci-regali-filters { flex-wrap: wrap; overflow-x: visible; }
}
@media (max-width: 420px) {
    .vci-composition-shop .vci-regali-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; }
    .vci-composition-shop .vci-regali-filters a { flex-direction: column; gap: 0; min-width: 0; white-space: normal; text-align: center; padding: 5px 2px; font-size: 12px; line-height: 1.2; }
    .vci-composition-shop .vci-regali-filters a span { font-size: 11px; margin-top: 2px; }
}
