/**
 * WooCommerce Add to Quote - Styles
 * WoodMart Cart Design
 */

/* ========================================
   Add to Quote Button
   ======================================== */
.wc-atq-add-to-quote {
  margin-left: 10px;
  display: inline-block;
  padding: 12px 24px;
  background-color: #2f5f2a !important;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}
.wc-atq-add-to-quote {
  flex: none !important;
}

.wc-atq-add-to-quote:hover {
  background-color: #000 !important;
  color: #fff;
}

.wc-atq-add-to-quote-btn {
  min-height: 36px !important;
  background: rgb(46, 95, 42) !important;
  color: #fff !important;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    inset 0 -2px 0 #00000026 !important;
  flex: none !important;
  min-width: 150px;
  order: 50;
}

.wc-atq-add-to-quote-btn:hover {
  background: #000 !important;
}

.wc-atq-loop-button {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

/* ========================================
   Loading State - UPDATED WITH HIGHER SPECIFICITY
   ======================================== */
.wc-atq-spinner {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: wc-atq-spin 0.6s linear infinite !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
}

@keyframes wc-atq-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Button loading state - MAXIMUM SPECIFICITY */
body .wc-atq-add-to-quote-btn.wc-atq-loading,
body .wc-atq-add-to-quote-btn.wc-atq-loading:hover,
body .wc-atq-add-to-quote-btn.wc-atq-loading:focus,
body .wc-atq-add-to-quote-btn.wc-atq-loading:active,
.single-product .wc-atq-add-to-quote-btn.wc-atq-loading,
.woocommerce .wc-atq-add-to-quote-btn.wc-atq-loading,
.wc-atq-add-to-quote-btn.wc-atq-loading {
  background-color: #000000 !important;
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* Make sure spinner is visible */
.wc-atq-add-to-quote-btn.wc-atq-loading .wc-atq-spinner {
  display: inline-block !important;
  margin: 0 !important;
}

/* ========================================
   Quote Page Container
   ======================================== */
.wc-atq-quote-page {
  max-width: 100%;
  margin: 0 auto;
}

.wc-atq-empty-quote {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
}

/* ========================================
   Quote Items Table (Cart Style)
   ======================================== */
.wc-atq-quote-form-wrapper {
  margin-bottom: 30px;
}

.wc-atq-quote-page .shop_table {
  margin: 0 0 24px;
  text-align: left;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.wc-atq-quote-page .shop_table thead {
}

.wc-atq-quote-page .shop_table th {
  font-weight: 600;
  padding: 15px 20px;
  border-bottom: 2px solid #e5e5e5;
}

.wc-atq-quote-page .shop_table td {
  border-top: 1px solid #e5e5e5;
  padding: 15px 20px;
  vertical-align: middle;
}

.wc-atq-quote-page .shop_table tbody tr:first-child td {
  border-top: 0;
}

/* Product Remove */
.wc-atq-quote-page .product-remove {
  width: 50px;
  text-align: center;
}

.wc-atq-quote-page .product-remove .remove {
  display: block;
  font-size: 20px;
  height: 1.5em;
  width: 1.5em;
  text-align: center;
  line-height: 1.3;
  border-radius: 100%;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wc-atq-quote-page .product-remove .remove:hover {
}

/* Product Thumbnail */
.wc-atq-quote-page .product-thumbnail {
  width: 80px;
  text-align: center;
}

.wc-atq-quote-page .product-thumbnail img {
  width: 60px;
  height: auto;
  border-radius: 4px;
}

/* Product Name */
.wc-atq-quote-page .product-name {
  min-width: 250px;
}

.wc-atq-quote-page .product-name a {
  font-weight: 600;
  text-decoration: none;
  color: #333;
}

.wc-atq-quote-page .product-name a:hover {
  color: #2f5f2a;
}

.wc-atq-quote-page .product-name .variation {
  margin-top: 8px;
  font-size: 0.9em;
  color: #666;
}

.wc-atq-quote-page .product-name .variation dt {
  float: left;
  clear: both;
  margin-right: 5px;
  font-weight: 600;
}

.wc-atq-quote-page .product-name .variation dd {
  margin: 0 0 5px;
}

.wc-atq-quote-page .product-name .backorder_notification {
  color: #e74c3c;
  font-size: 0.9em;
  margin-top: 5px;
}

/* Product Price */
.wc-atq-quote-page .product-price {
  text-align: right;
}

/* Product Quantity */

/* Product Subtotal */
.wc-atq-quote-page .product-subtotal {
  text-align: right;
  font-weight: 600;
}

/* ========================================
   Cart Actions Row
   ======================================== */
.wc-atq-quote-page .wd-cart-action-row td {
  padding: 20px;
}

.wc-atq-quote-page .cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Zip Code Field */
.wc-atq-zip-code-field {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  max-width: 400px;
}

.wc-atq-zip-code-field input[type='text'] {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.wc-atq-zip-code-field input[type='text']:focus {
  outline: none;
  border-color: #2f5f2a;
}

.wc-atq-zip-code-field .button {
  padding: 10px 20px;
  white-space: nowrap;
  background-color: #2f5f2a;
  color: #fff;
  border-color: #2f5f2a;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wc-atq-zip-code-field .button:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

#wc-atq-quote-form .button {
  padding: 10px 20px;
  white-space: nowrap;
  background-color: #2f5f2a;
  color: #fff;
  border-color: #2f5f2a;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#wc-atq-quote-form .button:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* ========================================
   Quote Totals Sidebar
   ======================================== */
.wc-atq-quote-totals-wrapper {
  padding: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.wc-atq-quote-totals-wrapper h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 600;
}

.wc-atq-quote-totals-wrapper .shop_table {
  margin-bottom: 30px;
  border: none;
}

.wc-atq-quote-totals-wrapper .shop_table th,
.wc-atq-quote-totals-wrapper .shop_table td {
  padding: 15px 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
}

.wc-atq-quote-totals-wrapper .shop_table tr:last-child th,
.wc-atq-quote-totals-wrapper .shop_table tr:last-child td {
  border-bottom: none;
}

.wc-atq-quote-totals-wrapper .cart-subtotal th {
  font-weight: 600;
}

.wc-atq-quote-totals-wrapper .cart-subtotal td {
  text-align: right;
}

.wc-atq-quote-totals-wrapper .shipping th {
  font-weight: 600;
}

.wc-atq-quote-totals-wrapper .shipping td {
  text-align: right;
}

.wc-atq-quote-totals-wrapper .order-total {
  border-top: 2px solid #e5e5e5 !important;
}

.wc-atq-quote-totals-wrapper .order-total th {
  font-size: 16px !important;
  font-weight: 700;
  padding-top: 20px;
}

.wc-atq-quote-totals-wrapper .order-total td {
  font-size: 16px !important;
  font-weight: 700;
  text-align: right;
  padding-top: 20px;
  color: #2f5f2a;
}

/* ========================================
   Customer Details Form
   ======================================== */
.wc-atq-customer-details {
  margin-top: 30px;
}

.wc-atq-customer-details h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
}

.wc-atq-form-fields {
  margin-bottom: 20px;
}

.wc-atq-form-field {
  margin-bottom: 20px;
}

.wc-atq-form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.wc-atq-form-field .required {
  color: #e74c3c;
  text-decoration: none;
}

.wc-atq-form-field input[type='text'],
.wc-atq-form-field input[type='email'] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.wc-atq-form-field input:focus {
  outline: none;
  border-color: #2f5f2a;
  box-shadow: 0 0 0 1px #2f5f2a;
}

.wc-atq-form-field input[readonly] {
  background-color: #f5f5f5;
  color: #666;
  cursor: not-allowed;
}

.form-row-first,
.form-row-last {
  width: 48%;
  float: left;
}

.form-row-last {
  float: right;
}

.form-row-wide {
  clear: both;
  width: 100%;
}

/* ========================================
   Submit Button
   ======================================== */
.wc-atq-submit-button-wrapper {
  clear: both;
  margin-top: 20px;
}

.wc-atq-submit-quote-btn:disabled,
.wc-atq-submit-quote-btn.wc-atq-loading {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========================================
   Messages
   ======================================== */
.wc-atq-message {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  border-left: 4px solid;
}

.wc-atq-message.success {
  background-color: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.wc-atq-message.error {
  background-color: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

.woocommerce-info {
  background-color: #f0f8ff;
  border-top-color: #1e85be;
  color: #1e85be;
  padding: 1em 1.5em;
  margin: 0 0 2em;
  position: relative;
  border-radius: 4px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media screen and (max-width: 768px) {
  .wc-atq-quote-page .cart-actions {
    flex-direction: column;
  }

  .wc-atq-zip-code-field {
    max-width: 100%;
  }

  .form-row-first,
  .form-row-last {
    width: 100%;
    float: none;
  }

  .wc-atq-quote-page .shop_table thead {
    display: none;
  }

  /* .wc-atq-quote-page .shop_table tbody tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
  } */

  .wc-atq-quote-page .shop_table td {
    display: block;
    text-align: right;
    padding: 10px 15px;
    border-top: none;
  }

  .wc-atq-quote-page .shop_table td:first-child {
    border-top: none;
  }

  .wc-atq-quote-page .shop_table td:before {
    content: attr(data-title);
    float: left;
    font-weight: 600;
    margin-inline-end: 50px;
  }

  .wc-atq-quote-page .product-remove:before,
  .wc-atq-quote-page .product-thumbnail:before {
    content: '';
  }

  .wc-atq-quote-page .product-thumbnail {
    text-align: center;
  }

  .wc-atq-quote-page .product-thumbnail img {
    width: 100px;
  }

  .wc-atq-quote-page .product-name {
    text-align: left !important;
  }

  .wc-atq-quote-page .product-quantity {
    text-align: center;
  }

  .wc-atq-quote-page .wd-cart-action-row {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .wc-atq-quote-totals-wrapper {
    padding: 20px 15px;
  }

  .wc-atq-zip-code-field {
    flex-direction: column;
  }

  .wc-atq-zip-code-field .button {
    width: 100%;
  }
}

/* ========================================
   Loading State - General
   ======================================== */
.wc-atq-loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.wc-atq-loading:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #2f5f2a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   My Account - Quote Actions
   ======================================== */
.woocommerce-orders-table .order-actions .button {
  margin: 0 5px 5px 0;
}

/* ========================================
   Admin Styles
   ======================================== */
.post-type-shop_order .column-order_status mark.quote-pending {
  background-color: #f8dda7;
  color: #94660c;
}

.post-type-shop_order .column-order_status mark.quote-pending:after {
  font-family: WooCommerce;
  speak: never;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  text-indent: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  content: '\e033';
}

/* ========================================
   Collaterals Layout
   ======================================== */
.cart-collaterals {
  margin-top: 30px;
}

/* Two-column layout for desktop */
@media screen and (min-width: 769px) {
  .wc-atq-quote-page {
    display: block;
  }

  .wc-atq-quote-page > .woocommerce-cart-form {
    float: left;
    width: 65%;
    margin-right: 3%;
  }

  .cart-collaterals {
    float: right;
    width: 32%;
    margin-top: 0;
  }

  .wc-atq-quote-totals-wrapper {
    width: 100%;
  }

  /* Clear float after both sections */
  .wc-atq-quote-page::after {
    content: '';
    display: table;
    clear: both;
  }
}

/* ========================================
   Success State for Button
   ======================================== */
.wc-atq-add-to-quote-btn.added {
  background: #28a745 !important;
}

.wc-atq-message a {
  color: inherit;
  text-decoration: underline;
}

.wc-atq-message a:hover {
  opacity: 0.8;
}

/* ========================================
   My Account - Quotes
   ======================================== */
.wc-atq-my-account-quotes {
  margin: 20px 0;
}

.wc-atq-my-account-quotes h2 {
  margin-bottom: 20px;
}

/* Status badges */
.order-status.status-pending {
  background-color: #f8dda7;
  color: #94660c;
}

.order-status.status-approved {
  background-color: #c8d7e1;
  color: #2e4453;
}

.order-status.status-rejected {
  background-color: #eba3a3;
  color: #761919;
}

.order-status.status-converted {
  background-color: #c6e1c6;
  color: #5b841b;
}

/* Single Quote View */
.wc-atq-single-quote {
  max-width: 800px;
  margin: 0 auto;
}

.wc-atq-single-quote h2 {
  margin-bottom: 10px;
}

.wc-atq-single-quote .quote-date,
.wc-atq-single-quote .quote-status {
  margin-bottom: 10px;
}

.wc-atq-single-quote h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.wc-atq-single-quote .shop_table {
  margin-bottom: 20px;
}

.wc-atq-single-quote address {
  background: #f7f7f7;
  padding: 15px;
  border-radius: 4px;
  font-style: normal;
}

.wc-atq-single-quote .variation {
  margin-top: 5px;
  font-size: 0.9em;
}

.wc-atq-single-quote .variation dt {
  float: left;
  clear: both;
  margin-right: 5px;
  font-weight: 600;
}

.wc-atq-single-quote .variation dd {
  margin: 0 0 5px;
}

/* ========================================
   My Account - Quote Action Buttons Styling
   ======================================== */

/* Style all quote action buttons like add to quote button */
.woocommerce-orders-table .woocommerce-button.button.view,
.woocommerce-orders-table .woocommerce-button.button.pay,
.woocommerce-orders-table .woocommerce-button.button.edit,
.woocommerce-orders-table .woocommerce-button.button.delete,
.woocommerce-MyAccount-quote-actions .woocommerce-button.button,
.woocommerce-MyAccount-quote-actions .woocommerce-button.button.alt,
.view-order {
  min-height: 36px !important;
  background: rgb(46, 95, 42) !important;
  color: #fff !important;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    inset 0 -2px 0 #00000026 !important;
  flex: none !important;
  min-width: 80px;
  padding: 8px 16px;
  margin: 0 5px 5px 0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.view-order {
  margin-top: 20px;
}
.woocommerce-orders-table .woocommerce-button.button.view:hover,
.woocommerce-orders-table .woocommerce-button.button.pay:hover,
.woocommerce-orders-table .woocommerce-button.button.edit:hover,
.woocommerce-orders-table .woocommerce-button.button.delete:hover,
.woocommerce-MyAccount-quote-actions .woocommerce-button.button:hover,
.woocommerce-MyAccount-quote-actions .woocommerce-button.button.alt:hover,
view-order:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Delete button - red variant */
.woocommerce-orders-table .woocommerce-button.button.delete,
.woocommerce-MyAccount-quote-actions .woocommerce-button.button.delete {
  background: #dc3545 !important;
}

.woocommerce-orders-table .woocommerce-button.button.delete:hover,
.woocommerce-MyAccount-quote-actions .woocommerce-button.button.delete:hover {
  background: #c82333 !important;
}

/* Pay button - make it stand out more */
.woocommerce-orders-table .woocommerce-button.button.pay,
.woocommerce-MyAccount-quote-actions .woocommerce-button.button.alt {
  background: rgb(46, 95, 42) !important;
  font-weight: 600;
}

/* Responsive - stack buttons on mobile */
@media screen and (max-width: 768px) {
  .woocommerce-orders-table .woocommerce-button.button {
    display: block;
    width: 100%;
    margin: 0 0 5px 0;
  }

  .woocommerce-MyAccount-quote-actions .woocommerce-button.button {
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
  }

  .woocommerce-MyAccount-quote-actions .woocommerce-button.button:last-child {
    margin-bottom: 0;
  }
}

/* Single quote page actions */
.wc-atq-single-quote .woocommerce-MyAccount-quote-actions {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.wc-atq-single-quote .woocommerce-MyAccount-quote-actions .button {
  margin-right: 10px;
  margin-bottom: 10px;
}

.wc-atq-single-quote .woocommerce-MyAccount-quote-actions .button:last-child {
  margin-right: 0;
}

.order-status.status-converted {
  background-color: #c6e1c6;
  color: #5b841b;
}

.tax-total td {
  text-align: right !important;
}

/* Tax note styling */
.includes-tax {
  color: #666;
  font-style: italic;
  font-size: 16px !important;
}

/* ========================================
   Single Quote Product Thumbnails
   ======================================== */
.wc-atq-single-quote .product-thumbnail {
  width: 80px;
  text-align: center;
}

.wc-atq-single-quote .product-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
}

/* Responsive adjustments for single quote */
@media screen and (max-width: 768px) {
  .wc-atq-single-quote .shop_table thead {
    display: none;
  }

  .wc-atq-single-quote .shop_table tbody tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 10px;
  }

  .wc-atq-single-quote .shop_table td {
    display: block;
    text-align: left;
    padding: 10px 0;
    border: none;
  }

  .wc-atq-single-quote .shop_table td:before {
    content: attr(data-title) ': ';
    font-weight: 600;
    display: inline-block;
    margin-right: 5px;
  }

  .wc-atq-single-quote .product-thumbnail {
    text-align: center;
    width: 100%;
  }

  .wc-atq-single-quote .product-thumbnail:before {
    content: '';
  }

  .wc-atq-single-quote .product-thumbnail img {
    width: 100px;
    height: 100px;
  }

  /* Quote page */

  /* Global */
  .wc-atq-quote-page .shop_table_responsive tr {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--brdcolor-gray-300);
  }
  .wc-atq-quote-page .shop-table-with-img tr {
    padding-inline-start: 115px;
    min-height: 136px;
  }
  .wc-atq-quote-page .shop_table_responsive td {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 0;
    border-bottom: none;
  }
  .wc-atq-quote-page .shop_table td.product-remove:before,
  .wc-atq-quote-page .shop_table td.product-thumbnail:before,
  .wc-atq-quote-page .shop_table td.product-name:before,
  .wc-atq-quote-page .wd-cart-action-row .actions:before {
    display: none;
  }
  .wc-atq-quote-page .shop_table_responsive td:not(:last-child) {
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--brdcolor-gray-300);
  }
  /* .wc-atq-quote-page .shop_table_responsive {
    margin: 0 0 24px;
  } */
  .wc-atq-quote-page .wc-atq-quote-form-wrapper {
    margin-bottom: 15px;
  }
  .wc-atq-quote-page .cart-collaterals {
    margin-top: 0;
  }

  /* Product details table */
  .wc-atq-quote-page .shop-table-with-img td.product-remove {
    position: absolute;
    top: -4px;
    inset-inline-end: -7px;
    z-index: 1;
    border: none;
    justify-content: flex-end;
    right: 50px;
  }

  .wc-atq-quote-page .shop-table-with-img td.product-thumbnail {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    overflow: hidden;
    max-height: 115px;
    border: none;
    border-radius: calc(var(--wd-brd-radius) / 1.5);
  }
  .wc-atq-quote-page .shop-table-with-img td.product-thumbnail img {
    min-width: 100px;
    max-width: 100px;
  }
  .wc-atq-quote-page .shop-table-with-img td.product-name {
    padding-inline-end: 20px;
    border-bottom: none;
  }
  /* .wc-atq-quote-page .shop-table-with-img td:first-child {
    margin-bottom
  } */
  .wc-atq-quote-page .shop_table_responsive td.product-name,
  .wc-atq-quote-page .shop_table_responsive .order-total td {
    display: block;
  }
  .wc-atq-quote-page .shop-table-with-img td.product-quantity div.quantity {
    --wd-form-height: 30px;
  }

  /* Calculate shipping */
  .wc-atq-quote-page .woocommerce-cart-form > .cart .wd-cart-action-row {
    padding: 0;
    border-bottom: none;
    min-height: auto;
  }
  .wc-atq-quote-page .woocommerce-cart-form > .cart .wd-cart-action-row td {
    border-bottom: none;
    padding: 0;
    padding-inline-end: 0;
    text-align: end;
    padding-inline-start: 0;
  }
  .wc-atq-quote-page .woocommerce-cart-form > .cart .cart-actions {
    flex: 1 1 auto;
    align-items: stretch;
    flex-direction: column;
    margin-top: 15px;
  }
  .wc-atq-quote-page .wc-atq-zip-code-field {
    padding: 25px;
    border: 2px dashed var(--brdcolor-gray-300);
    border-radius: var(--wd-brd-radius);
    margin-right: 20px;
  }

  /* Subtotal and total */
  .wc-atq-quote-page .cart-collaterals th {
    display: none;
  }
  .wc-atq-quote-page .wc-atq-quote-totals-wrapper .order-total {
    border-top: none !important;
  }
  .wc-atq-quote-page .wc-atq-quote-totals-wrapper td::before {
    color: var(--wd-title-color);
    font-weight: var(--wd-title-font-weight);
    font-style: var(--wd-title-font-style);
    font-family: var(--wd-title-font);
  }
  .wc-atq-quote-page .wc-atq-quote-totals-wrapper .includes-tax {
    font-size: 80% !important;
  }
}

/* Quote Menu Counter Styles */
.wc-atq-menu-count {
  display: inline-block;
  margin-left: 5px;
  width: 20px; /* Add fixed width */
  height: 20px; /* Add fixed height (same as width) */
  padding: 0; /* Remove padding or use equal padding */
  background-color: rgb(234, 170, 0);
  color: #000;
  border-radius: 50%; /* Changed to 50% (or keep 50px, both work) */
  font-size: 0.85em;
  font-weight: 600;
  line-height: 20px; /* Match the height for vertical centering */
  text-align: center; /* Center text horizontally */
  vertical-align: middle;
}

#menu-item-126851 {
  margin-bottom: 0;
  background-color: #2e5f2a;
  border-radius: 6px;
  padding: 0px 20px;
  color: #fff;
}

#menu-item-126851:hover {
  background-color: rgb(234, 170, 0);
  color: #000;
}

#menu-item-126851:hover .wc-atq-menu-count {
  background-color: #000;
  color: #fff;
}

#menu-item-126851 .wc-atq-menu-count {
  color: #000;
}

#menu-item-126851:hover .nav-link-text {
  color: #000;
}

#menu-item-126851 .nav-link-text {
  color: #fff;
}

/* Target only the quote notice */
.woocommerce-info:has(.quote-login-text),
.woocommerce-info:has(.quote-login-text)::before {
  color: #000 !important;
}

/* Style Quote count badge like Cart */
.wd-toolbar-link-1 {
  position: relative;
}

.wd-toolbar-link-1 .wd-cart-number2 {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 15px;
  height: 15px;
  background-color: rgb(
    234,
    170,
    0
  ); /* Orange background - adjust to match your theme */
  color: #000;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-toolbar-link-1 .wd-cart-number2 span {
  display: none; /* Hide the "item" text */
}

/* Make sure the icon container is positioned relatively */
.wd-toolbar-link-1 a {
  position: relative;
  display: inline-block;
}
