/* ============ Theme ============ */
:root {
  --maroon: #7a1023;
  --maroon-dark: #5c0b1a;
  --red: #a3111f;
  --cream: #fbf5ea;
  --cream-2: #f5e9dc;
  --card: #fffaf4;
  --gold: #f2b632;
  --text: #2b1a14;
  --muted: #6f5a50;
  --line: #ead9c8;
  --green: #1f9d55;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(92, 11, 26, 0.08);
  --serif: "Playfair Display", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.script { font-family: var(--script); color: var(--maroon); font-size: 2.1rem; line-height: 1.1; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: var(--maroon-dark); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--outline { border: 1.5px solid var(--maroon); color: var(--maroon); }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); }
.header__inner { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding-top: 6px; }
.header__logo { justify-self: center; }
.header__logo img { height: 64px; width: auto; mix-blend-mode: multiply; }
.header__wa, .header__cart { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--maroon); position: relative; }
.header__wa { color: var(--wa); }
.header__wa .icon, .header__cart .icon { width: 28px; height: 28px; }
.header__count { position: absolute; top: 0; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--maroon); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; }
.header__count.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav { display: flex; justify-content: center; gap: 28px; padding: 2px 0 8px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav a:hover { color: var(--maroon); }

/* ============ Hero ============ */
.hero { background: radial-gradient(ellipse at 80% 40%, #f3e2cf 0%, var(--cream) 60%); padding: 36px 0 48px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.08; color: #2a1510; margin: 4px 0 14px; }
.hero__sub { color: var(--muted); max-width: 440px; font-size: 1.02rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__image img { border-radius: 50% 50% 24px 24px / 40% 40% 24px 24px; box-shadow: 0 18px 40px rgba(92, 11, 26, .18); width: 100%; aspect-ratio: 1.12; object-fit: cover; }

.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500; background: #fff; border: 1px solid var(--line); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status--open { color: var(--green); }
.status--closed { color: #c0392b; }

/* ============ Highlights ============ */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); background: #fbeee7; border: 1px solid var(--line); border-radius: var(--radius); margin-top: -22px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.hl { padding: 20px 14px; text-align: center; position: relative; }
.hl + .hl::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; border-left: 1px solid #d9b9b0; }
.hl__icon { width: 38px; height: 38px; color: var(--maroon); margin: 0 auto 8px; }
.hl__title { font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; }
.hl__sub { font-size: .78rem; color: var(--muted); text-transform: uppercase; }
.info { position: relative; display: inline-flex; vertical-align: middle; margin-left: 2px; color: var(--maroon); }
.info .icon { width: 15px; height: 15px; }
.info__tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 220px; background: var(--text); color: #fff; font-size: .75rem; text-transform: none; line-height: 1.45; padding: 8px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; font-weight: 400; }
.info:hover .info__tip, .info:focus .info__tip, .info.open .info__tip { opacity: 1; }

/* ============ Sections ============ */
.section { padding: 64px 0; }
.section--alt { background: var(--cream-2); }
.title { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); text-align: center; display: flex; align-items: center; justify-content: center; gap: 18px; color: #2a1510; }
.title { white-space: nowrap; }
.title::before, .title::after { content: ""; flex-shrink: 1; width: min(110px, 10vw); height: 1.5px; background: var(--maroon); }
.section__note { text-align: center; color: var(--muted); margin-top: 6px; }

/* ============ Category cards ============ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 32px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: var(--shadow); transition: transform .2s; }
.cat:hover { transform: translateY(-3px); }
.cat__img { aspect-ratio: 1.55; width: 100%; object-fit: cover; }
.cat__body { padding: 12px 10px 16px; }
.cat__name { font-family: var(--serif); color: var(--maroon); font-size: 1.15rem; }
.cat__sub { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.cat .btn { padding: 6px 18px; font-size: .8rem; }

.placeholder-img { display: grid; place-items: center; font-size: 3.2rem; background: linear-gradient(135deg, #f7e1d7, #f3e7d3); }

/* ============ Menu ============ */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 22px 2px 6px; scrollbar-width: none; justify-content: safe center; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tab.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 22px; }
.item { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.item__media { position: relative; }
.item__img { aspect-ratio: 1.45; width: 100%; object-fit: cover; }
.item__tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #3b2300; font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.item__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item__name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; }
.item__desc { font-size: .82rem; color: var(--muted); flex: 1; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: .78rem; background: var(--cream); }
.size.active { border-color: var(--maroon); background: #fbe9ea; color: var(--maroon); font-weight: 500; }
.item__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.price { font-weight: 600; font-size: 1.1rem; color: var(--maroon); }
.add { background: var(--maroon); color: #fff; padding: 7px 18px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.add:disabled { background: #bbb; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--maroon); border-radius: 999px; overflow: hidden; }
.qty button { width: 32px; height: 32px; font-size: 1.1rem; color: var(--maroon); }
.qty button:hover { background: #fbe9ea; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: .9rem; }

/* ============ Custom cakes ============ */
.custom { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.custom h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 6px 0 10px; }
.custom p:not(.script) { color: var(--muted); margin-bottom: 20px; }
.custom__images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.custom__images img { border-radius: var(--radius); aspect-ratio: .9; object-fit: cover; box-shadow: var(--shadow); }
.custom__images img:nth-child(2) { transform: translateY(-18px); }

/* ============ About ============ */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.about__photo { background: radial-gradient(circle at 50% 60%, #fff 0%, var(--cream-2) 70%); border-radius: 50% 50% var(--radius) var(--radius); overflow: hidden; max-width: 380px; justify-self: center; }
.about__photo img { mix-blend-mode: multiply; max-height: 480px; object-fit: contain; object-position: top; }
.about__text h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 4px 0 14px; }
.about__text p:not(.script) { color: var(--muted); margin-bottom: 12px; }
.about__sign { font-style: italic; color: var(--maroon) !important; }

/* ============ Order banner + contact ============ */
.order-banner { text-align: center; }
.order-banner__btn { display: inline-flex; align-items: center; gap: 14px; background: var(--maroon); color: #fff; padding: 16px 48px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.8rem); border-radius: 40px 8px 40px 8px; box-shadow: var(--shadow); transition: transform .15s; }
.order-banner__btn:hover { transform: scale(1.02); }
.order-banner__btn .icon { width: 42px; height: 42px; color: #fff; background: var(--wa); border-radius: 50%; padding: 6px; }
.order-banner p { margin-top: 12px; color: var(--muted); font-size: .9rem; }

.contact { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 760px; margin: 44px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact__qr { text-align: center; }
.contact__qr img { width: 180px; margin-inline: auto; border-radius: 10px; background: #fff; padding: 10px; border: 1px solid var(--line); }
.contact__qr p { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.contact__list { list-style: none; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--maroon); color: #fff; }
.contact__list small { display: block; color: var(--muted); font-size: .75rem; }
.contact__list a:hover { color: var(--maroon); text-decoration: underline; }

.marketplaces { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; color: var(--muted); font-size: .9rem; }
.mk { padding: 8px 20px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .9rem; }
.mk--swiggy { background: #fc8019; }
.mk--zomato { background: #e23744; }

/* ============ Footer ============ */
.footer { background: var(--maroon); color: #fff; text-align: center; padding: 34px 16px 90px; border-radius: 50% 50% 0 0 / 28px 28px 0 0; }
.footer .script { color: #fff; font-size: 1.9rem; }
.footer__small { font-size: .78rem; opacity: .75; margin-top: 6px; }

/* ============ Cart bar + drawer ============ */
.cart-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; background: var(--maroon); color: #fff; display: flex; gap: 18px; align-items: center; padding: 14px 22px; border-radius: 999px; box-shadow: 0 10px 30px rgba(92, 11, 26, .35); font-size: .92rem; width: min(440px, calc(100% - 32px)); justify-content: space-between; }
.cart-bar[hidden] { display: none; }

.overlay { position: fixed; inset: 0; background: rgba(30, 10, 10, .45); z-index: 50; }
.overlay[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--cream); z-index: 60; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--maroon); }
.drawer__close { font-size: 2rem; line-height: 1; color: var(--muted); width: 36px; height: 36px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--card); }

.empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty__emoji { font-size: 3rem; }
.empty .btn { margin-top: 16px; }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line__img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.line__img.placeholder-img { font-size: 1.6rem; }
.line__name { font-weight: 500; font-size: .92rem; line-height: 1.3; }
.line__meta { font-size: .78rem; color: var(--muted); }
.line__right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.line__price { font-weight: 600; font-size: .92rem; }
.line .qty button { width: 28px; height: 28px; font-size: 1rem; }

.progress { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .82rem; margin-bottom: 12px; }
.progress__bar { height: 6px; background: var(--cream-2); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.progress__bar span { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width .3s; }
.progress--done { color: var(--green); font-weight: 500; }

.sum { display: grid; gap: 6px; font-size: .9rem; }
.sum__row { display: flex; justify-content: space-between; }
.sum__row--total { font-weight: 600; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.sum__free { color: var(--green); font-weight: 500; }
.first-order { margin-top: 10px; background: #fff4d6; border: 1px dashed var(--gold); border-radius: 10px; padding: 10px 12px; font-size: .85rem; }
.first-order strong { color: var(--maroon); }
.first-order small { display: block; color: var(--muted); font-size: .74rem; margin-top: 2px; }
.drawer__foot .btn--wa { width: 100%; justify-content: center; margin-top: 14px; padding: 14px; font-size: 1rem; }
.drawer__note { text-align: center; font-size: .74rem; color: var(--muted); margin-top: 8px; }

/* ============ Toast ============ */
.toast { position: fixed; left: 50%; top: 90px; transform: translate(-50%, -20px); background: var(--text); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .85rem; opacity: 0; pointer-events: none; transition: all .25s; z-index: 70; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .hero__inner, .custom, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 20px; }
  .hero__text { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__image { max-width: 340px; margin: 0 auto; }
  .highlights { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .hl:nth-child(3)::before { display: none; }
  .hl:nth-child(n+3) { border-top: 1px solid #ead2c8; }
  .custom { text-align: center; }
  .contact { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .about__text { text-align: center; }
}
@media (max-width: 520px) {
  .header__logo img { height: 52px; }
  .nav { gap: 18px; font-size: .75rem; }
  .section { padding: 48px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat__sub { display: none; }
  .menu-grid { grid-template-columns: 1fr; gap: 12px; }
  .item { flex-direction: row; }
  .item__media { width: 118px; flex-shrink: 0; }
  .item__img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .item__img.placeholder-img { font-size: 2.4rem; }
  .item__tag { top: 6px; left: 6px; font-size: .62rem; padding: 2px 7px; }
  .item__body { padding: 12px; gap: 6px; }
  .item__name { font-size: 1rem; }
  .item__desc { font-size: .76rem; }
  .script { font-size: 1.8rem; }
  .order-banner__btn { padding: 14px 26px; }
  .info__tip { left: auto; right: -30px; transform: none; }
}
