/* ============================================================
   HANAE โฟ โ€” Dusty Blue Portfolio (seol nene inspired)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,700&family=Quicksand:wght@500;600;700&family=Pacifico&display=swap');

/* โ”€โ”€ Variables โ”€โ”€ */
:root {
  --bg: #fff5f7;
  /* Matching the soft pink background */
  --bg2: #ffffff;
  --surface: #ffffff;
  --white: #ffffff;
  --surf2: #ffe6f2;
  --surf3: #ffc9e6;
  --pink: #ffacd6;
  --pink-d: #d4639e;
  --pink-l: #ffc9e6;
  --pink-ll: #ffe6f2;
  --pink-m: #fdc2e0;
  --lavender: #ffe8f0;
  --sky: #ebfcf3;
  --mint: #b2e1c9;
  --yellow: #fff4b3;
  --cream: #fff0f5;
  --text: #482a3a;
  --txt: #482a3a;
  --txt2: rgba(72, 42, 58, 0.75);
  --txm: rgba(72, 42, 58, 0.45);
  --border: rgba(255, 172, 214, 0.5);
  --border2: rgba(255, 172, 214, 0.8);
  --s1: 0 4px 20px rgba(255, 172, 214, 0.15);
  --s2: 0 8px 32px rgba(255, 172, 214, 0.2);
  --s3: 0 16px 48px rgba(255, 172, 214, 0.25);
  --s4: 0 24px 72px rgba(255, 172, 214, 0.3);
  --nav-h: 72px;
  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 32px;
  /* Screenshot has very rounded corners */
  --rf: 99px;
  --ease-b: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-s: cubic-bezier(0.4, 0, 0.2, 1);
  --ff-display: 'Fredoka', sans-serif;
  --ff-logo: 'Pacifico', cursive;
  --ff-ui: 'Nunito', sans-serif;
  --ff-body: 'Quicksand', sans-serif;
  --g-btn: linear-gradient(135deg, #ffacd6, #fdc2e0, #ffc9e6);
  --g-hero: linear-gradient(145deg, #fff5f6 0%, #ffffff 40%, #ffe6f2 100%);
  --g-card: linear-gradient(145deg, #ffffff 0%, #fff5f6 100%);
  --g-active-card: linear-gradient(135deg, #ffacd6 0%, #ffc9e6 100%);
}



/* โ”€โ”€ Reset โ”€โ”€ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Brave */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  padding-left: 0;
  /* Removed to allow full-width backgrounds */
  transition: background .4s, color .4s, padding .4s;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='11' r='2.5' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3Ccircle cx='16' cy='11' r='2.5' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3Cpath d='M12 14c-2.5 0-4.5 1.5-4.5 3.5 0 1.5 1 2.5 2.5 2.5h4c1.5 0 2.5-1 2.5-2.5 0-2-2-3.5-4.5-3.5z' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, auto;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 172, 214, 0.45) 1.8px, transparent 1.8px);
  background-size: 32px 32px;
  /* Slightly larger grid for that clean tablet look */
}

/* Background glowing blobs */
.bg-glow {
  position: fixed;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 172, 214, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.bg-glow-1 {
  top: -10%;
  left: -10%;
}

.bg-glow-2 {
  bottom: -10%;
  right: -10%;
}

@media (max-width: 1023px) {
  body {
    padding-left: 0;
    padding-bottom: 80px;
    /* Space for bottom dock */
    padding-top: 0;
  }
}

button,
a,
[role="button"],
.filter-tab {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='11' r='2.5' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3Ccircle cx='16' cy='11' r='2.5' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3Cpath d='M12 14c-2.5 0-4.5 1.5-4.5 3.5 0 1.5 1 2.5 2.5 2.5h4c1.5 0 2.5-1 2.5-2.5 0-2-2-3.5-4.5-3.5z' fill='%23ffacd6' stroke='%23482a3a' stroke-width='1.5'/%3E%3C/svg%3E") 14 14, pointer !important;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* โ”€โ”€ Animations โ”€โ”€ */
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pageExit {
  to {
    opacity: 0;
    transform: translateY(-20px) scale(1.02);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

@keyframes sparkle {

  0%,
  100% {
    transform: translateY(0) rotate(0);
    opacity: .6
  }

  50% {
    transform: translateY(-18px) rotate(15deg);
    opacity: 1
  }
}

@keyframes blobDrift {
  to {
    transform: translate(24px, 16px) scale(1.06)
  }
}

@keyframes shimmer {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.5)
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(.85) translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes pinkGlow {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 172, 214, .22)
  }

  50% {
    box-shadow: 0 0 0 8px rgba(255, 172, 214, .42)
  }
}

@keyframes barFill {
  from {
    width: 0
  }
}

/* Hero animations */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-120px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-120px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.25)
  }
}

@keyframes frameGlow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 172, 214, .28), 0 0 60px rgba(255, 172, 214, .15), 0 30px 80px rgba(255, 172, 214, .18)
  }

  50% {
    box-shadow: 0 0 50px rgba(255, 172, 214, .50), 0 0 90px rgba(255, 172, 214, .28), 0 40px 100px rgba(255, 172, 214, .28)
  }
}

@keyframes rotateBorder {
  to {
    transform: rotate(360deg)
  }
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0) rotate(-6deg)
  }

  50% {
    transform: translateY(-8px) rotate(-6deg)
  }
}

@keyframes floatBadge2 {

  0%,
  100% {
    transform: translateY(0) rotate(8deg)
  }

  50% {
    transform: translateY(-10px) rotate(8deg)
  }
}



/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• LOADER โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity .6s, visibility .6s;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* From Uiverse.io by esraaabdel-kareem - Modified for Dusty Blue Theme */
.loader-animation {
  width: 100px;
  height: 100px;
  position: relative;
  animation: shake 3s infinite ease-in-out;
}

.cup {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 40px;
  background-color: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 4px 4px 14px 14px;
  z-index: 1;
  animation: cupPulse 6s infinite ease-in-out;
}

.cup::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2px);
  height: 8px;
  background: var(--pink);
  border: 2px solid var(--pink);
  border-top: none;
  border-radius: 50%;
  z-index: -1;
  animation: cupPulse 6s infinite ease-in-out;
}

.cup::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 1px;
  width: calc(100% - 4px);
  height: 6px;
  background: var(--pink-l);
  border: 1.5px solid var(--pink);
  border-radius: 50%;
  animation: coffeeGlow 6s infinite ease-in-out;
}

.cup-handle {
  position: absolute;
  top: 6px;
  right: -12px;
  width: 14px;
  height: 20px;
  border: 2.5px solid var(--pink);
  border-left: none;
  border-radius: 0 12px 12px 0;
  background: transparent;
}

.smoke {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 10px;
  height: 25px;
  background: rgba(255, 172, 214, 0.4);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: rise 3s infinite ease-in-out;
  filter: blur(5px);
}

.smoke.one {
  animation-delay: 0s;
}

.smoke.two {
  animation-delay: 0.8s;
}

.smoke.three {
  animation-delay: 1.6s;
}

.load-text {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 800;
  color: var(--pink);
  opacity: 0.8;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

@keyframes rise {
  0% {
    transform: translate(-50%, 0) scale(0.4);
    opacity: 0;
  }

  30% {
    opacity: 0.7;
  }

  60% {
    opacity: 0.4;
  }

  100% {
    transform: translate(-50%, -100px) scale(1.1);
    opacity: 0;
  }
}

@keyframes shake {
  0% {
    transform: translateX(0) translateY(0) rotate(0);
  }

  25% {
    transform: translateX(-4px) translateY(-2px) rotate(-3deg);
  }

  50% {
    transform: translateX(0) translateY(0) rotate(0);
  }

  75% {
    transform: translateX(4px) translateY(-2px) rotate(3deg);
  }

  100% {
    transform: translateX(0) translateY(0) rotate(0);
  }
}

@keyframes cupPulse {

  0%,
  100% {
    background-color: var(--pink);
  }

  50% {
    background-color: var(--pink-m);
  }
}

@keyframes coffeeGlow {

  0%,
  100% {
    background: var(--pink-l);
  }
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• NAVBAR (Floating Pill Dock) โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */
/* โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ•  NAVBAR (Bottom Pill Dock) โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ•  */
.navbar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 12px;
  border-radius: 99px;
  box-shadow: 0 8px 32px rgba(255, 172, 214, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s var(--ease-b);
}

.navbar.nav-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.navbar-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1023px) {
  .navbar-container {
    padding: 0;
    gap: 0.5rem;
  }
}

/* Hide brand and other elements from old nav in the new dock */
.sidebar-brand,
.nav-logo-text,
.nav-right {
  display: none;
}

/* โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ•  GALLERY ART CARDS โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ• โ•  */
/* ════════════════════════════════════════════════
   GALLERY CATEGORY CARDS — Redesigned
   ════════════════════════════════════════════════ */
.gallery-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  padding: 0.5rem 0 2rem;
}

.gallery-cat-card {
  position: relative;
  background: white;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--s1);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem;
  transition: all 0.35s var(--ease-b);
  cursor: pointer;
  overflow: hidden;
}

.gallery-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-ll) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.gallery-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--s3);
  border-color: var(--pink);
}

.gallery-cat-card:hover::before { opacity: 1; }

.gallery-cat-card.active {
  background: linear-gradient(135deg, var(--pink), var(--pink-d));
  border-color: var(--pink);
  box-shadow: 0 12px 30px rgba(255, 172, 214, 0.4);
}

.gallery-cat-card.active .cat-title,
.gallery-cat-card.active .cat-count { color: white; }

.cat-thumb-frame {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pink-ll);
  border: 1.5px solid var(--border2);
  position: relative;
  z-index: 1;
}

.cat-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-b);
}

.gallery-cat-card:hover .cat-thumb-frame img { transform: scale(1.1); }

.cat-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.cat-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}

.cat-count {
  font-size: 0.78rem;
  color: var(--txm);
  font-weight: 600;
}

.cat-arrow {
  margin-left: auto;
  color: var(--pink);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease-b);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.gallery-cat-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

.cat-popping-img {
  position: absolute;
  bottom: 0px;
  right: -5px;
  width: 100px;
  height: 80px;
  background: white;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: rotate(-10deg) translateY(10px);
  transition: all 0.5s var(--ease-b);
  z-index: 2;
  overflow: hidden;
}

.gallery-cat-card:hover .cat-popping-img {
  transform: rotate(0deg) translateY(0px) scale(1.1);
}

.cat-popping-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Page Titles */
.art-gallery-header {
  margin-top: 40px;
  margin-bottom: 30px;
}

.art-gallery-eyebrow {
  font-family: var(--ff-display);
  color: var(--pink-m);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.art-gallery-title {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 4px;
}

.art-gallery-sub {
  color: var(--txm);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Folder View STyles */
.folder-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.back-btn {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--pink-d);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s var(--ease-b);
  border: 1px solid rgba(255, 172, 214, 0.2);
}

.back-btn:hover {
  transform: translateX(-5px);
  background: var(--pink-ll);
}

.folder-info {
  border-left: 4px solid var(--pink);
  padding-left: 20px;
}

.folder-title {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #333;
}

.folder-sub {
  color: var(--pink-m);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery Sub-cat Pills (Capsules) */
.gallery-subcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.gallery-subcat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 6px 16px 6px 8px;
  border-radius: 99px;
  border: 1px solid rgba(255, 172, 214, 0.2);
  box-shadow: 0 4px 12px rgba(255, 172, 214, 0.08);
  transition: all 0.3s var(--ease-b);
  cursor: pointer;
}

.gallery-subcat-pill:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: 0 8px 16px rgba(255, 172, 214, 0.15);
  background: var(--pink-ll);
}

