/* Fluffed additions on top of the template's own (Framer SSR) stylesheet.
   Palette: sky #79b6e1 (page), navy #2d497c (dark panels), cream #fbf5e8 (light panels / accent), pink #eb9ac2. */
:root { --fl-sky: #79b6e1; --fl-navy: #2d497c; --fl-cream: #fbf5e8; --fl-pink: #eb9ac2; --fl-font: "Big Shoulders Display", sans-serif; }
html, body { background: var(--fl-sky); }

/* page transition (Framer global enter: y 100px -> 0, .2s tween [.27,0,.51,1]) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: fl-page-in .2s cubic-bezier(.27, 0, .51, 1) both; }
@keyframes fl-page-in { from { transform: translateY(100px); } to { transform: none; } }

/* logo (Fluffed wordmark replaces the template's text logo) */
.fl-logo { display: block; color: var(--fl-cream); line-height: 0; }
.fl-logo svg { display: block; height: 22px; width: auto; }
@media (max-width: 809.98px) { .fl-logo svg { height: 18px; } }

/* fill text (WebGL "Fill Text" in the template; same wipe done with a clipped gradient) */
.fl-fill {
  display: block; width: 100%; position: relative; white-space: pre-wrap; word-break: break-word;
  font-family: var(--fl-font); font-weight: 700; line-height: 1.1; letter-spacing: 0; text-transform: lowercase;
  color: transparent; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to top, var(--fl-navy), var(--fl-navy));
}

/* merch flip faces: only the active product is rendered; faces 2 and 4 are pre-rotated like the template's variants */
.fl-face { display: none; width: 100%; }
.fl-face.is-on, .fl-face:first-child:not(.is-off) { display: block; }
.fl-js .fl-face:first-child:not(.is-on) { display: none; }
.fl-face[data-face="1"], .fl-face[data-face="3"] { transform: rotateX(180deg); }
[data-flip] { transform-origin: 50% 50%; will-change: transform; }

/* menu panel items (open state of the template's menu component) */
.fl-menu-list { box-sizing: border-box; }
.fl-menu-item { width: 100%; }
.fl-menu-item p { margin: 0; }
.fl-menu-item a { color: var(--fl-cream); text-decoration: none; }
.fl-open { background-color: var(--fl-navy) !important; border-radius: 8px; }
.fl-open .framer-15cudks { background-color: var(--fl-navy) !important; }
.fl-open .framer-1sjx54v { background-color: var(--fl-cream) !important; }

