/* ================================================================
   ELDORA ATELIER — custom-order.css
   Bespoke custom order page — multi-step form
   Palette: dark chocolate, warm beige, champagne, ivory,
            antique gold, deep maroon
   ================================================================ */

/* ── Design Tokens ── */
:root {
  /* Backgrounds */
  --ivory:      #F5F0E8;
  --cream:      #F0E8DC;
  --champagne:  #F3EBE0;
  --beige:      #E8DFD5;

  /* Brand */
  --wine:       #0F5147;
  --wine2:      #17665A;
  --wine3:      #4A8A7D;
  --maroon:     #0F5147;
  --gold:       #B8892E;
  --gold2:      #D7BC78;
  --gold3:      #F0E4C0;

  /* Text */
  --ink:        #1C2E28;
  --ink2:       #4A5E58;
  --muted:      #7A9088;

  /* Misc */
  --success:    #4A8A7D;
  --wa:         #25D366;
  --sans:       'Jost', Arial, sans-serif;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(15,81,71,.10);
  --shadow-lg:  0 8px 40px rgba(15,81,71,.16);
  --transition: all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--sans); }
input, textarea, select { font-family: var(--sans); }

/* ================================================================
   HEADER  (exact mirror of collection.css)
   ================================================================ */
#site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border, rgba(184,137,46,.22));
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(15,81,71,.06);
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 64px;
  max-width: 220px;
}
.logo-full {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-nav-row {
  display: flex; align-items: center; justify-content: center;
  padding: 0 3%; height: 44px; position: relative;
}
.main-nav { display: flex; align-items: center; gap: 36px; flex: 1; justify-content: center; }
.main-nav a {
  font: 400 10.5px var(--sans);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink2); white-space: nowrap; padding-bottom: 2px;
  transition: color .2s; position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold); transition: width .25s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--gold); font-weight: 500; }
.main-nav a.active::after { width: 100%; }

.header-icons { display: flex; align-items: center; gap: 10px; position: absolute; right: 3%; }
.icon-btn {
  border: none; background: transparent; color: var(--ink2);
  display: flex; align-items: center; justify-content: center;
  padding: 4px; transition: color .2s;
}
.icon-btn:hover { color: var(--gold); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -3px; right: -5px;
  background: var(--gold); color: #fff;
  font: 600 8px var(--sans); border-radius: 50%; padding: 2px 4px; line-height: 1;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  border: none; background: transparent; padding: 4px; position: absolute; right: 3%;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ink2); }
.mobile-drawer {
  position: fixed; inset: 0 auto 0 0; width: 280px;
  background: var(--wine); z-index: 200;
  display: flex; flex-direction: column; padding: 30px 24px; gap: 0;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}