.gallery-subcat-pill.active {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 8px 16px rgba(255, 172, 214, 0.2);
}

.gallery-subcat-pill.active .pill-title {
  color: white;
}

.gallery-subcat-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.pill-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pink-ll);
  border: 1px solid rgba(255, 172, 214, 0.1);
}

.pill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-title {
  font-weight: 700;
  color: #333;
  font-size: 0.95rem;
}

.pill-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-ll);
  padding: 2px 8px;
  border-radius: 99px;
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  flex-grow: 1;
  align-items: center;
}

@media (max-width: 1023px) {
  .nav-links {
    display: flex;
    /* Always visible on mobile too */
    gap: 0.5rem;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--pink-d);
  transition: all 0.4s var(--ease-b);
  position: relative;
  background: transparent;
  padding: 0;
}

@media (max-width: 1023px) {
  .nav-link {
    width: 42px;
    height: 42px;
  }
}

.nav-link:hover {
  background: var(--pink-ll);
  transform: scale(1.08);
}

.nav-link .nav-icon {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: transform 0.3s;
}

@media (max-width: 1023px) {
  .nav-link .nav-icon {
    width: 18px;
    height: 18px;
  }
}

/* Label Tooltips on Hover */
.nav-link .link-label {
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: 1.2rem;
  background: var(--pink-d);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 15px);
  transition: all 0.35s var(--ease-s);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(212, 99, 158, 0.25);
  border: none;
}

.nav-link:hover .link-label {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-link.active {
  background: var(--pink);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(255, 172, 214, 0.4);
}

.nav-link.active .nav-icon {
  opacity: 1;
}

/* Dock Bottom area */
.nav-right {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .nav-right {
    flex-direction: row;
    margin-top: 0;
    width: auto;
    margin-left: auto;
  }
}

.nav-cta-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--g-btn);
  color: white;
  transition: transform 0.3s var(--ease-b);
}

.nav-cta-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.nav-cta-btn span {
  display: none;
}

.nav-cta-btn::before {
  content: 'เท';
  font-size: 1.2rem;
}

@media (max-width: 1023px) {
  .nav-cta-btn {
    width: auto;
    height: auto;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
  }

  .nav-cta-btn span {
    display: inline;
  }

  .nav-cta-btn::before {
    display: none;
  }
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  transition: background .2s;
}

@media (max-width: 1023px) {
  .nav-burger {
    display: none !important;
    /* No burger needed for dock */
  }
}

.nav-burger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.burger-bar {
  height: 2.5px;
  border-radius: 99px;
  background: #fff;
  transition: all .3s;
}

.nav-burger.open .burger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-burger.open .burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger.open .burger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu */
.mob-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(253, 246, 239, .98);
  backdrop-filter: blur(20px);
  border-bottom: 1.5px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .35s var(--ease-s), opacity .35s;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  pointer-events: none;
}



.mob-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mob-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.mob-link {
  width: 100%;
  text-align: left;
  padding: .7rem 1rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 700;
  color: var(--txt2);
  transition: all .22s;
}

.mob-link:hover,
.mob-link.active {
  background: var(--pink-ll);
  color: var(--pink);
}

.mob-footer {
  padding-top: .8rem;
}

.mob-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: .8rem;
}



.mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(0, 0, 0, .22);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s;
}

.mob-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• LAYOUT โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */
.page {
  position: relative;
  animation: pageIn .5s var(--ease-s) both;
  background: transparent;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
}

.page::before {
  display: none;
}

.page-exit {
  animation: pageExit .28s ease forwards;
}

.page-section {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 1023px) {
  .container {
    padding: 0 1.5rem;
    max-width: 100%;
  }
}

.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

.main {
  min-height: calc(100vh - var(--nav-h));
  background: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s, transform .6s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• COMMON โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */
.section-eyebrow {
  font-size: .68rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: .75rem;
}

.section-title span {
  color: var(--pink);
}

.section-sub {
  font-size: .94rem;
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--pink-ll);
  border: 1.5px solid var(--border2);
  color: var(--pink);
  padding: .3rem .9rem;
  border-radius: var(--rf);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px rgba(74, 222, 128, .6);
  animation: dotPulse 2s infinite;
  flex-shrink: 0;
}

.demo-banner {
  background: rgba(255, 240, 100, .1);
  border: 1.5px solid rgba(255, 240, 100, .4);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--txt2);
  margin-bottom: 1.4rem;
}

.demo-banner code {
  background: rgba(0, 0, 0, .07);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: .78rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--rf);
  font-family: var(--ff-ui);
  font-size: .9rem;
  font-weight: 800;
  background: var(--g-btn);
  color: #fff;
  box-shadow: 0 6px 22px rgba(72, 42, 58, .15);
  transition: transform .3s var(--ease-b), box-shadow .3s;
  letter-spacing: .03em;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(72, 42, 58, .2);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .82rem 2rem;
  border-radius: var(--rf);
  font-family: var(--ff-ui);
  font-size: .9rem;
  font-weight: 800;
  border-radius: var(--rf);
  background: var(--g-btn);
  color: var(--white);
  gap: 0.6rem;
}

.btn-soft:hover {
  background: var(--g-btn);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(62, 39, 35, .30);
}

/* Hero-specific buttons */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .82rem 2rem;
  border-radius: var(--rf);
  font-family: var(--ff-ui);
  font-size: .9rem;
  font-weight: 800;
  background: var(--g-btn);
  color: #fff;
  box-shadow: 0 6px 22px rgba(62, 39, 35, .30);
  transition: transform .3s var(--ease-b), box-shadow .3s;
  letter-spacing: .03em;
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(72, 42, 58, .2);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .82rem 2rem;
  font-size: .9rem;
  font-weight: 800;
  border-radius: var(--rf);
  font-family: var(--ff-ui);
  background: white;
  color: var(--pink);
  border: 2px solid var(--pink);
  transition: all .3s var(--ease-b);
  letter-spacing: .03em;
}

.hero-btn-ghost:hover {
  background: var(--pink-ll);
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(72, 42, 58, .12);
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• HOME โ€” HERO โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */
.home-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Removed redundant dots and bg for home-page as it now inherits from .page */

/* Floating blobs */
.home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  animation: blobDrift 12s ease-in-out infinite alternate;
}

.blob-1 {
  width: 420px;
  height: 420px;
  top: -10%;
  left: -8%;
  background: var(--pink);
  animation-duration: 13s;
}

.blob-2 {
  width: 360px;
  height: 360px;
  bottom: -8%;
  right: -6%;
  background: var(--pink-l);
  animation-direction: alternate-reverse;
}

.blob-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  left: 48%;
  background: var(--sky);
  animation-duration: 16s;
}

/* Floating sparkle deco */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco-sp {
  position: absolute;
  font-size: 1.3rem;
  opacity: .55;
  animation: sparkle var(--t, 6s) ease-in-out infinite;
}

.ds1 {
  top: 8%;
  left: 5%;
  --t: 7s;
  color: var(--pink);
}

.ds2 {
  top: 12%;
  right: 24%;
  --t: 5s;
  color: var(--pink-m);
}

.ds3 {
  top: 45%;
  left: 3%;
  --t: 9s;
  color: var(--pink);
}

.ds4 {
  bottom: 18%;
  left: 18%;
  --t: 6.5s;
  color: var(--pink-l);
}

.ds5 {
  top: 22%;
  right: 6%;
  --t: 8s;
  color: var(--pink);
}

.ds6 {
  bottom: 10%;
  right: 4%;
  --t: 7.5s;
  color: var(--pink-m);
}

/* Hero grid - FEATURED ARTWORK LAYOUT */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  /* Balanced grouping in the center */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
  gap: 4rem;
}

@media (max-width: 1023px) {
  .hero {
    flex-wrap: wrap;
    flex-direction: column;
    padding: 2rem 1.5rem 6rem;
    gap: 1.5rem;
    text-align: center;
    /* Center text on mobile */
    justify-content: center;
  }
}

@media (max-width: 1200px) {
  .hero {
    padding: 3rem 2rem;
  }
}

.hero-left {
  flex: 0 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeInUp .8s var(--ease-s) both;
}

@media (max-width: 1023px) {
  .hero-left {
    flex: 0 1 auto;
    align-items: center;
    /* Center contents like buttons */
    max-width: 100%;
  }
}

.hero-right {
  flex: 1;
  min-width: 300px;
}

/* Hero LEFT */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeInUp .8s var(--ease-s) both;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp .8s .1s var(--ease-s) both;
}

.hero-hi {
  font-family: var(--ff-logo);
  font-size: 1.1rem;
  color: var(--pink);
  opacity: .82;
  display: block;
  margin-bottom: .2rem;
  animation: fadeInUp .8s .15s var(--ease-s) both;
}

.hero-name {
  font-family: var(--ff-logo);
  font-weight: 400;
  /* Pacifico looks best at default weight */
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  /* Set to Espresso */
  margin: 0 0 .6rem;
  width: fit-content;
  animation: fadeInUp .8s .25s var(--ease-s) both;
}

.hero-name-accent {
  color: var(--pink);
}

.hero-tag {
  font-size: .85rem;
  font-weight: 800;
  color: var(--pink);
  /* Updated to Lavender Purple */
  text-transform: none;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: normal;
  margin: 0.5rem 0 1.5rem;
  animation: fadeInUp .8s .35s var(--ease-s) both;
}

.hero-bio {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--txt2);
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fadeInUp .8s .45s var(--ease-s) both;
}

.hero-btns {
  display: flex;
  flex-direction: row;
  /* Ensure left-right alignment */
  flex-wrap: nowrap;
  /* Prevent stacking on mobile */
  gap: .85rem;
  margin-bottom: 1.8rem;
  animation: fadeInUp .8s .55s var(--ease-s) both;
}

.hero-social-row {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  animation: fadeInUp .8s .65s var(--ease-s) both;
}

.hero-soc-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--pink-ll);
  border: 1.5px solid var(--border2);
  color: var(--pink);
  transition: all 0.3s var(--ease-b);
}

.hero-soc-pill svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.hero-soc-pill:hover {
  background: var(--g-btn);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--s2);
}

/* Hero RIGHT - FEATURED ARTWORK */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 1 600px;
  animation: slideInFromLeft .8s .2s var(--ease-b) both;
}

@media (max-width: 1023px) {
  .hero-right {
    flex: 0 1 auto;
    width: 100%;
    max-width: 320px;
    /* More compact image for mobile center */
    margin: 0 auto;
  }
}

/* โ”€โ”€ Art Frame (outer glow wrapper) โ”€โ”€ */
.hero-char-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: auto;
  margin-right: 0;
  /* Resetting margin to keep it within bounds */
  animation: floatY 8s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Align to bottom for 'pop out' look */
}

