/* cart.css */
body {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding-bottom: 0 !important;
}

/* Cart page reference layout. The mobile reference is a long page, not a
   stitched overlay: each cart row appears once and the summary follows it. */
.announcement-bar {
  display: none !important;
}

.header-container {
  width: min(calc(100% - 260px), 1788px);
  height: 72px;
}

.site-nav {
  gap: 12px;
}

.site-nav a {
  font-size: 16px;
  padding: 8px 10px;
}

.header-cart {
  position: relative;
}

.header-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #202124;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

.header-cart-count[hidden] {
  display: none;
}

.cart-page-container {
  width: calc(100% - 80px);
  max-width: 1508px;
  margin: 38px auto 40px;
  padding: 0;
}

.cart-header {
  margin-bottom: 80px;
}

.cart-header h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
  text-align: left;
}

.cart-header p,
.cart-progress-bar {
  display: none !important;
}

.cart-header p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 18px;
}

.cart-progress-bar {
  width: 498px;
  max-width: 100%;
  height: 4px;
  border-radius: 999px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(48px, 6vw, 104px);
}

.cart-items-header {
  padding-bottom: 28px;
  margin-bottom: 36px;
  font-size: 18px;
}

.cart-items-header .qty-col {
  width: 156px;
}

.cart-items-header .total-col {
  width: 100px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid #eaeaea;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px 100px;
  gap: 0;
  align-items: start;
  padding: 0;
  margin: 0;
  border: 0;
}

.cart-item-info {
  min-width: 0;
  gap: 24px;
}

.cart-item-info img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.cart-item-details {
  gap: 6px;
}

.cart-item-title {
  font-size: 18px;
  line-height: 1.3;
}

.cart-item-price-wrap {
  font-size: 16px;
}

.cart-item-price {
  color: #ff3f3f;
}

.cart-item-variant {
  font-size: 15px;
}

.cart-item-discount-badge {
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 9px;
}

.cart-item-qty {
  width: 156px;
  padding-top: 0;
  gap: 10px;
}

.cart-qty-selector {
  width: 156px;
  height: 56px;
  border-color: #e5e5e5;
}

.cart-qty-btn {
  width: 48px;
  font-size: 20px;
}

.cart-qty-input {
  width: 60px;
  font-size: 16px;
}

.cart-remove-btn {
  font-size: 13px;
}

.cart-item-total {
  width: 100px;
  padding-top: 34px;
  font-size: 16px;
}

.cart-shipping-estimate {
  background-color: #F8FAFC !important;
  border-radius: 16px !important;
  border: none !important;
  margin-top: 16px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.cart-shipping-estimate details {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 18px 22px !important;
  margin: 0 !important;
}

.estimate-title-left {
  gap: 12px;
  font-size: 20px;
}

.estimate-title-left svg {
  width: 24px;
  height: 24px;
}

.estimate-chevron-circle {
  width: 28px;
  height: 28px;
  background: #f0f0f0;
  color: #111;
}

.estimate-chevron-circle svg {
  width: 16px;
  height: 16px;
}

.cart-right {
  width: 420px;
}

.cart-summary-box {
  padding: 48px 54px 44px;
  background: #fff;
  border-radius: 14px;
  border-color: #e5e5e5;
  margin-bottom: 28px;
}

.cart-summary-row {
  font-size: 18px;
  margin-bottom: 14px;
}

.cart-summary-row.total {
  font-size: 28px;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 14px;
}

.cart-taxes-note {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 32px;
}

.cart-order-note {
  min-height: 122px;
  margin-bottom: 26px;
  padding: 20px;
  border-radius: 8px;
  font-size: 16px;
}

.cart-checkout-btn {
  min-height: 68px;
  margin-bottom: 0;
  padding: 16px 24px;
  font-size: 20px;
  border-width: 2px;
}

.cart-payment-icons p {
  font-size: 14px;
  margin-bottom: 16px;
}

.payment-methods {
  gap: 8px;
}

.payment-methods img {
  height: 28px;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .header-container {
    width: calc(100% - 80px);
  }

  .site-nav a {
    font-size: 14px;
    padding-inline: 6px;
  }

  .cart-layout {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .cart-right {
    width: 380px;
  }

  .cart-summary-box {
    padding-inline: 36px;
  }
}

@media (max-width: 768px) {
  .announcement-bar,

  .cart-page-container {
    width: 100%;
    margin: 34px auto 40px;
    padding: 0 18px;
  }

  .cart-header {
    margin-bottom: 48px;
  }

  .cart-header h1 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 24px;
  }

  .cart-header p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 14px;
  }

  .cart-progress-bar {
    width: 100%;
    height: 4px;
  }

  .cart-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .cart-items-header {
    display: none;
  }

  .cart-items {
    gap: 26px;
    padding-bottom: 28px;
  }

  .cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding-bottom: 0;
    border: 0;
  }

  .cart-item-info {
    width: 100%;
    gap: 20px;
    margin-bottom: 14px;
  }

  .cart-item-info img {
    width: 90px;
    height: 90px;
  }

  .cart-item-details {
    min-width: 0;
  }

  .cart-item-title {
    font-size: 16px;
  }

  .cart-item-price-wrap {
    font-size: 15px;
    flex-wrap: wrap;
  }

  .cart-item-variant {
    font-size: 14px;
  }

  .cart-item-discount-badge {
    font-size: 11px;
  }

  .cart-item-qty {
    width: 140px;
    margin-left: 110px;
    align-items: flex-start;
    gap: 8px;
  }

  .cart-qty-selector {
    width: 140px;
    height: 48px;
  }

  .cart-qty-btn {
    width: 42px;
  }

  .cart-qty-input {
    width: 56px;
  }

  .cart-item-total {
    display: none;
  }

  .cart-shipping-estimate details {
    padding: 24px 0;
  }

  .estimate-title-left {
    font-size: 17px;
  }

  .cart-right {
    width: 100%;
  }

  .cart-summary-box {
    padding: 28px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
  }

  .cart-summary-row {
    font-size: 16px;
  }

  .cart-summary-row.total {
    font-size: 25px;
  }

  .cart-taxes-note {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
  }

  .cart-order-note {
    min-height: 104px;
    margin-bottom: 20px;
    padding: 16px;
    font-size: 15px;
  }

  .cart-checkout-btn {
    min-height: 56px;
    font-size: 18px;
  }

  .cart-payment-icons p {
    font-size: 13px;
  }

  .payment-methods img {
    height: 24px;
  }

  .cart-inline-quote-section {
    display: none !important;
  }
}

