/* ==========================================================================
   DSS — WooCommerce Cart (standalone)
   File:    dss-cart.css
   Pair:    dss-cart.js  (adds the .dss-cart-page wrapper class + injected UI)
   Scope:   EVERY selector is prefixed `html body .dss-cart-page` and EVERY
            declaration carries !important so neither global nor local theme
            CSS can override it — and this sheet never leaks outward.
   Markup:  100% native WooCommerce cart HTML. No template changes required.
   Breakpoints: desktop >= 1200px / tablet 769–1199px / mobile <= 768px
   Cross-sells: desktop keeps the 6-up grid; <=1199px becomes a snap carousel
                with injected prev/next arrows (section 7b + 7c).
   ========================================================================== */

/* Display face for headings/buttons — matches the approved mock. Safe to
   remove: everything falls back to 'Arial Black' / system-ui automatically. */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

/* --------------------------------------------------------------------------
   0. Design tokens (declared on the wrapper, never on :root)
   -------------------------------------------------------------------------- */
html body .dss-cart-page {
  --dss-yellow: #ffd623;
  --dss-yellow-soft: rgba(255, 214, 35, 0.45);
  --dss-black: #121212;
  --dss-ink: #333333;
  --dss-muted: #7c7c7c;
  --dss-faint: #9a9a9a;
  --dss-paper: #f4f1e9;
  --dss-card: #ffffff;
  --dss-line: #ececec;
  --dss-line-soft: #f1f1f1;
  --dss-radius-card: 20px;
  --dss-radius-pill: 999px;
  --dss-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --dss-font-display: "Archivo Black", "Arial Black", system-ui, -apple-system, sans-serif;
  --dss-shadow-card: 0 1px 2px rgba(18, 18, 18, 0.04), 0 10px 30px rgba(18, 18, 18, 0.05);
  --dss-shadow-glow: 0 10px 32px var(--dss-yellow-soft);
}

/* --------------------------------------------------------------------------
   1. Wrapper reset + desktop grid (form left / totals right / addons full)
   -------------------------------------------------------------------------- */
