/* Small additions on top of the original stylesheet (styles.css). */

/* ---------------------------------------------------------------- Poppins, served from this site */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 112.70%; ascent-override: 93.16%; descent-override: 31.05%; line-gap-override: 8.87%; }
:root { --font-sans: "Poppins", "Poppins Fallback", system-ui, sans-serif; --font-display: "Poppins", "Poppins Fallback", system-ui, sans-serif; }
body { font-family: "Poppins", "Poppins Fallback", system-ui, sans-serif; }

html { scroll-behavior: smooth; }

/* Hover motion that the original did with framer-motion */
.brw-lift { transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.brw-lift.brw-in:hover { transform: translateY(-6px) !important; }
.brw-pop { transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.brw-pop.brw-in:hover { transform: scale(1.06) !important; }

/* "Show more" panel on the home page */
.brw-expand { overflow: hidden; transition: height .35s ease, opacity .35s ease; }

/* Toasts (look and placement of the original "sonner" toaster: top-center, rich colours) */
.brw-toaster {
  position: fixed; top: 32px; left: 50%; transform: translateX(-50%);
  width: 356px; max-width: calc(100vw - 32px);
  z-index: 999999; display: flex; flex-direction: column; gap: 14px;
  pointer-events: none;
}
@media (max-width: 600px) { .brw-toaster { top: 16px; } }
.brw-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 6px;
  padding: 16px; border-radius: 8px; border: 1px solid;
  font: 400 13px/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  opacity: 0; transform: translateY(-100%);
  transition: opacity .4s ease, transform .4s ease;
}
.brw-toast.brw-show { opacity: 1; transform: none; }
.brw-toast .brw-toast-icon { display: flex; width: 16px; height: 16px; margin-left: -3px; margin-right: 4px; flex-shrink: 0; }
.brw-toast .brw-toast-icon svg { width: 16px; height: 16px; }
.brw-toast .brw-toast-title { font-weight: 500; }
.brw-toast-success { background: hsl(143, 85%, 96%); border-color: hsl(145, 92%, 87%); color: hsl(140, 100%, 27%); }
.brw-toast-error { background: hsl(359, 100%, 97%); border-color: hsl(359, 100%, 94%); color: hsl(360, 100%, 45%); }

/* Shown under the enquiry form or checkout when the database couldn't save it: send on WhatsApp instead */
.brw-fallback {
  border-radius: 12px; border: 1px solid hsl(49, 91%, 84%); background: hsl(49, 100%, 97%);
  color: hsl(31, 92%, 28%); padding: 16px; font-size: 14px; line-height: 1.5; text-align: center;
}
.brw-fallback a { display: inline-block; margin-top: 12px; }

/* ---------------------------------------------------------------- home page banner slider */
.brw-slider { display: grid; }
.brw-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.brw-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.brw-slide > div { padding-bottom: 7.5rem; }
.brw-dots { position: absolute; left: 50%; bottom: calc(12% + 14px); z-index: 2; display: flex; gap: 8px; transform: translateX(-50%); }
.brw-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: oklch(100% 0 0 / .9); box-shadow: 0 0 0 1px oklch(33% .13 340 / .35); cursor: pointer; transition: width .3s ease, background .3s ease; }
.brw-dots button[aria-current="true"] { width: 24px; background: var(--primary); }

/* ---------------------------------------------------------------- home page rows of package cards */
.brw-carousel { position: relative; margin-top: 1.25rem; }
.brw-track { display: flex; gap: 16px; margin: 0 -24px; padding: 6px 24px 26px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
.brw-track::-webkit-scrollbar { display: none; }
.brw-track > li { display: flex; flex: 0 0 clamp(200px, 62vw, 245px); scroll-snap-align: start; }
.brw-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 10px; background: var(--card); color: var(--foreground); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); transition: box-shadow .25s ease, transform .25s ease; }
.brw-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .16); }
.brw-card-img { position: relative; aspect-ratio: 1; overflow: hidden; }
.brw-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.brw-card:hover .brw-card-img img { transform: scale(1.05); }
.brw-badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.brw-card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 12px 14px; }
.brw-card-title { display: -webkit-box; min-height: 2.7em; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.brw-card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: var(--muted-foreground); font-size: 12px; }
.brw-card-price { white-space: nowrap; }
.brw-card-price s { margin-right: 6px; font-size: 11px; }
.brw-card-price b { color: var(--foreground); font-size: 15px; font-weight: 700; }
.brw-card-off { color: var(--accent); font-weight: 600; white-space: nowrap; }
.brw-rating { display: inline-flex; align-items: center; gap: 6px; }
.brw-stars { position: relative; display: inline-block; color: oklch(88% .02 60); font-size: 15px; letter-spacing: 1px; line-height: 1; }
.brw-stars::before { content: "★★★★★"; }
.brw-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--rating); overflow: hidden; color: #f5b400; white-space: nowrap; }
.brw-book { align-self: flex-start; margin-top: auto; padding: 7px 14px; border-radius: 6px; background: var(--primary); color: var(--primary-foreground); font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.brw-card-body > .brw-card-row:nth-last-child(2) { margin-bottom: 6px; }
.brw-arrow { position: absolute; top: 102px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; transition: background .2s ease; }
.brw-arrow:hover { background: rgba(0, 0, 0, .65); }
.brw-prev { left: -4px; }
.brw-next { right: -4px; }
.brw-arrow[hidden] { display: none; }
@media (hover: none) { .brw-arrow { display: none; } }
.brw-more { margin-top: 4px; text-align: center; }
.brw-more a { display: inline-block; padding: 8px 22px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary); font-size: 13px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.brw-more a:hover { background: var(--primary); color: var(--primary-foreground); }

/* ---------------------------------------------------------------- floating WhatsApp button (every page) */
.brw-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.brw-wa-float:hover { transform: scale(1.08); }
.brw-wa-float svg { width: 28px; height: 28px; }
@media (max-width: 600px) { .brw-wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } }

