/* ============================================================
   Natasha's Corner - stylesheet
   A scrapbook / gallery-wall look: artwork "taped" at gentle
   angles, hand-drawn dividers, one playful hero moment.
   ============================================================ */

:root {
  --pink:    #FFD6E8;
  --pink-deep: #FF6F91;
  --lilac:   #E4D6FF;
  --mint:    #B8F2E6;
  --butter:  #FFF3B0;
  --cream:   #FFFBF6;
  --plum:    #4A3B5C;
  --plum-soft: #7A6890;
  --white:   #FFFFFF;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-tape: 0 10px 24px rgba(74, 59, 92, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--plum);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(255, 214, 232, 0.55) 0, transparent 40%),
    radial-gradient(circle at 92% 18%, rgba(184, 242, 230, 0.5) 0, transparent 38%),
    radial-gradient(circle at 50% 95%, rgba(228, 214, 255, 0.45) 0, transparent 45%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--plum);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { max-width: 68ch; }

/* Ensure all page content stays in front of background floating micro-animations */
.site-header,
main,
.site-footer,
.social-float,
.admin-shell,
.login-wrap,
.error-page-wrap {
  position: relative;
  z-index: 1;
}

a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Skip link (accessibility) -------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--plum);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* -------------------- Focus visibility -------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 2px;
}

/* -------------------- Floating pill nav -------------------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 16px;
}

.nav-pill {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 251, 246, 0.9);
  backdrop-filter: blur(8px);
  border: 2px solid var(--white);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: var(--shadow-tape);
  position: relative;
  overflow: hidden;
}

/* ---- Nav-pill animated background layer ---- */
.nav-pill-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0.18;
  z-index: 0;
}
.nav-pill > *:not(.nav-pill-bg) { position: relative; z-index: 1; }


.brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--plum);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--plum);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--pink);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: var(--pink);
  border: none;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 12px;
  }

  .nav-pill {
    padding: 8px 10px 8px 18px;
    overflow: visible;
  }

  .brand {
    font-size: 1.15rem;
    gap: 6px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1;
  }

  .nav-pill > .nav-links {
    position: absolute !important;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 2px solid var(--white);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(74, 59, 92, 0.16);
    display: none;
    z-index: 1000;
  }

  .nav-pill > .nav-links.open {
    display: flex !important;
  }

  .nav-pill > .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-pill > .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 1.05rem;
    box-sizing: border-box;
  }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(255, 111, 145, 0.4);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}
.btn-secondary {
  background: var(--white);
  color: var(--plum);
  border: 2px solid var(--lilac);
}
.btn-small { padding: 8px 18px; font-size: 0.9rem; }
.btn-danger { background: #FF5A5F; color: var(--white); }

/* -------------------- Hero -------------------- */
.hero {
  padding: 64px 0 40px;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-collage { order: -1; }
}

.hero-eyebrow-badge {
  display: inline-block;
  background: var(--butter);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
  transform: rotate(-2deg);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--plum-soft);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
@media (max-width: 860px) { .hero-actions { justify-content: center; } }

.hero-collage {
  position: relative;
  height: 340px;
}
.hero-collage .polaroid {
  position: absolute;
  background: var(--white);
  padding: 10px 10px 34px;
  border-radius: 8px;
  box-shadow: var(--shadow-tape);
  width: 150px;
  animation: float-gentle 6s ease-in-out infinite;
}
.hero-collage .polaroid img { border-radius: 4px; aspect-ratio: 1; object-fit: cover; }
.hero-collage .p1 { top: 0; left: 0; --r: -8deg; transform: rotate(var(--r)); animation-delay: 0s; width: 140px; z-index: 3; }
.hero-collage .p2 { top: -15px; left: 32%; --r: 4deg; transform: rotate(var(--r)); width: 135px; animation-delay: 1.2s; z-index: 1; }
.hero-collage .p3 { top: 15px; right: 0; --r: 10deg; transform: rotate(var(--r)); width: 145px; animation-delay: 0.6s; z-index: 3; }
.hero-collage .p4 { bottom: -10px; left: 15%; --r: -5deg; transform: rotate(var(--r)); width: 155px; animation-delay: 2.1s; z-index: 4; }
.hero-collage .p5 { bottom: 10px; right: 15%; --r: -12deg; transform: rotate(var(--r)); width: 130px; animation-delay: 3.5s; z-index: 2; }

@keyframes float-gentle {
  0%, 100% { transform: rotate(var(--r)); }
  50% { transform: rotate(calc(var(--r) + 2.5deg)); }
}

/* -------------------- Wave divider -------------------- */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  color: var(--white);
}

