:root {
  color-scheme: light;
  --cream: #fcf6ec;
  --paper: #fffaf2;
  --ink: #381d20;
  --muted: #73565a;
  --wine: #591e30;
  --edge: #e8d7cb;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #ae5733; outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-top: 5px solid var(--wine); border-bottom: 1px solid var(--edge); background: var(--paper); }
.masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 11px; }
.wordmark { display: flex; flex-direction: column; flex: none; color: var(--wine); font: bold 1.84rem/.95 var(--serif); letter-spacing: -.05em; text-decoration: none; }
.wordmark span { font: 700 .72rem/1.2 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; margin-top: 5px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.credit { font-size: .8125rem; color: var(--muted); text-align: right; }
.credit strong, .site-footer strong { color: var(--wine); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 8px; font-weight: 650; font-size: .875rem; text-decoration: none; text-align: center; line-height: 1.15; }
.button-outline { background: var(--paper); color: var(--wine); border-color: #c9a5a7; }
.button-outline:hover { background: #f4e6db; }
.button-primary { background: var(--wine); color: #fff9ee; }
.button-primary:not(:disabled):hover { background: #732a40; }
.hero { margin-top: 28px; display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; border-radius: 17px; background: #541d2c; color: #fff3e1; }
.hero-copy { display: grid; align-content: center; gap: 14px; padding: clamp(28px, 5.2vw, 66px); padding-right: 20px; }
.eyebrow { font-size: .75rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.hero-location { color: #f3c49c; display: flex; gap: 9px; align-items: center; }
.hero-location::before { content: ''; width: 7px; height: 7px; background: #e6a974; transform: rotate(45deg); }
.hero h1 { max-width: 8em; font-size: clamp(2.65rem, 6.5vw, 5.25rem); line-height: .97; letter-spacing: -.058em; }
.hero h1 em { color: #f1bc95; font-weight: 400; }
.hero-copy p:last-child { color: #f5dfd4; font-size: 1rem; line-height: 1.5; max-width: 29ch; }
.hero-photo { position: relative; min-height: 350px; }
.hero-photo img { height: 100%; width: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-photo figcaption, .image-label { position: absolute; right: 10px; bottom: 10px; border-radius: 4px; background: #3c1b21; color: #fff3e1; padding: 4px 7px; font-size: .75rem; font-weight: 650; }
.order-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; margin-top: 15px; border: 1px solid var(--edge); border-radius: 12px; background: #f6ebdd; }
.order-bar h2 { font-size: 1.22rem; }
.order-bar p { margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.order-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.order-links a { padding-inline: 4px; }
#custom-cake { flex: none; }
.button-zomato { background: #952c42; color: white; }
.button-swiggy { background: #9d431c; color: white; }
.button-zomato:hover, .button-swiggy:hover { filter: brightness(.87); }
.catalog { margin-top: 38px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -.04em; }
.filters { display: inline-flex; gap: 5px; }
.filters button { min-height: 44px; min-width: 51px; border: 1px solid var(--edge); border-radius: 30px; padding: 6px 14px; background: var(--paper); color: var(--wine); font-size: .875rem; font-weight: 650; }
.filters button[aria-pressed="true"] { background: var(--wine); color: white; border-color: var(--wine); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--edge); border-radius: 12px; background: var(--paper); }
.product-photo { position: relative; background: #eed8c5; }
.product-photo img { display: block; width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.product-copy { padding: 16px; }
.category { color: #86442e; font-weight: 750; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.product-copy h3 { font-size: 1.48rem; letter-spacing: -.025em; margin: 4px 0; }
.product-copy p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.43; }
.product-actions { display: grid; gap: 7px; margin-top: auto; padding: 0 16px 16px; }
.empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--edge); border-radius: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--edge); margin-top: 30px; padding-block: 17px 24px; font-size: .8125rem; color: var(--muted); }
.owner { max-width: 740px; margin: 28px auto 0; }
.owner-intro { padding: clamp(20px, 5vw, 36px); border-radius: 14px; background: var(--wine); color: #fff3e1; }
.owner-intro .eyebrow { color: #f3c49c; }
.owner-intro h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin-block: 7px 10px; letter-spacing: -.045em; }
.owner-intro p + p { margin-top: 6px; }
.owner-panel { margin-top: 16px; border: 1px solid var(--edge); border-radius: 12px; background: var(--paper); }
.panel-header, .panel-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px; }
.panel-header h2 { font-size: 1.55rem; }
#draft-state { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.editor-item { display: flex; align-items: center; gap: 10px; padding: 9px 15px; border-top: 1px solid var(--edge); }
.editor-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; background: #eed8c5; }
.editor-details { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.editor-details h3 { font-size: 1.12rem; }
.editor-details p { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.editor-actions, .owner-actions, .dialog-actions { display: flex; gap: 8px; }
.editor-actions .button { padding-inline: 10px; }
.panel-footer { border-top: 1px solid var(--edge); flex-wrap: wrap; }
.owner-actions { margin-left: auto; }
#owner-status, #form-status { font-size: .875rem; color: var(--wine); }
dialog { width: min(480px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 19px; border: 1px solid var(--edge); border-radius: 14px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #29141bb5; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.close { width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--wine); font-size: 1.75rem; }
.close:hover { background: #f4e6db; }
dialog label { display: grid; gap: 5px; margin-top: 10px; font-weight: 650; font-size: .875rem; }
dialog input:not([type="checkbox"]), dialog select, dialog textarea { display: block; width: 100%; min-height: 44px; padding: 8px; color: var(--ink); background: white; border: 1px solid #b99d93; border-radius: 7px; font-size: 1rem; }
dialog textarea { resize: vertical; }
.check-label { display: flex; align-items: center; min-height: 44px; }
.check-label input { accent-color: var(--wine); width: 20px; height: 20px; margin: 0 5px 0 0; flex: none; }
#photo-preview img { width: 72px; height: 52px; border-radius: 5px; object-fit: cover; margin-top: 7px; }
#reset-dialog p { margin-top: 8px; line-height: 1.4; }
.dialog-actions { justify-content: end; margin-top: 12px; }
#customizer { width: min(790px, calc(100% - 28px)); }
.customizer-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.model-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: radial-gradient(ellipse at 47% 34%, #fff7e7, #eed7c4);
}
#food-canvas { display: block; width: 100%; height: 260px; cursor: grab; touch-action: none; }
#food-canvas:active { cursor: grabbing; }
.model-caption { position: absolute; left: 10px; top: 10px; padding: 4px 7px; border: 1px solid var(--edge); border-radius: 5px; background: var(--paper); color: var(--wine); font-size: .75rem; font-weight: 700; pointer-events: none; }
.model-controls { display: flex; align-items: center; justify-content: end; gap: 6px; margin-top: 6px; }
.model-controls span { margin-right: auto; color: var(--muted); font-size: .875rem; }
.model-controls button { width: 44px; padding: 0; font-size: 1.25rem; }
.estimate-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; padding: 8px 10px; border: 1px solid var(--edge); border-radius: 8px; background: #f6ebdd; }
#customizer-summary { font-weight: 650; line-height: 1.3; }
.estimate-price { display: grid; gap: 1px; flex: none; text-align: right; color: var(--wine); }
.estimate-price span { font-size: .75rem; font-weight: 650; }
.estimate-price strong { font-family: var(--serif); font-size: 1.48rem; }
.weight-field { border: 0; margin: 12px 0 0; padding: 0; }
.weight-field legend { font-size: .875rem; font-weight: 650; padding: 0 0 5px; }
.cake-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
.cake-fields label:has(#cake-base), .cake-fields .message-field { grid-column: 1 / -1; }
#preview-note { margin-top: 12px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  .shell { width: calc(100% - 28px); }
  .masthead { min-height: 68px; }
  .wordmark { font-size: 1.55rem; }
  .wordmark span { font-size: .63rem; }
  .header-actions { flex-direction: column-reverse; align-items: end; gap: 4px; }
  .header-actions .button { padding-inline: 9px; }
  .hero { margin-top: 15px; grid-template-columns: 1fr; }
  .hero-copy { padding: 21px 19px 19px; gap: 9px; }
  .hero h1 { max-width: 11em; }
  .hero-copy p:last-child { max-width: none; }
  .hero-photo { min-height: 0; aspect-ratio: 2.05; }
  .order-bar { padding: 12px; flex-wrap: wrap; }
  #custom-cake { width: 100%; }
  .catalog { margin-top: 23px; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-copy { padding: 10px; }
  .product-copy h3 { font-size: 1.15rem; }
  .product-copy p:last-child { font-size: .875rem; }
  .product-actions { padding: 0 8px 9px; }
  .product-actions > button { padding-inline: 4px; }
  .image-label { right: 5px; bottom: 5px; }
  .editor-item { padding-inline: 9px; gap: 7px; }
  .editor-item img { width: 40px; height: 40px; }
  .editor-actions { gap: 5px; }
  .editor-actions .button { padding-inline: 7px; }
  .customizer-layout { grid-template-columns: 1fr; gap: 10px; }
  #customizer { padding: 13px; }
  #food-canvas { height: clamp(160px, 24dvh, 204px); }
}
@media (max-width: 345px) {
  .product-actions .order-links { grid-template-columns: 1fr; }
}