/* spinning gradient ring behind frame */
.hero-char-wrap::before,
.hero-char-wrap::after {
  display: none !important;
}

/* the actual art frame */
.hero-art-frame {
  position: relative;
  z-index: 2;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  box-shadow: none;
  animation: none;
  background: transparent;
}

.hero-art-frame:hover {
  transform: scale(1.03);
}

.hero-art-img {
  width: auto;
  height: 95%;
  /* Make it fill the height */
  display: block;
  object-fit: contain;
  transition: transform .5s var(--ease-b);
}

.hero-art-frame:hover .hero-art-img {
  transform: scale(1.05);
}

/* floating deco badges around frame */
.hero-frame-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(62, 39, 35, .35);
  border-radius: var(--rf);
  padding: .35rem .7rem;
  font-size: .75rem;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(62, 39, 35, .18);
}



.hero-frame-badge-tl {
  top: -14px;
  left: 12px;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-frame-badge-br {
  bottom: -14px;
  right: 12px;
  animation: floatBadge2 5s ease-in-out infinite;
}

.hero-frame-badge-tr {
  top: 20px;
  right: -18px;
  animation: floatBadge 5.5s ease-in-out infinite;
}

/* corner sparkles */
.hero-frame-spark {
  position: absolute;
  z-index: 3;
  font-size: 1.1rem;
  animation: sparkle var(--st, 5s) ease-in-out infinite;
  pointer-events: none;
}

.hfs-1 {
  top: -22px;
  right: 20px;
  --st: 4.5s;
  color: var(--pink);
}

.hfs-2 {
  bottom: -20px;
  left: 16px;
  --st: 6s;
  color: var(--pink-m);
}

.hfs-3 {
  top: 50%;
  right: -26px;
  --st: 5s;
  color: var(--pink-l);
  transform: translateY(-50%);
}

@keyframes rotateBorder {
  to {
    transform: rotate(360deg);
  }
}

@keyframes frameGlow {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(72, 42, 58, .3), 0 30px 80px rgba(72, 42, 58, .3), inset 0 1px 0 rgba(255, 255, 255, .95)
  }

  50% {
    box-shadow: 0 0 0 1px rgba(72, 42, 58, .4), 0 30px 80px rgba(72, 42, 58, .42), inset 0 1px 0 rgba(255, 255, 255, .95)
  }
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes floatBadge2 {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

/* โ”€โ”€  STATS STRIP (old - hidden) โ”€โ”€ */
.home-stats-strip {
  display: none;
}

/* โ”€โ”€ GALLERY PREVIEW โ”€โ”€ */
.home-preview {
  position: relative;
  z-index: 1;
  background: var(--surf2);
  padding: 4rem 2.5rem 5rem;
}

.home-preview-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.preview-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.preview-title {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.preview-title span {
  color: var(--pink);
}

.preview-all-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.2rem;
  border-radius: var(--rf);
  background: var(--pink-ll);
  border: 1.5px solid var(--border2);
  font-family: var(--ff-ui);
  font-size: .8rem;
  font-weight: 800;
  color: var(--pink);
  transition: all .3s var(--ease-b);
}

.preview-all-link:hover {
  background: var(--g-btn);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--s2);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.preview-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  box-shadow: var(--s2);
  transition: transform .38s var(--ease-b), box-shadow .38s;
  aspect-ratio: 1/1;
}

.preview-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--s3);
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s;
}

.preview-item:hover .preview-img {
  transform: scale(1.07);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 24, 38, .85), transparent 55%);
  opacity: 0;
  transition: opacity .35s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  gap: .2rem;
}

.preview-item:hover .preview-overlay {
  opacity: 1;
}

.preview-overlay-name {
  font-family: var(--ff-display);
  font-size: .95rem;
  color: #fff;
  font-weight: 600;
}

.preview-overlay-cat {
  font-size: .65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.preview-card-foot {
  padding: .7rem .8rem;
  background: var(--surface);
}

/* โ•โ•โ•โ•โ•โ•โ•โ• HOME STATS CARDS โ•โ•โ•โ•โ•โ•โ•โ• */
.home-stats-section {
  display: none;
}

.home-stats-inner {
  display: none;
}

/* โ•โ•โ•โ•โ•โ•โ•โ• QUICK LINKS CARDS โ•โ•โ•โ•โ•โ•โ•โ• */
.home-quick-section {
  display: none;
}

.quick-cards-grid {
  display: none;
}

@keyframes rotateBorder {
  to {
    transform: rotate(360deg);
  }
}

@keyframes frameGlow {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(72, 42, 58, .22), 0 20px 60px rgba(72, 42, 58, .2), inset 0 1px 0 rgba(255, 255, 255, .9)
  }

  50% {
    box-shadow: 0 0 0 1px rgba(72, 42, 58, .3), 0 20px 60px rgba(72, 42, 58, .28), inset 0 1px 0 rgba(255, 255, 255, .9)
  }
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes floatBadge2 {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

.preview-card-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
}

/* โ•โ•โ•โ•โ•โ•โ•โ• FILTER TABS (horizontal pill row) โ•โ•โ•โ•โ•โ•โ•โ• */
.filter-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 1.25rem;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

/* Sub-folder row โ€” slightly indented & smaller */
.filter-scroll-sub {
  margin-top: -.6rem;
  margin-bottom: 1rem;
  padding-left: .5rem;
  border-left: 2.5px solid var(--pink-m);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease-s), transform .3s var(--ease-s);
}

.filter-scroll-sub.visible-sub {
  opacity: 1;
  transform: none;
}

.filter-scroll-sub .filter-tabs {
  background: var(--surf2);
  border-color: var(--border);
  padding: .2rem .24rem;
}

.filter-scroll-sub .filter-tab {
  font-size: .76rem;
  padding: .34rem .85rem;
}


.filter-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--pink-ll);
  border: 1.5px solid var(--border2);
  border-radius: var(--rf);
  padding: .28rem .32rem;
  white-space: nowrap;
}

.filter-indicator {
  position: absolute;
  top: .28rem;
  bottom: .28rem;
  left: 0;
  border-radius: var(--rf);
  background: var(--pink);
  box-shadow: 0 4px 14px rgba(72, 42, 58, .3);
  transition: left .3s var(--ease-b), width .3s var(--ease-b);
  pointer-events: none;
  z-index: 0;
}

.filter-tab {
  position: relative;
  z-index: 1;
  padding: .42rem 1rem;
  border-radius: var(--rf);
  font-family: var(--ff-ui);
  font-size: .82rem;
  font-weight: 800;
  color: var(--txm);
  letter-spacing: .02em;
  transition: color .25s var(--ease-b), transform .2s var(--ease-b);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--pink);
  transform: translateY(-1px);
}

.filter-tab.active {
  color: #fff;
}

/* โ•โ•โ•โ•โ•โ•โ•โ• GALLERY โ•โ•โ•โ•โ•โ•โ•โ• */
.gallery-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.gallery-sidebar {
  width: 185px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.sidebar-label {
  font-size: .68rem;
  font-weight: 800;
  color: var(--txm);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .65rem;
  padding: 0 .6rem;
}

.filter-tabs-v {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.filter-tab-v {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .85rem;
  border-radius: var(--r-sm);
  font-family: var(--ff-ui);
  font-size: .84rem;
  font-weight: 700;
  color: var(--txt2);
  transition: all .25s var(--ease-b);
}

.filter-tab-v:hover {
  background: var(--pink-ll);
  color: var(--text);
}

.filter-tab-v.active {
  background: var(--pink);
  color: #fff;
  box-shadow: none;
}

.ftv-label {
  flex: 1;
}

.ftv-count {
  font-size: .7rem;
  font-weight: 800;
  background: var(--surf2);
  color: var(--txm);
  border-radius: var(--rf);
  padding: .1rem .4rem;
  margin-left: .3rem;
}

.filter-tab-v.active .ftv-count {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

.gallery-main {
  flex: 1;
  min-width: 0;
}

.gallery-meta {
  margin-bottom: 1rem;
}

.gallery-count {
  font-size: .78rem;
  font-weight: 700;
  color: var(--txm);
  letter-spacing: .05em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.gallery-card {
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  box-shadow: var(--s2);
  border: 1.5px solid var(--border);
  transition: transform .38s var(--ease-b), box-shadow .38s;
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--s3);
}

.gallery-card.hidden {
  display: none;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s;
}

.gallery-card:hover .card-img {
  transform: scale(1.07);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 24, 38, .88), transparent 55%);
  opacity: 0;
  transition: opacity .35s;
  display: flex;
  align-items: flex-end;
  padding: .9rem;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.card-title {
  font-family: var(--ff-display);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .12rem;
}

.card-subtitle {
  font-size: .65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-zoom {
  position: absolute;
  top: .7rem;
  right: .7rem;
  font-size: 1rem;
  opacity: 0;
  transition: opacity .35s;
}

.gallery-card:hover .card-zoom {
  opacity: 1;
}

.gallery-empty {
  text-align: center;
  padding: 5rem 2rem;
}

.gallery-empty-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--txt2);
  margin-bottom: .6rem;
}

.gallery-empty p {
  font-size: .88rem;
  color: var(--txm);
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.skel-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--s1);
}

.skel-img {
  background: linear-gradient(135deg, var(--pink-ll), var(--surf2));
  animation: shimmer 1.4s ease-in-out infinite alternate;
  aspect-ratio: 1/1;
}

.skel-body {
  padding: .8rem;
}

.skel-line {
  height: 12px;
  border-radius: 99px;
  background: var(--pink-ll);
  margin-bottom: .5rem;
  animation: shimmer 1.4s ease-in-out infinite alternate;
}

.skel-line.sm {
  width: 55%;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.cat-card {
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  box-shadow: var(--s2);
  border: 1.5px solid var(--border);
  transition: transform .38s var(--ease-b), box-shadow .38s;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--s3);
}

.cat-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.cat-preview.single {
  display: block;
}

.cat-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
}

.cat-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.cat-right {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cat-count {
  font-size: .7rem;
  font-weight: 800;
  color: var(--txm);
  letter-spacing: .04em;
}

.cat-arr {
  color: var(--pink);
  transition: transform .25s var(--ease-b);
}

.cat-card:hover .cat-arr {
  transform: translateX(4px);
}

/* โ•โ•โ•โ•โ•โ•โ•โ• PRICING โ•โ•โ•โ•โ•โ•โ•โ• */
.commission-banner {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(74, 222, 128, .08);
  border: 1.5px solid rgba(74, 222, 128, .4);
  border-radius: var(--rf);
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--txt2);
  margin-bottom: 1.6rem;
}

.view-toggle-wrap {
  margin-bottom: 1.6rem;
}

.view-switch {
  display: inline-flex;
  background: var(--pink-ll);
  border: 1.5px solid var(--border2);
  border-radius: var(--rf);
  padding: .22rem;
  gap: .2rem;
}

.view-btn {
  padding: .38rem .95rem;
  border-radius: var(--rf);
  font-size: .8rem;
  font-weight: 800;
  color: var(--txm);
  transition: all .28s var(--ease-b);
}

