/* style.css */

/* General Styling */
body {
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
}

/* Header */
.navbar-brand {
  letter-spacing: 2px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://placehold.co/1920x700/333/fff?text=Fashion+Banner") no-repeat
      center center;
  background-size: cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Product Card */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.product-card .card-img-top {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Product Detail Page */
.thumb-image {
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.thumb-image.active,
.thumb-image:hover {
  border-color: #343a40;
}

.color-swatches .swatch {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  border: 2px solid #eee;
  transition: transform 0.2s ease;
}

.color-swatches .swatch.active {
  transform: scale(1.2);
  border-color: #343a40;
}

.rating-stars i {
  cursor: pointer;
}

.search-container {
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  transition: max-height 0.3s ease;
  overflow: hidden;
  max-height: 0;
}
.search-container.show {
  max-height: 100px; /* chiều cao đủ cho ô search */
}