/* ── Order summary card: final desktop/mobile treatment ── */
.cart-right {
  width: auto;
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 28px;
}

.cart-summary-box {
  box-sizing: border-box;
  padding: 28px 28px 22px !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 14px !important;
  background: #fff !important;
  margin-bottom: 0 !important;
}

.cart-summary-row.subtotal {
  color: #6b6f75 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin-bottom: 16px !important;
}

.cart-mobile-breakdown {
  display: flex !important;
  flex-direction: column;
  gap: 11px;
  color: #303236;
  font-size: 16px;
  line-height: 1.3;
}

.cart-mobile-breakdown > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cart-mobile-breakdown > div:last-child span:last-child {
  color: #2277ff;
}

.cart-mobile-summary-divider {
  display: block !important;
  height: 1px;
  margin: 20px 0;
  background: #e5e5e5;
}

.cart-mobile-discount {
  display: block !important;
}

.cart-mobile-discount label {
  display: block;
  margin-bottom: 9px;
  color: #303236;
  font-size: 16px;
  line-height: 1.3;
}

.cart-discount-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid #d7d9dd;
  border-radius: 8px;
  background: #fff;
}

.cart-mobile-discount input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 13px;
  color: #303236;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.cart-discount-entry:focus-within {
  border-color: #2277ff;
  box-shadow: 0 0 0 2px rgba(34, 119, 255, 0.12);
}

.cart-discount-apply {
  border: 0;
  border-left: 1px solid #e0e2e6;
  color: #2277ff;
  background: #f7faff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.cart-discount-apply:hover {
  background: #edf4ff;
}

.cart-mobile-discount p {
  margin: 10px 0 0;
  color: #686868;
  font-size: 12px;
  line-height: 1.45;
}

.cart-mobile-shipping-note {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 11px;
  color: #1e2329;
  background: #eef6ff;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.35;
}

.cart-mobile-shipping-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #2277ff;
  stroke-width: 1.8;
}

.cart-mobile-shipping-note strong {
  flex: 0 0 auto;
  color: #2277ff;
  font-weight: 700;
}

.cart-mobile-shipping-note span {
  min-width: 0;
}