/* ---------------------------------------------------------------- shared bits for category and package pages */
.brw-star { color: #f5b400; }
.brw-kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; color: var(--muted-foreground); font-size: 13px; }
.brw-crumbs a:hover { color: var(--accent); }
.brw-crumbs > span:last-child { color: var(--foreground); font-weight: 600; }
.brw-pdp .brw-crumbs, main > div > .brw-crumbs:first-child { margin-top: 0; }
main > section.bg-muted\/40 { margin-top: 48px; }

/* ---------------------------------------------------------------- category pages */
.brw-cat-banner { position: relative; height: clamp(180px, 24vw, 280px); overflow: hidden; background: var(--ink); }
.brw-cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.brw-cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(25% .08 320 / .05) 20%, oklch(25% .08 320 / .88) 72%); }
.brw-cat-banner-text { position: absolute; top: 50%; right: max(24px, calc((100% - 1400px) / 2 + 24px)); z-index: 1; max-width: min(46%, 560px); color: var(--ink-foreground); text-align: right; transform: translateY(-50%); }
.brw-cat-banner-text .brw-kicker { color: var(--gold); font-size: 14px; }
.brw-cat-banner-line { margin-top: 6px; font-size: clamp(20px, 2.8vw, 36px); font-weight: 700; line-height: 1.2; }
@media (max-width: 640px) {
  .brw-cat-banner::after { background: linear-gradient(180deg, transparent 15%, oklch(25% .08 320 / .88) 85%); }
  .brw-cat-banner-text { top: auto; bottom: 16px; left: 20px; right: 20px; max-width: none; text-align: left; transform: none; }
}
.brw-occ-strip { display: flex; gap: 12px; margin: 20px -24px 0; padding: 4px 24px 8px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.brw-occ-strip::-webkit-scrollbar { display: none; }
.brw-occ-strip > li { flex: none; }
.brw-occ { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 96px; color: var(--foreground); font-size: 12px; font-weight: 500; line-height: 1.25; text-align: center; }
.brw-occ img { width: 96px; height: 96px; border: 2px solid transparent; border-radius: 14px; object-fit: cover; transition: transform .2s ease, border-color .2s ease; }
.brw-occ:hover img { transform: translateY(-2px); }
.brw-occ.is-current img { border-color: var(--accent); }
.brw-occ.is-current span { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) { .brw-occ { width: 76px; } .brw-occ img { width: 76px; height: 76px; } }
.brw-cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.brw-cat-meta { display: flex; flex-wrap: wrap; align-items: center; margin-top: 6px; color: var(--muted-foreground); font-size: 14px; }
.brw-cat-meta > span + span::before { content: "|"; margin: 0 10px; color: var(--border); }
.brw-sort { display: inline-flex; align-items: center; gap: 4px; padding-left: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); color: var(--muted-foreground); font-size: 14px; }
.brw-sort select { padding: 10px 10px 10px 4px; border: 0; background: transparent; color: var(--foreground); font-weight: 600; outline: none; cursor: pointer; }
.brw-sort:focus-within { border-color: var(--accent); }
.brw-cat-intro { max-width: 75ch; margin-top: 12px; color: var(--muted-foreground); font-size: 15px; line-height: 1.6; }
.brw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .brw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .brw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brw-grid > li { display: flex; }
.brw-grid > li[hidden] { display: none; }
.brw-card--grid .brw-card-body { gap: 4px; }
.brw-card--grid .brw-card-title { min-height: 0; font-size: 15px; font-weight: 500; }
.brw-card--grid .brw-card-row { flex-wrap: wrap; }
.brw-card--grid .brw-card-price { margin-left: auto; }
.brw-card--grid .brw-card-row:last-child { margin-top: auto; padding-top: 4px; }
.brw-showmore { margin-top: 24px; text-align: center; }
.brw-showmore button { padding: 12px 28px; border: 1px solid var(--primary); border-radius: 999px; background: transparent; color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.brw-showmore button:hover { background: var(--primary); color: var(--primary-foreground); }
.brw-showmore button[hidden] { display: none; }
.brw-faq { margin-top: 16px; border-top: 1px solid var(--border); }
.brw-faq-item { border-bottom: 1px solid var(--border); }
.brw-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; list-style: none; cursor: pointer; }
.brw-faq-item summary::-webkit-details-marker { display: none; }
.brw-faq-item summary::after { content: "+"; flex: none; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.brw-faq-item[open] summary::after { transform: rotate(45deg); }
.brw-faq-item p { padding-bottom: 16px; color: var(--muted-foreground); line-height: 1.6; }

/* ---------------------------------------------------------------- package pages */
html[data-page="product"] body { padding-bottom: 92px; }
html[data-page="product"] .brw-wa-float { bottom: 100px; }
.brw-pdp-grid { display: grid; gap: 20px; margin-top: 16px; }
@media (min-width: 1024px) {
  .brw-pdp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .brw-pdp-media { position: sticky; top: 140px; }
}
.brw-gallery { position: relative; overflow: hidden; border-radius: 18px; background: var(--muted); aspect-ratio: 1 / 1; }
@media (min-width: 640px) and (max-width: 1023px) { .brw-gallery { aspect-ratio: 4 / 3; } }
.brw-gallery-main { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.brw-gal-btn, .brw-gal-share { position: absolute; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--foreground); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; }
.brw-gal-btn { top: 50%; width: 42px; height: 42px; margin-top: -21px; }
.brw-gal-prev { left: 14px; }
.brw-gal-next { right: 14px; }
.brw-gal-share { top: 14px; right: 14px; width: 40px; height: 40px; }
.brw-gal-chip { position: absolute; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 600; }
.brw-gal-rating { left: 14px; background: rgba(255, 255, 255, .95); color: var(--foreground); }
.brw-gal-full { right: 14px; background: rgba(20, 10, 20, .7); color: #fff; cursor: pointer; }
.brw-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.brw-thumb { flex: none; width: 72px; height: 72px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: none; opacity: .75; cursor: pointer; }
.brw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.brw-thumb.is-current { border-color: var(--accent); opacity: 1; }
.brw-pdp-info { display: flex; flex-direction: column; gap: 16px; }
.brw-box { padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--background); transition: box-shadow .3s ease; }
.brw-box.brw-attention { box-shadow: 0 0 0 2px var(--accent); }
.brw-pdp-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; }
.brw-pdp-rating { margin-top: 6px; color: var(--muted-foreground); font-size: 14px; }
.brw-pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 12px; }
.brw-pdp-price b { font-size: 30px; font-weight: 700; }
.brw-pdp-price s { color: var(--muted-foreground); }
.brw-pdp-note { margin-top: 6px; color: var(--muted-foreground); font-size: 13px; }
.brw-step { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.brw-step > span { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 13px; }
.brw-step small { color: var(--muted-foreground); font-size: 12px; font-weight: 500; }
.brw-substep { margin-top: 18px; font-size: 14px; font-weight: 600; }
.brw-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
@media (min-width: 640px) { .brw-dates { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.brw-date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 64px; padding: 8px 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--background); line-height: 1.2; cursor: pointer; }
.brw-date small { color: var(--muted-foreground); font-size: 11px; text-transform: uppercase; }
.brw-date b { font-size: 18px; }
.brw-date[aria-pressed="true"] { border-color: var(--accent); background: oklch(60% .2 350 / .08); box-shadow: 0 0 0 1px var(--accent); }
.brw-date:disabled { opacity: .4; cursor: not-allowed; }
.brw-date-more { border-style: dashed; }
.brw-date-more small { text-align: center; text-transform: none; }
.brw-date-other { display: block; margin-top: 12px; color: var(--muted-foreground); font-size: 13px; }
.brw-date-other input { display: block; margin-top: 6px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--foreground); }
.brw-js .brw-date-other { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brw-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
@media (min-width: 640px) { .brw-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brw-chip { padding: 10px 6px; border: 1px solid var(--border); border-radius: 10px; background: var(--background); font-size: 13px; font-weight: 500; cursor: pointer; }
.brw-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-foreground); }
.brw-chip:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.brw-addons { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.brw-addons li { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; }
.brw-addon-name { flex: 1; }
.brw-addon-price { font-weight: 600; white-space: nowrap; }
.brw-addon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 80px; padding: 6px 12px; border: 1px solid var(--primary); border-radius: 999px; background: transparent; color: var(--primary); font-size: 12px; font-weight: 600; cursor: pointer; }
.brw-addon-btn[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); }
.brw-summary { background: var(--card); }
.brw-sum-lines { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--muted); font-size: 14px; }
.brw-sum-line { display: flex; justify-content: space-between; gap: 12px; }
.brw-sum-line span:last-child { font-weight: 600; white-space: nowrap; }
.brw-sum-line--sub { color: var(--muted-foreground); font-size: 13px; }
.brw-sum-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; font-weight: 600; }
.brw-sum-total b { font-size: 24px; }
.brw-sum-actions { display: flex; gap: 10px; margin-top: 14px; }
.brw-btn-cart { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--primary); border-radius: 999px; background: transparent; color: var(--primary); font-size: 14px; font-weight: 600; cursor: pointer; }
.brw-btn-book { flex: 1; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 15px; font-weight: 600; box-shadow: var(--shadow-elegant); cursor: pointer; }
.brw-sum-note { margin-top: 12px; color: var(--muted-foreground); font-size: 12px; line-height: 1.5; }
.brw-sum-note a { color: var(--accent); font-weight: 600; }
.brw-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.brw-trust li { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 10px; background: var(--muted); color: var(--muted-foreground); font-size: 12px; font-weight: 500; text-align: center; }
.brw-trust svg { flex: none; color: var(--accent); }
.brw-tabs { margin-top: 40px; }
.brw-tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.brw-tablist [role="tab"] { flex: none; padding: 12px 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted-foreground); font-size: 15px; font-weight: 600; cursor: pointer; }
.brw-tablist [role="tab"][aria-selected="true"] { border-bottom-color: var(--accent); color: var(--primary); }
.brw-tabs [role="tabpanel"] { padding-top: 18px; }
.brw-ticks { display: grid; gap: 10px; }
@media (min-width: 768px) { .brw-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.brw-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.brw-ticks svg { flex: none; margin-top: 2px; color: var(--accent); }
.brw-how { margin-top: 48px; padding: 32px 24px; border-radius: 20px; background: var(--gradient-banner); text-align: center; }
.brw-how h2 { margin-top: 4px; }
.brw-how ol { display: grid; gap: 16px; margin-top: 24px; text-align: left; }
@media (min-width: 640px) { .brw-how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .brw-how ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brw-how li { padding: 18px; border-radius: 14px; background: var(--background); }
.brw-how-num { color: var(--accent); font-size: 22px; font-weight: 700; }
.brw-how h3 { margin-top: 6px; font-weight: 600; }
.brw-how p { margin-top: 4px; color: var(--muted-foreground); font-size: 14px; }
.brw-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.brw-chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; transition: border-color .2s ease, color .2s ease; }
.brw-chips a:hover { border-color: var(--accent); color: var(--accent); }
.brw-bookbar { position: fixed; left: 50%; bottom: 12px; z-index: 45; display: flex; align-items: center; gap: 10px; width: min(1352px, calc(100% - 24px)); padding: 10px 10px 10px 18px; border: 1px solid var(--border); border-radius: 18px; background: oklch(100% 0 0 / .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); transform: translateX(-50%); backdrop-filter: blur(8px); }
.brw-bookbar-text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.brw-bookbar-text b { font-size: 18px; }
.brw-bookbar-hint { overflow: hidden; color: var(--muted-foreground); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.brw-bookbar-cart { display: flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 14px; background: var(--background); color: var(--foreground); cursor: pointer; }
.brw-bookbar .brw-btn-book { flex: none; padding: 13px 26px; }
.brw-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(10, 5, 12, .92); }
.brw-lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: 12px; object-fit: contain; }
.brw-lb-close, .brw-lb-prev, .brw-lb-next { position: absolute; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.brw-lb-close { top: 16px; right: 16px; }
.brw-lb-prev, .brw-lb-next { top: 50%; margin-top: -23px; }
.brw-lb-prev { left: 16px; }
.brw-lb-next { right: 16px; }
.brw-lb-count { position: absolute; bottom: 20px; left: 50%; color: #fff; font-size: 14px; transform: translateX(-50%); }

/* ---------------------------------------------------------------- cart and checkout */
.brw-progress { display: flex; align-items: center; max-width: 520px; margin: 18px 0 0; padding: 0; list-style: none; }
.brw-progress li { display: flex; flex: 1; align-items: center; gap: 8px; color: var(--muted-foreground); font-size: 13px; font-weight: 600; white-space: nowrap; }
.brw-progress li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 10px; border-radius: 2px; background: var(--border); }
.brw-progress li:last-child { flex: none; }
.brw-progress span { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 26px; height: 26px; border: 2px solid var(--border); border-radius: 999px; background: var(--background); font-size: 12px; }
.brw-progress .is-current { color: var(--primary); }
.brw-progress .is-current span { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.brw-progress .is-done { color: var(--foreground); }
.brw-progress .is-done span { border-color: var(--accent); background: var(--accent); color: var(--accent-foreground); }
.brw-progress .is-done::after { background: var(--accent); }
.brw-page-title { margin-top: 20px; color: var(--primary); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; }
.brw-page-title small { color: var(--muted-foreground); font-size: 15px; font-weight: 500; }
.brw-cart-grid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) {
  .brw-cart-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .brw-cart-summary { position: sticky; top: 140px; }
}
.brw-cart-list { display: flex; flex-direction: column; gap: 14px; }
.brw-cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 14px; }
.brw-cart-thumb img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.brw-cart-name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.brw-cart-name:hover { color: var(--accent); }
.brw-cart-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.brw-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--muted); color: var(--foreground); font-size: 12px; font-weight: 500; }
.brw-pill svg { width: 13px; height: 13px; color: var(--accent); }
.brw-cart-extras { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; color: var(--muted-foreground); font-size: 13px; }
.brw-cart-extras li { display: flex; justify-content: space-between; gap: 12px; }
.brw-cart-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.brw-cart-side b { font-size: 17px; }
.brw-cart-remove { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--muted-foreground); font-size: 13px; cursor: pointer; }
.brw-cart-remove:hover { background: oklch(57.7% .245 27.325 / .08); color: var(--destructive); }
.brw-cart-remove svg { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .brw-cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .brw-cart-thumb img { width: 72px; height: 72px; }
  .brw-cart-side { grid-column: 1 / -1; flex-direction: row; align-items: center; padding-top: 10px; border-top: 1px solid var(--border); }
}
.brw-cart-summary h2 { font-size: 17px; font-weight: 600; }
.brw-cart-summary .brw-sum-line { margin-top: 10px; font-size: 14px; }
.brw-cart-summary .brw-sum-total { padding-top: 14px; border-top: 1px dashed var(--border); }
.brw-cart-summary .brw-trust { margin-top: 16px; }
.brw-free { color: oklch(52% .14 150); }
.brw-btn-block { display: block; width: 100%; margin-top: 16px; text-align: center; }
.brw-btn-inline { display: inline-block; flex: none; margin-top: 18px; text-align: center; }
.brw-btn-outline { display: inline-block; padding: 12px 22px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary); font-size: 15px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.brw-btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }
.brw-sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.brw-edit-cart { color: var(--accent); font-size: 13px; font-weight: 600; }
.brw-sum-items { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.brw-sum-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; font-size: 13px; }
.brw-sum-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.brw-sum-item-name { font-weight: 600; }
.brw-sum-item .brw-cart-meta { margin-top: 4px; }
.brw-sum-item-extras { margin-top: 4px; color: var(--muted-foreground); font-size: 12px; }
.brw-sum-item b { font-size: 14px; white-space: nowrap; }
.brw-checkout-form { display: flex; flex-direction: column; gap: 16px; }
.brw-fields { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 640px) { .brw-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brw-field { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; }
.brw-fields .brw-field { margin-top: 0; }
.brw-field small { color: var(--muted-foreground); font-weight: 500; }
.brw-field input, .brw-field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--input); border-radius: 10px; background: var(--background); color: var(--foreground); font-size: 15px; font-weight: 400; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.brw-field input:focus, .brw-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px oklch(60% .2 350 / .15); }
.brw-checkout-form .brw-btn-block { margin-top: 0; }
.brw-place { padding: 15px 22px; font-size: 16px; }
.brw-center { text-align: center; }
.brw-btn-book:disabled { opacity: .6; cursor: progress; }
.brw-bookbar a.brw-btn-book { text-align: center; }
@media (min-width: 1024px) { .brw-bookbar--mobile { display: none; } }
@media (max-width: 1023px) {
  body.brw-has-bookbar { padding-bottom: 92px; }
  body.brw-has-bookbar .brw-wa-float { bottom: 100px; }
}
.brw-empty { margin-top: 20px; padding: 48px 20px; text-align: center; }
.brw-empty > svg { width: 44px; height: 44px; margin: 0 auto; color: var(--muted-foreground); }
.brw-empty-title { margin-top: 12px; font-size: 18px; font-weight: 600; }
.brw-empty > p:not(.brw-empty-title) { margin-top: 4px; color: var(--muted-foreground); }
.brw-done { max-width: 620px; margin: 28px auto 0; padding: 36px 24px; text-align: center; }
.brw-done > svg { width: 64px; height: 64px; margin: 0 auto; color: var(--accent); }
.brw-done h1 { margin-top: 12px; color: var(--primary); font-size: 30px; font-weight: 700; }
.brw-done-id { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: var(--muted); font-size: 14px; }
.brw-done > p:not(.brw-done-id) { margin-top: 10px; color: var(--muted-foreground); }
.brw-done-next { display: grid; gap: 10px; margin-top: 22px; text-align: left; }
.brw-done-next li { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--muted); color: var(--muted-foreground); font-size: 14px; }
.brw-done-next span { color: var(--accent); font-weight: 700; }
.brw-done-next b { display: block; color: var(--foreground); }
.brw-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.brw-done-actions .brw-btn-inline { margin-top: 0; padding: 12px 22px; }

