/* ==========================================================================
   WAVY ART — Master Stylesheet
   Theme: Minimalist & Aesthetic Anime Portfolio (Flawless Dark & Light Modes)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Comfortaa:wght@600;700&display=swap');

:root {
  /* Default Theme: Warm Beige Pastel & Light B&W Carrd Aesthetic */
  --bg-main: #f5f2eb;
  --bg-deep: #ebe5db;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8f4;
  --bg-glass-nav: rgba(245, 242, 235, 0.92);
  --bg-input: #ffffff;
  --bg-summary: #f0ebe1;
  --bg-modal: rgba(235, 229, 219, 0.94);
  --bg-modal-card: #ffffff;
  --bg-element-subtle: rgba(43, 39, 36, 0.04);
  --bg-element-hover: rgba(43, 39, 36, 0.07);

  --text-main: #24211e;
  --text-muted: #69625a;
  --text-dim: #988f85;
  --text-gradient: linear-gradient(135deg, #24211e 30%, #585047 100%);

  /* Refined Monochrome & Warm Beige Accents */
  --primary-pink: #24211e;
  --primary-pink-hover: #3e3833;
  --primary-pink-subtle: rgba(36, 33, 30, 0.06);
  --primary-pink-glow: rgba(36, 33, 30, 0.12);

  --lavender: #787066;
  --mint: #4b4843;
  --mint-subtle: rgba(75, 72, 67, 0.06);
  --gold: #887e70;

  --border-subtle: rgba(43, 39, 36, 0.08);
  --border-glass: rgba(43, 39, 36, 0.14);
  --border-focus: rgba(36, 33, 30, 0.35);

  --shadow-card: 0 8px 24px -6px rgba(45, 40, 35, 0.06), 0 0 1px 1px rgba(43, 39, 36, 0.04);
  --shadow-chip: 0 4px 12px rgba(45, 40, 35, 0.06);

  --blob-opacity: 0.14;

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ==========================================================================
   Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

section[id],
#calculator,
.price-sheet-container {
  scroll-margin-top: 85px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
  letter-spacing: -0.01em;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Mandatory lowercase typography rule across the site */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.nav-link,
.badge,
.section-tag,
.tag-pill,
.btn,
button,
.filter-btn,
.art-category,
.art-title,
.art-footer,
.price-type,
.featured-ribbon,
.price-features,
.calc-group-title,
.radio-name,
.addon-name,
.summary-row,
.order-result-box,
.social-title,
.social-handle,
.copy-badge-btn,
.stat-label,
.tos-card,
.tos-main-title,
.tos-section-title,
.tos-subtitle,
.tos-text,
.modal-title,
.meta-label,
.toast,
.stat-number,
.currency-label,
.step-title,
.step-desc,
.rules-header,
.rules-list,
.form-group label {
  text-transform: lowercase;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(125, 125, 125, 0.25);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* Sakura Canvas & Ambient Blobs */
#sakura-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: var(--blob-opacity);
  transition: opacity var(--transition-smooth);
}

.blob-1 {
  top: -5%;
  left: 20%;
  width: 520px;
  height: 520px;
  background: #ded6c8;
}

.blob-2 {
  top: 45%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: #e5dfd3;
}

.blob-3 {
  bottom: -10%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: #d6cdbd;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.badge-status {
  background: var(--mint-subtle);
  color: var(--mint);
  border: 1px solid rgba(94, 234, 212, 0.25);
}

.badge-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--mint);
  border-radius: 50%;
}

