:root {
  /* Sakura palette — AHC Pastries */
  --sakura: #FCE7EF;
  --blossom: #E9A5BC;
  --berry: #633D4C;
  --paper: #FFF8F2;        /* vanilla cream */
  --paper-2: #FCE7EF;      /* sakura pink */
  --card: #FFFFFF;
  --ink: #633D4C;          /* berry brown (text) */
  --ink-soft: #7A5566;     /* softer berry, 6:1 on cream */
  --rose: #E9A5BC;
  --rose-soft: #FCE7EF;
  --gold: #E9A5BC;         /* legacy token now = blossom pink */
  --gold-deep: #C97B99;
  --jam: #A8456F;          /* deepened blossom for readable accents (5.3:1 on cream) */
  --jam-deep: #8A3659;
  --line: #F0CFDB;
  --line-soft: #F8E1EA;
  --shadow-sm: 0 4px 14px rgba(99, 61, 76, 0.07);
  --shadow: 0 12px 30px rgba(99, 61, 76, 0.11);
  --shadow-lg: 0 20px 44px rgba(99, 61, 76, 0.16);
  --transition: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  --accent: #A8456F;       /* used by admin dashboard bars (was undefined) */
  --serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(232, 180, 184, 0.28), transparent 45%),
    radial-gradient(circle at 85% 5%, rgba(228, 179, 99, 0.18), transparent 40%);
}

h1, h2, h3, h4 { font-family: 'Fraunces', serif; color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--jam-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 16px; height: 1px;
  background: var(--jam-deep); display: inline-block;
}

.section { padding: 72px 0; }
.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 40px;
  flex-wrap: wrap; gap: 16px;
}
.section-title { font-size: 34px; font-weight: 600; margin-top: 10px; }
.scallop { width: 100%; height: 26px; display: block; line-height: 0; }

/* ---------- Header / Nav ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
header.scrolled { box-shadow: 0 6px 24px rgba(99,61,76,0.08); }

.nav-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 0; gap: 12px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 700; font-size: 22px;
  text-decoration: none;
}
.logo-img {
  height: 40px; width: auto;
  object-fit: contain; border-radius: 50%;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a {
  color: var(--ink-soft); position: relative;
  padding-bottom: 4px; transition: color .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 0%; height: 1.5px;
  background: var(--jam); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); position: relative;
  cursor: pointer; background: var(--card);
  transition: var(--transition); font-size: 16px;
}
.icon-btn:hover {
  background: var(--jam); color: var(--paper-2);
  border-color: var(--jam);
  transform: translateY(-2px);
}
.badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--jam); color: var(--paper-2);
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.badge.bump { animation: bump 0.4s ease; }
@keyframes bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.hamburger {
  background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px;
  font-size: 20px; cursor: pointer; color: var(--ink);
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600; font-size: 14px;
  padding: 15px 30px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute;
  inset: 0; border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255,255,255,0.35), transparent 65%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: var(--jam); border-color: var(--jam);
  color: var(--paper-2);
  box-shadow: 0 8px 20px rgba(99, 61, 76, 0.28);
}
.btn-primary:hover {
  background: var(--jam-deep);
  border-color: var(--jam-deep);
  box-shadow: 0 14px 28px rgba(99, 61, 76, 0.36);
}
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--card); border-color: var(--jam); color: var(--jam); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
  padding: 72px 0 56px;
}
.hero-headline {
  font-size: 54px; font-weight: 600;
  line-height: 1.06; margin: 18px 0 20px;
  letter-spacing: -0.02em;
}
.hero-headline em { font-style: italic; color: var(--jam); }
.hero-sub {
  font-size: 17px; color: var(--ink-soft);
  max-width: 460px; line-height: 1.65;
  margin-bottom: 32px;
}
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-frame {
  width: 100%; aspect-ratio: 4/4.6;
  border-radius: 12px 12px 130px 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99,61,76,0.04);
  position: relative; overflow: hidden;
  background: var(--rose-soft);
}
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease, opacity .5s ease;
  opacity: 0;
}
.hero-frame img.loaded { opacity: 1; }
.hero-frame:hover img { transform: scale(1.03); }
.hero-frame-label {
  position: absolute; bottom: 20px; left: 20px;
  color: #fff; font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: .1em;
  background: rgba(99, 61, 76, 0.45);
  padding: 8px 12px; border-radius: 6px;
  backdrop-filter: blur(3px);
}
.hero-tag {
  position: absolute; top: -18px; right: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 50%; width: 104px; height: 104px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow);
  transform: rotate(8deg);
  font-family: 'Fraunces', serif;
}
.hero-tag .num { font-size: 20px; font-weight: 700; color: var(--jam); }
.hero-tag .txt {
  font-family: 'Work Sans', sans-serif;
  font-size: 9px; letter-spacing: .05em;
  color: var(--ink-soft); text-transform: uppercase; margin-top: 2px;
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cat-card {
  background: var(--card);
  border-radius: 16px;
  padding: 26px 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-circle {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto 8px; overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
}
.cat-circle img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .5s ease; opacity: 0;
}
.cat-circle img.loaded { opacity: 1; }
.cat-icon { font-size: 34px; }
.cat-label { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; }
.cat-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.cat-cta {
  font-family: 'Work Sans', sans-serif; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--jam); margin-top: 4px;
  transition: color .25s ease;
}
.cat-card:hover .cat-cta { color: var(--jam-deep); }

/* ---------- Promo banner ---------- */
.promo-wrap { padding: 0; }
.promo-banner {
  background: linear-gradient(160deg, var(--jam-deep) 0%, #4E2F3C 100%);
  color: var(--paper-2); text-align: center;
  padding: 90px 40px; position: relative;
}
.promo-quote {
  font-family: 'Fraunces', serif; font-style: italic;
  font-weight: 500; font-size: 32px; line-height: 1.45;
  max-width: 700px; margin: 0 auto 28px;
}
.promo-quote .accent { color: var(--gold); font-style: normal; font-weight: 600; }
.promo-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper-2); border-bottom: 1px solid var(--gold);
  padding-bottom: 6px; transition: var(--transition);
}
.promo-link:hover { color: var(--gold); border-bottom-color: var(--paper-2); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.t-card {
  background: var(--card); border-radius: 12px;
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.t-stars { color: var(--gold-deep); font-size: 15px; letter-spacing: 3px; margin-bottom: 16px; }
.t-text { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 22px; }
.t-foot {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line-soft); padding-top: 16px;
}
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(150deg, var(--gold), var(--jam));
}
.t-name { font-weight: 600; font-size: 13.5px; }
.t-role { font-family: 'Work Sans', sans-serif; font-size: 10px; color: var(--ink-soft); letter-spacing: .05em; }

