:root {
  --cream: #FFF8F0;
  --cream-alt: #FFF1E1;
  --orange: #E8834A;
  --orange-dark: #C8672E;
  --orange-light: #FBD9BE;
  --pink: #F6C9C6;
  --sage: #A9C6A3;
  --ink: #2B2118;
  --ink-soft: #5C4E40;
  --white: #FFFFFF;
  --shadow: 0 8px 24px rgba(43, 33, 24, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Varela Round', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', 'Varela Round', sans-serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:active { transform: translateY(2px); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-disabled {
  background: var(--cream-alt);
  color: var(--ink-soft);
  border: 2px dashed var(--orange);
  cursor: not-allowed;
}

/* Announcement strip */
.strip {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* Nav */
header.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand img { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a { text-decoration: none; position: relative; }
.nav-links a:hover::after,
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
}
.nav-links a.active { color: var(--orange); }
.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--orange);
  text-decoration: none;
  cursor: pointer;
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

.nav-search-bar {
  max-height: 0;
  overflow: hidden;
  background: var(--cream-alt);
  border-bottom: 0 solid var(--ink);
  transition: max-height 0.25s ease, border-bottom-width 0.25s ease;
}
.nav-search-bar.open { max-height: 80px; border-bottom-width: 2px; }
.nav-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  color: var(--ink-soft);
}
.nav-search-inner input {
  flex: 1;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Varela Round', sans-serif;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.nav-search-inner input:focus { outline: 3px solid var(--sage); outline-offset: 1px; }
.nav-search-results {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, calc(100% - 32px));
  margin-top: 6px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 60;
}
.nav-search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--cream-alt);
}
.nav-search-result:hover, .nav-search-result:focus-visible { background: var(--cream-alt); }
.nav-search-result img, .nav-search-result-noimg { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--cream-alt); flex: 0 0 auto; }
.nav-search-result-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nav-search-result-name { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-search-result-cat { font-size: 0.75rem; color: var(--ink-soft); }
.nav-search-result-price { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 0.9rem; }
.nav-search-all {
  display: block;
  padding: 12px 14px;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--orange-dark);
  text-decoration: none;
}
.nav-search-all:hover { background: var(--cream-alt); }
.nav-search-empty { margin: 0; padding: 16px; text-align: center; color: var(--ink-soft); font-size: 0.9rem; }
.nav-search-close {
  background: var(--white);
  border: 1.5px solid var(--ink);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  flex: 0 0 auto;
}

.cart-toggle {
  position: relative;
  font-size: 1.1rem;
  border: none;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.cart-badge.show { display: flex; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 33, 24, 0.5);
  z-index: 260;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 92vw);
  background: var(--cream);
  border-left: 1.5px solid var(--ink);
  z-index: 270;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-header h3 { margin: 0; font-size: 1.3rem; font-weight: 500; }
.cart-close {
  background: var(--white);
  border: 1.5px solid var(--ink);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}
.cart-sandbox-note { font-size: 0.8rem; color: var(--ink-soft); margin: 8px 0 16px; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 10px;
}
.cart-item img, .cart-item-noimg {
  width: 56px; height: 56px;
  border-radius: 12px;
  border: 1.5px solid var(--ink);
  object-fit: cover;
  background: var(--cream-alt);
}
.cart-item-noimg { display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.cart-item-info h5 { margin: 0; font-size: 0.9rem; line-height: 1.25; font-weight: 500; }
.cart-item-price { font-size: 0.8rem; color: var(--ink-soft); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
}
.qty-btn {
  width: 26px; height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--orange);
}
.qty-btn:hover { color: var(--orange-dark); }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.9rem;
}
.cart-empty { display: none; text-align: center; color: var(--ink-soft); margin-top: 40px; }

