.cart-page {
    --cart-border: #e8e8e8;
    --cart-muted: #6b7280;
    padding: 100px 0 120px;
}

.cart-page-title {
    margin-bottom: 38px;
}

.cart-page-title .site-title {
    margin-bottom: 8px;
}

.cart-page-title p {
    color: var(--cart-muted);
    margin: 0;
}

.cart-card,
.cart-summary {
    background: #fff;
    border: 1px solid var(--cart-border);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
}

.cart-card {
    overflow: hidden;
}

.cart-table {
    margin: 0;
    vertical-align: middle;
}

.cart-table thead th {
    background: #f7f7f7;
    border: 0;
    color: #161616;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-table tbody td {
    border-color: var(--cart-border);
}

.cart-product {
    align-items: center;
    display: flex;
    gap: 16px;
}

.cart-product-icon {
    align-items: center;
    background: rgba(255, 77, 28, .1);
    border-radius: 14px;
    color: var(--theme-color);
    display: inline-flex;
    flex: 0 0 62px;
    font-size: 25px;
    height: 62px;
    justify-content: center;
}

.cart-product h5 {
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 5px;
}

.cart-product p {
    color: var(--cart-muted);
    font-size: 13px;
    margin: 0;
}

.cart-price,
.cart-line-total {
    color: #161616;
    font-weight: 700;
    white-space: nowrap;
}

.cart-quantity {
    align-items: center;
    border: 1px solid var(--cart-border);
    border-radius: 50px;
    display: inline-flex;
    overflow: hidden;
}

.cart-quantity button {
    background: transparent;
    border: 0;
    color: #161616;
    height: 38px;
    transition: .2s ease;
    width: 36px;
}

.cart-quantity button:hover,
.cart-quantity button:focus-visible {
    background: var(--theme-color);
    color: #fff;
}

.cart-quantity input {
    border: 0;
    border-left: 1px solid var(--cart-border);
    border-right: 1px solid var(--cart-border);
    font-weight: 700;
    height: 38px;
    outline: 0;
    text-align: center;
    width: 48px;
}

.cart-remove {
    align-items: center;
    background: #fff0f0;
    border: 0;
    border-radius: 50%;
    color: #dc3545;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    transition: .2s ease;
    width: 40px;
}

.cart-remove:hover,
.cart-remove:focus-visible {
    background: #dc3545;
    color: #fff;
}

.cart-actions {
    align-items: center;
    border-top: 1px solid var(--cart-border);
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 22px;
}

.cart-back-link {
    color: #161616;
    font-weight: 600;
}

.cart-back-link i {
    margin-right: 7px;
}

.cart-summary {
    padding: 30px;
    position: sticky;
    top: 115px;
}

.cart-summary h4 {
    border-bottom: 1px solid var(--cart-border);
    margin-bottom: 22px;
    padding-bottom: 18px;
}

.cart-summary-row {
    color: var(--cart-muted);
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-summary-row strong {
    color: #161616;
    white-space: nowrap;
}

.cart-summary-total {
    border-top: 1px solid var(--cart-border);
    color: #161616;
    font-size: 19px;
    font-weight: 700;
    margin-top: 20px;
    padding-top: 20px;
}

.cart-summary-total strong {
    color: var(--theme-color);
    font-size: 24px;
}

.cart-checkout {
    margin-top: 24px;
    text-align: center;
    width: 100%;
}

.cart-secure-note {
    color: var(--cart-muted);
    font-size: 13px;
    margin: 16px 0 0;
    text-align: center;
}

.cart-secure-note i {
    color: var(--theme-color);
    margin-right: 5px;
}

.cart-empty {
    padding: 65px 30px;
    text-align: center;
}

.cart-empty i {
    color: var(--theme-color);
    font-size: 58px;
    margin-bottom: 20px;
}

.cart-empty p {
    color: var(--cart-muted);
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .cart-page {
        padding: 70px 0 90px;
    }

    .cart-summary {
        margin-top: 30px;
        position: static;
    }
}

@media (max-width: 575px) {
    .cart-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-actions .theme-btn {
        text-align: center;
    }
}

.cart-quantity input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart-quantity input[type="number"]::-webkit-inner-spin-button,
.cart-quantity input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  height: 42px;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  overflow: hidden;
}

.cart-quantity button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  background: transparent;
}

.cart-quantity input {
  width: 42px;
  height: 40px;
  padding: 0;
  border: 0;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .cart-card,
  .order-summary {
    padding: 24px;
  }

  .cart-table th,
  .cart-table td {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 575.98px) {
  .cart-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cart-card,
  .order-summary {
    padding: 18px 16px;
    border-radius: 16px;
  }
}

@media (max-width: 767.98px) {
  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    padding: 16px;
  }

  .cart-product-cell {
    margin-bottom: 16px;
  }

  .cart-product-values {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 10px;
    align-items: center;
  }
}
.cart-product {
    gap: 16px;
}