/* ---------- Page heroes ---------- */
.menu-hero, .about-hero, .order-hero, .contact-hero {
  padding: 60px 0 44px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(232,180,184,0.28), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(214,163,74,0.14), transparent 55%);
  border-bottom: 1px solid var(--line-soft);
}
.menu-hero-content, .about-hero-content,
.order-hero-content, .contact-hero-content {
  max-width: 720px; margin: 0 auto;
}
.menu-hero-title, .about-hero-title,
.order-hero-title, .contact-hero-title {
  font-size: 48px; font-weight: 600;
  line-height: 1.08; margin: 18px 0 16px;
}
.menu-hero-title em, .about-hero-title em,
.order-hero-title em, .contact-hero-title em {
  font-style: italic; color: var(--jam);
}
.menu-hero-sub, .order-hero-sub, .contact-hero-sub {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.65; max-width: 540px; margin: 0 auto;
}

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.about-text { font-size: 16px; line-height: 1.8; }
.about-image-frame {
  width: 100%; aspect-ratio: 1/1;
  border-radius: 12px 12px 130px 12px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--rose-soft);
}
.about-image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .5s ease; opacity: 0;
}
.about-image-frame img.loaded { opacity: 1; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  text-align: center; padding: 30px 20px;
  background: var(--card); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--jam);
}
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ---------- Order / Contact ---------- */
.order-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; }
.order-form-container, .contact-form-container {
  background: var(--card); padding: 40px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.order-form .form-group, .contact-form .form-group { margin-bottom: 20px; }
.order-form label, .contact-form label {
  display: block; font-weight: 500; font-size: 14px;
  margin-bottom: 6px; color: var(--ink);
}
.order-form input, .order-form select, .order-form textarea,
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: 'Work Sans', sans-serif; font-size: 14px;
  background: var(--paper-2); transition: var(--transition);
  color: var(--ink);
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--jam);
  box-shadow: 0 0 0 3px rgba(99, 61, 76, 0.12);
  background: var(--card);
}
.order-form input[type="checkbox"] { width: auto; margin-right: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.order-info { display: flex; flex-direction: column; gap: 18px; }
.order-info-card {
  background: var(--card); padding: 24px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.order-info-card h3 {
  font-size: 18px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.order-info-card h3 svg { color: var(--jam); flex-shrink: 0; }
.order-info-card ul { list-style: none; }
.order-info-card ul li {
  padding: 6px 0; color: var(--ink-soft); font-size: 14px;
}
.order-info-card ul li::before { content: "• "; color: var(--jam); }

.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); padding: 20px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper-2); color: var(--jam);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h3 { font-size: 16px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--ink-soft); word-break: break-word; }

.location-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--card); padding: 30px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
  max-width: 540px; margin: 0 auto;
}
.location-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-card h3 { font-size: 20px; margin-bottom: 4px; }