.view-btn.active {
  background: var(--g-btn);
  color: #fff;
  box-shadow: 0 4px 14px rgba(72, 42, 58, .3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Forced 3 columns as requested */
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  position: relative;
  background: white;
  border-radius: 40px;
  padding: 0;
  /* Removing padding to allow image to flush if needed */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(255, 172, 214, 0.15);
  border: 1.5px solid var(--sw-border);
  transition: transform 0.4s var(--ease-b), box-shadow 0.4s;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(255, 172, 214, 0.25);
}

.price-card.recommended {
  border-color: var(--sw-accent);
  border-width: 2px;
  box-shadow: 0 20px 60px rgba(255, 172, 214, 0.3);
  transform: scale(1.02);
}

.price-card.recommended:hover {
  transform: translateY(-10px) scale(1.04);
}

.price-card-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: #fff;
  overflow: hidden;
  padding: 1rem;
}

.price-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  transition: transform 0.5s var(--ease-b);
}

.price-card-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-name {
  font-family: var(--ff-logo);
  font-size: 1.8rem;
  color: var(--sw-dark);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--ff-logo);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sw-accent);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1rem 0;
}

.price-from {
  font-size: .7rem;
  font-weight: 700;
  color: var(--txm);
  letter-spacing: .06em;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: .8rem 0;
}

.price-desc {
  font-family: var(--ff-body);
  font-size: .86rem;
  color: var(--txt2);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.price-includes {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  margin-bottom: 1.3rem;
  flex: 1;
  list-style: none;
}

.price-include-item {
  font-size: .82rem;
  color: var(--txt2);
  font-weight: 600;
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}

.price-include-item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  font-size: .7rem;
  color: var(--pink);
  opacity: .8;
}

.price-turnaround {
  font-size: .78rem;
  color: var(--txm);
  font-weight: 600;
  margin-bottom: .85rem;
}

.price-turnaround strong {
  color: var(--txt2);
}

.price-cta {
  width: 100%;
  height: 55px;
  border-radius: 20px;
  background: #fdf0f4;
  color: var(--sw-accent);
  border: 1.5px solid var(--sw-accent);
  font-weight: 800;
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  margin-top: auto;
  transition: all 0.3s;
  cursor: pointer;
}

.price-cta:hover {
  background: var(--sw-accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 172, 214, 0.3);
}

.rec-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--sw-accent);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(255, 172, 214, 0.4);
}

.pricing-note {
  font-size: .84rem;
  color: var(--txm);
  line-height: 1.75;
  text-align: center;
  max-width: 500px;
  margin: 2rem auto 0;
}

/* ══════════ QUEUE SEARCH STYLES ══════════ */
.queue-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Changed from flex-end to center for better alignment */
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.queue-title-side {
  flex: 1;
}

.queue-search-side {
  width: 100%;
  max-width: 420px;
}

.queue-mini-search {
  display: flex;
  background: white;
  padding: 0.5rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  box-shadow: var(--s1);
  transition: all 0.3s;
}

.queue-mini-search:focus-within {
  border-color: var(--pink);
  box-shadow: var(--s2);
  transform: translateY(-2px);
}

.queue-mini-search input {
  flex: 1;
  border: none;
  background: none;
  padding: 0 1.2rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}

.queue-mini-search .queue-btn {
  height: 48px;
  padding: 0 1.8rem;
  border-radius: 14px;
  background: var(--pink);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.queue-mini-search .queue-btn:hover {
  background: var(--pink-d);
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .queue-top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .queue-search-side {
    max-width: 100%;
  }
}

/* ══════════ TOS STYLES ══════════ */
.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 3rem;
}

.tos-do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .tos-do-dont {
    grid-template-columns: 1fr;
  }
}

.tos-do-card,
.tos-dont-card {
  padding: 2rem;
  border-radius: 25px;
  background: white;
  border: 1.5px solid var(--sw-border);
}

.tos-do-title {
  color: #88D4A0;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.tos-dont-title {
  color: var(--sw-accent);
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.tos-list {
  list-style: disk;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tos-list-item {
  font-size: 0.9rem;
  color: var(--sw-dark);
  opacity: 0.8;
  line-height: 1.5;
}

.tos-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1.5px solid var(--sw-border);
  box-shadow: 0 5px 15px rgba(255, 172, 214, 0.05);
}

.tos-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.tos-num {
  font-family: var(--ff-logo);
  color: var(--sw-accent);
  font-size: 1.2rem;
}

.tos-card-title {
  font-size: 1.1rem;
  color: var(--sw-dark);
  font-weight: 700;
}

.tos-card-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--sw-dark);
  opacity: 0.7;
}

.tos-agree-wrap {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 6rem;
}

.tos-agree-card {
  background: #fff5f7;
  padding: 3rem;
  border-radius: 35px;
  border: 2px dashed var(--sw-accent);
}

.tos-agree-title {
  font-size: 1.8rem;
  color: var(--sw-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.tos-check-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.tos-check-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sw-dark);
}

.tos-req-btn {
  height: 60px;
  padding: 0 3rem;
  border-radius: 20px;
  background: #eee;
  color: #999;
  font-weight: 800;
  transition: all 0.3s;
  border: none;
}

.tos-req-btn.enabled {
  background: var(--sw-accent);
  color: white;
  box-shadow: 0 10px 25px rgba(255, 172, 214, 0.4);
  cursor: pointer;
}

.tos-req-btn.enabled:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 172, 214, 0.6);
}

/* ══════════ QUEUE TABLE STYLES ══════════ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: white;
  border-radius: 30px;
  border: 1.5px solid var(--sw-border);
  box-shadow: 0 15px 40px rgba(255, 172, 214, 0.1);
  padding: 1rem;
  margin-bottom: 3rem;
}

.queue-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.queue-data-table th {
  text-align: left;
  padding: 1.5rem 1rem;
  color: var(--sw-accent);
  border-bottom: 2px solid #fff5f7;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.queue-data-table td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #fff5f7;
  font-size: 0.9rem;
  color: var(--sw-dark);
}

.queue-cell-code {
  font-weight: 700;
  color: var(--sw-accent);
}

.queue-cell-code span {
  opacity: 0.5;
  margin-right: 2px;
}

/* ════ STATUS BADGES — Vibrant Kawaii ════ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.9rem;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.status-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.status-pending {
  background: #FFF4E0;
  color: #C07A00;
  border-color: #F0C040;
}

.status-completed, .status-done {
  background: #E8F8EF;
  color: #2D8A54;
  border-color: #88D4A0;
}

.status-in-progress {
  background: #FFF0F7;
  color: var(--pink-d);
  border-color: var(--pink);
}

.status-sketching {
  background: #EEF0FF;
  color: #5B6CF0;
  border-color: #A8B5FF;
}

.status-waiting {
  background: #F5F5F5;
  color: #888;
  border-color: #DDD;
}

.status-revision {
  background: #FFF8E0;
  color: #B07020;
  border-color: #F0C870;
}

/* ════ Queue Stats Summary Row ════ */
.queue-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.queue-stat-card {
  background: white;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  box-shadow: var(--s1);
  padding: 1.4rem;
  text-align: center;
  transition: all 0.3s var(--ease-b);
}

.queue-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s2);
}

.queue-stat-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink-d);
  line-height: 1;
}

.queue-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--txm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}

.queue-data-table tbody tr { transition: background 0.2s; }
.queue-data-table tbody tr:hover { background: #fff8fb; }

@media (max-width: 640px) {
  .queue-stats-row { grid-template-columns: 1fr 1fr; }
  .queue-stat-card { padding: 1rem; }
  .queue-stat-num { font-size: 1.5rem; }
  .table-responsive { border-radius: 16px; padding: 0.5rem; }
  .queue-data-table { min-width: unset; font-size: 0.85rem; }
  .queue-data-table th { padding: 0.8rem 0.6rem; font-size: 0.7rem; }
  .queue-data-table td { padding: 0.85rem 0.6rem; }
}

.queue-loading {
  text-align: center;
  padding: 4rem;
  color: var(--sw-accent);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #fff5f7;
  border-top-color: var(--sw-accent);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* โ•โ•โ•โ•โ•โ•โ•โ• TOS โ•โ•โ•โ•โ•โ•โ•โ• */
.tos-page-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}

.tos-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .8rem;
}

.tos-hero-sub {
  font-size: .94rem;
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: .55rem;
}

.tos-updated {
  font-size: .7rem;
  font-weight: 700;
  color: var(--txm);
  letter-spacing: .08em;
}

.tos-do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1.6rem;
}

.tos-do-card {
  border-radius: var(--r-md);
  padding: 1.3rem;
  background: rgba(158, 202, 168, .1);
  border: 1.5px solid rgba(158, 202, 168, .4);
}

.tos-dont-card {
  border-radius: var(--r-md);
  padding: 1.3rem;
  background: rgba(72, 42, 58, .07);
  border: 1.5px solid rgba(72, 42, 58, .3);
}

.tos-do-title,
.tos-dont-title {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}

.tos-do-title {
  color: #4B8059;
}

.tos-dont-title {
  color: var(--pink);
}

.tos-list {
  display: flex;
  flex-direction: column;
  gap: .48rem;
  list-style: none;
}

.tos-list-item {
  font-size: .83rem;
  font-weight: 600;
  color: var(--txt2);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}

.tos-do-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
}

.tos-dont-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

.tos-card {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  padding: 1.3rem 1.5rem;
  margin-bottom: .75rem;
}

.tos-card-header {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .7rem;
}

.tos-num {
  font-family: var(--ff-logo);
  font-size: .88rem;
  color: var(--pink);
  opacity: .75;
  flex-shrink: 0;
}

.tos-card-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.tos-card-content {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--txt2);
  line-height: 1.8;
}

.tos-agree-wrap {
  margin: 1.6rem 0;
}

.tos-agree-card {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 2px solid var(--border2);
  padding: 2rem;
  text-align: center;
}

.tos-agree-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}

.tos-agree-sub {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--txt2);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.tos-check-label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  margin-bottom: 1.2rem;
  font-size: .86rem;
  font-weight: 700;
  color: var(--txt2);
}

.tos-checkbox {
  display: none;
}

.tos-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  border: 2px solid var(--border2);
  background: var(--surf2);
  transition: all .3s var(--ease-b);
  position: relative;
}

.tos-checkbox:checked+.tos-check-box {
  background: var(--pink);
  border-color: var(--pink);
}

.tos-checkbox:checked+.tos-check-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}

.tos-req-btn {
  display: block;
  margin: 0 auto;
  padding: .82rem 2.2rem;
  border-radius: var(--rf);
  font-family: var(--ff-ui);
  font-size: .88rem;
  font-weight: 800;
  background: var(--border);
  color: var(--txm);
  letter-spacing: .04em;
  transition: all .35s var(--ease-b);
  cursor: not-allowed;
  opacity: .5;
}

.tos-req-btn.enabled {
  background: var(--g-btn);
  color: #fff;
  box-shadow: 0 8px 24px rgba(62, 39, 35, .38);
  cursor: pointer;
  opacity: 1;
}

.tos-req-btn.enabled:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(62, 39, 35, .5);
}

/* โ•โ•โ•โ•โ•โ•โ•โ• CONTACT โ•โ•โ•โ•โ•โ•โ•โ• */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  min-height: 500px;
}

.contact-hero {
  text-align: left;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .8rem;
}