/* ---------------------------------------------------------------- admin: payment note on bookings */
.brw-pay-note { margin-top: 2px; color: oklch(55% .15 60); font-size: 12px; font-weight: 600; }
.brw-pay-note--paid { color: oklch(48% .14 150); }
.brw-sum-note a { text-decoration: underline; }

/* ---------------------------------------------------------------- policy pages and footer policy links */
.brw-policy { max-width: 780px; margin: 0 auto; padding: 24px 24px 56px; color: var(--foreground); line-height: 1.7; }
.brw-policy .brw-crumbs { margin-top: 0; }
.brw-policy h1 { margin-top: 20px; color: var(--primary); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.2; }
.brw-policy-date { margin-top: 6px; color: var(--muted-foreground); font-size: 13px; }
.brw-policy h2 { margin-top: 32px; color: var(--primary); font-size: 20px; font-weight: 600; }
.brw-policy p, .brw-policy ul { margin-top: 10px; }
.brw-policy ul { padding-left: 22px; list-style: disc; }
.brw-policy li + li { margin-top: 6px; }
.brw-policy a { color: var(--accent); text-decoration: underline; }
.brw-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 12px; }
.brw-legal a { color: oklch(97% .01 320 / .6); }
.brw-legal a:hover { color: var(--ink-foreground); text-decoration: underline; }
.brw-policy-link { margin-top: 14px; font-size: 14px; }
.brw-policy-link a { color: var(--accent); font-weight: 600; text-decoration: underline; }

