.whb-header a[data-fs-quote-count]{position:relative}
.whb-header a[data-fs-quote-count]::after,.whb-mobile-right a.fs-header-quote[data-fs-quote-count]::after{content:attr(data-fs-quote-count);display:block!important;position:absolute;top:0;right:-4px;padding:2px 4px;background:#2f4281;color:white;border-radius:12px;font:600 10px/1 sans-serif}
#yith-ywrq-table-list td.product-quantity .quantity{display:inline-flex!important;flex-flow:row nowrap;align-items:stretch;width:auto;max-width:100%;border:1px solid #ddd;border-radius:2rem;overflow:hidden}
#yith-ywrq-table-list td.product-quantity .quantity input{box-sizing:border-box;width:2em!important;min-width:0!important;height:36px!important;padding:0!important;text-align:center;border-radius:0}
#yith-ywrq-table-list td.product-quantity .quantity input.qty{width:2.5em!important}
.fs-auto-quote #yith-ywraq-form [name="update_raq"],.fs-auto-quote #yith-ywraq-form [name="update_raq_list"]{display:none!important}
.yith-ywraq-mail-form-wrapper [type="submit"],#yith-ywraq-default-form [type="submit"]{background:#2f4281!important;color:white!important;border-radius:2rem}

#yith-ywrq-table-list td.product-name a,#yith-ywrq-table-list td.product-price .amount{color:#2f4281;font-weight:700}
#yith-ywrq-table-list .fs-quote-option td.product-name a,#yith-ywrq-table-list .fs-quote-option td.product-price .amount{font-weight:400}
#yith-ywrq-table-list .fs-quote-option td.product-name a::before{content:"↳ ";color:#9da5b1}

.whb-header a[data-fs-quote-count]::after {top:var(--fs-badge-top, 10px)!important}
#yith-ywrq-table-list td.product-quantity .quantity {
  display:inline-flex!important; align-items:stretch!important; justify-content:center;
  box-sizing:border-box; padding:0!important; height:40px!important; width:auto!important;
  flex-wrap:nowrap!important; gap:0; background:white;
}
#yith-ywrq-table-list td.product-quantity .quantity :is(input,button) {
  flex:0 0 auto; box-sizing:border-box; align-self:stretch; position:static!important;
  height:100%!important; min-height:0!important; margin:0!important; padding:0!important;
  border:0!important; border-radius:0!important; background:transparent!important; line-height:normal!important;
}
#yith-ywrq-table-list td.product-quantity .quantity input.qty {
  border-inline:1px solid #ddd!important; text-align:center!important; appearance:textfield;
}
#yith-ywrq-table-list input.qty::-webkit-inner-spin-button {appearance:none}
#yith-ywrq-table-list .fs-quote-ttc,#yith-ywrq-table-list .fs-quote-ttc * {color:#171717!important;font-weight:700!important;white-space:nowrap}
.fs-quote-actions {display:flex;flex-flow:row wrap;align-items:center;gap:10px}
.fs-quote-actions :is([type="submit"],a) {box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;min-height:48px;padding:0 20px!important;border:0;border-radius:32px!important;font-size:inherit}
.fs-quote-return.button {background:#2f4281!important;color:#fff!important;border-radius:99px!important}

@media (max-width:767px) {
  #yith-ywraq-form, #yith-ywrq-table-list, #yith-ywrq-table-list :is(tbody,tfoot) {
    display:block; box-sizing:border-box; width:100%; min-width:0; max-width:100%;
  }
  #yith-ywrq-table-list thead {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%)}
  #yith-ywrq-table-list tr.cart_item {
    display:grid!important; grid-template-columns:24px 44px minmax(0,1fr) auto;
    grid-template-areas:"remove thumbnail name name" ". quantity quantity price";
    gap:8px; align-items:center; padding:12px 0; border-bottom:1px solid #ddd;
  }
  #yith-ywrq-table-list tr.cart_item > td {
    width:auto!important; min-width:0!important; padding:0!important; border:0; float:none;
  }
  #yith-ywrq-table-list tr.cart_item .product-thumbnail {
    display:block!important; grid-area:thumbnail; align-self:start; text-align:center;
  }
  #yith-ywrq-table-list tr.cart_item .product-thumbnail::before {display:none!important}
  #yith-ywrq-table-list tr.cart_item .product-thumbnail img {
    display:block; width:44px; max-width:100%; height:44px; margin:0; object-fit:contain;
  }
  #yith-ywrq-table-list .product-remove {grid-area:remove; align-self:start}
  #yith-ywrq-table-list tr.cart_item .product-name {grid-area:name; text-align:start; overflow-wrap:anywhere}
  #yith-ywrq-table-list tr.cart_item .product-quantity {grid-area:quantity; text-align:start}
  #yith-ywrq-table-list tr.cart_item :is(.product-price,.product-subtotal,.product-total) {grid-area:price; text-align:end}
  #yith-ywrq-table-list .fs-quote-summary {
    display:flex!important; flex-wrap:wrap; align-items:baseline; justify-content:space-between;
    gap:8px; padding:14px 0;
  }
  #yith-ywrq-table-list .fs-quote-summary > :not(.fs-quote-total-label,.fs-quote-total-value,.fs-shipping-label,.fs-shipping-value) {display:none}
  #yith-ywrq-table-list .fs-quote-summary > :is(.fs-quote-total-label,.fs-quote-total-value,.fs-shipping-label,.fs-shipping-value) {
    display:block; width:auto!important; min-width:0; padding:0!important; border:0;
  }
  #yith-ywrq-table-list :is(.fs-quote-total-value,.fs-shipping-value) {margin-inline-start:auto; text-align:end}
  #yith-ywrq-table-list .fs-quote-ttc {display:block}
}