/* -------------------- Section -------------------- */
.section { padding: 56px 0; }
.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-title-row p { margin: 0; color: var(--plum-soft); }

.tint-mint   { background: linear-gradient(180deg, transparent, var(--mint) 12%, var(--mint) 88%, transparent); }
.tint-lilac  { background: linear-gradient(180deg, transparent, var(--lilac) 12%, var(--lilac) 88%, transparent); }

/* -------------------- Gallery wall grid -------------------- */
.gallery-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 34px 26px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  margin: 20px auto;
  max-width: 700px;
}
.empty-state h3 {
  margin-bottom: 8px;
  text-align: center;
}
.empty-state p {
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
}

.art-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 12px 18px;
  box-shadow: var(--shadow-tape);
  transform: rotate(var(--tilt, -2deg));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.art-card:nth-child(3n+1) { --tilt: -2.5deg; }
.art-card:nth-child(3n+2) { --tilt: 1.5deg; }
.art-card:nth-child(3n+3) { --tilt: -1deg; }
.art-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 16px 30px rgba(74, 59, 92, 0.2);
}

/* Single centered tape at the top of each gallery card */
.art-card .tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 60px;
  height: 22px;
  background: rgba(255, 243, 176, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(74, 59, 92, 0.1);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 5;
  pointer-events: none;
}

.art-card a.thumb-link { display: block; border-radius: 8px; overflow: hidden; }
.art-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.art-card h3 {
  margin: 12px 4px 2px;
  font-size: 1.1rem;
  text-align: center;
}
.art-card .card-actions {
  margin: 10px 4px 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.badge {
  display: inline-block;
  background: var(--mint);
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
}
.badge-soldout { background: #F4C7C3; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tape);
}

/* -------------------- Artwork detail page -------------------- */
.artwork-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 800px) { .artwork-detail { grid-template-columns: 1fr; gap: 40px; } }

.artwork-detail .frame {
  background: var(--white);
  padding: 16px 16px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-tape);
  transform: rotate(-3deg);
  border: 4px dashed var(--mint);
  position: relative;
}
.artwork-detail .frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -16px;
  width: 90px;
  height: 28px;
  background: rgba(255, 243, 176, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 3px 8px rgba(74, 59, 92, 0.12);
  transform: rotate(-38deg);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 5;
  pointer-events: none;
}
.artwork-detail .frame::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -16px;
  width: 90px;
  height: 28px;
  background: rgba(255, 243, 176, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 3px 8px rgba(74, 59, 92, 0.12);
  transform: rotate(-38deg);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 5;
  pointer-events: none;
}
.artwork-detail .frame img { border-radius: 12px; }

.artwork-info {
  background: var(--white);
  padding: 40px;
  border-radius: 30px;
  border: 3px solid var(--pink-deep);
  box-shadow: 
    8px 8px 0px var(--lilac),
    0 0 20px rgba(255, 214, 232, 0.6);
  position: relative;
}

.kid-badge {
  display: inline-block;
  background: var(--butter);
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--pink-deep);
  font-size: 1.1rem;
  transform: rotate(-4deg);
  margin-bottom: 15px;
  border: 2px solid var(--pink-deep);
  box-shadow: 3px 3px 0px var(--pink-deep);
}