/* ---------------------------------------------------------------- "Sample photo" tag on stock photos */
.brw-sample { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(20, 10, 20, .62); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .02em; pointer-events: none; }
.brw-gallery > .brw-sample { top: 14px; bottom: auto; left: 14px; font-size: 12px; padding: 5px 12px; }
.brw-sample[hidden] { display: none; }

/* ---------------------------------------------------------------- admin: in-page delete confirmation */
.brw-confirm { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--destructive); }
.brw-confirm button { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; }
.brw-confirm-yes { border: 0; background: var(--destructive); color: var(--destructive-foreground); }
.brw-confirm-no { border: 1px solid var(--border); background: var(--background); color: var(--foreground); }

/* ---------------------------------------------------------------- enquiry form */
.brw-enquiry-note { margin-top: -4px; font-size: 12px; text-align: center; opacity: .75; }
/* the contact page's form sits on a light card, so its text needs dark colours */
html[data-page="contact"] main form input,
html[data-page="contact"] main form select,
html[data-page="contact"] main form textarea { border-color: var(--input); background: var(--background); color: var(--foreground); }
html[data-page="contact"] main form input::placeholder,
html[data-page="contact"] main form textarea::placeholder { color: var(--muted-foreground); opacity: 1; }
html[data-page="contact"] main form input:focus,
html[data-page="contact"] main form select:focus,
html[data-page="contact"] main form textarea:focus { border-color: var(--accent); }