.cart-summary-row.total {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  color: #171717 !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

.cart-taxes-note {
  display: none !important;
}

.cart-checkout-btn {
  width: 100%;
  min-height: 56px !important;
  margin-top: 24px !important;
  color: #fff !important;
  background: #1c1c1c !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.cart-payment-icons {
  margin: 24px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.cart-payment-icons p {
  display: block !important;
  margin: 0 0 10px;
  color: #767a80;
  font-size: 13px;
  text-align: center;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.payment-methods img {
  width: 39px;
  height: 25px;
  object-fit: contain;
}

.cart-trust-panel {
  box-sizing: border-box;
  margin-top: 20px;
  padding: 28px 28px 26px;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  background: #fff;
}

.cart-trust-panel h2 {
  margin: 0 0 22px;
  color: #171717;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.cart-trust-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 28px;
  color: #34373c;
  font-size: 16px;
  line-height: 1.3;
}

.cart-trust-item img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0);
}

@media (max-width: 768px) {
  .cart-trust-panel {
    margin: 20px 0 24px;
    padding: 26px 24px 25px;
    border-radius: 14px;
  }

  .cart-trust-panel h2 {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .cart-trust-list {
    gap: 16px;
  }

  .cart-trust-item {
    gap: 13px;
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  .cart-summary-box {
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .cart-right {
    position: static;
    width: 100%;
  }

  .cart-summary-box {
    padding: 28px 24px 24px !important;
  }

  .cart-summary-row.total {
    font-size: 28px !important;
  }

  .payment-methods {
    gap: 6px;
  }
}

@media (min-width: 769px) {
  .cart-inline-quote-section {
    display: none !important;
  }
}

html,
body {
  overflow-x: hidden;
}

main {
  flex: 1;
}

.cart-page-container {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 40px;
}

.cart-header {
  text-align: center;
  margin-bottom: 50px;
}

.cart-header h1 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #111;
}

.cart-header p {
  font-size: 15px;
  color: #111;
  margin-bottom: 12px;
}

.cart-progress-bar {
  max-width: 400px;
  height: 2px;
  background-color: #000;
  margin: 0 auto;
}

.cart-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.cart-left {
  flex: 1;
}

.cart-items-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #eaeaea;
  font-weight: 700;
  font-size: 14px;
  color: #111;
  margin-bottom: 32px;
}

.cart-items-header .product-col {
  flex: 1;
}

.cart-items-header .qty-col {
  width: 140px;
  text-align: center;
}

.cart-items-header .total-col {
  width: 100px;
  text-align: right;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 32px;
}

.cart-item-info {
  display: flex;
  gap: 24px;
  flex: 1;
  align-items: flex-start;
}

.cart-item-info img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #eaeaea;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.cart-item-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.cart-item-price {
  color: #E22120; /* Red from screenshot */
  font-weight: 600;
}

.cart-item-original {
  color: #888;
  text-decoration: line-through;
  font-size: 13px;
}

.cart-item-variant {
  font-size: 12px;
  color: #666;
}

.cart-item-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #f5f5f5;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 4px;
}

.cart-item-qty {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.cart-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #eaeaea;
  border-radius: 9999px;
  overflow: hidden;
  height: 40px;
  width: 100px;
  background: #fff;
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 32px;
  height: 100%;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-input {
  width: 36px;
  text-align: center;
  border: none;
  font-size: 14px;
  color: #111;
  font-weight: 500;
  outline: none;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #666;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-item-total {
  width: 100px;
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  padding-top: 14px;
}

.cart-shipping-estimate {
  background-color: #F8FAFC !important;
  border-radius: 16px !important;
  border: none !important;
  overflow: hidden !important;
}

.cart-shipping-estimate details {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 18px 22px !important;
}

.cart-shipping-estimate summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.cart-shipping-estimate summary::-webkit-details-marker {
  display: none;
}

.estimate-title-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.estimate-chevron-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.estimate-chevron-circle i {
  width: 14px;
  height: 14px;
}

.cart-shipping-estimate details[open] .estimate-chevron-circle {
  transform: rotate(180deg);
}

.shipping-estimate-content {
  padding-top: 24px;
}

.shipping-inputs {
  display: flex;
  gap: 16px;
}

.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 11px;
  color: #666;
  position: absolute;
  margin-top: 8px;
  margin-left: 12px;
}

.input-group select, .input-group input {
  width: 100%;
  height: 50px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 22px 12px 6px;
  font-size: 14px;
  color: #111;
  outline: none;
  background: #fff;
  appearance: none;
}

/* Right Column Summary */
.cart-right {
  width: 380px;
}

.cart-summary-box {
  background: #fafafa;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #eaeaea;
  margin-bottom: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: #666;
}

.cart-summary-row.total {
  font-size: 22px;
  font-weight: 400;
  color: #111;
  margin-top: 16px;
  margin-bottom: 12px;
}

.cart-taxes-note {
  font-size: 12px;
  color: #666;
  margin-bottom: 32px;
}

.cart-taxes-note a {
  color: #666;
  text-decoration: underline;
}

.cart-order-note {
  width: 100%;
  min-height: 90px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  margin-bottom: 24px;
  resize: vertical;
  outline: none;
  font-family: inherit;
  background: #fff;
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 12px;
  background-color: #fff;
  color: #111;
  border: 2px solid #111;
}

.cart-checkout-btn:hover {
  background-color: #f7f7f7;
}

.cart-quote-btn {
  width: 100%;
  padding: 16px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #111;
  color: #fff;
  border: 2px solid #111;
}

.cart-quote-btn:hover {
  background-color: #000;
}

