/* ============================================
   REFLECT STUDIO — Certificate Store
   Dark luxury aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Raleway:wght@200;300;400;500;600&display=swap');

:root {
  --bg-primary: #111111;
  --bg-secondary: #1a1a1a;
  --bg-card: #222222;
  --bg-card-hover: #2a2a2a;
  --bg-input: #1e1e1e;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-gold: #c9a84c;
  --accent-gold-light: #d4b85a;
  --accent-gold-dim: rgba(201, 168, 76, 0.15);
  --border-color: #333333;
  --border-light: #444444;
  --success: #4caf50;
  --error: #e74c3c;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ============================================
   HEADER
   ============================================ */

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-logo {
  height: 44px;
  filter: brightness(1.1);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  text-align: center;
  padding: 60px 20px 24px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================
   PHOTO GALLERY CAROUSEL
   ============================================ */

.gallery-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  margin: 0;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-carousel:active {
  cursor: grabbing;
}

/* Fade edges */
.gallery-carousel::before,
.gallery-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.gallery-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.gallery-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.gallery-track {
  display: flex;
  gap: 6px;
  animation: galleryScroll 60s linear infinite;
  width: max-content;
  will-change: transform;
}

.gallery-carousel:hover .gallery-track,
.gallery-carousel.is-dragging .gallery-track {
  animation-play-state: paused;
}

.gallery-img {
  height: 280px;
  width: auto;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  flex-shrink: 0;
  transition: filter 0.4s ease, transform 0.4s ease;
  filter: brightness(0.85);
}

.gallery-img:hover {
  filter: brightness(1);
  transform: scale(1.02);
}

@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .gallery-img {
    height: 220px;
  }
  .gallery-carousel::before,
  .gallery-carousel::after {
    width: 40px;
  }
  .gallery-track {
    gap: 5px;
    animation-duration: 45s;
  }
}

@media (max-width: 480px) {
  .gallery-carousel {
    padding: 6px 0;
  }
  .gallery-img {
    height: 180px;
  }
  .gallery-carousel::before,
  .gallery-carousel::after {
    width: 20px;
  }
  .gallery-track {
    gap: 4px;
    animation-duration: 35s;
  }
  .gallery-img:hover {
    transform: none;
    filter: brightness(0.85);
  }
}

@media (max-width: 360px) {
  .gallery-carousel {
    padding: 4px 0;
  }
  .gallery-img {
    height: 150px;
  }
  .gallery-carousel::before,
  .gallery-carousel::after {
    width: 12px;
  }
  .gallery-track {
    gap: 3px;
    animation-duration: 30s;
  }
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   STEP INDICATOR
   ============================================ */

.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 30px 20px;
  margin-bottom: 10px;
}

.step-dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-color);
  transition: var(--transition);
}

.step-dot.active {
  background: var(--accent-gold);
  width: 60px;
}

.step-dot.completed {
  background: var(--accent-gold-dim);
}

.step-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--accent-gold);
}

.step-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 36px;
  font-weight: 300;
}

/* ============================================
   SECTION
   ============================================ */

.section {
  padding: 20px 0 60px;
}

.section-hidden {
  display: none;
}

/* ============================================
   TYPE SELECTOR (Print/Electronic)
   ============================================ */

.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.type-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  overflow: hidden;
}

.type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.type-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.type-card.selected {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
}

.type-card.selected::before {
  background: var(--accent-gold);
}

.type-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.type-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.type-card-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5;
}

/* ============================================
   SHAPE SELECTOR (Heart/Diamond)
   ============================================ */

.shape-section {
  max-width: 700px;
  margin: 0 auto;
}

.shape-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.shape-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.shape-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.shape-card.selected {
  border-color: var(--accent-gold);
}

.shape-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.shape-card-label {
  text-align: center;
  padding: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
}

/* ============================================
   NOMINAL GRID
   ============================================ */

.nominal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.nominal-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.nominal-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.nominal-card.selected {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.nominal-card-visual {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #333 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.nominal-card-visual::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.nominal-card-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nominal-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.nominal-card-price span {
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.nominal-card-info {
  padding: 14px 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ============================================
   PRICING INFO
   ============================================ */

.pricing-info {
  max-width: 800px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--transition);
}

.pricing-block:hover {
  border-color: var(--border-light);
}

.pricing-block-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.pricing-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-hall-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.pricing-hall-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 2px;
}

.pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 36px;
}

.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-day {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 400;
  min-width: 80px;
}

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.pricing-price span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-section {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

/* ============================================
   DELIVERY TOGGLE
   ============================================ */

.delivery-options {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.delivery-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.delivery-option:hover {
  border-color: var(--border-light);
}

.delivery-option.selected {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
}

.delivery-option input[type="radio"] {
  display: none;
}

.delivery-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

.delivery-option.selected .delivery-radio {
  border-color: var(--accent-gold);
}

.delivery-option.selected .delivery-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.delivery-option-text {
  font-size: 0.95rem;
}

.delivery-option-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.delivery-fields {
  display: none;
  animation: fadeIn 0.3s ease;
}

.delivery-fields.visible {
  display: block;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent-gold);
  color: #111;
  width: 100%;
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  background: var(--bg-card);
}

.btn-back {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
  font-size: 0.85rem;
  border: none;
}

.btn-back:hover {
  color: var(--text-primary);
}

.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

/* ============================================
   SUMMARY
   ============================================ */

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.summary-value {
  font-weight: 500;
  text-align: right;
}

.summary-total {
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--accent-gold);
}