html body .dss-cart-page {
  display: grid !important;
    grid-template-columns: 69% 24% !important;
  grid-template-areas:
    "head    head"
    "notices notices"
    "form    totals"
    "addons  addons" !important;
  gap: 0 36px !important;
  align-items: start !important;
  justify-items: stretch !important;
  max-width: 90% !important;
  margin: 0 auto !important;
  padding: 8px 20px 72px !important;
  box-sizing: border-box !important;
  font-family: var(--dss-font-body) !important;
  color: var(--dss-ink) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

html body .dss-cart-page *,
html body .dss-cart-page *::before,
html body .dss-cart-page *::after {
  box-sizing: border-box !important;
}

html body .dss-cart-page > .woocommerce-notices-wrapper {
  grid-area: notices !important;
  min-width: 0 !important;
}

html body .dss-cart-page > form.woocommerce-cart-form {
  grid-area: form !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  justify-self: stretch !important;
  margin: 0 !important;
}

html body .dss-cart-page > .cart-collaterals {
  grid-area: totals !important;
  min-width: 0 !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

html body .dss-cart-page > .sfn-cart-addons {
  grid-area: addons !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 56px 0 0 !important;
}

/* Theme/plugin filler rows are flattened so they can't break the grid */
html body .dss-cart-page > .storefront-sorting {
  display: contents !important;
}
html body .dss-cart-page > .storefront-sorting > .woocommerce-notices-wrapper {
  grid-area: notices !important;
}

/* --------------------------------------------------------------------------
   2. Injected page head — big centered title on desktop, black bar on mobile
   -------------------------------------------------------------------------- */
html body .dss-cart-page .dss-cart-head {
  grid-area: head !important;
  display: block !important;
  text-align: center !important;
  margin: 22px 0 40px !important;
}

html body .dss-cart-page .dss-cart-head-title {
  display: block !important;
 
  font-weight: bold !important;
  font-size: clamp(40px, 4.5vw, 56px) !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: var(--dss-black) !important;
      font-size: 2.6rem !important;
    text-transform: capitalize !important;
}


  



html body .dss-cart-page .dss-cart-head-title::after {
  content: "" !important;
  display: block !important;
  width: 110px !important;
  height: 6px !important;
  margin: 22px auto 0 !important;
  border-radius: 3px !important;
  background: var(--dss-yellow) !important;
}

html body .dss-cart-page .dss-cart-head-count {
  display: none !important; /* mobile only */
}

/* --------------------------------------------------------------------------
   3. Cart table card (desktop)
   -------------------------------------------------------------------------- */
html body .dss-cart-page table.shop_table.cart {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  table-layout: fixed !important; /* columns sized from thead widths — overflow impossible */
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
    background: rgba(0, 0, 0, 0.07) !important;
  border-radius: var(--dss-radius-card) !important;
  overflow: hidden !important;
  box-shadow: var(--dss-shadow-card) !important;
}

html body .dss-cart-page table.shop_table_responsive thead {
    width:inherit ;
    display:inline-table;
 
} 
html body .dss-cart-page table.shop_table_responsive  tbody{
   width:inherit;
    display:inline-table;
}
html body .dss-cart-page table.shop_table.cart thead tr {
    background: rgba(0, 0, 0, 0.07) !important;
}

html body .dss-cart-page table.shop_table.cart thead th {
    background: rgba(0, 0, 0, 0.07) !important;
    color: black  !important;
  font-family: var(--dss-font-display) !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-align: left !important;
  padding: 18px 16px !important;
  border: 0 !important;
}

html body .dss-cart-page table.shop_table.cart thead th.product-price,
html body .dss-cart-page table.shop_table.cart thead th.product-quantity,
html body .dss-cart-page table.shop_table.cart thead th.product-subtotal {
  text-align: center !important;
}

/* Column widths — table-layout:fixed reads these from the first (thead) row.
   remove + thumb + qty are fixed px; price/subtotal are %; name absorbs the rest. */
html body .dss-cart-page table.shop_table.cart thead th.product-remove {
  width: 52px !important;
}

html body .dss-cart-page table.shop_table.cart thead th.product-thumbnail {
  width: 96px !important;
}

html body .dss-cart-page table.shop_table.cart thead th.product-price {
  width: 15% !important;
}

html body .dss-cart-page table.shop_table.cart thead th.product-quantity {
  width: 168px !important;
}

html body .dss-cart-page table.shop_table.cart thead th.product-subtotal {
  width: 17% !important;
}

html body .dss-cart-page table.shop_table.cart td {
  border: 0 !important;
  border-bottom: 1px solid var(--dss-line-soft) !important;
  background: var(--dss-card) !important;
  padding: 24px 12px !important;
  vertical-align: middle !important;
}

/* WooCommerce "responsive table" data-title labels (::before only) — never wanted */
html body .dss-cart-page table.shop_table td::before {
  display: none !important;
  content: none !important;
}

/* Remove (×) — quiet circular button */
html body .dss-cart-page td.product-remove {
  text-align: center !important;
}

html body .dss-cart-page td.product-remove a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #efece4 !important;
  color: var(--dss-ink) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.2s !important;
}

html body .dss-cart-page td.product-remove a.remove:hover {
  background: var(--dss-black) !important;
  color: #ffffff !important;
  transform: scale(1.05) !important;
}

/* Thumbnail */
html body .dss-cart-page td.product-thumbnail img {
  display: block !important;
  width: 76px !important;
  height: 76px !important;
  object-fit: contain !important;
  border: 1px solid var(--dss-line) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  padding: 4px !important;
}

/* Name + variations */
html body .dss-cart-page td.product-name {
  overflow-wrap: break-word !important;
}

html body .dss-cart-page td.product-name > a {
  display: inline-block !important;
  color: var(--dss-black) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
 
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  margin-bottom: 10px !important;
}

html body .dss-cart-page td.product-name > a:hover {
  color: #000000 !important;
  text-decoration-color: var(--dss-yellow) !important;
}

html body .dss-cart-page td.product-name dl.variation {
  display: grid !important;
  grid-template-columns: max-content 1fr !important;
  gap: 3px 8px !important;
  margin: 0 !important;
  font-size: 14.5px !important;
}

html body .dss-cart-page td.product-name dl.variation dt {
  font-weight: 700 !important;
  color: var(--dss-black) !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

html body .dss-cart-page td.product-name dl.variation dd {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--dss-muted) !important;
  float: none !important;
}

html body .dss-cart-page td.product-name dl.variation dd p {
  margin: 0 !important;
  display: inline !important;
  font-size: inherit !important;
}

/* Prices */
html body .dss-cart-page td.product-price,
html body .dss-cart-page td.product-subtotal {
  text-align: center !important;
}

html body .dss-cart-page td.product-price .amount,
html body .dss-cart-page td.product-subtotal .amount {
  white-space: nowrap !important;
}

/* In the items table the "(incl. tax)" drops under the amount so the
   column can never be pushed wider than its fixed width */
html body .dss-cart-page table.shop_table.cart td.product-subtotal .tax_label {
  display: block !important;
  margin-top: 2px !important;
}

html body .dss-cart-page td.product-price .amount,
html body .dss-cart-page td.product-subtotal .amount {
  font-family: var(--dss-font-display) !important;
  font-weight: 900 !important;
  font-size: 19px !important;
  color: var(--dss-black) !important;
}

html body .dss-cart-page .tax_label,
html body .dss-cart-page .includes_tax {
  font-family: var(--dss-font-body) !important;
  font-weight: 400 !important;
  font-size: 12.5px !important;
  color: var(--dss-faint) !important;
}

/* --------------------------------------------------------------------------
   4. Quantity stepper (buttons injected by dss-cart.js)
   -------------------------------------------------------------------------- */
html body .dss-cart-page td.product-quantity {
  text-align: center !important;
}

html body .dss-cart-page .quantity {
  display: inline-flex !important;
  align-items: stretch !important;
  border: 1px solid #e3e0d8 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  height: 48px !important;
}

html body .dss-cart-page .quantity .dss-qty-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  margin: 0 !important;
  width: 44px !important;
  height: auto !important;
  background: transparent !important;
  color: var(--dss-black) !important;
  font-family: var(--dss-font-body) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 0.15s !important;
}

