.cart-hero {
  padding: 28px 48px 12px;
}

.cart-hero__line {
  display: none;
}

.cart-hero h1 {
  margin: 0;
  text-align: center;
  font-family: Calibri, "Segoe UI", Candara, sans-serif;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 800;
  color: #7b4f2f;
  letter-spacing: .02em;
  text-transform: none;
}

.cart-hero p {
  max-width: 760px;
  margin: 14px auto 0;
  text-align: center;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: #74553d;
}

.cart-layout {
  padding: 18px 48px 52px;
}

.cart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .72fr);
  gap: 28px;
  align-items: start;
}

.cart-items,
.cart-summary__card {
  border: 1px solid rgba(185, 135, 92, .24);
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.94), transparent 46%),
    linear-gradient(180deg, rgba(255,253,249,.98), rgba(245,236,223,.98));
  box-shadow: 0 20px 42px rgba(74, 46, 16, .08);
}

.cart-items {
  padding: 28px 30px 30px;
}

.cart-items__head {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 150px 120px;
  gap: 18px;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(185, 135, 92, .18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9c6a47;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 150px 120px;
  gap: 18px;
  align-items: center;
  padding: 16px 6px;
  border-bottom: 1px solid rgba(185, 135, 92, .14);
}

.cart-item[hidden],
.cart-empty[hidden] {
  display: none !important;
}

.cart-item:last-of-type {
  border-bottom: 0;
}

.cart-item__product {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.cart-item__image {
  width: 118px;
  aspect-ratio: 1;
  border-radius: 26px;
  border: 1px solid rgba(178, 124, 80, .38);
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 34px rgba(76, 50, 22, .12);
}

.cart-item__image--1 {
  background-image: url('https://images.unsplash.com/photo-1518544801976-3e159e50e5bb?auto=format&fit=crop&w=900&q=80');
}

.cart-item__image--2 {
  background-image: url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=900&q=80');
}

.cart-item__image--3 {
  background-image: url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c0?auto=format&fit=crop&w=900&q=80');
}

.cart-item__copy h2 {
  margin: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #603f27;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__copy p {
  margin: 7px 0 10px;
  font-size: 12px;
  line-height: 1.7;
  color: #8c6a53;
}

.cart-remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b17044;
  cursor: pointer;
}

.cart-qty {
  display: inline-grid;
  grid-template-columns: 42px 52px 42px;
  align-items: center;
  border: 1px solid rgba(166, 114, 73, .58);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.9);
}

.cart-qty__btn {
  border: 0;
  background: transparent;
  height: 44px;
  font-size: 20px;
  font-weight: 700;
  color: #7b522f;
  cursor: pointer;
}

.cart-qty strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-inline: 1px solid rgba(166, 114, 73, .18);
  font-size: 15px;
  color: #52331f;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 800;
  color: #7c4f2e;
}

.cart-tools {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 14px;
}

.cart-inline-summary {
  padding-top: 20px;
}

.cart-inline-summary__bar {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 150px 120px;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #cc8a56, #b87443);
  color: #fff;
  box-shadow: 0 16px 28px rgba(176, 110, 63, .2);
}

.cart-inline-summary__bar p,
.cart-inline-summary__bar strong,
.cart-inline-summary__bar span {
  margin: 0;
}

