.quote-page {
  padding: 48px 0 80px;
}

.quote-page__header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--color-red);
}

.quote-page__title {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--color-dark);
  margin: 0;
}

.quote-page .elex-rqst-quote-front-wrap,
.quote-page .elex-rqst-quote-front-wrap p,
.quote-page .elex-rqst-quote-front-wrap span,
.quote-page .elex-rqst-quote-front-wrap div,
.quote-page .elex-rqst-quote-front-wrap td,
.quote-page .elex-rqst-quote-front-wrap th,
.quote-page .elex-rqst-quote-front-wrap label,
.quote-page .elex-rqst-quote-front-wrap input,
.quote-page .elex-rqst-quote-front-wrap select,
.quote-page .elex-rqst-quote-front-wrap textarea,
.quote-page .elex-rqst-quote-front-wrap button {
  font-family: var(--font-primary);
}

.quote-page .elex-rqst-quote-front-wrap {
  max-width: none !important;
  color: var(--color-gray-dark);
}

.quote-page .elex-rqst-quote-front-wrap .container {
  max-width: none;
  width: 100%;
  padding: 0;
}

.quote-page .elex-rqst-quote-front-wrap h1,
.quote-page .elex-rqst-quote-front-wrap h2,
.quote-page .elex-rqst-quote-front-wrap h3,
.quote-page .elex-rqst-quote-front-wrap h4,
.quote-page .elex-rqst-quote-front-wrap h5 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-dark);
}

.quote-page .elex-rqst-quote-front-wrap h2 {
  font-size: 24px;
}

.quote-page .elex-rqst-quote-front-wrap h3 {
  font-size: 20px;
}

.quote-page .elex-rqst-quote-front-wrap h4,
.quote-page .elex-rqst-quote-front-wrap h5 {
  font-size: 17px;
}

.quote-page .elex-rqst-quote-front-wrap .quote_list_page,
.quote-page .elex-rqst-quote-front-wrap .quote_list_form {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap .bg-secondary.bg-opacity-10 {
  background-color: var(--color-gray-light) !important;
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.quote-page .elex-rqst-quote-front-wrap .bg-secondary.bg-opacity-10 h6 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-dark);
  margin: 0;
}

.quote-page .elex-rqst-quote-front-wrap .elex-raq-quote-details-container {
  border-color: var(--color-border) !important;
}

.quote-page .elex-rqst-quote-front-wrap .elex-raq-quote-details-container a {
  color: var(--color-dark);
  font-weight: 600;
  text-decoration: none;
}

.quote-page .elex-rqst-quote-front-wrap .elex-raq-quote-details-container a:hover {
  color: var(--color-red);
}

.quote-page .elex-rqst-quote-front-wrap .elex-raq-icon {
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
}

.quote-page .elex-rqst-quote-front-wrap .elex-raq-icon .ratio {
  width: 64px;
  height: 64px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  overflow: hidden;
}

.quote-page .elex-rqst-quote-front-wrap .elex-raq-icon img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .quote-page .elex-rqst-quote-front-wrap .elex-raq-icon,
  .quote-page .elex-rqst-quote-front-wrap .elex-raq-icon .ratio {
    flex-basis: 52px;
    width: 52px;
    min-width: 52px;
  }

  .quote-page .elex-rqst-quote-front-wrap .elex-raq-icon .ratio {
    height: 52px;
  }
}

.quote-page .elex-rqst-quote-front-wrap .prb-qty {
  display: flex;
  align-items: stretch;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap .prb-qty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 40px;
  padding: 0;
  border: none;
  background: var(--color-gray-light);
  color: var(--color-dark);
  font-size: 0.7rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.quote-page .elex-rqst-quote-front-wrap .prb-qty__btn:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap .prb-qty .product_quantity {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  padding: 8px 4px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-radius: 0;
  font-weight: 600;
  -moz-appearance: textfield;
}

.quote-page .elex-rqst-quote-front-wrap .prb-qty .product_quantity:focus {
  box-shadow: none;
  border-color: var(--color-border);
}

.quote-page .elex-rqst-quote-front-wrap .prb-qty .product_quantity::-webkit-inner-spin-button,
.quote-page .elex-rqst-quote-front-wrap .prb-qty .product_quantity::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quote-page .elex-rqst-quote-front-wrap .prb-qty .product_quantity:disabled {
  background: var(--color-gray-light);
  color: var(--color-gray-medium);
}

.quote-page .elex-rqst-quote-front-wrap .product_quantity {
  max-width: 90px;
  text-align: center;
}

.quote-page .elex-rqst-quote-front-wrap .remove_product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent !important;
  color: var(--color-gray);
  transition: all var(--transition-fast);
}

.quote-page .elex-rqst-quote-front-wrap .remove_product:hover {
  background: rgba(191, 30, 46, 0.08) !important;
  border-color: rgba(191, 30, 46, 0.25);
  color: var(--color-red);
}