.kid-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--plum);
  text-shadow: 3px 3px 0px var(--mint), 5px 5px 0px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  line-height: 1.1;
}

.merch-mockup-grid {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
}
.merch-mockup {
  text-align: center;
}
.merch-mockup-thumb {
  background: var(--white);
  border: 2px solid var(--lilac);
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.merch-mockup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.merch-mockup-placeholder {
  font-size: 1.8rem;
  opacity: 0.5;
}
.merch-mockup-label {
  margin-top: 8px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.merch-mockup.unavailable .merch-mockup-thumb {
  filter: grayscale(1);
  opacity: 0.55;
}
.merch-mockup.unavailable .merch-mockup-label {
  opacity: 0.65;
}

.artwork-description {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* -------------------- About page -------------------- */
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-tape);
}
.about-card .artist-badge {
  display: inline-block;
  background: var(--pink);
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 700;
  margin-bottom: 14px;
  transform: rotate(-2deg);
}

/* -------------------- SVG Icons & Social floating bar -------------------- */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

.social-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.social-float a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: var(--shadow-tape);
  color: var(--plum);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.social-float a:hover { transform: scale(1.1); text-decoration: none; }
.social-float a.wa { background: #25D366; color: var(--white); }
.social-float a.wa:hover { background: #20bd5a; color: var(--white); }
.social-float a.ig:hover { color: #E1306C; }
.social-float a.tiktok:hover { color: #000000; }
.social-float .icon-svg {
  width: 24px;
  height: 24px;
}

/* -------------------- Footer -------------------- */
.site-footer {
  margin-top: 60px;
  padding: 40px 0 32px;
  text-align: center;
  color: var(--plum-soft);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.site-footer p {
  margin-inline: auto;
  text-align: center;
}
.site-footer .footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.site-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--plum);
  transition: color 0.15s ease;
}
.site-footer .footer-socials a:hover {
  color: var(--pink-deep);
  text-decoration: none;
}
.site-footer .footer-socials .icon-svg {
  width: 18px;
  height: 18px;
}

/* -------------------- Forms (admin) -------------------- */
.admin-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
@media (max-width: 780px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-sidebar {
  background: var(--plum);
  color: var(--white);
  padding: 28px 18px;
}
.admin-sidebar .brand { color: var(--white); margin-bottom: 30px; }
.admin-sidebar nav a {
  display: block;
  color: var(--white);
  opacity: 0.85;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a[aria-current="page"] {
  background: rgba(255,255,255,0.15);
  opacity: 1;
  text-decoration: none;
}

.admin-main { padding: 34px 30px 60px; background: var(--cream); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 14px rgba(74,59,92,0.08);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-group .hint { color: var(--plum-soft); font-size: 0.85rem; margin-top: 4px; }

input[type=text], input[type=password], input[type=number], input[type=tel],
input[type=email], textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--lilac);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--plum);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--pink-deep); outline: none; }

.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--lilac);
  vertical-align: middle;
}
.data-table img.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.data-table .row-actions { display: flex; gap: 8px; }

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
}
.alert-success { background: var(--mint); color: #1F5C4F; }
.alert-error { background: #FFD6D6; color: #8A2E2E; }

.merch-row {
  display: grid;
  grid-template-columns: 56px 1fr 200px 110px 36px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
@media (max-width: 800px) { .merch-row { grid-template-columns: 1fr; } }

.merch-thumb-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--lilac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tape);
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.text-muted { color: var(--plum-soft); }
.mt-0 { margin-top: 0; }

/* Password eye toggle */
.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrap input {
  padding-right: 48px;
}
.eye-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--plum-soft);
  padding: 4px;
  line-height: 0;
  border-radius: 6px;
  transition: color 0.15s ease;
}
.eye-toggle:hover { color: var(--pink-deep); }
.eye-toggle:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 2px;
}

