*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background: #FFFBEB;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  text-align: center;
  padding: 1rem 2rem 0;
  background: #FFFBEB;
  border-bottom: none;
}

.site-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 2.75rem;
  color: #f0e0a8;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  padding: 0.75rem 2.5rem;
  background: #4682b4;
  border: 2px solid #4682b4;
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: -8px;
  white-space: nowrap;
}

.title-self {
  color: #f0e0a8;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.sign-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flower-left,
.flower-right {
  width: 240px;
  height: auto;
  pointer-events: none;
  align-self: flex-end;
}

.flower-left {
  transform: scaleX(-1);
  margin-right: -30px;
}

.flower-right {
  margin-left: -30px;
}

.flower-under-wrapper {
  display: flex;
  justify-content: center;
  margin: -5px auto 0;
  pointer-events: none;
  overflow: hidden;
}

.flower-under {
  width: 50%;
  max-width: 600px;
  height: auto;
}

.flower-under-right {
  transform: scaleX(-1);
  margin-right: -60px;
}

.flower-under-left {
  margin-left: -60px;
}



.tagline {
  font-size: 0.875rem;
  color: #c96a4a;
  margin-bottom: 1.25rem;
  font-style: italic;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: -5px;
}

nav a {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #999;
  padding-bottom: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.shop-intro {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  color: #888;
  text-align: center;
  margin-bottom: 1.5rem;
}

.shop-divider {
  border: none;
  border-top: 1px solid #e8e2d9;
  margin-bottom: 2rem;
}

h1 {
  font-family: 'Bitter', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #e8e2d9;
  margin-bottom: 1.75rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
}

.section-count {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.04em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.title-short { display: none; }

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .title-full { display: none; }
  .title-short { display: inline; }

  .site-title {
    font-size: 1.75rem;
    padding: 0.5rem 1.25rem;
  }

  .flower-left,
  .flower-right {
    width: 120px;
  }

  .product-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(7 * 1.6em);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #FEFEFC;
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.2s;
  cursor: pointer;
}

.product-card:hover {
}

.product-card-image {
  aspect-ratio: 4/3;
  background-color: #ffffff;
  background-image: none;
  border-bottom: 1px solid #e8d48c;
}

.product-card-cover {
  background: #ffffff;
  background-image: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Back page — inner page peek */
.cover-page-back {
  position: absolute;
  width: 38%;
  height: 72%;
  background: #fff;
  border: 1px solid #FAEEE1;
  transform: rotate(4deg) translate(18px, 10px);
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  gap: 5px;
}

.cover-page-back-line {
  height: 1px;
  background: #b0c8b0;
  border-radius: 1px;
}

.cover-page-back-text {
  font-family: 'Bitter', Georgia, serif;
  font-size: 7px;
  color: #2c2c2c;
  line-height: 1.4;
}

/* Front page — cover */
.cover-page-front {
  position: absolute;
  width: 38%;
  height: 72%;
  background: #eef5ee;
  border: 1px solid #c8ddc8;
  display: flex;
  overflow: hidden;
  transform: rotate(-2deg) translate(-12px, -6px);
}

.cover-accent {
  width: 7px;
  flex-shrink: 0;
  background: #4682b4;
}

.cover-content {
  padding: 8px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.cover-brand {
  font-size: 4.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4682b4;
  font-weight: 500;
}

.cover-title {
  font-family: 'Bitter', Georgia, serif;
  font-size: 9px;
  font-weight: 700;
  color: #4682b4;
  line-height: 1.3;
}

.cover-sub {
  font-size: 5px;
  color: #c8a84b;
  font-style: italic;
  letter-spacing: 0.04em;
}

.cover-rule {
  position: absolute;
  bottom: 7px;
  left: 12px;
  right: 6px;
  height: 1px;
  background: #c8a84b;
  opacity: 0.5;
}

.product-card-body {
  padding: 1.75rem 1.75rem 1.25rem;
  flex: 1;
}

.product-card-body h2 {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  line-height: 1.3;
  letter-spacing: 0.04em;
  min-height: calc(1rem * 1.3 * 3);
}

.product-card-body p {
  font-size: 1rem;
  color: #888;
  line-height: 1.6;
}

.product-card-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: #e8e8bc;
}

.price {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a1a;
}

.card-arrow {
  font-size: 1.25rem;
  color: #999;
  transition: transform 0.2s, color 0.2s;
}

.product-card:hover .card-arrow {
  transform: translateX(4px);
  color: #1a1a1a;
}

.product-card.coming-soon {
  opacity: 0.6;
}

.product-card.coming-soon {
  cursor: default;
}

.product-card.coming-soon:hover {
  border-color: #e0d9cf;
}

.product-card.coming-soon .btn:hover {
  background: transparent;
  color: #888;
}

.btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #1a1a1a;
  color: #fff;
  border: 1.5px solid #1a1a1a;
  font-weight: 500;
  font-size: 0.75rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: #f09050;
  border-color: #f09050;
  color: #fff;
}

.about-dragon {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}


.about-section {
  background: #FEF3D8;
  border-top: 1px solid #FAEEE1;
  border-bottom: 1px solid #FAEEE1;
  padding: 52px 40px;
  margin-top: 0;
}

.about-content {
  max-width: 640px;
  margin: -1rem auto 0;
  text-align: center;
}

.about-content h1 {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-content h2 {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.1rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.about-content p {
  font-family: 'Bitter', Georgia, serif;
  font-size: 20px;
  color: #555;
  margin-bottom: 0;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.pixel-art-dragon-container {
  position: relative;
  width: 72px;
  overflow: visible;
}

.pixel-art-dragon-arm {
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 8px;
  transform-origin: 48px 80px;
  /* animation handled by GSAP */
}

.pixel-art-dragon-arm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: transparent;
  box-shadow:
    48px 80px 0 0 #4daa58,  56px 80px 0 0 #4daa58,  64px 80px 0 0 #4daa58,  72px 80px 0 0 #4daa58,
    48px 88px 0 0 #4daa58,  56px 88px 0 0 #4daa58,  64px 88px 0 0 #4daa58,  72px 88px 0 0 #4daa58;
}

.pixel-art-dragon-arm .flagpole {
  position: absolute;
  left: 84px;
  top: 74px;
  transform: rotate(55deg);
}

@keyframes dragonWave {
  0%   { transform: rotate(-35deg); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1.5); }
  50%  { transform: rotate(-18deg); animation-timing-function: cubic-bezier(0.6, -0.3, 0.8, 1); }
  100% { transform: rotate(-35deg); }
}

.pixel-art-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12px;
  height: 160px;
  overflow: visible;
  margin-bottom: 1.5rem;
}

/* dragon face pixel art — 9 cols x 13 rows, 8px per pixel */
/* G=#4daa58  H=#2a7a35  B=#1a1a1a  L=#9dd4a4  N=#2a6e30  BL=#5b9fd4  W=#5b9fd4 */
.pixel-art-dragon-face {
  width: 8px;
  height: 8px;
  background: #2a7a35;
  margin-left: 0;
  transform: scale(1);
  transform-origin: top left;
  box-shadow:
    /* row 0 — horn tips */
    0    0 0 0 #2a7a35,   64px  0 0 0 #2a7a35,
    /* row 1 — horns */
    0    8px 0 0 #2a7a35,   8px  8px 0 0 #2a7a35,
    56px 8px 0 0 #2a7a35,  64px  8px 0 0 #2a7a35,
    /* row 2 — horn base + eyebrow flair sweeping up */
    8px  16px 0 0 #2a7a35,  16px 16px 0 0 #2a7a35,
    24px 16px 0 0 #5b9fd4,
    40px 16px 0 0 #5b9fd4,
    48px 16px 0 0 #2a7a35,  56px 16px 0 0 #2a7a35,
    /* row 3 — eyebrows (blue, dramatic) */
    0    24px 0 0 #5b9fd4,  8px  24px 0 0 #5b9fd4,  16px 24px 0 0 #5b9fd4,  24px 24px 0 0 #5b9fd4,
    32px 24px 0 0 #4daa58,
    40px 24px 0 0 #5b9fd4,  48px 24px 0 0 #5b9fd4,  56px 24px 0 0 #5b9fd4,  64px 24px 0 0 #5b9fd4,
    /* row 4 — head */
    0    32px 0 0 #4daa58,   8px 32px 0 0 #4daa58,  16px 32px 0 0 #4daa58,
    24px 32px 0 0 #4daa58,  32px 32px 0 0 #4daa58,  40px 32px 0 0 #4daa58,
    48px 32px 0 0 #4daa58,  56px 32px 0 0 #4daa58,  64px 32px 0 0 #4daa58,
    /* row 5 — eyes */
    0    40px 0 0 #4daa58,   8px 40px 0 0 #4daa58,  16px 40px 0 0 #1a1a1a,
    24px 40px 0 0 #4daa58,  32px 40px 0 0 #4daa58,  40px 40px 0 0 #4daa58,
    48px 40px 0 0 #1a1a1a,  56px 40px 0 0 #4daa58,  64px 40px 0 0 #4daa58,
    /* row 6 — face */
    0    48px 0 0 #4daa58,   8px 48px 0 0 #4daa58,  16px 48px 0 0 #4daa58,
    24px 48px 0 0 #4daa58,  32px 48px 0 0 #4daa58,  40px 48px 0 0 #4daa58,
    48px 48px 0 0 #4daa58,  56px 48px 0 0 #4daa58,  64px 48px 0 0 #4daa58,
    /* row 7 — face + nostrils */
    0    56px 0 0 #4daa58,   8px 56px 0 0 #4daa58,  16px 56px 0 0 #4daa58,
    24px 56px 0 0 #ffffff,  32px 56px 0 0 #4daa58,  40px 56px 0 0 #ffffff,
    48px 56px 0 0 #4daa58,  56px 56px 0 0 #4daa58,  64px 56px 0 0 #4daa58,
    /* row 8 — chin */
    0    64px 0 0 #4daa58,   8px 64px 0 0 #4daa58,  16px 64px 0 0 #4daa58,
    24px 64px 0 0 #4daa58,  32px 64px 0 0 #4daa58,  40px 64px 0 0 #4daa58,
    48px 64px 0 0 #4daa58,  56px 64px 0 0 #4daa58,  64px 64px 0 0 #4daa58,
    /* row 9 — upper chest */
    16px 72px 0 0 #4daa58,  24px 72px 0 0 #4daa58,  32px 72px 0 0 #4daa58,
    40px 72px 0 0 #4daa58,  48px 72px 0 0 #4daa58,
    /* row 10 — belly + arms */
    0px  80px 0 0 #4daa58,  8px  80px 0 0 #4daa58,  16px 80px 0 0 #4daa58,
    24px 80px 0 0 #4daa58,  32px 80px 0 0 #4daa58,  40px 80px 0 0 #4daa58,
    48px 80px 0 0 #4daa58,
    /* row 11 — arms continued */
    0px  88px 0 0 #4daa58,  8px  88px 0 0 #4daa58,  16px 88px 0 0 #4daa58,
    24px 88px 0 0 #4daa58,  32px 88px 0 0 #4daa58,  40px 88px 0 0 #4daa58,
    48px 88px 0 0 #4daa58,
    /* row 12 — lower body */
    16px 96px 0 0 #4daa58,  24px 96px 0 0 #4daa58,  32px 96px 0 0 #4daa58,
    40px 96px 0 0 #4daa58,  48px 96px 0 0 #4daa58,
    /* row 13 — legs */
    16px 104px 0 0 #4daa58, 24px 104px 0 0 #4daa58,
    40px 104px 0 0 #4daa58, 48px 104px 0 0 #4daa58;
}

@keyframes pixelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


.flagpole-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.flagpole {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.flagpole-shaft {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.flagpole-shaft::before {
  content: '';
  display: block;
  width: 2px;
  height: 30px;
  margin-top: 5px;
  background: #f0e0a8;
  flex-shrink: 0;
}

.flagpole-flag {
  width: 25px;
  display: block;
  margin-top: 3px;
}

.about-cta {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.product-detail {
  max-width: 600px;
}

.product-detail img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  background: #faf8f5;
}

.product-detail .price {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-detail p {
  margin-bottom: 1.5rem;
  color: #666;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid #FAEEE1;
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Bitter', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  font-size: 0.75rem;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #1a1a1a;
}

.footer-copy {
  font-size: 0.6875rem;
  color: #bbb;
}
