:root {
  --gelco-red: #9d0b10;
  --gelco-red-dark: #7b080c;
  --gelco-green: #1fce68;
  --gelco-border: #e3e5e8;
  --gelco-text: #232833;
  --gelco-muted: #697181;
}

.gelco-quote-widget,
.gelco-quote-modal { font-family: inherit; }

.gelco-quote-fab {
  position: fixed;
  right: 22px;
  bottom: 104px;
  z-index: 999991;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--gelco-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(86, 0, 4, .28);
  cursor: pointer;
  font-size: 24px;
}
.gelco-quote-fab .dayr-header__quote-icon { display: block; width: 32px; height: 32px; margin: auto; }
.gelco-quote-fab .dayr-header__quote-icon path { fill: #fff; }
.gelco-quote-count {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 20px;
  background: #f3a400;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
}

.gelco-quote-overlay {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  background: rgba(12, 16, 22, .52);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.gelco-quote-overlay.is-open { opacity: 1; visibility: visible; }
body.gelco-quote-drawer-open { overflow: hidden; }

.gelco-quote-panel {
  position: fixed;
  z-index: 1000001;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  height: 100vh;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .32s ease, visibility .32s ease;
}
.gelco-quote-panel.is-open { visibility: visible; transform: translateX(0); }
.gelco-quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--gelco-red);
  color: #fff;
}
.gelco-quote-header strong { display: block; font-size: 17px; }
.gelco-quote-header small { display: block; margin-top: 2px; }
.gelco-quote-close,
.gelco-quote-modal-close {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}
.gelco-quote-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px; }
.gelco-quote-empty { padding: 28px 16px; color: var(--gelco-muted); text-align: center; }
.gelco-quote-item {
  display: grid;
  grid-template-columns: 20px 1fr 24px;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--gelco-border);
  border-left: 3px solid var(--gelco-red);
  border-radius: 8px;
  background: #f7f8fa;
}
.gelco-quote-item-number { color: var(--gelco-red); font-size: 13px; font-weight: 800; text-align: center; }
.gelco-quote-item-copy strong,
.gelco-quote-item-copy span,
.gelco-quote-item-copy small { display: block; }
.gelco-quote-item-copy strong { color: var(--gelco-text); font-size: 13px; }
.gelco-quote-item-category { margin-top: 2px; color: var(--gelco-muted); font-size: 11px; }
.gelco-quote-item-copy .gelco-quote-measure { margin-top: 5px; color: #8d1216; font-size: 12px; font-weight: 700; }
.gelco-quote-measure::before { content: "⚑"; margin-right: 5px; }
.gelco-quote-item-copy small { margin-top: 2px; color: var(--gelco-muted); font-size: 11px; }
.gelco-quote-remove { align-self: start; border: 0; background: transparent; color: #9ba1aa; cursor: pointer; font-size: 18px; }
.gelco-quote-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.gelco-quote-qty button { width: 24px; height: 24px; padding: 0; border: 1px solid #d8dbe0; border-radius: 4px; background: #fff; cursor: pointer; }
.gelco-quote-form { border-top: 1px solid var(--gelco-border); margin-top: 16px; padding-top: 16px; }
.gelco-quote-form h3 { margin: 0 0 14px; color: #4d5564; font-size: 13px; text-transform: uppercase; }
.gelco-quote-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gelco-quote-form label,
.gelco-quote-modal label,
.gelco-quote-selector label { display: block; color: #535c6d; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.gelco-quote-form input,
.gelco-quote-form textarea,
.gelco-quote-modal select,
.gelco-quote-selector select {
  width: 100%;
  margin-top: 5px;
  padding: 10px 11px;
  border: 1px solid #dcdfe4;
  border-radius: 5px;
  background: #fff;
  color: var(--gelco-text);
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}
.gelco-quote-form textarea { resize: vertical; }
.gelco-quote-honeypot { position: absolute !important; left: -99999px !important; }
.gelco-quote-actions { display: grid; grid-template-columns: 100px 1fr; gap: 8px; margin-top: 14px; }
.gelco-quote-clear,
.gelco-quote-submit,
.gelco-quote-modal-cancel,
.gelco-quote-modal-add {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
.gelco-quote-clear,
.gelco-quote-modal-cancel { border: 1px solid #d8dce2; background: #fff; color: #5d6572; }
.gelco-quote-submit,
.gelco-quote-modal-add { background: var(--gelco-green); color: #fff; }
.gelco-quote-submit:disabled,
.gelco-quote-modal-add:disabled { cursor: not-allowed; opacity: .5; }
.gelco-quote-feedback,
.gelco-quote-modal-feedback { min-height: 18px; margin-top: 8px; color: #197344; font-size: 12px; }
.gelco-quote-feedback.is-error,
.gelco-quote-modal-feedback { color: #b11218; }

.gelco-quote-modal {
  position: fixed;
  z-index: 1000010;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gelco-quote-modal.is-open { display: flex; }
.gelco-quote-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 19, 26, .62); }
.gelco-quote-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border-top: 4px solid var(--gelco-red);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}
.gelco-quote-modal-close { position: absolute; top: 12px; right: 14px; color: #7b8491; }
.gelco-quote-modal-kicker { color: var(--gelco-red); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gelco-quote-modal h2 { margin: 8px 38px 8px 0; color: var(--gelco-text); font-size: 22px; }
.gelco-quote-modal p { color: var(--gelco-muted); }
.gelco-quote-modal select { min-height: 50px; border-color: var(--gelco-red); font-size: 14px; }
.gelco-quote-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.gelco-quote-modal-actions button { padding: 0 20px; }

.gelco-quote-pdp .product_title { margin-bottom: 16px; }
.gelco-quote-eyebrow { margin-bottom: 8px; color: var(--gelco-red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.gelco-quote-selector { margin-top: 20px; }
.gelco-quote-selector select { margin-bottom: 12px; min-height: 50px; }
.gelco-quote-selector .gelco-quote-add { width: 100%; min-height: 48px; border-radius: 5px; background: var(--gelco-red); color: #fff; }
.gelco-quote-single-configuration { margin: 8px 0 12px; padding: 12px; background: #f4f5f7; }
.gelco-quote-error { color: #b11218; }

@media (max-width: 600px) {
  .gelco-quote-fab { right: 14px; bottom: 92px; }
  .gelco-quote-panel { width: 100vw; }
  .gelco-quote-form-grid { grid-template-columns: 1fr; }
  .gelco-quote-modal-dialog { padding: 24px 18px 20px; }
}