@media (min-width: 961px) {
  .mobile-drawer {
    display: none;
  }
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  color: #f0ddc7; font: 400 11px var(--sans);
  text-transform: uppercase; letter-spacing: .1em;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-drawer a.active { color: var(--gold3); }
.drawer-close { border: 0; background: transparent; color: var(--gold2); font-size: 16px; align-self: flex-end; margin-bottom: 18px; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(20,8,4,.55); z-index: 190; opacity: 0; pointer-events: none; transition: opacity .35s; }

@media (min-width: 961px) {
  .drawer-overlay {
    display: none;
  }
}
.drawer-overlay.visible { opacity: 1; pointer-events: all; }

/* ================================================================
   CUSTOM ORDER HERO
   ================================================================ */
.co-hero {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 360px;
  background: var(--wine);
  overflow: hidden;
}

.co-hero-text {
  padding: 56px 6% 56px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.co-eyebrow {
  font: 400 10px var(--sans);
  letter-spacing: .26em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.co-title {
  font: 300 clamp(40px, 4.5vw, 68px) var(--serif);
  color: #f5ede2;
  line-height: 1.1;
  margin-bottom: 16px;
}
.co-title em { font-style: italic; color: var(--gold3); }
.co-ornament { font-size: 11px; color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; opacity: .7; }
.co-desc { font: 300 13px var(--sans); color: #b09280; line-height: 1.8; margin-bottom: 32px; }

/* Process steps in hero */
.co-process {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.co-step {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.co-step-num {
  font: 600 11px var(--sans);
  color: var(--gold);
  letter-spacing: .1em;
}
.co-step-lbl {
  font: 300 10px var(--sans);
  color: #c9b090;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.co-step-sep {
  font-size: 10px;
  color: rgba(180,138,82,.35);
  letter-spacing: 2px;
  padding: 0 10px;
  padding-bottom: 10px;
}

/* Hero image */
.co-hero-image {
  background:
    linear-gradient(90deg, var(--wine) 0%, rgba(30,13,7,.4) 20%, transparent 50%),
    url('custom-order-hero.png');
  background-size: cover;
  background-position: center center;
}

/* ================================================================
   FORM SECTION — form + sidebar
   ================================================================ */
.co-form-section {
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  align-items: start;
  max-width: 1380px;
  margin: 0 auto;
  padding: 48px 4% 72px;
  gap: 40px;
}

.co-form-wrap {
  min-width: 0;
}

/* ── Progress bar ── */
.co-progress {
  height: 2px;
  background: rgba(180,138,82,.18);
  border-radius: 2px;
  margin-bottom: 36px;
  overflow: hidden;
}
.co-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold3));
  border-radius: 2px;
  width: 20%;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

/* ── Fieldset / Steps ── */
.co-fieldset {
  border: none;
  padding: 0;
  display: none;
}
.co-fieldset.active {
  display: block;
  animation: stepIn .35s ease both;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.co-legend {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
  border: none;
  padding: 0;
  width: 100%;
}
.legend-num {
  font: 300 30px var(--serif);
  color: var(--gold2);
  line-height: 1;
  opacity: .7;
}
.legend-title {
  font: 500 22px var(--serif);
  color: var(--ink);
  letter-spacing: .01em;
}

.co-hint {
  font: 300 12px var(--sans);
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
  letter-spacing: .01em;
}

/* ── Category Cards ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.cat-loading {
  grid-column: 1 / -1;
  text-align: center;
  font: 300 12px var(--sans);
  color: var(--muted);
  padding: 32px 0;
  letter-spacing: .04em;
}

.cat-card {
  position: relative;
  border: 1px solid rgba(90,53,32,.18);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 20px 16px;
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s;
  overflow: hidden;
}
.cat-card input[type="radio"] {
  position: absolute;
  opacity: 0; width: 0; height: 0;
}
.cat-card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.cat-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(180,138,82,.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2);
  margin-bottom: 6px;
  transition: background .25s, color .25s;
}
.cat-name {
  font: 600 12px var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s;
}
.cat-sub {
  font: 300 10px var(--sans);
  color: var(--muted);
  line-height: 1.5;
}
.cat-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(90,53,32,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: transparent;
  background: transparent;
  transition: var(--transition);
}

/* Selected state */
.cat-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(180,138,82,.06);
  box-shadow: 0 2px 16px rgba(180,138,82,.14);
}
.cat-card:has(input:checked) .cat-icon {
  background: rgba(180,138,82,.18);
  color: var(--gold);
}
.cat-card:has(input:checked) .cat-name { color: var(--wine2); }
.cat-card:has(input:checked) .cat-check {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.cat-card:hover:not(:has(input:checked)) {
  border-color: rgba(180,138,82,.4);
  box-shadow: var(--shadow);
}

/* ── File Upload Zone ── */
.upload-zone {
  position: relative;
  border: 1.5px dashed rgba(90,53,32,.28);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(180,138,82,.04);
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-icon { color: var(--gold2); margin: 0 auto 14px; }
.upload-main {
  font: 500 13px var(--sans);
  color: var(--ink);
  margin-bottom: 6px;
}
.upload-sub { font: 300 12px var(--sans); color: var(--muted); margin-bottom: 10px; }
.upload-browse { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.upload-types { font: 300 10px var(--sans); color: var(--muted); letter-spacing: .08em; }

/* Upload preview thumbnails */
.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.upload-thumb {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(90,53,32,.18);
  background: var(--champagne);
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(30,13,7,.7);
  color: #f5ede2;
  font-size: 8px;
  padding: 3px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-thumb-remove {
  position: absolute;
  top: 3px; right: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(107,26,42,.85);
  border: none;
  color: #fff;
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ── Form Fields ── */
.co-field-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.co-label {
  font: 500 10px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink2);
}
.req { color: var(--maroon); }
.optional { font-weight: 300; text-transform: none; letter-spacing: 0; color: var(--muted); }
.unit { font-weight: 300; text-transform: none; letter-spacing: 0; }

.co-input {
  width: 100%;
  border: 1px solid rgba(90,53,32,.22);
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  font: 400 13px var(--sans);
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.co-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180,138,82,.10);
}
.co-input::placeholder { color: rgba(90,53,32,.38); }
.co-input.error { border-color: var(--maroon); }

.co-textarea {
  width: 100%;
  border: 1px solid rgba(90,53,32,.22);
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  font: 400 13px var(--sans);
  padding: 11px 14px;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.65;
}
.co-textarea.tall { min-height: 130px; }
.co-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,82,.10); }
.co-textarea::placeholder { color: rgba(90,53,32,.38); }

.co-field-error {
  font: 400 10px var(--sans);
  color: var(--maroon);
  letter-spacing: .04em;
  margin-top: -4px;
}

/* ── 2-col form grid ── */
.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

/* ── Phone flag prefix ── */
.input-with-flag {
  display: flex;
  border: 1px solid rgba(90,53,32,.22);
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.input-with-flag:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180,138,82,.10);
}
.country-code {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font: 400 12px var(--sans);
  color: var(--ink2);
  background: rgba(180,138,82,.08);
  border-right: 1px solid rgba(90,53,32,.15);
  white-space: nowrap;
  flex-shrink: 0;
}
.input-with-flag .co-input {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.input-with-flag .co-input:focus { box-shadow: none; }

/* ── Size toggle ── */
.size-toggle {
  display: flex;
  border: 1px solid rgba(90,53,32,.22);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 24px;
}
.size-toggle-btn {
  border: none;
  background: transparent;
  font: 400 10px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 22px;
  transition: background .2s, color .2s;
}
.size-toggle-btn.active {
  background: var(--wine2);
  color: #f5ede2;
}

/* ── Size grid ── */
.size-panel { margin-bottom: 4px; }
.size-panel.hidden { display: none; }

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.size-chip {
  position: relative;
  cursor: pointer;
}
.size-chip input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.size-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 46px;
  border: 1px solid rgba(90,53,32,.22);
  border-radius: 4px;
  font: 500 11px var(--sans);
  letter-spacing: .08em;
  color: var(--ink2);
  background: var(--cream);
  transition: var(--transition);
}
.size-chip:hover span { border-color: var(--gold2); }
.size-chip:has(input:checked) span {
  background: var(--wine2);
  border-color: var(--wine2);
  color: #f5ede2;
  box-shadow: 0 2px 10px rgba(51,24,15,.25);
}

.size-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 400 10px var(--sans);
  color: var(--gold);
  letter-spacing: .08em;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
  margin-bottom: 8px;
}
.size-guide-link:hover { border-color: var(--gold); }

/* Measurement grid */
.measure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin-bottom: 14px;
}

.measure-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font: 300 10px var(--sans);
  color: var(--muted);
  line-height: 1.6;
  padding: 10px 14px;
  background: rgba(180,138,82,.06);
  border-radius: 4px;
  border-left: 2px solid var(--gold2);
}
.measure-note svg { flex-shrink: 0; color: var(--gold2); margin-top: 1px; }

/* ── Budget chips ── */
.budget-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.budget-chip {
  position: relative;
  cursor: pointer;
}
.budget-chip input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.budget-chip span {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid rgba(90,53,32,.2);
  border-radius: 22px;
  font: 400 11px var(--sans);
  color: var(--ink2);
  background: var(--cream);
  transition: var(--transition);
  white-space: nowrap;
}
.budget-chip:hover span { border-color: var(--gold2); }
.budget-chip:has(input:checked) span {
  background: rgba(180,138,82,.12);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
}

/* ── Review card ── */
.review-card {
  background: var(--cream);
  border: 1px solid rgba(90,53,32,.15);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
}
.review-row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(90,53,32,.08);
  align-items: baseline;
}
.review-row:last-child { border-bottom: none; }
.review-key {
  font: 500 9px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 130px;
  flex-shrink: 0;
}
.review-val {
  font: 400 12px var(--sans);
  color: var(--ink);
  line-height: 1.5;
}

