/* ================= BULK FLOWERS PAGE ================= */

.public-bulk-page {
  background:
    radial-gradient(circle at top left, rgba(255, 77, 109, 0.10), transparent 30%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.10), transparent 28%),
    linear-gradient(180deg, #fffdfd 0%, #fff8fb 44%, #ffffff 100%);
  background-repeat: no-repeat;
  background-size: 100% 720px;
  background-color: #ffffff;
}

.public-bulk-page .bulk-page-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 28px 0 44px;
}

/* Hero */
.public-bulk-page .bulk-hero-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid rgba(255, 77, 109, 0.13);
  background:
    radial-gradient(circle at top left, rgba(255, 77, 109, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,251,0.92));
  box-shadow:
    0 22px 52px rgba(18,18,30,0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.public-bulk-page .bulk-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.08);
  border: 1px solid rgba(255, 77, 109, 0.16);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.public-bulk-page .bulk-hero-panel h1 {
  margin: 0 0 10px;
  max-width: 790px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.4px;
  color: #241c24;
}

.public-bulk-page .bulk-hero-panel p {
  margin: 0;
  max-width: 710px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.public-bulk-page .bulk-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.public-bulk-page .bulk-hero-card {
  min-width: 250px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 77, 109, 0.12);
  background: rgba(255,255,255,0.84);
  box-shadow:
    0 14px 34px rgba(18,18,30,0.07),
    inset 0 1px 0 rgba(255,255,255,0.94);
}

.public-bulk-page .bulk-hero-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.14);
  font-size: 26px;
}

.public-bulk-page .bulk-hero-card strong {
  display: block;
  margin-bottom: 5px;
  color: #241c24;
  font-size: 17px;
  font-weight: 950;
}

.public-bulk-page .bulk-hero-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Layout */
.public-bulk-page .bulk-content-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  align-items: start;
}

.public-bulk-page .bulk-info-panel,
.public-bulk-page .bulk-form-panel {
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(255, 77, 109, 0.12);
  background: rgba(255,255,255,0.88);
  box-shadow:
    0 18px 42px rgba(18,18,30,0.07),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.public-bulk-page .bulk-info-panel {
  position: sticky;
  top: 92px;
}

.public-bulk-page .bulk-info-panel h2,
.public-bulk-page .bulk-form-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.7px;
  color: #241c24;
}

.public-bulk-page .bulk-form-head p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

/* Flower cards */
.public-bulk-page .bulk-flower-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.public-bulk-page .bulk-flower-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(18,18,30,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,248,251,0.82));
}

.public-bulk-page .bulk-flower-card > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: rgba(255, 77, 109, 0.10);
  font-size: 22px;
}

.public-bulk-page .bulk-flower-card strong {
  display: block;
  color: #241c24;
  font-size: 16px;
  font-weight: 950;
}

.public-bulk-page .bulk-flower-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.public-bulk-page .bulk-note-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 77, 109, 0.14);
  background:
    radial-gradient(circle at top right, rgba(255, 77, 109, 0.10), transparent 34%),
    rgba(255, 248, 251, 0.78);
}

.public-bulk-page .bulk-note-box strong {
  display: block;
  margin-bottom: 6px;
  color: #241c24;
  font-size: 16px;
  font-weight: 950;
}

.public-bulk-page .bulk-note-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Form */
.public-bulk-page .bulk-request-form {
  margin: 0;
}

.public-bulk-page .bulk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.public-bulk-page .bulk-form-grid label {
  display: grid;
  gap: 7px;
  color: #241c24;
  font-size: 13px;
  font-weight: 900;
}

.public-bulk-page .bulk-form-grid input,
.public-bulk-page .bulk-form-grid select,
.public-bulk-page .bulk-form-grid textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(18,18,30,0.10);
  background: rgba(255,255,255,0.92);
  color: #241c24;
  outline: none;
  font: inherit;
}

.public-bulk-page .bulk-form-grid textarea {
  resize: vertical;
  min-height: 112px;
}

.public-bulk-page .bulk-form-grid input:focus,
.public-bulk-page .bulk-form-grid select:focus,
.public-bulk-page .bulk-form-grid textarea:focus {
  border-color: rgba(255,77,109,0.42);
  box-shadow: 0 0 0 4px rgba(255,77,109,0.10);
}

.public-bulk-page .bulk-notes-label {
  grid-column: 1 / -1;
}