html body .dss-cart-page .quantity .dss-qty-btn.dss-qty-plus {
  background: var(--dss-yellow) !important;
  border-radius: 12px !important;
  margin: 3px !important;
  width: 42px !important;
}

html body .dss-cart-page .quantity .dss-qty-btn.dss-qty-minus:hover {
  background: #f5f3ec !important;
}

html body .dss-cart-page .quantity .dss-qty-btn.dss-qty-plus:hover {
  background: #ffdf4d !important;
}

html body .dss-cart-page .quantity input.qty {
  appearance: textfield !important;
  -moz-appearance: textfield !important;
  border: 0 !important;
  outline: none !important;
  width: 44px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  font-family: var(--dss-font-body) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--dss-black) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

html body .dss-cart-page .quantity input.qty::-webkit-outer-spin-button,
html body .dss-cart-page .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

html body .dss-cart-page .quantity input.qty:focus-visible {
  outline: 2px solid var(--dss-yellow) !important;
  outline-offset: -2px !important;
}

/* --------------------------------------------------------------------------
   5. Actions row — beige footer: coupon left, Update cart right
   -------------------------------------------------------------------------- */
html body .dss-cart-page table.shop_table.cart td.actions {
 
  border-bottom: 0 !important;
  padding: 22px 24px !important;
  display: table-cell !important; /* MUST stay a cell — colspan=6 spans the full card */
  vertical-align: middle !important;
  text-align: left !important;
}

/* Contain the two floats below */
html body .dss-cart-page table.shop_table.cart td.actions::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

html body .dss-cart-page td.actions .coupon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  float: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .dss-cart-page td.actions .coupon input#coupon_code {
  width: 200px !important;
  height: 52px !important;
  padding: 0 22px !important;
  margin: 0 !important;
  border: 1.5px solid #e3e0d8 !important;
  border-radius: var(--dss-radius-pill) !important;
  background: #ffffff !important;
  font-family: var(--dss-font-body) !important;
  font-size: 15.5px !important;
  color: var(--dss-ink) !important;
  box-shadow: none !important;
  outline: none !important;
}

html body .dss-cart-page td.actions .coupon input#coupon_code::placeholder {
  color: var(--dss-faint) !important;
  opacity: 1 !important;
}

html body .dss-cart-page td.actions .coupon input#coupon_code:focus {
  border-color: var(--dss-black) !important;
}

html body .dss-cart-page td.actions .coupon button[name="apply_coupon"] {
  appearance: none !important;
  border: 0 !important;
  margin: 0 !important;
  height: 52px !important;
  padding: 0 28px !important;
  border-radius: var(--dss-radius-pill) !important;
  background: var(--dss-black) !important;
  color: #ffffff !important;
  font-family: var(--dss-font-body) !important;
  font-size: 15.5px !important;
  font-weight:normal !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: opacity 0.2s, transform 0.15s !important;
}

html body .dss-cart-page td.actions .coupon button[name="apply_coupon"]:hover {
  opacity: 0.85 !important;
}

html body .dss-cart-page td.actions > button[name="update_cart"] {
  appearance: none !important;
  border: 0 !important;
  float: right !important;
  margin: 0 !important;
  height: 52px !important;
  padding: 0 32px !important;
  border-radius: var(--dss-radius-pill) !important;
  background: var(--dss-yellow) !important;
  color: var(--dss-black) !important;
  /* font-family: var(--dss-font-display) !important; */
  font-weight:600 !important;
  font-size: 14px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s !important;
}

