/* =============================================
   STRAPZY'S — CUSTOMISE PAGE
   Immersive step-by-step order form
   ============================================= */

.customise-page {
  background: var(--black);
  overflow-x: hidden;
}

/* ── AMBIENT BACKGROUND ── */

/* Grain texture overlay */
.customise-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Ambient glow blobs */
.cz-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cz-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  animation: czGlowBreath 8s ease-in-out infinite;
}

.cz-glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,255,26,0.18) 0%, transparent 70%);
  top: -100px;
  left: -150px;
  animation-delay: 0s;
  animation-duration: 10s;
}

.cz-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,255,26,0.12) 0%, transparent 70%);
  top: 40%;
  right: -120px;
  animation-delay: 3s;
  animation-duration: 12s;
}

.cz-glow--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,255,26,0.1) 0%, transparent 70%);
  bottom: 15%;
  left: 20%;
  animation-delay: 6s;
  animation-duration: 9s;
}

@keyframes czGlowBreath {
  0%   { opacity: 0;    transform: scale(0.95) translateY(0px); }
  40%  { opacity: 1;    transform: scale(1.05) translateY(-20px); }
  70%  { opacity: 0.7;  transform: scale(1.0)  translateY(-10px); }
  100% { opacity: 0;    transform: scale(0.95) translateY(0px); }
}

/* Make sure all content sits above the background */
.order-hero,
.order-form-wrap,
.footer {
  position: relative;
  z-index: 1;
}

/* ── STEP NUMBER GLOW (activated on scroll) ── */
.step-num {
  transition: color 0.6s ease, text-shadow 0.6s ease;
}

.order-step.step--active .step-num {
  color: var(--accent);
  text-shadow: none;
}

/* Left accent line on active step */
.order-step {
  position: relative;
}

.order-step::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212,255,26,0.4), transparent);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-step.step--active::before {
  opacity: 1;
  transform: scaleY(1);
}

/* ── SIZE CARD ENHANCED STATES ── */

/* Pulse ring on selection */
.size-card.selected::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  border: 1px solid rgba(212, 255, 26, 0.5);
  animation: scPulseRing 1.2s cubic-bezier(0, 0, 0.2, 1) forwards;
  pointer-events: none;
}

.size-card {
  position: relative;
  overflow: visible;
}

@keyframes scPulseRing {
  0%   { transform: scale(1);    opacity: 1; }
  100% { transform: scale(1.04); opacity: 0; }
}

/* ── INPUT FOCUS AURA ── */
.order-input:focus,
.order-select:focus {
  box-shadow:
    0 0 0 2px rgba(212, 255, 26, 0.2),
    0 0 20px rgba(212, 255, 26, 0.08),
    0 0 40px rgba(212, 255, 26, 0.04);
}

/* ── SUBMIT BUTTON GLOW (idle pulse) ── */
.btn-add-to-cart {
  position: relative;
}

.btn-add-to-cart::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 8px;
  background: radial-gradient(ellipse, rgba(212,255,26,0.3) 0%, transparent 70%);
  filter: blur(12px);
  opacity: 0;
  animation: cartGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes cartGlow {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

/* ── HERO ── */

.order-hero {
  padding: 160px 48px 100px;
  border-bottom: 1px solid var(--grey-200);
}

.order-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.order-hero-inner .section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.order-hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 150px);
  line-height: 0.88;
  color: var(--white);
  margin: 0 0 32px;
}

.order-hero-desc {
  font-size: 18px;
  color: var(--grey-500);
  font-weight: 400;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 0 40px;
}

.order-hero-price {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.ohp-amount {
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--accent);
  line-height: 1;
}

.ohp-note {
  font-size: 14px;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ── FORM WRAPPER ── */

.order-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px 120px;
}

/* ── STEP SECTIONS ── */

.order-step {
  border-bottom: 1px solid var(--grey-200);
  padding: 88px 0;
}

.step-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.82;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  user-select: none;
  margin-top: -6px;
}

.step-head-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  color: var(--white);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.03em;
}

.step-desc {
  font-size: 15px;
  color: var(--grey-500);
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}

/* ── SIZE CARDS ── */

.size-guide-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(212,255,26,0.05);
  border: 1px solid rgba(212,255,26,0.18);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 300;
  color: var(--grey-400);
  line-height: 1.7;
}