/* Buttons */
.public-bulk-page .bulk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.public-bulk-page .bulk-btn:hover {
  transform: translateY(-2px);
}

.public-bulk-page .bulk-btn-primary {
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, #ff4d6d 0%, #ff7a59 100%);
  box-shadow:
    0 16px 34px rgba(255, 77, 109, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.public-bulk-page .bulk-btn-soft {
  color: #2a1f28;
  border-color: rgba(255,77,109,0.18);
  background: rgba(255,255,255,0.92);
  box-shadow:
    0 12px 26px rgba(18,18,30,0.07),
    inset 0 1px 0 rgba(255,255,255,0.94);
}

.public-bulk-page .bulk-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.public-bulk-page #bulkSubmitBtn {
  margin-top: 16px;
}

.public-bulk-page .bulk-request-msg {
  min-height: 22px;
  margin: 12px 0 0;
  font-weight: 850;
  line-height: 1.5;
}

.public-bulk-page .bulk-request-msg.info {
  color: #4b3bbd;
}

.public-bulk-page .bulk-request-msg.success {
  color: #15803d;
}

.public-bulk-page .bulk-request-msg.error {
  color: #b91c1c;
}

/* Responsive */
@media (max-width: 940px) {
  .public-bulk-page .bulk-hero-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-bulk-page .bulk-hero-card {
    width: 100%;
  }

  .public-bulk-page .bulk-content-grid {
    grid-template-columns: 1fr;
  }

  .public-bulk-page .bulk-info-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .public-bulk-page .bulk-page-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .public-bulk-page .bulk-hero-panel,
  .public-bulk-page .bulk-info-panel,
  .public-bulk-page .bulk-form-panel {
    border-radius: 24px;
    padding: 18px;
  }

  .public-bulk-page .bulk-form-grid {
    grid-template-columns: 1fr;
  }

  .public-bulk-page .bulk-hero-actions,
  .public-bulk-page .bulk-btn {
    width: 100%;
  }
}

/* ================= BULK FORM CLASSY TYPOGRAPHY TUNING ================= */

.public-bulk-page .bulk-form-grid label {
  color: #4b4450;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.public-bulk-page .bulk-form-grid input,
.public-bulk-page .bulk-form-grid select,
.public-bulk-page .bulk-form-grid textarea {
  color: #241c24;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.public-bulk-page .bulk-form-grid input::placeholder,
.public-bulk-page .bulk-form-grid textarea::placeholder {
  color: #9a929d;
  font-weight: 500;
}

.public-bulk-page .bulk-form-head p,
.public-bulk-page .bulk-note-box p,
.public-bulk-page .bulk-flower-card p {
  font-weight: 500;
}

.public-bulk-page .bulk-request-msg {
  font-size: 14px;
  font-weight: 700;
}

.public-bulk-page .bulk-form-panel {
  font-weight: 500;
}

/* ================= BULK PAGE BRAND ALIGNMENT FIX ================= */

/* Make bulk page feel consistent with other public pages */
.public-bulk-page {
  background:
    radial-gradient(circle at top left, rgba(255, 77, 109, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 28%),
    linear-gradient(180deg, #fffdfd 0%, #f8fbff 42%, #ffffff 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 720px !important;
  background-color: #ffffff !important;
}

/* Bring hero and panels back to the same Mala public-page style */
.public-bulk-page .bulk-hero-panel,
.public-bulk-page .bulk-info-panel,
.public-bulk-page .bulk-form-panel {
  border-color: rgba(255, 77, 109, 0.13) !important;
  background:
    radial-gradient(circle at top left, rgba(255, 77, 109, 0.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,251,0.92)) !important;
  box-shadow:
    0 22px 52px rgba(18,18,30,0.08),
    inset 0 1px 0 rgba(255,255,255,0.95) !important;
}

/* Make labels/pills match the rest of Mala */
.public-bulk-page .bulk-kicker {
  color: #ff4d6d !important;
  background: rgba(255, 77, 109, 0.08) !important;
  border-color: rgba(255, 77, 109, 0.16) !important;
}

/* Keep the page heading dark and premium */
.public-bulk-page .bulk-hero-panel h1,
.public-bulk-page .bulk-info-panel h2,
.public-bulk-page .bulk-form-head h2 {
  color: #241c24 !important;
}

/* Primary buttons should feel like Mala, not a different yellow brand */
.public-bulk-page .bulk-btn-primary {
  color: #ffffff !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, #ff4d6d 0%, #ff7a59 100%) !important;
  box-shadow:
    0 16px 34px rgba(255, 77, 109, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

/* Secondary buttons should match the other public pages */
.public-bulk-page .bulk-btn-soft {
  color: #2a1f28 !important;
  border-color: rgba(255, 77, 109, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,251,0.92)) !important;
  box-shadow:
    0 12px 26px rgba(18,18,30,0.07),
    inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

/* Keep marigold as an accent only */
.public-bulk-page .bulk-hero-icon,
.public-bulk-page .bulk-flower-card:nth-child(1) > span,
.public-bulk-page .bulk-flower-card:nth-child(2) > span {
  background: rgba(245, 158, 11, 0.14) !important;
}

.public-bulk-page .bulk-flower-card:nth-child(3) > span {
  background: rgba(255, 77, 109, 0.10) !important;
}

/* Make flower cards look closer to the other public cards */
.public-bulk-page .bulk-flower-card {
  border-color: rgba(18,18,30,0.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,251,0.86)) !important;
  box-shadow:
    0 12px 28px rgba(18,18,30,0.06),
    inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

/* Make the quote note less yellow and more refined */
.public-bulk-page .bulk-note-box {
  border-color: rgba(37, 99, 235, 0.14) !important;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
    rgba(248, 251, 255, 0.82) !important;
}

/* Softer form fields, consistent with account/subscription pages */
.public-bulk-page .bulk-form-grid input,
.public-bulk-page .bulk-form-grid select,
.public-bulk-page .bulk-form-grid textarea {
  border-color: rgba(18,18,30,0.10) !important;
  background: rgba(255,255,255,0.94) !important;
}

.public-bulk-page .bulk-form-grid input:focus,
.public-bulk-page .bulk-form-grid select:focus,
.public-bulk-page .bulk-form-grid textarea:focus {
  border-color: rgba(255,77,109,0.42) !important;
  box-shadow: 0 0 0 4px rgba(255,77,109,0.10) !important;
}

/* Keep success/error messages readable and consistent */
.public-bulk-page .bulk-request-msg.info {
  color: #4b3bbd !important;
}

.public-bulk-page .bulk-request-msg.success {
  color: #15803d !important;
}

.public-bulk-page .bulk-request-msg.error {
  color: #b91c1c !important;
}

/* ================= BULK FLOWERS WIDE SCREEN LAYOUT ================= */

@media (min-width: 1200px) {
  .public-bulk-page {
    --bulk-content-width: min(80vw, 1900px);
  }

  .public-bulk-page .bulk-page-shell {
    width: var(--bulk-content-width) !important;
    max-width: none !important;
    padding-top: clamp(40px, 3vw, 70px) !important;
    padding-bottom: clamp(48px, 3.4vw, 82px) !important;
  }

  .public-bulk-page .bulk-hero-panel {
    padding: clamp(32px, 3vw, 60px) !important;
    border-radius: 38px !important;
    gap: clamp(34px, 4vw, 90px) !important;
  }

  .public-bulk-page .bulk-hero-panel h1 {
    max-width: 980px !important;
    font-size: clamp(52px, 4.2vw, 86px) !important;
    line-height: 0.98 !important;
    letter-spacing: -2.2px !important;
  }

  .public-bulk-page .bulk-hero-panel p {
    max-width: 850px !important;
    font-size: clamp(17px, 1vw, 21px) !important;
    line-height: 1.75 !important;
  }

  .public-bulk-page .bulk-hero-card {
    min-width: min(360px, 26vw) !important;
    padding: clamp(22px, 1.6vw, 34px) !important;
    border-radius: 30px !important;
  }

  .public-bulk-page .bulk-content-grid {
    grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.25fr) !important;
    gap: clamp(22px, 2vw, 42px) !important;
  }

  .public-bulk-page .bulk-info-panel,
  .public-bulk-page .bulk-form-panel {
    padding: clamp(24px, 2vw, 42px) !important;
    border-radius: 36px !important;
  }

  .public-bulk-page .bulk-info-panel h2,
  .public-bulk-page .bulk-form-head h2 {
    font-size: clamp(34px, 2.7vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -1.5px !important;
  }

  .public-bulk-page .bulk-form-head p,
  .public-bulk-page .bulk-note-box p,
  .public-bulk-page .bulk-flower-card p {
    font-size: clamp(15px, 0.9vw, 18px) !important;
    line-height: 1.7 !important;
  }

  .public-bulk-page .bulk-flower-card {
    padding: clamp(18px, 1.3vw, 28px) !important;
    border-radius: 26px !important;
    gap: 16px !important;
  }

  .public-bulk-page .bulk-flower-card > span,
  .public-bulk-page .bulk-hero-icon {
    width: clamp(54px, 3.3vw, 72px) !important;
    height: clamp(54px, 3.3vw, 72px) !important;
    border-radius: 22px !important;
    font-size: clamp(24px, 1.5vw, 34px) !important;
  }

  .public-bulk-page .bulk-flower-card strong {
    font-size: clamp(17px, 1vw, 22px) !important;
  }

  .public-bulk-page .bulk-form-grid {
    gap: clamp(14px, 1vw, 22px) !important;
  }

  .public-bulk-page .bulk-form-grid label {
    font-size: clamp(13px, 0.8vw, 16px) !important;
  }

  .public-bulk-page .bulk-form-grid input,
  .public-bulk-page .bulk-form-grid select,
  .public-bulk-page .bulk-form-grid textarea {
    min-height: clamp(50px, 3vw, 62px) !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    font-size: clamp(15px, 0.9vw, 18px) !important;
  }

  .public-bulk-page .bulk-form-grid textarea {
    min-height: clamp(120px, 8vw, 180px) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1500px) {
  .public-bulk-page {
    --bulk-content-width: min(86vw, 1280px);
  }

  .public-bulk-page .bulk-hero-panel h1 {
    font-size: clamp(42px, 4vw, 64px) !important;
  }
}

@media (min-width: 1600px) {
  .public-bulk-page {
    --bulk-content-width: 80vw;
  }
}

/* Bulk order preparation buffer */
.bulk-buffer-field {
  grid-column: 1 / -1;
}

.bulk-buffer-notice {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(245, 145, 45, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 177, 77, 0.16), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #ffffff 100%);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 14px 34px rgba(107, 70, 24, 0.08);
}

.bulk-buffer-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 177, 77, 0.18);
  font-size: 21px;
  flex: 0 0 auto;
}

.bulk-buffer-notice strong {
  display: block;
  color: #2a1f28;
  font-size: 17px;
  margin-bottom: 6px;
}

.bulk-buffer-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 650;
}

.bulk-buffer-date {
  margin-top: 8px !important;
  color: #b26318 !important;
  font-weight: 800 !important;
}

.bulk-buffer-check {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(245, 145, 45, 0.38);
  cursor: pointer;
}

.bulk-buffer-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #ff6b4a;
  flex: 0 0 auto;
}

@media (max-width: 650px) {
  .bulk-buffer-notice {
    flex-direction: column;
  }
}

.bulk-buffer-check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  padding: 0 !important;
  margin: 3px 0 0 !important;
  border-radius: 4px !important;
  accent-color: #ff6b4a;
  flex: 0 0 16px;
}

.bulk-buffer-check span {
  color: #3f3540;
  font-weight: 750;
  line-height: 1.45;
  font-size: 15px;
}

.bulk-buffer-check-below-notes {
  margin-bottom: 8px;
}

.bulk-buffer-consent {
  grid-column: 1 / -1;
  margin-top: -6px;
  padding: 0 4px 8px;
}

.bulk-buffer-consent p {
  margin: 0 0 10px;
  color: #5f5865;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.bulk-buffer-consent .bulk-buffer-check {
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.bulk-buffer-consent .bulk-buffer-check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 4px !important;
  accent-color: #ff6b4a;
  flex: 0 0 16px;
}

.bulk-buffer-consent .bulk-buffer-check span {
  color: #2a1f28;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

/* ================= BULK FLOWER SPLIT SELECTION ================= */

.bulk-flower-pair-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bulk-optional-text {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: none;
}

.bulk-quantity-split-field {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bulk-quantity-split-field label,
.bulk-flower-pair-field label {
  min-width: 0;
}

.bulk-quantity-split-field input[readonly] {
  background: #fff8e8;
  color: #8a5a00;
  border-color: rgba(245, 158, 11, 0.28);
  cursor: not-allowed;
}

.bulk-quantity-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.bulk-quantity-2-wrap {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 760px) {
  .bulk-flower-pair-field,
  .bulk-quantity-split-field {
    grid-template-columns: 1fr;
  }
}