:root {
  color-scheme: light;
  --bg: #faf7f5;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.95);
  --text-primary: #3d3d3d;
  --text-muted: #6b6b6b;
  --accent: #d4a574;
  --accent-dark: #c2955f;
  --accent-light: #e8d4b8;
  --border: rgba(212, 165, 116, 0.15);
  --shadow: 0 24px 60px rgba(212, 165, 116, 0.08);
  --pearl: #f0e6d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  opacity: 0;
  transition: opacity 0.45s ease;
}

body.page-ready {
  opacity: 1;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 243, 238, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-color: rgba(43, 43, 43, 0.1);
  box-shadow: 0 14px 32px rgba(43, 43, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.admin-link:hover {
  color: var(--accent);
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(43, 43, 43, 0.12);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.button-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.button-secondary {
  background: rgba(43, 43, 43, 0.08);
  color: var(--text-primary);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slider img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.2), rgba(15, 15, 15, 0.5));
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background: white;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-item {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.float-item:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  width: 15px;
  height: 15px;
}

.float-item:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  width: 25px;
  height: 25px;
}

.float-item:nth-child(3) {
  top: 40%;
  left: 60%;
  animation-delay: 4s;
  width: 18px;
  height: 18px;
}

.float-item:nth-child(4) {
  top: 80%;
  left: 20%;
  animation-delay: 1s;
  width: 22px;
  height: 22px;
}

.float-item:nth-child(5) {
  top: 30%;
  left: 90%;
  animation-delay: 3s;
  width: 16px;
  height: 16px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

.hero-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 3rem 2rem;
  box-shadow: 0 40px 100px rgba(212, 165, 116, 0.18), inset 0 0 0 2px var(--accent-light);
  border: 3px solid var(--accent-light);
  opacity: 0;
  transform: translateY(24px);
  animation: heroIntro 1s ease forwards 0.5s, glow 4s ease-in-out infinite 1.5s;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 40px 100px rgba(212, 165, 116, 0.18), inset 0 0 0 2px var(--accent-light); }
  50% { box-shadow: 0 40px 120px rgba(212, 165, 116, 0.28), inset 0 0 0 2px var(--accent); }
}

.hero-content {
  color: var(--text-primary);
  text-align: center;
  opacity: 1;
  transform: none;
  animation: none;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 640px;
  margin: 1.5rem auto 2.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-actions {
  display: grid;
  gap: 1rem;
  justify-content: center;
}

.button-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.22);
  animation: pulse 2.8s ease-in-out infinite;
  opacity: 0;
}

@keyframes pulse {
  0% { transform: scale(0.96); opacity: 0.3; }
  50% { transform: scale(1.04); opacity: 0.08; }
  100% { transform: scale(0.96); opacity: 0.3; }
}

.section {
  padding: 4rem 0;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.section-label {
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.product-grid,
.gallery-grid,
.process-grid,
.values-grid,
.review-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card,
.process-card,
.value-card,
.review-card,
.order-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.process-card:hover,
.value-card:hover,
.review-card:hover,
.order-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 72px rgba(43, 43, 43, 0.12);
}

.product-card {
  overflow: hidden;
  position: relative;
  border: 8px solid var(--pearl);
  box-shadow: inset 0 0 0 2px var(--accent), 
              0 0 0 4px var(--pearl),
              0 8px 24px rgba(212, 165, 116, 0.15);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
  filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-copy {
  padding: 1.7rem 1.6rem 0.8rem;
}

.product-copy h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.product-copy p {
  margin: 0;
  color: var(--text-muted);
}

.button-card {
  width: 100%;
  border-top: 1px solid var(--border);
  border-radius: 0 0 28px 28px;
  background: rgba(43, 43, 43, 0.92);
  color: #fff;
  text-align: center;
}

.button-card:hover,
.button-card:focus-visible {
  background: #1e1e1e;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 48px rgba(43, 43, 43, 0.12);
}

.process-grid {
  grid-template-columns: 1fr;
}

.process-card,
.value-card {
  padding: 2rem;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.06);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.process-card h3,
.value-card h3 {
  margin: 0 0 0.75rem;
}

.process-card p,
.value-card p,
.review-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.values-grid {
  grid-template-columns: 1fr;
}

.value-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.value-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(43, 43, 43, 0.06);
  font-size: 1.4rem;
}

.review-grid {
  grid-template-columns: 1fr;
}

.review-card {
  padding: 1.9rem;
}

.review-card p {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.stars {
  color: #d8a15a;
  font-size: 1.1rem;
}

.order-panel {
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
}

.order-copy p {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.order-form {
  display: grid;
  gap: 1.05rem;
}

.order-section .order-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.preview-intro {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.product-preview {
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: 280px;
  position: relative;
}

.product-preview canvas {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  border: 1px solid rgba(43, 43, 43, 0.08);
  background: #f8f2e9;
  cursor: grab;
}

#order-summary {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1rem 0.85rem;
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.order-summary-item strong {
  color: var(--text-primary);
}

.file-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.uploaded-photo-preview {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 165, 116, 0.2);
  background: rgba(255, 250, 244, 0.95);
}

.image-preview-wrapper {
  position: relative;
  display: inline-block;
}

.image-overlay-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border-radius: 14px;
  opacity: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}

.image-preview-wrapper:hover .image-overlay-hint {
  opacity: 1;
  background: rgba(0, 0, 0, 0.35);
  color: white;
}

.uploaded-photo-preview img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--accent);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uploaded-photo-preview img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(212, 165, 116, 0.25);
}