.cart-inline-summary__bar p {
  font-family: Calibri, "Segoe UI", Candara, sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.cart-inline-summary__bar strong {
  font-family: Calibri, "Segoe UI", Candara, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.cart-inline-summary__bar span {
  font-family: Calibri, "Segoe UI", Candara, sans-serif;
  font-size: 30px;
  font-weight: 900;
  text-align: right;
}
.cart-continue,
.cart-empty__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(169, 113, 71, .22);
  background: linear-gradient(180deg, #d69a66, #bc7742);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(166, 106, 62, .18);
}

.cart-continue {
  min-width: 180px;
  background: linear-gradient(180deg, #f7efe4, #eddcc8);
  color: #7c4f2e;
  box-shadow: none;
}

.cart-summary__card {
  position: sticky;
  top: 34px;
  padding: 28px 28px 30px;
}

.cart-summary__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 22px;
}

.cart-summary__top p,
.cart-summary__top strong {
  margin: 0;
}

.cart-summary__top p {
  font-family: Calibri, "Segoe UI", Candara, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #7c4f2e;
}

.cart-summary__top strong {
  font-family: Calibri, "Segoe UI", Candara, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #a16e49;
  text-align: right;
}

.cart-summary__checkout,
.cart-summary__chat {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-family: Calibri, "Segoe UI", Candara, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: none;
}

.cart-summary__checkout {
  min-width: 180px;
  background: linear-gradient(180deg, #c8834e, #b06e3f);
  color: #fff;
  box-shadow: 0 16px 30px rgba(176, 110, 63, .22);
}

.cart-summary__chat {
  background: linear-gradient(180deg, #f4ecdf, #ead9c4);
  color: #7b4f2f;
}

.cart-summary__notes {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.cart-summary__notes div {
  padding: 16px 16px 15px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,241,232,.86));
  border: 1px solid rgba(185, 135, 92, .14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}

.cart-summary__notes strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: #6b4428;
}

.cart-summary__notes p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #87654c;
}

.cart-processing {
  padding: 18px 0 6px;
}

.cart-processing__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
  padding: 12px 8px 2px;
  border-radius: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.cart-processing__timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 31px;
  height: 2px;
  background: #8b5e3c;
}

.cart-processing__timeline::after {
  content: "›";
  position: absolute;
  right: 7px;
  top: 20px;
  color: #8b5e3c;
  font-size: 28px;
  line-height: 1;
}

.cart-processing__step {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cart-processing__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
  margin-bottom: 8px;
}

.cart-processing__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-processing__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.cart-processing__icon--plane img {
  width: 28px;
  height: 28px;
}

.cart-processing__icon--truck img {
  width: 26px;
  height: 26px;
}

.cart-processing__icon--cart svg,
.cart-processing__icon--plane svg {
  stroke: #7b4f2f;
}

.cart-processing__step strong {
  font-size: 12px;
  font-weight: 800;
  color: #6b4428;
  line-height: 1.25;
}

.cart-processing__step small {
  font-size: 11px;
  line-height: 1.3;
  color: #87654c;
}

.cart-processing__arrow {
  display: none;
}

.cart-empty {
  padding: 26px 6px 8px;
}

.cart-empty h2 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: #7c4f2e;
}

.cart-empty p {
  margin: 0 0 18px;
  font-size: 13px;
  color: #85664f;
}

@media (max-width: 1180px) {
  .cart-shell {
    grid-template-columns: 1fr;
  }

  .cart-summary__card {
    position: static;
  }
}

