/* [project]/app/cart/style.css [app-client] (css) */
:root {
  --danger: #c62828;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.breadcrumb {
  color: var(--text-muted);
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  display: flex;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--border);
}

.page-title {
  color: var(--text);
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 26px;
  font-weight: 800;
  display: flex;
}

.page-title .count {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 16px;
  font-weight: 700;
}

.cart-layout {
  grid-template-columns: 1fr 360px;
  align-items: start;
  gap: 24px;
  display: grid;
}

.cart-left {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.cart-items-wrap {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
}

.cart-header-row {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  grid-template-columns: 1fr 130px 130px 100px 40px;
  align-items: center;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.cart-item {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr 130px 130px 100px 40px;
  align-items: center;
  padding: 18px 20px;
  transition: background .15s;
  animation: .35s both slideRight;
  display: grid;
}

.cart-item:hover {
  background: #fafffe;
}

.cart-item:last-child {
  border-bottom: none;
}

.ci-product {
  align-items: center;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.ci-img {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  font-size: 32px;
  display: flex;
}

.ci-brand {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 700;
}

.ci-name {
  color: var(--text);
  margin-bottom: 5px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

.ci-price {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
}

.ci-price small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 400;
  text-decoration: line-through;
  display: block;
}

.qty-box {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  align-items: center;
  width: fit-content;
  display: flex;
  overflow: hidden;
}

.qty-box button {
  background: var(--surface2);
  color: var(--primary);
  cursor: pointer;
  border: none;
  padding: 7px 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: background .15s;
}

.qty-box button:hover {
  background: var(--border);
}

.qty-box input {
  text-align: center;
  width: 38px;
  color: var(--text);
  -moz-appearance: textfield;
  background: #fff;
  border: none;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
}

.qty-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-box input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ci-total {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.remove-btn {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transition: all .2s;
  display: flex;
}

.remove-btn:hover {
  color: var(--danger);
  background: #fee2e2;
}

.coupon-row {
  border-top: 1px solid var(--border);
  gap: 10px;
  padding: 16px 20px;
  display: flex;
}

.coupon-input {
  border: 1.5px solid var(--border);
  min-width: 0;
  color: var(--text);
  border-radius: 8px;
  outline: none;
  flex: 1;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  transition: border-color .2s;
}

.coupon-input:focus {
  border-color: var(--primary);
}

.coupon-btn {
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
}

.coupon-success {
  color: var(--success);
  background: #e8f5e9;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.cart-sidebar {
  flex-direction: column;
  gap: 16px;
  display: flex;
  position: sticky;
  top: 80px;
}

.tier-unlock {
  background: var(--surface2);
  border-radius: 10px;
  padding: 14px;
}

.tier-unlock-title {
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
}

.tier-bar {
  background: var(--border);
  border-radius: 20px;
  height: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.tier-bar-fill {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  height: 100%;
  transition: width .5s;
}

.tier-msg {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.tier-msg strong {
  color: var(--accent);
}

.order-summary {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 22px;
}

.os-title {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

.os-row {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  font-size: 13.5px;
  display: flex;
}

.os-row .lbl {
  color: var(--text-muted);
}

.os-row .val {
  font-weight: 600;
}

.os-row.discount .val {
  color: var(--success);
}

.os-row.free .val {
  color: var(--success);
  font-weight: 700;
}

.os-divider {
  background: var(--border);
  height: 1px;
  margin: 12px 0;
}

.os-total {
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.os-total .amount {
  color: var(--primary);
  font-size: 20px;
}

.os-saving {
  color: var(--success);
  background: #e8f5e9;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.btn-checkout {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
  display: flex;
}

.btn-checkout:hover {
  background: #e55a2b;
}

.btn-continue {
  width: 100%;
  color: var(--primary);
  border: 2px solid var(--primary);
  text-align: center;
  background: none;
  border-radius: 10px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  display: block;
}

.btn-continue:hover {
  background: var(--surface2);
}

.trust-strip {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  display: grid;
}

.ts-item {
  text-align: center;
  background: var(--surface2);
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  display: flex;
}

.ts-icon {
  font-size: 20px;
}

.ts-text {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.freebies-section {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 20px;
  animation: .4s both fadeUp;
}

.freebies-title {
  color: var(--text);
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
}

.freebies-list {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.freebie-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  flex: 220px;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  max-width: 320px;
  padding: 12px 16px;
  transition: border-color .2s;
  display: flex;
}

.freebie-card:hover {
  border-color: var(--primary);
}

.freebie-img {
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.freebie-img-placeholder {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  justify-content: center;
  align-items: center;
  font-size: 22px;
  display: flex;
}

.freebie-info {
  min-width: 0;
}

.freebie-name {
  color: var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
}

.freebie-badge {
  color: var(--success, #2e7d32);
  background: #e8f5e9;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.freebie-teaser {
  color: #5d4037;
  background: linear-gradient(135deg, #fff8e1, #fff3c4);
  border: 1.5px solid #ffe082;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
}

.freebie-teaser-icon {
  flex-shrink: 0;
  font-size: 20px;
}

.freebie-teaser strong {
  color: #e65100;
  font-weight: 700;
}

.suggested-section {
  animation: .45s both fadeUp;
}

.suggested-title {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 800;
}

.suggested-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  gap: 14px;
  padding-bottom: 8px;
  display: flex;
  overflow-x: auto;
}

.suggested-scroll::-webkit-scrollbar {
  height: 4px;
}

.suggested-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.suggested-scroll > * {
  flex-shrink: 0;
  width: 185px;
}

.empty-cart {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 24px;
}

.empty-cart-icon {
  margin-bottom: 12px;
  font-size: 48px;
}

.empty-cart-msg {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.empty-cart-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.toast {
  color: #fff;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
  background: #1e293b;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  animation: .3s fadeUp;
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 20px #0000002e;
}

.toast.green {
  background: var(--success);
}

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

  .cart-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-header-row {
    display: none;
  }

  .cart-item {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr auto auto auto;
    gap: 12px;
    padding: 16px;
  }

  .ci-product {
    grid-area: 1 / 1 / auto / 4;
  }

  .remove-btn {
    grid-area: 1 / 4 / auto / 5;
    align-self: start;
  }

  .ci-price {
    grid-area: 2 / 1 / auto / 2;
    align-self: center;
  }

  .qty-box {
    grid-area: 2 / 2 / auto / 3;
    align-self: center;
  }

  .ci-total {
    text-align: right;
    grid-area: 2 / 3 / auto / 5;
    align-self: center;
  }

  .suggested-scroll > * {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 22px;
  }

  .ci-img {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .ci-total {
    display: none;
  }

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

  .qty-box {
    grid-column: 2 / 3;
  }

  .remove-btn {
    grid-column: 3 / 4;
  }

  .suggested-scroll > * {
    width: 148px;
  }
}

/*# sourceMappingURL=app_cart_style_642ac9a7.css.map*/