/* ============================================================
   CUSTOM BUILDER STYLES
   ============================================================ */
.page-head {
  padding-top: 40px;
  padding-bottom: 12px;
}
@media (min-width: 768px) {
  .page-head { padding-top: 56px; }
}

.builder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 940px) {
  .builder {
    grid-template-columns: 1fr 0.95fr;
    gap: 48px;
  }
}

.builder-fields {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field-group {
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.field-group > label.title {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  margin-bottom: 4px;
}
.field-group > .hint {
  font-size: 13px;
  color: var(--plum-soft);
  margin-bottom: 16px;
}

/* Swatches */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(43,34,36,0.15);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--plum); box-shadow: 0 0 0 3px var(--rose); }
.swatch.active::after {
  content: "✓";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--plum);
  text-shadow: 0 0 3px rgba(255,255,255,0.8);
}

/* Charm Options */
.charm-options { display: flex; gap: 8px; flex-wrap: wrap; }
.charm-opt {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: var(--cream);
  cursor: pointer; font-size: 13.5px; font-weight: 500;
  color: var(--plum-soft);
  transition: all .2s ease;
}
.charm-opt:hover { border-color: var(--plum); color: var(--plum); }
.charm-opt.active { border-color: var(--plum); background: var(--plum); color: var(--cream); font-weight: 600; }

/* Name Input */
.name-input {
  width: 100%; padding: 14px 18px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--cream);
  font-family: 'Instrument Sans', sans-serif; font-size: 16px; color: var(--plum);
  outline: none; letter-spacing: 2px; text-transform: uppercase;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.name-input:focus { border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(176,110,108,0.15); }

/* Wrist Size Options */
.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-opt {
  flex: 1; min-width: 90px; text-align: center; padding: 12px 10px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--cream);
  cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--plum-soft);
  transition: all .2s ease;
}
.size-opt:hover { border-color: var(--plum); color: var(--plum); }
.size-opt.active { border-color: var(--plum); background: var(--plum); color: var(--cream); font-weight: 600; }

/* Sticky Builder Preview Card */
.builder-preview {
  background: #FFF;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  padding: 32px 28px;
  box-shadow: var(--shadow-hover);
  position: relative;
}
@media (min-width: 940px) {
  .builder-preview {
    position: sticky;
    top: 100px;
  }
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.preview-badge {
  font-size: 11px;
  background: var(--blush);
  color: var(--rose-deep);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.svg-container {
  background: radial-gradient(circle, var(--blush) 0%, var(--cream-2) 100%);
  border-radius: 12px;
  padding: 24px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.svg-container svg { width: 100%; height: auto; max-height: 220px; }

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}
.price-labels { display: flex; flex-direction: column; }
.price-labels .lbl { font-size: 13px; color: var(--plum-soft); }
.price-labels .sub-note { font-size: 11px; color: var(--rose-deep); font-weight: 600; }
.price-line .val { font-family: 'Fraunces', serif; font-style: italic; font-size: 26px; color: var(--rose-deep); font-weight: 600; }

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

/* Steps */
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 40px); margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.step {
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.step .step-n {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 16px;
  color: var(--rose-deep); margin-bottom: 12px; display: block; font-weight: 600;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--plum-soft); line-height: 1.55; margin: 0; }

/* ============================================================
   CUSTOM ORDER STUDIO — matches site hero / section system
   ============================================================ */
.custom-studio-main {
  padding: 0 0 40px;
}

.custom-hero {
  padding: 44px 0 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.custom-hero::before {
  content: '';
  position: absolute;
  inset: -40px -10% -20px;
  z-index: -2;
  background-color: #FAF1EA;
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 238, 240, 0.95) 0%, rgba(252, 238, 234, 0.75) 55%, transparent 100%),
    linear-gradient(45deg, rgba(201, 139, 135, 0.07) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(201, 139, 135, 0.07) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(201, 139, 135, 0.07) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(201, 139, 135, 0.07) 75%);
  background-size: 100% 100%, 40px 40px, 40px 40px, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, 0 20px, 20px -20px, -20px 0px;
  border-radius: 0 0 32px 32px;
}
.custom-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -20px;
  height: 28px;
  z-index: -1;
  background-image: radial-gradient(circle at 50% 0, var(--cream) 14px, transparent 15px);
  background-size: 42px 32px;
  background-repeat: repeat-x;
  background-position: 6px 0;
  pointer-events: none;
}
.custom-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 139, 135, 0.35);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(201, 139, 135, 0.12);
}
.custom-hero .eyebrow::before,
.custom-hero .eyebrow::after {
  content: '✦';
  font-size: 10px;
  color: var(--rose-deep);
}
.custom-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 14px;
  padding-top: 8px;
}
.custom-hero h1 em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: var(--rose-deep);
}
.custom-hero p.lede {
  font-size: 15.5px;
  color: var(--plum-soft);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* Idea tags — quiet chips, not loud pills */
.custom-ideas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 26px 0 4px;
}
.idea-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--plum-soft);
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(43,34,36,0.04);
}
.idea-pill:hover {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}

/* Order-by-chat card, styled as a normal field-group */
.order-chat-card {
  max-width: 640px;
  margin: 40px auto 0;
}
.order-chat-card .field-group > .title {
  font-family: var(--font-heading);
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}
.order-chat-card .field-group > .hint {
  font-size: 13px;
  color: var(--plum-soft);
  margin-bottom: 20px;
}

.wa-order-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--plum);
  color: var(--cream);
  text-decoration: none;
  padding: 14px 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 14px rgba(43,34,36,0.15);
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), background .22s ease, box-shadow .22s ease;
}
.wa-order-btn:hover {
  background: var(--rose-deep);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(176,110,108,0.25);
}
.wa-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-icon-box svg { width: 20px; height: 20px; }
.wa-text-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.wa-main-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.wa-sub-label {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

/* How it works — reuses .steps / .step pattern already in this file */
.order-guide {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.order-guide .guide-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rose-deep);
  margin-bottom: 14px;
}
.guide-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 580px) {
  .guide-steps-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .guide-step-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
}
.guide-step-item .step-n {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 13px;
  color: var(--rose-deep);
  display: block;
  margin-bottom: 4px;
}
@media (max-width: 580px) {
  .guide-step-item .step-n { margin-bottom: 0; }
}
.guide-step-item .step-text {
  font-size: 12.5px;
  color: var(--plum-soft);
  line-height: 1.5;
}
.guide-step-item .step-text strong {
  color: var(--plum);
  font-weight: 600;
}