/* -------------------- Analytics dashboard -------------------- */
.analytics-header-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 214, 232, 0.45) 0%, rgba(228, 214, 255, 0.4) 50%, rgba(184, 242, 230, 0.35) 100%);
  border: 2px dashed rgba(255, 111, 145, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.analytics-header-banner .banner-text {
  flex: 1;
  min-width: 250px;
}
.banner-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(74, 59, 92, 0.08);
  border: 1px solid rgba(255, 111, 145, 0.2);
}
.banner-badge .badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.analytics-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 12px 0;
}
.analytics-section-title span {
  font-size: 1.3rem;
}
.analytics-section-title h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--plum);
  letter-spacing: -0.2px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: 0 4px 16px rgba(74, 59, 92, 0.06);
  border: 1px solid rgba(74, 59, 92, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 59, 92, 0.1);
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
}
.stat-card-pink::before   { background: linear-gradient(90deg, #FF6F91, #FFD6E8); }
.stat-card-lilac::before  { background: linear-gradient(90deg, #B598F5, #E4D6FF); }
.stat-card-mint::before   { background: linear-gradient(90deg, #38C79F, #B8F2E6); }
.stat-card-butter::before { background: linear-gradient(90deg, #FFB347, #FFF3B0); }
.stat-card-emerald::before{ background: linear-gradient(90deg, #25D366, #A8F5C4); }

.stat-card-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--plum);
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.stat-card .stat-label {
  color: var(--plum);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 6px;
}
.stat-card .stat-sub {
  color: var(--plum-soft);
  font-size: 0.74rem;
  margin-top: 2px;
}

/* Charts grid & cards */
.charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.chart-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.chart-subtitle {
  font-size: 0.8rem;
  color: var(--plum-soft);
  display: block;
}
.chart-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pill-pink {
  background: rgba(255, 111, 145, 0.15);
  color: var(--pink-deep);
}
.pill-green {
  background: rgba(37, 211, 102, 0.18);
  color: #179346;
}

.chart-legend-custom {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--plum);
  font-weight: 600;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  flex: 1;
}

/* Simple 4-card KPI Grid */
.simple-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

/* Leaderboard Card & Tabs */
.leaderboard-card {
  padding: 24px;
  margin-bottom: 30px;
}
.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.leaderboard-tabs {
  display: inline-flex;
  background: rgba(74, 59, 92, 0.06);
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
}
.leaderboard-tabs .tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--plum-soft);
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.leaderboard-tabs .tab-btn:hover {
  color: var(--plum);
}
.leaderboard-tabs .tab-btn.active {
  background: var(--white);
  color: var(--pink-deep);
  box-shadow: 0 2px 8px rgba(74, 59, 92, 0.12);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
}
.styled-table th {
  background: rgba(74, 59, 92, 0.04);
  color: var(--plum-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border-bottom: 2px solid rgba(74, 59, 92, 0.08);
}
.styled-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(74, 59, 92, 0.06);
  vertical-align: middle;
}
.styled-table tbody tr:hover {
  background: rgba(255, 214, 232, 0.15);
}

.thumb-frame {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-mini {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
}
.rank-1 { background: #FFE082; color: #795548; font-size: 0.95rem; }
.rank-2 { background: #ECEFF1; color: #455A64; font-size: 0.95rem; }
.rank-3 { background: #FFE0B2; color: #E65100; font-size: 0.95rem; }
.rank-other { background: var(--lilac); color: var(--plum); font-size: 0.72rem; }

.art-title-cell strong {
  display: block;
  font-size: 0.94rem;
  color: var(--plum);
  line-height: 1.25;
}
.art-live-link {
  font-size: 0.78rem;
  color: var(--pink-deep);
  text-decoration: none;
  font-weight: 600;
}
.art-live-link:hover {
  text-decoration: underline;
}

.view-tag, .enquiry-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.view-tag {
  background: rgba(255, 111, 145, 0.1);
  color: var(--pink-deep);
}
.enquiry-tag {
  background: rgba(37, 211, 102, 0.15);
  color: #1a9e4b;
}

/* ============================================================
   Site-Wide Floating Ambient Animations (Butterflies & Hearts)
   Subtle, playful, non-intrusive floating creatures for kids site
   ============================================================ */
.floating-ambient-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-creature {
  position: absolute;
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Butterfly specific fluttering */
.ambient-butterfly {
  display: inline-block;
  filter: drop-shadow(0 2px 5px rgba(255, 111, 145, 0.25));
}
.ambient-butterfly .butterfly-inner {
  display: inline-block;
  animation: butterfly-flutter 0.35s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* Heart specific soft pulse */
.ambient-heart {
  display: inline-block;
  filter: drop-shadow(0 2px 6px rgba(255, 111, 145, 0.3));
}
.ambient-heart .heart-inner {
  display: inline-block;
  animation: heart-soft-pulse 1.8s ease-in-out infinite;
  transform-origin: center center;
}

/* Sparkle subtle twinkle */
.ambient-sparkle {
  display: inline-block;
  filter: drop-shadow(0 0 4px rgba(255, 230, 100, 0.6));
}
.ambient-sparkle .sparkle-inner {
  display: inline-block;
  animation: sparkle-twinkle 1.2s ease-in-out infinite alternate;
}

@keyframes butterfly-flutter {
  0% { transform: scaleX(1) scaleY(1) rotate(-4deg); }
  50% { transform: scaleX(0.55) scaleY(1.08) rotate(6deg); }
  100% { transform: scaleX(1) scaleY(1) rotate(-4deg); }
}

@keyframes heart-soft-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@keyframes sparkle-twinkle {
  0% { transform: scale(0.7) rotate(0deg); opacity: 0.5; }
  100% { transform: scale(1.15) rotate(45deg); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-ambient-container {
    display: none !important;
  }
}

/* ============================================================
   Comments Section (public - artwork.php)
   ============================================================ */

.comments-section {
  background: linear-gradient(160deg, var(--cream) 0%, var(--lilac) 100%);
  padding: 60px 0;
}

.comments-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--plum);
  margin-bottom: 28px;
  text-align: center;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.comment-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 4px 16px rgba(74,59,92,0.08);
  animation: fadeInUp 0.4s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.comment-avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-deep), var(--lilac));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-body {
  flex: 1;
}

.comment-meta {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.comment-meta strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--plum);
}

.comment-meta time {
  font-size: 0.78rem;
  color: var(--plum-soft);
}

.comment-text {
  font-size: 0.95rem;
  color: var(--plum);
  margin: 0;
  line-height: 1.55;
}

.comment-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(74,59,92,0.10);
}

.comment-form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--plum);
  margin: 0 0 18px;
}

.comment-form .form-group {
  margin-bottom: 16px;
}

.comments-closed {
  text-align: center;
  color: var(--plum-soft);
  font-style: italic;
  padding: 24px 0;
}

.comments-success-msg {
  margin-bottom: 24px;
}

/* ============================================================
   Admin: Comments table + hidden row style
   ============================================================ */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lilac);
  vertical-align: top;
}

.admin-table thead th {
  background: var(--lilac);
  color: var(--plum);
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tr.comment-hidden td {
  opacity: 0.55;
}

/* ============================================================
   About Page - with optional photo
   ============================================================ */

.about-card {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-tape);
}

.about-image-wrap {
  flex-shrink: 0;
  width: 220px;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(74,59,92,0.16);
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.about-text-wrap {
  flex: 1;
  min-width: 0;
}

.about-text-wrap h1 {
  margin-top: 8px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .about-card {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }
  .about-image-wrap {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
}


/* ============================================================
   Quill WYSIWYG Editor - Admin overrides
   ============================================================ */

/* Match the admin's existing card/form aesthetic */
.ql-toolbar.ql-snow {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-color: #d8cce8;
  background: #f9f6ff;
  font-family: var(--font-body);
}

.ql-container.ql-snow {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-color: #d8cce8;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--plum);
}

.ql-editor {
  min-height: 140px;
  line-height: 1.65;
}

.ql-editor.ql-blank::before {
  color: #b0a0c8;
  font-style: italic;
}

.ql-snow .ql-stroke {
  stroke: var(--plum-soft);
}
.ql-snow .ql-fill {
  fill: var(--plum-soft);
}
.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke {
  stroke: var(--plum);
}

/* ============================================================
   Rich-text content output (public pages)
   ============================================================ */

.artwork-description,
.about-rich-text {
  color: var(--plum);
  line-height: 1.7;
  font-size: 1rem;
}

.artwork-description p,
.about-rich-text p {
  margin: 0 0 0.9em;
}

.artwork-description ul,
.artwork-description ol,
.about-rich-text ul,
.about-rich-text ol {
  margin: 0 0 0.9em 1.4em;
}

.artwork-description strong,
.about-rich-text strong {
  font-weight: 700;
}

.artwork-description a,
.about-rich-text a {
  color: var(--pink-deep);
  text-decoration: underline;
}

/* ============================================================
   Image Preview Modal (Lightbox for Artworks & Merch)
   ============================================================ */

/* Gallery card thumb-link - plain clickable link to artwork page */
.art-card .thumb-link {
  position: relative;
  display: block;
  cursor: pointer;
}

.artwork-detail .frame {
  cursor: zoom-in;
  position: relative;
}

.artwork-detail .frame img {
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.artwork-detail .frame:hover img {
  transform: scale(1.015);
}

.merch-mockup {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.merch-mockup-thumb {
  position: relative;
  cursor: zoom-in;
}

.merch-mockup-thumb::after {
  content: '🔍';
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.merch-mockup:hover .merch-mockup-thumb::after {
  opacity: 1;
  transform: scale(1.1);
}

/* Modal Backdrop & Container */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.image-modal.open {
  opacity: 1;
  visibility: visible;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 30, 60, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.image-modal-content {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 920px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 28px;
  border: 4px solid var(--pink);
  box-shadow: 
    0 24px 60px rgba(74, 59, 92, 0.35),
    0 0 0 8px rgba(255, 214, 232, 0.5);
  padding: 18px 18px 22px;
  transform: scale(0.92) translateY(18px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.image-modal.open .image-modal-content {
  transform: scale(1) translateY(0);
}

.image-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-deep);
  color: var(--white);
  border: 3px solid var(--white);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 111, 145, 0.45);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s;
  z-index: 10;
}

.image-modal-close:hover {
  background: #ff4777;
  transform: scale(1.15) rotate(90deg);
}

.image-modal-close:active {
  transform: scale(0.95);
}

.image-modal-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff8fc;
  border-radius: 20px;
  overflow: hidden;
  max-height: calc(85vh - 120px);
  position: relative;
}

.image-modal-img {
  max-width: 100%;
  max-height: calc(85vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

.image-modal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 0 4px;
  flex-wrap: nowrap;
}

.image-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.image-modal-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--butter);
  color: var(--plum);
  margin-bottom: 2px;
}

.image-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--plum);
  line-height: 1.2;
}

.image-modal-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--plum-soft);
}

.image-modal-action {
  white-space: nowrap;
}

/* ---- Carousel arrow nav buttons (live in caption row) ---- */
.image-modal-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--lilac);
  background: var(--white);
  color: var(--pink-deep);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 111, 145, 0.25);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s, color 0.15s;
  padding: 0;
}
.image-modal-nav:hover {
  background: var(--pink-deep);
  color: var(--white);
  border-color: var(--pink-deep);
  transform: scale(1.12);
}
.image-modal-nav:active {
  transform: scale(0.93);
}
.image-modal-nav:focus-visible {
  outline: 3px solid var(--butter);
  outline-offset: 2px;
}

/* Smooth image swap transition */
.image-modal-img {
  transition: opacity 0.15s ease, transform 0.15s ease;
}


@media (max-width: 600px) {
  .image-modal {
    padding: 12px;
  }
  .image-modal-content {
    padding: 12px 12px 18px;
    border-radius: 22px;
  }
  .image-modal-frame {
    max-height: calc(80vh - 140px);
  }
  .image-modal-img {
    max-height: calc(80vh - 140px);
  }
  .image-modal-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .image-modal-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .image-modal-action {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Custom Playful Big Pink Upload Button
   ============================================================ */

.visually-hidden,
.custom-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.custom-file-upload-wrap {
  margin: 10px 0 6px;
  position: relative;
}

/* Big playful pink upload button */
.btn-upload-big {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #FF6F91 0%, #FF85A2 60%, #FFA4B6 100%);
  color: var(--white);
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 10px 24px rgba(255, 111, 145, 0.4),
    0 4px 0px rgba(212, 60, 93, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.2s;
  position: relative;
  overflow: hidden;
  max-width: 620px;
}

.btn-upload-big::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.btn-upload-big:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 
    0 16px 32px rgba(255, 111, 145, 0.48),
    0 5px 0px rgba(212, 60, 93, 0.45);
}

.btn-upload-big:hover::before {
  opacity: 1;
}

.btn-upload-big:active {
  transform: translateY(2px) scale(0.99);
  box-shadow: 
    0 6px 16px rgba(255, 111, 145, 0.35),
    0 2px 0px rgba(212, 60, 93, 0.5);
}

.btn-upload-big.drag-over {
  background: linear-gradient(135deg, #FF4B77 0%, #FF6F91 100%);
  transform: scale(1.04);
  box-shadow: 0 0 0 6px var(--butter), 0 20px 40px rgba(255, 111, 145, 0.6);
  border-color: var(--white);
}

.btn-upload-big:focus-within {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
}

.btn-upload-big .upload-icon {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.16));
  animation: playful-wiggle 3s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes playful-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg) scale(1.05); }
  75% { transform: rotate(8deg) scale(1.05); }
}