.summary-total .summary-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--accent-gold);
}

/* ============================================
   SUCCESS PAGE
   ============================================ */

.success-container {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

.success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.success-message {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.success-cert-number {
  display: inline-block;
  background: var(--accent-gold-dim);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer a {
  color: var(--accent-gold);
  text-decoration: none;
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(17, 17, 17, 0.3);
  border-top-color: #111;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease;
}

/* ============================================
   RESPONSIVE — CLIENT ONLY
   ============================================ */

/* ---------- TABLET (768px) ---------- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  /* Hero */
  .hero { padding: 36px 20px 18px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; letter-spacing: 0.1em; }

  /* Steps */
  .steps { padding: 20px 20px 6px; }
  .step-title { font-size: 1.5rem; }
  .step-subtitle { font-size: 0.85rem; margin-bottom: 24px; }

  /* Nominals */
  .nominal-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Type / Shape */
  .type-selector { grid-template-columns: 1fr; gap: 14px; }
  .shape-selector { grid-template-columns: 1fr; gap: 14px; }
  .type-card { padding: 22px; }
  .type-card-icon { font-size: 2rem; margin-bottom: 10px; }
  .type-card-title { font-size: 1.2rem; }
  .shape-card-img { height: 200px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .delivery-options { flex-direction: column; }
  .delivery-option { padding: 14px 16px; }

  /* Summary */
  .summary-card { padding: 24px 20px; }
  .summary-total .summary-value { font-size: 1.5rem; }

  /* Success */
  .success-container { padding: 50px 20px; }
  .success-title { font-size: 1.8rem; }
  .success-cert-number { font-size: 1.3rem; padding: 10px 20px; }
}

/* ---------- MOBILE (480px) ---------- */
@media (max-width: 480px) {
  /* Header */
  .header { padding: 14px 16px; }
  .header-logo { height: 36px; }

  /* Hero */
  .hero { padding: 28px 16px 14px; }
  .hero h1 { font-size: 1.65rem; line-height: 1.25; }
  .hero p { font-size: 0.8rem; letter-spacing: 0.08em; }

  /* Steps */
  .steps { padding: 16px 16px 4px; margin-bottom: 4px; }
  .step-title { font-size: 1.3rem; margin-bottom: 4px; }
  .step-subtitle { font-size: 0.8rem; margin-bottom: 20px; }

  /* Container */
  .container { padding: 0 12px; }
  .section { padding: 12px 0 40px; }

  /* Nominals */
  .nominal-grid { gap: 10px; }
  .nominal-card-visual { height: 110px; padding: 14px; }
  .nominal-card-price { font-size: 1.6rem; }
  .nominal-card-price span { font-size: 1.1rem; }
  .nominal-card-label { font-size: 0.68rem; }
  .nominal-card-info { padding: 10px 14px; font-size: 0.75rem; }

  /* Pricing */
  .pricing-info { margin-top: 24px; gap: 10px; }
  .pricing-block { padding: 16px 14px; }
  .pricing-block-header { gap: 10px; margin-bottom: 10px; }
  .pricing-icon { font-size: 1.1rem; }
  .pricing-hall-name { font-size: 1.05rem; }
  .pricing-hall-note { font-size: 0.72rem; }
  .pricing-rows { padding-left: 0; gap: 4px; }
  .pricing-row { gap: 8px; }
  .pricing-day { font-size: 0.78rem; min-width: 70px; }
  .pricing-price { font-size: 1.05rem; }
  .pricing-price span { font-size: 0.7rem; }

  /* Type / Shape */
  .type-card { padding: 18px 16px; }
  .type-card-icon { font-size: 1.8rem; margin-bottom: 8px; }
  .type-card-title { font-size: 1.1rem; margin-bottom: 4px; }
  .type-card-desc { font-size: 0.78rem; }
  .shape-card-img { height: 160px; }
  .shape-card-label { padding: 12px; font-size: 1.05rem; }

  /* Forms */
  .form-input { padding: 12px 14px; font-size: 0.9rem; }
  .form-label { font-size: 0.8rem; margin-bottom: 6px; }
  .form-group { margin-bottom: 16px; }
  .delivery-option { gap: 10px; padding: 12px 14px; }
  .delivery-option-text { font-size: 0.88rem; }
  .delivery-option-desc { font-size: 0.75rem; }
  .delivery-radio { width: 18px; height: 18px; }

  /* Buttons */
  .btn { padding: 14px 24px; font-size: 0.88rem; letter-spacing: 0.06em; }
  .btn-group { flex-direction: column-reverse; gap: 10px; margin-top: 24px; }
  .btn-group .btn { width: 100%; }
  .btn-back { padding: 12px 20px; text-align: center; width: 100%; }

  /* Summary */
  .summary-card { padding: 20px 16px; margin: 0 auto 24px; }
  .summary-row { padding: 10px 0; }
  .summary-label { font-size: 0.82rem; }
  .summary-value { font-size: 0.85rem; }
  .summary-total .summary-value { font-size: 1.4rem; }

  /* Success */
  .success-container { padding: 40px 16px; }
  .success-icon { font-size: 3rem; margin-bottom: 16px; }
  .success-title { font-size: 1.5rem; margin-bottom: 12px; }
  .success-message { font-size: 0.9rem; margin-bottom: 24px; }
  .success-cert-number { font-size: 1.2rem; padding: 10px 18px; letter-spacing: 0.15em; }

  /* Footer */
  .footer { padding: 24px 16px; font-size: 0.75rem; }
}

/* ---------- SMALL MOBILE (360px) ---------- */
@media (max-width: 360px) {
  /* Hero */
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 0.72rem; }

  /* Nominals — tighter */
  .nominal-grid { gap: 8px; }
  .nominal-card-visual { height: 95px; padding: 10px; }
  .nominal-card-price { font-size: 1.35rem; }
  .nominal-card-price span { font-size: 0.95rem; }
  .nominal-card-label { font-size: 0.6rem; }
  .nominal-card-info { padding: 8px 10px; font-size: 0.7rem; }

  /* Pricing */
  .pricing-info { margin-top: 18px; gap: 8px; }
  .pricing-block { padding: 14px 12px; }
  .pricing-block-header { gap: 8px; margin-bottom: 8px; }
  .pricing-hall-name { font-size: 0.95rem; }
  .pricing-hall-note { font-size: 0.68rem; }
  .pricing-day { font-size: 0.74rem; min-width: 64px; }
  .pricing-price { font-size: 0.95rem; }

  /* Type / Shape */
  .type-card { padding: 14px 12px; }
  .type-card-icon { font-size: 1.5rem; margin-bottom: 6px; }
  .type-card-title { font-size: 1rem; }
  .type-card-desc { font-size: 0.72rem; }
  .shape-card-img { height: 130px; }
  .shape-card-label { padding: 10px; font-size: 0.95rem; }

  /* Forms */
  .form-input { padding: 11px 12px; font-size: 0.85rem; }
  .delivery-option { padding: 10px 12px; }

  /* Buttons */
  .btn { padding: 13px 20px; font-size: 0.82rem; }

  /* Summary */
  .summary-card { padding: 16px 12px; }
  .summary-label { font-size: 0.78rem; }
  .summary-value { font-size: 0.8rem; }
  .summary-total .summary-value { font-size: 1.25rem; }

  /* Success */
  .success-title { font-size: 1.3rem; }
  .success-cert-number { font-size: 1.05rem; padding: 8px 14px; }
}

/* ============================================
   ADMIN STYLES
   ============================================ */

.admin-login {
  max-width: 400px;
  margin: 100px auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.admin-login h2 {
  text-align: center;
  margin-bottom: 30px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.admin-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.admin-logout {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  transition: var(--transition);
}

.admin-logout:hover {
  border-color: var(--error);
  color: var(--error);
}

.admin-content {
  padding: 30px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.admin-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  background: var(--bg-card);
  padding: 12px 14px;
  text-align: left;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.admin-table tr:hover td {
  background: var(--bg-card);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-print {
  background: rgba(100, 149, 237, 0.15);
  color: #6495ed;
}

.badge-electronic {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.badge-activated {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.badge-not-activated {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.badge-delivery {
  background: rgba(156, 39, 176, 0.15);
  color: #ce93d8;
}

.badge-pickup {
  background: rgba(255, 152, 0, 0.15);
  color: #ffb74d;
}

.activate-btn {
  background: var(--accent-gold);
  color: #111;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: 'Raleway', sans-serif;
  transition: var(--transition);
}

.activate-btn:hover {
  background: var(--accent-gold-light);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 450px;
  width: 90%;
}

.modal h3 {
  margin-bottom: 20px;
}

.modal .btn-group {
  justify-content: flex-end;
}

.badge-expired {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}

/* Recipient section radio options (reuses delivery-option styles) */
#recipientSection .delivery-options {
  margin-bottom: 16px;
}

#recipientFields {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-content { padding: 16px; }
}

/* ==================== CONSENT CHECKBOX ==================== */

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.consent-label a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.consent-label a:hover {
  color: #e0be6a;
}

.btn-disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* ==================== DELIVERY INFO BOX ==================== */

.delivery-info-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius);
  padding: 20px;
}

.delivery-info-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.delivery-info-title {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.delivery-info-price {
  font-size: 0.9rem;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.delivery-info-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ==================== PICKUP FIELDS ==================== */

.pickup-fields {
  display: none;
  animation: fadeIn 0.3s ease;
}

.pickup-fields.visible {
  display: block;
}
