:root {
  --turquoise: #15c7d4;
  --turquoise-dark: #0e8f9b;
  --orange: #ff6a1a;
  --orange-dark: #c24b08;
  --cream: #fff7ee;
  --mint: #eefcff;
  --peach: #fff0e5;
  --ink: #27313b;
  --muted: #64707d;
  --line: rgba(39, 49, 59, .12);
  --card: rgba(255, 255, 255, .86);
  --shadow: 0 18px 42px rgba(30, 45, 60, .12);
  --soft-shadow: 0 8px 22px rgba(30, 45, 60, .08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 250, 243, .96), rgba(244, 253, 255, .96) 48%, rgba(255, 243, 232, .94)),
    repeating-radial-gradient(circle at 14px 14px, rgba(21, 199, 212, .13) 0 2px, transparent 3px 94px);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, .9);
  border-bottom: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}
.free-shipping-message { grid-column: 1 / -1; margin: 4px 0 8px; padding: 10px 12px; border-radius: 10px; color: #7c4c20; background: var(--peach); font-size: .88rem; font-weight: 800; }
.free-shipping-message.success { color: #08746f; background: #e7faf5; }
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand img {
  width: 230px;
  height: 82px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 12px;
}
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-links a, .cart-link {
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-weight: 900;
}
.nav-links a:hover, .cart-link:hover {
  background: white;
  box-shadow: var(--soft-shadow);
  color: var(--orange-dark);
}
.cart-link span {
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: .82rem;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}
.hero {
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero h1, .page-head h1, .product-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}
.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 750;
}
.badge, .tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,106,26,.11);
  color: var(--orange-dark);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.actions, .card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.button, .tiny-button, .mini-button {
  min-height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}
.button.primary, .mini-button.primary {
  color: white;
  background: linear-gradient(90deg, var(--turquoise), var(--orange));
}
.button.secondary, .mini-button {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}
.tiny-button {
  color: white;
  background: var(--orange);
}
.danger {
  color: #9b2f16;
  background: rgba(255,106,26,.10);
}
.hero-card, .panel, .summary, .login-card, .success-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-card {
  padding: 18px;
}
.hero-card img, .main-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--mint), var(--peach));
}
.section { padding: 28px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
}
.section h2, .panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}
.category-grid, .product-grid {
  display: grid;
  gap: 16px;
}
.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-tile, .product-card, .cart-item, .admin-row {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}
.category-tile {
  min-height: 170px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 12px;
}
.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(21,199,212,.16), rgba(255,106,26,.15));
  font-size: 1.55rem;
}
.category-tile strong, .product-card h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}
.category-tile p, .product-card p, .small-muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}
.product-card {
  overflow: hidden;
}
.product-card > a img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(145deg, var(--mint), var(--peach));
}
.product-card > div {
  padding: 18px;
  display: grid;
  gap: 10px;
}
.price {
  color: var(--turquoise-dark);
  font-size: 1.85rem;
  font-weight: 900;
}
.page-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.product-copy {
  display: grid;
  gap: 16px;
}
.long-text {
  line-height: 1.6;
  font-weight: 700;
}
.panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full { grid-column: 1 / -1; }
label {
  color: #3d4854;
  font-size: .9rem;
  font-weight: 900;
}
.input, .textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  padding: 0 13px;
  font-weight: 800;
  outline: none;
}
.textarea {
  min-height: 96px;
  padding: 12px 13px;
  resize: vertical;
}
.textarea.large { min-height: 180px; }
.input:focus, .textarea:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(21,199,212,.13);
}
.cart-layout, .checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}
.cart-list {
  display: grid;
  gap: 12px;
}
.cart-item {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
}
.qty-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.qty-input { width: 78px; }
.summary {
  position: sticky;
  top: 112px;
  width: 100%;
  min-width: 0;
  padding: 18px;
  display: grid;
  gap: 14px;
  overflow: hidden;
}
.summary div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}
.summary div strong { flex: 0 0 auto; white-space: nowrap; }
.summary > .button { width: 100%; max-width: 100%; }
.summary .secure-note { margin: 0; text-align: center; overflow-wrap: anywhere; }
.summary .total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--ink);
  font-size: 1.2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.notice {
  margin-bottom: 18px;
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(21,199,212,.12);
  color: #23646b;
  font-weight: 850;
}
.notice.error {
  background: rgba(255,106,26,.13);
  color: #8c2f14;
}
.login-card, .success-card {
  max-width: 520px;
  margin: 40px auto;
  padding: 24px;
  display: grid;
  gap: 14px;
}
.admin-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.admin-row {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(130px, 1.5fr) auto auto auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.admin-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 10px;
}
.settings-row {
  grid-template-columns: 180px 180px auto;
}
.admin-row span {
  color: var(--muted);
  font-weight: 750;
}
.admin-row.new {
  background: rgba(255,255,255,.65);
}
.tiny { max-width: 88px; }
.check {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}
.admin-product-form {
  display: grid;
  gap: 14px;
}
.option-grid {
  display: grid;
  gap: 10px;
}
.option-row {
  display: grid;
  grid-template-columns: 1fr 150px 1fr 90px auto;
  gap: 10px;
  align-items: center;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.image-grid img, .image-edit-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.image-edit-grid {
  display: grid;
  gap: 10px;
}
.image-edit-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 90px;
  gap: 10px;
  align-items: center;
}
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr);
  gap: 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}
