/* Section 1 – Selected Package Card */
.ts-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  border: 1px solid #e9ecef;
  background: #fff;
}
.ts-card__media {
  background: #f9f9f9;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.ts-card__body { padding: 16px; }
.ts-card__title { margin: 0 0 6px; color: #444; font-weight: 600; font-size: 18px; }
.ts-card__desc { margin: 0 0 10px; color: #666; }
.ts-card__features { margin: 8px 0 0; padding-left: 0; list-style: none; }
.ts-card__features li { margin-bottom: 4px; }
.legend-icon {
  font-weight: 700; font-size: 1.1em;
  display: flex; align-items: center; gap: 8px;
}
.legend-icon i { font-size: 1.2em; }
/* small screens: stack image on top */
@media (max-width: 767px) {
  .ts-card .row > [class*="col-"] { float: none; width: 100%; }
}

/* ---- Promo form fields ---- */
.promo-field {
  margin-bottom: 16px;
}

/* ---- Modern select ---- */
.select-wrap {
  position: relative;
}

.select-modern {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid #e5e7eb;          /* light neutral */
  border-radius: 10px;
  padding: 10px 42px 10px 12px;        /* space for caret on right */
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .06s ease;
}

.select-modern:hover {
  border-color: #d1d5db;
}

.select-modern:focus {
  outline: none;
  border-color: #9c6f44;               /* warm accent */
  box-shadow: 0 0 0 3px rgba(156,111,68,0.15);
}

.select-modern.is-invalid {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217,83,79,0.12);
}

/* ---- Custom caret (chevron) ---- */
.select-caret {
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .6;
  /* inline SVG chevron for crisp rendering */
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
  <polyline points='6 9 12 15 18 9'></polyline></svg>");
}

/* ---- Helper line under control ---- */
.promo-hint {
  display: block;
  margin-top: 6px;
  color: #6b7280; /* muted */
  font-size: 12px;
}

/* Limit lash style selector width */
.select-wrap {
  max-width: 250px; /* adjust as needed */
}
.select-modern {
  width: 100%;
}



/* Narrow and center the lash style drop-down */
#variant {
  max-width: 250px;       /* limit width */
  width: 100%;            /* still responsive within the limit */
  margin: 0 auto;         /* center horizontally */
  display: block;
}

/* Center the label and hint text */
label[for="variant"],
#variant-hint {
  text-align: center;
  display: block;
}


/* Center label for lash style */
.lash-style-group label[for="variant"] {
  width: 100%;
  text-align: center;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}

/* Ensure drop-down is centered and narrower */
.lash-style-group select {
  max-width: 250px;
  margin: 0 auto;
  display: block;
}

/* Hint text aligned to center */
.lash-style-group .promo-hint {
  display: block;
  text-align: center;
  margin-top: 4px;
}




/* ---- Mobile niceties ---- */
@media (max-width: 480px) {
  .select-modern {
    font-size: 16px;                 /* better tap target */
    padding: 12px 44px 12px 14px;
  }
}

/* ===== Mobile-friendly lash selector ===== */

/* Base: keep current desktop behavior */
.lash-style-group .select-wrap { max-width: 250px; }
.lash-style-group select.select-modern { width: 100%; }

/* Improve tap target size everywhere */
.select-modern { min-height: 44px; }

/* iOS Safari: prevent auto-zoom by ensuring font-size >= 16px */
.select-modern,
.lash-style-group select,
.lash-style-group input,
.lash-style-group textarea {
  font-size: 16px;
}

/* Small screens (Bootstrap "xs/sm") */
@media (max-width: 576px) {
  /* Let the selector span the column */
  .lash-style-group { 
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* Left-align to match features; allow wrapping on narrow screens */
  .lash-style-group label[for="variant"] {
    display: block;
    text-align: left;
    margin-bottom: 6px;
  }

  /* Make dropdown full-width; remove hard cap */
  .lash-style-group .select-wrap { 
    max-width: none;
    width: 100%;
  }
  .lash-style-group select.select-modern {
    width: 100%;
    max-width: none;
    padding: 12px 44px 12px 14px; /* keep caret space, bigger tap area */
  }

  /* Fine-tune hint and caret for small screens */
  .lash-style-group .promo-hint {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 6px;
  }
  .select-caret { right: 12px; }
}

/* Very small devices */
@media (max-width: 360px) {
  .lash-style-group .promo-hint { font-size: 11px; }
}