.sgn-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.size-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.size-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--grey-100);
  border: 1.5px solid var(--grey-200);
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  width: 100%;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.size-card:hover {
  border-color: rgba(212, 255, 26, 0.5);
  background: var(--grey-100);
  transform: translateY(-2px);
}

.size-card.selected {
  border-color: var(--accent);
  background: rgba(212, 255, 26, 0.06);
}

/* pad silhouette */
.sc-left {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  width: 36px;
  height: 88px;
}

.sc-pad {
  width: 24px;
  border-radius: 12px 12px 6px 6px;
  background: var(--grey-300);
  transition: background 0.25s;
}

.size-card.selected .sc-pad,
.size-card:hover .sc-pad { background: var(--accent); }

.sc-pad--s { height: 54px; }
.sc-pad--m { height: 70px; }
.sc-pad--l { height: 88px; }

/* text */
.sc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sc-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.sc-dims {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sc-rec {
  font-size: 13px;
  color: var(--grey-500);
}

/* check ring */
.sc-check {
  flex-shrink: 0;
}

.sc-check-ring {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--grey-300);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.size-card.selected .sc-check-ring {
  border-color: var(--accent);
  background: var(--accent);
}

.size-card.selected .sc-check-ring::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ── INPUTS ── */

.order-input {
  width: 100%;
  background: var(--grey-100);
  border: 1.5px solid var(--grey-200);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  padding: 22px 26px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  box-sizing: border-box;
  line-height: 1.4;
}

.order-input:focus {
  border-color: var(--accent);
  background: rgba(212, 255, 26, 0.03);
}

.order-input::placeholder {
  color: var(--grey-400);
}

.order-input--narrow {
  max-width: 260px;
}

.order-textarea {
  width: 100%;
  min-height: 200px;
  background: var(--grey-100);
  border: 1.5px solid var(--grey-200);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  padding: 22px 26px;
  outline: none;
  resize: vertical;
  transition: border-color 0.25s, background 0.25s;
  box-sizing: border-box;
  line-height: 1.75;
}

.order-textarea:focus {
  border-color: var(--accent);
  background: rgba(212, 255, 26, 0.03);
}

.order-textarea::placeholder {
  color: var(--grey-400);
}

.step-footnote {
  font-size: 13px;
  color: var(--grey-500);
  margin: -20px 0 0;
  line-height: 1.65;
}

/* ── DROP ZONES ── */

.drop-zone {
  display: block;
  border: 1.5px dashed var(--grey-300);
  border-radius: 4px;
  background: var(--grey-100);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  overflow: hidden;
}

.drop-zone:hover {
  border-color: var(--accent);
  background: rgba(212, 255, 26, 0.03);
}

.drop-zone.dragover {
  border-color: var(--accent);
  background: rgba(212, 255, 26, 0.07);
}

.drop-zone input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.dz-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  gap: 10px;
  text-align: center;
}

.dz-icon {
  font-size: 36px;
  color: var(--grey-400);
  line-height: 1;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.drop-zone:hover .dz-icon,
.drop-zone.dragover .dz-icon { color: var(--accent); }

.dz-primary {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

.dz-secondary {
  font-size: 14px;
  color: var(--grey-500);
  margin: 0;
}

.dz-browse {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dz-types {
  font-size: 12px;
  color: var(--grey-400);
  margin: 6px 0 0;
  letter-spacing: 0.06em;
}

.dz-file-list {
  display: flex;
  flex-direction: column;
}

.dz-file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-top: 1px solid var(--grey-200);
  font-size: 14px;
  color: var(--grey-500);
}

.dz-file-icon {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.dz-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--white);
  font-size: 15px;
}

.dz-file-size {
  color: var(--grey-500);
  font-size: 13px;
  flex-shrink: 0;
}

.dz-file-remove {
  background: none;
  border: none;
  color: #444;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 0 0 4px;
  flex-shrink: 0;
  transition: color 0.2s;
}
.dz-file-remove:hover { color: var(--white); }

/* ── SUBMIT / CART ── */

.order-submit {
  padding: 88px 0 0;
}

.submit-price {
  border: 1px solid var(--grey-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 44px;
}

.sp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  font-size: 15px;
  color: var(--grey-500);
  border-bottom: 1px solid var(--grey-200);
}

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

.sp-total {
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
  background: rgba(212, 255, 26, 0.04);
  padding: 24px 28px;
}

.sp-total span:last-child {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--accent);
}