html body .dss-cart-page td.actions > button[name="update_cart"]:hover:not(:disabled) {
  box-shadow: var(--dss-shadow-glow) !important;
  transform: translateY(-1px) !important;
}

html body .dss-cart-page td.actions > button[name="update_cart"]:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

/* --------------------------------------------------------------------------
   6. Cart totals card
   -------------------------------------------------------------------------- */
html body .dss-cart-page .cart_totals {
  width: 100% !important;
  float: none !important;
  background: var(--dss-card) !important;
  border-radius: var(--dss-radius-card) !important;
  border-top: 8px solid var(--dss-yellow) !important;
  box-shadow: var(--dss-shadow-card) !important;
  padding: 26px 28px 30px !important;
}

html body .dss-cart-page .cart_totals > h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-family: var(--dss-font-display) !important;
  font-weight: 900 !important;
  font-size: 24px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: var(--dss-black) !important;
}

html body .dss-cart-page .cart_totals table.shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body .dss-cart-page .cart_totals th,
html body .dss-cart-page .cart_totals td {
  border: 0 !important;
  background: transparent !important;
  padding: 18px 0 !important;
  vertical-align: top !important;
  text-align: left !important;
}

html body .dss-cart-page .cart_totals tr.cart-subtotal th,
html body .dss-cart-page .cart_totals tr.cart-subtotal td,
html body .dss-cart-page .cart_totals tr.shipping th,
html body .dss-cart-page .cart_totals tr.shipping td {
  border-bottom: 1px solid var(--dss-line) !important;
}

html body .dss-cart-page .cart_totals th {
  width: 34% !important;
  font-family: var(--dss-font-body) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #6b6b6b !important;
}

html body .dss-cart-page .cart_totals td {
  text-align: right !important;
}

html body .dss-cart-page .cart_totals td .amount {
  font-family: var(--dss-font-display) !important;
  font-weight: 900 !important;
  font-size: 19px !important;
  color: var(--dss-black) !important;
}

/* Shipping row */
html body .dss-cart-page .cart_totals ul#shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .dss-cart-page .cart_totals ul#shipping_method li {
  margin: 0 0 6px !important;
  padding: 0 !important;
}

html body .dss-cart-page .cart_totals ul#shipping_method label {
  font-family: var(--dss-font-body) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  color: var(--dss-ink) !important;
  cursor: default !important;
}

html body .dss-cart-page .cart_totals ul#shipping_method input.shipping_method[type="radio"] {
  margin-right: 8px !important;
  accent-color: var(--dss-black) !important;
}

html body .dss-cart-page .cart_totals p.woocommerce-shipping-destination {
  margin: 6px 0 0 !important;
  font-size: 14px !important;
  color: var(--dss-muted) !important;
}

html body .dss-cart-page .cart_totals p.woocommerce-shipping-destination strong {
  color: var(--dss-ink) !important;
}

html body .dss-cart-page .cart_totals a.shipping-calculator-button {
  display: inline-block !important;
  margin-top: 6px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--dss-black) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

html body .dss-cart-page .cart_totals a.shipping-calculator-button:hover {
  text-decoration-color: var(--dss-yellow) !important;
}

/* Shipping calculator (expanded) */
html body .dss-cart-page .shipping-calculator-form {
  margin-top: 14px !important;
  padding: 16px !important;
  background: #faf8f2 !important;
  border: 1px solid var(--dss-line) !important;
  border-radius: 14px !important;
  text-align: left !important;
}

html body .dss-cart-page .shipping-calculator-form p.form-row {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

html body .dss-cart-page .shipping-calculator-form label {
  display: block !important;
  margin: 0 0 5px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--dss-ink) !important;
}

html body .dss-cart-page .shipping-calculator-form input.input-text,
html body .dss-cart-page .shipping-calculator-form select {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  padding: 0 14px !important;
  border: 1.5px solid #e3e0d8 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  font-family: var(--dss-font-body) !important;
  font-size: 14.5px !important;
  color: var(--dss-ink) !important;
  box-shadow: none !important;
  outline: none !important;
}

html body .dss-cart-page .shipping-calculator-form input.input-text:focus,
html body .dss-cart-page .shipping-calculator-form select:focus {
  border-color: var(--dss-black) !important;
}

html body .dss-cart-page .shipping-calculator-form button[name="calc_shipping"] {
  appearance: none !important;
  border: 0 !important;
  height: 44px !important;
  padding: 0 24px !important;
  border-radius: var(--dss-radius-pill) !important;
  background: var(--dss-black) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  cursor: pointer !important;
}