.contact-hero-sub {
  font-size: .95rem;
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: .55rem;
}

.contact-label {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 500px;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  border: 3px solid rgba(255, 255, 255, .8);
  box-shadow: 0 30px 80px rgba(62, 39, 35, .3), inset 0 1px 0 rgba(255, 255, 255, .95);
  animation: frameGlow 4s ease-in-out infinite;
  transition: transform .4s var(--ease-b);
  background: var(--pink-ll);
}

.contact-img-frame:hover {
  transform: scale(1.03);
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-b);
}

.contact-img-frame:hover .contact-img {
  transform: scale(1.05);
}

@media (max-width:980px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 2rem;
  }

  .contact-right {
    min-height: 420px;
  }

  .contact-img-frame {
    max-height: 420px;
  }
}

@media (max-width:768px) {
  .contact-wrapper {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .contact-right {
    min-height: 380px;
  }

  .contact-hero-title {
    font-size: 1.8rem;
  }

  .contact-hero.reveal {
    animation: slideInFromTop .7s .15s var(--ease-b) both !important;
  }

  .contact-label.reveal {
    animation: slideInFromTop .7s .3s var(--ease-b) both !important;
  }

  .social-grid.reveal {
    animation: slideInFromTop .7s .45s var(--ease-b) both !important;
  }

  .contact-img-frame.reveal {
    animation: slideInFromTop .7s .6s var(--ease-b) both !important;
  }
}

@media (max-width:620px) {
  .contact-hero-title {
    font-size: 1.6rem;
  }

  .contact-hero-sub {
    font-size: .88rem;
  }

  .contact-right {
    min-height: 340px;
  }

  .contact-img-frame {
    max-height: 380px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.soc-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--s1);
  cursor: pointer;
  transition: transform .35s var(--ease-b), box-shadow .35s, border-color .35s;
}

.soc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--s2);
  border-color: var(--pink-m);
}

.soc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-ll);
  color: var(--pink);
  transition: all 0.3s var(--ease-b);
}

.soc-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.soc-card:hover .soc-icon {
  background: var(--pink);
  color: #fff;
  transform: scale(1.1);
}

.soc-text {
  flex: 1;
}

.soc-name {
  font-size: .9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .1rem;
}

.soc-handle {
  font-family: var(--ff-body);
  font-size: .78rem;
  color: var(--txm);
}

.soc-arr {
  color: var(--pink);
  font-size: 1rem;
  opacity: .55;
  transition: transform .3s var(--ease-b), opacity .3s;
}

.soc-card:hover .soc-arr {
  transform: translateX(5px);
  opacity: 1;
}

/* โ•โ•โ•โ•โ•โ•โ•โ• MODAL โ•โ•โ•โ•โ•โ•โ•โ• */
/* ════════════════════════════════════════════════
   LIGHTBOX MODAL — Kawaii Pop-in Edition
   ════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(48, 20, 35, 0.78);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease, backdrop-filter 0.35s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Kawaii pop-in spring animation */
@keyframes kawaiiPopIn {
  0%   { opacity: 0; transform: scale(0.82) translateY(28px); }
  55%  { opacity: 1; transform: scale(1.04) translateY(-5px); }
  78%  { transform: scale(0.98) translateY(2px); }
  100% { transform: scale(1)   translateY(0); }
}

.modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 32px;
  box-shadow:
    0 40px 100px rgba(72, 42, 58, 0.45),
    0 0 0 1.5px rgba(255, 172, 214, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  max-height: 92dvh;
  animation: kawaiiPopIn 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.modal-img-box {
  position: relative;
  background: linear-gradient(135deg, #f9e8f1 0%, #ede0f5 100%);
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 72dvh;
  display: block;
  transition: opacity 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.modal-img.loading {
  opacity: .22;
}

.modal-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-ll), var(--surf2));
  animation: shimmer 1.4s ease-in-out infinite alternate;
  display: none;
}

.modal-skeleton.show {
  display: block;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.2rem;
  border-top: 1.5px solid var(--border);
  gap: 1rem;
}

.modal-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .1rem;
}

.modal-cat {
  font-size: .68rem;
  font-weight: 800;
  color: var(--txm);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.modal-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--pink-ll);
  color: var(--pink);
  transition: all .3s var(--ease-b);
}

.modal-open-btn:hover {
  background: var(--pink);
  color: #fff;
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--sw-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--s2);
  transition: all .3s var(--ease-b);
  z-index: 2;
}



.modal-prev {
  left: .75rem;
}

.modal-next {
  right: .75rem;
}

.modal-nav:hover:not(:disabled) {
  background: var(--pink);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav:disabled {
  opacity: .28;
  cursor: not-allowed;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  color: var(--pink-d);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(72, 42, 58, 0.25);
  transition: all 0.25s var(--ease-b);
  border: 1.5px solid rgba(255, 172, 214, 0.4);
  font-size: 1rem;
}

.modal-close:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  transform: scale(1.14) rotate(90deg);
  box-shadow: 0 6px 20px rgba(255, 172, 214, 0.55);
}

/* ── Zoomable images anywhere on page ── */
.zoomable-img,
.price-card-image img,
.contact-img-frame img {
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-b), box-shadow 0.3s;
}

.zoomable-img:hover,
.price-card-image img:hover,
.contact-img-frame img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 172, 214, 0.4);
}

/* โ•โ•โ•โ•โ•โ•โ•โ• RESPONSIVE โ•โ•โ•โ•โ•โ•โ•โ• */
@media (max-width:980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 2rem;
    min-height: auto;
  }

  .hero-right {
    min-height: 380px;
    max-height: 420px;
    margin: 0 auto;
    width: 100%;
    max-width: 360px;
  }

  .hero-char-wrap {
    max-width: 360px;
    height: 360px;
  }
}

@media (max-width:768px) {
  .nav-links {
    display: flex;
  }

  .nav-burger {
    display: none !important;
  }

  .nav-right {
    margin-left: auto;
  }

  .container,
  .container-sm {
    padding: 0 1.5rem;
  }

  .gallery-layout {
    flex-direction: column;
  }

  .gallery-sidebar {
    width: 100%;
    position: static;
  }

  .filter-tabs-v {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-tab-v {
    width: auto;
    border-radius: var(--rf);
    box-shadow: none;
    padding: .4rem .75rem;
  }

  .filter-tab-v.active {
    background: var(--pink);
    color: #fff;
    box-shadow: none;
  }

  .ftv-count {
    display: none;
  }

  .tos-do-dont {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1.5rem 1.2rem;
    margin-top: 0;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    height: calc(100svh - var(--nav-h));
    min-height: auto;
    overflow: hidden;
  }

  .hero-right {
    min-height: auto;
    height: auto;
    display: flex;
    justify-content: center;
  }

  .hero-char-wrap {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto;
  }
}

@keyframes loadingPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width:620px) {
  :root {
    --nav-h: 60px;
  }

  .hero {
    flex-direction: column-reverse;
    /* Text first, then image below - or column for image top */
    /* Actually Column usually has Text then Image stack */
    padding: 1.5rem 1.25rem;
    margin-top: 0;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: calc(100svh - var(--nav-h));
    overflow: visible;
    background: transparent;
  }

  .hero-name {
    font-size: 2.3rem;
    text-align: center;
  }

  .hero-tag {
    margin: 0.4rem 0 0.8rem;
  }

  .hero-bio {
    font-size: .88rem;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .hero-btns {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: .8rem;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .hero-right {
    min-height: auto;
    height: auto;
    justify-content: center;
    /* Center on mobile */
    padding: 1rem 0;
  }

  .hero-char-wrap {
    max-width: 280px;
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto;
    /* Remove desktop negative margin */
    justify-content: center;
    align-items: center;
  }

  .hero-soc-pill {
    width: 34px;
    height: 34px;
    font-size: .7rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .social-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* โ•โ•โ•โ•โ•โ•โ•โ• QUEUE CHECK PAGE โ•โ•โ•โ•โ•โ•โ•โ• */
.queue-hero {
  padding: 2rem 0 1.2rem;
  margin-bottom: 1.5rem;
}

.queue-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .8rem;
}

.queue-hero-sub {
  font-size: .95rem;
  color: var(--txt2);
  line-height: 1.8;
}

.queue-search-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.queue-search-form {
  width: 100%;
  max-width: 500px;
}

.queue-input-group {
  display: flex;
  gap: .8rem;
  align-items: stretch;
}

.queue-code-input {
  flex: 1;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  border: 2px solid var(--border2);
  background: var(--surface);
  color: var(--text);
  font-family: var(--ff-ui);
  font-size: .95rem;
  transition: border-color .3s, box-shadow .3s;
}

.queue-code-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(62, 39, 35, .2);
}

.queue-search-btn {
  padding: 1rem 2rem;
  border-radius: var(--r-md);
  background: var(--g-btn);
  color: white;
  font-weight: 600;
  transition: transform .3s, box-shadow .3s;
}

.queue-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--s2);
}

.queue-result-box {
  min-height: 200px;
  margin-bottom: 2rem;
}

.queue-card {
  background: var(--g-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--s1);
}

.queue-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.queue-card-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.queue-status-badge {
  padding: .5rem 1.2rem;
  border-radius: var(--rf);
  color: white;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.queue-card-desc {
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.queue-progress {
  margin-bottom: 1.5rem;
}

.queue-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: .5rem;
  font-weight: 600;
  font-size: .9rem;
}

.queue-progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(62, 39, 35, .08);
  border-radius: 99px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .05);
}

.queue-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--pink-m));
  transition: width .6s var(--ease-s);
  border-radius: 99px;
}

.queue-due {
  padding: 1rem;
  background: rgba(255, 172, 214, .12);
  border-radius: var(--r-md);
  border-left: 4px solid var(--pink);
}

.queue-due-label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--txt2);
}

.queue-due-date {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: .3rem;
}

.queue-error {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--txt2);
}

.queue-error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.queue-error-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: .5rem;
}

.queue-error-text {
  font-size: .95rem;
}

.queue-sample-wrap {
  text-align: center;
}

.queue-sample-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--txt2);
  margin-bottom: 1rem;
}

.queue-sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.queue-sample-code {
  padding: .8rem 1rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-weight: 600;
  font-family: var(--ff-ui);
  cursor: pointer;
  transition: all .3s;
}

.queue-sample-code:hover {
  border-color: var(--pink);
  background: var(--pink-ll);
  transform: scale(1.05);
}



/* Loading State */
.queue-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  color: var(--txm);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border: 4px solid var(--border);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Table */
.queue-data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--s2);
  animation: slideUp .6s var(--ease-s) both;
}

.queue-data-table thead {
  background: var(--g-btn);
  color: #fff;
}

.queue-data-table th {
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
}

.queue-data-table tbody tr {
  border-bottom: 2px solid var(--border);
  transition: background .3s;
  animation: slideUp .5s var(--ease-s) both;
}

.queue-data-table tbody tr:hover {
  background: rgba(62, 39, 35, .05);
}

.queue-data-table tbody tr:last-child {
  border-bottom: none;
}

.queue-data-table td {
  padding: 1rem 1.5rem;
  font-size: .9rem;
  color: var(--txt2);
}

.queue-cell-code {
  font-weight: 700;
  color: var(--pink);
  font-family: var(--ff-ui);
  min-width: 120px;
}