.uploaded-photo-preview span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.uploaded-image-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  place-items: center;
  z-index: 100;
  padding: 1rem;
}

.uploaded-image-modal-overlay.show {
  display: grid;
}

.uploaded-image-modal-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.uploaded-image-modal-card img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 101;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: white;
}

.modal-image-filename {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.order-form label {
  display: grid;
  gap: 0.75rem;
  font-weight: 500;
}

.order-form input,
.order-form select {
  width: 100%;
  padding: 1rem 1rem;
  border: 1px solid rgba(43, 43, 43, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
}

.order-form input:focus,
.order-form select:focus {
  outline: 2px solid rgba(43, 43, 43, 0.16);
}

.order-customizer {
  display: grid;
  gap: 2rem;
}

.customizer-preview {
  order: -1;
}

.preview-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.product-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  margin-bottom: 1rem;
}

.preview-image-frame,
.preview-keychain,
.preview-frame,
.preview-plate,
.preview-bookmark,
.preview-board,
.preview-generic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.preview-image-frame {
  max-width: 320px;
  border: 4px solid;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  flex-direction: column;
}

.preview-product-image {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.preview-details {
  padding: 1rem 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  text-align: center;
}

.preview-badge-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #222;
}

.preview-text {
  color: #4a4a4a;
  font-size: 0.95rem;
  min-height: 2.2rem;
}

.preview-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.preview-badge {
  background: rgba(43, 43, 43, 0.08);
  color: #333;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.preview-keychain {
  position: relative;
  width: 120px;
  height: 80px;
}

.keychain-body {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.keychain-ring {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #C0C0C0;
  border: 2px solid #999;
}

.preview-title {
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
  color: var(--text-primary);
}

.preview-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.checkbox-group {
  display: grid;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.preview-generic,
.preview-frame,
.preview-plate,
.preview-bookmark,
.preview-board,
.preview-keychain {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.generic-product,
.preview-frame .frame-body,
.preview-bookmark .bookmark-card,
.preview-board .board-surface,
.preview-plate .plate-surface,
.preview-keychain .keychain-body {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.preview-frame .frame-body {
  width: 220px;
  border: 4px solid;
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.frame-photo {
  min-height: 120px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  color: #333;
  font-weight: 700;
  border-radius: 14px;
}

.frame-label {
  font-size: 0.95rem;
  text-align: center;
  color: #222;
}

.preview-plate .plate-surface {
  width: 200px;
  height: 200px;
  border: 5px solid;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.plate-text {
  font-weight: 700;
  color: #222;
  max-width: 110px;
}

.plate-deco {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.plate-deco-1 {
  top: 14px;
  left: 24px;
}

.plate-deco-2 {
  bottom: 18px;
  right: 24px;
}

.preview-bookmark .bookmark-card {
  width: 100px;
  height: 220px;
  border: 4px solid;
  border-radius: 18px;
  padding: 1rem;
  position: relative;
  display: grid;
  align-items: flex-start;
  row-gap: 0.8rem;
}

.bookmark-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.9rem;
  color: #222;
  font-weight: 700;
}

.bookmark-photo {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 1.2rem;
}

.preview-board .board-surface {
  width: 220px;
  height: 140px;
  border: 4px solid;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.board-text {
  font-weight: 700;
  color: #222;
}

.preview-generic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.generic-product {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.generic-text {
  text-align: center;
  word-break: break-word;
  max-width: 100px;
}

.pearl-effect,
.glitter-effect,
.photo-effect {
  position: absolute;
  font-size: 16px;
  opacity: 0.7;
}

.pearl-effect {
  top: 8px;
  right: 8px;
}

.glitter-effect {
  bottom: 8px;
  left: 8px;
}

.photo-effect {
  top: 8px;
  left: 8px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(10, 10, 10, 0.78);
  padding: 1.5rem;
  z-index: 30;
}

.popup-card {
  position: relative;
  width: min(920px, 100%);
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.popup-card img {
  width: 100%;
  display: block;
  max-height: 85vh;
  object-fit: cover;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3.2rem;
  height: 3.2rem;
  border: none;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.9);
  color: #fff;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 25;
  box-shadow: 0 16px 40px rgba(43, 43, 43, 0.18);
}

.back-to-top.show {
  display: grid;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-card {
    padding: 4rem 3rem;
  }

  .hero-actions {
    grid-auto-flow: column;
    justify-content: center;
  }

  .product-grid,
  .gallery-grid,
  .review-grid,
  .process-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .section {
    padding: 5.5rem 0;
  }

  .product-grid,
  .gallery-grid,
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid,
  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-card {
    max-width: 760px;
  }

  .order-panel {
    grid-template-columns: 1fr;
  }

  .order-customizer {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .customizer-preview {
    order: 1;
  }
}
