/* ===== ESHOP STYLES ===== */

/* Section Hero */
.eshop-hero {
  position: relative;
  overflow: hidden;
}

.eshop-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(26, 42, 108, 0.8), rgba(45, 58, 176, 0.4));
  z-index: 1;
}

.eshop-hero .container-fluid {
  position: relative;
  z-index: 2;
}

.eshop-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.eshop-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.eshop-hero-img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Product Filters */
.product-filters {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

#portfolio-flters {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
  border-radius: 50px;
  padding: 5px 0;
}

#portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s;
  border-radius: 30px;
}

#portfolio-flters li:hover,
#portfolio-flters li.filter-active {
  color: #fff;
  background: #4154f1;
}

/* Product Cards */
.product-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #4154f1;
  color: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 2;
}

.product-badge.sale {
  background: #ff5e14;
}

.product-badge.new {
  background: #00b3a4;
}

.product-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-overlay {
  bottom: 0;
}

.product-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4154f1;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.product-action:hover {
  background: #2a36b1;
  transform: translateY(-5px);
}

.product-content {
  padding: 20px;
  text-align: center;
}

.product-category {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.product-card:hover .product-title {
  color: #4154f1;
}

.product-rating {
  margin-bottom: 10px;
  color: #ffc107;
}

.product-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.current-price {
  font-size: 20px;
  font-weight: 700;
  color: #4154f1;
}

.old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.discount-percent {
  font-size: 14px;
  background: #ff5e14;
  color: #fff;
  padding: 3px 8px;
  border-radius: 20px;
}

.product-button {
  display: inline-block;
  padding: 10px 25px;
  background: #4154f1;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.product-button:hover {
  background: #2a36b1;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(65, 84, 241, 0.3);
  color: #fff;
}

/* Quick View Modal */
.quickview-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.quickview-modal.active {
  display: flex;
  opacity: 1;
}

.quickview-content {
  background: #fff;
  border-radius: 15px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  transform: translateY(50px);
  transition: all 0.4s ease;
}

.quickview-modal.active .quickview-content {
  transform: translateY(0);
}

.quickview-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #f2f2f2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quickview-close:hover {
  background: #e0e0e0;
}

.quickview-row {
  display: flex;
  flex-wrap: wrap;
}

.quickview-img {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 30px;
}

.quickview-img img {
  width: 100%;
  border-radius: 10px;
}

.quickview-info {
  flex: 0 0 50%;
  max-width: 50%;
}

.quickview-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.quickview-rating {
  font-size: 14px;
  color: #ffc107;
  margin-bottom: 15px;
}

.quickview-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.quickview-description {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.6;
}

.quickview-quantity {
  margin-bottom: 20px;
}

.quantity-input {
  display: flex;
  align-items: center;
  width: 120px;
  margin-top: 10px;
}

.quantity-btn {
  width: 35px;
  height: 35px;
  background: #f2f2f2;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background: #e0e0e0;
}

.quantity-number {
  flex: 1;
  height: 35px;
  text-align: center;
  border: 1px solid #ddd;
  margin: 0 5px;
  font-weight: 600;
}

.quickview-action {
  display: flex;
  gap: 15px;
}

.quickview-button {
  padding: 12px 25px;
  background: #4154f1;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quickview-button:hover {
  background: #2a36b1;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(65, 84, 241, 0.3);
}

.quickview-button.outline {
  background: transparent;
  color: #4154f1;
  border: 2px solid #4154f1;
}

.quickview-button.outline:hover {
  background: rgba(65, 84, 241, 0.1);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-item {
  margin: 0 5px;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #f2f2f2;
  color: #444;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-link:hover {
  background: #e0e0e0;
}

.page-item.active .page-link {
  background: #4154f1;
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .eshop-hero-title {
    font-size: 2.5rem;
  }

  .quickview-img, .quickview-info {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .quickview-img {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .eshop-hero-title {
    font-size: 2rem;
  }

  #portfolio-flters li {
    padding: 8px 15px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .product-overlay {
    padding: 15px;
  }

  .product-action {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .product-content {
    padding: 15px;
  }

  .product-title {
    font-size: 16px;
  }
}