.queue-cell-detail {
  color: var(--text);
  font-weight: 500;
  max-width: 250px;
}



.queue-cell-status {}

.status-badge {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: var(--r-sm);
  font-size: .8rem;
  font-weight: 700;
  background: var(--pink-ll);
  color: var(--pink);
  text-transform: capitalize;
}

.queue-cell-payment {
  font-weight: 600;
  color: var(--text);
}

@media (max-width:768px) {

  .queue-data-table th,
  .queue-data-table td {
    padding: .8rem 1rem;
    font-size: .85rem;
  }

  .queue-cell-detail {
    max-width: 150px;
  }
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• QUEUE LOADING โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */

.queue-sample-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.queue-sample-grid {
  width: 100%;
  display: flex;
  justify-content: center;
}

.queue-loading,
.queue-empty,
.queue-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
  color: var(--txm);
  gap: 1.5rem;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--pink-ll);
  border-top: 4px solid var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

/* Table Responsive Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-md);
  margin-bottom: 2rem;
  box-shadow: var(--s2);
  scrollbar-width: thin;
  scrollbar-color: var(--pink-l) transparent;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: var(--pink-l);
  border-radius: 10px;
}

.queue-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.queue-data-table thead th {
  background: var(--pink);
  color: #fff;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.queue-data-table th:nth-child(3),
.queue-data-table td:nth-child(3),
.queue-data-table th:nth-child(4),
.queue-data-table td:nth-child(4) {
  text-align: center;
}

.queue-data-table th:first-child {
  border-top-left-radius: var(--r-md);
}

.queue-data-table th:last-child {
  border-top-right-radius: var(--r-md);
}

.queue-data-table tbody tr {
  transition: all 0.3s var(--ease-s);
  border-bottom: 1px solid var(--border);
}

.queue-data-table tbody tr:last-child td {
  border-bottom: none;
}

.queue-data-table tbody tr:hover {
  background: rgba(255, 172, 214, 0.08);
  transform: scale(1.002);
}

.queue-data-table td {
  padding: 1.2rem 1.5rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  text-align: left;
  /* Default alignment */
}

.queue-cell-code {
  font-family: var(--ff-ui);
  font-weight: 800;
  color: var(--pink);
  font-size: 0.95rem;
}

.queue-cell-code span {
  color: var(--pink);
  margin-right: 2px;
}

.queue-cell-detail {
  font-weight: 500;
  color: var(--txt);
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--pink-ll);
  color: var(--pink);
  white-space: nowrap;
}

/* Status-specific colors */
.status-pending {
  background: #FDE68A;
  color: #92400E;
}

.status-in-progress,
.status-sketching {
  background: #BFDBFE;
  color: #1E40AF;
}

.status-completed {
  background: #BBF7D0;
  color: #166534;
}

.status-cancelled {
  background: #FECACA;
  color: #991B1B;
}

.queue-cell-payment {
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 0.85rem;
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• POLISH & MICRO-INTERACTIONS โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--g-btn);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 172, 214, 0.4), inset 0 -2px 0 rgba(0,0,0,0.06);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.85);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.12);
  box-shadow: 0 14px 32px rgba(255, 172, 214, 0.6), inset 0 -2px 0 rgba(0,0,0,0.06);
  background: linear-gradient(135deg, var(--pink-l), var(--pink-d));
}

@media (max-width: 600px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

/* Sparkles Particle */
.sparkle-particle {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1200;
  width: 14px;
  height: 14px;
  fill: var(--pink);
  filter: drop-shadow(0 0 4px var(--pink-l));
  animation: sparkle-float 0.8s ease-out forwards;
}

@keyframes sparkle-float {
  0% {
    transform: translate(0, 0) scale(0) rotate(0deg);
    opacity: 0;
  }

  20% {
    opacity: 1;
    transform: translate(var(--dx), var(--dy)) scale(1) rotate(45deg);
  }

  100% {
    transform: translate(calc(var(--dx) * 1.5), calc(var(--dy) * 1.5)) scale(0) rotate(90deg);
    opacity: 0;
  }
}

/* Background Headline Styles */
.sw-headline-part {
  font-family: var(--ff-inter);
  font-weight: 900;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  /* Refined size to fit better */
  color: var(--sw-dark);
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -1px;
  display: flex;
  flex-direction: column;
}

.sw-headline-part .chunky {
  font-family: var(--ff-chunky);
  font-size: clamp(2rem, 6vw, 4.5rem);
  /* Refined size to fit better */
  color: var(--sw-dark);
  opacity: 0.15;
  text-shadow: none;
  letter-spacing: -2px;
}

.gallery-card:hover .card-img-wrap {
  transform: scale(1.02);
}

.card-img-wrap {
  transition: transform .4s var(--ease-b);
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• STREETWEAR OVERHAUL (HANAE) โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */

:root {
  --sw-bg: #fff5f7;
  --sw-accent: #ffacd6;
  --sw-dark: #482a3a;
  --sw-white: #FFFFFF;
  --ff-chunky: 'Black Ops One', cursive;
  --ff-inter: 'Inter', sans-serif;
}

.sw-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
  background: var(--sw-bg);
  animation: pageIn 0.8s ease-out;
}

.sw-headline-wrap {
  position: absolute;
  top: 8%;
  /* Moved up from 12% */
  width: 100%;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 0 12%;
  /* Increased padding to bring text inward */
  z-index: 2;
  pointer-events: none;
}

.sw-headline-part .chunky {
  font-family: var(--ff-chunky);
  font-size: clamp(3rem, 10vw, 8rem);
  color: var(--sw-dark);
  opacity: 0.15;
  text-shadow: none;
  letter-spacing: -2px;
}

@media (max-width: 1023px) {
  .sw-headline-part {
    font-size: 1.8rem;
  }

  .sw-headline-part .chunky {
    font-size: 2.8rem;
  }

  .sw-headline-wrap {
    top: 8%;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }
}

.sw-model-wrap {
  position: absolute;
  bottom: 0; /* Character base exactly at stage bottom = card bottom */
  left: 50%;
  transform: translateX(-55%);
  height: 125%; /* Taller than card: hat pops out above with NO bottom overflow */
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.4s var(--ease-b);
}

/* Stage: positioning context for card + character together */
.sw-hero-stage {
  position: relative;
  width: 95%;
  max-width: 1200px;
  margin-top: 6rem;
}

.sw-main-card {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: linear-gradient(135deg, var(--sw-accent), var(--sw-dark));
  border-radius: 60px;
  display: flex;
  justify-content: space-between;
  padding: 4rem;
  overflow: visible;
}

@media (max-width: 1023px) and (orientation: portrait) {
  .sw-main-card {
    flex-direction: column;
    height: auto;
    padding: 2rem;
    border-radius: 40px;
    margin-top: 10rem;
    gap: 3rem;
  }
}

.sw-card-left {
  flex: 1.2;
  color: var(--sw-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  z-index: 5;
}

.sw-btn-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: fit-content;
}

.sw-new-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

.sw-card-left h2 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
  font-family: var(--ff-inter);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

.sw-card-left p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 320px;
  line-height: 1.6;
}

.sw-btn-drops {
  width: fit-content;
  background: var(--sw-white);
  color: var(--sw-dark);
  padding: 1rem 2.2rem;
  border-radius: 99px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s var(--ease-b);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sw-btn-drops:hover {
  transform: scale(1.05) translateX(8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sw-btn-contact {
  width: fit-content;
  background: transparent;
  color: var(--sw-white);
  padding: 0.9rem 2.2rem;
  border-radius: 99px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s var(--ease-b);
  cursor: pointer;
}

.sw-btn-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--sw-white);
  transform: translateX(8px);
}

.sw-btn-drops .btn-arrow {
  width: 36px;
  height: 36px;
  background: var(--sw-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}


.sw-card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 2rem;
  z-index: 5;
}

.sw-features {
  display: flex;
  gap: 2.5rem;
  color: var(--sw-white);
}

.sw-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
  text-align: center;
}

.sw-feature-item svg {
  width: 26px;
  height: 26px;
}

.sw-product-card {
  background: #ffffff;
  border: 1px solid rgba(72, 42, 58, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 35px;
  padding: 1.2rem;
  width: 250px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.4s var(--ease-b);
  cursor: pointer;
}

.sw-product-card:hover {
  transform: translateY(-15px) rotate(2deg);
}

.sw-featured-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sw-dark);
  opacity: 0.6;
  margin-bottom: -0.5rem;
}

.sw-prod-img-box {
  width: 100%;
  height: 180px;
  background: #fff5f7;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.sw-prod-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.sw-prod-img-box img.fade-out {
  opacity: 0;
}

