:root {
      --primary: #0F3892;
      --primary-hover: #0A2768;
      --secondary: #0066E7;
      --accent: #DC2626;
      --green: #16A34A;
      --bg: #F8FAFC;
      --card-bg: #FFFFFF;
      --border: #E2E8F0;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --shadow-sm: 0 1px 3px 0 rgba(0,0,0,0.06);
      --shadow-md: 0 4px 16px -2px rgba(15,23,42,0.08);
      --shadow-lg: 0 12px 32px -4px rgba(15,56,146,0.14);
    }

    :where(body.stw-cart-route, body.stw-checkout-route) * { box-sizing: border-box; margin: 0; padding: 0; }
    body.stw-cart-route, body.stw-checkout-route {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg);
      color: var(--text-main);
      font-size: 13px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    a { text-decoration: none; color: inherit; }
    button, input, select, textarea { font-family: inherit; }

    .container {
      width: min(1200px, calc(100% - 32px));
      margin: auto;
    }

    /* Top Bar */
    .top-bar {
      background: linear-gradient(90deg, #0F3892, #0052CC);
      color: #fff;
      font-size: 11.5px;
      font-weight: 600;
      padding: 7px 0;
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* Header */
    .header-main {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 12px 0;
      position: sticky;
      top: 0;
      z-index: 99;
      box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    }
    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .brand-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .brand-group a { display: flex; align-items: center; text-decoration: none; }
    .stw-cart-brand-logo { display: block; width: 176px; height: auto; max-height: 36px; object-fit: contain; object-position: left center; }

    /* Cart Layout */
    .cart-wrapper {
      margin-top: 24px;
      margin-bottom: 60px;
    }
    .stw-cart-has-lines .cart-wrapper--cart { min-height: 1260px; }
    .stw-cart-has-lines .cart-wrapper--checkout { min-height: 930px; }
    .cart-steps {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .cart-steps b { color: var(--primary); font-size: 13px; }

    .cart-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr;
      gap: 24px;
    }
    .cart-grid[hidden],
    .empty-cart-box[hidden] {
      display: none !important;
    }

    /* Left: Product List */
    .cart-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 20px;
      box-shadow: var(--shadow-sm);
    }
    .cart-card-title {
      font-size: 15px;
      font-weight: 800;
      color: #0F172A;
      margin-bottom: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cart-card-title__note {
      color: var(--green);
      font-size: 12px;
      font-weight: 600;
    }
    .cart-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 0;
      border-bottom: 1px solid #F1F5F9;
      position: relative;
    }
    .cart-item:last-child { border-bottom: 0; }
    .cart-item-img {
      width: 75px;
      height: 75px;
      object-fit: contain;
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-radius: 10px;
      padding: 4px;
      flex-shrink: 0;
    }
    .cart-item-info {
      flex: 1;
    }
    .cart-item-title {
      font-size: 13px;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 4px;
      line-height: 1.35;
    }
    .cart-item-brand {
      font-size: 10px;
      font-weight: 800;
      color: var(--secondary);
      text-transform: uppercase;
    }
    .cart-item-price {
      font-size: 15px;
      font-weight: 900;
      color: #DC2626;
      margin-top: 4px;
    }
    .cart-item-reg {
      font-size: 11px;
      color: #94A3B8;
      text-decoration: line-through;
      margin-left: 4px;
    }

    /* Qty Stepper */
    .qty-stepper {
      display: flex;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #F8FAFC;
      overflow: hidden;
    }
    .qty-btn {
      width: 28px;
      height: 28px;
      background: none;
      border: none;
      font-size: 15px;
      font-weight: 700;
      color: #475569;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .qty-btn:hover { background: #E2E8F0; color: var(--primary); }
    .qty-input {
      width: 32px;
      height: 28px;
      text-align: center;
      border: none;
      background: transparent;
      font-size: 13px;
      font-weight: 800;
      color: #0F172A;
    }

    .btn-remove-item {
      background: none;
      border: none;
      color: #94A3B8;
      font-size: 16px;
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;
      margin-left: 8px;
    }
    .btn-remove-item:hover { color: #DC2626; background: #FEF2F2; }

    /* Empty Cart Box Full */
    .empty-cart-box {
      text-align: center;
      padding: 45px 20px;
      background: #fff;
      border-radius: 16px;
      border: 1px solid var(--border);
    }
    .empty-cart-icon {
      font-size: 55px;
      margin-bottom: 12px;
    }
    .empty-cart-icon svg {
      display: block;
      width: 42px;
      height: 42px;
      margin: 0 auto;
    }
    .empty-cart-box h2 {
      font-size: 18px;
      font-weight: 800;
      color: #0F172A;
      margin-bottom: 8px;
    }
    .empty-cart-box p {
      font-size: 13px;
      color: #64748B;
      max-width: 460px;
      margin: 0 auto 20px;
    }

    /* Cross-sell box */
    .cross-sell-box {
      margin-top: 20px;
      background: #F0FDF4;
      border: 1px dashed #86EFAC;
      border-radius: 12px;
      padding: 14px 16px;
    }
    .cross-sell-title {
      font-size: 12.5px;
      font-weight: 800;
      color: #166534;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .cross-sell-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid rgba(134, 239, 172, 0.4);
    }
    .cross-sell-item:last-child { border-bottom: 0; }
    .btn-add-cross {
      background: #16A34A;
      color: #fff;
      border: 0;
      padding: 5px 12px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
    }
    .btn-add-cross:hover { background: #15803D; }

    /* Right: Checkout Form */
    .checkout-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 22px;
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 80px;
    }
    .checkout-title {
      font-size: 15px;
      font-weight: 800;
      color: #0F172A;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .form-group {
      margin-bottom: 12px;
    }
    .form-group label {
      display: block;
      font-size: 11.5px;
      font-weight: 700;
      color: #334155;
      margin-bottom: 5px;
    }
    .form-control {
      width: 100%;
      height: 38px;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0 12px;
      font-size: 13px;
      color: #0F172A;
      background: #fff;
      outline: none;
      transition: all 0.2s;
    }
    .form-control:focus {
      border-color: var(--secondary);
      box-shadow: 0 0 0 3px rgba(0, 102, 231, 0.1);
    }

    /* Coupon Box */
    .coupon-wrap {
      display: flex;
      gap: 8px;
      margin: 14px 0;
    }
    .coupon-input {
      flex: 1;
      height: 38px;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0 12px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
    }
    .coupon-btn {
      background: #1E293B;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 0 16px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }
    .coupon-btn:hover { background: #0F172A; }

    /* Summary lines */
    .sum-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12.5px;
      color: #475569;
      margin-bottom: 8px;
    }
    .sum-row b { color: #0F172A; font-weight: 700; }
    .sum-row.total {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1.5px dashed var(--border);
      font-size: 14px;
      font-weight: 800;
      color: #0F172A;
    }
    .sum-row.total span:last-child {
      font-size: 18px;
      font-weight: 900;
      color: #DC2626;
    }

    /* Primary Submit Button */
    .btn-checkout-now {
      width: 100%;
      height: 48px;
      background: linear-gradient(135deg, #0F3892 0%, #0066E7 100%);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
      box-shadow: 0 4px 14px rgba(15,56,146,0.25);
      transition: all 0.2s;
    }
    .btn-checkout-now:hover:not(:disabled) {
      opacity: 0.95;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(15,56,146,0.35);
    }
    .btn-checkout-now:disabled {
      background: #CBD5E1 !important;
      color: #64748B !important;
      cursor: not-allowed !important;
      box-shadow: none !important;
      transform: none !important;
    }

    /* MODAL ĐẶT HÀNG THÀNH CÔNG CHO KHÁCH */
    .btn-modal-close {
      position: absolute;
      top: 14px;
      right: 16px;
      width: 34px;
      height: 34px;
      background: #F1F5F9;
      border: 1px solid #E2E8F0;
      border-radius: 50%;
      font-size: 20px;
      font-weight: 700;
      color: #64748B;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      line-height: 1;
      z-index: 10;
    }
    .btn-modal-close:hover {
      background: #DC2626;
      border-color: #DC2626;
      color: #FFFFFF;
      transform: rotate(90deg) scale(1.08);
    }
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(4px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999999;
      padding: 16px;
    }
    .modal-overlay.active { display: flex; }
    .modal-box {
      position: relative;
      background: #fff;
      border-radius: 20px;
      max-width: 500px;
      width: 100%;
      padding: 32px 28px;
      text-align: center;
      box-shadow: var(--shadow-lg);
      animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes modalSlide {
      from { opacity: 0; transform: translateY(20px) scale(0.96); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .modal-success-icon {
      width: 64px;
      height: 64px;
      background: #DCFCE7;
      color: #16A34A;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      margin: 0 auto 16px;
      box-shadow: 0 0 0 8px #F0FDF4;
    }
    .modal-title {
      font-size: 20px;
      font-weight: 900;
      color: #0F172A;
      margin-bottom: 6px;
    }
    .modal-code-badge {
      display: inline-block;
      background: #EFF6FF;
      color: #0066E7;
      border: 1px solid #BFDBFE;
      padding: 4px 12px;
      border-radius: 20px;
      font-weight: 800;
      font-size: 13px;
      margin-bottom: 18px;
    }
    .modal-info-card {
      background: #F8FAFC;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px 16px;
      text-align: left;
      font-size: 12.5px;
      margin-bottom: 20px;
      line-height: 1.6;
    }
    .modal-info-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .modal-info-row:last-child { margin-bottom: 0; }
    .modal-promise {
      font-size: 12px;
      color: #166534;
      font-weight: 600;
      margin-bottom: 20px;
      background: #F0FDF4;
      padding: 8px 12px;
      border-radius: 8px;
    }
    .btn-modal-back {
      display: block;
      width: 100%;
      height: 46px;
      line-height: 46px;
      background: linear-gradient(135deg, #0F3892 0%, #0066E7 100%);
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      border-radius: 10px;
      text-decoration: none;
      box-shadow: 0 4px 14px rgba(15,56,146,0.25);
    }
    .btn-modal-back:hover { opacity: 0.95; }

    /* ===================================================
       RESPONSIVE ĐA THIẾT BỊ (DESKTOP 2 CỘT & MOBILE CHUẨN CỎ MỀM)
       =================================================== */
    .cart-grid {
      display: grid;
      grid-template-columns: 1fr 440px;
      gap: 24px;
      align-items: start;
    }
    .cart-card {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .checkout-card {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      position: sticky;
      top: 20px;
    }

    /* MÀN HÌNH ĐIỆN THOẠI & TABLET (DÒNG CHẢY TỰ NHIÊN CHUẨN CỎ MỀM) */
    @media (max-width: 868px) {
      .cart-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
      }
      .cart-card {
        order: 1 !important; /* 1. GIỎ HÀNG LÊN TRÊN CÙNG TRÊN MOBILE */
        width: 100% !important;
        padding: 16px !important;
      }
      .checkout-card {
        order: 2 !important; /* 2. FORM NHẬN HÀNG & NÚT CHỐT ĐƠN Ở DƯỚI */
        width: 100% !important;
        position: static !important;
        padding: 16px !important;
      }
      .form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }
      .form-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }
      .search-select-dropdown {
        min-width: 100% !important;
      }
      .cart-wrapper {
        padding: 12px 10px 40px !important;
      }
      .cart-steps {
        font-size: 11px !important;
        margin-bottom: 12px !important;
      }
    }
    .field-label { display:block; margin:0 0 6px; color:#344054; font-size:12px; font-weight:700; }
    .cart-next-copy { margin:0 0 14px; color:#64748B; font-size:12.5px; line-height:1.55; }
    .checkout-mobile-header,
    .cart-mobile-header,
    .checkout-address-trigger,
    .mobile-checkout-bar { display: none; }

    .cart-item-select,
    .cart-select-all { display: none; }

    .cart-recommendations {
      margin-top: 18px;
      padding: 20px;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      background: #fff;
    }

    .cart-recommendations h2 {
      margin: 0 0 16px;
      color: #0f2f55;
      font-size: 20px;
    }

    .cart-recommendations__grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .cart-recommendation {
      min-width: 0;
      overflow: hidden;
      border: 1px solid #e6edf3;
      border-radius: 10px;
      background: #fff;
      color: #102d4e;
      text-decoration: none;
    }

    .cart-recommendation__image {
      position: relative;
      display: grid;
      aspect-ratio: 1;
      place-items: center;
      overflow: hidden;
      background: #fff;
    }

    .cart-recommendation__image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .cart-recommendation__image em {
      position: absolute;
      z-index: 1;
      top: 7px;
      right: 7px;
      padding: 3px 6px;
      border-radius: 5px;
      background: #ec1838;
      color: #fff;
      font-size: 10px;
      font-style: normal;
      font-weight: 800;
    }

    .cart-recommendation__body {
      display: block;
      padding: 10px;
    }

    .cart-recommendation__body > strong {
      display: -webkit-box;
      overflow: hidden;
      min-height: 36px;
      font-size: 12px;
      line-height: 18px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .cart-recommendation__price {
      display: inline-block;
      margin-top: 8px;
      color: #ec1838;
      font-size: 16px;
      font-weight: 850;
    }

    .cart-recommendation__body del {
      margin-left: 5px;
      color: #94a3b8;
      font-size: 10px;
    }

    .checkout-address-sheet,
    .checkout-address-sheet__panel,
    .checkout-address-sheet__body { display: contents; }

    .checkout-address-sheet__backdrop,
    .checkout-address-sheet__head,
    .checkout-address-sheet__footer { display: none; }
  
    /* VÙNG 1: THÔNG TIN NHẬN HÀNG (CHUẨN CỎ MỀM) */
    .section-title {
      font-size: 16px;
      font-weight: 800;
      color: #0F172A;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 12px;
    }
    .form-grid-3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 10px;
      margin-bottom: 12px;
    }
    .form-row-full {
      margin-bottom: 12px;
    }
    .comem-input {
      width: 100%;
      height: 42px;
      border: 1px solid #D0D5DD;
      border-radius: 8px;
      padding: 0 14px;
      font-size: 13px;
      color: #0F172A;
      background: #FFFFFF;
      outline: none;
      transition: all 0.2s;
    }
    .comem-input:focus {
      border-color: #0066E7;
      box-shadow: 0 0 0 3px rgba(0, 102, 231, 0.12);
    }
    .comem-input.is-invalid,
    .search-select-trigger.is-invalid {
      border-color: #DC2626;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
    }
    .field-error {
      display: block;
      margin-top: 5px;
      color: #B42318;
      font-size: 11.5px;
      font-weight: 650;
      line-height: 1.4;
    }
    .checkout-feedback {
      margin-top: 14px;
      border: 1px solid #FDA29B;
      border-radius: 9px;
      padding: 10px 12px;
      background: #FEF3F2;
      color: #B42318;
      font-size: 12.5px;
      font-weight: 700;
      line-height: 1.45;
    }
    .checkout-feedback[hidden] { display: none; }
    .comem-select {
      width: 100%;
      height: 42px;
      border: 1px solid #D0D5DD;
      border-radius: 8px;
      padding: 0 12px;
      font-size: 12.5px;
      color: #0F172A;
      background: #FFFFFF;
      outline: none;
      cursor: pointer;
      transition: all 0.2s;
    }
    .comem-select:focus {
      border-color: #0066E7;
      box-shadow: 0 0 0 3px rgba(0, 102, 231, 0.12);
    }
    .comem-textarea {
      width: 100%;
      height: 72px;
      border: 1px solid #D0D5DD;
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 13px;
      color: #0F172A;
      background: #FFFFFF;
      outline: none;
      resize: vertical;
      transition: all 0.2s;
    }
    .comem-textarea:focus {
      border-color: #0066E7;
      box-shadow: 0 0 0 3px rgba(0, 102, 231, 0.12);
    }
    @media (max-width: 640px) {
      .stw-cart-brand-logo { width: 148px; max-height: 30px; }
      .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; gap: 10px; }
    }

  
    /* BỘ CHỌN ĐỊA CHỈ THÔNG MINH 3 CẤP (CHUẨN CỎ MỀM) */
    .search-select-wrapper {
      position: relative;
      user-select: none;
    }
    .search-select-trigger {
      width: 100%;
      height: 42px;
      border: 1px solid #D0D5DD;
      border-radius: 8px;
      padding: 0 12px;
      background: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      font-size: 12.5px;
      color: #0F172A;
      transition: all 0.2s;
    }
    .search-select-trigger:hover {
      border-color: #94A3B8;
    }
    .search-select-wrapper.open .search-select-trigger {
      border-color: #0066E7;
      box-shadow: 0 0 0 3px rgba(0, 102, 231, 0.12);
    }
    .trigger-label {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: 600;
      color: #1E293B;
    }
    .trigger-arrow {
      color: #64748B;
      font-size: 11px;
      margin-left: 4px;
      transition: transform 0.2s;
    }
    .search-select-wrapper.open .trigger-arrow {
      transform: rotate(180deg);
      color: #0066E7;
    }
    .search-select-dropdown {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      width: 100%;
      min-width: 200px;
      background: #FFFFFF;
      border: 1px solid #CBD5E1;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.14);
      z-index: 1000;
      display: none;
      overflow: hidden;
      animation: dropFade 0.15s ease;
    }
    @keyframes dropFade {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .search-select-wrapper.open .search-select-dropdown {
      display: block;
    }
    .search-input-box {
      padding: 8px;
      background: #F8FAFC;
      border-bottom: 1px solid #E2E8F0;
    }
    .dropdown-search-input {
      width: 100%;
      height: 32px;
      border: 1px solid #CBD5E1;
      border-radius: 6px;
      padding: 0 10px;
      font-size: 12px;
      outline: none;
      background: #FFFFFF;
    }
    .dropdown-search-input:focus {
      border-color: #0066E7;
      box-shadow: 0 0 0 2px rgba(0,102,231,0.1);
    }
    .dropdown-options-list {
      max-height: 190px;
      overflow-y: auto;
      padding: 4px 0;
    }
    .dropdown-options-list::-webkit-scrollbar {
      width: 6px;
    }
    .dropdown-options-list::-webkit-scrollbar-thumb {
      background: #CBD5E1;
      border-radius: 4px;
    }
    .dropdown-option {
      padding: 8px 12px;
      font-size: 12px;
      color: #334155;
      cursor: pointer;
      transition: all 0.15s;
    }
    .dropdown-option:hover {
      background: #EFF6FF;
      color: #0066E7;
      font-weight: 600;
    }
    .dropdown-option.selected {
      background: #0066E7;
      color: #FFFFFF;
      font-weight: 700;
    }
    .dropdown-option.empty-msg {
      color: #94A3B8;
      text-align: center;
      padding: 12px;
      cursor: default;
    }

  
    /* ===================================================
       DANH SÁCH SẢN PHẨM TRONG GIỎ (CHUẨN 2 TẦNG CỎ MỀM)
       =================================================== */
    .cart-item {
      display: flex;
      gap: 14px;
      padding: 16px 0;
      border-bottom: 1px solid #F1F5F9;
      align-items: flex-start;
    }
    .cart-item:last-child {
      border-bottom: none;
      padding-bottom: 4px;
    }
    .cart-item-thumb-box {
      width: 68px;
      height: 68px;
      flex-shrink: 0;
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 4px;
      overflow: hidden;
    }
    .cart-item-img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    .cart-item-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-width: 0;
    }
    .cart-item-row-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
    }
    .cart-item-title {
      font-size: 13.5px;
      font-weight: 700;
      color: #0F3892;
      line-height: 1.35;
      flex: 1;
    }
    .btn-remove-comem {
      background: transparent;
      border: none;
      color: #94A3B8;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      padding: 2px 4px;
      flex-shrink: 0;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 3px;
    }
    .btn-remove-comem svg {
      width: 17px;
      height: 17px;
    }
    .btn-remove-comem:hover {
      color: #EF4444;
    }
    .cart-item-row-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }
    .qty-pill-stepper {
      display: inline-flex;
      align-items: center;
      background: #FFFFFF;
      border: 1px solid #D0D5DD;
      border-radius: 20px;
      padding: 2px 4px;
      height: 30px;
    }
    .qty-pill-stepper .qty-btn {
      width: 24px;
      height: 24px;
      border: none;
      background: transparent;
      color: #475569;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.15s;
    }
    .qty-pill-stepper .qty-btn:hover {
      background: #F1F5F9;
      color: #0F3892;
    }
    .qty-pill-stepper .qty-input {
      width: 32px;
      height: 24px;
      border: none;
      background: transparent;
      text-align: center;
      font-size: 13px;
      font-weight: 800;
      color: #0F172A;
      outline: none;
    }
    .cart-item-pricing {
      display: flex;
      align-items: baseline;
      gap: 8px;
      text-align: right;
    }
    .cart-item-reg-price {
      font-size: 12px;
      color: #94A3B8;
      text-decoration: line-through;
      font-weight: 500;
    }
    .cart-item-sale-price {
      font-size: 15px;
      font-weight: 800;
      color: #DC2626;
    }
    .cart-item-discount {
      display: inline-flex;
      align-items: center;
      min-height: 20px;
      padding: 0 6px;
      border-radius: 5px;
      background: #FFF0F3;
      color: #DC2626;
      font-size: 10.5px;
      font-weight: 800;
      line-height: 1;
    }
    @media (max-width: 380px) {
      .cart-item-row-bottom { align-items: flex-start; flex-wrap: wrap; }
      .cart-item-pricing { width: 100%; justify-content: flex-end; }
    }
