/* Custom Garland Quote page — Phase 1–2 */

.vd-garland-quote {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Poppins', 'Open Sans', sans-serif;
  color: #333;
}

.vd-garland-quote__alert {
  background: #fff5f5;
  border: 1px solid #e8b4b4;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #7a1f1f;
}

.vd-garland-quote__alert ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.vd-garland-quote__section {
  border: 1px solid #e8e4df;
  border-radius: 12px;
  padding: 0;
  margin: 0 0 20px;
  background: #fff;
  overflow: hidden;
}

.vd-garland-quote__section-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: none;
  background: #faf9f7;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: #333;
}

.vd-garland-quote__section-step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8B0000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vd-garland-quote__section-title {
  flex: 1;
  font-family: 'Raleway', 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #8B0000;
}

.vd-garland-quote__section-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #8B0000;
  border-bottom: 2px solid #8B0000;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}

.vd-garland-quote__section-toggle[aria-expanded="true"] .vd-garland-quote__section-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.vd-garland-quote__section-body {
  padding: 20px 24px 8px;
}

.vd-garland-quote__grid {
  display: grid;
  gap: 16px;
}

.vd-garland-quote__grid--2 {
  grid-template-columns: 1fr 1fr;
}

.vd-garland-quote__field {
  margin-bottom: 18px;
}

.vd-garland-quote__field label,
.vd-garland-quote__label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: #444;
}

.vd-garland-quote__field input[type="text"],
.vd-garland-quote__field input[type="email"],
.vd-garland-quote__field input[type="tel"],
.vd-garland-quote__field input[type="date"],
.vd-garland-quote__field select,
.vd-garland-quote__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d4cfc8;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #faf9f7;
  transition: border-color 0.15s ease;
}

.vd-garland-quote__field input:focus,
.vd-garland-quote__field select:focus,
.vd-garland-quote__field textarea:focus {
  outline: none;
  border-color: #8B0000;
  background: #fff;
}

.vd-garland-quote__choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vd-garland-quote__choices--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

.vd-garland-quote__choices--chips {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.vd-garland-quote__chip {
  padding: 8px 14px;
  border: 1px solid #e0dbd4;
  border-radius: 999px;
  background: #faf9f7;
  font-size: 0.9rem;
}

.vd-garland-quote__chip:has(input:checked) {
  border-color: #8B0000;
  background: #fff5f5;
  color: #8B0000;
}

.vd-garland-quote__choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
}

.vd-garland-quote__choice input {
  margin-top: 3px;
  flex-shrink: 0;
}

/* Flower thumbnail cards */
.vd-garland-quote__flower-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vd-garland-quote__flower-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #ece8e2;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #faf9f7;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vd-garland-quote__flower-card:has(input:checked) {
  border-color: #8B0000;
  box-shadow: 0 0 0 1px #8B0000;
  background: #fff;
}

.vd-garland-quote__flower-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vd-garland-quote__flower-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.vd-garland-quote__flower-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vd-garland-quote__flower-text {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vd-garland-quote__flower-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #333;
}

.vd-garland-quote__flower-desc {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.4;
}

/* Style reference preview */
.vd-garland-quote__style-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #ece8e2;
  border-radius: 8px;
  background: #faf9f7;
}

.vd-garland-quote__style-preview img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.vd-garland-quote__style-preview p {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: #444;
}

/* File upload drop zone */
.vd-garland-quote__file-drop {
  position: relative;
  border: 2px dashed #d4cfc8;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  background: #faf9f7;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.vd-garland-quote__file-drop.is-dragover,
.vd-garland-quote__file-drop.is-filled {
  border-color: #8B0000;
  background: #fff5f5;
}

.vd-garland-quote__file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.vd-garland-quote__file-drop-text {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
}

.vd-garland-quote__hint {
  font-size: 0.82rem;
  color: #666;
  margin: 6px 0 0;
}

.vd-garland-quote__hint--above {
  margin: 0 0 10px;
}

.vd-garland-quote__optional {
  font-weight: 400;
  color: #777;
}

.vd-garland-quote__actions {
  text-align: center;
  padding: 8px 0 16px;
}

.vd-garland-quote__submit {
  appearance: none;
  border: none;
  border-radius: 8px;
  background: #8B0000;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.vd-garland-quote__submit:hover,
.vd-garland-quote__submit:focus {
  background: #6d0000;
}

.vd-garland-quote__promise {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: #555;
}

.vd-garland-quote-page__hero {
  background: linear-gradient(0deg, rgba(132, 6, 37, 0.55), rgba(132, 6, 37, 0.55)), url('../images/Indian-Cultural-Weddings-Garlands.jpg') center/cover no-repeat;
  padding: 72px 20px 56px;
  text-align: center;
}

.vd-garland-quote-page__hero h1 {
  font-family: 'Raleway', 'Cormorant Garamond', serif;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 12px;
}

.vd-garland-quote-page__hero p {
  color: #fde8e8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.05rem;
}

.vd-garland-quote-page__prefill {
  max-width: 820px;
  margin: -24px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.vd-garland-quote-page__prefill-inner {
  background: #fff;
  border: 1px solid #e8b4b4;
  border-left: 4px solid #8B0000;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #444;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.vd-garland-quote-page__body {
  padding: 48px 20px 64px;
  background: #f7f5f2;
}

/* PDP quote + WhatsApp buttons */
.vd-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.vd-pdp-actions .u-btn-1 {
  margin-top: 0 !important;
}

.vd-pdp-quote-btn {
  background: #8B0000 !important;
  border-color: #8B0000 !important;
  color: #fff !important;
}

.vd-pdp-quote-btn:hover,
.vd-pdp-quote-btn:focus {
  background: #6d0000 !important;
  border-color: #6d0000 !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .vd-garland-quote__section-toggle {
    display: flex;
  }

  .vd-garland-quote__section-body {
    padding: 16px 16px 4px;
  }
}

@media (max-width: 640px) {
  .vd-garland-quote__grid--2,
  .vd-garland-quote__flower-grid {
    grid-template-columns: 1fr;
  }

  .vd-garland-quote__choices--inline,
  .vd-garland-quote__choices--chips {
    flex-direction: column;
    gap: 8px;
  }

  .vd-garland-quote__chip {
    border-radius: 8px;
  }

  .vd-garland-quote__style-preview {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .vd-garland-quote__section-body[hidden] {
    display: block !important;
  }
}
