/* oven v2 — home bakery shopfront. Awning, round oven window with steam, flip-card batch clock, chalk menu board,
   kraft-bag credits, order tickets on a rail, glass display case, recipe card. */
[data-theme='oven'] { --wood: #7A4A2A; --kraft: #C99E6B; --chalk: #2B2420; --cream: #F6EEDC; --gold: #F2C14E; --leaf: #2E6B4F; }
body[data-theme='oven'] { background: radial-gradient(rgba(122, 74, 42, .06) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--bg); }

/* intro: the oven warms up */
.ov-glow { background: #1A0F0A; color: var(--cream); overflow: hidden; }
.ov-glow div { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.ov-glow i { position: absolute; top: 50%; left: 50%; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; background: radial-gradient(#FF9B3D, rgba(232, 89, 12, .5) 40%, transparent 70%); filter: blur(10px); transform: scale(.1); opacity: 0; }
.ov-glow b { position: relative; font: 400 34px/1.2 var(--f-display); }
.ov-glow span { position: relative; font-size: 14px; opacity: .8; }
.fx2 .k-intro.ov-glow.play i { animation: ov-warm 1s var(--ease) forwards; }
.fx2 .k-intro.ov-glow.play { animation: ov-open .3s .95s ease-in forwards; }
@keyframes ov-warm { to { transform: scale(1.4); opacity: 1; } }
@keyframes ov-open { to { opacity: 0; } }

/* front: awning + hanging sign + round window */
.ov-front { position: relative; padding-bottom: 28px; }
.ov-awning { position: relative; height: 54px; background: repeating-linear-gradient(90deg, var(--accent) 0 30px, var(--cream) 30px 60px); box-shadow: inset 0 -10px 16px -10px rgba(0, 0, 0, .25); }
.ov-awning i { position: absolute; left: 0; right: 0; top: 100%; height: 16px; background: radial-gradient(circle at 15px 0, var(--accent) 14.5px, transparent 15px) 0 0 / 60px 16px repeat-x, radial-gradient(circle at 45px 0, var(--cream) 14.5px, transparent 15px) 0 0 / 60px 16px repeat-x; filter: drop-shadow(0 3px 2px rgba(58, 36, 22, .18)); transform-origin: top; }
.fx2 .ov-awning i { animation: ov-flutter 4s ease-in-out infinite; }
@keyframes ov-flutter { 50% { transform: scaleY(1.18) skewX(-2deg); } }
.ov-sign { position: absolute; z-index: 3; top: 70px; right: 18px; transform-origin: 50% -26px; }
.ov-sign::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 34px; height: 22px; margin-left: -17px; border: 1.5px solid var(--wood); border-bottom: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ov-sign span { display: block; padding: 6px 12px; border-radius: 6px; background: var(--leaf); color: var(--cream); font: 400 14px/1.3 var(--f-display); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .4), inset 0 0 0 2px rgba(255, 255, 255, .15); }
.ov-sign.is-closed span { background: var(--muted); }
.fx2 .ov-sign { animation: ov-swing 3.4s ease-in-out infinite; }
@keyframes ov-swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.ov-front .demo-tag { top: 74px; }

.ov-hero { display: grid; justify-items: center; gap: 22px; padding: 46px 16px 0; text-align: center; }
.ov-window { position: relative; width: min(76vw, 340px); aspect-ratio: 1; border-radius: 50%; background: #2B1A12; padding: 12px;
  box-shadow: 0 0 0 6px #C9A45C, 0 0 0 14px var(--text), 0 30px 50px -20px rgba(58, 36, 22, .6); }
.ov-window img { width: 100%; height: 100% !important; object-fit: cover; border-radius: 50%; }
.ov-window::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 40px rgba(255, 140, 40, .55), inset 0 -20px 40px rgba(255, 120, 20, .35);
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 38%); }
.fx2 .ov-window::after { animation: ov-ember 3s ease-in-out infinite; }
@keyframes ov-ember { 50% { box-shadow: inset 0 0 56px rgba(255, 150, 40, .7), inset 0 -24px 46px rgba(255, 110, 20, .45); } }
.ov-steam { position: absolute; left: 22%; right: 22%; bottom: 82%; height: 110px; pointer-events: none; display: none; }
.fx1 .ov-steam, .fx2 .ov-steam { display: block; }
.ov-steam i { position: absolute; bottom: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .85); filter: blur(9px); opacity: 0; animation: ov-steam 3.6s ease-out infinite; }
.ov-steam i:nth-child(1) { left: 8%; } .ov-steam i:nth-child(2) { left: 34%; animation-delay: .9s; } .ov-steam i:nth-child(3) { left: 58%; animation-delay: 1.8s; } .ov-steam i:nth-child(4) { left: 80%; animation-delay: 2.7s; }
@keyframes ov-steam { 0% { transform: translateY(0) scale(.6); opacity: 0; } 25% { opacity: .75; } 100% { transform: translate(14px, -110px) scale(1.8); opacity: 0; } }

.ov-intro { display: grid; justify-items: center; gap: 12px; max-width: 560px; }
.ov-kicker { display: flex; align-items: center; gap: 10px; color: var(--at); font-weight: 600; font-size: 14px; letter-spacing: .08em; }
.ov-kicker::before, .ov-kicker::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.ov-name { font: 400 clamp(34px, 10vw, 62px)/1.15 var(--f-display); color: var(--text); text-wrap: balance; }
.ov-tag { color: var(--muted); font-size: 16px; }
.ov-intro .k-status { justify-content: center; }
.ov-chalk { position: relative; padding: 12px 16px; border-radius: 8px; background: var(--chalk); color: var(--cream); font: 400 15px/1.5 var(--f-display); box-shadow: 0 0 0 5px var(--wood), 0 12px 22px -12px rgba(0, 0, 0, .5); transform: rotate(-1deg); }
.ov-contacts { justify-content: center; width: 100%; }
.ov-contacts .btn-primary { box-shadow: 0 10px 24px -10px var(--accent); }
.ov-trust { max-width: 560px; margin: 26px auto 0; padding: 0 16px; }
.ov-trust div { padding: 12px 10px; border-radius: 12px; border: 1.5px dashed var(--line); background: var(--surface); text-align: center; align-items: center; }
.ov-trust dd { color: var(--at); }
.ov-trust dd.sm { font-size: 17px; white-space: nowrap; }

[data-theme='oven'] .k-jump { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); justify-content: safe center; border-bottom: 1px solid var(--line); }
[data-theme='oven'] .k-jump a { border: 1.5px solid var(--line); background: var(--surface); color: var(--text); }
[data-theme='oven'] .k-jump a:hover { border-color: var(--accent); color: var(--at); }

.ov-main { max-width: 1080px; margin: 0 auto; }
.ov-sec { padding: 40px 16px; scroll-margin-top: 56px; }
.ov-h { display: flex; align-items: center; gap: 14px; font: 400 clamp(24px, 6.5vw, 34px)/1.25 var(--f-display); text-align: center; justify-content: center; }
.ov-h::before, .ov-h::after { content: ''; flex: 1; max-width: 80px; height: 10px; background: radial-gradient(circle, var(--accent) 2px, transparent 2.5px) 0 50% / 10px 10px repeat-x; }
.ov-sub { margin: 8px auto 0; color: var(--muted); text-align: center; font-size: 14px; max-width: 520px; }

/* promo: batch closing clock with flip cards */
.ov-batch { margin: 28px 16px 0; padding: 18px; border-radius: 18px; background: var(--accent); color: #fff; display: grid; gap: 14px; box-shadow: 0 18px 30px -18px var(--accent); }
.ov-batch-t { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ov-batch-t p { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.ov-code { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px dashed rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); color: #fff; font: 14px var(--f-body); cursor: pointer; }
.ov-code b { letter-spacing: .08em; }
.ov-flip { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.ov-flip-l { width: 100%; font-size: 13px; opacity: .85; }
.ov-unit { display: grid; justify-items: center; gap: 4px; perspective: 300px; }
.ov-unit b { position: relative; display: block; min-width: 58px; padding: 8px 6px; border-radius: 8px; background: #2B1A12; color: var(--cream); font: 400 30px/1 var(--f-display); text-align: center; font-variant-numeric: tabular-nums; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35); transform-origin: 50% 50%; }
.ov-unit b::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.ov-unit b.flip { animation: ov-flipin .45s var(--ease); }
@keyframes ov-flipin { 0% { transform: rotateX(-80deg); filter: brightness(.6); } 100% { transform: none; } }
.ov-unit small { font-size: 12px; opacity: .85; }

/* menu board */
.ov-board { --text: var(--cream); --muted: #C7B69A; --line: rgba(246, 238, 220, .22); --surface: transparent; --accent: var(--cream); --at: var(--gold); --on: var(--chalk); --bg: var(--chalk);
  position: relative; padding: 26px 16px 18px; border-radius: 12px; color: var(--text);
  background: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .06), transparent 50%), radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, .04), transparent 50%), var(--chalk);
  box-shadow: 0 0 0 10px var(--wood), 0 0 0 12px #5A341C, 0 28px 40px -20px rgba(58, 36, 22, .7); margin: 10px 6px; }
.ov-board-h { font: 400 clamp(26px, 7vw, 36px)/1.2 var(--f-display); text-align: center; margin-bottom: 16px; }
.ov-board-h::after { content: ''; display: block; width: 120px; height: 8px; margin: 6px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M2 5 C20 1 30 8 50 4 S90 2 118 5' fill='none' stroke='%23F2C14E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ov-board .k-chips { justify-content: safe center; }
.ov-board .k-chips button { border-color: var(--line); }
.ov-board .k-chips button.on { background: var(--cream); color: var(--chalk); border-color: var(--cream); }
.ov-menu li { display: flex; align-items: center; gap: 10px; min-height: 70px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ov-menu li:last-child { border-bottom: 0; }
.ov-dish { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; background: #3A302A; box-shadow: 0 0 0 3px var(--cream); }
.ov-dish img { width: 100%; height: 100%; object-fit: cover; }
.ov-item { display: flex; flex-direction: column; min-width: 0; flex: 0 1 auto; }
.ov-item b { font: 600 17px/1.35 var(--f-body); }
.ov-item small { color: var(--muted); font-size: 13px; }
.ov-item .k-badge { position: static; align-self: flex-start; margin: 2px 0; padding: 0 8px; font-size: 11px; }
.ov-item .k-badge-new { background: var(--gold); color: var(--chalk); }
.ov-item .k-stock { margin: 0; }
.ov-dots { flex: 1 1 20px; min-width: 12px; border-bottom: 2px dotted var(--line); transform: translateY(6px); }
.ov-price { font: 400 20px/1 var(--f-display); color: var(--gold); white-space: nowrap; }
.ov-menu .is-sold .ov-price { text-decoration: line-through; color: var(--muted); }
.ov-menu .k-add { min-height: 36px; padding: 0 10px; border-radius: 999px; }
.ov-menu .k-add .k-add-on { display: none; }
.ov-menu .k-add.added { width: 36px; padding: 0; background: var(--gold); border-color: var(--gold); color: var(--chalk); }
.ov-menu .k-add.added .k-add-l { display: none; }
.ov-menu .k-add { white-space: nowrap; }
@media (max-width: 559px) {
  .ov-menu li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; }
  .ov-dish { grid-row: span 2; }
  .ov-item { grid-row: span 2; }
  .ov-dots { display: none; }
  .ov-price { justify-self: end; align-self: end; }
  .ov-menu .k-add { justify-self: end; align-self: start; }
}

/* credits: kraft bags */
#credits.ov-sec { overflow-x: clip; }
.ov-bags { display: grid; gap: 26px; margin-top: 26px; }
.ov-bag { position: relative; padding: 46px 18px 20px; color: #3A2416; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 7px), linear-gradient(#D3AB78, var(--kraft));
  --zz: 9px; mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zz) * 2) var(--zz) repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--zz)) no-repeat;
  filter: drop-shadow(0 14px 14px rgba(58, 36, 22, .22)); transform: rotate(var(--r, 0deg)); }
.ov-bag::before { content: ''; position: absolute; left: 0; right: 0; top: var(--zz); height: 22px; background: linear-gradient(rgba(58, 36, 22, .16), rgba(58, 36, 22, .04)); border-bottom: 1px dashed rgba(58, 36, 22, .25); }
.ov-sticker { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; align-content: center; width: 74px; height: 74px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; line-height: 1.25; text-align: center; transform: rotate(-12deg); box-shadow: 0 0 0 3px #fff, 0 6px 10px -4px rgba(0, 0, 0, .4); }
.ov-sticker b { font: 400 12px/1.2 var(--f-display); }
.ov-proof { display: block; width: 62%; padding: 6px 6px 0; margin: 0 0 12px; border: 0; background: #fff; transform: rotate(-2deg); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .35); cursor: zoom-in; }
.ov-proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ov-proof::after { content: ''; display: block; height: 14px; }
.ov-quote { font: 400 18px/1.55 var(--f-display); padding-right: 70px; }
.ov-proof + .ov-quote { padding-right: 0; }
.ov-who { margin-top: 10px; font-weight: 600; }
.ov-who span { font-weight: 400; color: #5E4130; }
.ov-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: #5E4130; }
.fx1 .ov-bag[data-reveal], .fx2 .ov-bag[data-reveal] { transform: translateY(-36px) rotate(calc(var(--r) * 3)); transition: opacity .4s var(--ease), transform .8s var(--spring); transition-delay: calc(var(--i) * 110ms); }
.fx1 .ov-bag.in, .fx2 .ov-bag.in { transform: rotate(var(--r, 0deg)); }
.fx2 .ov-bag[data-reveal] .ov-sticker { transform: scale(2) rotate(20deg); opacity: 0; transition: transform .45s var(--spring), opacity .2s; transition-delay: calc(var(--i) * 110ms + .55s); }
.fx2 .ov-bag.in .ov-sticker { transform: rotate(-12deg); opacity: 1; }
.ov-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.ov-row .btn { flex: 0 1 auto; }

/* queue: tickets clipped on a rail */
.ov-rail-wrap { overflow-x: auto; margin: 18px -16px 0; padding: 0 16px 20px; scrollbar-width: none; scroll-snap-type: x proximity; }
.ov-rail-wrap::-webkit-scrollbar { display: none; }
.ov-rail { position: relative; display: flex; gap: 14px; width: max-content; min-width: 100%; padding-top: 22px; }
.ov-rail::before { content: ''; position: absolute; left: -16px; right: -16px; top: 8px; height: 10px; border-radius: 5px; background: linear-gradient(#E9E4DA, #9C958A 60%, #6F695F); box-shadow: 0 3px 4px rgba(0, 0, 0, .2); }
.ov-ticket { position: relative; display: grid; gap: 4px; width: 168px; padding: 22px 14px 22px; background: #FFFDF7; transform-origin: 50% -10px; transform: rotate(var(--r)); scroll-snap-align: start;
  --zz: 7px; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zz) * 2) var(--zz) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--zz)) no-repeat;
  filter: drop-shadow(0 8px 8px rgba(58, 36, 22, .18)); }
.ov-clip { position: absolute; top: -2px; left: 50%; width: 34px; height: 16px; margin-left: -17px; border-radius: 0 0 4px 4px; background: linear-gradient(#B8B2A6, #7E776C); }
.ov-no { font: 400 26px/1 var(--f-display); color: var(--at); }
.ov-t-who { font-weight: 600; }
.ov-t-item { color: var(--muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.ov-t-st { display: grid; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 600; }
.ov-t-st small { font-weight: 400; color: var(--muted); }
.is-making .ov-t-st { color: var(--at); } .is-shipped .ov-t-st { color: var(--leaf); }
.fx2 .ov-ticket.in { animation: ov-drop .8s var(--spring) backwards, ov-sway 3.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 90ms), calc(.9s + var(--i) * .35s); }
@keyframes ov-drop { from { transform: translateY(-30px) rotate(12deg); opacity: 0; } }
@keyframes ov-sway { from { transform: rotate(var(--r)); } to { transform: rotate(calc(var(--r) * -1)); } }
.fx1 .ov-ticket[data-reveal] { transform: translateY(-30px) rotate(12deg); transition: opacity .4s, transform .7s var(--spring); transition-delay: calc(var(--i) * 90ms); }
.fx1 .ov-ticket.in { transform: rotate(var(--r)); }
.fx2 .ov-ticket[data-reveal] { transform: rotate(var(--r)); transition: none; }

/* gallery: glass display case */
.ov-case { position: relative; margin-top: 22px; padding: 16px 12px 0; border-radius: 16px 16px 6px 6px; background: linear-gradient(#FFF8EC, #F6E8CF); box-shadow: 0 0 0 8px var(--wood), 0 24px 36px -20px rgba(58, 36, 22, .6); overflow: hidden; }
.ov-case::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 40%, transparent 48%, transparent 60%, rgba(255, 255, 255, .3) 64%, transparent 70%); background-size: 220% 100%; background-position: calc(100% - var(--sp, 0) * 160%) 0; }
.ov-case ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ov-case li { position: relative; padding: 10px 8px 14px; border-bottom: 8px solid #E2CFA7; box-shadow: 0 6px 0 -2px rgba(122, 74, 42, .25); text-align: center; }
.ov-case button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 4px #fff, 0 10px 10px -6px rgba(58, 36, 22, .45); cursor: zoom-in; transition: transform .3s var(--spring); }
.ov-case button:hover { transform: translateY(-4px) scale(1.04); }
.ov-case img { width: 100%; height: 100%; object-fit: cover; }
.ov-case span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* back: recipe card + faq */
.ov-back { display: grid; gap: 34px; }
.ov-card { position: relative; padding: 22px 18px 20px; border-radius: 6px; background: #FFFDF7;
  border-top: 6px solid var(--accent); box-shadow: 0 16px 26px -18px rgba(58, 36, 22, .55); transform: rotate(.6deg); }
.ov-card-h { font: 400 26px/1.3 var(--f-display); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 3px double #C9D6EA; }
.ov-steps { display: grid; gap: 0; counter-reset: s; }
.ov-steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; line-height: 30px; }
.ov-steps li::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; transform: translateY(-1px); }
.ov-track { margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.ov-faq-wrap .ov-h { margin-bottom: 18px; }
.ov-faq details { background: var(--surface); }
.ov-faq details[open] { border-color: var(--accent); }

@media (min-width: 700px) {
  .ov-bags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
  .ov-case li { padding: 16px 13% 20px; }
  .ov-batch { margin: 30px 24px 0; grid-template-columns: 1fr auto; align-items: center; }
  .ov-flip-l { width: auto; margin-right: 4px; align-self: center; }
  .ov-board { padding: 34px 34px 24px; margin: 10px 14px; }
}
@media (min-width: 1000px) {
  .ov-hero { grid-template-columns: 420px minmax(0, 1fr); justify-items: start; align-items: center; gap: 56px; max-width: 1080px; margin: 0 auto; padding: 60px 32px 0; text-align: left; }
  .ov-window { width: 400px; }
  .ov-intro { justify-items: start; }
  .ov-intro .k-status, .ov-contacts { justify-content: flex-start; }
  .ov-contacts { flex-direction: row; } .ov-contacts .btn { flex: 0 0 auto; }
  .ov-trust { max-width: 1016px; margin-top: 40px; }
  .ov-sign { right: max(32px, calc(50% - 520px)); }
  .ov-bags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-menu { columns: 2; column-gap: 48px; }
  .ov-menu li { break-inside: avoid; }
  .ov-back { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .ov-faq-wrap .ov-h { justify-content: flex-start; } .ov-faq-wrap .ov-h::before { display: none; }
}