@media (max-width: 960px) {
  .cart-hero,
  .cart-layout {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cart-items,
  .cart-summary__card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .cart-items {
    padding: 0;
  }

  .cart-items__head {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .cart-item__product {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-item__image {
    width: 92px;
    border-radius: 20px;
  }

  .cart-item__price,
  .cart-item__qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .cart-item__price::before {
    content: 'Price';
  }

  .cart-item__price::before {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9c6a47;
  }

  .cart-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-inline-summary__bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 12px 18px;
    border-radius: 28px;
  }

  .cart-processing__timeline {
    grid-template-columns: 1fr;
  }

  .cart-processing__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .cart-continue,
  .cart-empty__link,
  .cart-summary__checkout {
    width: 100%;
  }

  .cart-summary__card {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .cart-hero {
    padding-top: 20px;
  }

  .cart-hero h1 {
    font-size: 30px;
  }

  .cart-hero p {
    font-size: 14px;
    line-height: 1.45;
  }

  .cart-item__copy h2 {
    font-size: 13px;
  }

  .cart-item__copy p,
  .cart-summary__row span,
  .cart-summary__row strong,
  .cart-summary__notes p {
    font-size: 12px;
  }

  .cart-summary__top p {
    font-size: 24px;
  }

  .cart-summary__total strong {
    font-size: 24px;
  }
}
@media (max-width: 960px) {
  .cart-shell {
    display: flex;
    flex-direction: column;
  }

  .cart-items {
    display: contents;
  }

  .cart-summary {
    order: 2;
  }

  .cart-tools {
    order: 3;
    width: 100%;
  }
}

/* =========================================================
   MOBILE RESPONSIVE FIX
   ========================================================= */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  /* Top bar: 3 vùng riêng, không còn chồng chữ */
  body .top-bar {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: minmax(108px, auto) minmax(0, 1fr) 30px !important;
    grid-template-rows: 52px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body .top-bar__actions {
    display: contents !important;
  }

  body .top-bar__center {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 8px !important;
    transform: none !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .06em !important;
    box-sizing: border-box !important;
  }

  body .top-bar__whatsapp {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }

  body .top-bar__whatsapp span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 17px !important;
  }

  body .top-bar__wa-icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  body .top-bar__cart {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
  }

  body .top-bar__cart svg {
    width: 20px !important;
    height: 20px !important;
  }

  .mobile-header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .main-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .scroll-progress {
    left: 0 !important;
    width: 100% !important;
  }

  .cart-hero {
    width: 100%;
    padding: 28px 16px 18px !important;
    box-sizing: border-box;
  }

  .cart-hero h1 {
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.1;
  }

  .cart-hero p {
    max-width: 360px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.65;
  }

  .cart-layout {
    width: 100%;
    margin: 0 !important;
    padding: 0 14px 38px !important;
    box-sizing: border-box;
  }

  .cart-shell {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 18px !important;
  }

  /* Không dùng display: contents vì dễ vỡ bố cục mobile */
  .cart-items {
    display: block !important;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .cart-items__head {
    display: none !important;
  }

  .cart-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px 14px !important;
    width: 100%;
    margin: 0 0 12px;
    padding: 14px !important;
    border: 1px solid rgba(185, 135, 92, .18) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 26px rgba(74, 46, 16, .07) !important;
    box-sizing: border-box;
  }

  .cart-item__product {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 13px !important;
    align-items: center !important;
    min-width: 0;
  }

  .cart-item__image {
    width: 82px !important;
    min-width: 82px !important;
    border-radius: 16px !important;
  }

  .cart-item__copy {
    min-width: 0;
  }

  .cart-item__copy h2 {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .cart-item__copy p {
    margin: 5px 0 7px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

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

  .cart-item__qty {
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .cart-item__price {
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center;
    font-size: 15px !important;
  }

  .cart-item__price::before {
    display: none !important;
    content: none !important;
  }

  .cart-qty {
    grid-template-columns: 34px 40px 34px !important;
    border-radius: 14px !important;
  }

  .cart-qty__btn,
  .cart-qty strong {
    height: 38px !important;
  }

  .cart-qty__btn {
    font-size: 18px !important;
  }

  .cart-qty strong {
    font-size: 13px !important;
  }

  .cart-inline-summary {
    width: 100%;
    padding-top: 4px !important;
  }

  .cart-inline-summary__bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    justify-items: stretch !important;
    align-items: center !important;
    min-height: 72px !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-radius: 22px !important;
    text-align: left !important;
    box-sizing: border-box;
  }

  .cart-inline-summary__bar p {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
  }

  .cart-inline-summary__bar strong {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    font-size: 24px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  .cart-inline-summary__bar span {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    font-size: 22px !important;
    white-space: nowrap !important;
  }

  .cart-tools {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100%;
    padding-top: 12px !important;
  }

  .cart-continue,
  .cart-empty__link,
  .cart-summary__checkout {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    height: 50px !important;
    padding: 0 12px !important;
    border-radius: 16px !important;
    font-size: 10px !important;
    box-sizing: border-box;
  }

  .cart-summary {
    order: initial !important;
    width: 100%;
    min-width: 0;
  }

  .cart-summary__card {
    position: static !important;
    width: 100%;
    padding: 18px !important;
    border: 1px solid rgba(185, 135, 92, .18) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,244,237,.94)) !important;
    box-shadow: 0 12px 30px rgba(74, 46, 16, .07) !important;
    box-sizing: border-box;
  }

  .cart-summary__top {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .cart-summary__top p {
    font-size: 25px !important;
    line-height: 1.2 !important;
  }

  .cart-summary__top strong {
    max-width: 100%;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  .cart-processing {
    padding: 8px 0 0 !important;
  }

  .cart-processing__timeline {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }

  .cart-processing__step {
    gap: 4px !important;
  }

  .cart-processing__icon {
    width: 38px !important;
    height: 38px !important;
  }

  .cart-processing__arrow {
    justify-self: center !important;
    margin: -3px 0 !important;
    transform: rotate(90deg) !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .cart-processing__step strong {
    font-size: 11px !important;
  }

  .cart-processing__step small {
    font-size: 10px !important;
  }

  .cart-summary__notes {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .cart-summary__notes div {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .cart-summary__notes strong,
  .cart-summary__notes p {
    font-size: 12px !important;
  }

  .footer {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  body .top-bar {
    grid-template-columns: 34px minmax(0, 1fr) 28px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body .top-bar__whatsapp span {
    display: none !important;
  }

  body .top-bar__center {
    padding: 0 6px !important;
    font-size: 9px !important;
    letter-spacing: .045em !important;
  }

  .cart-layout {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .cart-item__product {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  .cart-item__image {
    width: 74px !important;
    min-width: 74px !important;
  }

  .cart-inline-summary__bar {
    gap: 9px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .cart-inline-summary__bar p {
    font-size: 19px !important;
  }

  .cart-inline-summary__bar strong {
    font-size: 13px !important;
  }

  .cart-inline-summary__bar span {
    font-size: 20px !important;
  }
}

@media (max-width: 360px) {
  .cart-tools {
    grid-template-columns: 1fr !important;
  }

  .cart-inline-summary__bar {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .cart-inline-summary__bar p {
    grid-column: 1 / -1 !important;
  }

  .cart-inline-summary__bar strong {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .cart-inline-summary__bar span {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
  }
}

@media (max-width: 480px) {
  .cart-inline-summary__bar {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    gap: 4px 10px !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #cf8952 0%, #bf7743 100%) !important;
    box-shadow: 0 14px 26px rgba(176, 110, 63, .18) !important;
  }

  .cart-inline-summary__bar p {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  .cart-inline-summary__bar strong {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    font-size: 12px !important;
    opacity: .95 !important;
  }

  .cart-inline-summary__bar span {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .cart-tools {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding-top: 12px !important;
  }

  .cart-continue,
  .cart-empty__link,
  .cart-summary__checkout {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 12px !important;
    border-radius: 16px !important;
    font-size: 10px !important;
    letter-spacing: .09em !important;
    text-align: center !important;
  }

  .cart-continue {
    background: #fff !important;
    border-color: rgba(176, 110, 63, .18) !important;
    box-shadow: 0 8px 18px rgba(116, 76, 47, .08) !important;
  }

  .cart-summary__checkout {
    box-shadow: 0 12px 20px rgba(176, 110, 63, .16) !important;
  }
}


/* ===== FIX: compact order-processing timeline on mobile ===== */
@media (max-width: 768px) {
  .cart-hero.reveal,
  .cart-items.reveal,
  .cart-summary.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .cart-summary__card {
    padding: 16px 14px 18px !important;
  }

  .cart-summary__top {
    gap: 4px !important;
    margin-bottom: 10px !important;
  }

  .cart-summary__top p {
    font-size: clamp(21px, 6vw, 25px) !important;
    line-height: 1.12 !important;
  }

  .cart-summary__top strong {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  .cart-processing {
    padding: 6px 0 0 !important;
  }

  .cart-processing__timeline {
    display: grid !important;
    grid-template-columns:
      minmax(0, 1fr) 16px
      minmax(0, 1fr) 16px
      minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 3px !important;
    min-height: 0 !important;
    padding: 16px 10px 14px !important;
    border-radius: 18px !important;
  }

  .cart-processing__step {
    display: grid !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 4px !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .cart-processing__icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
  }

  .cart-processing__icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  .cart-processing__step strong {
    max-width: 90px !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .cart-processing__step small {
    max-width: 90px !important;
    font-size: 8px !important;
    line-height: 1.3 !important;
  }

  .cart-processing__arrow {
    align-self: center !important;
    justify-self: center !important;
    margin: 7px 0 0 !important;
    transform: none !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 380px) {
  .cart-processing__timeline {
    grid-template-columns:
      minmax(0, 1fr) 12px
      minmax(0, 1fr) 12px
      minmax(0, 1fr) !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .cart-processing__icon {
    width: 32px !important;
    height: 32px !important;
  }

  .cart-processing__step strong {
    font-size: 8px !important;
  }

  .cart-processing__step small {
    font-size: 7px !important;
  }
}

/* Match the order-processing card to the provided reference */
.cart-summary__card {
  padding: 28px 26px 30px;
  border-radius: 36px;
  background: linear-gradient(180deg, #fffdfa, #f8f1e8);
  box-shadow: 0 18px 40px rgba(74, 46, 16, .08);
}

.cart-summary__top {
  margin-bottom: 12px;
}

.cart-summary__top p {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
  color: #7d5233;
}

.cart-processing {
  padding: 10px 0 0;
}

.cart-processing__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  padding: 18px 12px 10px;
  background: transparent;
}

.cart-processing__timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 18px;
  top: 39px;
  height: 2px;
  background: #7f5332;
}

.cart-processing__timeline::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 39px;
  width: 13px;
  height: 13px;
  border-top: 2px solid #7f5332;
  border-right: 2px solid #7f5332;
  transform: translateY(-50%) rotate(45deg);
}

.cart-processing__step {
  position: relative;
  z-index: 1;
  justify-items: center;
  gap: 3px;
  padding-top: 0;
  text-align: center;
}

.cart-processing__step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 19px;
  width: 2px;
  height: 8px;
  border-radius: 999px;
  background: #7f5332;
  transform: translateX(-50%);
}

.cart-processing__icon {
  width: 58px;
  height: 42px;
  margin-bottom: 2px;
  padding: 0 6px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-18px);
}

.cart-processing__icon img {
  width: 42px;
  height: 42px;
}

.cart-processing__icon--plane img {
  width: 68px;
  height: 68px;
}

.cart-processing__icon--truck img {
  width: 46px;
  height: 46px;
}

.cart-processing__step strong,
.cart-processing__step small {
  display: block;
  transform: translateY(-14px);
}

.cart-processing__step strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #6e472b;
}

.cart-processing__step small {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #7f624c;
}

.cart-summary__notes {
  gap: 14px;
  margin-top: 18px;
}

.cart-summary__notes div {
  padding: 14px 16px;
  border-radius: 20px;
  background: #fffdfa;
  border: 1px solid rgba(197, 159, 121, .28);
  box-shadow: 0 8px 18px rgba(126, 86, 47, .06);
}

.cart-summary__notes strong {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #6e472b;
}

.cart-summary__notes p {
  font-size: 12px;
  line-height: 1.45;
  color: #7f624c;
}

@media (max-width: 768px) {
  .cart-summary__card {
    padding: 18px 16px 18px !important;
    border-radius: 30px !important;
  }

  .cart-summary__top {
    margin-bottom: 8px !important;
  }

  .cart-summary__top p {
    font-size: 18px !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
  }

  .cart-processing {
    padding: 6px 0 0 !important;
  }

  .cart-processing__timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 16px 8px 6px !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .cart-processing__timeline::before {
    left: 14px !important;
    right: 11px !important;
    top: 32px !important;
  }

  .cart-processing__timeline::after {
    right: 4px !important;
    top: 32px !important;
    width: 11px !important;
    height: 11px !important;
    border-top-width: 2px !important;
    border-right-width: 2px !important;
  }

  .cart-processing__step {
    gap: 2px !important;
  }

  .cart-processing__step::before {
    top: 13px !important;
    width: 2px !important;
    height: 7px !important;
  }

  .cart-processing__icon {
    width: 46px !important;
    height: 34px !important;
    margin-bottom: 0 !important;
    padding: 0 4px !important;
    border-radius: 0 !important;
    transform: translateY(-14px) !important;
  }

  .cart-processing__icon img {
    width: 34px !important;
    height: 34px !important;
  }

  .cart-processing__icon--plane img {
    width: 54px !important;
    height: 54px !important;
  }

  .cart-processing__icon--truck img {
    width: 36px !important;
    height: 36px !important;
  }

  .cart-processing__step strong {
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    transform: translateY(-10px) !important;
  }

  .cart-processing__step small {
    max-width: none !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    transform: translateY(-10px) !important;
  }

  .cart-processing__arrow {
    display: none !important;
  }

  .cart-summary__notes {
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .cart-summary__notes div {
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }

  .cart-summary__notes strong {
    font-size: 14px !important;
  }

  .cart-summary__notes p {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}
