/* BREADCRUMB =========================================== */
.breadcrumb-section {
  background: var(--color-bg-light);
  padding: 1rem 0;

  .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;

    .breadcrumb-item {
      color: var(--color-text-light);
      font-size: 0.9rem;

      &.active {
        color: var(--color-text-light);
      }

      & + .breadcrumb-item::before {
        content: ">" !important;
        font-family: inherit;
      }

      a {
        color: var(--color-primary-blue);
        font-weight: 500;
        text-decoration: none;

        i {
          font-size: 0.9rem;
        }
      }
    }
  }

  .page-title {
    color: var(--color-primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
}

/* CART ITEMS =========================================== */
h5 {
  color: var(--color-primary-blue);
}

.cart-item {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;

  .cart-details {
    h5 {
      color: var(--color-primary-blue);
    }

    p {
      color: var(--color-text-light);
    }
  }

  .cart-img {
    img {
      height: auto;
      object-fit: cover;
      width: 120px;
    }
  }

  .cart-price {
    color: var(--color-primary-blue);

    .btn-remove-cart {
      background: none;
      border: none;
      color: var(--color-text-light);
      cursor: pointer;
      font-size: 1.1rem;
      margin-top: 1rem;
      padding: 0.5rem;
      transition: all 0.3s ease;

      i {
        transition: all 0.3s ease;
      }

      &:hover {
        color: #dc3545;
        transform: scale(1.1);

        i {
          color: #dc3545;
        }
      }
    }

    .btn-success {
      align-items: center;
      background: var(--color-secondary-orange);
      border: none;
      border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0, 51, 102, 0.2);
      color: var(--color-bg-white);
      cursor: pointer;
      display: flex;
      font-size: 0.9rem;
      gap: 0.75rem;
      justify-content: center;
      padding: 0.5rem 1.5rem;
      transition: all 0.3s ease;
      white-space: nowrap;

      &:hover {
        background: var(--color-secondary-orange);
        box-shadow: 0 6px 12px rgba(0, 51, 102, 0.3);
        transform: translateY(-2px);
      }

      a {
        color: var(--color-bg-white);
        text-decoration: none;
      }
    }
  }
}

.alert-message {
  margin-bottom: 1.5rem;
}

.box-alert {
  text-align: center;
}

/* MEDIA QUERIES ======================================== */
@media (max-width: 991px) {
  .cart-details {
    text-align: center;
  }

  .cart-item {
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .cart-price {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    width: auto;

    .btn-success {
      min-width: 200px;
      padding: 0.75rem 2rem;
      width: auto;
    }
  }
}
