/* ===========================================================
   Interior Quote — ported verbatim from the two <style> blocks in
   sections/interior-quote.liquid (no Liquid interpolation existed inside
   the CSS itself, so this is a straight copy). Self-contained, hardcoded
   burgundy (#8A1748) / gold (#d4af37) palette matching the original —
   not wired to the theme's CSS variables since this plugin is
   theme-independent.
   =========================================================== */

.interior-quote {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.interior-quote__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.interior-quote__container {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  gap: 4rem;
  align-items: center;
}

.interior-quote__content { flex: 1; padding: 2rem; animation: interior-quote-fade-in 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.interior-quote__heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.interior-quote__subheading {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
  max-width: 500px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.interior-quote__modal {
  flex: 0 0 450px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 3rem 2.5rem;
  animation: interior-quote-slide-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes interior-quote-slide-in {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes interior-quote-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.interior-quote__modal-inner { display: flex; flex-direction: column; gap: 2rem; }
.interior-quote__header { display: flex; flex-direction: column; gap: 0.5rem; }
.interior-quote__title { margin: 0; font-size: 1.4rem; font-weight: 700; color: #2A211D; }
.interior-quote__step { margin: 0; font-size: 0.85rem; color: #8A1748; font-weight: 600; letter-spacing: 0.5px; }
.interior-quote__form { display: flex; flex-direction: column; gap: 2rem; }
.interior-quote__step-content { display: flex; flex-direction: column; gap: 2rem; animation: fade-in 0.3s ease; }

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

.interior-quote__field { display: flex; flex-direction: column; gap: 0.75rem; }
.interior-quote__field--phone { flex-direction: row; gap: 0.5rem; }
.interior-quote__field--spaced { margin-top: 0.5rem; }
.interior-quote__label { font-size: 0.95rem; font-weight: 600; color: #2A211D; margin: 0; }
.interior-quote__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.interior-quote__field-error {
  display: none; font-size: 0.78rem; font-weight: 600; color: #C0392B;
}
.interior-quote__field-error.is-visible { display: inline; }
.interior-quote__options { display: flex; flex-direction: row; gap: 0.5rem; flex-wrap: nowrap; }

.interior-quote__option {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border: 2px solid #8A1748;
  background: white;
  color: #8A1748;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.interior-quote__option:hover { background: rgba(138, 23, 72, 0.05); transform: translateY(-2px); }
.interior-quote__option.active { background: #8A1748; color: white; }

/* Carpet Area field — two-line buttons (size + dynamic sq.ft range) */
.interior-quote__option--stacked { flex-direction: column; gap: 0.15rem; white-space: normal; padding: 0.6rem 0.5rem; }
.interior-quote__option-label { font-size: 0.85rem; font-weight: 700; }
.interior-quote__option-sqft { font-size: 0.7rem; font-weight: 500; opacity: 0.75; }

.interior-quote__input {
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
  background: white;
  margin-bottom: 0.75rem;
}
.interior-quote__input:focus { outline: none; border-color: #8A1748; box-shadow: 0 0 0 3px rgba(138, 23, 72, 0.1); }
.interior-quote__input::placeholder { color: #999; }

.interior-quote__country-select {
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}
.interior-quote__country-select:focus { outline: none; border-color: #8A1748; box-shadow: 0 0 0 3px rgba(138, 23, 72, 0.1); }

/* Phone + OTP row — country select and Send/Verify buttons stay their
   natural width, the text input stretches to fill the rest. */
.interior-quote__field--phone .interior-quote__input,
.interior-quote__otp-row .interior-quote__input { flex: 1; min-width: 0; margin-bottom: 0; }
.interior-quote__field--phone .interior-quote__country-select { flex: 0 0 auto; margin-bottom: 0; }

.interior-quote__otp-send-btn,
.interior-quote__otp-verify-btn {
  flex: 0 0 auto;
  padding: 0 1.1rem;
  background: transparent;
  color: #8A1748;
  border: 1px solid #8A1748;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.interior-quote__otp-send-btn:hover,
.interior-quote__otp-verify-btn:hover { background: #8A1748; color: white; }
.interior-quote__otp-send-btn:disabled,
.interior-quote__otp-verify-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.interior-quote__otp-send-btn:disabled:hover,
.interior-quote__otp-verify-btn:disabled:hover { background: transparent; color: #8A1748; }

.interior-quote__otp-row { flex-direction: row; gap: 0.5rem; }

.interior-quote__otp-status { font-size: 0.8rem; line-height: 1.4; margin: 0.25rem 0; }
.interior-quote__otp-status:empty { display: none; margin: 0; }
.interior-quote__otp-status.is-error { color: #C0392B; }
.interior-quote__otp-status.is-success { color: #1E8449; font-weight: 600; }

.interior-quote__submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.interior-quote__next-btn,
.interior-quote__submit-btn {
  padding: 0.7rem 1rem;
  background: #8A1748;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: 0.5rem;
}
.interior-quote__next-btn:hover,
.interior-quote__submit-btn:hover { background: #5A0F2F; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(138, 23, 72, 0.3); }

.interior-quote__back-btn {
  padding: 0.525rem 1rem;
  background: transparent;
  color: #999;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.interior-quote__back-btn:hover { color: #2A211D; border-color: #2A211D; }
.interior-quote__button-icon { width: 18px; height: 18px; }

/* Step 2 — WhatsApp opt-in toggle, legal disclaimer, side-by-side nav buttons */
.interior-quote__toggle-group { flex-direction: row; align-items: center; }
.interior-quote__toggle-label { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.interior-quote__toggle-input { width: 18px; height: 18px; accent-color: #8A1748; }
.interior-quote__toggle-text { font-size: 0.85rem; color: #2A211D; }
.interior-quote__disclaimer { font-size: 0.75rem; color: #999; line-height: 1.5; margin: 0.25rem 0; }
.interior-quote__disclaimer a { color: #8A1748; }
.interior-quote__step-buttons { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.interior-quote__step-buttons .interior-quote__back-btn,
.interior-quote__step-buttons .interior-quote__submit-btn { flex: 1; margin-top: 0; }

/* Step 1's single Proceed button — right-aligned, sized to content
   (not stretched full-width like the default column-flex button). */
.interior-quote__step-buttons--end { justify-content: flex-end; }
.interior-quote__step-buttons--end .interior-quote__next-btn { flex: 0 0 auto; margin-top: 0; padding-left: 2rem; padding-right: 2rem; }

@media (max-width: 1024px) {
  .interior-quote { min-height: 100vh; }
  .interior-quote__container { flex-direction: column; padding: 2.5rem 1.5rem; gap: 2rem; }
  .interior-quote__heading { font-size: 2.2rem; }
  .interior-quote__modal { flex: 0 0 auto; width: 100%; max-width: 500px; }
}

@media (max-width: 750px) {
  .interior-quote { min-height: 100vh; padding: 2rem 0; }
  .interior-quote__container { padding: 1.5rem 1rem; gap: 1.5rem; }
  .interior-quote__heading { font-size: 1.8rem; }
  .interior-quote__subheading { font-size: 1rem; }
  .interior-quote__modal { padding: 2.4rem 2rem; }
  .interior-quote__options { flex-direction: row; gap: 0.4rem; flex-wrap: wrap; }
  .interior-quote__option { flex: 1; min-width: 70px; padding: 0.6rem 0.5rem; font-size: 0.75rem; }
  .interior-quote__field--phone { flex-direction: column; }
  .interior-quote__country-select { flex: 1; }
}

/* --- Price estimator modal --- */
.price-estimator-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; }
.price-estimator-modal.active { display: flex; align-items: center; justify-content: center; }
.estimator-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); }

.estimator-modal-content {
  position: relative;
  z-index: 10000;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.estimator-close-btn {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: color 0.3s ease;
}
.estimator-close-btn:hover { color: #8A1748; }

.price-estimator { padding: 3rem; }
.estimator-header { text-align: left; margin-bottom: 2rem; padding-top: 1rem; }
.estimator-header h1 { font-size: 2rem; color: #2A211D; margin-bottom: 0.5rem; font-weight: 700; }
.estimator-header p { font-size: 0.95rem; color: #666; }
.estimator-step-indicator { margin: 0; font-size: 0.85rem; color: #8A1748; font-weight: 600; letter-spacing: 0.5px; }
.estimator-wrapper { background: transparent; overflow: visible; }
.estimator-steps { margin-bottom: 2rem; }
.step { animation: fadeIn 0.3s ease; }

.room-selection-error { display: none; font-size: 0.85rem; font-weight: 600; color: #8A1748; margin: 0.5rem 0 0; }
.room-selection-error.is-visible { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.step-header { display: flex; align-items: center; margin-bottom: 2rem; }
.step-number {
  width: 50px; height: 50px;
  background: #8A1748;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
}
.step-header h2 { font-size: 1.8rem; color: #2A211D; margin: 0; }

.room-selection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.room-selection-card {
  background: white;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.room-selection-card:hover { border-color: #8A1748; box-shadow: 0 4px 12px rgba(138, 23, 72, 0.1); }
.room-selection-card.active { border-color: #8A1748; border-width: 3px; background: #fafafa; }

.room-icon { width: 56px; height: 56px; margin: 0 auto 1rem; color: #8A1748; opacity: 1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.room-icon svg { width: 100%; height: 100%; display: block; }
.room-selection-card h3 { margin: 0; color: #2A211D; font-size: 1rem; font-weight: 600; }
.room-limit { margin: 0.5rem 0 1rem; color: #999; font-size: 0.85rem; font-weight: normal; }

.quantity-control { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-top: auto; }
.qty-btn {
  width: 32px; height: 32px;
  border: 1px solid #ddd;
  background: white;
  color: #8A1748;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.qty-btn:hover { border-color: #8A1748; background: #fafafa; }
.qty-btn:active { background: #f0f0f0; }

.qty-input {
  width: 45px; height: 32px;
  border: 1px solid #ddd;
  background: white;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2A211D;
  border-radius: 4px;
  padding: 0;
}
.qty-input:focus { outline: none; border-color: #8A1748; box-shadow: 0 0 0 2px rgba(138, 23, 72, 0.1); }

.customization-options { display: flex; flex-direction: column; gap: 1.5rem; }
.option-group { border-bottom: 1px solid #eee; padding-bottom: 1rem; }
.option-label { display: block; font-weight: 600; color: #2A211D; margin-bottom: 0.75rem; }
.option-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; }

.option-btn {
  background: #f9f7f5;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.option-btn:hover { border-color: #8A1748; background: #fff; }
.option-btn.active { border-color: #8A1748; background: #fff8f6; }

.option-name { display: block; font-weight: 600; color: #2A211D; margin-bottom: 0.25rem; font-size: 0.95rem; }
.option-desc { display: block; font-size: 0.75rem; color: #999; margin-bottom: 0.25rem; }
.price-tag { display: block; font-weight: 600; color: #8A1748; font-size: 0.85rem; }

.finish-sample { width: 100%; height: 60px; border-radius: 6px; margin-bottom: 0.75rem; display: block; }
.matte-sample { background: linear-gradient(135deg, #5A4A42 0%, #4A3A32 100%); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2); }
.glossy-sample { background: linear-gradient(135deg, #3A3A3A 0%, #2A2A2A 50%, #3A3A3A 100%); box-shadow: inset 0 -2px 4px rgba(255, 255, 255, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2); }
.natural-sample { background: linear-gradient(90deg, #8B6F47 0%, #A0826D 25%, #8B7355 50%, #9D8B7E 75%, #8B6F47 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1); }

.checkbox-options { display: flex; flex-direction: column; gap: 0.75rem; }
.checkbox-item { display: flex; align-items: center; padding: 0.75rem; background: #f9f7f5; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; }
.checkbox-item:hover { background: #fff; }
.checkbox-item input { width: 18px; height: 18px; margin-right: 0.75rem; cursor: pointer; accent-color: #8A1748; }
.checkbox-item span { flex: 1; color: #2A211D; font-size: 0.95rem; }

.final-form { max-width: 500px; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 500; color: #2A211D; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-input { width: 100%; padding: 0.65rem 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; transition: border-color 0.3s ease; }
.form-input:focus { outline: none; border-color: #8A1748; box-shadow: 0 0 0 3px rgba(138, 23, 72, 0.1); }

.estimate-box { background: #f9f7f5; border-left: 4px solid #8A1748; border-radius: 8px; padding: 1.25rem; margin-top: 1.5rem; }
.estimate-box h3 { margin: 0 0 1rem; color: #2A211D; font-size: 1rem; }
.estimate-details { display: flex; flex-direction: column; gap: 0.5rem; }
.estimate-row { display: flex; justify-content: space-between; padding: 0.5rem 0; color: #666; font-size: 0.9rem; }
.estimate-row.total { border-top: 2px solid #ddd; padding-top: 0.75rem; margin-top: 0.5rem; font-weight: 700; font-size: 1rem; color: #2A211D; }
.amount { font-weight: 600; color: #8A1748; }

.estimator-nav { display: flex; justify-content: space-between; padding: 1.5rem 3rem; background: #f9f7f5; border-top: 1px solid #eee; gap: 1rem; }
.btn { padding: 0.65rem 1.5rem; border: none; border-radius: 6px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: #8A1748; color: #ffffff; }
.btn-primary:hover { background: #6B1238; transform: translateY(-2px); }
.btn-secondary { background: #ddd; color: #2A211D; }
.btn-secondary:hover { background: #ccc; }

/* --- Room tabs --- */
.room-tabs-wrapper { margin-bottom: 2rem; }
.room-tabs-header { background: #f9f7f5; border-radius: 8px 8px 0 0; overflow-x: auto; }
.room-tabs { display: flex; gap: 0; padding: 0.5rem; min-width: min-content; }
.room-tab {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: #666;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.room-tab:hover { color: #8A1748; background: rgba(138, 23, 72, 0.05); }
.room-tab.active { color: #8A1748; border-bottom-color: #8A1748; background: rgba(138, 23, 72, 0.05); }
.room-tab-contents { background: white; border: 1px solid #eee; border-top: none; border-radius: 0 0 8px 8px; padding: 1.5rem; }
.room-tab-content { display: none; }
.room-tab-content.active { display: block; }
.room-customization { display: flex; flex-direction: column; gap: 1.5rem; }

/* --- Accessories --- */
.accessories-section { border-top: 2px solid #e0d9d3; border-bottom: none; padding-top: 1.5rem; padding-bottom: 0; }
.section-title { font-weight: 700; color: #2A211D; margin-bottom: 1.25rem; font-size: 1.05rem; letter-spacing: 0.3px; }
.accessories-list { display: flex; flex-direction: column; gap: 0.9rem; }

.accessory-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 1rem;
  background: linear-gradient(135deg, #faf8f6 0%, #f9f7f5 100%);
  border: 1px solid #e8ddd7;
  border-radius: 8px;
  margin-bottom: 0;
  transition: all 0.25s ease;
  position: relative;
}
.accessory-item:hover {
  background: linear-gradient(135deg, #f9f7f5 0%, #f8f5f2 100%);
  border-color: #d4af37;
  box-shadow: 0 4px 12px rgba(138, 23, 72, 0.08);
  transform: translateY(-2px);
}

.accessory-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f9f7f5 0%, #f8f5f2 100%);
  border: 1.5px solid #d4af37;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.accessory-icon svg { width: 24px; height: 24px; color: #8A1748; transition: color 0.3s ease; }
.accessory-item:hover .accessory-icon { background: linear-gradient(135deg, #f8f5f2 0%, #f6f1ec 100%); border-color: #8A1748; box-shadow: 0 2px 8px rgba(138, 23, 72, 0.12); }
.accessory-item:hover .accessory-icon svg { color: #d4af37; }

.accessory-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.accessory-label { color: #2A211D; font-size: 0.975rem; font-weight: 600; margin: 0; line-height: 1.2; cursor: default; }
.accessory-price-unit { color: #8A1748; font-weight: 700; font-size: 0.875rem; }

.qty-control-group { display: flex; align-items: center; gap: 0.4rem; flex: 0 0 auto; }
.qty-control-btn {
  width: 32px; height: 32px;
  border: 1.5px solid #d4af37;
  background: white;
  color: #8A1748;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.qty-control-btn:hover { border-color: #8A1748; background: #8A1748; color: white; }
.qty-control-btn:active { background: #6a1238; }

.accessory-qty-input {
  width: 50px; height: 32px;
  border: 1.5px solid #d4af37;
  background: white;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2A211D;
  border-radius: 6px;
  padding: 0 0.25rem;
  cursor: default;
}
.accessory-qty-input:disabled { background: white; color: #2A211D; }
.accessory-total { flex: 0 0 auto; min-width: 70px; color: #8A1748; font-weight: 800; font-size: 1rem; text-align: right; }

@media (max-width: 768px) {
  .accessory-item { flex-wrap: wrap; gap: 0.75rem; padding: 0.9rem 1rem; }
  .accessory-label { font-size: 0.9rem; }
  .qty-control-btn { width: 28px; height: 28px; font-size: 0.9rem; }
  .accessory-qty-input { width: 45px; height: 28px; font-size: 0.85rem; }
  .accessory-total { min-width: 60px; font-size: 0.9rem; }
}

/* --- Dimensions --- */
.dimensions-section { border-bottom: 1px solid #eee; padding-bottom: 1rem; }
.dimension-preset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.preset-btn { padding: 0.6rem; border: 1px solid #ddd; background: white; border-radius: 4px; cursor: pointer; font-size: 0.85rem; color: #666; transition: all 0.2s ease; }
.preset-btn:hover { border-color: #8A1748; color: #8A1748; }
.preset-btn.active { background: #8A1748; color: white; border-color: #8A1748; }
.dimension-custom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.dimension-input-group { display: flex; flex-direction: column; gap: 0.3rem; }
.dimension-input-group label { font-size: 0.8rem; color: #666; font-weight: 500; }
.dimension-input-group input { padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85rem; }

/* --- Kitchen type + preview --- */
.kitchen-type-section { background: #f9f7f5; border-radius: 8px; padding: 1rem; margin-bottom: 1.5rem; }
.kitchen-type-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.kitchen-type-btn { padding: 0.6rem; border: 2px solid #ddd; background: white; border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 500; color: #666; transition: all 0.3s ease; }
.kitchen-type-btn:hover { border-color: #8A1748; color: #8A1748; }
.kitchen-type-btn.active { background: #8A1748; color: white; border-color: #8A1748; }
.kitchen-preview-area { background: white; border: 1px solid #ddd; border-radius: 6px; padding: 1.5rem; min-height: 500px; display: flex; align-items: center; justify-content: center; }

.design-preview-section { background: #f9f7f5; border-radius: 8px; padding: 1rem; text-align: center; }
.design-preview { width: 100%; height: 200px; background: white; border: 2px dashed #ddd; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 0.9rem; margin-bottom: 0.75rem; }
.standard-dimensions { font-size: 0.85rem; color: #666; background: white; padding: 0.75rem; border-radius: 4px; text-align: left; }
.standard-dimensions strong { color: #2A211D; }

@media (max-width: 750px) {
  .estimator-modal-content { width: 95%; max-height: 95vh; border-radius: 8px; }
  .estimator-close-btn { top: 1rem; right: 1rem; }
  .price-estimator { padding: 1.25rem; }
  .estimator-header h1 { font-size: 1.4rem; }
  .estimator-header p { font-size: 0.85rem; }
  .step { padding: 0; }
  .room-options { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .option-buttons { grid-template-columns: 1fr; }
  .estimator-nav { padding: 1rem; flex-direction: column-reverse; gap: 0.75rem; }
  .btn { width: 100%; }
  .step-2 > div[style*="display: grid"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .kitchen-type-buttons { grid-template-columns: repeat(2, 1fr); }
  .accessory-item { flex-wrap: wrap; }
  .accessory-label { flex: 0 0 100%; }
  .qty-control-group { flex: 1 1 auto; }
  .accessory-total { flex: 0 0 100%; margin-top: 0.5rem; }
}

/* --- Lead capture modal --- */
.lead-form-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.lead-form-content { background: white; border-radius: 12px; padding: 2rem; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }
.lead-form-content h2 { color: #2A211D; margin-bottom: 0.5rem; }
.lead-form-content p { color: #666; margin-bottom: 1.5rem; }
.lead-form-group { margin-bottom: 1.25rem; }
.lead-form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: #2A211D; font-size: 0.95rem; }
.lead-form-group input,
.lead-form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: border-color 0.2s ease; }
.lead-form-group input:focus,
.lead-form-group textarea:focus { outline: none; border-color: #8A1748; box-shadow: 0 0 0 3px rgba(138, 23, 72, 0.1); }
.lead-form-group textarea { resize: vertical; min-height: 100px; }
.lead-form-buttons { display: flex; gap: 1rem; }
.lead-form-submit,
.lead-form-cancel { flex: 1; padding: 0.75rem; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.lead-form-submit { background: #8A1748; color: white; }
.lead-form-submit:hover { background: #6a1239; }
.lead-form-cancel { background: #f0f0f0; color: #333; }
.lead-form-cancel:hover { background: #e0e0e0; }

.design-code-display { background: #f9f7f5; padding: 1rem; border-radius: 6px; margin-bottom: 1rem; text-align: center; }
.design-code-label { font-size: 0.85rem; color: #666; }
.design-code-value { font-weight: bold; font-size: 1.25rem; color: #8A1748; font-family: 'Courier New', monospace; }
.design-summary { background: #f9f7f5; padding: 1rem; border-radius: 6px; font-size: 0.9rem; margin-bottom: 1.25rem; }
.design-summary-item { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.design-summary-item:last-child { border-bottom: none; }
.design-summary-label { color: #666; }
.design-summary-value { font-weight: 600; color: #2A211D; }
