/* ==========================================================================
   Our Bunny — layout.css
   Announcement bar, header, mega menu, search, mobile drawer, hero, footer.
   ========================================================================== */

/* ---------------------------------------------------------- announcement -- */
.announce {
  background: linear-gradient(90deg, var(--blush) 0%, var(--peach) 50%, var(--sky) 100%);
  color: #4A2E1E; /* chocolate brown */
  font-family: var(--font-util);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .03em;
  text-align: center;
  padding: .5rem 1rem;
  position: relative;
  z-index: 60;
}
.announce span { display: inline-flex; align-items: center; gap: .45rem; }

/* ------------------------------------------------------ announce marquee --
   Replaces the old <marquee> element, which is obsolete HTML and no longer
   reliably scrolls in several modern browsers (Safari/iOS in particular).
   This does the same job with a plain CSS animation: the track holds the
   message twice back-to-back and slides left by exactly 50% of its own
   width, so the moment the first copy scrolls off, the second is already
   in the same position — the loop reads as seamless. */
.announce-marquee {
  overflow: hidden;
  padding: .7rem 0;
}
.announce-marquee .marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll 14s linear infinite;
}
.announce-marquee .marquee-item {
  padding: 0 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .05em;
  font-style: italic;
  background: linear-gradient(135deg, #b42253, #ec5b8e, #301f25);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: announce-shimmer 6s ease-in-out infinite alternate;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes announce-shimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .announce-marquee .marquee-track { animation: none; }
  .announce-marquee .marquee-item { animation: none; }
}

/* --------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

/* Three real columns: brand | nav | actions.
   With flex + `margin-left:auto` the nav was glued to the icon row, leaving a
   dead gap after the logo and making the whole bar look pushed to one side.
   A grid gives the nav its own middle track so it centres between the two
   fixed blocks at every width. */
.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
}
/* The header row is wider than the standard content wrap: brand + 10 nav
   items + 6 actions did not fit inside `var(--wrap)`, so the Register button
   was being clipped off the right edge at every width from ~1300px up. Let
   the header span the viewport with its own gutters, and allow the nav to
   shrink rather than push its neighbours out of frame. */
.header-inner.wrap {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 2.2vw, 2.25rem);
}
.header-inner .nav { min-width: 0; justify-self: stretch; }
.header-inner .brand { justify-self: start; }
.header-inner .header-actions { justify-self: end; flex: none; }

/* --- logo lockup --------------------------------------------------------- */
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img {
  width: 54px; height: 54px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(74,46,30,.12);
  transition: transform var(--t);
}
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
}
.brand-name em { font-style: normal; color: var(--coral); }
.brand-tag {
  font-family: var(--font-util);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--black);
  margin-top: 3px;
}

/* --- primary nav --------------------------------------------------------- */
.nav { display: flex; justify-content: center; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  /* fluid so a nine-item nav always fits beside the icon row */
  padding: 0.55rem clamp(0.22rem, -0.32rem + 0.72vw, 0.7rem);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: clamp(0.76rem, 0.28rem + 0.62vw, 0.96rem);
  color: var(--text);
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--coral); background: var(--blush-soft); }
.nav-link::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .3rem;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--coral) 0 6px, transparent 6px 11px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t), transform var(--t);
}
.nav-link[aria-current="page"]::after { opacity: 1; transform: none; }
.nav-link[aria-current="page"] { color: var(--coral); }
.nav-item.sale-link .nav-link { color: var(--sale); }

/* --- mega menu ----------------------------------------------------------- */
.nav-item { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  width: min(92vw, 780px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 210px;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 40;
}
.nav-item:hover > .mega,
.nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  translate: -50% 0;
  width: 16px; height: 16px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  rotate: 45deg;
  border-radius: 3px 0 0 0;
}
.mega h5 {
  font-family: var(--font-util);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .8rem;
}
.mega ul { display: grid; gap: .1rem; }
.mega a {
  display: block;
  padding: .38rem .55rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .93rem;
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.mega a:hover { background: var(--blush-soft); color: var(--coral); padding-left: .9rem; }
.mega-promo {
  background: linear-gradient(160deg, var(--peach-soft), var(--blush-soft));
  border-radius: var(--r-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .4rem;
  position: relative;
  overflow: hidden;
}
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.mega-promo > * { position: relative; }
.mega-promo strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.mega-promo span { font-size: .8rem; color: var(--ink-soft); }

/* --- header actions ------------------------------------------------------ */
.header-actions { display: flex; align-items: center; gap: .3rem; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: var(--blush-soft); color: var(--coral); transform: translateY(-2px); }
.count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-util);
  font-size: .68rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  border: 2px solid var(--surface);
}
.count:empty, .count[data-count="0"] { display: none; }
.count.bump { animation: pop-in .45s var(--ease); }
.header-cta { display: flex; align-items: center; gap: .5rem; margin-left: .35rem; }
.burger { display: none; }