/* ---------------------------------------------------------------- loading placeholders */
.brw-skel { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--muted); }
.brw-skel::after, .brw-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, oklch(100% 0 0 / .65), transparent); transform: translateX(-100%); animation: brw-sweep 1.4s ease-in-out infinite; pointer-events: none; }
.brw-skel-lines { display: flex; flex: 1; flex-direction: column; gap: 14px; }
.brw-skel-row { display: flex; gap: 16px; align-items: center; }
.brw-skel-thumb { flex: none; width: 92px; height: 92px; }
.brw-loading { background: var(--muted); }
@keyframes brw-sweep { to { transform: translateX(100%); } }
.brw-search-empty { padding: 14px 16px; color: var(--muted-foreground); font-size: 14px; line-height: 1.5; }
.brw-search-empty a { color: var(--accent); text-decoration: underline; }

/* ---------------------------------------------------------------- page not found, related pages */
.brw-404 { text-align: center; }
.brw-404-num { color: var(--accent); font-size: clamp(64px, 16vw, 120px); font-weight: 700; line-height: 1; opacity: .25; }
.brw-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 44px; }
.brw-404-actions .brw-btn-inline { margin-top: 0; }
.brw-404 .brw-chips { justify-content: center; list-style: none; padding: 0; }
.brw-crumbs--top { margin: 0 0 18px; }
.brw-related { max-width: 64rem; margin: 0 auto; padding: 8px 24px 56px; }
.brw-related > p { color: var(--muted-foreground); font-size: 13px; font-weight: 600; }
.brw-related .brw-chips { margin-top: 10px; padding: 0; list-style: none; }

