.page-timeline {
  padding: 2rem 0;
  background: var(--color-bg);
}

.page-timeline .container {
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
}

.timeline-step h6 {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.timeline-step.active h6 {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-text-light);
  transition: all 0.3s ease;
}

.timeline-step.active .circle {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 8px rgba(45,129,255,0.3);
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  margin: 0 10px;
  position: relative;
}

.timeline-step.active ~ .timeline-line {
  background: var(--color-border);
}

.cart_container {
  width: 100%;
  padding: 3rem 2rem;
  background: #f9f9f9;
}

.cart_container .container {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 2rem;
}

.cart-items-container {
    width: 100%;
    height: auto;
    overflow-y: auto;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 50% 15% 20% 15%;
  background: #222;
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cartItem {
  display: grid;
  grid-template-columns: 50% 15% 20% 15%;
  align-items: center;
  background: #fff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.cart-product-info h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.cart-product-info p {
  font-size: 0.85rem;
  color: #777;
}

.cart-price{
  font-weight: 600;
  font-size: 1rem;
  color: #444;
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-quantity input {
  width: 50px;
  text-align: center;
  padding: 0.3rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
}

.cart-quantity input:focus {
    outline: var(--color-primary-dark) 1px solid;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: #eee;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background: #ddd;
}

.cartSubtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #444;
}

.delete-btn {
  background: none;
  border: none;
  color: #e63946;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.delete-btn:hover {
  color: #b5171a;
  transform: scale(1.1);
}

.coupon-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  max-width: 450px;
  margin-top: 0.8rem;
  /* border: 1px solid red; */
}

.coupon-container input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.coupon-container input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.1);
}

.coupon-container button {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #222, #444);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.coupon-container button:hover {
  background: linear-gradient(135deg, #444, #000);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.coupon-container button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cart-total-container {
  background: #fff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-total-container h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
}

.cart-total-row p {
  margin: 0;
  font-weight: 500;
  color: #666;
}

.cart-total-row span {
  font-weight: 600;
  color: #111;
}

.cart-total-row.shipping {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  background: #fafafa;
}

.cart-total-row.shipping div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.9rem;
  color: #444;
}

.cart-total-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 2px solid #f1f1f1;
  padding-top: 0.8rem;
}

.checkout-btn {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(114,9,183,0.25);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(114,9,183,0.35);
}