/* Drawer shell */
#supp-cart-drawer.supp-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    font-family: inherit;
    /* Override WooCommerce CSS variable for remove links */
    --wc-red: #2b2b2b;
  }
  
  #supp-cart-drawer .supp-cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 180ms ease;
  }
  
  /* Fullscreen panel */
  #supp-cart-drawer .supp-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100vw;
    background: #F6F3F2;
    transform: translateX(102%);
    transition: transform 220ms ease;
    overflow: auto;
  }
 
  /* Desktop: 25% width */
  @media (min-width: 1024px) {
    #supp-cart-drawer .supp-cart-drawer__panel {
      width: 35vw;
    }
  }
  
  /* Open state */
  #supp-cart-drawer.is-open {
    pointer-events: auto;
  }
  
  #supp-cart-drawer.is-open .supp-cart-drawer__overlay {
    opacity: 1;
  }
  
  #supp-cart-drawer.is-open .supp-cart-drawer__panel {
    transform: translateX(0);
  }
  
  /* Close button */
  #supp-cart-drawer .supp-cart-drawer__close {
    appearance: none;
    border: 0;
    background: #fff;
    position: fixed;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.12);
    color: #2b2b2b!important;
    cursor: pointer;
    z-index: 2;
    font-size: 24px;
    line-height: 1;
  }
  
  /* Inner spacing */
  #supp-cart-drawer .supp-cart-drawer__inner {
    padding: 18px;
    padding-top: 25px;
    max-width: 720px;
    margin: 0 auto;
  }
  
  /* Header */
  .supp-cart-head__title {
    margin: 0 0 25px 0;
    font-size: 25px;
    font-weight: 600;
    color: #2b2b2b;
    font-family: poppins;
  }
  
  /* Free shipping bar */
  .supp-free-ship {
    border: 2px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .supp-free-ship__text {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 400;
    color: #2b2b2b;
  }
  
  .supp-free-ship__bar {
    height: 6px;
    background: rgba(0,0,0,0.10);
    border-radius: 999px;
    overflow: hidden;
  }
  
  .supp-free-ship__fill {
    display: block;
    height: 100%;
    background: #2b2b2b;
    width: 0;
  }
  
  /* Cart items */
  .supp-cart-items {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
  }
  
  .supp-cart-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    padding: 10px 10px 4px 10px;
    border: 2px solid rgba(0,0,0,0.12);
    border-radius: 10px;
  }
  
  .supp-cart-item__img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .supp-cart-item__title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
    text-decoration: none;
    margin-bottom: 8px;
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  .supp-cart-item__meta {
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 5px;
  }
  
  .supp-cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }
  
  .supp-cart-item__qtywrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .supp-cart-item__qty-btn {
    appearance: none;
    border: 0;
    background: #f5f5f5;
    width: 18px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    color: #2b2b2b;
    padding: 0;
    transition: background-color 150ms ease;
    flex-shrink: 0;
  }

  .supp-cart-item__qty-btn:hover {
    background: #e8e8e8;
  }

  .supp-cart-item__qty-btn:active {
    background: #ddd;
  }

  .supp-cart-item__qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .supp-cart-item__qty-btn span {
    display: block;
    font-weight: 400;
  }
  
  .supp-cart-item__qty {
    font-size: 12px;
    width: 30px;
    height: 25px;
    border: 0;
    border-left: 1px solid rgba(0,0,0,0.18);
    border-right: 1px solid rgba(0,0,0,0.18);
    padding: 3px 6px;
    text-align: center;
    background: #fbfbfb;
    appearance: textfield;
  }

  .supp-cart-item__qty::-webkit-outer-spin-button,
  .supp-cart-item__qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  .supp-cart-item__bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
  }

  .supp-cart-item__price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
  }

  .supp-cart-item__price-original {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.6;
    color: #666;
    line-height: 1;
    margin: 0;
  }

  .supp-cart-item__price-original .woocommerce-Price-amount,
  .supp-cart-item__price-original .woocommerce-Price-amount * {
    text-decoration: line-through;
    line-height: 1;
    margin: 0;
  }
  
  .supp-cart-item__price {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
  }

  .supp-cart-item__price .woocommerce-Price-amount,
  .supp-cart-item__price .woocommerce-Price-amount * {
    line-height: 1;
    margin: 0;
  }

  .supp-cart-item__save {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.85;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
  }
  
  /* Remove link styles - scoped to cart drawer for higher specificity */
  #supp-cart-drawer .supp-cart-item__remove,
  #supp-cart-drawer .supp-cart-item__remove.remove,
  #supp-cart-drawer a.supp-cart-item__remove,
  #supp-cart-drawer .woocommerce a.remove,
  #supp-cart-drawer .woocommerce a.remove.remove_from_cart_button {
    font-size: 9px !important;
    text-decoration: underline !important;
    opacity: 0.75 !important;
    color: #2b2b2b !important;
    border: 0 !important;
    border-radius: 0 !important;
    height: auto !important;
    width: auto !important;
    line-height: normal !important;
    font-weight: normal !important;
    margin: 10px 15px 0 0!important;
  }


  /* Empty state */
  .supp-cart-empty {
    padding: 18px;
    border: 2px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    font-size: 14px;
  }

  /* Empty state buttons */
  .supp-cart-empty-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 10px;
  }

  .supp-cart-empty-btn {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
  }

  .supp-cart-empty-btn__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .supp-cart-empty-btn__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(43, 43, 43, 0.85);
    padding: 5px;
    text-align: center;
  }

  .supp-cart-empty-btn__text {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    display: block;
  }
  
  /* Subtotal */
  .supp-cart-subtotal {
    padding: 18px 0 0 0;
    margin-bottom: 12px;
    border-top: 2px solid rgba(0,0,0,0.12);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
  }

  .supp-cart-subtotal__left {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .supp-cart-subtotal__label {
    font-size: 13px;
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1;
  }

  .supp-cart-subtotal__note {
    font-size: 10px;
    color: rgba(43, 43, 43, 0.65);
    line-height: 1;
  }

  .supp-cart-subtotal__amount {
    font-size: 20px;
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1;
    flex-shrink: 0;
  }

  .supp-cart-subtotal__amount .woocommerce-Price-amount,
  .supp-cart-subtotal__amount .woocommerce-Price-amount * {
    line-height: 1;
    margin: 0;
  }
  
  /* Actions */
  .supp-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .supp-cart-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
  }


  
  .supp-cart-actions__btn--secondary {
    border: 2px solid rgba(0,0,0,0.12);
    color: inherit;
    background: #fff;
  }
  
  .supp-cart-actions__btn--primary {
    border: 2px solid #2b2b2b;
    background: #2b2b2b;
    color: #fff;
  }
  
  /* Trust sections */
  .supp-cart-trust {
    margin-top: 15px;
    padding-top: 15px;
    display: grid;
    gap: 16px;
  }

  .supp-cart-trust__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .supp-cart-trust__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #2b2b2b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 0.1;
  }

  .supp-cart-trust__icon i {
    font-size: inherit;
    color: inherit;
  }

  .supp-cart-trust__content {
    flex: 1;
    min-width: 0;
  }

  .supp-cart-trust__text {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #2b2b2b;
    line-height: 1.2;
    letter-spacing: 0.2px;
  }

  .supp-cart-trust__text strong {
    font-weight: 600;
  }

  /* Prevent background scroll when open */
  body.supp-cart-drawer-open {
    overflow: hidden;
  }