/* Odoro Quote UI — values come from the GreenLight design system. */
#wc-quote-li.wc-quote-li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
#wc-quote-li.wc-quote-li > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: var(--size-control);
  color: var(--color-text);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-button);
  line-height: var(--line-height-button);
  letter-spacing: var(--letter-spacing-button);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition-standard);
}
#wc-quote-li.wc-quote-li > a:hover,
#wc-quote-li.wc-quote-li > a:focus-visible { color: var(--color-brand); }
#wc-quote-li.wc-quote-li > a:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 4px;
}
#wc-quote-li.wc-quote-li svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  color: var(--color-brand);
  flex: 0 0 auto;
}
#wc-quote-li .totalitems { white-space: nowrap; }
#wc-quote-li .mini-quote-dropdown,
#wc-quote-li:hover .mini-quote-dropdown,
#wc-quote-li:focus-within .mini-quote-dropdown {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.woocommerce-quote .entry-content {
  width: min(100%, var(--content-width));
  padding-inline: var(--space-edge);
}
body.woocommerce-quote .wc-quote-form,
body.woocommerce-quote .wcquote {
  color: var(--color-text);
  font-family: var(--font-family-body);
}
body.woocommerce-quote .wc-quote-form {
  display: grid;
  gap: var(--space-content);
}
body.woocommerce-quote .wc-quote-form__contents,
body.woocommerce-quote .shop_table,
body.woocommerce-quote .table_quote_totals {
  width: 100%;
  margin: 0;
  border: var(--border-default);
  border-collapse: collapse;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-none);
}
body.woocommerce-quote .shop_table th,
body.woocommerce-quote .shop_table td,
body.woocommerce-quote .table_quote_totals th,
body.woocommerce-quote .table_quote_totals td {
  padding: var(--space-content-mobile);
  border: 0;
  border-bottom: var(--border-default);
  vertical-align: middle;
}
body.woocommerce-quote .shop_table thead th,
body.woocommerce-quote .table_quote_totals th {
  background: var(--color-surface-subtle);
  color: var(--color-heading);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-button);
  letter-spacing: var(--letter-spacing-button);
  line-height: var(--line-height-button);
  text-transform: uppercase;
}
body.woocommerce-quote .product-thumbnail img {
  width: 72px;
  height: 88px;
  padding: 6px;
  object-fit: contain;
  background: var(--color-surface-subtle);
}
body.woocommerce-quote .product-name a {
  color: var(--color-text);
  font-family: var(--font-family-alternate);
  font-weight: 500;
  text-decoration: none;
}
body.woocommerce-quote .product-name a:hover,
body.woocommerce-quote .product-name a:focus-visible { color: var(--color-brand); }
body.woocommerce-quote .wc_quote_fields {
  padding: var(--space-content);
  border: var(--border-default);
  background: var(--color-surface-subtle);
}
body.woocommerce-quote .wc_quote_fields label {
  color: var(--color-heading);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-button);
  letter-spacing: var(--letter-spacing-button);
  text-transform: uppercase;
}
body.woocommerce-quote .wc_quote_fields input,
body.woocommerce-quote .wc_quote_fields textarea,
body.woocommerce-quote input.qty {
  border: 1px solid var(--color-form-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-none);
}
body.woocommerce-quote .wc_quote_fields input:focus,
body.woocommerce-quote .wc_quote_fields textarea:focus,
body.woocommerce-quote input.qty:focus {
  border-color: var(--color-brand);
  outline: 2px solid var(--color-brand);
  outline-offset: 1px;
}
body.woocommerce-quote .wc-proceed-to-checkout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
body.woocommerce-quote .button,
body.woocommerce-quote .wp-element-button,
body.woocommerce-quote .send_quote_button,
body.woocommerce-quote .wc_quote_update_quote_btn {
  min-height: var(--size-control);
  padding: 0 var(--space-button-x) !important;
  border: 2px solid var(--color-black) !important;
  border-radius: var(--radius-control) !important;
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  font-family: var(--font-family-ui) !important;
  font-size: var(--font-size-button) !important;
  font-weight: var(--font-weight-button) !important;
  letter-spacing: var(--letter-spacing-button) !important;
  line-height: var(--size-control) !important;
  text-transform: uppercase;
  transition: background var(--transition-standard), border-color var(--transition-standard);
}
body.woocommerce-quote .button:hover,
body.woocommerce-quote .button:focus-visible,
body.woocommerce-quote .wp-element-button:hover,
body.woocommerce-quote .wp-element-button:focus-visible {
  border-color: var(--color-brand) !important;
  background: var(--color-brand) !important;
  color: var(--color-black) !important;
}
body.woocommerce-quote .woocommerce-info,
body.woocommerce-quote .woocommerce-message,
.woocommerce-message .browse_list {
  border: 0;
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-control);
  background: var(--color-surface-subtle);
  color: var(--color-text);
}

@media (max-width: 1000px) {
  body.woocommerce-quote .entry-content { padding-inline: var(--space-edge-tablet); }
}
@media (max-width: 690px) {
  body.woocommerce-quote .entry-content { padding-inline: var(--space-edge-mobile); }
  body.woocommerce-quote .woocommerce-cart-form { max-width: 100%; overflow-x: auto; }
  body.woocommerce-quote .wc_quote_fields { padding: var(--space-content-mobile); }
  body.woocommerce-quote .wc-proceed-to-checkout { display: grid; grid-template-columns: 1fr; }
  body.woocommerce-quote .wc-proceed-to-checkout .button { width: 100%; text-align: center; }
  #wc-quote-li.wc-quote-li > a { gap: 7px; font-size: 10px; letter-spacing: 1px; }
}
