/* Isolated photographic subjects share an eight-second assembly cycle. */
.food-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  perspective: 700px;
  transform-style: preserve-3d;
}
.scene-orbit {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: food-orbit 8s cubic-bezier(.45,0,.25,1) infinite;
}
.food-piece {
  display: block;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  filter: drop-shadow(0 18px 12px #0007);
}
.food-piece img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}
.scene-shadow {
  position: absolute;
  width: 64%;
  height: 15%;
  left: 18%;
  bottom: 2%;
  border-radius: 50%;
  background: #0007;
  filter: blur(14px);
  animation: shadow-breathe 8s ease-in-out infinite;
}
.category-card.hero .food-scene {
  left: 43%;
  right: -8%;
  top: 0;
  bottom: 5%;
}
.hero .scene-orbit { transform-origin: 50% 65%; }
.hero .card-copy { text-shadow: 0 2px 14px #101416; }
.category-card.tall .food-scene { top: 3%; bottom: 20%; left: 10%; right: 0; }
.scene-shrimp .scene-orbit { animation-name: shrimp-orbit; }
.scene-shrimp .food-piece { inset: 1% 12% 7%; }
.scene-shrimp::before {
  content: '';
  position: absolute;
  left: 7%;
  right: 4%;
  bottom: 0;
  height: 27%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #11191a 40%, #2e3738 66%, #080e10 70%, #697272 73%, #0b1113 77%);
  box-shadow: 0 10px 18px #0006;
  transform: rotate(-12deg);
  animation: plate-breathe 8s ease-in-out infinite;
}
.category-card .scene-pasta { left: 26%; right: -8%; top: -5%; bottom: 22%; }
.scene-pasta .scene-orbit { animation: none; }
.scene-pasta .food-piece { width: 65%; height: 65%; inset: auto; }
.scene-pasta .piece-0 { left: 0; top: 5%; animation: ravioli-one 8s ease-in-out infinite; }
.scene-pasta .piece-1 { left: 40%; top: 4%; animation: ravioli-two 8s ease-in-out infinite; }
.scene-pasta .piece-2 { left: 22%; top: 37%; animation: ravioli-three 8s ease-in-out infinite; }
.category-card[data-category="3"] .scene-pasta { transform: rotate(-12deg); }
.category-card .scene-brulee { left: 17%; right: -9%; top: -13%; bottom: 21%; }
.scene-brulee .scene-orbit { animation-name: dessert-orbit; }
.scene-brulee .food-piece { inset: 10% 4%; }
.category-card .scene-water { left: 30%; right: -7%; top: -12%; bottom: -1%; }
.scene-water .food-piece img { object-fit: cover; mask-image: radial-gradient(ellipse 75% 80% at 50% 45%,#000 30%,transparent 85%); }
.scene-water .scene-orbit { animation-name: water-orbit; }
.category-head .food-scene { top: 0; left: 55%; right: -3%; bottom: auto; height: 210px; }
.category-head .scene-pasta { top: 0; left: 60%; right: -3%; height: 170px; }
.category-head .scene-shrimp .food-piece { inset: 0 20%; }
.category-head .scene-brulee { top: -20px; }
.category-head .scene-water { top: -60px; }
.category-head .food-scene ~ h1,
.category-head .food-scene ~ p { position: relative; z-index: 1; text-shadow: 0 2px 12px #101416; }
.food-steam { position: absolute; top: 10%; left: 15%; width: 70%; height: 60%; opacity: .7; }
.food-steam i {
  position: absolute;
  left: 30%;
  bottom: 0;
  width: 33%;
  height: 45%;
  border-radius: 60% 20% 50% 40%;
  background: radial-gradient(ellipse at 70% 75%, #eaf6f534, transparent 65%);
  filter: blur(6px);
  opacity: 0;
  animation: steam-rise 4s ease-out infinite;
}
.food-steam i:nth-child(2) { left: 55%; animation-delay: -1.3s; }
.food-steam i:nth-child(3) { left: 18%; animation-delay: -2.6s; }
.water-drops { position: absolute; inset: 0; }
.water-drops i {
  position: absolute;
  width: 4px;
  height: 8px;
  background: linear-gradient(120deg,#fff9,#d3e9ec19);
  border-radius: 50%;
  top: 23%;
  left: 36%;
  opacity: 0;
  animation: drop-fall 2.4s ease-in infinite;
}
.water-drops i:nth-child(2) { left: 44%; animation-delay: -.8s; }
.water-drops i:nth-child(3) { left: 39%; animation-delay: -1.6s; }
.promotion-banner {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: 174px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #ffffff20;
  border-radius: 23px;
  text-align: left;
  background: radial-gradient(ellipse at 87% 20%,#7b5c4557,transparent 75%),linear-gradient(120deg,#161b1e,#242426);
}
.cash-animation {
  position: absolute;
  height: 220px;
  width: 150px;
  right: 3%;
  bottom: -22px;
  object-fit: contain;
  z-index: -1;
}
.promo-badge {
  position: absolute;
  right: 14px;
  top: 13px;
  color: #eef5f3;
  background: #080d10ae;
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 12px;
}
.promotion-copy { position: absolute; left: 20px; bottom: 23px; max-width: 65%; }
.promotion-copy strong { display: block; font: 21px Coco,sans-serif; font-weight: 400; }
.promotion-copy small { display: block; color: #c0c5c4; font-size: 13px; line-height: 1.5; margin-top: 8px; }
.promotion-detail { margin-top: 18px; padding: 23px 20px; border: 1px solid var(--line); border-radius: 24px; background: #202429; }
.promotion-detail h1 { font: 36px Arial,sans-serif; margin: 12px 0; }
.promotion-detail h2 { font-size: 16px; font-weight: 500; }
.promotion-detail > p:last-child { color: var(--muted); font-size: 15px; }
.featured-image { object-position: center; }
.product-visual > img { animation: detail-turn 8s ease-in-out infinite; }
@keyframes food-orbit {
  0%,100% { transform: translate3d(0,8px,0) rotateX(8deg) rotateY(-20deg) rotateZ(-9deg); }
  24% { transform: translate3d(-7px,-12px,28px) rotateX(-4deg) rotateY(14deg) rotateZ(3deg); }
  52% { transform: translate3d(3px,-25px,35px) rotateX(12deg) rotateY(25deg) rotateZ(8deg); }
  76% { transform: translate3d(5px,-4px,10px) rotateX(5deg) rotateY(-6deg) rotateZ(0); }
}
@keyframes shrimp-orbit {
  0%,100% { transform: translateY(18px) rotateX(12deg) rotateY(-12deg) rotateZ(-12deg) scale(.9); }
  30% { transform: translateY(-15px) rotateX(-6deg) rotateY(18deg) rotateZ(3deg) scale(1); }
  55% { transform: translateY(-25px) rotateX(4deg) rotateY(-18deg) rotateZ(10deg) scale(1.05); }
  78% { transform: translateY(-8px) rotateX(10deg) rotateY(8deg) rotateZ(-3deg) scale(.98); }
}
@keyframes ravioli-one {
  0%,100% { transform: translate3d(16px,27px,0) rotate(-20deg) rotateY(-15deg); }
  38% { transform: translate3d(-14px,-12px,25px) rotate(15deg) rotateY(25deg); }
  65% { transform: translate3d(-8px,-5px,40px) rotate(-8deg) rotateX(15deg); }
}
@keyframes ravioli-two {
  0%,100% { transform: translate3d(-8px,35px,0) rotate(40deg) rotateY(20deg); }
  38% { transform: translate3d(4px,-18px,45px) rotate(75deg) rotateY(-25deg); }
  65% { transform: translate3d(15px,-8px,15px) rotate(30deg) rotateX(-10deg); }
}
@keyframes ravioli-three {
  0%,100% { transform: translate3d(0,10px,0) rotate(-10deg) rotateX(15deg); }
  38% { transform: translate3d(-8px,0,55px) rotate(-45deg) rotateY(15deg); }
  65% { transform: translate3d(9px,12px,35px) rotate(-20deg) rotateY(-20deg); }
}
@keyframes dessert-orbit {
  0%,100% { transform: translateY(8px) rotateX(15deg) rotateY(-20deg) rotateZ(-10deg); }
  45% { transform: translateY(-12px) rotateX(-5deg) rotateY(22deg) rotateZ(8deg); }
  70% { transform: translateY(-4px) rotateX(6deg) rotateY(5deg) rotateZ(0); }
}
@keyframes water-orbit {
  0%,100% { transform: translateY(4px) rotateY(-15deg) rotateZ(-3deg); }
  45% { transform: translateY(-12px) rotateY(18deg) rotateZ(4deg); }
}
@keyframes shadow-breathe { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(.72); opacity: .4; } }
@keyframes plate-breathe { 0%,100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(3deg) scale(.95); } }
@keyframes steam-rise { 0% { transform: translateY(15px) scale(.5); opacity: 0; } 25% { opacity: .6; } 100% { transform: translate(-18px,-80px) scale(1.9) rotate(25deg); opacity: 0; } }
@keyframes drop-fall { 0% { transform: translateY(-10px); opacity: 0; } 20% { opacity: .7; } 100% { transform: translateY(95px); opacity: 0; } }
@keyframes detail-turn { 0%,100% { transform: perspective(900px) rotateY(-4deg) scale(1.03); } 50% { transform: perspective(900px) rotateY(4deg) scale(1.08) translateY(-5px); } }
@media(max-width:400px) {
  .category-card.hero .food-scene { left: 48%; right: -9%; top: 3%; bottom: 8%; }
  .category-card.tall .food-scene { left: 4%; right: -5%; }
  .promotion-copy strong { font-size: 18px; }
  .promotion-copy { left: 15px; }
  .cash-animation { width: 135px; right: -3%; }
  .category-head .food-scene { left: 62%; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; }
  .food-steam,.water-drops { display: none; }
}

/* Reference layout: full-width promotion, followed by horizontal favorites. */
.promotion-banner { height:174px; border-radius:22px; border-color:#9bbec466; background:radial-gradient(110% 80% at 60% 30%,#75aab51c,transparent 65%),#8aadb421; backdrop-filter:blur(10px) saturate(1.25); box-shadow:inset 0 1px #ffffff14; }
.promotion-banner::after { content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,#080e1299 0%,#080e124d 34%,transparent 58%);pointer-events:none; }
.cash-animation { inset:0;width:100%;height:100%;object-fit:contain;object-position:88% 60%;transform:scale(1.3);transform-origin:88% 60%; }
.promo-badge { left:16px;right:auto;top:16px;padding:0;border-radius:0;background:none;color:#afcfd5;font:400 30px/1 Arial,sans-serif;letter-spacing:.04em; }
.promotion-copy { left:14px;right:14px;bottom:14px;max-width:none; }
.promotion-copy strong { font:400 16px/1.2 Coco,sans-serif;letter-spacing:.06em; }
.promotion-copy small { font:400 12px/1.35 Arial,sans-serif;color:#e4edefb3;margin-top:6px;max-width:100%; }
.promotion-hero { height:170px;margin-top:0;border-color:var(--line); }
.promotion-hero .promo-badge { display:none; }
.promotion-hero .promotion-copy { left:20px;bottom:20px; }
.promotion-hero .promotion-copy strong { font-size:25px; }
.promotion-detail { margin-top:12px;padding:20px;border-radius:22px;background:#89a7ae21; }
.promotion-hero + .promotion-detail { margin-top:18px; }
.promotion-detail .eyebrow { margin:0 0 12px; }
.promotion-detail h1 { font:400 32px/1.1 Arial,sans-serif;letter-spacing:.04em;margin:0 0 10px; }
.promotion-detail h2 { font-size:14px;letter-spacing:.04em;margin:0 0 12px; }
.promotion-detail > p:last-child { font-size:14px;line-height:1.5;margin:0; }
.promotion-highlight { border-color:#9bbec466;background:radial-gradient(ellipse at top right,#75aab51c,transparent),#89a7ae21; }
.promotion-terms { color:var(--muted);font-size:13px;line-height:1.5;margin:16px 4px; }
.favorites-section { margin-top:24px; }
.favorites-section .section-title { font-size:12px;letter-spacing:.18em;line-height:1.4;margin:0 0 12px; }
.featured-grid { display:flex;gap:10px;overflow-x:auto;margin:0 -16px;padding:0 16px 4px;scrollbar-width:none;scroll-snap-type:x proximity; }
.featured-grid::-webkit-scrollbar { display:none; }
.featured { flex:0 0 164px;min-height:258px;scroll-snap-align:start;background:#8aadb42b;box-shadow:inset 0 1px #ffffff14;backdrop-filter:blur(10px) saturate(1.25);padding-bottom:66px; }
.featured-image { display:block;height:120px;mask-image:none;object-fit:cover; }
.featured-text { padding:16px 14px 0;min-height:0; }
.featured-text small { font-size:10px;line-height:1.25;letter-spacing:.14em;margin-bottom:6px;color:#d9e8eb8c; }
.featured-text h3 { font:600 14.5px/1.3 Arial,sans-serif;padding:0; }
.featured .add-circle { right:14px;bottom:14px;background:#f0f4f3;color:#0a1418;border:0; }
@media(max-width:400px){.featured-grid{margin-inline:-12px;padding-inline:12px}.promotion-hero .promotion-copy strong{font-size:23px}}

.featured-grid { scroll-padding-inline:16px; }
.favorite-stage { height:120px;overflow:hidden;position:relative;background:radial-gradient(ellipse at center,#59727a33,transparent 65%),#080e12; }
.has-cutout .featured-image { object-fit:contain;padding:8px;filter:drop-shadow(0 8px 8px #0009);animation:favorite-float 8s ease-in-out infinite; }
.featured:nth-child(2n) .has-cutout .featured-image { animation-delay:-3s; }
@keyframes favorite-float { 0%,100%{transform:translateY(5px) rotate(-7deg)} 50%{transform:translateY(-5px) rotate(7deg)} }
@media(max-width:400px){.featured-grid{scroll-padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.has-cutout .featured-image{animation:none}}

/* Welcome: original vector branding over an animated real coastal photograph. */
.welcome { max-width:none;min-height:100svh;padding:clamp(32px,7svh,72px) 24px 24px;justify-content:center;gap:clamp(22px,5svh,48px);background:#0c1c26; }
.welcome-sea { inset:-8%;z-index:-3;background:linear-gradient(180deg,#09223255 0%,#0a1c2855 38%,#07141ddd 100%),url('assets/chimi-nachos.webp') center 62%/cover;animation:welcome-coast 18s ease-in-out infinite alternate;will-change:transform; }
.welcome::before { content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 50% 24%,transparent 10%,#05101866 85%),linear-gradient(90deg,#06141b55,transparent 30%,transparent 70%,#06141b55); }
.welcome::after { width:85vw;height:70vh;left:-30%;bottom:-30%;background:radial-gradient(ellipse,#74c8d538,transparent 65%);animation:welcome-glow 12s ease-in-out infinite alternate; }
.welcome-brand { width:100%;position:relative;flex:none; }
.welcome-brand img { width:clamp(220px,58vw,280px);height:auto;aspect-ratio:125/85;margin:0 auto;filter:brightness(0) invert(1) drop-shadow(0 3px 12px #071b2b80); }
.welcome-controls { margin-top:0;position:relative; }
.welcome .greeting { text-shadow:0 2px 18px #0008; }
.welcome .choose-label { color:#e6eff1; }
.welcome .language-list { background:linear-gradient(130deg,#17313e9e,#0b202bd1);border-color:#d0f3ff38;backdrop-filter:blur(20px);box-shadow:0 16px 50px #0003,inset 0 1px #fff2; }
.welcome .language { padding-block:15px; }
.welcome .language small { color:#bacdd4; }
.welcome #enter { background:#f1f6f5;box-shadow:0 8px 30px #02111855; }
.welcome .welcome-footer { color:#d4e5e8;letter-spacing:.24em; }
.welcome-light { position:absolute;inset:-40%;z-index:-2;pointer-events:none;background:linear-gradient(115deg,transparent 35%,#e7f7ff22 45%,transparent 53%);animation:welcome-light 13s ease-in-out infinite alternate; }
.welcome-ripples { position:absolute;left:-20%;right:-20%;top:39%;height:25%;z-index:-2;pointer-events:none;opacity:.35;filter:blur(5px); }
.welcome-ripples i { position:absolute;left:0;width:100%;height:55%;border-top:2px solid #daf7ff66;border-radius:50%;transform:rotate(-6deg);animation:welcome-ripple 9s ease-in-out infinite; }
.welcome-ripples i:nth-child(2) { top:15%;animation-delay:-3s; }
.welcome-ripples i:nth-child(3) { top:30%;animation-delay:-6s; }
@keyframes welcome-coast { from{transform:scale(1.02) translate(-1.5%,-1%)} to{transform:scale(1.13) translate(2%,1.5%)} }
@keyframes welcome-light { from{transform:translateX(-12%) rotate(-8deg);opacity:.3} to{transform:translateX(18%) rotate(8deg);opacity:.9} }
@keyframes welcome-ripple { 0%,100%{transform:translate(-2%,0) rotate(-6deg) scaleX(.94);opacity:.25} 50%{transform:translate(2%,20px) rotate(-3deg) scaleX(1.06);opacity:.65} }
@keyframes welcome-glow { from{transform:translate(0,0);opacity:.4} to{transform:translate(40%, -20%);opacity:1} }
@media(min-width:700px){.welcome-sea{background-position:center 60%}.welcome::before{background:linear-gradient(90deg,#06141b99,transparent 45%,transparent 55%,#06141b99)}}
@media(max-height:730px){.welcome{gap:18px;padding-top:24px}.welcome-brand img{width:190px}.welcome .language{padding-block:11px}.welcome .greeting{font-size:28px;height:34px}}
@media(prefers-reduced-motion:reduce){.welcome-sea,.welcome-light,.welcome-ripples i,.welcome::after{animation:none;will-change:auto}}

/* Served pasta: one photographic plate, gently turning as a single object. */
.category-card .scene-pasta { left:14%;right:-5%;top:-7%;bottom:30%; }
.category-card[data-category="3"] .scene-pasta { transform:none; }
.scene-pasta .scene-orbit { animation:served-plate 10s ease-in-out infinite;transform-origin:center; }
.scene-pasta .food-piece,.scene-pasta .piece-0 { inset:0;width:100%;height:100%;animation:none; }
.scene-pasta .food-piece img { object-fit:contain;clip-path:ellipse(52% 43% at 50% 50%); }
.scene-pasta .scene-shadow { bottom:1%; }
.category-head .scene-pasta { left:53%;right:0;top:-12px;height:190px; }
.favorite-stage:has(img[src$="pasta-plato.webp"]) .featured-image { padding:0;object-fit:contain;clip-path:ellipse(52% 43% at 50% 50%);animation:served-plate 10s ease-in-out infinite; }
@keyframes served-plate { 0%,100%{transform:rotate(-5deg) rotateY(-7deg) scale(.96)} 50%{transform:rotate(5deg) rotateY(7deg) scale(1.02)} }
@media(prefers-reduced-motion:reduce){.scene-pasta .scene-orbit,.favorite-stage:has(img[src$="pasta-plato.webp"]) .featured-image{animation:none}}
.scene-pasta .food-piece img { width:auto;height:100%;max-width:none;margin:auto;clip-path:ellipse(50% 43% at 50% 50%); }
.category-card .scene-pasta { top:-17%;bottom:21%;left:17%;right:-7%; }
.favorite-stage:has(img[src$="pasta-plato.webp"]) .featured-image { width:auto;height:120px;margin:auto;clip-path:ellipse(50% 43% at 50% 50%); }