/* ── Checkbox ── */
.co-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 24px;
  font: 300 12px var(--sans);
  color: var(--ink2);
  line-height: 1.6;
}
.co-checkbox-wrap input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.co-checkbox-box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1px solid rgba(90,53,32,.3);
  border-radius: 3px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  margin-top: 1px;
  color: transparent;
}
.co-checkbox-wrap:has(input:checked) .co-checkbox-box {
  background: var(--wine2);
  border-color: var(--wine2);
  color: #f5ede2;
}
.co-link { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .2s; }
.co-link:hover { border-color: var(--gold); }

/* ── Step footer (navigation buttons) ── */
.step-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(90,53,32,.1);
  margin-top: 28px;
}

.co-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wine2);
  color: #f5ede2;
  border: none;
  padding: 13px 32px;
  font: 500 10px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background .25s, transform .2s;
}
.co-btn-next:hover { background: var(--wine); transform: translateX(2px); }
.btn-arrow { font-size: 14px; transition: transform .2s; }
.co-btn-next:hover .btn-arrow { transform: translateX(3px); }

.co-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid rgba(90,53,32,.25);
  color: var(--ink2);
  padding: 12px 22px;
  font: 400 10px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: border-color .2s, color .2s;
}
.co-btn-back:hover { border-color: var(--gold2); color: var(--ink); }
.btn-arrow-l { font-size: 14px; }

