/* =================================================
ATELIER SECTION
================================================= */

.atelier-section {
padding-top: 96px;
padding-bottom: 112px;
}

@media (min-width: 768px) {
.atelier-section {
padding-bottom: 80px;
}
}

.atelier-hero {
max-width: 768px;
margin: 0 auto;
padding: 0 16px;
text-align: center;
}

.atelier-title {
font-size: 36px;
font-family: 'Playfair Display', serif;
color: #1E1E1E;
letter-spacing: 0.04em;
}

@media (min-width: 768px) {
.atelier-title {
font-size: 48px;
}
}

.atelier-subtitle {
margin-top: 24px;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.5em;
color: #888;
}

.atelier-note {
margin-top: 16px;
font-size: 12px;
letter-spacing: 0.4em;
color: #888;
}

/* =================================================
MENU GRID
================================================= */

.menu-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}

@media (min-width: 768px) {
.menu-grid {
grid-template-columns: repeat(3, 1fr);
}
}

/* =================================================
MENU VISIBILITY
================================================= */

.menu-section {
transition: opacity 300ms ease, transform 300ms ease;
}

.menu-section.hidden {
display: none;
}

/* =================================================
MENU CARD
================================================= */

.menu-card {
position: relative;
background: #fff;
border-radius: 16px;
overflow: hidden;

box-shadow: 0 10px 30px rgba(0,0,0,0.05);

transition: all 0.5s cubic-bezier(.16,1,.3,1);
}

.menu-card:hover {
transform: translateY(-6px);
box-shadow: 0 25px 70px rgba(0,0,0,0.08);
}

/* subtle luxury border glow */
.menu-card::before {
content: "";
position: absolute;
inset: 0;
border-radius: 16px;
pointer-events: none;

box-shadow: 0 0 0 rgba(0,0,0,0);
transition: box-shadow 0.5s ease;
}

.menu-card:hover::before {
box-shadow: 0 0 0 1px rgba(191,160,116,0.15);
}

/* IMAGE */

.menu-card__image {
position: relative;
width: 100%;
padding-top: 100%;
overflow: hidden;
}

.menu-card__img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;

transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}

.menu-card:hover .menu-card__img {
transform: scale(1.06);
}

/* CONTENT */

.menu-card__content {
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
}

/* TITLE */

.menu-card__title {
font-family: 'Playfair Display', serif;
font-size: 17px;
line-height: 1.45;
color: #1E1E1E;
letter-spacing: 0.04em;

min-height: 2.8em;
}

/* MILK */

.menu-card__milk {
margin-top: 4px;
}

.menu-card__milk-label {
font-size: 12px;
color: var(--matcha);
margin-bottom: 4px;
}

.menu-card__milk-options {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

/* ACTIONS */

.menu-card__actions {
margin-top: 12px;
display: flex;
justify-content: flex-end;
}

@media (max-width: 640px) {
.menu-card__actions {
justify-content: center;
}
}

/* =================================================
MILK SELECTOR
================================================= */

.milk-option {
border: 1px solid var(--border-soft);
color: var(--matcha);
border-radius: 999px;
padding: 6px 14px;
transition: all 0.25s ease;
}

.milk-option:hover {
border-color: var(--matcha);
transform: translateY(-1px);
}

.milk-option.active {
background: var(--matcha);
color: var(--ivory);
border-color: var(--matcha);
}

/* =================================================
ADD BUTTON (SELECT)
================================================= */

.addMenuItem {
position: relative;
overflow: hidden;

background: #F6D6DB;
color: #1E1E1E;

padding: 10px 22px;
border-radius: 999px;

font-size: 12px;
letter-spacing: 0.08em;
text-transform: uppercase;

border: none;
cursor: pointer;

box-shadow: 0 10px 30px rgba(246,214,219,0.35);

transition: all 0.4s cubic-bezier(.16,1,.3,1);
}

.addMenuItem:hover {
background: #BFA074;
color: #fff;

transform: translateY(-3px);

box-shadow: 0 18px 50px rgba(191,160,116,0.45);
}

/* shine */
.addMenuItem::after {
content: "";
position: absolute;
top: 0;
left: -70%;
width: 50%;
height: 100%;

background: linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.6),
transparent
);

transform: skewX(-20deg);
transition: all 0.8s ease;
}

.addMenuItem:hover::after {
left: 130%;
}

/* =================================================
DELIVERY POPUP
================================================= */

.delivery-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
backdrop-filter: blur(6px);
display: flex;
align-items: center;
justify-content: center;
z-index: 40;
}

.delivery-box {
max-width: 480px;
width: 100%;
padding: 40px;
text-align: center;
}

/* CONTENT */

.popup-inner {
display: flex;
flex-direction: column;
gap: 16px;
}

.popup-text {
font-size: 14px;
color: #555;
line-height: 1.8;
}

.popup-title {
font-size: 18px;
font-weight: 500;
}

/* INPUT */

.popup-input {
width: 100%;
padding: 14px 18px;
border-radius: 999px;
border: 1px solid var(--border-soft);
font-size: 14px;
}

.popup-input:focus {
border-color: var(--matcha);
outline: none;
}

/* BUTTON */

.popup-btn {
position: relative;
overflow: hidden;

width: 100%;
padding: 14px;
border-radius: 999px;
border: none;

background: var(--matcha);
color: #fff;

font-size: 14px;
font-weight: 500;

cursor: pointer;

transition: all 0.3s ease;
}

.popup-btn:hover {
transform: translateY(-2px);
background: #3f634c;
}

/* shine */

.popup-btn::after {
content: "";
position: absolute;
top: 0;
left: -80%;
width: 60%;
height: 100%;

background: linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.6),
transparent
);

transform: skewX(-20deg);
transition: all 0.8s ease;
}

.popup-btn:hover::after {
left: 130%;
}

/* ACTION BUTTONS */

.popup-actions {
display: flex;
gap: 12px;
}

@media (max-width: 480px) {
.popup-actions {
flex-direction: column;
}
}

.popup-btn-light {
background: var(--sakura);
color: #1E1E1E;
}

.popup-btn-light:hover {
background: var(--bronze);
color: var(--ivory);
}

.popup-btn-outline {
background: transparent;
border: 1px solid var(--matcha);
color: var(--matcha);
}

.popup-btn-outline:hover {
background: var(--matcha);
color: var(--ivory);
}

/* =================================================
ANIMATIONS
================================================= */

.section-fade {
opacity: 0;
transform: translateY(40px);
transition: all 1.1s cubic-bezier(.16,1,.3,1);
}

.section-fade.active {
opacity: 1;
transform: translateY(0);
}

/* =================================================
GLOBAL
================================================= */

html {
scroll-behavior: smooth;
overflow-y: scroll;
}