/* Order total */
html body .dss-cart-page .cart_totals tr.order-total th {
  font-family: var(--dss-font-display) !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: var(--dss-black) !important;
  padding-top: 24px !important;
}

html body .dss-cart-page .cart_totals tr.order-total td {
  padding-top: 18px !important;
}

html body .dss-cart-page .cart_totals tr.order-total td strong .amount {
  font-size: 34px !important;
  letter-spacing: -0.5px !important;
}

html body .dss-cart-page .cart_totals tr.order-total .includes_tax {
  display: block !important;
  margin-top: 4px !important;
}

html body .dss-cart-page .cart_totals tr.order-total .includes_tax .amount {
  font-family: var(--dss-font-body) !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  color: var(--dss-ink) !important;
}

/* Proceed to checkout */
html body .dss-cart-page .wc-proceed-to-checkout {
  margin: 24px 0 0 !important;
  padding: 0 !important;
}

html body .dss-cart-page a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 60px !important;
  padding: 0 24px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: var(--dss-radius-pill) !important;
  background: var(--dss-yellow) !important;
  color: var(--dss-black) !important;
  /* font-family: var(--dss-font-display) !important; */
  font-weight: 500 !important;
  font-size: 16px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: var(--dss-shadow-glow) !important;
  transition: transform 0.15s, box-shadow 0.2s !important;
}

html body .dss-cart-page a.checkout-button::after {
  content: "\25B8" !important; /* small right-pointing triangle */
  font-size: 14px !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

html body .dss-cart-page a.checkout-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 38px var(--dss-yellow-soft) !important;
}

/* --------------------------------------------------------------------------
   7. Cross-sells — "You may also need"
   -------------------------------------------------------------------------- */
html body .dss-cart-page .sfn-cart-addons > h2 {
  margin: 0 0 26px !important;
  padding: 0 !important;
 
  font-weight: 700 !important;
  font-size: clamp(24px, 2.6vw, 32px) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: var(--dss-black) !important;
  text-align: left !important;
}

html body .dss-cart-page .dss-swipe-hint {
  display: none !important; /* mobile only */
}

