/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border: 1.5px solid transparent; border-radius: var(--radius-s);
  font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--navy);
  background: var(--white); box-shadow: var(--shadow-s);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--pink-deep); }
.btn--mustard { background: var(--pink); }
.btn--ghost { background: transparent; border-color: var(--navy); box-shadow: none; }
.btn--wa { background: #25d366; color: #fff; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--block { width: 100%; }

/* Header */
/* The sticky element must be the wrapper: a sticky child cannot leave a parent that is only as tall as itself. */
#site-header { position: sticky; top: 0; z-index: 50; }
.site-header { background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid rgb(26 26 26 / 12%); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.5rem; }
.brand span { white-space: nowrap; line-height: 1.15; }
.brand img { height: 56px; width: auto; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.75rem; color: #b94d5a; margin-top: -2px; line-height: 1; }
@media (max-width: 420px) { .brand { font-size: 1.25rem; } .brand img { height: 48px; } .cart-link__label { display: none; } }
.nav { display: none; gap: 6px; }
.nav a { white-space: nowrap; padding: 8px 14px; border-radius: var(--radius-s); font-weight: 600; transition: background 0.2s; }
.nav a:hover { background: var(--pink-soft); }
.nav a[aria-current='page'] { background: var(--navy); color: var(--cream); }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-s); background: var(--navy); color: var(--cream); font-weight: 700; }
.cart-link__count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--pink); color: var(--navy); font-size: 0.8rem; display: inline-grid; place-items: center; padding-inline: 5px; }
.cart-link__count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
@media (min-width: 1000px) { .nav { display: flex; } }

/* Mobile bottom bar */
.bottom-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: flex; justify-content: space-around; background: var(--white); border-top: 1px solid rgb(38 43 58 / 8%); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgb(38 43 58 / 8%); }
.bottom-bar a { flex: 1; text-align: center; font-size: 0.72rem; font-weight: 700; padding: 4px 2px; border-radius: 12px; line-height: 1.3; }
.bottom-bar a span { display: block; font-size: 1.35rem; }
.bottom-bar a[aria-current='page'] { background: var(--pink-soft); }
@media (min-width: 1000px) { .bottom-bar { display: none; } }

/* Footer */
.site-footer { background: var(--green); color: var(--cream); padding-block: 48px 28px; margin-top: 40px; }
.site-footer a { color: var(--pink-soft); }
.site-footer__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h3 { color: var(--pink); font-size: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgb(255 246 233 / 18%); font-size: 0.85rem; opacity: 0.8; }

/* Cards and chips */
.card { background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-s); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.chip { padding: 8px 18px; border-radius: var(--radius-s); border: 1.5px solid var(--navy); background: transparent; font-weight: 700; transition: background 0.2s, color 0.2s, transform 0.2s; }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed='true'] { background: var(--navy); color: var(--cream); }

/* Toast */
.toast { position: fixed; inset-inline: 16px; bottom: 90px; margin-inline: auto; width: fit-content; max-width: 92vw; z-index: 100; background: var(--navy); color: var(--cream); padding: 12px 22px; border-radius: var(--radius-s); box-shadow: var(--shadow-m); animation: toast-in 0.4s var(--ease) both; display: flex; gap: 14px; align-items: center; }
.toast a { color: var(--mustard-soft); font-weight: 700; text-decoration: underline; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px); } }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* Footer: motion on/off switch */
.motion-toggle { background: none; border: 1.5px solid currentColor; color: inherit; border-radius: var(--radius-s); padding: 8px 14px; min-height: 44px; font: inherit; font-size: 0.85rem; font-weight: 700; opacity: 0.9; }
.motion-toggle:hover { opacity: 1; background: rgb(255 255 255 / 10%); }

/* Seasonal announcement bar */
.announce { background: var(--pink); color: var(--navy); text-align: center; font-weight: 700; font-size: 0.92rem; }
.announce .container { padding-block: 8px; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