/* cart chip: same 40px tile as the menu toggle */
.fl-chip {
  position: absolute; top: 0; right: calc(100% + 8px); z-index: 0;
  display: none; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; white-space: nowrap;
  background: var(--fl-cream); color: var(--fl-navy); text-decoration: none; align-self: flex-start;
  font: 700 18px/1 var(--fl-font); letter-spacing: 2px; text-transform: lowercase;
}
.fl-chip b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--fl-navy); color: var(--fl-cream); font-size: 14px; letter-spacing: 0; }
.fl-chip.is-on { display: inline-flex; animation: fl-pop .35s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes fl-pop { from { transform: scale(.6); opacity: 0; } }

/* custom cursor (spring-follow; placement bottom / centre) */
html.fl-cursor-on, html.fl-cursor-on * { cursor: none !important; }
.fl-cursor { position: fixed; left: 0; top: 0; z-index: 100000; pointer-events: none; opacity: 0; transition: opacity .2s; }
.fl-cursor-dot { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 34px; height: 20px; transition: transform .25s cubic-bezier(.2, 1.4, .4, 1); }
.fl-cursor-dot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fl-cursor-label {
  position: absolute; left: 0; top: 18px; transform: translateX(-50%) scale(0); transform-origin: 50% 0; white-space: pre;
  padding: 10px 20px; border-radius: 10px; border: 2px solid var(--fl-navy); background: var(--fl-cream); color: var(--fl-navy);
  font: 700 24px/24px var(--fl-font); letter-spacing: 2px; text-transform: lowercase; transition: transform .3s cubic-bezier(.2, 1.3, .4, 1);
}
.fl-cursor[data-kind="order"] .fl-cursor-label, .fl-cursor[data-kind="read"] .fl-cursor-label { transform: translateX(-50%) scale(1); }
.fl-cursor[data-kind="read"] .fl-cursor-label { background: var(--fl-navy); color: var(--fl-cream); border-color: var(--fl-cream); }
.fl-cursor[data-kind="order"] .fl-cursor-dot, .fl-cursor[data-kind="read"] .fl-cursor-dot { transform: translate(-50%, -50%) scale(.6); }

/* grid menu cards: cut-out cakes on the card, hover zoom + tilt like the template's image hover */
img[data-cutout] { object-fit: contain !important; padding: 8%; box-sizing: border-box; }
.framer-5UQm5 .framer-xddljf, .framer-xTN7X .framer-xddljf { transition: transform .45s cubic-bezier(.2, 1.2, .4, 1); }
.framer-5UQm5:hover .framer-xddljf { transform: scale(1.4) rotate(8deg); }
[data-order] { cursor: pointer; }
[data-cats] [data-order] { text-decoration: none; }

/* order sheet (built from the template's card + tab + neubrutal button language) */
.fl-sheet { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; pointer-events: none; visibility: hidden; }
.fl-sheet.is-open { pointer-events: auto; visibility: visible; }
.fl-sheet-scrim { position: absolute; inset: 0; background: rgba(27, 44, 77, .55); opacity: 0; transition: opacity .3s cubic-bezier(.44, 0, .56, 1); }
.fl-sheet.is-open .fl-sheet-scrim { opacity: 1; }
.fl-sheet-card {
  position: relative; width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--fl-cream); color: var(--fl-navy); border-radius: 16px;
  transform: translateY(40px) scale(.96); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.25, .4, 1), opacity .25s ease;
}
.fl-sheet.is-open .fl-sheet-card { transform: none; opacity: 1; }
.fl-sheet-media { background: var(--fl-sky); border-radius: 16px 0 0 16px; display: grid; place-items: center; min-height: 360px; padding: 40px; }
.fl-sheet-media img { width: 100%; max-width: 380px; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(27, 44, 77, .25)); }
.fl-sheet-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; font-family: var(--fl-font); text-transform: lowercase; }
.fl-sheet-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--fl-navy); color: var(--fl-cream); font: 700 26px/1 var(--fl-font); cursor: pointer; z-index: 2; }
.fl-sheet-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 44px; }
.fl-sheet-tags span { padding: 6px 12px; border-radius: 6px; background: var(--fl-navy); color: var(--fl-cream); font: 700 14px/14px var(--fl-font); letter-spacing: 2px; }
.fl-sheet-title { margin: 0; font: 700 48px/48px var(--fl-font); letter-spacing: 3px; }
.fl-sheet-about { margin: 0; font: 700 20px/22px var(--fl-font); letter-spacing: 2px; }
.fl-sheet-layers { margin: 0; font: 600 16px/18px var(--fl-font); letter-spacing: 2px; opacity: .75; }
.fl-sheet-label { margin-top: 6px; font: 700 16px/16px var(--fl-font); letter-spacing: 2px; }
.fl-sheet-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fl-sheet-sizes button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 8px; cursor: pointer; text-align: left;
  border: 2px solid var(--fl-navy); background: transparent; color: var(--fl-navy); font-family: var(--fl-font); text-transform: lowercase; letter-spacing: 2px;
  transition: background .3s cubic-bezier(.44, 0, .56, 1), color .3s cubic-bezier(.44, 0, .56, 1);
}
.fl-sheet-sizes b { font: 700 18px/18px var(--fl-font); }
.fl-sheet-sizes i { font: 700 24px/24px var(--fl-font); font-style: normal; }
.fl-sheet-sizes small { font: 600 13px/13px var(--fl-font); opacity: .75; }
.fl-sheet-sizes button:hover, .fl-sheet-sizes button.is-on { background: var(--fl-navy); color: var(--fl-pink); }
.fl-sheet-sizes button.is-on small { color: var(--fl-cream); }
.fl-sheet-row { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.fl-qty { display: inline-flex; align-items: center; border: 2px solid var(--fl-navy); border-radius: 8px; height: 48px; }
.fl-qty button { width: 44px; height: 100%; border: 0; background: none; color: var(--fl-navy); font: 700 24px/1 var(--fl-font); cursor: pointer; }
.fl-qty span { min-width: 28px; text-align: center; font: 700 24px/1 var(--fl-font); }
.fl-btn { position: relative; border: 0; padding: 0; background: none; cursor: pointer; flex: 1; min-width: 200px; }
.fl-btn-face {
  display: block; padding: 12px 20px; border-radius: 8px; background: var(--fl-navy); color: var(--fl-cream); text-align: center;
  font: 700 24px/24px var(--fl-font); letter-spacing: 2px; text-transform: lowercase; box-shadow: 4px 4px 0 0 var(--fl-sky);
  transition: transform .4s cubic-bezier(.2, 1.3, .4, 1), box-shadow .4s cubic-bezier(.2, 1.3, .4, 1);
}
.fl-btn:hover .fl-btn-face, .fl-btn:focus-visible .fl-btn-face { transform: translate(4px, 4px); box-shadow: 0 0 0 0 var(--fl-sky); }
@media (max-width: 809.98px) {
  .fl-sheet { place-items: end center; }
  .fl-sheet-card { grid-template-columns: 1fr; width: 100vw; max-height: 92vh; border-radius: 16px 16px 0 0; transform: translateY(100%); }
  .fl-sheet-media { min-height: 0; padding: 24px; border-radius: 16px 16px 0 0; }
  .fl-sheet-media img { max-width: 220px; }
  .fl-sheet-body { padding: 24px 16px 28px; }
  .fl-sheet-title { font-size: 32px; line-height: 32px; }
  .fl-sheet-about { font-size: 16px; line-height: 18px; }
  .fl-sheet-sizes { gap: 6px; }
  .fl-sheet-sizes button { padding: 10px 8px; }
  .fl-sheet-sizes b { font-size: 15px; line-height: 15px; }
  .fl-sheet-sizes i { font-size: 20px; line-height: 20px; }
}

/* toast */
.fl-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 9500; transform: translate(-50%, 140%); display: flex; gap: 16px; align-items: center;
  padding: 14px 18px; border-radius: 10px; background: var(--fl-navy); color: var(--fl-cream); max-width: calc(100vw - 32px);
  font: 700 18px/20px var(--fl-font); letter-spacing: 1.5px; text-transform: lowercase; transition: transform .45s cubic-bezier(.2, 1.25, .4, 1);
}
.fl-toast.is-on { transform: translate(-50%, 0); }
.fl-toast a { color: var(--fl-pink); white-space: nowrap; }

/* order summary inside the booking form */
.fl-order { width: 100%; display: flex; flex-direction: column; gap: 12px; font-family: var(--fl-font); color: var(--fl-navy); text-transform: lowercase; letter-spacing: 2px; }
.fl-order-empty { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 16px; border: 2px dashed var(--fl-navy); border-radius: 8px; }
.fl-order-empty p { margin: 0; font: 700 18px/20px var(--fl-font); }
.fl-order-empty a { color: var(--fl-navy); font: 700 18px/20px var(--fl-font); }
.fl-order-list { display: flex; flex-direction: column; border: 2px solid var(--fl-navy); border-radius: 8px; overflow: hidden; }
.fl-order-row { display: grid; grid-template-columns: 1fr auto 36px; align-items: center; gap: 8px; padding: 10px 6px 10px 14px; }
.fl-order-row + .fl-order-row { border-top: 2px solid rgba(45, 73, 124, .18); }
.fl-order-name { font: 700 18px/20px var(--fl-font); }
.fl-order-name small { display: block; font: 600 14px/16px var(--fl-font); opacity: .7; }
.fl-order-price { font: 700 20px/20px var(--fl-font); }
.fl-order-rm { width: 30px; height: 30px; border-radius: 6px; border: 0; background: var(--fl-navy); color: var(--fl-cream); font: 700 20px/1 var(--fl-font); cursor: pointer; }
.fl-order-total { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }
.fl-order-total span { font: 700 20px/20px var(--fl-font); }
.fl-order-total b { font: 700 32px/32px var(--fl-font); }
.fl-qr { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.fl-qr-box {
  width: 120px; height: 120px; border-radius: 10px; border: 2px dashed var(--fl-navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: repeating-linear-gradient(45deg, rgba(45, 73, 124, .06) 0 8px, transparent 8px 16px); text-align: center;
}
.fl-qr-box span { font: 700 18px/18px var(--fl-font); }
.fl-qr-box small { font: 600 12px/12px var(--fl-font); opacity: .7; }
.fl-qr p { margin: 0; font: 700 16px/19px var(--fl-font); }
[data-order-form] button[type="submit"].fl-ready { cursor: pointer; --border-color: transparent !important; }
[data-order-form] button[type="submit"].fl-ready p { color: var(--fl-cream) !important; }
[data-order-form] button[type="submit"]:not(.fl-ready) p { color: var(--fl-sky) !important; }
@media (max-width: 809.98px) { .fl-qr { grid-template-columns: 96px 1fr; } .fl-qr-box { width: 96px; height: 96px; } }

/* sticky-menu rows are order shortcuts */
[data-order][data-size] { cursor: pointer; }
[data-order][data-size]:hover .framer-1auwg0p { text-decoration: underline; text-underline-offset: 4px; }

/* cut-out cakes sit on a cream tile, like the catalogue's product shots */
[data-cats] .framer-h6djmk, [data-cats] .framer-xddljf { background-color: var(--fl-cream); }

/* footer bottom row: cream on sky reads poorly, use navy (template: yellow on brown) */
[data-framer-name="left item"] a, [data-framer-name="center item"] a, [data-framer-name="right item"] a { color: var(--fl-navy) !important; }
[data-framer-name="center item"] .framer-1mc8rqf { background-color: var(--fl-navy) !important; }

/* legibility: after the recolour the page is light sky, so a few light-on-light pairings switch to navy
   (measured with _teardown/tools/contrast.py; the rest are fixed per element in build/home_page.py) */
.framer-1i7a40g, .framer-1i7a40g *,
[data-framer-name="Location and Time"], [data-framer-name="Location and Time"] *,
.framer-r2xb39, .framer-r2xb39 *,
.framer-v-16zzu9g .framer-qlme22 .framer-text, .framer-v-8lm4mz .framer-qlme22 .framer-text,
.framer-v-136k2ae .framer-1wbif3e, .framer-v-136k2ae .framer-1wbif3e .framer-text {
  --framer-text-color: #2d497c !important; color: #2d497c !important;
}
[data-framer-name="Scroll Down"] [style*="background-color"] { background-color: #2d497c !important; }
.framer-1xkl7xj, .framer-1xkl7xj * { background-image: none !important; -webkit-text-fill-color: #fbf5e8 !important; color: #fbf5e8 !important; }
/* tablet hero uses the portrait photo, where cream reads better than navy */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .framer-1i7a40g, .framer-1i7a40g *, [data-framer-name="Location and Time"], [data-framer-name="Location and Time"] *,
  .framer-r2xb39, .framer-r2xb39 * { --framer-text-color: #fbf5e8 !important; color: #fbf5e8 !important; }
  [data-framer-name="Scroll Down"] [style*="background-color"] { background-color: #fbf5e8 !important; }
}

/* journal cards: a 4:5 photo in the free space between the post list and the big word */
.fl-jphoto { position: relative; flex: 1 1 0; min-height: 0; width: 100%; margin: 16px 0; }
.fl-jphoto img { position: absolute; inset: 0; margin: auto; display: block; width: auto; height: auto;
  max-width: 100%; max-height: 100%; border-radius: 12px; }