.cart-recs { margin-top: 18px; }
.cart-recs-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}
.cart-recs-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-recs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  flex: 1;
  min-width: 0;
}
.cart-recs-row::-webkit-scrollbar { display: none; }
.cart-recs-arrow {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cart-recs-arrow:hover { background: var(--cream-alt); }
.cart-rec-item {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.cart-rec-item img, .cart-rec-item .cart-item-noimg {
  width: 80px; height: 80px;
  border-radius: 12px;
  border: 1.5px solid var(--ink);
  object-fit: cover;
  background: var(--cream-alt);
}
.cart-rec-name {
  font-size: 0.72rem;
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
}
.cart-rec-price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
}
.cart-rec-add {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  cursor: pointer;
}
.cart-rec-add:hover { background: var(--cream-alt); }

.cart-drawer-footer { border-top: 1.5px solid var(--ink); padding-top: 16px; margin-top: 16px; }
.cart-sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.cart-checkout-btn { width: 100%; justify-content: center; }
.cart-checkout-btn:disabled {
  background: var(--cream-alt);
  color: var(--ink-soft);
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .cart-drawer { padding: 18px; }
}

@media (max-width: 820px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: center; gap: 18px; padding: 24px; border-bottom: 1.5px solid var(--ink); transform: translateY(-150%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero-banner-pad {
  height: 70px;
  background: var(--cream);
}
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.hero-banner-img.active { opacity: 1; }

.hero-bestsellers-wrap {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}
.hero-bestsellers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.hero-bestsellers-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-bestsellers-viewall {
  font-size: 0.9rem;
  color: #9A9A9A;
  text-decoration: none;
}
.hero-bestsellers-viewall:hover { color: var(--ink-soft); }
.hero-bestsellers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hero-bs-item {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.hero-bs-item:hover { transform: translateY(-3px); }
.hero-bs-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bs-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-bs-item.sold-out .hero-bs-img img { opacity: 0.5; }
.hero-bs-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hero-bs-cat {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-bs-item h4 { font-weight: 600; font-size: 0.9rem; margin: 0 0 4px; line-height: 1.3; }
.hero-bs-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hero-bs-price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
}
.hero-bs-add {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
}
.hero-bs-add:disabled {
  background: var(--cream-alt);
  color: var(--ink-soft);
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .hero-bestsellers { grid-template-columns: repeat(2, 1fr); }
}

/* Section shared */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.sandbox-note {
  display: inline-block;
  background: var(--sage);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.9rem !important;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  margin-top: 8px;
}

.about {
  background: var(--cream);
  border-bottom: 1.5px solid var(--ink);
}
.about-id-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}
.id-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 280px;
  aspect-ratio: 1.586 / 1;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
  margin: 0 -34px;
  text-decoration: none;
  color: inherit;
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}
.id-card:hover, .id-card:focus-visible { translate: 0 -6px; z-index: 5 !important; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15); }
.id-card::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.id-card-photo {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--cream-alt);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.id-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.35); }
.id-photo-brad { object-position: center 0% !important; transform: scale(1.6) translateY(8%) !important; }
.id-photo-pudding { object-position: center 32% !important; transform: scale(1.05) !important; }
.id-card-info { display: flex; flex-direction: column; gap: 4px; text-align: left; min-width: 0; }
.id-card-name {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.id-card-breed {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--ink-soft);
}
.id-card-traits {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.id-card-traits li::before { content: '• '; color: var(--orange-dark); }
.id-card:nth-child(1) { transform: rotate(-6deg) translateX(-110px); z-index: 1; }
.id-card:nth-child(2) { transform: translateY(-10px); z-index: 3; }
.id-card:nth-child(3) { transform: rotate(6deg) translateX(110px); z-index: 2; }
.about-text { text-align: center; max-width: 640px; margin: 0 auto; }
.about-text p { font-size: 1.1rem; }
.about-id-cards.row-two { margin-top: 48px; margin-bottom: 0; }
.about-id-cards.row-two .id-card:nth-child(1) { transform: rotate(-5deg) translateX(-40px); z-index: 1; }
.about-id-cards.row-two .id-card:nth-child(2) { transform: rotate(5deg) translateX(40px); z-index: 2; }
@media (max-width: 700px) {
  .about-id-cards { flex-wrap: wrap; row-gap: 20px; }
  .id-card { width: 220px; margin: 0 -20px; }
}

/* Gallery */
.gallery-grid {
  columns: 4 280px;
  column-gap: 18px;
}
.gallery-grid figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  cursor: zoom-in;
  background: var(--white);
  transition: transform 0.2s ease;
}
.gallery-grid figure:hover { transform: translateY(-4px) rotate(-0.5deg); }
.gallery-grid img { width: 100%; height: auto; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(43, 33, 24, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 720px); max-height: 84vh; border-radius: 16px; border: 3px solid var(--white); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: var(--white); color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%;
  border: none; font-size: 1.3rem; cursor: pointer;
}

