.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 0;
  gap: 16px;
  padding: 20px 16px 36px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--cream);
  background-image: linear-gradient(180deg, #fffaf6a8, #fffaf6c4), url('assets/fundo-doces.jpg');
  background-position: center, center top;
  background-size: 100% 100%, clamp(340px, 45vw, 540px) auto;
  background-repeat: no-repeat, repeat;
}
.hero .food-label { max-width: min(330px, calc(100% - 36px)); }
.hero .food-label b { font-size: 20px; }
.hero .food-label small { display: block; line-height: 1.4; }
.hero-pause { background: #fffaf6ed; border: 1px solid #e9b3c8; color: var(--dark); border-radius: 24px; padding: 6px 14px; font-size: 11px; }
.hero-meta { background: #fffaf6ed; border-radius: 25px; padding: 8px 16px; }
.hero-art { width: 100%; max-width: 520px; }
.hero-meta { justify-content: center; flex-wrap: wrap; margin-top: 0; }
.ribbon { padding: 19px 0; text-align: left; }
.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon-scroll 28s linear infinite;
}
.ribbon-group { flex: 0 0 auto; min-width: 100vw; }
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }
.order-photos.order-slideshow { display: block; padding: 28px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.order-photos.order-slideshow::-webkit-scrollbar { display: none; }
.order-photo-track { display: flex; width: max-content; }
.order-photo-group { display: flex; flex: none; gap: 24px; padding: 0 12px; }
.order-photo-group .card-tape { width: 240px; flex: 0 0 240px; }
.order-banner .order-photos.order-slideshow img { grid-column: 1; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; background: #fffaf680; }
.card-tape { width: min(240px, 100%); height: 310px; border-radius: 4px; position: relative; overflow: hidden; cursor: pointer; border: 3px solid #fff; transform: rotate(-3deg); transition: transform .3s ease; box-shadow: 0 12px 28px #48243620; }
.card-tape[hidden] { display: none; }
.card-tape:focus-visible { transform: rotate(0deg) scale(1.08); outline: 2px solid var(--pink); outline-offset: 4px; z-index: 10; }
@media (hover: hover) { .card-tape:hover { transform: rotate(0deg) scale(1.08); z-index: 10; } }
@media (hover: none) { .card-tape:active { transform: rotate(0deg) scale(1.04); } }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,8,15,.95) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; pointer-events: none; }
.card-name { font-size: .95rem; line-height: 1.35; font-weight: 700; color: #fff; }
@media (prefers-reduced-motion: reduce) { .card-tape, .card-tape:hover, .card-tape:focus-visible, .card-tape:active { transform: none; transition: none; } }
.order-photos.order-slideshow img[hidden] { display: none; }
.order-slide-controls { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 16px; }
.order-slide-controls button { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); color: var(--pink); border: 1px solid #e9b3c8; }
.order-slide-count { font-size: 12px; min-width: 40px; text-align: center; color: var(--dark); }
.order-banner { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #f9dfeb; margin-bottom: 24px; }
.savory-banner { background: #f7eade; }
.order-copy { padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.order-copy h3 { font: normal 32px/1.15 Georgia, serif; margin: 8px 0; }
.order-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.order-copy .primary { flex-shrink: 0; }
.order-photos { display: grid; gap: 6px; padding: 0 12px 12px; }
.cake-photos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.savory-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.order-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 12px; background: #fffaf6; }
.order-note { text-align: center; color: var(--muted); font-size: 12px; }
@media (max-width: 800px) {
  .order-copy { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .order-copy h3 { font-size: 28px; }
  .cake-photos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cake-photos img { grid-column: span 2; }
  .cake-photos img:nth-child(-n+2) { grid-column: span 3; }
  .savory-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .hero { padding: 8px 16px 28px; gap: 16px; }
  .hero-art { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
}