.cart-payment-icons p {
  text-align: center;
  font-size: 11px;
  color: #666;
  margin-bottom: 16px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.payment-methods img {
  height: 22px;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  background: #fff;
}

@media (max-width: 900px) {
  .cart-layout {
    flex-direction: column;
  }
  .cart-right {
    width: 100%;
  }
  .cart-item {
    flex-wrap: wrap;
    position: relative;
  }
  .cart-item-info {
    width: 100%;
    margin-bottom: 16px;
  }
  .cart-item-qty {
    flex: unset;
    align-items: flex-start;
  }
  .cart-item-total {
    flex: unset;
    position: absolute;
    bottom: 32px;
    right: 0;
  }
  .cart-items-header {
    display: none;
  }
}

/* Quote Modal Styles */
.quote-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100010;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s;
}

.quote-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  z-index: 100011;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.95);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.quote-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.quote-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-modal-body {
  padding: 24px;
}

.quote-form-group {
  margin-bottom: 16px;
}

.quote-form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.quote-form-group input, .quote-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.quote-input-wrapper {
  display: flex;
  gap: 8px;
}

.quote-form-group label span {
  color: #e74343;
  font-size: 11px;
  margin-left: 4px;
}

.quote-terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.quote-terms-checkbox input {
  margin-top: 3px;
}