/* ---------------------------------------------------------------- cookie choice */
.brw-consent { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: 860px; margin: 0 auto; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--background); color: var(--foreground); box-shadow: 0 12px 32px rgba(0, 0, 0, .2); font-size: 14px; line-height: 1.5; }
.brw-consent p { flex: 1 1 320px; }
.brw-consent a { color: var(--accent); text-decoration: underline; }
.brw-consent-actions, .brw-prefs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brw-consent button, .brw-prefs-actions button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--primary); border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 14px; font-weight: 600; cursor: pointer; }
.brw-consent .brw-consent-more, .brw-prefs-actions [data-prefs="cancel"] { border-color: var(--border); background: transparent; color: var(--foreground); }
html[data-page="product"] .brw-consent, body.brw-has-bookbar .brw-consent { bottom: 100px; }
.brw-legal-btn { padding: 0; border: 0; background: none; color: oklch(97% .01 320 / .6); font: inherit; cursor: pointer; }
.brw-legal-btn:hover { color: var(--ink-foreground); text-decoration: underline; }
.brw-prefs { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .5); }
.brw-prefs-box { width: 100%; max-width: 480px; max-height: 100%; padding: 24px; overflow: auto; border-radius: 18px; background: var(--background); color: var(--foreground); }
.brw-prefs-box h2 { color: var(--primary); font-size: 20px; font-weight: 700; }
.brw-prefs-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.brw-prefs-row p { margin-top: 4px; color: var(--muted-foreground); font-size: 13px; line-height: 1.5; }
.brw-prefs-row input { flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
.brw-prefs-on { flex: none; color: var(--muted-foreground); font-size: 13px; font-weight: 600; }
.brw-prefs-actions { justify-content: flex-end; margin-top: 20px; }

/* ---------------------------------------------------------------- people who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .brw-skel::after, .brw-loading::after { display: none; }
  .brw-card:hover, .brw-wa-float:hover, .brw-lift.brw-in:hover, .brw-pop.brw-in:hover, .brw-card:hover .brw-card-img img { transform: none !important; }
}

/* ================================================================ animations (with assets/js/motion.js) */
.brw-gallery > .brw-sample, .brw-gal-btn, .brw-gal-share, .brw-gal-chip, .brw-card-img > .brw-badge, .brw-card-img > .brw-sample { z-index: 2; }
.brw-motion .m-wait { opacity: 0; }
@media print { .brw-motion .m-wait { opacity: 1; } }
.m-paused, .m-paused * { animation-play-state: paused !important; }

/* reading progress, header */
.brw-readbar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--primary)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.brw-motion header { transition: box-shadow .3s ease; }
.brw-motion header.brw-scrolled { box-shadow: 0 8px 24px oklch(25% .08 320 / .12); }
.brw-motion header nav a { position: relative; }
.brw-motion header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.brw-motion header nav a:hover::after, .brw-motion header nav a[aria-current]::after { transform: scaleX(1); }

/* home banner: balloons drift up behind the words, photos move slowly, words rise */
.brw-slide { position: relative; z-index: 1; }
.m-balloons, .m-stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.m-balloons { z-index: 0; }
.m-balloons span { position: absolute; bottom: 0; opacity: .5; animation: m-float linear infinite; }
.m-balloons svg { display: block; width: 100%; transform-origin: 50% 0; animation: m-sway ease-in-out infinite alternate; }
@keyframes m-float { from { transform: translateY(110%); } to { transform: translateY(-760px); } }
@keyframes m-sway { from { transform: rotate(-7deg) translateX(-7px); } to { transform: rotate(7deg) translateX(7px); } }
.brw-motion .brw-slide.is-active > img { animation: m-drift 7s ease-out both; }
@keyframes m-drift { from { scale: 1; } to { scale: 1.07; } }
.brw-motion .m-cycled .brw-slide.is-active > div > * { animation: m-rise .7s cubic-bezier(.22, 1, .36, 1) both; }
.brw-motion .m-cycled .brw-slide.is-active > div > :nth-child(2) { animation-delay: .1s; }
.brw-motion .m-cycled .brw-slide.is-active > div > :nth-child(3) { animation-delay: .2s; }
.brw-motion .m-cycled .brw-slide.is-active > div > :nth-child(4) { animation-delay: .3s; }
.brw-motion .m-cycled .brw-slide.is-active > div > .text-gold-gradient { animation: m-rise .7s .1s cubic-bezier(.22, 1, .36, 1) both, shimmer 6s linear infinite; }
@keyframes m-rise { from { opacity: 0; translate: 0 26px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }

/* occasion banner */
.brw-motion .brw-cat-banner img { animation: m-settle 1.6s cubic-bezier(.22, 1, .36, 1) both; }
.brw-motion .brw-cat-banner-text > * { animation: m-rise .8s .15s cubic-bezier(.22, 1, .36, 1) both; }
.brw-motion .brw-cat-banner-text > :nth-child(2) { animation-delay: .28s; }
@keyframes m-settle { from { scale: 1.14; } to { scale: 1; } }
.brw-motion .brw-occ img { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), border-color .2s ease; }
.brw-motion .brw-occ:hover img { transform: translateY(-5px) scale(1.06) rotate(-2deg); }

/* package cards lean and shine */
.brw-motion .brw-card { transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease; }
.brw-motion .brw-card-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), oklch(100% 0 0 / .38), transparent 55%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .brw-motion .brw-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); transition-duration: .16s, .3s; box-shadow: 0 18px 34px oklch(25% .08 320 / .22); }
  .brw-motion .brw-card:hover .brw-card-img::before { opacity: 1; }
  .brw-motion .brw-card:hover .brw-book { background: var(--accent); }
  .brw-motion .brw-gallery-main { transition: scale .5s cubic-bezier(.22, 1, .36, 1); transform-origin: var(--gx, 50%) var(--gy, 50%); }
  .brw-motion .brw-gallery:hover .brw-gallery-main { scale: 1.28; }
}
.brw-motion .brw-card:active { transform: scale(.98); }
.brw-motion .brw-book { transition: background .25s ease; }
.brw-motion .brw-badge { animation: m-glow 2.6s ease-in-out infinite; }
@keyframes m-glow { 0%, 100% { box-shadow: 0 0 0 0 oklch(60% .2 350 / .5); } 50% { box-shadow: 0 0 0 6px oklch(60% .2 350 / 0); } }

/* buttons: ripple where pressed, a light that passes over the main ones */
.m-press { overflow: hidden; }
.m-ripple { position: absolute; border-radius: 50%; background: currentColor; pointer-events: none; }
.brw-motion .brw-btn-book, .brw-motion .brw-btn-cart { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.brw-motion .brw-btn-book:hover:not(:disabled) { transform: translateY(-2px); }
.brw-motion .brw-btn-book:active, .brw-motion .brw-btn-cart:active { transform: scale(.97); }
.brw-motion .brw-btn-book::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, oklch(100% 0 0 / .35), transparent); transform: skewX(-18deg); animation: m-sheen 5s ease-in-out infinite; pointer-events: none; }
@keyframes m-sheen { 0%, 72% { left: -60%; } 100% { left: 130%; } }

