
      /* ────────────── COLOR TOKENS (Slate Blue + Cool Grey) ──────────────
         Defined on the <cart-drawer> element, so they apply to BOTH the
         empty state and the filled state (even after the drawer refreshes). */
      cart-drawer {
        --cd-brand: #26343f;
        --cd-deep: #141c23;
        --cd-accent: #5f7a8c;
        --cd-line: rgba(38, 52, 63, .14);
        --cd-soft: rgba(38, 52, 63, .05);
      }

      .drawer {
        visibility: hidden;
      }
      .drawer-collections {
        margin-top: 30px;
      }

      .drawer-collections__heading {
        margin-bottom: 15px;
        text-align: center;
        font-size: 20px;
        font-weight: 600;
        color: var(--cd-brand);
      }

      .drawer-collections__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }

      .drawer-collection-card {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 6px;
        text-decoration: none;
      }

      .drawer-collection-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
      }

      .drawer-collection-card span {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(20, 28, 35, .72);
        color: #fff;
        text-align: center;
        padding: 10px;
        font-size: 15px;
        font-weight: 600;
        font-family: inter, sans-serif;
      }

      .drawer:not(.is-empty) .drawer-collections {
        opacity: 0;
        pointer-events: none;
        margin: 0;
        height: 0;
        overflow: hidden;
      }

      @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to   { opacity: 1; transform: translateY(0); }
      }

      p.cart__login-title.h3 {    
        font-size: 24px;
        font-family: serif;
        text-transform: capitalize;
        color: var(--cd-brand);
      }
      p.cart__login-paragraph {
        font-size: 17px;
        font-family: 'Jost';
        font-weight: 500;
        color: var(--cd-brand);
      }
      p.cart__login-paragraph a {
        color: var(--cd-accent);
      }

      .cart-drawer,
      .drawer__inner,
      .drawer__contents,
      .cart-drawer-items {
        overflow-x: hidden !important;
      }

    .cart-item__title .cart-item__name {
        display: inline;
        font-family: 'Jost';
        font-size: 16px;
        color: var(--cd-brand);
        font-weight: 500;
    }
    h2.cart__empty-text {
    font-family: 'Orbitron';
    text-transform: capitalize;
    font-weight: 500;
    color: var(--cd-brand);
    }
      .cart-drawer .cart-item__image {
          height: 134px;
          object-fit: cover;
          border-radius: 7px;
          max-width: 137px;
      }

      /* Header: brand color by default, background image (if set) sits on top */
      .drawer__header {
        position: relative;
        z-index: 1;
        background-color: var(--cd-brand);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }
      .drawer__header:not(.drawer__header--has-bg) {
        background-image: linear-gradient(160deg, var(--cd-brand), var(--cd-deep));
        min-height: 72px;
        display: flex;
        align-items: center;
      }
      .drawer__header .drawer__close {
        color: #fff;
      }
      .drawer__heading {
        font-family: "Orbitron", sans-serif;
        text-transform: uppercase;
        color: #fff;
        font-weight: 800;
        padding-left: 1rem;
        margin: 0 auto;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    }
    span.price.price--end {
      color: var(--cd-brand);
      font-size: 17px;
      font-weight: 600;
      font-family: 'Jost';
      }
      button#CartDrawer-Checkout {
      font-family: 'Orbitron';
      font-size: 26px;
      text-transform: uppercase;
      font-weight: 700;
      border-radius: 8px;
      background: var(--cd-brand);
      color: #fff;
      height: 50px;
      transition: background .25s, transform .15s;
      }
      button#CartDrawer-Checkout:hover:not(:disabled) {
        background: var(--cd-accent);
      }
      button#CartDrawer-Checkout:disabled {
        background: var(--cd-accent);
        opacity: .55;
      }
      h2.totals__total {
        font-family: serif;
        font-size: 26px;
        font-weight: 600;
        color: var(--cd-brand);
        text-transform: capitalize;
    }
    .totals__total-value {
        font-size: 1.8rem;
        font-weight: 700;
        font-family: 'Orbitron';
        color: var(--cd-brand);
    }
    table.cart-items {
    padding-left: 1rem;
    padding-right: 1rem;
    }
    th#CartDrawer-ColumnTotal {
    display: none;
    }
    th#CartDrawer-ColumnProduct {
    display: none;
    }

    /* Quantity box (inside cart items) */
    .cart-drawer quantity-input.quantity.cart-quantity {
      background: var(--cd-brand);
      color: #fff;
      border: 1px solid #fff;
      border-radius: 8px;
    }
    .cart-drawer quantity-input.quantity.cart-quantity .quantity__button {
      color: #fff;
      border-color: rgba(255, 255, 255, .5);
    }
    .cart-drawer quantity-input.quantity.cart-quantity .quantity__input {
      color: #fff;
      background: transparent;
    }
    .cart-drawer .cart-remove-button {
        color: #fff;
        background: #26343f;
        height: 33px;
        border-radius: 5px;
    }

  /* ────────────── UPSELL SLIDER (CART) ────────────── */
  .cart-upsell {
    padding: 10px 1rem;
    border-top: 1px solid var(--cd-line);
    animation: fadeIn 0.3s ease;
  }

  .cart-upsell__heading {
    font-size: 16px;
    font-family: 'Orbitron';
    margin-bottom: 16px;
    color: var(--cd-brand);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: capitalize;
    text-align: center;
    justify-content: center;
    font-weight: 700;
  }

  .cart-upsell__heading span {
    background: var(--cd-brand);
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
  }

  .cart-upsell .slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--cd-accent) var(--cd-soft);
    -webkit-overflow-scrolling: touch;
  }

  .cart-upsell .slider::-webkit-scrollbar {
    height: 4px;
  }

  .cart-upsell .slider::-webkit-scrollbar-track {
    background: var(--cd-soft);
    border-radius: 10px;
  }

  .cart-upsell .slider::-webkit-scrollbar-thumb {
    background: var(--cd-accent);
    border-radius: 10px;
  }

  .cart-upsell-item {
    flex: 0 0 150px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--cd-line);
    border-radius: 10px;
    padding: 10px 8px 12px;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cart-upsell-item:hover {
    border-color: var(--cd-brand);
    box-shadow: 0 6px 16px rgba(38, 52, 63, 0.12);
  }

  .cart_upsell_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
  }

  .cart_upsell_main:hover {
    text-decoration: none;
  }

  .cart-upsell-item__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--cd-soft);
    margin-bottom: 8px;
    height: 100%;
  }

  .cart-upsell-item__title {
    font-size: 12px;
    font-weight: 600;
    font-family: inter, sans-serif;
    color: var(--cd-brand);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
  }

  .cart-upsell-item__price {
    font-size: 13px;
    font-weight: 700;
    font-family: inter, sans-serif;
    color: var(--cd-brand);
    margin-bottom: 8px;
  }

  .cart-upsell-item__price s {
    font-size: 11px;
    font-weight: 400;
    color: #8a96a0;
    margin-right: 4px;
    text-decoration: line-through;
  }

  .cart-upsell-item__add {
    background: var(--cd-brand);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Jost';
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    width: 100%;
    letter-spacing: 0.02em;
    margin-top: auto;
  }

  .cart-upsell-item__add:hover {
    background: var(--cd-accent);
  }

  .cart-upsell-item__add:active {
    transform: scale(0.96);
  }

  .cart-upsell-item__add.added {
    background: var(--cd-accent);
    pointer-events: none;
  }

  /* ────────────── RESPONSIVE ────────────── */
  @media (max-width: 480px) {
    .cart-upsell-item {
      flex: 0 0 120px;
      padding: 8px 6px 10px;
    }

    .cart-upsell-item__title {
      font-size: 11px;
      min-height: 12px;
    }

    .cart-upsell-item__price {
      font-size: 12px;
    }

    .cart-upsell-item__add {
      font-size: 13px;
      padding: 5px 12px;
    }
    .drawer__close{
      min-width: 25px !important;
      min-height: 25px !important;
    }
    .drawer__close svg {
      width: 20px !important;
      height: 20px !important;
    }
  }
  .drawer .card__heading{
    font-family: 'Jost';
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    color: var(--cd-brand);
  }
  @media(max-width: 750px){
  .cart-drawer .cart-item{
      column-gap: 0.2rem !important;
  }
  cart-remove-button .button{
  min-width: 49px !important;
    min-height: 49px !important;
  }
  .drawer quantity-input.quantity.cart-quantity{
  width: 129px;
  }
  button.quantity__button {
    width: 40px;
}
  }