.quote-terms-checkbox label {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.quote-submit-btn,
.btn-quote-submit {
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
}

.quote-items-preview {
  background: #f7f7f7;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.quote-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

.quote-item-row:last-child {
  margin-bottom: 0;
}

.quote-preview-overlay {
    position: fixed;
    inset: 0;
    z-index: 100020;
    background: #f3f3f3;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-preview-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.quote-preview-panel {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 64px minmax(0, 1fr) auto;
    background: #f3f3f3;
}

.quote-preview-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    background: #fff;
    border-bottom: 1px solid #dedede;
}

.quote-preview-toolbar h2 {
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}

.quote-preview-back,
.quote-preview-close {
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
}

.quote-preview-back {
    justify-self: start;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.quote-preview-close {
    width: 40px;
    height: 40px;
    justify-self: end;
    display: grid;
    place-items: center;
    padding: 0;
}

.quote-preview-scroll {
    min-height: 0;
    overflow: auto;
    padding: 36px 24px 48px;
}

.quote-preview-scroll .print-quote-container {
    max-width: 1040px;
    box-sizing: border-box;
    border: 1px solid #d8d8d8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.quote-preview-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #dedede;
}

.quote-preview-edit,
.quote-preview-download {
    min-width: 180px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.quote-preview-edit {
    border: 1px solid #aaa;
    background: #fff;
    color: #222;
}

.quote-preview-download {
    border: 1px solid #111;
    background: #111;
    color: #fff;
}

.quote-preview-download:disabled {
    cursor: wait;
    opacity: 0.65;
}

.quote-preview-back:focus-visible,
.quote-preview-close:focus-visible,
.quote-preview-edit:focus-visible,
.quote-preview-download:focus-visible {
    outline: 2px solid #e74343;
    outline-offset: 2px;
}

.print-quote-container {
    box-sizing: border-box;
}

.quote-info-row {
    align-items: flex-start;
    gap: 40px;
}

.quote-contact-line {
    color: #666;
}

.quote-contact-line.is-empty {
    display: none;
}

.quote-items-table th {
    background: #111;
    color: #fff;
}

@media (max-width: 768px) {
    .quote-preview-panel {
        grid-template-rows: 56px minmax(0, 1fr) auto;
    }

    .quote-preview-toolbar {
        grid-template-columns: auto minmax(0, 1fr) 40px;
        gap: 10px;
        padding: 0 12px 0 16px;
    }

    .quote-preview-toolbar h2 {
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .quote-preview-back {
        font-size: 13px;
    }

    .quote-preview-scroll {
        padding: 0;
        background: #fff;
    }

    .quote-preview-scroll .print-quote-container {
        max-width: none;
        padding: 24px 16px 32px;
        border: 0;
        box-shadow: none;
    }

    .quote-header {
        padding-bottom: 16px;
        margin-bottom: 24px;
    }

    .quote-header h1 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .quote-date {
        position: static;
        margin-top: 10px;
        text-align: right;
        font-size: 12px;
    }

    .quote-info-row {
        flex-direction: column;
        gap: 22px;
        margin-bottom: 24px;
    }

    .quote-address,
    .quote-sender {
        width: 100%;
    }

    .quote-address h2 {
        font-size: 18px;
    }

    .quote-total-display {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 8px;
        margin-top: 16px;
        font-size: 14px;
    }

    .quote-total-display strong {
        font-size: 20px;
    }

    .quote-sender {
        padding-top: 18px;
        border-top: 1px solid #ddd;
        text-align: left;
    }

    .quote-items-table,
    .quote-items-table tbody,
    .quote-items-table tr,
    .quote-items-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .quote-items-table thead {
        display: none;
    }

    .quote-items-table tr {
        margin-bottom: 12px;
        border: 1px solid #bbb;
    }

    .quote-items-table td {
        display: grid;
        grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border: 0;
        border-bottom: 1px solid #e5e5e5;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .quote-items-table td:last-child {
        border-bottom: 0;
    }

    .quote-items-table td::before {
        content: attr(data-label);
        color: #555;
        font-size: 12px;
        font-weight: 700;
        text-align: left;
    }

    .quote-items-table td:first-child {
        background: #111;
        color: #fff;
        font-weight: 700;
    }

    .quote-items-table td:first-child::before {
        color: #fff;
    }

    .quote-totals-box {
        width: 100%;
        margin-bottom: 28px;
    }

    .quote-notes {
        padding: 14px;
        line-height: 1.5;
    }

    .quote-preview-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }

    .quote-preview-edit,
    .quote-preview-download {
        min-width: 0;
        width: 100%;
        min-height: 44px;
        padding: 10px 8px;
        font-size: 13px;
    }
}

/* Final cascade for the reference-matched cart page. */
.announcement-bar {
  display: none !important;
}

.header-container {
  width: min(calc(100% - 260px), 1788px) !important;
  height: 72px !important;
}

.site-nav {
  gap: 12px !important;
}

.site-nav a {
  font-size: 16px !important;
  padding: 8px 10px !important;
}

.header-cart {
  position: relative;
}

.header-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #202124;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

.header-cart-count[hidden] {
  display: none;
}

.cart-page-container {
  width: calc(100% - 80px) !important;
  max-width: 1508px !important;
  margin: 38px auto 40px !important;
  padding: 0 !important;
}

.cart-header {
  margin-bottom: 80px !important;
}

.cart-header h1 {
  font-size: 56px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  margin-bottom: 24px !important;
}

.cart-header p {
  font-size: 16px !important;
  line-height: 24px !important;
  margin-bottom: 18px !important;
}

.cart-progress-bar {
  width: 498px !important;
  max-width: 100% !important;
  height: 4px !important;
  border-radius: 999px !important;
}

.cart-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 420px !important;
  gap: clamp(48px, 6vw, 104px) !important;
}

.cart-items-header {
  display: flex !important;
  padding-bottom: 28px !important;
  margin-bottom: 36px !important;
  font-size: 18px !important;
}

.cart-items-header .qty-col {
  width: 156px !important;
}

.cart-items-header .total-col {
  width: 100px !important;
}

.cart-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  padding-bottom: 34px !important;
  border-bottom: 1px solid #eaeaea !important;
}

.cart-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 156px 100px !important;
  gap: 0 !important;
  align-items: start !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.cart-item-info {
  min-width: 0 !important;
  gap: 24px !important;
}

.cart-item-info img {
  width: 90px !important;
  height: 90px !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.cart-item-details {
  gap: 6px !important;
}

.cart-item-title {
  font-size: 18px !important;
  line-height: 1.3 !important;
}

.cart-item-price-wrap {
  font-size: 16px !important;
}

.cart-item-price {
  color: #ff3f3f !important;
}

.cart-item-variant {
  font-size: 15px !important;
}

.cart-item-discount-badge {
  border-radius: 999px !important;
  font-size: 12px !important;
  padding: 4px 9px !important;
}

.cart-item-qty {
  width: 156px !important;
  padding-top: 0 !important;
  gap: 10px !important;
}

.cart-qty-selector {
  width: 156px !important;
  height: 56px !important;
  border-color: #e5e5e5 !important;
}

.cart-qty-btn {
  width: 48px !important;
  font-size: 20px !important;
}

.cart-qty-input {
  width: 60px !important;
  font-size: 16px !important;
}

.cart-remove-btn {
  font-size: 13px !important;
}

.cart-item-total {
  width: 100px !important;
  padding-top: 34px !important;
  font-size: 16px !important;
}

.cart-shipping-estimate {
  background-color: #F8FAFC !important;
  border-radius: 16px !important;
  border: none !important;
  overflow: hidden !important;
}

.cart-shipping-estimate details {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 18px 22px !important;
}

.estimate-title-left {
  gap: 12px !important;
  font-size: 20px !important;
}

.estimate-chevron-circle {
  width: 28px !important;
  height: 28px !important;
  background: #f0f0f0 !important;
  color: #111 !important;
}

.cart-right {
  width: 420px !important;
}

.cart-summary-box {
  padding: 48px 54px 44px !important;
  background: #fff !important;
  border-radius: 14px !important;
  border-color: #e5e5e5 !important;
  margin-bottom: 28px !important;
}

.cart-summary-row {
  font-size: 18px !important;
  margin-bottom: 14px !important;
}

.cart-summary-row.total {
  font-size: 28px !important;
  line-height: 1.2 !important;
  margin-top: 12px !important;
  margin-bottom: 14px !important;
}

.cart-taxes-note {
  font-size: 16px !important;
  line-height: 24px !important;
  margin-bottom: 32px !important;
}

.cart-order-note {
  min-height: 122px !important;
  margin-bottom: 26px !important;
  padding: 20px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
}

.cart-checkout-btn {
  min-height: 68px !important;
  margin-bottom: 0 !important;
  padding: 16px 24px !important;
  font-size: 20px !important;
  border-width: 2px !important;
}

.cart-payment-icons p {
  font-size: 14px !important;
  margin-bottom: 16px !important;
}

.payment-methods {
  gap: 8px !important;
}

.payment-methods img {
  height: 28px !important;
}

.cart-inline-quote-section {
  display: none !important;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .header-container {
    width: calc(100% - 80px) !important;
  }

  .site-nav a {
    font-size: 14px !important;
    padding-inline: 6px !important;
  }

  .cart-layout {
    gap: 48px !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
  }

  .cart-right {
    width: 380px !important;
  }

  .cart-summary-box {
    padding-inline: 36px !important;
  }
}

@media (max-width: 768px) {
  .announcement-bar,

  .cart-page-container {
    width: 100% !important;
    margin: 34px auto 40px !important;
    padding: 0 18px !important;
  }

  .cart-header {
    margin-bottom: 48px !important;
  }

  .cart-header h1 {
    font-size: 36px !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
  }

  .cart-header p {
    font-size: 15px !important;
    line-height: 22px !important;
    margin-bottom: 14px !important;
  }

  .cart-progress-bar {
    width: 100% !important;
    height: 4px !important;
  }

  .cart-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
  }

  .cart-items-header {
    display: none !important;
  }

  .cart-items {
    gap: 26px !important;
    padding-bottom: 28px !important;
  }

  .cart-item {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .cart-item-info {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    gap: 20px !important;
    margin: 0 0 14px !important;
  }

  .cart-item-info img {
    width: 90px !important;
    height: 90px !important;
    flex: 0 0 90px !important;
  }

  .cart-item-details {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .cart-item-title {
    font-size: 16px !important;
  }

  .cart-item-price-wrap {
    font-size: 15px !important;
    flex-wrap: wrap !important;
  }

  .cart-item-variant {
    font-size: 14px !important;
  }

  .cart-item-discount-badge {
    font-size: 11px !important;
  }

  .cart-item-qty {
    flex: 0 0 140px !important;
    width: 140px !important;
    margin-left: 110px !important;
    padding-top: 0 !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .cart-qty-selector {
    width: 140px !important;
    height: 48px !important;
  }

  .cart-qty-btn {
    width: 42px !important;
  }

  .cart-qty-input {
    width: 56px !important;
  }

  .cart-item-total {
    display: none !important;
  }

  .cart-shipping-estimate details {
    padding: 24px 0 !important;
  }

  .estimate-title-left {
    font-size: 17px !important;
  }

  .cart-right {
    width: 100% !important;
  }

  .cart-summary-box {
    padding: 28px 24px !important;
    border-radius: 12px !important;
    margin-bottom: 24px !important;
  }

  .cart-summary-row {
    font-size: 16px !important;
  }

  .cart-summary-row.total {
    font-size: 25px !important;
  }

  .cart-taxes-note {
    font-size: 14px !important;
    line-height: 22px !important;
    margin-bottom: 24px !important;
  }

  .cart-order-note {
    min-height: 104px !important;
    margin-bottom: 20px !important;
    padding: 16px !important;
    font-size: 15px !important;
  }

  .cart-checkout-btn {
    min-height: 56px !important;
    font-size: 18px !important;
  }

  .cart-payment-icons p {
    font-size: 13px !important;
  }

  .payment-methods img {
    height: 24px !important;
  }
}

@media (min-width: 769px) {
  .cart-right {
    margin-top: 0 !important;
  }

  .cart-taxes-note {
    font-size: 15px !important;
    line-height: 22px !important;
    white-space: nowrap;
  }
}

/* Desktop-only member promotion shown between the cart header and content. */
.cart-member-promo {
  display: none;
}

@media (min-width: 769px) {
  .cart-header {
    margin-bottom: 28px !important;
  }

  .cart-member-promo {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 112px;
    box-sizing: border-box;
    margin: 0 0 40px;
    padding: 24px 52px;
    gap: 44px;
    color: #2277ff;
    background: #f4f8ff;
    border: 1px solid #c9ddff;
    border-radius: 16px;
  }

  .cart-member-promo-copy {
    display: flex;
    align-items: center;
    flex: 0 0 420px;
    min-width: 0;
    gap: 24px;
    padding-right: 40px;
    border-right: 1px solid #c9ddff;
  }

  .cart-member-promo-copy svg {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    color: #2277ff;
    stroke-width: 1.7;
  }

  .cart-member-promo-copy strong,
  .cart-member-promo-copy span {
    display: block;
    white-space: nowrap;
  }

  .cart-member-promo-copy strong {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
  }

  .cart-member-promo-copy span {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.25;
  }

  .cart-member-promo-copy b {
    font-weight: 700;
  }

  .cart-member-promo-scale {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
  }

  .cart-member-promo-labels {
    display: flex;
    justify-content: space-between;
    margin: 0 8% 16px 44%;
    color: #0e5fe8;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .cart-member-promo-track {
    position: relative;
    height: 8px;
    margin: 0 3%;
    border-radius: 999px;
    background: #dbe8ff;
  }

  .cart-member-promo-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    border-radius: inherit;
    background: #2277ff;
  }

  .cart-member-promo-marker {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border: 3px solid #2277ff;
    border-radius: 50%;
    background: #fff;
  }

  .cart-member-promo-marker-current {
    left: 0;
    background: #2277ff;
    border-color: #fff;
    box-shadow: 0 0 0 2px #2277ff;
  }

  .cart-member-promo-marker-one {
    left: 50%;
  }

  .cart-member-promo-marker-two {
    left: 100%;
  }
}

/* End-of-file precedence marker for the cart order summary. */

/* Final order-summary overrides. Keep the member promotion above independent. */
.cart-right {
  width: auto !important;
  min-width: 0;
  align-self: start;
  position: sticky !important;
  top: 28px;
}

.cart-summary-box {
  box-sizing: border-box;
  padding: 28px 28px 22px !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 14px !important;
  background: #fff !important;
  margin-bottom: 0 !important;
}

.cart-summary-row.subtotal {
  color: #6b6f75 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin-bottom: 16px !important;
}

.cart-mobile-breakdown {
  display: flex !important;
  flex-direction: column;
  gap: 11px;
  color: #303236;
  font-size: 16px;
  line-height: 1.3;
}

.cart-mobile-breakdown > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cart-mobile-breakdown > div:last-child span:last-child {
  color: #2277ff;
}

.cart-mobile-summary-divider {
  display: block !important;
  height: 1px;
  margin: 20px 0;
  background: #e5e5e5;
}

.cart-mobile-discount {
  display: block !important;
}

.cart-mobile-discount label {
  display: block;
  margin-bottom: 9px;
  color: #303236;
  font-size: 16px;
  line-height: 1.3;
}

.cart-discount-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid #d7d9dd;
  border-radius: 8px;
  background: #fff;
}

.cart-mobile-discount input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 13px;
  color: #303236;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.cart-discount-entry:focus-within {
  border-color: #2277ff;
  box-shadow: 0 0 0 2px rgba(34, 119, 255, 0.12);
}

.cart-discount-apply {
  border: 0;
  border-left: 1px solid #e0e2e6;
  color: #2277ff;
  background: #f7faff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.cart-discount-apply:hover {
  background: #edf4ff;
}

.cart-mobile-discount p {
  margin: 10px 0 0;
  color: #686868;
  font-size: 12px;
  line-height: 1.45;
}

.cart-mobile-shipping-note {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 11px;
  color: #1e2329;
  background: #eef6ff;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.35;
}

.cart-mobile-shipping-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #2277ff;
  stroke-width: 1.8;
}