/* choosing a date, a time, extras */
.brw-motion .brw-date, .brw-motion .brw-chip, .brw-motion .brw-addon-btn { transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
.brw-motion .brw-date:hover:not(:disabled), .brw-motion .brw-chip:hover:not(:disabled) { transform: translateY(-2px); }
.brw-motion .brw-date[aria-pressed="true"], .brw-motion .brw-chip[aria-pressed="true"], .brw-motion .brw-addon-btn[aria-pressed="true"] { animation: m-pop .38s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes m-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.07); } 100% { transform: scale(1); } }
.brw-motion .brw-box.brw-attention { animation: m-shake .5s ease; }
@keyframes m-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.brw-motion .brw-tabs [role="tabpanel"]:not([hidden]) { animation: m-rise .45s cubic-bezier(.22, 1, .36, 1) both; }
.brw-motion .brw-how li { transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
.brw-motion .brw-how li:hover { transform: translateY(-5px); box-shadow: 0 12px 24px oklch(25% .08 320 / .12); }
.brw-motion .brw-lightbox { animation: m-fade .25s ease both; }
.brw-motion .brw-lightbox img { animation: m-zoom .45s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-zoom { from { opacity: 0; scale: .86; } }
.brw-motion .brw-empty > svg { animation: m-swing 2.4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes m-swing { 0%, 100% { rotate: -7deg; } 50% { rotate: 7deg; } }
.brw-motion .brw-404 { position: relative; }
.brw-motion .brw-404 > :not(.m-balloons) { position: relative; z-index: 1; }
.brw-motion .brw-404-num { animation: m-bob 3.4s ease-in-out infinite; }
@keyframes m-bob { 50% { translate: 0 -12px; } }

/* questions open smoothly where the browser can */
@supports (interpolate-size: allow-keywords) {
  .brw-motion .brw-faq-item { interpolate-size: allow-keywords; }
  .brw-motion .brw-faq-item::details-content { height: 0; overflow: clip; transition: height .35s cubic-bezier(.22, 1, .36, 1), content-visibility .35s allow-discrete; }
  .brw-motion .brw-faq-item[open]::details-content { height: auto; }
}

/* WhatsApp button breathes */
.brw-motion .brw-wa-float::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #25d366; animation: m-ring 2.8s ease-out infinite; }
@keyframes m-ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.75); opacity: 0; } }

/* twinkles, confetti, photo flying to the cart */
#book > .m-stars { z-index: 0; }
.m-stars i { position: absolute; width: 10px; height: 10px; background: radial-gradient(circle, oklch(100% 0 0 / .9) 0 12%, transparent 60%); animation: m-twinkle 4s ease-in-out infinite; }
@keyframes m-twinkle { 0%, 100% { transform: scale(.2); opacity: 0; } 50% { transform: scale(var(--s, 1)); opacity: .8; } }
.m-confetti { position: fixed; inset: 0; z-index: 999998; width: 100%; height: 100%; pointer-events: none; }
.m-fly { position: fixed; z-index: 999997; width: 140px; height: 140px; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 36px oklch(25% .08 320 / .35); pointer-events: none; }

/* changing page: the photo you tapped grows into place, the rest cross-fades */
@media (prefers-reduced-motion: no-preference) {
  /* switched on by the small <style> at the top of each page: browsers need that rule before anything else */
  header { view-transition-name: brw-header; }
  .brw-gallery-main { view-transition-name: brw-photo; }
  ::view-transition-old(root) { animation: m-out .2s ease both; }
  ::view-transition-new(root) { animation: m-in .35s ease both; }
  ::view-transition-group(brw-photo) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  ::view-transition-old(brw-photo), ::view-transition-new(brw-photo) { width: 100%; height: 100%; object-fit: cover; }
  @keyframes m-out { to { opacity: 0; } }
  @keyframes m-in { from { opacity: 0; transform: translateY(10px); } }
}

/* the header stays in view on the home page too, as on every other page */
html[data-page="home"] body > .overflow-x-hidden { overflow-x: clip; }
header nav { scrollbar-width: thin; scrollbar-color: oklch(60% .2 350 / .45) transparent; }

/* ================================================================ animations, second set */
/* headings: words rise, a line draws itself underneath */
.m-word { display: inline-block; transform-origin: 0 100%; }
.brw-motion .brw-row > h2 { padding-bottom: 8px; background: linear-gradient(90deg, var(--accent), var(--gold)) no-repeat 0 100% / 64px 3px; }
.brw-motion .brw-row > h2.m-wait { background-size: 0 3px; }
.brw-motion .brw-row > h2.m-drawn { animation: m-line 1s .25s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes m-line { from { background-size: 0 3px; } }
.m-stars-fill::after { animation: m-fill 1.3s .35s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes m-fill { from { width: 0; } }

/* the logo's star and the cart */
.brw-motion header a > .lucide-sparkles { animation: m-logo 7s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes m-logo { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-18deg) scale(1.2); } 95% { transform: rotate(14deg) scale(1.1); } }
.brw-motion header a:hover > svg { animation: m-nod .5s ease; }
@keyframes m-nod { 40% { transform: translateY(-4px) rotate(-8deg); } 70% { transform: translateY(1px) rotate(5deg); } }

/* banner: layers shift with the pointer, sparkles follow it, balloons can be popped */
.brw-motion .brw-slide > img, .brw-motion .brw-slide > div { transition: translate .5s cubic-bezier(.22, 1, .36, 1); }
.brw-motion .brw-slide > img { translate: calc(var(--px, 0px) * -.45) calc(var(--py, 0px) * -.45); }
.brw-motion .brw-slide > div { translate: calc(var(--px, 0px) * .55) calc(var(--py, 0px) * .55); }
.brw-motion .m-balloons { translate: calc(var(--px, 0px) * 1.1) calc(var(--py, 0px) * 1.1); transition: translate .8s cubic-bezier(.22, 1, .36, 1); }
.m-balloons span { pointer-events: auto; cursor: pointer; }
.m-balloons .m-popped { pointer-events: none; }
.brw-slide { pointer-events: none; }
.brw-slide a, .brw-slide img { pointer-events: auto; }
.m-spark { position: absolute; z-index: 3; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%); pointer-events: none; }
.m-magnet { transition: translate .35s cubic-bezier(.22, 1, .36, 1); }

