/* ============================================
   CURE BATUMI - Shop Page Styles
   Author: Gocha Shevardnadze
   Company: Fix-Dev.com
   ============================================ */

/* Header Navigation */
.header .nav-link {
  color: #272727 !important;
}

.header .nav-link:hover {
  color: #5dade2 !important;
}

.header .nav-link.active {
  color: #5dade2 !important;
}

.shop-page {
  background-color: #eaf7ff;
  min-height: 100vh;
  width: 100%;
  padding-top: 84px;
}

/* Hero Section */
.shop-hero {
  padding: 80px 50px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.shop-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #262626;
  margin-bottom: 24px;
  line-height: 1.2;
}

.shop-hero-description {
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
  max-width: 900px;
}

/* Filter Section */
.shop-filters {
  padding: 0 50px 40px;
  max-width: 1600px;
  margin: 0 auto;
}

.filter-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 28px;
  background-color: transparent;
  border: 2px solid #7ec8e3;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 700;
  color: #5dade2;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  background-color: #7ec8e3;
  color: #ffffff;
}

.filter-btn.active {
  background-color: #7ec8e3;
  color: #ffffff;
}

/* Products Grid */
.shop-products {
  padding: 0 50px 80px;
  max-width: 1600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
  align-items: start;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px;
  border-radius: 20px;
  border: 1px solid #7ec8e3;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(93, 173, 226, 0.25);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, #eaf7ff 0%, #d4f1f4 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  opacity: 0.3;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 16px;
  background-color: #5dade2;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-badge.out-of-stock {
  background-color: #ff5252;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  color: #262626;
  line-height: 1.3;
}

.product-description {
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  line-height: 1.5;
  flex-grow: 1;
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  color: #5dade2;
  margin-top: 10px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.btn-add-cart {
  flex: 1;
  padding: 14px 24px;
  background-color: #7ec8e3;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn-add-cart:hover {
  background-color: #6dbdd2;
  transform: translateY(-2px);
}

.btn-add-cart:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
}

.btn-learn-more {
  padding: 14px 24px;
  background-color: transparent;
  color: #5dade2;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #7ec8e3;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.btn-learn-more:hover {
  background-color: #7ec8e3;
  color: #ffffff;
}

.btn-learn-more.active {
  background-color: #7ec8e3;
  color: #ffffff;
}

.btn-learn-more .btn-icon {
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-learn-more.active .btn-icon {
  transform: rotate(180deg);
}

/* Product Details Section */
.product-details {
  margin-top: 20px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.details-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.details-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #262626;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #7ec8e3;
}

.details-content .full-description {
  font-size: 16px;
  font-weight: 400;
  color: #444444;
  line-height: 1.6;
  margin: 0;
}

.stock-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: #ffffff;
  border-radius: 8px;
  flex-wrap: wrap;
}

.stock-info .in-stock {
  font-size: 14px;
  font-weight: 600;
  color: #4caf50;
}

.stock-info .out-of-stock {
  font-size: 14px;
  font-weight: 600;
  color: #ff5252;
}

.stock-info .stock-count {
  font-size: 14px;
  font-weight: 500;
  color: #666666;
}

.contact-info {
  padding: 16px;
  background-color: #ffffff;
  border-radius: 8px;
  border-left: 4px solid #5dade2;
}

.contact-info p {
  font-size: 15px;
  font-weight: 500;
  color: #262626;
  margin: 0 0 12px 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #5dade2;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #4a9dd1;
  transform: translateX(5px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state p {
  font-size: 24px;
  color: #999999;
  margin-bottom: 30px;
}

.empty-state .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: #5dade2;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.empty-state .btn-primary:hover {
  background-color: #4a9dd1;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 1024px) {
  .shop-hero,
  .shop-filters,
  .shop-products {
    padding-left: 30px;
    padding-right: 30px;
  }

  .shop-hero-title {
    font-size: 36px;
  }

  .shop-hero-description {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .shop-page {
    padding-top: 60px;
  }

  .shop-hero {
    padding: 60px 20px 40px;
  }

  .shop-hero-title {
    font-size: 28px;
  }

  .shop-hero-description {
    font-size: 18px;
  }

  .shop-filters,
  .shop-products {
    padding-left: 20px;
    padding-right: 20px;
  }

  .filter-buttons {
    gap: 12px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-learn-more {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .shop-hero-title {
    font-size: 24px;
  }

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

  .product-price {
    font-size: 24px;
  }
}