.quote-page .elex-rqst-quote-front-wrap .remove_product svg {
  width: 15px;
  height: auto;
  overflow: visible;
}

.quote-page .elex-rqst-quote-front-wrap .remove_product svg path,
.quote-page .elex-rqst-quote-front-wrap .remove_product svg line {
  stroke: currentColor;
}

.quote-page .elex-rqst-quote-front-wrap table {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap thead th {
  background: var(--color-gray-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-dark);
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.quote-page .elex-rqst-quote-front-wrap tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

.quote-page .elex-rqst-quote-front-wrap tbody tr:last-child td {
  border-bottom: none;
}

.quote-page .elex-rqst-quote-front-wrap tbody tr:hover td {
  background: var(--color-cream);
}

.quote-page .elex-rqst-quote-front-wrap tbody img {
  max-width: 72px;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.quote-page .elex-rqst-quote-front-wrap .btn,
.quote-page .elex-rqst-quote-front-wrap button.button {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition);
}

.quote-page .elex-rqst-quote-front-wrap .btn-primary,
.quote-page .elex-rqst-quote-front-wrap .btn-primary:focus {
  background-image: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  background-color: var(--color-red) !important;
  border-color: var(--color-red);
  color: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
  color: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap .btn-secondary,
.quote-page .elex-rqst-quote-front-wrap .btn-outline-primary,
.quote-page .elex-rqst-quote-front-wrap .btn-outline-secondary {
  background-color: transparent !important;
  background-image: none;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.quote-page .elex-rqst-quote-front-wrap .btn-secondary:hover,
.quote-page .elex-rqst-quote-front-wrap .btn-outline-primary:hover,
.quote-page .elex-rqst-quote-front-wrap .btn-outline-secondary:hover {
  background-color: var(--color-dark) !important;
  color: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap .btn-danger {
  background-color: var(--color-red) !important;
  border-color: var(--color-red);
  color: var(--color-white);
}

.quote-page .elex-rqst-quote-front-wrap input[type="text"],
.quote-page .elex-rqst-quote-front-wrap input[type="email"],
.quote-page .elex-rqst-quote-front-wrap input[type="tel"],
.quote-page .elex-rqst-quote-front-wrap input[type="number"],
.quote-page .elex-rqst-quote-front-wrap input[type="url"],
.quote-page .elex-rqst-quote-front-wrap select,
.quote-page .elex-rqst-quote-front-wrap textarea,
.quote-page .elex-rqst-quote-front-wrap .form-control,
.quote-page .elex-rqst-quote-front-wrap .form-select {
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.quote-page .elex-rqst-quote-front-wrap input:focus,
.quote-page .elex-rqst-quote-front-wrap select:focus,
.quote-page .elex-rqst-quote-front-wrap textarea:focus,
.quote-page .elex-rqst-quote-front-wrap .form-control:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(191, 30, 46, 0.12);
  outline: none;
}

.quote-page .elex-rqst-quote-front-wrap label,
.quote-page .elex-rqst-quote-front-wrap .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.quote-page .elex-rqst-quote-front-wrap td input[type="number"] {
  max-width: 90px;
  padding: 8px 10px;
  text-align: center;
}

.quote-page .elex-rqst-quote-front-wrap .card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.quote-page .elex-rqst-quote-front-wrap .card-header {
  background: var(--color-gray-light);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.quote-page .elex-rqst-quote-front-wrap ul:not([class]) li,
.quote-page .elex-rqst-quote-front-wrap ol:not([class]) li {
  list-style: revert;
}

.quote-page .elex-rqst-quote-front-wrap .text-end {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--color-gray-medium);
}

@media (max-width: 782px) {
  .quote-page {
    padding: 32px 0 56px;
  }

  .quote-page__title {
    font-size: 28px;
  }

  .quote-page .elex-rqst-quote-front-wrap .container {
    padding: 0;
  }

  .quote-page .elex-rqst-quote-front-wrap table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.quote-page .elex-rqst-quote-front-wrap #quote_list:not(:has(*)) {
  position: relative;
  min-height: 300px;
}

.quote-page .elex-rqst-quote-front-wrap #quote_list:not(:has(*))::before {
  content: "";
  position: absolute;
  top: 110px;
  left: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-red);
  border-radius: 50%;
  animation: prb-spin 0.8s linear infinite;
}

.quote-page .elex-rqst-quote-front-wrap #quote_list:not(:has(*))::after {
  content: "Loading your quote list…";
  position: absolute;
  top: 162px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.quote-received {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-dark);
}

.quote-received ol {
  margin: 16px 0 20px;
  padding-left: 22px;
}

.quote-received li {
  margin-bottom: 10px;
}

.quote-received a:not(.btn) {
  color: var(--color-red);
}

.quote-received__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
