/* Custom styles for products page */
.category-nav:hover {
  color: #212529 !important;
}

.category-nav.active {
  color: #212529 !important;
  font-weight: 600;
}

.filter-btn {
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.149) !important;
  margin-bottom: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.filter-btn:hover {
  border: 1px solid rgba(0, 0, 0, 0.349) !important;
  font-weight: 500;
}

.filter-btn.active {
  border: 1px solid #212529;
  color: white;
  font-weight: 500;
}

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.list-group-item.active, .list-group-item:focus  {
 background-color: #000 !important;
 border-radius: 5px !important;
 color: white;
 -webkit-border-radius: 5px !important;
 -moz-border-radius: 5px !important;
 -ms-border-radius: 5px !important;
 -o-border-radius: 5px !important;
}


.product-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  font-size: 0.75rem;
  font-weight: 500;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-sku {
  font-size: 0.8rem;
  color: #6c757d;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
}

.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.border-end {
  box-shadow: 1px 0 3px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .d-flex.flex-wrap.gap-4 {
    gap: 1rem !important;
  }

  .category-nav {
    font-size: 0.85rem;
  }
}



/* product page styles */



/* Header */
.header {
  background: white;
  border-bottom: 1px solid #e4e4e7;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #181818;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.currency-label {
  font-size: 0.875rem;
  color: #71717a;
}

.currency-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  background: white;
  font-size: 0.875rem;
  color: #181818;
  cursor: pointer;
}

.currency-select:focus {
  outline: none;
  border-color: #181818;
  box-shadow: 0 0 0 3px rgba(24, 24, 24, 0.1);
}

/* Categories */
.categories {
  background: rgba(244, 244, 245, 0.5);
  border-bottom: 1px solid #e4e4e7;
  padding: 0.75rem 0;
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.category-btn {
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}

.category-btn:hover {
  color: #181818;
}

.add-product {
  color: #2563eb !important;
  font-weight: 500;
}

/* Product Layout */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem 0;
}

@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Product Image */
.product-image-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image-card {
  background: linear-gradient(135deg, rgba(244, 244, 245, 0.2), rgba(244, 244, 245, 0.4));
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  padding: 2rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-badge {
  background: #f4f4f5;
  color: #181818;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
}

.product-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #181818;
  margin-bottom: 0.5rem;
}

.product-sku {
  color: #71717a;
  font-size: 0.875rem;
}

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #181818;
}

.form-select {
  width: 8rem;
  padding: 0.5rem;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  background: white;
  font-size: 0.875rem;
  color: #181818;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: #181818;
  box-shadow: 0 0 0 3px rgba(24, 24, 24, 0.1);
}

/* Price */
.price-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: #181818;
}

.price-note {
  font-size: 0.875rem;
  color: #71717a;
}

/* Sections */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 1rem;
  font-weight: 500;
  color: #181818;
}

.size-guide-btn {
  background: none;
  border: none;
  color: #181818;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}

.size-guide-btn:hover {
  text-decoration: none;
}

/* Sizes */
.sizes-grid {
  display: flex;
  gap: 0.75rem;
}

.size-btn {
  width: 3rem;
  height: 3rem;
  border: 2px solid #e4e4e7;
  border-radius: 0.5rem;
  background: white;
  color: #181818;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn:hover {
  border-color: rgba(24, 24, 24, 0.5);
}

.size-btn.active {
  border-color: #181818;
  background: #181818;
  color: #f8fafc;
}

/* Colors */
.colors-grid {
  display: flex;
  gap: 0.75rem;
}

.color-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid #e4e4e7;
  border-radius: 0.5rem;
  background: white;
  color: #181818;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-btn:hover {
  border-color: rgba(24, 24, 24, 0.5);
}

.color-btn.active {
  border-color: #181818;
  background: rgba(24, 24, 24, 0.05);
}

.color-swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.color-swatch.blue {
  background-color: #2563eb;
}

.color-swatch.yellow {
  background-color: #eab308;
}

.color-swatch.black {
  background-color: #171717;
}

/* Buttons */
.actions-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  height: 3rem;
}

.btn-primary {
  background: #181818;
  color: #f8fafc;
  border: 1px solid #181818;
}

.btn-primary:hover {
  background: rgba(24, 24, 24, 0.9);
}

.btn-secondary {
  background: white;
  color: #181818;
  border: 1px solid #e4e4e7;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #181818;
}

/* Description */
.description-section {
  padding-top: 1.5rem;
  border-top: 1px solid #e4e4e7;
}

.description-text {
  color: #71717a;
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: white;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 300px;
  animation: slideIn 0.3s ease;
}

.toast.hidden {
  display: none;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.toast-content i {
  color: #059669;
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: #181818;
  margin-bottom: 0.25rem;
}

.toast-message {
  color: #71717a;
  font-size: 0.875rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.slide-out {
  animation: slideOut 0.3s ease;
}