/* ---------- Filters ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); cursor: pointer;
  color: var(--ink-soft); background: transparent;
  transition: var(--transition);
}
.tab:hover { background: var(--ink); color: var(--paper-2); border-color: var(--ink); transform: translateY(-2px); }
.tab.active { background: var(--jam); border-color: var(--jam); color: var(--paper-2); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.ticket {
  background: var(--card); border-radius: 10px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.ticket:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ticket-link { display: block; }

.ticket-img {
  height: 220px; position: relative; overflow: hidden;
  background: var(--paper-2);
}
.ticket-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, opacity .5s ease;
  opacity: 0;
}
.ticket-img img.loaded { opacity: 1; }
.ticket:hover .ticket-img img { transform: scale(1.08); }

.ticket-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--jam); color: var(--paper-2);
  font-family: 'Work Sans', sans-serif;
  font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px;
  border-radius: 999px; box-shadow: var(--shadow-sm);
}
.ticket-perf {
  height: 12px;
  background-image: radial-gradient(circle 5px, var(--paper) 5px, transparent 6px);
  background-size: 20px 14px; background-position: 0 -6px;
  background-repeat: repeat-x;
}
.ticket-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ticket-no {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; color: var(--line); letter-spacing: .1em;
  margin-bottom: 6px;
}
.ticket-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.ticket-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 10px; flex: 1; }
.ticket-price { font-size: 15px; color: var(--jam-deep); font-weight: 700; margin-bottom: 12px; }
.ticket-actions { display: flex; gap: 8px; }
.ticket-actions .btn-add-cart { flex: 1; }

.btn-view {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 16px; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink);
  font-weight: 600; font-size: 13px;
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.btn-view:hover { background: var(--ink); color: var(--paper-2); transform: translateY(-2px); }

.btn-add-cart {
  position: relative; overflow: hidden;
  width: 100%; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  padding: 13px 16px; border: none;
  border-radius: 999px;
  background: var(--ink); color: var(--paper-2);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600; font-size: 13px;
  cursor: pointer;
  transition: background .25s ease, transform .15s ease, box-shadow .25s ease;
}
.btn-add-cart:hover { background: var(--jam); box-shadow: 0 10px 22px rgba(99, 61, 76, 0.28); transform: translateY(-2px); }
.btn-add-cart:active { transform: scale(0.97); }
.btn-add-cart.added { background: #2E7D4F; }
.btn-add-cart-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
  transition: transform .3s ease;
}
.btn-add-cart:hover .btn-add-cart-icon { transform: rotate(90deg); }

.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0); animation: ripple .6s linear;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Wishlist button on card ---------- */
.wish-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-soft);
  transition: transform .2s ease, color .2s ease, background .2s ease;
  z-index: 2;
}
.wish-btn:hover { transform: scale(1.08); color: var(--jam); }
.wish-btn.active { color: var(--jam); background: #FCE7EF; border-color: var(--jam); }
.wish-btn.active svg { fill: currentColor; }

/* ---------- Product detail page ---------- */
.back-link {
  display: inline-block; margin-bottom: 22px;
  font-family: 'Work Sans', sans-serif; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
}
.back-link:hover { color: var(--jam); }
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pd-image {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--paper-2);
  aspect-ratio: 1 / 1;
}
.pd-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .5s ease; opacity: 0;
}
.pd-image img.loaded { opacity: 1; }
.pd-info h1 { font-size: 40px; margin: 10px 0 8px; }
.pd-price { font-size: 24px; font-weight: 700; color: var(--jam-deep); margin-bottom: 16px; }
.pd-desc { color: var(--ink-soft); line-height: 1.75; margin-bottom: 24px; }
.pd-field { margin-bottom: 16px; }
.pd-field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--ink);
}
.pd-field select, .pd-field input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper-2);
  font-family: 'Work Sans', sans-serif; font-size: 14px;
  color: var(--ink);
}
.qty-ctrl {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--paper-2);
}
.qty-ctrl button {
  width: 40px; height: 40px; border: none; background: transparent;
  font-size: 18px; font-weight: 700; cursor: pointer; color: var(--ink);
}
.qty-ctrl button:hover { background: var(--jam); color: var(--paper-2); }
.qty-ctrl input {
  width: 60px; text-align: center; border: none;
  background: transparent; font-weight: 600; font-size: 15px;
  color: var(--ink);
}
.qty-ctrl input::-webkit-outer-spin-button,
.qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-actions { display: flex; gap: 12px; margin: 20px 0 26px; }
.wish-btn-lg {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-soft);
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.wish-btn-lg:hover { transform: scale(1.06); color: var(--jam); border-color: var(--jam); }
.wish-btn-lg.active { color: var(--jam); background: #FCE7EF; border-color: var(--jam); }
.wish-btn-lg.active svg { fill: currentColor; }
.pd-meta { border-top: 1px solid var(--line-soft); padding-top: 18px; }
.pd-meta details { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.pd-meta summary {
  cursor: pointer; font-weight: 600; font-size: 14px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.pd-meta summary::-webkit-details-marker { display: none; }
.pd-meta summary::after { content: "+"; font-size: 18px; color: var(--jam); }
.pd-meta details[open] summary::after { content: "−"; }
.pd-meta p { margin-top: 8px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; }

/* ---------- Cart drawer enhancements ---------- */
.cart-header-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

.cart-item-main { min-width: 0; }
.cart-item-end { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item-line-total { font-weight: 700; font-size: 14px; color: var(--jam-deep); }

.cart-progress {
  height: 6px; background: #EAD9B8; border-radius: 999px;
  overflow: hidden; margin-bottom: 10px;
}
.cart-progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--gold), var(--jam));
  border-radius: 999px;
  transition: width .5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cart-free-msg { font-size: 12px; color: var(--ink-soft); margin-bottom: 12px; text-align: center; }
.cart-free-msg.ok { color: #2E7D4F; font-weight: 600; }

/* ---------- Newsletter status ---------- */
.newsletter-msg { font-size: 12px; margin-top: 8px; min-height: 16px; }
.newsletter-msg.ok { color: #B7E4C7; }
.newsletter-msg.err { color: #FFB4A8; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.checkout-form, .checkout-summary {
  background: var(--card); padding: 32px; border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.checkout-form h2 { font-size: 22px; margin: 8px 0 20px; }
.checkout-form h2:not(:first-child) { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.checkout-form .form-group { margin-bottom: 16px; }
.checkout-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper-2);
  font-family: 'Work Sans', sans-serif; font-size: 14px; color: var(--ink);
}
.checkout-form input:focus, .checkout-form textarea:focus {
  outline: none; border-color: var(--jam);
  box-shadow: 0 0 0 3px rgba(196,69,54,0.12); background: var(--card);
}
.pay-placeholder {
  background: var(--paper-2); border: 1px dashed var(--line);
  border-radius: 12px; padding: 16px 18px;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.7;
}
.pay-placeholder p + p { margin-top: 6px; }

.checkout-summary h3 { font-size: 18px; margin-bottom: 16px; }
.co-items { max-height: 320px; overflow-y: auto; margin-bottom: 16px; }
.co-item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px;
  align-items: center; padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.co-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--paper-2); }
.co-name { font-weight: 600; font-size: 13.5px; }
.co-opt { font-size: 11px; color: var(--ink-soft); font-family: 'Work Sans', sans-serif; margin-top: 2px; }
.co-qty { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.co-price { font-weight: 600; font-size: 13.5px; }
.co-line { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.co-total { font-size: 17px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; color: var(--jam-deep); }
.co-note { font-size: 12px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.field-invalid { border-color: var(--jam) !important; background: #FFF3F1 !important; }
.field-err { display: block; font-size: 12px; color: var(--jam); margin-top: 4px; min-height: 14px; }
.grid-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.grid-empty-icon {
  display: flex; justify-content: center; margin-bottom: 12px;
  color: var(--jam);
}

/* ---------- Footer ---------- */
footer { background: #633D4C; color: #FCE7EF; padding-top: 60px; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px; padding-bottom: 50px;
}
.footer-logo { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: #FFFFFF; margin-bottom: 14px; }
.footer-col p, .footer-col li { font-size: 13px; line-height: 2; color: #F3D3DF; }
.footer-col h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col a { color: #F3D3DF; transition: var(--transition); }
.footer-col a:hover { color: #FFFFFF; }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row .icon-btn { background: transparent; border-color: #633D4C; color: #FCE7EF; }
.social-row .icon-btn:hover { background: var(--gold); color: #633D4C; border-color: var(--gold); }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: #F3D3DF; }
.footer-contact-list li svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-list li a { color: #F3D3DF; }
.footer-contact-list li a:hover { color: #FFFFFF; }

.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.n-input {
  flex: 1; background: #633D4C; border: 1px solid #633D4C;
  border-radius: 8px; padding: 0 14px; height: 42px;
  color: #FCE7EF; font-size: 13px; font-family: 'Work Sans', sans-serif;
}
.n-input::placeholder { color: #8A6574; }
.n-btn {
  background: var(--gold); color: #633D4C; border: none;
  border-radius: 8px; padding: 0 18px;
  font-weight: 600; font-size: 13px; cursor: pointer;
  white-space: nowrap; transition: var(--transition);
}
.n-btn:hover { background: #F1C878; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid #633D4C; padding: 20px 0;
  text-align: center; font-size: 12px; color: #8A6574;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 90px; right: 24px;
  background: var(--ink); color: var(--paper-2);
  padding: 14px 22px; border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 14px; z-index: 999;
  animation: toastIn .35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--gold);
  max-width: 340px;
}
.toast strong { color: var(--gold); margin-right: 6px; }
.toast-out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ---------- Cart drawer ---------- */
.cart-backdrop {
  position: fixed; inset: 0; background: rgba(99, 61, 76, 0.45);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
  z-index: 90; backdrop-filter: blur(2px);
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--card);
  box-shadow: -20px 0 60px rgba(99, 61, 76, 0.25);
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 100; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.cart-header h3 { font-size: 20px; }
.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--ink-soft); padding: 4px 10px;
  border-radius: 8px; transition: var(--transition);
}
.cart-close:hover { background: var(--paper-2); color: var(--jam); }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
  animation: cartItemIn .25s ease;
}
@keyframes cartItemIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cart-item-img {
  width: 60px; height: 60px; border-radius: 10px;
  object-fit: cover; background: var(--paper-2);
}
.cart-item-name { font-weight: 600; font-size: 14px; }
.cart-item-price { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.cart-qty {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; font-family: 'Work Sans', sans-serif; font-size: 12px;
}
.cart-qty button {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper-2);
  cursor: pointer; font-weight: 700; color: var(--ink);
  transition: var(--transition);
}
.cart-qty button:hover { background: var(--jam); color: var(--paper-2); border-color: var(--jam); }
.cart-remove {
  background: none; border: none; cursor: pointer;
  color: var(--ink-soft); font-size: 16px;
  padding: 4px 8px; border-radius: 6px;
  transition: var(--transition);
}
.cart-remove:hover { color: var(--jam); background: var(--paper-2); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.cart-empty-icon {
  display: flex; justify-content: center; margin-bottom: 12px;
  color: var(--jam);
}
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--paper-2); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-weight: 600; font-size: 16px; }
.cart-total span:last-child { color: var(--jam-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 40px; }
  .hero-headline { font-size: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .order-grid, .contact-grid { grid-template-columns: 1fr; }
  .menu-hero-title, .about-hero-title,
  .order-hero-title, .contact-hero-title { font-size: 36px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(251, 244, 231, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 28px; gap: 16px;
    border-bottom: 1px solid var(--line);
    animation: dropdown .3s ease;
  }
  @keyframes dropdown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .hamburger { display: block; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section { padding: 48px 0; }
  .ticket-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero-headline { font-size: 32px; }
  .menu-hero-title, .about-hero-title,
  .order-hero-title, .contact-hero-title { font-size: 28px; }
  .promo-quote { font-size: 22px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-circle { width: 100px; height: 100px; }
  .cat-icon { font-size: 28px; }
  .hero-tag { width: 78px; height: 78px; top: -10px; right: 8px; }
  .hero-tag .num { font-size: 15px; }
  .hero-tag .txt { font-size: 7px; }
  .section-title { font-size: 26px; }
  .btn { padding: 12px 22px; font-size: 13px; }
  .order-form-container, .contact-form-container { padding: 24px; }
  .toast { left: 16px; right: 16px; top: 80px; max-width: none; }
  .cart-drawer { width: 100vw; }
  .pd-info h1 { font-size: 28px; }
  .pd-price { font-size: 20px; }
  .checkout-form, .checkout-summary { padding: 22px; }
  .hero-frame { border-radius: 12px 12px 90px 12px; }
}
@media (max-width: 380px) {
  .nav-icons { gap: 6px; }
  .icon-btn { width: 34px; height: 34px; }
}

a:focus-visible, button:focus-visible, .btn:focus-visible,
.tab:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--jam); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Search form in navbar ---------- */
.nav-search-form { display: none; }
.nav-search-form input {
  width: 160px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); font-size: 13px; color: var(--ink);
  font-family: 'Work Sans', sans-serif;
}
.nav-search-form input:focus { outline: none; border-color: var(--jam); }
@media (min-width: 1100px) {
  .nav-search-form { display: block; margin-right: 8px; }
}

.nav-account, .nav-admin, .nav-logout {
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  transition: background .2s;
}
.nav-account { background: var(--paper-2); color: var(--jam-deep); }
.nav-account:hover { background: var(--rose-soft); }
.nav-admin { background: var(--jam); color: var(--paper-2); }
.nav-logout { color: var(--ink-soft); }
.nav-logout:hover { color: var(--jam); }

/* ---------- Search page hero form ---------- */
.search-page-form {
  display: flex; gap: 10px; max-width: 520px;
  margin: 22px auto 0;
}
.search-page-form input {
  flex: 1; padding: 14px 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--card); font-size: 15px; color: var(--ink);
  font-family: 'Work Sans', sans-serif;
}
.search-page-form input:focus { outline: none; border-color: var(--jam); }
.search-page-form button { white-space: nowrap; }

/* ---------- Category cards on menu ---------- */
.category-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 20px; background: var(--card);
  border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: var(--transition); text-align: center;
  border: 2px solid transparent;
}
.category-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
  border-color: var(--jam);
}
.category-card-label {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 17px; color: var(--ink); margin-bottom: 8px;
}
.category-card-cta {
  font-family: 'Work Sans', sans-serif; font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--jam); font-weight: 600;
}

/* ---------- Auth cards ---------- */
.auth-card {
  background: var(--card); padding: 36px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.auth-error {
  background: #FCE7EF; color: var(--jam-deep);
  padding: 12px 16px; border-radius: 10px;
  font-size: 13.5px; margin-bottom: 18px;
  border-left: 3px solid var(--jam);
}
.auth-success {
  background: #E8F5E9; color: #2E7D4F;
  padding: 12px 16px; border-radius: 10px;
  font-size: 13.5px; margin-bottom: 18px;
  border-left: 3px solid #2E7D4F;
}

/* ---------- Dashboard ---------- */
.dash-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px; margin-bottom: 30px;
}
.dash-stat {
  background: var(--card); padding: 24px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
  text-align: center;
}
.dash-stat-num {
  font-family: 'Fraunces', serif; font-size: 32px;
  font-weight: 700; color: var(--jam-deep); line-height: 1;
}
.dash-stat-label {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-top: 8px;
}
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Order history ---------- */
.order-history { display: flex; flex-direction: column; gap: 16px; }
.order-row {
  background: var(--card); padding: 20px 24px;
  border-radius: 12px; box-shadow: var(--shadow-sm);
}
.order-row-head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.order-date { color: var(--ink-soft); font-size: 13px; margin-left: 10px; }
.order-row-items { display: flex; flex-direction: column; gap: 6px; }
.order-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.order-row-total {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line); font-size: 15px;
}
.order-status {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; padding: 5px 12px;
  border-radius: 999px; font-weight: 600;
}
.status-pending { background: #FFF4D6; color: #8B6F00; }
.status-confirmed { background: #DCE9FF; color: #1E4DAF; }
.status-baking { background: #FFE4D6; color: #B1541E; }
.status-ready { background: #E0F3E0; color: #2E7D4F; }
.status-delivered { background: #D4EDDA; color: #155724; }
.status-cancelled { background: #F8D7DA; color: #721C24; }

/* ---------- Admin tables ---------- */
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--card); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.admin-table th, .admin-table td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.admin-table th {
  background: var(--paper-2);
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-soft);
  font-weight: 600;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--paper-2); }

.admin-order-card {
  background: var(--card); padding: 24px;
  border-radius: 14px; box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.admin-order-head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.admin-order-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.admin-order-grid h4 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-soft);
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 10px;
}
.status-form { display: flex; flex-direction: column; gap: 10px; }
.status-form select {
  padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--paper-2);
  font-family: 'Work Sans', sans-serif; font-size: 14px;
}
@media (max-width: 800px) {
  .admin-order-grid { grid-template-columns: 1fr; }
}

/* Fix ticket image paths from subfolders */
.ticket-img img { background: var(--paper-2); }

/* =====================================================================
   SAKURA CHERRY BLOSSOM THEME  (appended by redesign — overrides above)
   Palette: #FCE7EF sakura · #FFF8F2 cream · #E9A5BC blossom · #633D4C berry · #FFFFFF
   Rule: never white text on blossom pink (fails contrast) — use berry text there.
   ===================================================================== */
:root { --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23E9A5BC'%3E%3Cpath id='p' d='M32 30C21 23 21 8 29 4l3 4 3-4c8 4 8 19-3 26z'/%3E%3Cuse href='%23p' transform='rotate(72 32 32)'/%3E%3Cuse href='%23p' transform='rotate(144 32 32)'/%3E%3Cuse href='%23p' transform='rotate(216 32 32)'/%3E%3Cuse href='%23p' transform='rotate(288 32 32)'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='4' fill='%23FFF8F2'/%3E%3Ccircle cx='32' cy='32' r='1.6' fill='%23A8456F'/%3E%3C/svg%3E"); }

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 0%, rgba(252, 231, 239, 0.95), transparent 42%),
    radial-gradient(circle at 96% 4%, rgba(233, 165, 188, 0.22), transparent 38%);
  background-repeat: no-repeat;
}
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; }
.eyebrow { font-family: 'Work Sans', sans-serif; font-weight: 600; letter-spacing: .16em; color: var(--jam-deep); }
.eyebrow::before {
  content: ""; width: 16px; height: 16px; background: var(--petal) center/contain no-repeat;
}

/* Navigation */
header { background: rgba(255, 248, 242, 0.95); border-bottom: 1px solid var(--line); }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after { background: var(--blossom); height: 2px; border-radius: 2px; }
.icon-btn:hover { background: var(--blossom); color: var(--ink); border-color: var(--blossom); }
.badge { background: var(--ink); color: #fff; }

/* Buttons — berry on cream (9:1) / blossom hover with berry text (4.6:1) */
.btn { border-radius: 999px; border-color: var(--ink); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(99, 61, 76, 0.22); }
.btn-primary:hover { background: var(--blossom); border-color: var(--blossom); color: var(--ink); box-shadow: 0 12px 26px rgba(233, 165, 188, 0.45); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--blossom); }
.btn-secondary:hover { background: var(--sakura); border-color: var(--ink); color: var(--ink); }
.btn-add-cart { background: var(--ink); color: #fff; }
.btn-add-cart:hover { background: var(--blossom); color: var(--ink); box-shadow: 0 8px 18px rgba(233, 165, 188, 0.45); }
.btn-view { border-color: var(--blossom); color: var(--ink); }
.btn-view:hover { background: var(--blossom); color: var(--ink); }
.btn:focus-visible, .btn-add-cart:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blossom); outline-offset: 2px;
}

/* Hero */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; top: 18px; right: -10px; width: 150px; height: 150px;
  background: var(--petal) center/contain no-repeat; opacity: .35; pointer-events: none; transform: rotate(14deg);
}
.hero::after {
  content: ""; position: absolute; bottom: 10px; left: 38%; width: 70px; height: 70px;
  background: var(--petal) center/contain no-repeat; opacity: .28; pointer-events: none; transform: rotate(-20deg);
}
.hero-headline em { color: var(--jam); }
.hero-frame {
  border-radius: 28px 28px 120px 28px; background: var(--sakura);
  box-shadow: var(--shadow-lg), 0 0 0 8px #fff;
}
.hero-frame img, .cat-circle img, .about-image-frame img, .pd-image img, .ticket-img img { opacity: 1 !important; }
.hero-frame-label { background: rgba(99, 61, 76, 0.72); color: #fff; }
.hero-tag { background: #fff; border-color: var(--line); }
.hero-tag .num { color: var(--jam); }

/* Section dividers & banners */
.promo-banner { background: linear-gradient(160deg, #633D4C 0%, #4E2F3C 100%); color: var(--sakura); overflow: hidden; }
.promo-banner::before, .promo-banner::after {
  content: ""; position: absolute; width: 120px; height: 120px; background: var(--petal) center/contain no-repeat; opacity: .22; pointer-events: none;
}
.promo-banner::before { top: 24px; left: 6%; transform: rotate(-16deg); }
.promo-banner::after { bottom: 24px; right: 7%; transform: rotate(22deg); }
.promo-banner .eyebrow { color: var(--blossom) !important; }
.promo-banner .eyebrow::before { display: none; }
.promo-quote .accent { color: var(--blossom); }
.promo-link { color: #fff; border-bottom-color: var(--blossom); }
.promo-link:hover { color: var(--blossom); border-bottom-color: #fff; }
.featured-section { background: linear-gradient(180deg, var(--paper) 0%, var(--sakura) 100%); }

/* Category tiles */
.cat-card, .category-card, .t-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.cat-card:hover, .category-card:hover, .t-card:hover { border-color: var(--blossom); box-shadow: var(--shadow); }
.cat-circle { border: 3px solid var(--sakura); box-shadow: 0 0 0 1px var(--blossom); }
.cat-cta, .category-card-cta { color: var(--jam-deep); }

/* Product cards — rounded, 4:5 image ratio (matches the 450x600 thumbs), gentle shadow */
.ticket { border-radius: 22px; border: 1px solid var(--line-soft); background: #fff; }
.ticket:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ticket-img { height: auto; aspect-ratio: 4 / 5; background: var(--sakura); }
.ticket-img img { width: 100%; height: 100%; object-fit: cover; }
.ticket:hover .ticket-img img { transform: scale(1.04); }
.ticket-tag { background: var(--ink); color: #fff; }
.ticket-perf { display: none; }
.ticket-no { color: var(--ink-soft); }
.ticket-price { color: var(--jam-deep); font-size: 16px; }
.ticket-avail { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.see-more-row { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 36px; }
.see-more-link { color: var(--jam-deep); font-weight: 600; font-size: 14px; border-bottom: 1.5px solid var(--blossom); padding-bottom: 2px; }
.see-more-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Forms */
input, select, textarea { accent-color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], select, textarea {
  border-color: var(--line); background: #fff; color: var(--ink); border-radius: 14px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blossom); box-shadow: 0 0 0 3px rgba(233, 165, 188, 0.35); outline: none; }

/* Footer */
footer { background: #633D4C; color: var(--sakura); border-top: 6px solid var(--blossom); }
footer a { color: var(--sakura); }
footer a:hover { color: var(--blossom); }
.footer-col h4 { color: var(--blossom); }

/* Motion: keep it subtle */
@media (prefers-reduced-motion: reduce) {
  .ticket, .btn, .cat-card, .t-card, .ticket-img img { transition: none !important; }
  .ticket:hover, .btn:hover, .cat-card:hover { transform: none !important; }
}
@media (max-width: 880px) {
  .hero::before { width: 90px; height: 90px; top: 4px; }
  .hero::after { display: none; }
  .promo-banner { padding: 64px 22px; }
  .promo-quote { font-size: 24px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ticket-body { padding: 12px 12px 14px; }
  .ticket-desc { display: none; }
  .ticket-name { font-size: 15px; }
}


/* ---------- Layout width fix: use more of the available screen ---------- */
/* Keep the content centered while reducing the oversized empty side margins. */
.wrap {
  width: min(100% - 40px, 1500px);
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.menu-hero {
  width: 100%;
}

@media (min-width: 1500px) {
  .product-grid { gap: 24px; }
}

@media (max-width: 1024px) {
  .wrap { width: min(100% - 36px, 1500px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .wrap { width: calc(100% - 32px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}


/* =====================================================================
   v2 — logo + brand name, hero spacing, cart/checkout/orders additions
   ===================================================================== */

/* ---------- Header: bigger, clearer logo with the shop name beside it ---------- */
.nav-row { padding: 10px 0; }
.logo { gap: 12px; text-decoration: none; flex: none; }
.logo-img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none;
  background: #fff; border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blossom), 0 8px 18px rgba(99, 61, 76, 0.22);
  transition: transform .25s ease;
}
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.05); }
.logo-text {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 26px; line-height: 1;
  letter-spacing: -0.01em; color: var(--jam-deep); white-space: nowrap;
}
.logo-text em { font-style: italic; color: var(--jam); }
.nav-account, .nav-admin, .nav-logout { white-space: nowrap; }
.nav-mobile-only { display: none; }
.cart-drawer.busy .cart-items { opacity: .55; pointer-events: none; }

@media (max-width: 1180px) {
  .nav-links { gap: 16px; font-size: 13.5px; }
  .logo-text { font-size: 21px; }
}
@media (max-width: 880px) {
  .logo-text { font-size: 21px; }
  .nav-admin { display: none; }
  .nav-mobile-only { display: block; }
}
@media (max-width: 440px) {
  .logo { gap: 8px; }
  .logo-img { width: 44px; height: 44px; border-width: 2px; }
  .logo-text { font-size: 18px; }
  .nav-account, .nav-logout { display: none; }
  .nav-icons { gap: 6px; }
  .icon-btn { width: 34px; height: 34px; }
}

/* ---------- Home hero: no more big empty gap ---------- */
.hero { align-items: center; gap: 48px; padding: 36px 0 56px; }
.hero-headline { font-size: clamp(46px, 5.4vw, 80px); margin: 14px 0 18px; }
.hero-sub { font-size: 18px; max-width: 520px; margin-bottom: 28px; }
@media (min-width: 881px) {
  .hero-visual { justify-self: end; width: min(100%, 500px); }
}
@media (max-width: 880px) {
  .hero { padding-top: 24px; gap: 28px; }
  .hero-headline { font-size: clamp(38px, 10vw, 52px); }
}

/* ---------- Checkout ---------- */
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.co-choice { position: relative; display: block; cursor: pointer; margin: 0 !important; }
.co-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.co-choice span {
  display: flex; flex-direction: column; gap: 3px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s;
}
.co-choice small { font-size: 12px; color: var(--ink-soft); font-weight: 400; }
.co-choice input:checked + span { border-color: var(--jam); background: var(--sakura); box-shadow: 0 0 0 3px rgba(233, 165, 188, .35); }
.co-choice input:focus-visible + span { outline: 3px solid var(--blossom); outline-offset: 2px; }
.co-hint { font-size: 12.5px; color: var(--ink-soft); margin: -4px 0 18px; line-height: 1.5; }
.checkout-form label small { font-weight: 400; color: var(--ink-soft); }
.checkout-form [hidden] { display: none !important; }
.checkout-summary { position: sticky; top: 100px; }
@media (max-width: 1024px) { .checkout-summary { position: static; } }
@media (max-width: 560px) { .co-choices { grid-template-columns: 1fr; } }

.co-success { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); max-width: 920px; margin: 0 auto; }
.co-success-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); font-size: 18px; }
.co-success-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.co-success-grid h4 { font-family: 'Work Sans', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 8px; }
.co-success-grid p { margin-bottom: 4px; }
@media (max-width: 700px) { .co-success-grid { grid-template-columns: 1fr; gap: 20px; } .co-success { padding: 20px; } }

/* ---------- Order statuses (Pending / In Progress / Completed) ---------- */
.status-in_progress { background: #DCE9FF; color: #1E4DAF; }
.status-completed   { background: #D4EDDA; color: #155724; }

/* ---------- Admin orders page ---------- */
.ao-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
.ao-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.ao-tab span { background: var(--sakura); color: var(--jam-deep); border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.ao-tab:hover { border-color: var(--blossom); }
.ao-tab.on { background: var(--jam); border-color: var(--jam); color: #fff; }
.ao-tab.on span { background: rgba(255,255,255,.22); color: #fff; }
.ao-search { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ao-search input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; min-width: 260px; font-size: 14px; }
.ao-pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 28px; font-size: 14px; }
.ao-pager a { font-weight: 600; color: var(--jam-deep); border-bottom: 1.5px solid var(--blossom); }
@media (max-width: 700px) { .ao-search { margin-left: 0; width: 100%; } .ao-search input { flex: 1; min-width: 0; } }


/* ---------- Responsive navigation refinement ---------- */
.nav-mobile-only { display: none; }
@media (max-width: 880px) {
  .nav-row {
    position: relative;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 0;
    min-height: 66px;
  }
  .logo { min-width: 0; flex: 1 1 auto; gap: 7px; }
  .logo-img { width: 42px; height: 42px; flex: 0 0 auto; }
  .logo-text { font-size: clamp(16px, 3.7vw, 20px); white-space: nowrap; }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    order: 3;
    border-color: var(--line);
    background: var(--card);
    color: var(--jam-deep);
    z-index: 2;
  }
  .nav-icons { flex: 0 0 auto; gap: 6px; }
  .nav-icons .nav-account,
  .nav-icons .nav-logout,
  .nav-icons .nav-admin { display: none !important; }
  .nav-icons #searchBtn,
  .nav-icons #wishlistBtn { display: none; }
  .nav-icons #cartBtn { width: 36px; height: 36px; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: -18px;
    right: -18px;
    z-index: 60;
    flex-direction: column;
    gap: 0;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    padding: 8px 18px 14px;
    background: rgba(255, 248, 242, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(99, 61, 76, 0.12);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a {
    display: block;
    padding: 13px 8px;
    border-bottom: 1px solid rgba(99, 61, 76, 0.09);
    font-size: 15px;
  }
  .nav-links a::after { display: none; }
  .nav-links .nav-mobile-only { display: block; }
  .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 440px) {
  .nav-row { gap: 6px; }
  .logo { gap: 6px; }
  .logo-img { width: 36px; height: 36px; }
  .logo-text { font-size: 16px; }
  .nav-icons { gap: 4px; }
  .nav-icons #cartBtn { width: 34px; height: 34px; }
  .hamburger { width: 38px; height: 38px; flex-basis: 38px; font-size: 19px; }
  .nav-links { left: -18px; right: -18px; }
}


/* ---------- Customer login / Google sign-in ---------- */
.auth-section { padding-bottom: 72px; }
.auth-wrap { max-width: 480px; }
.auth-card-google {
  position: relative;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(183, 104, 139, .18);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 48px rgba(120, 65, 91, .10);
}
.auth-card-google h2 {
  margin: 0;
  text-align: center;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 28px;
}
.auth-brand-flower {
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #b65d83;
  background: #fff0f5;
  font-size: 25px;
}
.auth-intro { text-align: center; color: var(--ink-soft); font-size: 14px; margin: 8px 0 22px; }
.google-signin-btn {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #dadce0;
  border-radius: 10px;
  background: #fff;
  color: #3c4043;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease;
}
.google-signin-btn:hover { background: #f8faff; box-shadow: 0 2px 8px rgba(60,64,67,.18); }
.google-signin-btn:focus-visible { outline: 2px solid #4285f4; outline-offset: 3px; }
.google-logo { width: 20px; height: 20px; flex: 0 0 20px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #927e88; font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: #eadde3; }
.auth-login-form .form-group { margin-bottom: 16px; }
.auth-login-form input { width: 100%; min-width: 0; }
.auth-password-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-password-label a, .auth-signup a { color: var(--jam-deep); font-weight: 600; }
.password-input-wrap { position: relative; }
.password-input-wrap input { padding-right: 64px; }
.password-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--jam-deep);
  font: 600 12px 'Work Sans', sans-serif; cursor: pointer; padding: 8px;
}
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }
.auth-signup { text-align: center; margin: 20px 0 0; color: var(--ink-soft); font-size: 14px; }
.auth-store-link { text-align: center; margin: 18px 0 0; font-size: 13px; }
.auth-store-link a { color: var(--ink-soft); }
@media (max-width: 440px) {
  .auth-card-google { padding: 24px 20px; border-radius: 20px; }
  .auth-card-google h2 { font-size: 25px; }
}