/* --- search --------------------------------------------------------------- */
.search-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 0 1.75rem;
  display: none;
  z-index: 45;
}
.search-panel.open { display: block; animation: fade-up .3s var(--ease); }
.search-form {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--r-pill);
  padding: .55rem .55rem .55rem 1.1rem;
  transition: border-color var(--t-fast);
}
.search-form:focus-within { border-color: var(--sky); }
.search-form input { flex: 1; border: 0; background: none; outline: none; font-size: 1.05rem; }
.search-form input::placeholder { color: var(--muted); }
.search-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--muted);
}
.search-results { margin-top: 1.25rem; display: grid; gap: .5rem; max-height: 46vh; overflow-y: auto; }
.search-hit {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .55rem;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.search-hit:hover { background: var(--blush-soft); }
.search-hit img { width: 54px; height: 62px; object-fit: cover; border-radius: var(--r-sm); background: var(--cream-2); }
.search-hit strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.search-hit span { font-size: .8rem; color: var(--muted); }
.search-hit b { margin-left: auto; color: var(--coral); font-family: var(--font-util); }

/* --- mobile drawer -------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  background: var(--surface);
  z-index: 90;
  transform: translateX(102%);
  transition: transform var(--t);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.drawer-body { padding: 1rem 1.25rem 2rem; overflow-y: auto; flex: 1; }
.drawer-body a.d-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem .25rem;
  border-bottom: 1px dashed var(--border);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.drawer-body a.d-link:hover { color: var(--coral); }
.drawer-sub { display: grid; gap: .1rem; padding: .5rem 0 .8rem .75rem; }
.drawer-sub a { padding: .35rem 0; font-size: .92rem; color: var(--text-soft); }
.drawer-sub a:hover { color: var(--coral); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,35,31,.48);
  backdrop-filter: blur(3px);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.overlay.open { opacity: 1; visibility: visible; }

/* ============================================================== hero ====== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-slides { position: relative; min-height: clamp(520px, 74vh, 720px); }
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-bg-link { position: absolute; inset: 0; z-index: 0; display: block; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  max-width: 100%;
}
.hero-copy > div { max-width: 30rem; }
.hero-slide.active .hero-copy > * { animation: fade-up .8s var(--ease) both; }
.hero-title {
  font-size: var(--step-4);
  line-height: 1.02;
  margin: .6rem 0 .9rem;
}
.hero-title em { font-style: normal; color: var(--coral); display: block; }
.hero-copy p { font-size: var(--step-1); color: var(--ink-soft); max-width: 27rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.hero-dots {
  position: absolute;
  bottom: 1.7rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: .5rem;
  z-index: 3;
}
.hero-dots button {
  width: 30px; height: 6px;
  border-radius: var(--r-pill);
  background: rgba(74,46,30,.22);
  transition: background var(--t), width var(--t);
}
.hero-dots button.active { background: var(--coral); width: 48px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background var(--t-fast), transform var(--t-fast);
}
.hero-arrow:hover { background: var(--surface); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }

/* --- trust strip ---------------------------------------------------------- */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.trust-item {
  background: var(--surface);
  padding: 1.4rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.trust-item .ico { color: var(--sage); width: 26px; height: 26px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.trust-item span { font-size: .82rem; color: var(--muted); }

/* ============================================================ page head === */
.page-head {
  background:
    url("../images/patterns/hearts.svg") repeat,
    linear-gradient(120deg, var(--blush-soft), var(--peach-soft) 55%, var(--sky-soft));
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-head h1 { margin-bottom: .4rem; }
.page-head p { color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-util);
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}
.crumbs a:hover { color: var(--coral); }
.crumbs .sep { opacity: .5; }

/* ============================================================== footer ==== */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  margin-top: auto;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background-image: repeating-linear-gradient(90deg, var(--coral) 0 14px, transparent 14px 28px);
  opacity: .5;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: .5rem; }
.footer-col a { font-size: .92rem; color: var(--text-soft); transition: color var(--t-fast), padding-left var(--t-fast); }
.footer-col a:hover { color: var(--coral); padding-left: .3rem; }
.footer-about p { font-size: .92rem; margin-top: .9rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.1rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.socials a:hover { transform: translateY(-3px); background: var(--coral); color: #fff; border-color: var(--coral); }
.contact-list { display: grid; gap: .7rem; font-size: .92rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-soft); }
.contact-list .ico { color: var(--coral); margin-top: 3px; }
.map-embed {
  margin-top: 1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 150px;
  background: var(--cream-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-bottom a:hover { color: var(--coral); }
.pay-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.pay-chip {
  font-family: var(--font-util);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .28rem .6rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

/* --- floating helpers ----------------------------------------------------- */
.to-top, .wa-float {
  position: fixed;
  right: 1.15rem;
  z-index: 70;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), opacity var(--t), visibility var(--t);
}
.to-top {
  bottom: 5.4rem;
  background: var(--coral);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.wa-float { bottom: 1.15rem; background: #25D366; color: #fff; }
.wa-float:hover { transform: scale(1.08); }

/* --- page loader ---------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .5s var(--ease), visibility .5s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader img { width: 96px; height: 96px; border-radius: 50%; animation: hop 1.2s var(--ease) infinite; }
.loader-bar {
  margin-top: 1.4rem;
  width: 150px; height: 4px;
  border-radius: 99px;
  background: var(--beige);
  overflow: hidden;
}
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--coral); border-radius: 99px; animation: loadbar 1.1s var(--ease) infinite; }
@keyframes loadbar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }