.hiw-visual {
min-height: 450px;
height: 450px;
} @media (max-width: 640px) {
.hiw-visual {
min-height: 400px;
height: 400px;
padding: 1rem;
}
} .carousel-slide {
opacity: 0;
visibility: hidden;
transition: opacity .8s cubic-bezier(0.25,1,0.5,1);
position: absolute;
inset: 0;
padding: 1rem;
}
.carousel-slide.active {
opacity: 1;
visibility: visible;
position: relative;
z-index: 1;
}
.carousel-slide.is-hidden { display: none; } .fade-in-up {
opacity: 0;
transform: translateY(6px);
transition: opacity .8s cubic-bezier(0.25,1,0.5,1),
transform .8s cubic-bezier(0.25,1,0.5,1);
}
.fade-in-up.visible {
opacity: 1;
transform: translateY(0);
} .chip {
opacity: 0;
transform: translateY(6px);
transition: opacity .6s cubic-bezier(0.25,1,0.5,1),
transform .6s cubic-bezier(0.25,1,0.5,1);
padding: 0.5rem 1rem;
border-radius: 9999px;
font-size: 0.9rem;
border: 1px solid #d1d5db;
background: #f9fafb;
color: #4b5563;
font-weight: 500;
white-space: nowrap;
flex-shrink: 0;
}
.chip.visible { opacity: 1; transform: translateY(0); } .chip.mint {
border-color: var(--brand-mint);
background: var(--brand-mint-soft);
font-weight: 600;
color: #000;
}
.chip.excluded {
border-color: #f87171;
color: #b91c1c;
background: #fee2e2;
font-weight: 600;
}
.chip.round {
padding: 0.35rem 0.7rem;
font-size: 0.8rem;
font-weight: 600;
} .chip-grid {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
}
@media (max-width:640px) {
.chip-grid {
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.chip-grid::-webkit-scrollbar { display: none; }
} .chip-grid.meal-count {
justify-content: space-between;
}
.chip-grid.meal-count .chip.round {
flex: 1;
text-align: center;
} .macro-card {
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 0.75rem;
padding: 1rem;
width: 100%;
max-width: 340px;
margin: 0 auto;
}
.progress-bar {
width: 100%;
height: 0.45rem;
border-radius: 9999px;
background: #e5e7eb;
overflow: hidden;
}
.progress-bar::after {
content: "";
display: block;
height: 100%;
width: var(--width,0);
transition: width 1.2s ease;
}
.progress-bar.protein::after {
background: var(--brand-mint);
}
.progress-bar.carbs::after { background: #9ca3af; }
.progress-bar.fat::after { background: #6b7280; }
.macro-pill {
flex: 1;
background: #f3f4f6;
border-radius: 9999px;
display: flex;
flex-direction: column;
align-items: center;
padding: 0.35rem;
font-size: 0.8rem;
}
.macro-pill span:first-child {
font-weight: 600;
font-size: 0.9rem;
color: #000;
}
.macro-pill span:last-child {
color: #6b7280;
font-size: 0.7rem;
} .carousel-dots .dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: #d1d5db;
transition: background .3s ease, transform .3s ease;
}
.carousel-dots .dot.active {
background: var(--brand-mint);
transform: scale(1.2);
} .meal-row { padding: 0.4rem 0.6rem; }
.visual-carousel.step-2 .carousel-slide.active .w-full.space-y-3 {
gap: 0.5rem;
}
.grocery-card { padding: 1rem; }
.order-btn {
opacity: 0;
transform: translateY(6px);
transition: opacity .9s cubic-bezier(0.25,1,0.5,1),
transform .9s cubic-bezier(0.25,1,0.5,1);
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.order-btn.visible { opacity: 1; transform: translateY(0); }
.order-btn.pulse { animation: pulse 1.2s ease forwards; }
@keyframes pulse {
0%{transform:scale(0.95);}
50%{transform:scale(1.05);}
100%{transform:scale(1);}
} .calendar-card,
.progress-card,
.dashboard-card {
padding: 1rem;
}
.progress-fill-1,
.progress-fill-2,
.progress-fill-3 {
transition: width 1.5s cubic-bezier(0.25,1,0.5,1);
}
.progress-fill-1 { background: var(--brand-mint); }
.progress-fill-2 { background: #9ca3af; }
.progress-fill-3 { background: #6b7280; }
.family-area {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.family-area .profile {
opacity: 0;
transform: scale(.9);
transition: opacity .9s cubic-bezier(0.25,1,0.5,1),
transform .9s cubic-bezier(0.25,1,0.5,1);
}
.family-area .profile.visible {
opacity: 1;
transform: scale(1);
}
.family-area .profile .border {
border-color: var(--brand-mint);
}
.pulse-once {
animation: pulseOnce 1.2s ease forwards;
}
@keyframes pulseOnce {
0%{transform:scale(.9);opacity:.6;}
50%{transform:scale(1.1);opacity:1;}
100%{transform:scale(1);opacity:1;}
} @media (max-width:640px) {
.carousel-slide h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.macro-card { padding: 0.75rem; }
.macro-pill { font-size: 0.75rem; padding: 0.3rem; }
.macro-pill span:first-child { font-size: 0.85rem; }
.meal-row img { width: 40px; height: 40px; }
.meal-row { padding: 0.35rem 0.5rem; }
.grocery-card li { height: 0.5rem; }
.dash-row, .goal-row { padding: 0.35rem 0; }
.calendar-card .day { height: 20px; }
.family-area {
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
justify-content: flex-start;
}
.family-area::-webkit-scrollbar { display: none; }
.family-area .profile { flex: 0 0 auto; }
}