.submit-email-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.submit-email-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* Add to Cart button — matches site .btn-cta style */
.btn-add-to-cart {
  width: 100%;
  padding: 24px;
  background: var(--accent);
  border: none;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

.btn-add-to-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(212, 255, 26, 0.35);
}

.btn-add-to-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-disclaimer {
  font-size: 13px;
  color: var(--grey-500);
  text-align: center;
  line-height: 1.75;
  margin: 0 0 36px;
}

.submit-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 36px;
  border-top: 1px solid var(--grey-200);
}

.submit-trust span {
  font-size: 13px;
  color: var(--grey-500);
  line-height: 1.6;
}

/* ── SUCCESS ── */

.order-success {
  padding: 120px 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.os-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.os-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(212, 255, 26, 0.08);
  color: var(--accent);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.os-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  color: var(--white);
  line-height: 0.92;
  margin: 0;
  letter-spacing: 0.02em;
}

.os-text {
  font-size: 16px;
  color: var(--grey-500);
  line-height: 1.8;
  max-width: 460px;
  margin: 0;
}

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .order-hero {
    padding: 120px 24px 72px;
  }

  .order-form-wrap {
    padding: 0 24px 80px;
  }

  .order-step {
    padding: 60px 0;
  }

  .step-num {
    font-size: 60px;
  }

  .step-title {
    font-size: 36px;
  }

  .order-input {
    font-size: 18px;
    padding: 20px 22px;
  }

  .order-input--narrow {
    max-width: 100%;
  }

  .order-textarea {
    font-size: 16px;
    padding: 20px 22px;
  }

  .dz-content {
    padding: 48px 24px;
  }

  .size-card {
    padding: 22px 22px;
  }

  .sc-name {
    font-size: 26px;
  }

  .submit-trust {
    grid-template-columns: 1fr;
  }

  .sp-total span:last-child {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .order-hero-title {
    font-size: 72px;
  }

  .step-header {
    gap: 16px;
  }

  .step-num {
    font-size: 48px;
  }

  .sc-left {
    display: none;
  }
}

/* =============================================
   INSPIRATION GALLERY
   ============================================= */

.cz-inspiration {
  position: relative;
  z-index: 1;
  padding: 72px 0 72px;
  border-bottom: 1px solid var(--grey-200);
}

.cz-inspo-header {
  padding: 0 80px 32px;
  max-width: 600px;
}

.cz-inspo-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.9;
  color: var(--white);
  margin: 10px 0 16px;
}

.cz-inspo-sub {
  font-size: 15px;
  color: var(--grey-400);
  line-height: 1.6;
}

/* ── GRID ── */
.cz-inspo-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 80px;
}

.cz-inspo-row {
  display: flex;
  gap: 4px;
}

.cz-inspo-item {
  flex: 1;
  height: 170px;
  overflow: hidden;
  border-radius: 3px;
}

.cz-inspo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.82);
}

.cz-inspo-item:hover img {
  transform: scale(1.07);
  filter: brightness(1);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cz-inspo-header {
    padding: 0 48px 40px;
  }
  .cz-inspo-grid {
    padding: 0 48px;
  }
  .cz-inspo-item {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .cz-inspo-header {
    padding: 0 24px 32px;
  }
  .cz-inspo-grid {
    padding: 0 24px;
  }
  .cz-inspo-row {
    flex-wrap: wrap;
  }
  .cz-inspo-item {
    flex: 1 1 calc(33% - 4px);
    height: 130px;
  }
}

@media (max-width: 480px) {
  .cz-inspo-item {
    flex: 1 1 calc(50% - 4px);
    height: 110px;
  }
}

/* =============================================
   PAD LIVE PREVIEW
   ============================================= */

.pad-preview-wrap {
  margin-top: 24px;
  animation: previewFadeIn 0.5s ease;
}

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

.pad-preview-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

.pad-preview-canvas {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: #fff;
}

.pad-preview-note {
  margin-top: 10px;
  font-size: 11px;
  color: #444;
  font-style: italic;
  max-width: 340px;
}