/* ── Submit actions ── */
.submit-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wine2);
  color: #f5ede2;
  border: none;
  padding: 15px 36px;
  font: 500 11px var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 3px;
  width: 100%;
  transition: background .25s, transform .2s;
}
.co-btn-submit:hover { background: var(--wine); transform: translateY(-1px); }
.co-btn-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.submit-or {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 300 10px var(--sans);
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}
.submit-or span {
  flex: 1;
  height: 1px;
  background: rgba(90,53,32,.15);
}

.co-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 15px 36px;
  font: 500 11px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 3px;
  width: 100%;
  transition: background .25s, transform .2s;
}
.co-btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); }

/* ── Success state ── */
.co-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 20px;
  animation: stepIn .5s ease;
}
.co-success[hidden] { display: none; }
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(180,138,82,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2);
  margin-bottom: 20px;
}
.success-eyebrow {
  font: 400 10px var(--sans);
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 8px;
}
.success-title {
  font: 400 48px var(--serif);
  color: var(--ink);
  margin-bottom: 10px;
}
.success-ornament { font-size: 11px; color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; opacity: .7; }
.success-msg {
  font: 300 13px var(--sans);
  color: var(--ink2);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 28px;
}
.success-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 440px;
}
.success-actions .co-btn-submit,
.success-actions .co-btn-whatsapp { width: auto; flex: 1; }

/* ================================================================
   SIDEBAR
   ================================================================ */
.co-sidebar {
  background: var(--cream);
  border: 1px solid rgba(90,53,32,.12);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 116px;
}

.sidebar-inner { padding: 32px 28px; }

.sidebar-eyebrow {
  font: 500 9px var(--sans);
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sidebar-title {
  font: 400 26px var(--serif);
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 14px;
}
.sidebar-title em { font-style: italic; color: var(--wine3); }
.sidebar-divider { font-size: 10px; color: var(--gold2); letter-spacing: 3px; opacity: .6; margin-bottom: 24px; }

.sidebar-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.sidebar-benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sb-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(180,138,82,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2);
  margin-top: 1px;
}
.sidebar-benefits strong {
  display: block;
  font: 500 11px var(--sans);
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 2px;
}
.sidebar-benefits p {
  font: 300 11px var(--sans);
  color: var(--muted);
  line-height: 1.55;
}