.sw-prod-info h4 {
  color: var(--sw-dark);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.sw-prod-info p {
  color: rgba(72, 42, 58, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.sw-price-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffacd6;
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  font-weight: 800;
  width: fit-content;
  margin-top: 0.8rem;
}

.sw-social-proof {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.sw-avatars-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sw-avatars {
  display: flex;
}

.sw-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--sw-accent);
  margin-left: -12px;
  background: #ddd;
  object-fit: cover;
}

.sw-avatar:first-child {
  margin-left: 0;
}

.sw-proof-stats {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

@media (max-width: 1023px) and (orientation: portrait) {

  html,
  body {
    overscroll-behavior: none;
    /* Disable bounce scroll */
    background-color: var(--sw-bg);
    /* Match theme to hide white edges */
  }

  /* Only lock scrolling when on the welcome page */
  body.body-page-welcome {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
    /* Prevent body scrolling entirely */
  }

  /* Ensure html inherits the lock state if needed for some browsers */
  html:has(body.body-page-welcome) {
    overflow: hidden;
    height: 100%;
  }

  .sw-hero {
    position: fixed;
    /* Lock to viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    padding: 0;
    padding-top: 4rem;
    /* Space for headline */
    max-height: 100svh;
    overflow: hidden;
    touch-action: none;
    /* Disable all touch scroll gestures */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 10;
  }

  .sw-headline-wrap {
    position: absolute;
    top: 2.2rem;
    /* Adjusted higher for better visibility */
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 6%;
    text-align: left;
    width: 100%;
    z-index: 20;
    /* Higher than card to prevent clipping */
    pointer-events: none;
  }

  .sw-headline-part:last-child {
    text-align: right;
  }

  .sw-headline-part {
    font-size: 0.8rem;
    letter-spacing: 0px;
  }

  .sw-headline-part .chunky {
    font-size: 1.6rem;
    opacity: 0.2;
  }

  /* Stage loses positioning context on mobile → character positions to section */
  .sw-hero-stage {
    position: static;
    width: 100%;
    margin-top: 0;
  }

  .sw-main-card {
    display: flex;
    flex-direction: column;
    height: auto;
    /* Generous top padding so character floats above content cleanly */
    padding: 3rem 1.5rem 4rem 1.5rem;
    border-radius: 32px 32px 0 0;
    margin-top: 0;
    gap: 1rem;
    width: 100%;
    text-align: center;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    border-bottom: none;
    clip-path: none;
  }

  /* Character repositions to upper portion of the fixed section on mobile */
  .sw-model-wrap {
    position: absolute;
    bottom: auto;
    top: 4vh;
    left: 0;
    right: 0;
    width: 100%; /* CRITICAL: without this the wrapper collapses to image content size */
    height: 58vh;
    z-index: 15;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transform: none;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  }

  .sw-model-img {
    height: 100%;
    width: auto;
    object-fit: contain;
  }

  .sw-card-left,
  .sw-card-right {
    display: contents;
  }

  .sw-new-label {
    order: 0;
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 7rem; /* Push down to make room for the character above */
    font-size: 0.7rem;
  }

  .sw-card-left h2 {
    order: 1;
    width: 100%;
    text-align: center;
    font-size: 2.2rem;
    line-height: 0.9;
    padding-top: 0.3rem;
  }

  .sw-card-left p {
    order: 2;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.85;
    padding: 0 1rem;
    margin-bottom: 0.2rem;
  }

  .sw-card-right .sw-product-card {
    display: none !important;
    /* Remove on mobile version */
  }

  .sw-btn-group {
    order: 4;
    /* Buttons move to the bottom */
  }

  .sw-btn-group {
    display: flex;
    flex-direction: column;
    /* Reverting to stacked for better readability at small size */
    gap: 0.8rem;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 30;
    margin-top: -0.5rem;
    /* Pulling up */
  }

  .sw-btn-drops,
  .sw-btn-contact {
    width: 80%;
    /* Smaller width */
    max-width: 250px;
    font-size: 0.8rem;
    padding: 0.7rem 1.2rem;
    justify-content: center;
    margin-bottom: 0;
  }

  .sw-card-right {
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    z-index: 25;
    padding-bottom: 3rem;
    /* Space at bottom of scroll */
  }

  .sw-product-card {
    width: 100%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: none !important;
  }

}

/* Background blob overrides for this page */
.sw-hero .home-bg {
  opacity: 0.6;
}

/* ════════════ CONTACT PAGE LAYOUT ════════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  font-family: var(--ff-display);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-hero h1 span {
  color: var(--pink);
}

.contact-hero p {
  color: var(--txt2);
  font-size: 1rem;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.soc-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: white;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 172, 214, 0.2);
  box-shadow: var(--s1);
  transition: all 0.3s var(--ease-b);
  font-size: 0.9rem;
  color: var(--text);
}

.soc-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: var(--s2);
}

.soc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pink-ll);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pink-d);
}

.soc-icon svg {
  width: 20px;
  height: 20px;
}

.soc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

.soc-text div:last-child {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--txm);
}

.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-img-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  border-radius: 32px;
  overflow: hidden; /* CRITICAL: clips the image inside the frame */
  box-shadow: var(--s3);
  background: var(--pink-ll);
}

.contact-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem 1.2rem 9rem; /* minimal top so content sits near top */
  }

  .contact-right {
    order: -1;
  }

  /* Compact square image — premium & doesn't dominate the screen */
  .contact-img-frame {
    width: 240px;
    height: 240px;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 28px;
  }

  /* Full width single-column social cards so nothing overflows */
  .social-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .soc-card {
    padding: 0.85rem 1rem;
    border-radius: 16px;
  }

  .contact-hero {
    text-align: left;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-left {
    gap: 1.5rem;
  }
}

/* ════════════════ BOUNCY BALL LOADER (THEMED) ════════════════ */

/* ═══════════════════════════════════════════════════
   KAWAII LOADING SCREEN — Redesigned
   ═══════════════════════════════════════════════════ */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #fff5f9 0%, #ffe6f2 50%, #fff5f9 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-out;
  overscroll-behavior: none;
  touch-action: none;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  padding: 2rem;
}

/* Floating hearts background */
.loader-hearts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lh {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.18;
  animation: floatUp var(--fs, 6s) ease-in-out infinite;
}

.lh-1 { left: 8%;  bottom: -10%; --fs: 7s; animation-delay: 0s;   color: var(--pink); }
.lh-2 { left: 22%; bottom: -10%; --fs: 9s; animation-delay: 1.2s; color: var(--pink-m); }
.lh-3 { left: 45%; bottom: -10%; --fs: 6s; animation-delay: 0.5s; color: var(--pink); }
.lh-4 { left: 65%; bottom: -10%; --fs: 8s; animation-delay: 2s;   color: var(--pink-m); }
.lh-5 { left: 80%; bottom: -10%; --fs: 7s; animation-delay: 0.8s; color: var(--pink); }
.lh-6 { left: 92%; bottom: -10%; --fs: 9s; animation-delay: 1.5s; color: var(--pink-m); }

@keyframes floatUp {
  0%   { transform: translateY(0)    rotate(0deg); opacity: 0.18; }
  50%  { opacity: 0.3; }
  100% { transform: translateY(-110vh) rotate(20deg); opacity: 0; }
}

/* Spinning ring loader */
.loader-art {
  position: relative;
  margin-bottom: 0.5rem;
}

.loader-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 10px 40px rgba(255, 172, 214, 0.3);
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--pink) 0%, var(--pink-l) 30%, transparent 60%);
  animation: spin 1.2s linear infinite;
  z-index: -1;
}

.loader-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(transparent 0%, transparent 60%, var(--pink-ll) 100%);
  animation: spin 1.2s linear infinite;
  z-index: -2;
}

.loader-inner-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 172, 214, 0.4);
  animation: spinReverse 3s linear infinite;
}

.loader-emoji {
  font-size: 2.2rem;
  animation: loaderPulse 2s ease-in-out infinite;
  display: block;
  line-height: 1;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

/* Text */
.loader-text-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.5rem;
}

.loading-text {
  background: linear-gradient(90deg, #d4639e, #ffacd6, #d4639e);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: wave-colors 2.5s ease-in-out infinite;
}

.loader-sub-text {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--pink-m);
  margin: 0;
  opacity: 0.8;
}

.dots {
  display: inline-block;
  width: 32px;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--pink);
}

.dots::after {
  content: "";
  animation: dots 2s steps(4, end) infinite;
}

/* Cute progress bar */
.loader-progress-bar {
  width: 160px;
  height: 6px;
  background: rgba(255, 172, 214, 0.2);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.loader-progress-fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--pink-d), var(--pink), var(--pink-l));
  border-radius: 99px;
  animation: progressSlide 1.8s ease-in-out infinite;
}

@keyframes progressSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@keyframes wave-colors {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

@media (max-width: 480px) {
  .loader-circle { width: 70px; height: 70px; }
  .loader-emoji { font-size: 1.7rem; }
  .loading-text { font-size: 0.95rem; }
}

/* ══════════════════════════════════════════════════════
   ADDITIONS & FIXES — Bug fixes + new component styles
   ══════════════════════════════════════════════════════ */

/* Modal image transition */
#modalImg {
  transition: opacity 0.25s ease;
}

/* Gallery empty state */
.gallery-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--txt2);
  font-family: var(--ff-display);
  gap: 1rem;
}
.gallery-empty-icon {
  font-size: 3rem;
  animation: floatY 3s ease-in-out infinite;
}

/* Queue single result card */
.queue-single-result {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 2px solid var(--pink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s2);
}
.queue-single-header {
  background: linear-gradient(135deg, var(--pink-ll), #fff5f7);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.queue-single-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--text);
  margin: 0.75rem 0 0.25rem;
}
.queue-single-tag {
  font-size: 0.9rem;
  color: var(--pink-d);
  font-weight: 700;
}
.queue-single-body {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.queue-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
  gap: 1rem;
}
.queue-info-row:last-child { border-bottom: none; }
.queue-info-label {
  font-weight: 700;
  color: var(--txt2);
  flex-shrink: 0;
}
.queue-back-btn {
  display: block;
  width: calc(100% - 4rem);
  margin: 0 2rem 2rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--rf);
  background: var(--g-btn);
  color: var(--text);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.queue-back-btn:hover { opacity: 0.85; transform: scale(0.98); }
.queue-back-btn.outline {
  background: transparent;
  border: 2px solid var(--border2);
  color: var(--txt2);
}

/* Queue not-found state */
.queue-not-found {
  margin-top: 1.5rem;
  background: #fff5f7;
  border: 1.5px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.queue-not-found-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}
.queue-not-found h3 {
  font-family: var(--ff-display);
  color: var(--pink-d);
  font-size: 1.3rem;
}
.queue-not-found p {
  color: var(--txt2);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Modal skeleton loader */
.modal-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffe6f2 25%, #fff0f5 50%, #ffe6f2 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: var(--r-md);
  display: none;
}

/* Mobile modal nav improvements */
@media (max-width: 640px) {
  .modal-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .modal-prev { left: 0.5rem; }
  .modal-next { right: 0.5rem; }
  .queue-single-body { padding: 1rem 1.25rem; }
  .queue-back-btn { width: calc(100% - 2.5rem); margin: 0 1.25rem 1.5rem; }
  .queue-single-header { padding: 1.5rem 1.25rem; }
}

/* TOS btn enabled state */
.tos-req-btn.enabled {
  background: var(--g-btn);
  color: var(--text);
  opacity: 1;
}

/* Improved img transition in slideshow */
.sw-prod-img-box img.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.sw-prod-img-box img {
  transition: opacity 0.5s ease;
}

/* ════════════════════════════════════════════════
   PAGE DECORATIONS — Floating kawaii elements
   ════════════════════════════════════════════════ */
.page-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.deco-float {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0.18;
  animation: floatY var(--ft, 7s) ease-in-out infinite;
  user-select: none;
}

.deco-float:nth-child(1) { top: 8%;  left: 4%;  --ft: 6s; }
.deco-float:nth-child(2) { top: 15%; right: 6%; --ft: 8s; animation-delay: 1s; }
.deco-float:nth-child(3) { top: 40%; left: 2%;  --ft: 9s; animation-delay: 2s; }
.deco-float:nth-child(4) { top: 55%; right: 3%; --ft: 7s; animation-delay: 0.5s; }
.deco-float:nth-child(5) { top: 75%; left: 8%;  --ft: 10s; animation-delay: 1.5s; }
.deco-float:nth-child(6) { top: 25%; left: 45%; --ft: 7.5s; animation-delay: 3s; }

/* Subtle dot-grid pattern for inner pages */
.page-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--pink-ll) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ════════════════════════════════════════════════
   ART GALLERY TITLE — Gradient text
   ════════════════════════════════════════════════ */
.art-gallery-title span,
.section-title span {
  background: linear-gradient(135deg, var(--pink-d), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gallery image skeleton loading shimmer */
.gallery-card.loading .card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pink-ll) 25%, #fff5f8 50%, var(--pink-ll) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}

/* Mobile gallery category grid */
@media (max-width: 700px) {
  .gallery-cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .gallery-cat-card { padding: 0.9rem; gap: 0.7rem; }
  .cat-thumb-frame { width: 48px; height: 48px; border-radius: 12px; }
  .cat-title { font-size: 0.9rem; }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.65rem;
  }
}

/* ════ Queue API State Styles ════ */
.queue-api-error {
  background: #fff5f7;
  border: 1.5px solid var(--border2);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.queue-api-error-icon {
  font-size: 2.5rem;
}

.queue-api-error h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--pink-d);
  margin: 0;
}

.queue-api-error p {
  font-size: 0.88rem;
  color: var(--txm);
  margin: 0;
}