html body .dss-cart-page ul.products.sfn-cart-addons {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  justify-content: start !important;
  justify-items: stretch !important;
  gap: 26px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons::before,
html body .dss-cart-page ul.products.sfn-cart-addons::after {
  display: none !important;
  content: none !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 0 22px !important;
  background: var(--dss-card) !important;
  border: 1px solid var(--dss-line) !important;
  border-radius: var(--dss-radius-card) !important;
  box-shadow: var(--dss-shadow-card) !important;
  overflow: hidden !important;
  text-align: center !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 36px rgba(18, 18, 18, 0.1) !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
 
  padding: 26px !important;
  margin: 0 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product h2.woocommerce-loop-product__title {
  margin: 0 16px 8px !important;
  padding: 0 !important;
  font-family: var(--dss-font-body) !important;
  font-weight: 700 !important;
  font-size: 16.5px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--dss-black) !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product span.price {
  display: block !important;
  margin: 0 16px 16px !important;
  color: var(--dss-black) !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product span.price .amount {
  font-family: var(--dss-font-display) !important;
  font-weight: 900 !important;
  font-size: 21px !important;
  color: var(--dss-black) !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product .woocommerce-price-suffix {
  font-family: var(--dss-font-body) !important;
  font-weight: 400 !important;
  font-size: 12.5px !important;
  color: var(--dss-faint) !important;
  margin-left: 4px !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product a.add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: auto 18px 0 !important;
  min-height: 52px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: var(--dss-radius-pill) !important;
  background: var(--dss-yellow) !important;
  color: var(--dss-black) !important;
  font-family: var(--dss-font-display) !important;
  font-weight: 900 !important;
  font-size: 13.5px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: box-shadow 0.2s, transform 0.15s !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product a.add_to_cart_button:hover {
  box-shadow: var(--dss-shadow-glow) !important;
  transform: translateY(-1px) !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product a.add_to_cart_button.loading {
  opacity: 0.6 !important;
}

/* Wishlist (TI Wishlist) — quiet text link under the button */
html body .dss-cart-page ul.products.sfn-cart-addons li.product .tinv-wraper {
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product a.tinvwl_add_to_wishlist_button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dss-muted) !important;
  font-family: var(--dss-font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product a.tinvwl_add_to_wishlist_button:hover {
  color: var(--dss-black) !important;
}

html body .dss-cart-page ul.products.sfn-cart-addons li.product .tinvwl-tooltip {
  display: none !important;
}

/* --------------------------------------------------------------------------
   7b. Cross-sell carousel — rail + prev/next arrows  (injected by dss-cart.js)
       Desktop (>=1200px) keeps the static 6-up grid: the rail is a transparent
       block wrapper and the arrows are hidden, so nothing changes there.
       Mobile + tablet (<=1199px) turn the list into a snap carousel and show
       the two circular arrow buttons.
   -------------------------------------------------------------------------- */
html body .dss-cart-page .dss-xsell-rail {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Safety net: if a theme ever prints the product list as the direct grid child
   (no <div class="sfn-cart-addons"> wrapper), the injected rail inherits the
   grid placement so the layout cannot break. */
html body .dss-cart-page > .dss-xsell-rail {
  grid-area: addons !important;
  margin: 56px 0 0 !important;
}

/* Arrows never render on desktop */
html body .dss-cart-page .dss-xsell-nav {
  display: none !important;
}

@media (max-width: 1199px) {
  /* ---- The list becomes a horizontal, snapping, swipeable track ---- */
  html body .dss-cart-page ul.products.sfn-cart-addons {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: auto !important; /* JS owns the animation */
    overscroll-behavior-x: contain !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  html body .dss-cart-page ul.products.sfn-cart-addons::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  html body .dss-cart-page ul.products.sfn-cart-addons li.product {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
  }

  /* Hint copy is useful on tablet too now that it swipes */
  html body .dss-cart-page .dss-swipe-hint {
    display: block !important;
    margin: 0 0 18px !important;
    font-size: 14.5px !important;
    color: var(--dss-muted) !important;
  }

  /* ---- Prev / next buttons ---- */
  html body .dss-cart-page .dss-xsell-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 38% !important;
    z-index: 6 !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1.5px solid rgba(18, 18, 18, 0.9) !important;
    border-radius: 50% !important;
    background: var(--dss-card) !important;
    color: var(--dss-black) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    cursor: pointer !important;
    opacity: 1 !important;
    box-shadow: 0 6px 20px rgba(18, 18, 18, 0.18) !important;
    transform: translateY(-50%) !important;
    transition: opacity 0.2s ease, background-color 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  html body .dss-cart-page .dss-xsell-nav::before {
    content: "" !important;
    display: block !important;
    width: 11px !important;
    height: 11px !important;
    border: 0 !important;
    border-right: 2.5px solid currentColor !important;
    border-bottom: 2.5px solid currentColor !important;
    background: none !important;
  }

  html body .dss-cart-page .dss-xsell-prev {
    left: 2px !important;
  }

  html body .dss-cart-page .dss-xsell-next {
    right: 2px !important;
  }

  html body .dss-cart-page .dss-xsell-prev::before {
    transform: rotate(135deg) translate(-2px, -2px) !important;
  }

  html body .dss-cart-page .dss-xsell-next::before {
    transform: rotate(-45deg) translate(-2px, -2px) !important;
  }

  html body .dss-cart-page .dss-xsell-nav:hover,
  html body .dss-cart-page .dss-xsell-nav:focus-visible {
    background: var(--dss-yellow) !important;
  }

  html body .dss-cart-page .dss-xsell-nav:active {
    background: var(--dss-yellow) !important;
  }

  /* End of track — kept visible but clearly inert */
  html body .dss-cart-page .dss-xsell-nav[disabled],
  html body .dss-cart-page .dss-xsell-nav:disabled {
    opacity: 0.3 !important;
    cursor: default !important;
    background: var(--dss-card) !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  /* Nothing to scroll (1 card / fits the viewport) — no arrows at all */
  html body .dss-cart-page .dss-xsell-rail.dss-xsell--static .dss-xsell-nav {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   7c. Tablet card sizing for the carousel (769–1199px)
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1199px) {
  html body .dss-cart-page ul.products.sfn-cart-addons {
    gap: 20px !important;
    margin: 0 !important;
    padding: 4px 0 18px !important;
    scroll-padding-left: 0 !important;
  }

  html body .dss-cart-page ul.products.sfn-cart-addons li.product {
    flex: 0 0 calc((100% - 40px) / 2.5) !important;
    max-width: 340px !important;
  }

  html body .dss-cart-page .dss-xsell-prev {
    left: -8px !important;
  }

  html body .dss-cart-page .dss-xsell-next {
    right: -8px !important;
  }
}

/* --------------------------------------------------------------------------
   8. Notices — keep them clean inside the layout
   -------------------------------------------------------------------------- */
html body .dss-cart-page .woocommerce-message,
html body .dss-cart-page .woocommerce-info,
html body .dss-cart-page .woocommerce-error {
  border: 1px solid var(--dss-line) !important;
  border-left: 6px solid var(--dss-yellow) !important;
  border-radius: 14px !important;
  background: var(--dss-card) !important;
  color: var(--dss-ink) !important;
  padding: 16px 20px !important;
  margin: 0 0 22px !important;
  box-shadow: var(--dss-shadow-card) !important;
}

html body .dss-cart-page .woocommerce-error {
  border-left-color: #d33a2c !important;
}

/* --------------------------------------------------------------------------
   9. Injected mobile chrome — hidden on desktop
   -------------------------------------------------------------------------- */
html body .dss-cart-page .dss-m-cart-bar {
  display: none !important;
}

/* ==========================================================================
   10. MOBILE  (<= 768px) — card layout, black header bar, swipe carousel,
       sticky checkout bar
   ========================================================================== */
@media (max-width: 768px) {

  html body .dss-cart-page {
    display: block !important;
    padding: 0 16px 170px !important; /* room for the sticky bar */
    background: transparent !important;
  }

  /* ---- Black header bar: CART ……… 1 ITEM ---- */
  html body .dss-cart-page .dss-cart-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 -16px 20px !important;
    padding: 22px 22px 26px !important;
    background: var(--dss-black) !important;
    text-align: left !important;
  }

  html body .dss-cart-page .dss-cart-head-title {
    font-size: 32px !important;
    color: #ffffff !important;
  }

  html body .dss-cart-page .dss-cart-head-title::after {
    display: none !important;
    content: none !important;
  }

  html body .dss-cart-page .dss-cart-head-count {
    display: inline-block !important;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: var(--dss-yellow) !important;
    white-space: nowrap !important;
  }

  /* ---- Cart table -> stacked item cards ---- */
  html body .dss-cart-page table.shop_table.cart,
  html body .dss-cart-page table.shop_table.cart tbody {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html body .dss-cart-page table.shop_table.cart thead {
    display: none !important;
  }

  html body .dss-cart-page table.shop_table.cart tr.cart_item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    grid-template-areas:
      "thumb name"
      "foot  foot" !important;
    gap: 14px 16px !important;
    background: var(--dss-card) !important;
    border-radius: var(--dss-radius-card) !important;
    box-shadow: var(--dss-shadow-card) !important;
    padding: 18px 16px 16px !important;
    margin: 0 0 16px !important;
  }

  html body .dss-cart-page table.shop_table.cart tr.cart_item td {
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  html body .dss-cart-page tr.cart_item td.product-remove {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 2 !important;
  }

  html body .dss-cart-page tr.cart_item td.product-thumbnail {
    grid-area: thumb !important;
  }

  html body .dss-cart-page tr.cart_item td.product-thumbnail img {
    width: 96px !important;
    height: 96px !important;
  }

  html body .dss-cart-page tr.cart_item td.product-name {
    grid-area: name !important;
    padding-right: 40px !important; /* keep clear of the × */
  }

  html body .dss-cart-page tr.cart_item td.product-name > a {
    font-size: 17px !important;
    margin-bottom: 8px !important;
  }

  html body .dss-cart-page tr.cart_item td.product-name dl.variation {
    font-size: 14px !important;
  }

  /* unit price hidden on mobile; line subtotal carries the number */
  html body .dss-cart-page tr.cart_item td.product-price {
    display: none !important;
  }

  html body .dss-cart-page tr.cart_item td.product-quantity {
    grid-area: foot !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    border-top: 1px solid var(--dss-line-soft) !important;
    padding-top: 14px !important;
  }

  /* subtotal is pulled INTO the footer row visually */
  html body .dss-cart-page tr.cart_item td.product-subtotal {
    position: absolute !important;
    right: 16px !important;
    bottom: 26px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  html body .dss-cart-page tr.cart_item td.product-subtotal .amount {
    font-size: 24px !important;
  }

  html body .dss-cart-page .quantity {
    height: 52px !important;
    border-radius: 16px !important;
  }

  /* ---- Coupon card (Update cart hidden — qty auto-updates via JS) ---- */
  html body .dss-cart-page table.shop_table.cart tr:not(.cart_item) {
    display: block !important;
  }

  html body .dss-cart-page table.shop_table.cart td.actions {
    display: flex !important;
    background: transparent !important;
    padding: 4px 0 0 !important;
    gap: 10px !important;
  }

  html body .dss-cart-page td.actions .coupon {
    flex: 1 1 auto !important;
    display: flex !important;
    float: none !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  html body .dss-cart-page table.shop_table.cart td.actions::after {
    display: none !important;
    content: none !important;
  }

  html body .dss-cart-page td.actions .coupon input#coupon_code {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 56px !important;
    box-shadow: var(--dss-shadow-card) !important;
    border-color: transparent !important;
  }

  html body .dss-cart-page td.actions .coupon button[name="apply_coupon"] {
    height: 56px !important;
    padding: 0 26px !important;
    flex: 0 0 auto !important;
    font-size: 0 !important; /* swap label to "Apply" without touching markup */
  }

  html body .dss-cart-page td.actions .coupon button[name="apply_coupon"]::before {
    content: "Apply" !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
  }

  html body .dss-cart-page td.actions > button[name="update_cart"] {
    display: none !important;
  }

  /* ---- Totals card ---- */
  html body .dss-cart-page > .cart-collaterals {
    margin: 22px 0 0 !important;
  }

  html body .dss-cart-page .cart_totals {
    padding: 24px 22px 28px !important;
  }

  html body .dss-cart-page .cart_totals th {
    width: 30% !important;
  }

  html body .dss-cart-page .cart_totals tr.order-total td strong .amount {
    font-size: 30px !important;
  }

  /* In-card checkout button stays available, the sticky bar is primary */
  html body .dss-cart-page .wc-proceed-to-checkout {
    margin-top: 20px !important;
  }

  /* ---- Cross-sells: horizontal swipe carousel ---- */
  html body .dss-cart-page > .sfn-cart-addons {
    margin: 40px 0 0 !important;
  }

  html body .dss-cart-page .sfn-cart-addons > h2 {
    margin-bottom: 6px !important;
  }

  html body .dss-cart-page .dss-swipe-hint {
    display: block !important;
    margin: 0 0 18px !important;
    font-size: 14.5px !important;
    color: var(--dss-muted) !important;
  }

  html body .dss-cart-page ul.products.sfn-cart-addons {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 16px !important;
    margin: 0 -16px !important;
    padding: 4px 16px 18px !important;
    scrollbar-width: none !important;
  }

  html body .dss-cart-page ul.products.sfn-cart-addons::-webkit-scrollbar {
    display: none !important;
  }

  html body .dss-cart-page ul.products.sfn-cart-addons li.product {
    flex: 0 0 76% !important;
    max-width: 320px !important;
    scroll-snap-align: start !important;
  }

  /* ---- Sticky bottom checkout bar (injected by JS) ---- */
  html body .dss-cart-page .dss-m-cart-bar {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99990 !important;
    background: var(--dss-paper) !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -8px 30px rgba(18, 18, 18, 0.12) !important;
    border-top: 1px solid #e7e3d8 !important;
  }

  html body .dss-cart-page .dss-m-cart-bar-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
  }

  html body .dss-cart-page .dss-m-cart-bar-label {
    font-size: 15px !important;
    color: var(--dss-muted) !important;
    font-weight: 500 !important;
  }

  html body .dss-cart-page .dss-m-cart-bar-total {
    font-family: var(--dss-font-display) !important;
    font-weight: 900 !important;
    font-size: 26px !important;
    color: var(--dss-black) !important;
  }

  html body .dss-cart-page a.dss-m-cart-bar-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 58px !important;
    border-radius: var(--dss-radius-pill) !important;
    background: var(--dss-yellow) !important;
    color: var(--dss-black) !important;
    font-family: var(--dss-font-display) !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: 1.5px solid rgba(18, 18, 18, 0.9) !important;
    box-shadow: var(--dss-shadow-glow) !important;
  }

  html body .dss-cart-page a.dss-m-cart-bar-btn::after {
    content: "\25B8" !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   11. Tablet squeeze (769–1199px): single column, totals under the table
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1199px) {
  html body .dss-cart-page {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "head"
      "notices"
      "form"
      "totals"
      "addons" !important;
  }

  html body .dss-cart-page > .cart-collaterals {
    margin-top: 28px !important;
    max-width: 520px !important;
  }

  /* Cross-sells on tablet are the swipe carousel from section 7b/7c — the old
     2-column grid rule was removed so the arrows have something to scroll. */
}

/* --------------------------------------------------------------------------
   12. Accessibility & motion
   -------------------------------------------------------------------------- */
html body .dss-cart-page a:focus-visible,
html body .dss-cart-page button:focus-visible,
html body .dss-cart-page input:focus-visible,
html body .dss-cart-page select:focus-visible {
  outline: 3px solid var(--dss-yellow) !important;
  outline-offset: 2px !important;
}

html body .dss-cart-page .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  html body .dss-cart-page *,
  html body .dss-cart-page *::before,
  html body .dss-cart-page *::after {
    transition: none !important;
    animation: none !important;
  }
}