.cart-mobile-shipping-note strong {
  flex: 0 0 auto;
  color: #2277ff;
  font-weight: 700;
}

.cart-mobile-shipping-note span {
  min-width: 0;
}

.cart-summary-row.total {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  color: #171717 !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

.cart-taxes-note {
  display: none !important;
}

.cart-checkout-btn {
  width: 100%;
  min-height: 56px !important;
  margin-top: 24px !important;
  color: #fff !important;
  background: #1c1c1c !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.cart-payment-icons {
  margin: 24px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.cart-payment-icons p {
  display: block !important;
  margin: 0 0 10px;
  color: #767a80;
  font-size: 13px;
  text-align: center;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.payment-methods img {
  width: 39px;
  height: 25px;
  object-fit: contain;
}

@media (min-width: 769px) {
  .cart-summary-box {
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .cart-right {
    position: static !important;
    width: 100% !important;
  }

  .cart-summary-box {
    padding: 28px 24px 24px !important;
  }

  .cart-summary-row.total {
    font-size: 28px !important;
  }

  .payment-methods {
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .cart-summary-box {
    padding: 28px 24px 30px !important;
    border-radius: 14px !important;
    margin-bottom: 24px !important;
  }

  .cart-summary-row.subtotal {
    color: #5f6368 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }

  .cart-mobile-breakdown {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    color: #303236;
    font-size: 16px;
    line-height: 1.25;
  }

  .cart-mobile-breakdown > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  .cart-mobile-breakdown > div:last-child span:last-child {
    color: #d44747;
  }

  .cart-mobile-summary-divider {
    display: block !important;
    height: 1px;
    margin: 24px 0;
    background: #e0e0e0;
  }

  .cart-mobile-discount {
    display: block !important;
  }

  .cart-mobile-discount label {
    display: block;
    margin-bottom: 10px;
    color: #303236;
    font-size: 16px;
    line-height: 1.25;
  }

  .cart-mobile-discount input {
    display: block;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 10px 14px;
    color: #303236;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font: inherit;
    font-size: 16px;
    outline: none;
  }

  .cart-mobile-discount input::placeholder {
    color: #919191;
  }

  .cart-mobile-discount input:focus {
    border-color: #2277ff;
    box-shadow: 0 0 0 2px rgba(34, 119, 255, 0.12);
  }

  .cart-mobile-discount p {
    margin: 12px 0 0;
    color: #686868;
    font-size: 13px;
    line-height: 1.45;
  }

  .cart-mobile-shipping-note {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    box-sizing: border-box;
    padding: 10px 12px;
    color: #1e2329;
    background: #eaf6ff;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.35;
  }

  .cart-mobile-shipping-note svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: #2277ff;
    stroke-width: 1.8;
  }

  .cart-mobile-shipping-note strong {
    flex: 0 0 auto;
    font-weight: 700;
  }

  .cart-mobile-shipping-note span {
    min-width: 0;
  }

  .cart-summary-row.total {
    margin-top: 26px !important;
    color: #171717 !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
  }

  .cart-taxes-note,
  

  .cart-checkout-btn {
    min-height: 58px !important;
    margin-top: 28px !important;
    color: #fff !important;
    background: #1c1c1c !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  .cart-checkout-btn svg {
    color: #fff !important;
  }

  .cart-summary-box {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
    border-radius: 14px 14px 0 0 !important;
  }

  .cart-payment-icons {
    margin: 0 0 24px !important;
    padding: 0 24px 22px !important;
    border: 1px solid #dedede;
    border-top: 0;
    border-radius: 0 0 14px 14px;
  }

  .cart-payment-icons p {
    display: none !important;
  }
}

.cart-mobile-breakdown,
.cart-mobile-summary-divider,
.cart-mobile-discount,
.cart-mobile-shipping-note {
  display: none;
}

@media (max-width: 768px) {
  .cart-header {
    margin-bottom: 32px !important;
  }

  .cart-member-promo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    box-sizing: border-box;
    margin: 0 0 40px;
    padding: 20px 18px;
    gap: 20px;
    color: #2277ff;
    background: #f4f8ff;
    border: 1px solid #c9ddff;
    border-radius: 14px;
  }

  .cart-member-promo-copy {
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
    min-width: 0;
    gap: 18px;
    padding-right: 0;
    border-right: 0;
  }

  .cart-member-promo-copy svg {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    color: #2277ff;
    stroke-width: 1.7;
  }

  .cart-member-promo-copy strong,
  .cart-member-promo-copy span {
    display: block;
    white-space: nowrap;
  }

  .cart-member-promo-copy strong {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
  }

  .cart-member-promo-copy span {
    margin-top: 9px;
    font-size: 16px;
    line-height: 1.25;
  }

  .cart-member-promo-scale {
    flex: 0 0 auto;
    min-width: 0;
    padding-top: 0;
  }

  .cart-member-promo-labels {
    position: relative;
    display: block;
    height: 18px;
    margin: 0 3% 14px;
    color: #0e5fe8;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .cart-member-promo-labels span {
    position: absolute;
    top: 0;
  }

  .cart-member-promo-labels span:first-child {
    left: 38%;
    transform: translateX(-50%);
  }

  .cart-member-promo-labels span:last-child {
    right: 0;
  }

  .cart-member-promo-track {
    position: relative;
    height: 8px;
    margin: 0 3%;
    border-radius: 999px;
    background: #dbe8ff;
  }

  .cart-member-promo-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    border-radius: inherit;
    background: #2277ff;
  }

  .cart-member-promo-marker {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border: 3px solid #2277ff;
    border-radius: 50%;
    background: #fff;
  }

  .cart-member-promo-marker-current {
    left: 0;
    background: #2277ff;
    border-color: #fff;
    box-shadow: 0 0 0 2px #2277ff;
  }

  .cart-member-promo-marker-one {
    left: 50%;
  }

  .cart-member-promo-marker-two {
    left: 100%;
  }
}