/* ribbon */
.m-ribbon { position: relative; z-index: 2; margin: -6px 0 8px; padding: 11px 0; overflow: hidden; background: var(--primary); color: var(--primary-foreground); transform: rotate(-1.1deg) scale(1.02); box-shadow: 0 10px 24px oklch(25% .08 320 / .18); }
.m-ribbon-in { display: flex; width: max-content; animation: m-run 46s linear infinite; }
.m-ribbon:hover .m-ribbon-in { animation-play-state: paused; }
.m-ribbon-in > div { display: flex; align-items: center; white-space: nowrap; }
.m-ribbon span { padding: 0 18px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.m-ribbon i { color: var(--gold); font-style: normal; animation: m-spin 5s linear infinite; }
@keyframes m-run { to { transform: translateX(-50%); } }
@keyframes m-spin { to { transform: rotate(360deg); } }

/* rows: drag with the mouse */
@media (hover: hover) and (pointer: fine) { .brw-motion .brw-track { cursor: grab; } .brw-motion .brw-track a { cursor: pointer; } }
.brw-track.m-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.brw-track.m-drag a { cursor: grabbing; }

/* photos drift inside their frames as you scroll (where the browser can) */
@supports (animation-timeline: view()) {
  .brw-motion #occasions .overflow-hidden > img { animation: m-parallax linear both; animation-timeline: view(); }
  .brw-motion .brw-cat-banner img { animation: m-settle 1.6s cubic-bezier(.22, 1, .36, 1) both, m-parallax linear both; animation-timeline: auto, view(); }
  .brw-motion .brw-how { animation: m-grow linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
@keyframes m-parallax { from { object-position: 50% 30%; } to { object-position: 50% 70%; } }
@keyframes m-grow { from { scale: .94; opacity: .5; } }

/* package page */
.brw-step > .m-tick { background: oklch(60% .15 150); }
.m-ready .brw-pdp .brw-btn-book { animation: m-ask 1.9s ease-in-out infinite; }
@keyframes m-ask { 0%, 100% { box-shadow: 0 0 0 0 oklch(33% .13 340 / .5), var(--shadow-elegant); } 55% { box-shadow: 0 0 0 12px oklch(33% .13 340 / 0), var(--shadow-elegant); } }
.brw-motion .brw-addons li { transition: background .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1); }
.brw-motion .brw-addons li:hover { transform: translateX(5px); }
.m-ghost { position: fixed !important; z-index: 80; margin: 0; pointer-events: none; list-style: none; }

/* checkout: the line fills, boxes lift while you type */
.brw-motion .brw-progress li:not(:last-child)::after { background: linear-gradient(90deg, var(--accent), var(--accent)) no-repeat 0 0 / 0 100% var(--border); }
.brw-motion .brw-progress .is-done::after { background-size: 100% 100%; animation: m-track .8s .3s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes m-track { from { background-size: 0 100%; } }
.brw-motion .brw-progress .is-current span { animation: m-here 2.2s ease-in-out infinite; }
@keyframes m-here { 50% { box-shadow: 0 0 0 7px oklch(33% .13 340 / .12); } }
.brw-motion .brw-checkout-form .brw-box { transition: box-shadow .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s ease; }
.brw-motion .brw-checkout-form .brw-box:focus-within { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 30px oklch(25% .08 320 / .1); }
.brw-motion .brw-field input, .brw-motion .brw-field textarea { transition: border-color .2s ease, box-shadow .25s ease; }

/* messages spring in, with a line that shows how long they stay */
.brw-motion .brw-toast { position: relative; overflow: hidden; transition: opacity .3s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.brw-motion .brw-toast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: currentColor; opacity: .35; transform-origin: 0 50%; animation: m-timer 4s linear both; }
@keyframes m-timer { to { transform: scaleX(0); } }
.brw-motion .brw-toast-icon svg { animation: m-pop .5s .15s cubic-bezier(.34, 1.56, .64, 1) both; }

/* footer wave */
.brw-motion footer { position: relative; }
.m-wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 48px; overflow: hidden; pointer-events: none; }
.m-wave svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 32px; animation: m-sea 13s linear infinite; }
.m-wave path { fill: var(--ink); }
.m-wave svg + svg { opacity: .35; animation-duration: 8s; animation-direction: reverse; height: 44px; }
@keyframes m-sea { to { transform: translateX(-50%); } }

/* back to top */
.m-up { position: fixed; right: 26px; bottom: 90px; z-index: 40; width: 44px; height: 76px; padding: 0; border: 0; background: none; opacity: 0; translate: 0 40px; pointer-events: none; transition: opacity .35s ease, translate .5s cubic-bezier(.34, 1.56, .64, 1); cursor: pointer; }
.m-up.m-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.m-up svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px oklch(25% .08 320 / .3)); transform-origin: 50% 100%; animation: m-sway 2.6s ease-in-out infinite alternate; }
.m-up:hover svg { filter: drop-shadow(0 10px 14px oklch(25% .08 320 / .4)); }
.m-up:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 14px; }
html[data-page="product"] .m-up, body.brw-has-bookbar .m-up { bottom: 170px; }
.m-up-fly { transition: none; pointer-events: none !important; }
@media (max-width: 600px) { .m-up { right: 21px; bottom: 78px; width: 38px; height: 66px; } }