.btn-upload-big .upload-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
}

.btn-upload-big .upload-heading {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(180, 40, 75, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-upload-big .upload-subheading {
  font-family: var(--font-body);
  font-size: 0.88rem;
  opacity: 0.95;
  color: #FFF2F6;
  line-height: 1.35;
}

.btn-upload-big .upload-badge {
  background: rgba(255, 255, 255, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.btn-upload-big:hover .upload-badge {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* File selected chip/badge */
.upload-filename-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 18px;
  background: var(--mint);
  color: #175246;
  border: 2px solid #8CE7D4;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-body);
  box-shadow: 0 4px 12px rgba(74, 59, 92, 0.08);
  animation: bounce-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounce-in {
  0% { opacity: 0; transform: scale(0.8) translateY(-6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Merch row custom pink upload button */
.btn-upload-merch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #FF6F91 0%, #FF85A2 100%);
  color: var(--white);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(255, 111, 145, 0.3);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s;
  max-width: 195px;
}

.btn-upload-merch:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(255, 111, 145, 0.42);
}

.btn-upload-merch:active {
  transform: translateY(1px);
}

.btn-upload-merch:focus-within {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
}

.btn-upload-merch.has-file {
  background: linear-gradient(135deg, #48C78E 0%, #68DCA7 100%);
  box-shadow: 0 4px 12px rgba(72, 199, 142, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
}

.merch-upload-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.merch-upload-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .btn-upload-big {
    padding: 16px 20px;
    gap: 14px;
  }
  .btn-upload-big .upload-icon {
    font-size: 2rem;
  }
  .btn-upload-big .upload-heading {
    font-size: 1.12rem;
  }
  .btn-upload-big .upload-badge {
    display: none;
  }
}

