/* First screen for visitors from the ads and social posts (gift-start.js): the name on the real bottle, then the studio.
   On a phone the name and «Continua» come first, high in the screen, the bottle right below; the products scroll sideways. */
.gift-start{margin:10px 0 20px;padding:16px 16px 18px;border:1px solid #e3d3bd;border-radius:20px;background:#fffaf3}
.gift-start h2{margin:0 0 10px;font-size:clamp(1.3rem,5.4vw,2rem);line-height:1.15}
/* 8 November: the lowest price, free shipping, payment on delivery and the Christmas deadline right under the title. */
.gift-offer{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0;list-style:none}
.gift-offer li{padding:4px 10px;border:1px solid #e3d3bd;border-radius:999px;background:#fff;font-size:.82rem;line-height:1.3;color:#3b3a36}
.gift-offer li:first-child{border-color:#0b3fb5;color:#0b3fb5;font-weight:700}
/* On this page the offer is already in the first screen: the seasonal ribbon (the same message) and the line for
   companies («also private label») give way, so the name field comes higher on a phone. */
body:has(.gift-start) .season-ribbon{display:none}
body:has(.gift-start) .brand-division small{display:none}
/* Afternoon: a valid discount code kept in the tab (a creator's link) is said under the header of every page. */
.code-strip{margin:8px 0 0;padding:9px 14px;border:1px solid #b9d3c2;border-radius:12px;background:#eef8f1;color:#1d5a35;font-size:.9rem;font-weight:600;line-height:1.35;text-align:center}
.gift-product small s,.code-price s{color:#8a8f99;font-weight:400}
.code-price{display:block;margin-top:2px;color:#1d5a35}
.gift-start form{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "preview" "products" "lead";gap:12px}
.gift-name{grid-area:name;min-width:0}
.gift-preview{grid-area:preview}
.gift-start .gift-products{grid-area:products}
.gift-start .gift-lead{grid-area:lead}
.gift-preview{margin:0;display:grid;gap:4px}
.gift-stage{position:relative;height:200px;border-radius:14px;overflow:hidden;background:radial-gradient(circle at 50% 42%,#fff 0,#f4ede2 75%)}
.gift-canvas{display:block;width:100%;height:100%;cursor:grab}
.gift-preview figcaption{font-size:.78rem;line-height:1.3;color:#6b6257;text-align:center}
.gift-preview[data-state=loading] .gift-stage::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%);animation:gift-shine 1.2s linear infinite}
@keyframes gift-shine{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.gift-preview[data-state=loading] .gift-stage::after{animation:none}}
.gift-preview[data-state=off]{display:none}
.gift-label{display:block;margin:0 0 4px;font-weight:600}
.gift-row{display:flex;gap:8px;align-items:stretch}
.gift-row .input{flex:1 1 auto;min-width:0;font-size:1.1rem}
.gift-row .btn{flex:0 0 auto;white-space:nowrap}
.gift-products{display:flex;gap:8px;margin:0;padding:0 0 4px;border:0;min-width:0;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.gift-products legend{margin:0 0 6px;padding:0;font-weight:600}
.gift-product{position:relative;flex:0 0 auto;display:flex;flex-direction:column;gap:2px;min-width:132px;padding:9px 12px;border:1px solid #d6c4ad;border-radius:12px;background:#fff;cursor:pointer;scroll-snap-align:start}
.gift-product input{position:absolute;opacity:0;pointer-events:none}
.gift-product small{color:#5b6475;white-space:nowrap}
.gift-product:has(input:checked){border-color:#0b3fb5;box-shadow:inset 0 0 0 2px #0b3fb5}
.gift-product:has(input:focus-visible){outline:2px solid #0b3fb5;outline-offset:2px}
.gift-start .gift-lead{margin:0;font-size:.95rem}
.gift-start .gift-note{margin:12px 0 4px}
.gift-start .gift-more{display:inline-block;margin-top:6px}
.gift-start .gift-skin{display:inline-block;margin-top:8px}
@media (min-width:720px){
 .gift-start form{grid-template-columns:minmax(240px,340px) minmax(0,1fr);grid-template-areas:"preview name" "preview products" "preview lead";grid-template-rows:auto auto 1fr;column-gap:24px;align-items:start}
 .gift-stage{height:320px}
 .gift-products{flex-wrap:wrap;overflow:visible}
}
/* 9 November 2026: a photo or a drawing with the AI, straight from the first screen (two buttons under the name). */
.gift-alt{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 6px}
.gift-alt p{grid-column:1/-1;margin:0;font-size:14px;line-height:1.4;color:#4e5c72}
.gift-alt .btn{margin:0;min-height:46px;padding:8px 10px;font-size:15px;line-height:1.2}
/* 13 November: names to tap right under the field (gift-start.js quickNames): one touch opens the studio with the name. */
.gift-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.gift-chip{padding:6px 12px;border:1px solid #e3d3bd;border-radius:999px;background:#fff;font:inherit;font-size:.86rem;line-height:1.2;color:#3b3a36;cursor:pointer}
.gift-chip:hover,.gift-chip:focus-visible{border-color:#0b3fb5;color:#0b3fb5}
