.page-content { padding: 28px 0 50px; }

.page-title {
  font-family: var(--font-cond);
  font-size: 26px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
}


/* Cart table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table thead th {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  background: var(--bg-sidebar);
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.cart-table thead th:first-child { border-left: 1px solid var(--border); border-radius: 4px 0 0 0; }
.cart-table thead th:last-child  { border-right: 1px solid var(--border); border-radius: 0 4px 0 0; }

.cart-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.cart-table tbody tr:hover { background: #fdf8f8; }

.cart-table tbody td {
  padding: 14px;
  vertical-align: middle;
}
.cart-table tbody td:first-child { border-left: 1px solid var(--border); }
.cart-table tbody td:last-child  { border-right: 1px solid var(--border); }
.cart-table tbody tr:last-child td:first-child { border-radius: 0 0 0 4px; }
.cart-table tbody tr:last-child td:last-child  { border-radius: 0 0 4px 0; }
.cart-table tbody tr:last-child { border-bottom: 1px solid var(--border); }

.cart-table tbody td.del {
	text-align: right;
}

/* Product cell */
.cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-product-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(135deg, #eee 0%, #d8d8d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  overflow: hidden;
}
.cart-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-product-info { flex: 1; min-width: 0; }
.cart-product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  transition: color .15s;
}
.cart-product-name:hover { color: var(--brand); }
.cart-product-art {
  font-size: 12px;
  color: var(--text-muted);
}

/* Price cells */
.cart-price, .cart-total-cell {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.cart-price { color: var(--text-main); }
.cart-total-cell { color: var(--brand); font-size: 17px; }
.cart-unit {
  display: block;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

/* Quantity stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.qty-btn {
  background: var(--bg-sidebar);
  border: none;
  width: 32px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--brand); color: #fff; }
.qty-input {
  width: 46px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Delete button */
.btn-delete {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color .15s, color .15s, background .15s;
}
.btn-delete:hover { border-color: #c0392b; color: #c0392b; background: #fff5f5; }

.cart-actions-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-clear-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #c0392b;
  border: 2px solid #c0392b;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-clear-cart:hover { background: #c0392b; color: #fff; }

/* Cart summary block */
.cart-summary {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  position: sticky;
  top: 20px;
}
.cart-summary h3 {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  margin-bottom: 10px;
  gap: 10px;
}
.summary-row .s-label { color: var(--text-muted); }
.summary-row .s-val {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  white-space: nowrap;
}
.summary-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  gap: 10px;
}
.summary-total .s-label {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}
.summary-total .s-val {
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
.btn-order {
  display: block;
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
  letter-spacing: 0.3px;
}
.btn-order:hover { background: var(--brand-dark); color: #fff; }

.btn-continue {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--text-main);
  border: 2px solid var(--border);
  border-radius: 4px;
  padding: 11px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
  transition: border-color .2s, color .2s;
}
.btn-continue:hover { border-color: var(--brand); color: var(--brand); }

.summary-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Mobile cart: stack layout */
@media (max-width: 767px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table td { display: block; width: 100%; }
  .cart-table tbody tr {
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 12px;
	display: flex;
	flex-wrap: wrap;
  }
  .cart-table tbody tr:hover { background: #fdf8f8; }
  .cart-table tbody td {
    border: none !important;
    padding: 6px 0;
  }
  .cart-table tbody td:first-child,
  .cart-table tbody td:last-child { border-radius: 0 !important; }
  .cart-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.4px;
  }
  .cart-table tbody td[data-label=""]::before { display: none; }
  .cart-summary { position: static; margin-top: 8px; }
  
  
  .cart-table tbody td.price, .cart-table tbody td.qty {width:50%;}
  .cart-table tbody td.sum, .cart-table tbody td.del {width:50%;}
  
  .cart-table tbody td.del {
	  text-align: right;
  }
}