.badge-hero {
  background: var(--bg-element-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.section-desc {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.98rem;
  font-weight: 400;
  transition: color var(--transition-fast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-main);
  border: 1px solid var(--text-main);
  box-shadow: 0 4px 14px rgba(36, 33, 30, 0.12);
}

.btn-primary:hover {
  background: var(--primary-pink-hover);
  color: var(--bg-main);
  border-color: var(--primary-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(36, 33, 30, 0.18);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  border-bottom: none;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: var(--bg-glass-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  box-shadow: 0 4px 20px -4px rgba(45, 40, 35, 0.04);
  padding: 12px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  transition: all var(--transition-fast);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text-main);
  background: var(--bg-element-subtle);
}

.nav-link.active {
  color: var(--text-main);
  font-weight: 600;
  background: var(--bg-element-subtle);
  border-color: var(--border-subtle);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  border-color: var(--border-glass);
  background: var(--bg-element-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover {
  border-color: var(--border-glass);
  background: var(--bg-element-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn:active {
  transform: scale(0.94);
}

.hamburger-box {
  width: 18px;
  height: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 4px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease,
              width 0.25s ease,
              background-color 0.2s ease;
  transform-origin: center;
}

.hamburger-line.line-2 {
  width: 65%;
  align-self: flex-end;
}

.mobile-menu-btn:hover .hamburger-line.line-2 {
  width: 100%;
}

/* Morph into smooth animated ✕ */
.mobile-menu-btn.active .hamburger-box,
.mobile-nav-active .mobile-menu-btn .hamburger-box {
  transform: rotate(90deg);
}

.mobile-menu-btn.active .hamburger-line.line-1,
.mobile-nav-active .mobile-menu-btn .hamburger-line.line-1 {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line.line-2,
.mobile-nav-active .mobile-menu-btn .hamburger-line.line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line.line-3,
.mobile-nav-active .mobile-menu-btn .hamburger-line.line-3 {
  transform: translateY(-5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag-pill {
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  border-color: var(--border-glass);
  color: var(--primary-pink);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Hero Avatar Art Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-card-glow {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.avatar-img-container {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  position: relative;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.avatar-card-glow:hover .avatar-img {
  transform: scale(1.03);
}

.floating-chip {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-chip);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.chip-top {
  top: -12px;
  right: -8px;
  color: var(--gold);
}

.chip-bottom {
  bottom: -12px;
  left: -8px;
  color: var(--primary-pink);
}

/* ==========================================================================
   Portfolio / Gallery Section
   ========================================================================== */
.portfolio {
  padding: 90px 0;
  position: relative;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.art-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.art-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-card);
}

.art-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--bg-deep);
}

.art-card-thumb.portrait-ratio {
  aspect-ratio: 3 / 4;
}

.art-card-thumb.square-ratio {
  aspect-ratio: 1 / 1;
}

/* ==========================================================================
   Image Preloader & Skeleton System (No Template Images)
   ========================================================================== */
.img-skeleton-wrap {
  position: relative !important;
  overflow: hidden !important;
  background-color: var(--bg-deep) !important;
}

.img-skeleton {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    90deg,
    rgba(235, 229, 219, 0.7) 0%,
    rgba(250, 248, 244, 0.98) 50%,
    rgba(235, 229, 219, 0.7) 100%
  );
  background-size: 200% 100%;
  animation: siteImgSkeletonShimmer 1.6s infinite linear;
  z-index: 2;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

[data-theme="dark"] .img-skeleton {
  background: linear-gradient(
    90deg,
    rgba(35, 31, 28, 0.7) 0%,
    rgba(55, 49, 44, 0.95) 50%,
    rgba(35, 31, 28, 0.7) 100%
  );
  background-size: 200% 100%;
}

@keyframes siteImgSkeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-sparkle {
  font-size: 1.4rem;
  color: var(--text-dim);
  opacity: 0.6;
  animation: siteSkeletonPulse 1.4s ease-in-out infinite alternate;
}

@keyframes siteSkeletonPulse {
  0% { transform: scale(0.85); opacity: 0.3; }
  100% { transform: scale(1.18); opacity: 0.8; }
}

.img-skeleton-wrap img {
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform var(--transition-smooth);
}

.img-skeleton-wrap.loaded img {
  opacity: 1 !important;
}

.img-skeleton-wrap.loaded .img-skeleton {
  opacity: 0 !important;
  visibility: hidden !important;
}

.img-error-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-deep);
  color: var(--text-dim);
  font-size: 0.82rem;
  z-index: 1;
  user-select: none;
  text-align: center;
  padding: 10px;
}

.img-skeleton-wrap.error .img-error-placeholder {
  display: flex !important;
}

.img-skeleton-wrap.error .img-skeleton {
  display: none !important;
}

.img-skeleton-wrap.error img {
  display: none !important;
}

.art-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.art-card:hover .art-card-img {
  transform: scale(1.04);
}

.art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 11, 18, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 3;
}

.art-card:hover .art-overlay {
  opacity: 1;
}

.art-zoom-icon {
  background: var(--primary-pink);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-left: auto;
}

.art-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.art-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-pink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.art-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.art-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.gallery-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

.load-more-art-btn {
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(36, 33, 30, 0.05);
  transition: all var(--transition-fast);
}

.load-more-art-btn:hover {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(36, 33, 30, 0.12);
}

.gallery-toggle-icon {
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   Pricing & Commission Calculator
   ========================================================================== */
.pricing {
  padding: 90px 0;
  position: relative;
}

/* Category Nav Buttons (Перше вікно з кнопками) */
.calc-cat-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.calc-cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
}

.calc-cat-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(45, 40, 35, 0.03);
  outline: none;
  letter-spacing: -0.01em;
}

.calc-cat-btn:hover {
  color: var(--text-main);
  border-color: var(--border-glass);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.calc-cat-btn.active {
  background: #24211e;
  color: #fbf8f3;
  border-color: #24211e;
  box-shadow: 0 4px 14px rgba(36, 33, 30, 0.18);
  transform: translateY(-1.5px);
}

/* Price Sheet Card (Таблички как на картинках) */
.price-sheet-container {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.all-prices-usd-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  text-align: center;
  text-transform: lowercase;
}

.price-sheet-card {
  background: linear-gradient(150deg, #f7f4ee 0%, #ebe5da 100%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  padding: 38px 46px;
  box-shadow: 0 16px 40px -12px rgba(60, 50, 40, 0.08), 0 2px 8px rgba(60, 50, 40, 0.03);
  width: 100%;
  max-width: 620px;
  transition: all var(--transition-normal);
}

.price-sheet-title {
  font-family: 'Comfortaa', 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #2b2724;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.price-sheet-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.price-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Outfit', sans-serif;
}

.price-sheet-table th {
  padding: 10px 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2b2724;
  border-bottom: 2px solid #544c44;
}

.price-sheet-table th.col-opt {
  text-align: left;
  font-family: 'Comfortaa', 'Outfit', sans-serif;
}

.price-sheet-table th.col-size {
  text-align: center;
  min-width: 75px;
  font-family: 'Comfortaa', 'Outfit', sans-serif;
}

.price-sheet-table th.col-single-price {
  text-align: right;
  padding-right: 28px;
}

.price-sheet-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(80, 70, 60, 0.16);
  color: #38332e;
  font-size: 1.05rem;
  transition: background 0.15s ease;
}

.price-sheet-table tr:last-child td {
  border-bottom: none;
}

.price-sheet-table tr.price-row-clickable {
  cursor: pointer;
}

.price-sheet-table tr.price-row-clickable:hover td {
  background: rgba(43, 39, 36, 0.04);
}

.price-sheet-table tr.price-row-clickable.selected td {
  background: rgba(43, 39, 36, 0.08);
  font-weight: 600;
}

.price-sheet-table td.cell-opt {
  text-align: left;
  font-weight: 500;
  color: #4a433b;
  font-family: 'Comfortaa', 'Outfit', sans-serif;
}

.price-sheet-table td.cell-price {
  text-align: center;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-variant-numeric: tabular-nums slashed-zero;
}

.price-sheet-table td.cell-single-price {
  text-align: right;
  padding-right: 28px;
}

@media (max-width: 600px) {
  .price-sheet-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .price-sheet-title {
    font-size: 1.45rem;
    margin-bottom: 20px;
  }

  .price-sheet-table th {
    font-size: 1rem;
    padding: 8px 10px;
  }

  .price-sheet-table td {
    font-size: 0.95rem;
    padding: 10px 10px;
  }

  .price-sheet-table td.cell-single-price,
  .price-sheet-table th.col-single-price {
    padding-right: 14px;
  }

  .calc-cat-btn {
    padding: 8px 16px;
    font-size: 0.86rem;
  }
}

/* Size Switcher Pills */
.calc-size-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.calc-sub-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-size-pills {
  display: flex;
  gap: 8px;
}

.calc-size-btn {
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-size-btn:hover {
  color: var(--text-main);
  border-color: var(--border-glass);
}

.calc-size-btn.active {
  background: #24211e;
  border-color: #24211e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(36, 33, 30, 0.15);
}

/* Calculator Box */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.calc-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.calc-title-box h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-group-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.calc-radio-card {
  position: relative;
}

.calc-radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.calc-radio-label {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.calc-radio-card input:checked+.calc-radio-label {
  background: var(--primary-pink-subtle);
  border-color: var(--primary-pink);
}

.radio-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.radio-price {
  font-size: 0.78rem;
  color: var(--primary-pink);
  margin-top: 2px;
}

.calc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-check-item:hover {
  background: var(--bg-element-hover);
  border-color: var(--border-glass);
}

.calc-check-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-check-item input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(125, 125, 125, 0.3);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.calc-check-item input[type="checkbox"]:checked {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
}

.calc-check-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}

.addon-name {
  font-size: 0.88rem;
  font-weight: 500;
}

.addon-badge {
  font-size: 0.8rem;
  color: var(--lavender);
  font-weight: 600;
}

/* Calculator Summary Box */
.calc-summary {
  background: var(--bg-summary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.summary-header {
  margin-bottom: 16px;
}

.summary-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.summary-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.total-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.total-currency {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cute TOS Badges in Calculator */
.calc-tos-hint-wrap {
  margin-top: 12px;
  text-align: center;
}

.calc-tos-cute-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px dashed var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(45, 40, 35, 0.03);
  width: 100%;
}

.calc-tos-cute-tag:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-main);
  color: var(--text-main);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(45, 40, 35, 0.07);
}

.calc-tos-cute-tag .cute-tag-icon {
  font-size: 0.92rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.calc-tos-cute-tag:hover .cute-tag-icon {
  transform: scale(1.15) rotate(-5deg);
}

.calc-tos-cute-tag strong {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.calc-tos-cute-tag .cute-tag-star {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.calc-tos-cute-tag:hover .cute-tag-star {
  color: var(--text-main);
  transform: rotate(180deg);
}

/* Bottom banner under calc grid */
.calc-footer-strip {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  justify-content: center;
}

.calc-tos-pill-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--bg-summary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(45, 40, 35, 0.03);
}

.calc-tos-pill-banner:hover {
  background: var(--bg-card);
  border-color: var(--text-main);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45, 40, 35, 0.08);
}

.calc-tos-pill-banner .pill-mascot {
  font-size: 1.05rem;
  letter-spacing: -0.05em;
  display: inline-block;
  transition: transform 0.2s ease;
}

.calc-tos-pill-banner:hover .pill-mascot {
  transform: scale(1.2) rotate(6deg);
}

.calc-tos-pill-banner strong {
  color: var(--text-main);
}

.calc-tos-pill-banner .pill-link-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  background: #24211e;
  color: #fbf8f3;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.calc-tos-pill-banner:hover .pill-link-label {
  background: #3e3833;
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .calc-tos-pill-banner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 12px 18px;
  }
}

/* ==========================================================================
   TOS Section (Carrd Minimalist Aesthetic)
   ========================================================================== */
.terms {
  padding: 80px 0;
  position: relative;
}

.tos-container {
  max-width: 820px;
  margin: 0 auto;
}

.tos-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
}

.tos-main-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.tos-divider {
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.35em;
  text-align: center;
  margin-bottom: 36px;
  user-select: none;
}

.tos-block {
  margin-bottom: 34px;
  text-align: left;
  padding-bottom: 26px;
  border-bottom: 1px dashed var(--border-subtle);
}

.tos-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.tos-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.tos-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tos-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tos-bullet {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
  user-select: none;
}

.tos-num-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tos-num-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tos-num-list li>span:first-child {
  font-weight: 600;
  color: var(--text-main);
  min-width: 20px;
  flex-shrink: 0;
}

.tos-subgroup {
  margin-bottom: 18px;
}

.tos-subtitle {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.tos-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tos-notice-box {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-summary);
  border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tos-do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tos-subgroup-card {
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

@media (max-width: 680px) {
  .tos-do-dont-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* TOS Tabs Switcher */
.tos-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.tos-tabs-nav {
  display: inline-flex;
  background: var(--bg-deep);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 6px;
  box-shadow: 0 2px 8px rgba(45, 40, 35, 0.04);
}

.tos-tab-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tos-tab-btn:hover {
  color: var(--text-main);
  background: rgba(43, 39, 36, 0.03);
}

.tos-tab-btn.active {
  background: #24211e;
  color: #fbf8f3;
  box-shadow: 0 4px 14px rgba(36, 33, 30, 0.16);
  transform: translateY(-1px);
}

.tos-tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tos-tab-pane.active {
  display: block;
  opacity: 1;
  animation: tosFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tosFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Contacts & Order Section
   ========================================================================== */
.contact {
  padding: 90px 0;
  position: relative;
}

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.social-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  color: var(--text-main);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-glass);
  box-shadow: 0 8px 25px rgba(255, 117, 180, 0.12);
}

.social-left {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.social-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.social-card:hover .social-icon-box {
  transform: scale(1.08);
  border-color: currentColor;
}

.social-icon-box svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-title {
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.social-handle {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.copy-badge-btn {
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-badge-btn:hover {
  background: var(--primary-pink);
  border-color: var(--primary-pink);
  color: #fff;
}

/* Contact Order Form */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.contact-form-box h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-form-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.84rem;
}

.footer-credit {
  margin-top: -2px;
}

.footer-credit-link {
  color: var(--text-dim);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  text-decoration: none;
  opacity: 0.42;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer-credit-link:hover {
  opacity: 0.9;
  color: var(--text-main);
}

.footer-credit-link .credit-dot {
  opacity: 0.5;
}

/* ==========================================================================
   Lightbox / Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-modal);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-card {
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  background: var(--bg-modal-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--primary-pink);
}

.lightbox-img-box {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.lightbox-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-pink);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.lightbox-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.lightbox-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.lightbox-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-badge-wrap,
  .hero-tags,
  .hero-cta,
  .hero-stats {
    justify-content: center;
  }

  .avatar-card-glow {
    max-width: 320px;
    margin: 0 auto;
  }

  .calc-grid,
  .rules-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-card {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-img-box {
    max-height: 320px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .header {
    padding: 10px 0;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav-active .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 62px;
    left: 14px;
    right: 14px;
    width: auto;
    background: var(--bg-glass-nav);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    gap: 10px;
    z-index: 999;
  }

  .mobile-nav-active .nav-link {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .calc-wrapper {
    padding: 20px 16px;
  }

  .tos-card {
    padding: 32px 20px;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 14px;
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-desc {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 14px;
    justify-content: space-around;
    width: 100%;
    padding-top: 16px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.76rem;
  }

  .avatar-card-glow {
    max-width: 250px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .gallery-filters {
    gap: 6px;
    margin-bottom: 24px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .art-info {
    padding: 14px 14px;
  }

  .art-title {
    font-size: 1.02rem;
  }

  .load-more-art-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .comparison-section-box {
    padding: 20px 14px;
    margin-bottom: 32px;
  }

  .comparison-title {
    font-size: 1.3rem;
  }

  .comparison-subtitle {
    font-size: 0.82rem;
  }

  .comparison-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .divider-button {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .comparison-chip {
    font-size: 0.7rem;
    padding: 4px 10px;
    bottom: 10px;
  }

  .chip-left {
    left: 10px;
  }

  .chip-right {
    right: 10px;
  }

  .price-sheet-card {
    padding: 18px 12px;
  }

  .price-sheet-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .calc-cat-tabs {
    gap: 4px;
  }

  .calc-cat-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .calc-size-wrap {
    flex-wrap: wrap;
    gap: 8px;
  }

  .calc-wrapper {
    padding: 16px 12px;
  }

  .calc-title-box h3 {
    font-size: 1.25rem;
  }

  .calc-radio-grid {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 6px;
  }

  .calc-radio-label {
    padding: 8px 6px;
  }

  .radio-name {
    font-size: 0.78rem;
  }

  .radio-price {
    font-size: 0.72rem;
  }

  .calc-check-item {
    padding: 8px 10px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .addon-name {
    font-size: 0.82rem;
  }

  .calc-summary {
    padding: 18px 14px;
  }

  .total-number {
    font-size: 2.1rem;
  }

  .summary-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .calc-tos-cute-tag {
    font-size: 0.74rem;
    padding: 7px 10px;
  }

  .tos-card {
    padding: 22px 14px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .tos-tabs-wrapper {
    margin-bottom: 18px;
    width: 100%;
  }

  .tos-tabs-nav {
    width: 100%;
    display: flex;
    padding: 4px;
    gap: 4px;
  }

  .tos-tab-btn {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
    font-size: 0.78rem;
    justify-content: center;
    text-align: center;
  }

  .tos-main-title {
    font-size: 1.45rem;
    word-break: break-word;
  }

  .tos-divider {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .tos-block {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .tos-section-title {
    font-size: 1.15rem;
  }

  .tos-steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tos-step-card {
    padding: 16px 14px;
  }

  .tos-step-title {
    font-size: 0.95rem;
  }

  .tos-step-desc {
    font-size: 0.84rem;
  }

  .tos-do-dont-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tos-subgroup-card {
    padding: 16px 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .social-card {
    padding: 14px 12px;
  }

  .social-left {
    gap: 10px;
  }

  .social-icon-box {
    width: 38px;
    height: 38px;
  }

  .social-title {
    font-size: 0.88rem;
  }

  .social-handle {
    font-size: 0.76rem;
    word-break: break-all;
  }

  .copy-badge-btn {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .lightbox-modal {
    padding: 8px;
  }

  .lightbox-card {
    max-height: 90vh;
    border-radius: 14px;
    width: 100%;
  }

  .lightbox-img-box {
    max-height: 240px;
    min-height: 180px;
  }

  .lightbox-info {
    padding: 16px 14px;
  }

  .lightbox-title {
    font-size: 1.25rem;
  }

  .lightbox-close-btn {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .toast {
    width: calc(100% - 24px);
    max-width: 340px;
    bottom: 12px;
    font-size: 0.82rem;
    padding: 9px 14px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .tag-pill {
    padding: 3px 8px;
    font-size: 0.72rem;
  }

  .filter-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .price-sheet-card {
    padding: 14px 8px;
  }

  .price-sheet-table th {
    padding: 6px 6px;
    font-size: 0.88rem;
  }

  .price-sheet-table td {
    padding: 7px 6px;
    font-size: 0.82rem;
  }

  .calc-wrapper {
    padding: 12px 8px;
  }

  .calc-radio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .total-number {
    font-size: 1.85rem;
  }

  .tos-card {
    padding: 16px 10px;
  }

  .tos-tab-btn {
    font-size: 0.72rem;
    padding: 6px 4px;
  }

  .tos-main-title {
    font-size: 1.25rem;
  }

  .social-card {
    padding: 12px 8px;
  }

  .social-icon-box {
    width: 34px;
    height: 34px;
  }
}

/* ==========================================================================
   Currency Selector Bar
   ========================================================================== */
.currency-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.currency-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.currency-tabs {
  display: flex;
  background: var(--bg-element-subtle);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: var(--radius-full);
  gap: 4px;
}

.curr-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.curr-btn:hover {
  color: var(--text-main);
}

.curr-btn.active {
  background: var(--primary-pink);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-pink-glow);
}

/* ==========================================================================
   Before / After Comparison Slider
   ========================================================================== */
.comparison-section-box {
  margin-bottom: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.comparison-header {
  text-align: center;
  margin-bottom: 24px;
}

.comparison-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.comparison-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.comparison-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.comparison-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.layer-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, var(--slider-pct, 50%) 0, var(--slider-pct, 50%) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--slider-pct, 50%) 0, var(--slider-pct, 50%) 100%, 0 100%);
  z-index: 2;
  overflow: hidden;
}

.layer-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.divider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #1f1b29;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  font-size: 0.95rem;
  font-weight: bold;
}

.comparison-chip {
  position: absolute;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(12, 10, 20, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 5;
}

.chip-left {
  left: 14px;
}

.chip-right {
  right: 14px;
}

/* ==========================================================================
   SPA View Transitions (Smooth Seamless Switching between Main & TOS)
   ========================================================================== */
.spa-view {
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.spa-view.spa-hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(8px);
}

.spa-view.spa-active {
  display: block !important;
  animation: spaFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spaFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}