.footer img {
  width: 190px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}
.footer p {
  color: var(--muted);
  font-weight: 750;
}
.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
  font-weight: 900;
}

@media (max-width: 920px) {
  .nav { min-height: auto; padding: 10px 0; flex-wrap: wrap; }
  .brand img { width: 190px; height: 68px; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; }
  .hero, .product-detail, .cart-layout, .checkout, .footer { grid-template-columns: 1fr; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: static; }
  .admin-row, .option-row, .settings-row, .image-edit-row { grid-template-columns: 1fr; }
  .tiny { max-width: none; }
}

@media (max-width: 620px) {
  .page { width: min(100% - 20px, 1180px); padding-top: 20px; }
  .category-grid, .product-grid, .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}

/* Refined shop and admin experience */
:root {
  --turquoise: #1eb7bd;
  --turquoise-dark: #087d82;
  --orange: #f46b2a;
  --orange-dark: #b94313;
  --cream: #fffaf5;
  --mint: #eafafa;
  --peach: #fff0e8;
  --ink: #232a31;
  --muted: #65717b;
  --line: #e5e8e9;
  --card: #fff;
  --shadow: 0 18px 45px rgba(28, 39, 46, .09);
  --soft-shadow: 0 7px 22px rgba(28, 39, 46, .07);
  --radius: 8px;
}