.queue-retry-btn {
  margin-top: 0.5rem;
  padding: 0.7rem 1.8rem;
  border-radius: 99px;
  background: var(--g-btn);
  color: white;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-b);
}

.queue-retry-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ════ Inline Skeleton for Queue Table ════ */
.queue-skel-row {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.queue-skel-cell {
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink-ll) 25%, #fff5f8 50%, var(--pink-ll) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}

.qsc-1 { width: 80px; flex-shrink: 0; }
.qsc-2 { flex: 1; }
.qsc-3 { width: 90px; flex-shrink: 0; }
.qsc-4 { width: 70px; flex-shrink: 0; }

/* ╔══════════════════════════════════════════════════════╗
   ║   KAWAII MICRO-INTERACTIONS — Custom Scrollbar      ║
   ╚══════════════════════════════════════════════════════╝ */

/* ── 1. Custom Scrollbar (Webkit + Firefox) ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--pink-ll);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink-l), var(--pink));
  border-radius: 99px;
  border: 2px solid var(--pink-ll);
  min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--pink), var(--pink-d));
}

::-webkit-scrollbar-corner {
  background: var(--pink-ll);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--pink) var(--pink-ll);
}

/* ── 2. Bouncy Buttons — Spring animation on hover ── */
@keyframes kawaiiBounce {
  0%   { transform: scale(1)    translateY(0); }
  30%  { transform: scale(1.09) translateY(-4px); }
  55%  { transform: scale(0.97) translateY(1px); }
  75%  { transform: scale(1.03) translateY(-2px); }
  90%  { transform: scale(0.99) translateY(0); }
  100% { transform: scale(1)    translateY(0); }
}

@keyframes kawaiiBounceDown {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.93); }
  100% { transform: scale(1); }
}

/* Apply bounce-ready transition to all interactive buttons */
.queue-btn,
.back-btn,
.tos-req-btn,
.tos-req-btn.enabled,
.queue-retry-btn,
.price-cta,
.gallery-subcat-pill,
.gallery-cat-card,
.soc-card,
.nav-link,
button {
  will-change: transform;
  transition: transform 0.18s var(--ease-b), box-shadow 0.25s, background 0.25s, border-color 0.25s !important;
}

.queue-btn:hover,
.queue-retry-btn:hover,
.back-btn:hover {
  animation: kawaiiBounce 0.45s var(--ease-b) forwards;
}

.price-cta:hover {
  animation: kawaiiBounce 0.45s var(--ease-b) forwards;
}

.gallery-cat-card:hover {
  animation: kawaiiBounce 0.5s var(--ease-b) forwards;
}

.soc-card:hover {
  animation: kawaiiBounce 0.42s var(--ease-b) forwards;
}

/* Active press effect — feels physical */
.queue-btn:active,
.queue-retry-btn:active,
.back-btn:active,
.price-cta:active,
.gallery-subcat-pill:active {
  animation: kawaiiBounceDown 0.15s ease forwards !important;
}

/* ── 3. Custom Cursor — Kawaii pastel dot ── */

/* Hide the real cursor everywhere */
html, body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='11' fill='%23ffacd6' opacity='0.85'/%3E%3Ccircle cx='14' cy='14' r='5' fill='white' opacity='0.9'/%3E%3Ccircle cx='10' cy='11' r='1.5' fill='%23ffacd6' opacity='0.6'/%3E%3C/svg%3E") 14 14, auto;
}

/* Pointer cursor for interactive elements */
a, button, [role="button"],
.gallery-cat-card, .gallery-card, .soc-card,
.price-cta, .queue-btn, .back-btn,
input[type="checkbox"], label[for] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='11' fill='%23d4639e' opacity='0.9'/%3E%3Ccircle cx='14' cy='14' r='5' fill='white' opacity='0.95'/%3E%3Ctext x='14' y='18' text-anchor='middle' font-size='8' fill='%23d4639e'%3E%E2%99%A1%3C/text%3E%3C/svg%3E") 14 14, pointer;
}

/* Custom cursor JS layer */
.kawaii-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,172,214,0.7) 0%, rgba(255,172,214,0.1) 100%);
  border: 1.5px solid rgba(255, 172, 214, 0.5);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: multiply;
}

.kawaii-cursor.cursor-hover {
  width: 36px;
  height: 36px;
  background: radial-gradient(circle, rgba(212, 99, 158, 0.25) 0%, rgba(255,172,214,0.05) 100%);
  border-color: var(--pink-d);
}

.kawaii-cursor.cursor-click {
  width: 10px;
  height: 10px;
  background: var(--pink);
}

/* Trailing sparkle burst on click */
.cursor-burst {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  font-size: 0.9rem;
  line-height: 1;
  animation: cursorBurst 0.6s ease forwards;
  transform: translate(-50%, -50%);
}

@keyframes cursorBurst {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
  40%  { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -130%)  scale(0.8); }
}

/* ── 4. Bonus: Card hover lift animation ── */
.gallery-card {
  transition: transform 0.3s var(--ease-b), box-shadow 0.3s !important;
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 172, 214, 0.25);
}

/* Ripple on button click */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background: rgba(255, 172, 214, 0.5);
  animation: rippleOut 0.5s ease forwards;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

@keyframes rippleOut {
  to {
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}

/* ╔══════════════════════════════════════════════════════╗
   ║   TEXT OVERFLOW FIXES — Prevent layout breakage     ║
   ╚══════════════════════════════════════════════════════╝ */

/* ── Gallery card title: ellipsis if too long ── */
.card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.card-subtitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ── Category card: clamp text ── */
.cat-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* ── Queue table cells: prevent overflow ── */
.queue-data-table td {
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 200px;
}

.queue-data-table td:first-child {
  max-width: 100px;
  white-space: nowrap;
}

/* Tag/code cell: never wrap */
.queue-cell-code {
  white-space: nowrap;
}

/* ── Queue single result body: wrap long text ── */
.queue-info-row span:last-child {
  word-break: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

/* ── Queue single name: clamp to 2 lines ── */
.queue-single-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ── Queue single tag: no wrap ── */
.queue-single-tag {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Price card name: prevent overflow ── */
.price-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Price desc: max height clamp ── */
.price-desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Price include items: wrap ── */
.price-include-item {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Social card handle: ellipsis ── */
.soc-text div:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* ── TOS card content: wrap properly ── */
.tos-list-item {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Modal title: clamp to 2 lines ── */
#modalTitle {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

/* ── Section subtitles: wrap on mobile ── */
.section-sub,
.art-gallery-sub,
.folder-sub {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Queue search placeholder: readable on mobile ── */
#queueInputCode::placeholder {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  #queueInputCode::placeholder {
    font-size: 0.78rem;
  }

  .cat-title {
    max-width: 90px;
    font-size: 0.85rem;
  }

  .queue-data-table td {
    max-width: 140px;
  }
}

/* ╔══════════════════════════════════════════════════════╗
   ║   PRICING PAGE — New Sections (Commission Status,   ║
   ║   How-to-Order, Do&Don't, Turnaround, priceRange)   ║
   ╚══════════════════════════════════════════════════════╝ */

/* ── Commission Status Pill ── */
.commission-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.4rem;
  border-radius: 99px;
  font-family: var(--ff-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0.8rem auto 0;
}

.commission-status-pill.status-open {
  background: linear-gradient(90deg, #e8f9ef, #d1f5e1);
  color: #1a7a4a;
  border: 1.5px solid #a8e6c1;
  animation: statusPulse 3s ease-in-out infinite;
}

.commission-status-pill.status-closed {
  background: #fff0f3;
  color: #c0394b;
  border: 1.5px solid #f5c0c9;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.pricing-open-note {
  font-size: 0.82rem;
  color: var(--txm);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── How to Order ── */
.pricing-howto {
  margin: 2.5rem 0;
  text-align: center;
}

.howto-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pink-d);
  margin-bottom: 1.5rem;
}

.howto-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.howto-step {
  background: white;
  border: 1.5px solid var(--border2);
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  width: 200px;
  text-align: center;
  box-shadow: var(--s1);
  transition: transform 0.3s var(--ease-b), box-shadow 0.3s;
}

.howto-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--s2);
}

.howto-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.howto-label {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pink-d);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.howto-desc {
  font-size: 0.82rem;
  color: var(--txm);
  line-height: 1.5;
}

.howto-arrow {
  font-size: 1.5rem;
  color: var(--pink);
  align-self: center;
  padding: 0 0.2rem;
  margin-top: -1rem;
}

@media (max-width: 640px) {
  .howto-arrow { transform: rotate(90deg); }
  .howto-steps { flex-direction: column; align-items: center; }
  .howto-step { width: 100%; max-width: 280px; }
}

/* ── Price Grid Wrapper ── */
.pricing-grid-wrap {
  width: 100%;
}

/* ── Turnaround Time ── */
.price-turnaround {
  font-size: 0.78rem;
  color: var(--txm);
  background: var(--pink-ll);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  display: inline-block;
  margin: 0.4rem 0 0.2rem;
  font-weight: 600;
}

/* ── Price From label in Thai ── */
.price-from {
  font-size: 0.72rem;
  color: var(--txm);
  margin-top: 0.15rem;
}

/* ── Recommended badge Thai ── */
.rec-badge {
  background: linear-gradient(90deg, var(--pink-d), var(--pink));
  color: white;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.9rem;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  right: 1.2rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(212, 99, 158, 0.35);
}

/* ── Price CTA button Thai ── */
.price-cta {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: var(--g-btn);
  color: white;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  margin-top: 0.9rem;
  transition: all 0.25s var(--ease-b);
  letter-spacing: 0.02em;
}

.price-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 172, 214, 0.5);
}

/* ── Do & Don't Section ── */
.pricing-dodont {
  margin: 3rem 0 1rem;
}

.dodont-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pink-d);
  text-align: center;
  margin-bottom: 1.2rem;
}

.dodont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 640px) {
  .dodont-grid { grid-template-columns: 1fr; }
}

.dodont-card {
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--s1);
}

.do-card {
  background: linear-gradient(135deg, #f0fff4 0%, #e8f9ef 100%);
  border: 1.5px solid #a8e6c1;
}

.dont-card {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ec 100%);
  border: 1.5px solid #f5c0c9;
}

.dodont-head {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.do-card .dodont-head { color: #1a7a4a; }
.dont-card .dodont-head { color: #c0394b; }

.dodont-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dodont-list li {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.5;
  padding-left: 0.2rem;
  word-break: break-word;
}

.do-card .dodont-list li { color: #1a5c3a; }
.dont-card .dodont-list li { color: #8c2030; }

/* ── TOS Link Button ── */
.tos-link-btn {
  display: block;
  margin: 1.5rem auto 0;
  padding: 0.7rem 2rem;
  border-radius: 99px;
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink-d);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-b);
}

.tos-link-btn:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 172, 214, 0.4);
}

/* ── Minimalist SVG Icons ── */
.icon-minimal {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.22em;
  margin-right: 0.3em;
  display: inline-block;
  flex-shrink: 0;
}
.howto-icon .icon-minimal {
  margin-right: 0;
  vertical-align: middle;
}
.queue-not-found-icon .icon-minimal,
.queue-api-error-icon .icon-minimal {
  margin-right: 0;
  vertical-align: top;
  stroke-width: 1.8;
}