.sidebar-contact {
  border-top: 1px solid rgba(90,53,32,.12);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-contact-label {
  font: 500 9px var(--sans);
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}
.sidebar-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  padding: 11px 20px;
  border-radius: 3px;
  font: 500 10px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  width: 100%;
  justify-content: center;
  transition: background .2s;
}
.sidebar-wa-btn:hover { background: #1da851; }
.sidebar-email-link {
  display: block;
  font: 300 11px var(--sans);
  color: var(--gold);
  text-align: center;
  letter-spacing: .04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .2s;
  width: fit-content;
  margin: 0 auto;
}
.sidebar-email-link:hover { border-color: var(--gold); }

/* ================================================================
   FOOTER (same as collection)
   ================================================================ */
footer {
  background: var(--wine);
  color: #d9bea0;
  padding: 40px 4% 18px;
  border-top: 1px solid rgba(180,138,82,.15);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr 1.4fr;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto 28px;
}
.foot-col + .foot-col { border-left: 1px solid rgba(180,138,82,.14); padding-left: 28px; }
.foot-logo { display: flex; flex-direction: column; color: var(--gold); font: 18px var(--serif); letter-spacing: 3px; margin-bottom: 14px; }
.foot-logo strong { font-size: 26px; line-height: 1.15; }
.foot-logo em { font: 10px var(--sans); letter-spacing: 3px; font-style: normal; }
.foot-logo-icon { font-size: 22px; color: var(--gold2); margin-bottom: 2px; }
.foot-brand p { font-size: 10px; color: #b09280; line-height: 1.6; margin-bottom: 14px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { color: var(--gold2); transition: color .2s; }
.foot-social a:hover { color: var(--gold3); }
.foot-heading { font: 500 9.5px var(--sans); text-transform: uppercase; letter-spacing: .18em; color: var(--gold2); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 10px; color: #b09280; margin-bottom: 8px; transition: color .2s; }
.foot-col a:hover { color: var(--gold3); }
.foot-newsletter p { font-size: 10px; color: #b09280; line-height: 1.55; margin-bottom: 14px; }
.newsletter-form { display: flex; border: 1px solid rgba(180,138,82,.3); }
.newsletter-form input { flex: 1; min-width: 0; padding: 9px 10px; border: 0; background: rgba(255,255,255,.04); color: #f0ddc7; font: 10px var(--sans); outline: none; }
.newsletter-form input::placeholder { color: rgba(200,170,140,.35); }
.newsletter-form button { width: 36px; border: 0; border-left: 1px solid rgba(180,138,82,.3); background: rgba(180,138,82,.14); color: var(--gold3); font-size: 16px; transition: background .2s; }
.newsletter-form button:hover { background: rgba(180,138,82,.28); }
.foot-bottom { border-top: 1px solid rgba(180,138,82,.14); padding-top: 14px; display: flex; justify-content: space-between; font-size: 9px; color: rgba(180,140,100,.55); max-width: 1440px; margin: 0 auto; }
.foot-bottom a { color: rgba(180,140,100,.55); transition: color .2s; }
.foot-bottom a:hover { color: var(--gold2); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .co-form-section { grid-template-columns: 1fr; }
  .co-sidebar { position: static; margin-top: 0; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-icons { right: calc(3% + 40px); }
  .co-hero { grid-template-columns: 1fr; }
  .co-hero-image { height: 260px; }
  .co-hero-text { padding: 40px 8%; }
  .co-process { gap: 4px; }
  .co-step-sep { padding: 0 6px; }
  .form-2col { grid-template-columns: 1fr; }
  .measure-grid { grid-template-columns: 1fr; }
  .measure-grid .co-field-group[style] { grid-column: span 1 !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .foot-col + .foot-col { border-left: 0; padding-left: 0; }
  .foot-brand { grid-column: span 2; }
}

@media (max-width: 700px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .header-logo-row { padding: 10px 0 8px; }
  .logo-wordmark { font-size: 18px; }
  .logo-emblem { width: 34px; height: 34px; }
  .logo-emblem img { width: 23px; height: 23px; }
  .co-form-section { padding: 32px 4% 56px; }
  .budget-grid { flex-direction: column; }
  .budget-chip span { width: 100%; }
  .success-actions { flex-direction: column; }
  .success-actions .co-btn-submit,
  .success-actions .co-btn-whatsapp { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand, .foot-newsletter { grid-column: span 2; }
  .foot-bottom { flex-direction: column; gap: 6px; align-items: center; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .size-grid { gap: 8px; }
  .co-hero-text { padding: 36px 5%; }
}