body { display: flex; flex-direction: column; background: #fffaf6; }
.page { flex: 1 0 auto; }
.ambient-bg { position: fixed; inset: 76px 0 0; z-index: 0; overflow: hidden; pointer-events: none; }
.page, .footer { position: relative; z-index: 1; }
.ambient-bg i { position: absolute; color: var(--turquoise); font-style: normal; font-size: 1.2rem; font-weight: 800; opacity: .13; animation: ambient-float 9s ease-in-out infinite alternate; }
.ambient-bg i:nth-child(1) { top: 11%; left: 3%; }
.ambient-bg i:nth-child(2) { top: 27%; right: 4%; color: var(--orange); animation-delay: -2s; }
.ambient-bg i:nth-child(3) { top: 48%; left: 5%; font-size: 1.55rem; animation-delay: -5s; }
.ambient-bg i:nth-child(4) { top: 66%; right: 3%; color: var(--orange); animation-delay: -7s; }
.ambient-bg i:nth-child(5) { top: 83%; left: 4%; animation-delay: -3s; }
.ambient-bg i:nth-child(6) { top: 92%; right: 7%; font-size: 1.5rem; animation-delay: -6s; }
@keyframes ambient-float {
  from { transform: translate3d(0, -7px, 0) rotate(-7deg); }
  to { transform: translate3d(8px, 9px, 0) rotate(9deg); }
}
.topbar { overflow: visible; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; }
.brand { position: relative; width: 340px; height: 76px; flex: none; z-index: 22; }
.brand img { position: absolute; top: 0; left: 0; width: 178px; height: 62px; object-fit: cover; object-position: center 40%; border-radius: 0; transform: scale(1.9); transform-origin: left top; filter: drop-shadow(0 10px 12px rgba(28,39,46,.14)); }
.nav-links { flex-wrap: nowrap; gap: 4px; }
.nav-links a, .nav-menu summary { min-height: 42px; padding: 0 13px; display: inline-flex; align-items: center; border-radius: 6px; font-weight: 800; cursor: pointer; list-style: none; }
.nav-menu { position: relative; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary, .nav-links a:hover, .cart-link:hover { color: var(--orange-dark); background: #fff6f0; box-shadow: none; }
.nav-menu-items { position: absolute; top: 48px; left: 0; width: 280px; padding: 8px; display: grid; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.nav-menu-items a { justify-content: flex-start; gap: 10px; }
.nav-menu-items a span { width: 24px; text-align: center; }
.mobile-menu { display: none; }
.cart-link { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; font-weight: 900; }
.cart-link b { min-width: 24px; height: 24px; margin-left: 5px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-size: .8rem; }
.cart-link .cart-icon { min-width: 0; width: auto; height: auto; margin: 0; color: var(--turquoise-dark); background: transparent; border-radius: 0; font-size: 1.2rem; }

.page { padding-top: 26px; }
.hero { min-height: 520px; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr); }
.hero > div:first-child { max-width: 670px; }
.hero h1 span { color: var(--orange); }
.eyebrow { margin: 0 0 10px; color: var(--turquoise-dark); font-size: .78rem; line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.hero .lead { max-width: 610px; font-size: 1.18rem; }
.hero-card { position: relative; padding: 0; border: 0; overflow: hidden; }
.hero-card img { border-radius: 8px; }
.hero-visual { min-width: 0; display: grid; gap: 12px; }
.hero-shipping { margin: 0; display: flex; align-items: center; justify-content: center; gap: 9px; color: #76807b; font-size: .85rem; font-weight: 750; }
.hero-shipping span { position: relative; width: 24px; height: 18px; display: inline-grid; place-items: center; color: var(--turquoise-dark); border: 2px solid currentColor; border-radius: 4px; font-size: 0; }
.hero-shipping span::before, .hero-shipping span::after { content: ""; width: 5px; height: 5px; position: absolute; margin-top: 17px; background: #fffaf6; border: 2px solid var(--turquoise-dark); border-radius: 50%; }
.hero-shipping span::before { transform: translateX(-7px); }
.hero-shipping span::after { transform: translateX(7px); }
.hero-points { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px 18px; color: var(--muted); font-size: .88rem; font-weight: 800; }
.button, .tiny-button, .mini-button { border-radius: 6px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover, .tiny-button:hover, .mini-button:hover { transform: translateY(-1px); }
.button.primary, .mini-button.primary { background: var(--orange); box-shadow: 0 8px 18px rgba(244,107,42,.2); }
.button.primary:hover, .mini-button.primary:hover { background: #dc571b; }
.button.secondary { box-shadow: none; }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes image-enter {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes content-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero > div:first-child { animation: hero-enter .65s cubic-bezier(.2,.7,.2,1) both; }
.hero-card { animation: image-enter .75s .08s cubic-bezier(.2,.7,.2,1) both; }
.page-head, .product-detail, .cart-layout, .checkout, .login-card, .success-card, .admin-head, .stat-grid { animation: content-enter .55s cubic-bezier(.2,.7,.2,1) both; }
.product-grid .product-card, .category-grid .category-tile { animation: content-enter .5s cubic-bezier(.2,.7,.2,1) both; }
.product-grid .product-card:nth-child(2), .category-grid .category-tile:nth-child(2) { animation-delay: .06s; }
.product-grid .product-card:nth-child(3), .category-grid .category-tile:nth-child(3) { animation-delay: .12s; }
.product-grid .product-card:nth-child(4), .category-grid .category-tile:nth-child(4) { animation-delay: .18s; }
.product-grid .product-card:nth-child(5), .category-grid .category-tile:nth-child(5) { animation-delay: .24s; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.category-tile:nth-child(2), .product-card:nth-child(2) { transition-delay: .06s; }
.category-tile:nth-child(3), .product-card:nth-child(3) { transition-delay: .12s; }
.category-icon { transition: transform .25s ease; }
.category-tile:hover .category-icon { transform: rotate(-4deg) scale(1.08); }
.button span[aria-hidden="true"], .tiny-button span[aria-hidden="true"] { display: inline-block; transition: transform .2s ease; }
.button:hover span[aria-hidden="true"], .tiny-button:hover span[aria-hidden="true"] { transform: translateX(3px); }
#main-product-image { transition: opacity .22s ease, transform .22s ease; }

body.welcome-open { overflow: hidden; }
body.welcome-open .page { z-index: 100; }
.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  min-height: 100dvh;
  padding: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #fff9f4;
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s cubic-bezier(.76,0,.24,1), opacity .65s ease;
}
.welcome-screen::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2vw;
  width: min(48vw, 680px);
  height: min(82vh, 780px);
  background: url('/assets/hero-personalized.webp') center / contain no-repeat;
  opacity: .13;
  transform: translateY(-50%) rotate(3deg);
  animation: welcome-gift 5s ease-in-out infinite alternate;
}
.welcome-screen.is-leaving { clip-path: inset(0 0 100% 0); opacity: .45; pointer-events: none; }
.welcome-screen.is-leaving .welcome-content { opacity: 0; transform: translateY(-28px) scale(.97); }
.welcome-content { position: relative; z-index: 2; width: min(900px, 100%); text-align: center; transition: opacity .45s ease, transform .65s ease; animation: welcome-in .8s cubic-bezier(.2,.7,.2,1) both; }
.welcome-logo { width: min(510px, 72vw); height: 205px; margin: 0 auto -25px; object-fit: cover; object-position: center 40%; filter: drop-shadow(0 15px 18px rgba(28,39,46,.12)); }
.welcome-badge { width: fit-content; margin: 0 auto 14px; padding: 8px 12px; color: var(--orange-dark); background: #fff0e8; border: 1px solid rgba(244,107,42,.16); border-radius: 6px; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.welcome-content h1 { margin: 0; font-size: clamp(2.55rem, 6vw, 5.7rem); line-height: .98; }
.welcome-content h1 span { color: var(--orange); }
.welcome-intro { max-width: 740px; margin: 22px auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.55; font-weight: 750; }
.welcome-features { margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.welcome-features span { padding: 9px 12px; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--soft-shadow); font-size: .88rem; font-weight: 850; }
.welcome-closing { margin: 22px 0 18px; color: var(--orange); font-family: 'Pacifico', cursive; font-size: clamp(1.4rem, 2.8vw, 2.15rem); line-height: 1.25; }
.welcome-enter { min-height: 50px; padding: 0 20px; color: white; background: var(--orange); border-radius: 6px; box-shadow: 0 10px 24px rgba(244,107,42,.24); font-weight: 900; transition: transform .2s ease, background .2s ease; }
.welcome-enter:hover { background: #dc571b; transform: translateY(-2px); }
.welcome-enter span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.welcome-enter:hover span { transform: translateX(4px); }
.welcome-timer { width: min(280px, 70vw); margin: 16px auto 0; color: var(--muted); font-size: .75rem; font-weight: 750; }
.welcome-timer span { height: 2px; margin-top: 7px; display: block; background: var(--turquoise); transform-origin: left; animation: welcome-countdown 8s linear both; }
.welcome-sparkles { position: absolute; inset: 0; pointer-events: none; }
.welcome-sparkles i { position: absolute; color: var(--turquoise); font-style: normal; font-size: 1.4rem; opacity: .3; animation: ambient-float 4.5s ease-in-out infinite alternate; }
.welcome-sparkles i:nth-child(1) { top: 12%; left: 12%; }
.welcome-sparkles i:nth-child(2) { top: 23%; right: 15%; color: var(--orange); animation-delay: -1s; }
.welcome-sparkles i:nth-child(3) { bottom: 18%; left: 16%; animation-delay: -2.5s; }
.welcome-sparkles i:nth-child(4) { bottom: 12%; right: 12%; color: var(--orange); animation-delay: -3.5s; }
.welcome-sparkles i:nth-child(5) { top: 55%; left: 6%; animation-delay: -1.8s; }
@keyframes welcome-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes welcome-gift { from { transform: translateY(-50%) rotate(2deg) scale(.98); } to { transform: translateY(-52%) rotate(4deg) scale(1.02); } }
@keyframes welcome-countdown { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.trust-strip { margin: 12px 0 32px; padding: 18px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: #edf9f8; border-radius: 8px; }
.trust-strip > span { display: flex; gap: 12px; align-items: center; }
.trust-strip b { color: var(--turquoise-dark); font-size: 1.25rem; }
.trust-strip span span { display: grid; }
.trust-strip small { color: var(--muted); font-weight: 700; }
.section { padding: 38px 0; }
.section-head > div { display: grid; }
.text-link { color: var(--turquoise-dark); font-weight: 900; }
.category-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.category-tile { min-height: 190px; border: 1px solid var(--line); box-shadow: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.category-tile:hover { transform: translateY(-3px); border-color: rgba(30,183,189,.45); box-shadow: var(--soft-shadow); }
.category-icon { border-radius: 6px; }
.product-grid { gap: 22px; }
.product-card { border: 1px solid var(--line); box-shadow: none; transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--soft-shadow); }
.product-card > a { display: block; overflow: hidden; }
.product-card > a img { transition: transform .35s ease; }
.product-card:hover > a img { transform: scale(1.025); }
.product-card > div { min-height: 230px; align-content: start; }
.product-card h3 { margin: 0; }
.product-card .card-actions { margin-top: auto; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.product-card .card-actions strong { font-size: 1.2rem; }
.tag, .badge { border-radius: 5px; }

.main-image img { border-radius: 8px; border: 1px solid var(--line); }
.thumb { padding: 2px; background: transparent; border: 2px solid transparent; border-radius: 6px; }
.thumb.active { border-color: var(--turquoise); }
.thumbs .thumb img { width: 100%; border-radius: 3px; }
.product-benefits { padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .86rem; font-weight: 800; }
.product-copy .panel { margin-top: 4px; }
.secure-note { margin: 0; color: var(--muted); text-align: center; font-size: .78rem; line-height: 1.4; font-weight: 700; }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.custom-cta { margin: 0 0 28px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #eaf8f7; border: 1px solid rgba(30,183,189,.25); border-radius: 8px; }
.custom-cta h2, .custom-cta p { margin-top: 0; }
.custom-cta p:last-child { margin-bottom: 0; color: var(--muted); font-weight: 750; }
.custom-request-form { max-width: 900px; margin-bottom: 28px; }
.request-list { display: grid; gap: 10px; }
.request-row { padding: 14px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; background: #fffaf6; border: 1px solid var(--line); border-radius: 6px; }
.request-row > div { display: grid; gap: 4px; }
.request-row span { color: var(--muted); font-size: .88rem; font-weight: 750; }
.idea-copy { padding: 14px; line-height: 1.65; background: #fffaf6; border-left: 3px solid var(--orange); }
.request-meta { display: grid; gap: 8px; }
.request-meta div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.request-meta dt, .request-meta dd { margin: 0; }
.request-meta dt { color: var(--muted); font-weight: 750; }
.request-meta dd { font-weight: 850; }
.quote-form { display: grid; gap: 14px; }
.quote-public-grid { margin-bottom: 28px; display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,1.1fr); gap: 20px; align-items: start; }
.summary h2 { margin: 0 0 4px; font-size: 1.25rem; }
.summary, .panel, .cart-item, .login-card, .success-card { border: 1px solid var(--line); box-shadow: var(--soft-shadow); backdrop-filter: none; }
.cart-item h3 { margin: 0 0 6px; }

.admin-tabs { position: sticky; top: 76px; z-index: 12; margin: 0 0 18px; padding: 7px; display: flex; gap: 4px; overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--soft-shadow); }
.admin-tabs a { padding: 9px 14px; white-space: nowrap; border-radius: 5px; font-weight: 850; }
.admin-tabs a:hover { color: var(--turquoise-dark); background: var(--mint); }
.stat-grid { margin-bottom: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 18px; display: grid; gap: 2px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.stat > span, .stat small { color: var(--muted); font-weight: 750; }
.stat strong { font-size: 2rem; line-height: 1.1; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-row { border: 1px solid var(--line); box-shadow: none; }
.admin-row:not(form) { grid-template-columns: minmax(180px,.8fr) minmax(260px,1.5fr) auto auto; }
.order-row > div:first-child { display: grid; gap: 3px; }
.order-row > div:first-child span { font-size: .86rem; }
.order-status-groups { display: grid; gap: 24px; margin-top: 20px; }
.order-status-group { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.order-status-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; color: #fff; background: #087d82; }
.order-status-bar h2, .order-status-bar h3, .order-status-bar p { margin: 0; color: inherit; }
.order-status-bar h2, .order-status-bar h3 { font-size: 1.08rem; }
.order-status-bar p { margin-top: 3px; font-size: .86rem; opacity: .9; }
.order-status-bar > strong { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 1.05rem; }
.status-paid .order-status-bar { background: #087d82; }
.status-in_production .order-status-bar { background: #e86b28; }
.status-shipped .order-status-bar { background: #3975a6; }
.status-completed-bar { background: #59636b; border-radius: 14px 14px 0 0; }
.order-status-list { display: grid; gap: 10px; padding: 14px; }
.order-status-list .admin-row { margin: 0; }
.order-status-empty { margin: 0; padding: 13px 10px; color: var(--muted); font-size: .9rem; }
.archive-order-list { padding-top: 16px; }
.order-detail-grid { margin-bottom: 18px; display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.72fr); gap: 18px; }
.order-customer address { margin-top: 8px; font-style: normal; font-size: 1.05rem; line-height: 1.65; }
.contact-list { margin-top: 18px; padding-top: 14px; display: grid; gap: 6px; border-top: 1px solid var(--line); }
.contact-list a { color: var(--turquoise-dark); font-weight: 850; }
.order-status-form { margin: 14px 0 20px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.order-totals { margin: 0; display: grid; gap: 9px; }
.order-totals div { display: flex; justify-content: space-between; gap: 16px; }
.order-totals dt, .order-totals dd { margin: 0; }
.order-totals dt { color: var(--muted); font-weight: 750; }
.order-totals dd { font-weight: 900; }
.order-totals .total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.12rem; }
.order-products { margin-bottom: 18px; }
.order-product { margin-top: 14px; padding: 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 20px; background: #fffaf6; border: 1px solid var(--line); border-radius: 6px; }
.order-product > div:first-child { display: grid; gap: 3px; }
.order-product > div:first-child span { color: var(--muted); font-size: .86rem; font-weight: 750; }
.personalization-list { grid-column: 1 / -1; display: grid; gap: 8px; }
.personalization-list > div { padding: 11px 12px; display: grid; grid-template-columns: minmax(150px,.45fr) minmax(0,1fr); gap: 12px; background: white; border-left: 3px solid var(--turquoise); }
.personalization-list span { color: var(--muted); font-size: .86rem; font-weight: 800; }
.settings-row { grid-template-columns: 180px 180px auto; }
.product-editor { margin-bottom: 18px; }
.form-section-title { margin: 6px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.field label small { display: block; margin-top: 2px; color: var(--muted); font-weight: 700; }
.upload-field { padding: 14px; background: var(--mint); border: 1px dashed rgba(8,125,130,.4); border-radius: 6px; }

.footer {
  width: 100%;
  margin: 34px 0 0;
  padding: 46px max(16px, calc((100% - 1180px) / 2));
  display: block;
  color: var(--ink);
  background: #eaf8f7;
  border-top: 1px solid rgba(30,183,189,.18);
  border-radius: 0;
  box-shadow: none;
}
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 34px 70px; }
.footer-brand { max-width: 480px; }
.footer-brand img { width: 196px; height: 72px; object-fit: cover; object-position: center 40%; border-radius: 0; }
.footer-brand p { max-width: 430px; margin: 12px 0; color: var(--muted); line-height: 1.55; font-weight: 750; }
.footer-promise { color: var(--turquoise-dark); font-size: .86rem; font-weight: 900; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; align-content: start; color: var(--ink); }
.footer-links strong { grid-column: 1 / -1; margin-bottom: 5px; font-size: 1.08rem; }
.footer-links a { display: flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 800; }
.footer-links a:hover { color: var(--orange-dark); }
.footer-links a span { width: 22px; text-align: center; }
.footer-bottom { grid-column: 1 / -1; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(30,183,189,.2); color: var(--muted); font-size: .84rem; font-weight: 750; }
.footer-bottom a { color: var(--turquoise-dark); font-weight: 900; }
.footer-service { grid-template-columns: 1fr; }
.legal-page { max-width: 900px; margin: 0 auto; }
.legal-content { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 5vw, 48px); border-radius: 8px; line-height: 1.75; }
.legal-content h2 { margin: 30px 0 8px; font-size: 1.25rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content a, .legal-form a { color: var(--turquoise-dark); text-decoration: underline; font-weight: 800; }
.legal-contact { display: grid; gap: 5px; padding: 20px; margin: 24px 0; background: var(--turquoise-soft); border-radius: 8px; }
.legal-contact > div { display: grid; grid-template-columns: minmax(125px, 155px) minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(30,183,189,.2); }
.legal-contact > div:last-child { border-bottom: 0; }
.legal-contact dt { color: var(--muted); font-weight: 800; }
.legal-contact dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.legal-updated { margin-top: 32px; color: var(--muted); font-size: .9rem; }
.legal-form { margin-top: 28px; }
.contact-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.checkout-consent { min-width: 0; min-height: 0; margin: 8px 0; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; line-height: 1.5; font-size: .86rem; font-weight: 750; cursor: pointer; }
.checkout-consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--turquoise-dark); }
.checkout-consent span { min-width: 0; overflow-wrap: break-word; }
.checkout-consent a { color: var(--turquoise-dark); text-decoration: underline; }
@media (max-width: 520px) {
  .legal-contact > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 920px) {
  .nav { height: 76px; min-height: 76px; padding: 0; flex-wrap: nowrap; }
  .nav-links { display: none; }
  .mobile-menu { position: static; display: block; order: 2; margin-left: auto; }
  .mobile-menu summary { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; list-style: none; background: white; border: 1px solid var(--line); border-radius: 6px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-icon { width: 19px; display: grid; gap: 4px; }
  .menu-icon i { width: 100%; height: 2px; display: block; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu[open] .menu-icon i:first-child { transform: translateY(6px) rotate(45deg); }
  .mobile-menu[open] .menu-icon i:nth-child(2) { opacity: 0; }
  .mobile-menu[open] .menu-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu-panel { position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 14px max(20px, calc((100% - 860px) / 2)) 20px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px 12px; background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(28,39,46,.12); }
  .mobile-menu-head { grid-column: 1 / -1; padding: 6px 10px 12px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .mobile-menu-head span { color: var(--muted); font-size: .78rem; font-weight: 750; }
  .mobile-menu-panel a { min-height: 46px; padding: 0 10px; display: flex; align-items: center; gap: 11px; border-radius: 6px; font-weight: 850; }
  .mobile-menu-panel a:hover { background: var(--mint); color: var(--turquoise-dark); }
  .mobile-menu-panel a > span { width: 24px; text-align: center; }
  .mobile-menu-panel .mobile-menu-featured { margin-top: 5px; color: var(--orange-dark); background: var(--peach); }
  .cart-link { order: 3; margin-left: 0; }
  .brand { width: 320px; }
  .brand img { width: 150px; transform: scale(2.05); }
  .hero, .product-detail, .cart-layout, .checkout { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .admin-row:not(form), .settings-row { grid-template-columns: 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .quote-public-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav { width: calc(100% - 20px); gap: 8px; }
  .brand { width: auto; min-width: 0; height: 68px; flex: 1 1 auto; }
  .brand img { top: 0; left: -4px; width: 96px; height: 54px; transform: scale(1.9); }
  .nav-links { display: none; }
  .mobile-menu-panel { padding-left: 14px; padding-right: 14px; grid-template-columns: 1fr; }
  .mobile-menu-head { grid-column: 1; }
  .cart-link { order: 3; margin-left: 0; font-size: 0; padding: 0 10px; }
  .cart-link .cart-icon, .cart-link b { font-size: .82rem; }
  .hero { gap: 28px; padding: 18px 0 8px; }
  .hero h1, .page-head h1, .product-copy h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 10vw, 2.35rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .hero-visual { order: -1; }
  .hero-points { display: grid; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip { margin-top: 24px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-tile { min-height: 165px; padding: 14px; }
  .category-tile p { font-size: .86rem; }
  .section-head { align-items: start; gap: 10px; }
  .section-head .text-link { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .admin-head { grid-template-columns: 1fr; }
  .admin-head form .button { width: 100%; }
  .admin-tabs { top: 74px; }
  .panel { padding: 14px; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .option-row { padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
  .order-status-form, .order-product, .personalization-list > div { grid-template-columns: 1fr; }
  .custom-cta { align-items: flex-start; flex-direction: column; }
  .request-row, .request-meta div { grid-template-columns: 1fr; }
  .footer { padding-top: 34px; padding-bottom: 28px; }
  .footer-inner { gap: 28px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .welcome-screen { padding: 18px; overflow-x: hidden; overflow-y: auto; }
  .welcome-screen::before { right: -25%; width: 100vw; height: 64vh; opacity: .08; }
  .welcome-logo { width: min(390px, 94vw); height: 150px; margin-bottom: -18px; }
  .welcome-content h1 { font-size: 2.6rem; }
  .welcome-intro { margin-top: 16px; font-size: .95rem; }
  .welcome-features { margin-top: 17px; }
  .welcome-features span { padding: 7px 9px; font-size: .76rem; }
  .welcome-closing { margin: 17px 0 14px; }
  .welcome-enter { width: 100%; max-width: 330px; }
}

@media (max-width: 620px) and (max-height: 700px) {
  .welcome-screen { padding: 12px 18px; place-items: start center; }
  .welcome-content { margin: auto 0; }
  .welcome-logo { width: min(300px, 88vw); height: 96px; margin-bottom: -10px; }
  .welcome-badge { margin-bottom: 9px; padding: 6px 9px; font-size: .68rem; }
  .welcome-content h1 { font-size: clamp(2rem, 10vw, 2.4rem); line-height: 1; }
  .welcome-intro { margin-top: 11px; font-size: .84rem; line-height: 1.38; }
  .welcome-features { margin-top: 11px; gap: 5px; }
  .welcome-features span { padding: 5px 7px; font-size: .66rem; }
  .welcome-closing { margin: 10px 0 9px; font-size: 1.25rem; line-height: 1.18; }
  .welcome-enter { min-height: 44px; }
  .welcome-timer { margin-top: 9px; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
