.vg-products-page,
.vg-product-detail-page {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 30px 0 60px;
}

.vg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 14px;
  flex-wrap: wrap;
}

.vg-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.vg-breadcrumb a:hover {
  color: #eeab10;
}

.vg-breadcrumb i {
  font-size: 12px;
  color: #ccc;
}

.vg-breadcrumb-current {
  color: #333;
  font-weight: 500;
}

.vg-page-header {
  margin-bottom: 40px;
  text-align: center;
}

.vg-page-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.vg-products-count {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.vg-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.vg-product-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vg-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.vg-product-card:hover .vg-product-overlay {
  opacity: 1;
}

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

.vg-discount-badge,
.vg-discount-badge-lg {
  position: absolute;
  z-index: 2;
  left: 12px;
  background: #e74c3c;
  color: #fff;
  font-weight: 700;
}

.vg-discount-badge {
  top: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.vg-discount-badge-lg {
  top: 20px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
}

.vg-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vg-wishlist-btn:hover {
  color: #fff;
  background: #e74c3c;
  transform: scale(1.1);
}

.vg-product-image {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}

.vg-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vg-product-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vg-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 25px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.vg-product-body {
  padding: 20px;
}

.vg-product-title {
  display: -webkit-box;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vg-product-title:hover {
  color: #eeab10;
}

.vg-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vg-product-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vg-price-current {
  font-size: 18px;
  font-weight: 700;
  color: #eeab10;
}

.vg-price-old {
  font-size: 14px;
  color: #666;
  text-decoration: line-through;
}

.vg-add-cart-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #f8f9fa;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vg-add-cart-btn:hover {
  background: #eeab10;
  color: #fff;
}

.vg-empty-state {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.vg-empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: #f8f9fa;
  color: rgba(102, 102, 102, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.vg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  background: #eeab10;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.vg-btn-primary:hover {
  background: #d99a0a;
  color: #fff;
  transform: translateY(-2px);
}

.vg-pagination-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.vg-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vg-page-link {
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vg-page-link:hover,
.vg-page-link.is-active {
  border-color: #eeab10;
}

.vg-page-link.is-active {
  background: #eeab10;
  color: #fff;
}

.vg-page-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.vg-product-content {
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.vg-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.vg-product-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vg-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
  aspect-ratio: 1;
}

.vg-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vg-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vg-thumb {
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vg-thumb.is-active,
.vg-thumb:hover {
  border-color: #eeab10;
}

.vg-product-title-lg {
  margin: 0 0 25px;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.vg-product-price-block {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e5e5;
}

.vg-price-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.vg-price-old-lg {
  font-size: 24px;
  color: #666;
  text-decoration: line-through;
}

.vg-price-current-lg {
  font-size: 36px;
  font-weight: 700;
  color: #eeab10;
}

.vg-price-save {
  padding: 6px 14px;
  border-radius: 20px;
  background: #dcfce7;
  color: #166534;
  font-size: 14px;
  font-weight: 600;
}

.vg-product-features {
  margin-bottom: 30px;
}

.vg-product-features h3,
.vg-product-description h2 {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.vg-product-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vg-product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 15px;
}

.vg-product-features li i {
  color: #22c55e;
  font-size: 18px;
}

.vg-product-meta {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 12px;
  background: #f8f9fa;
}

.vg-meta-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.vg-meta-item:last-child {
  margin-bottom: 0;
}

.vg-meta-label {
  min-width: 100px;
  color: #666;
}

.vg-meta-value {
  color: #333;
  font-weight: 500;
}

.vg-meta-value a {
  color: #eeab10;
  text-decoration: none;
}

.vg-meta-value a:hover {
  text-decoration: underline;
}

.vg-product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 16px;
}

.vg-quantity {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.vg-qty-btn {
  width: 44px;
  height: 50px;
  border: 0;
  background: #fff;
  color: #333;
  font-size: 18px;
  transition: all 0.3s ease;
}

.vg-qty-btn:hover {
  background: #f8f9fa;
  color: #eeab10;
}

.vg-qty-input {
  width: 60px;
  height: 50px;
  border: 0;
  text-align: center;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.vg-add-to-cart-lg,
.vg-wishlist-lg {
  height: 50px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.vg-add-to-cart-lg {
  flex: 1;
  background: #eeab10;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.vg-add-to-cart-lg:hover {
  background: #d99a0a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 171, 16, 0.3);
}

.vg-wishlist-lg {
  width: 50px;
  background: #f8f9fa;
  color: #666;
  font-size: 20px;
}

.vg-wishlist-lg:hover {
  background: #e74c3c;
  color: #fff;
}

.vg-ssr-note {
  margin-bottom: 30px;
  color: #666;
  font-size: 13px;
}

.vg-delivery-info {
  display: grid;
  gap: 15px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.vg-delivery-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vg-delivery-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(238, 171, 16, 0.1);
  color: #eeab10;
  font-size: 20px;
}

.vg-delivery-icon--green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.vg-delivery-icon--blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.vg-delivery-text {
  display: flex;
  flex-direction: column;
}

.vg-delivery-text strong {
  color: #333;
  font-size: 15px;
}

.vg-delivery-text span {
  color: #666;
  font-size: 13px;
}

.vg-product-description {
  margin-top: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #555;
  line-height: 1.7;
}

.vg-product-description .vg-description-content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  .vg-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .vg-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .vg-product-content {
    padding: 30px;
  }

  .vg-product-title-lg {
    font-size: 24px;
  }

  .vg-price-current-lg {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .vg-products-page,
  .vg-product-detail-page {
    padding: 20px 0 40px;
  }

  .vg-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .vg-page-title {
    font-size: 24px;
  }

  .vg-product-body {
    padding: 12px;
  }

  .vg-product-title {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .vg-product-content,
  .vg-product-description {
    padding: 20px;
    border-radius: 12px;
  }

  .vg-product-title-lg {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .vg-price-current-lg {
    font-size: 26px;
  }

  .vg-price-old-lg {
    font-size: 18px;
  }

  .vg-product-actions {
    flex-wrap: wrap;
  }

  .vg-add-to-cart-lg {
    width: 100%;
  }

  .vg-thumb {
    width: 60px;
    height: 60px;
  }

  .vg-meta-item {
    flex-direction: column;
    gap: 5px;
  }

  .vg-meta-label {
    min-width: auto;
  }
}