/* Find me / markets */
.markets {
  background: var(--ink);
  color: var(--cream);
}
.markets .section-head { margin-bottom: 16px; }
.markets .section-head .tag { margin-bottom: 4px; }
.markets .section-head p { color: #D8C9B8; }
.markets .section-head p.next-event {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--white);
  margin-top: 0;
}
.events-list-title {
  text-align: center;
  color: var(--cream);
  font-size: 1.1rem;
  margin: 0 0 20px;
}
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #3A2E22;
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 2px solid #55452F;
  text-align: left;
}
.event-item.featured {
  background: var(--white);
  border-color: var(--white);
  max-width: 640px;
  margin: 0 auto 32px;
}
.event-item.featured .event-info h3 { color: var(--ink); }
.event-item.featured .event-info p { color: var(--ink-soft); }
.event-date {
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--white);
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 12px;
  text-align: center;
  min-width: 90px;
}
.event-info h3 { color: var(--cream); font-size: 1.1rem; margin: 0 0 4px; }
.event-info p { color: #C8B8A4; font-size: 0.9rem; margin: 0; }
@media (max-width: 500px) {
  .event-item { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Past events strip (same treatment as the doodle wall gallery) */
.past-events { margin-top: 48px; }
.past-events-title {
  text-align: center;
  color: var(--cream);
  font-size: 1.1rem;
  margin: 0 0 20px;
}
.past-events-scroller { position: relative; max-width: 960px; margin: 0 auto; }
.past-events-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 4px 10px;
}
.past-events-strip::-webkit-scrollbar { display: none; }
.past-event-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--white);
  cursor: zoom-in;
  background: var(--white);
  transition: transform 0.2s ease;
}
.past-event-card:hover { transform: translateY(-4px) rotate(-0.5deg); }
.past-event-card img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.past-events-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease;
}
.past-events-arrow.prev { left: -22px; }
.past-events-arrow.next { right: -22px; }
.past-events-arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .past-event-card { flex-basis: 70vw; }
  .past-events-arrow { display: none; }
}

/* Shop placeholder */
.shop-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 3px dashed var(--orange);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.shop-card .emoji { font-size: 2.6rem; }

/* Footer */
footer {
  background: var(--pink);
  border-top: 1.5px solid var(--ink);
  padding: 56px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand strong { font-weight: 500; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); }
.newsletter { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-family: 'Varela Round', sans-serif;
  font-size: 0.95rem;
  min-width: 220px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(43,33,24,0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: 1.5px solid var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 250;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); }

/* Shop grid */
.shop-no-results {
  display: none;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
  padding: 40px 0;
}
.shop-no-results.show { display: block; }

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-btn {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 40px;
}
.filter-btn:hover { background: var(--cream-alt); }
.filter-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.shop-card-item {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.shop-card-item:hover { transform: translateY(-3px); }
.shop-card-item.hidden { display: none; }

.shop-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-img .no-photo {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.4;
}
.badge.sold-out-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.shop-card-item.sold-out .shop-card-img img { opacity: 0.5; }

.shop-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.shop-card-cat {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shop-card-body h4 { margin: 0 0 8px; font-size: 1rem; line-height: 1.3; font-weight: 600; }
.shop-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.shop-card-price { font-family: 'Fredoka', sans-serif; font-weight: 400; font-size: 1.05rem; }
.btn-buy {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.btn-buy:hover { transform: translateY(-1px); }
.btn-buy:active { transform: translateY(2px); }
.btn-buy:disabled {
  background: var(--cream-alt);
  color: var(--ink-soft);
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .shop-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 0 -16px 24px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .shop-filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; }
}

@media (max-width: 480px) {
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .shop-card-body { padding: 12px 14px 14px; }
  .shop-card-body h4 { font-size: 0.9rem; }
  .shop-card-price { font-size: 0.95rem; }
  .btn-buy, .filter-btn { min-height: 44px; padding: 10px 16px; }
  section { padding: 56px 0; }
}

/* Meow Mail pop-up */
.meowmail-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(43, 33, 24, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.meowmail-overlay.open { opacity: 1; }
.meowmail-popup {
  position: relative;
  width: min(440px, 100%);
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  padding: 36px 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.meowmail-overlay.open .meowmail-popup { transform: translateY(0); }
.meowmail-cat {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--cream-alt);
  display: block;
  margin: 0 auto 10px;
}
.meowmail-popup h3 { font-size: 1.4rem; font-weight: 600; margin: 6px 0 8px; }
.meowmail-popup p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 16px; }
.meowmail-form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.meowmail-form input {
  flex: 1 1 200px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-family: 'Varela Round', sans-serif;
  font-size: 1rem;
  background: var(--white);
}
.meowmail-popup .meowmail-small { font-size: 0.78rem; margin: 12px 0 6px; }
.meowmail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
}
.meowmail-skip {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: 'Varela Round', sans-serif;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}
