.view-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.view-more-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  background: black;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.view-more-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}
    /* SECTION */
.products-section {
  padding: 80px 20px;
  background: #f8f9fb;
}

.products-header {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.products-header h2 {
  font-size: 28px;
  font-weight: 800;
}

.products-header a {
  color: var(--primary-color);
  text-decoration: none;
}

/* GRID */
.products-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* PRODUCT>. */
.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  position: relative;
  transition: all 0.35s ease;
  border: 1px solid #eee;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* BADGES */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 30px;
  font-weight: 600;
}

.sale {
  background: #ff3d00;
  color: white;
}

.featured {
  top: 12px;
  right: 12px;
  left: auto;
  background: black;
  color: white;
}
.product-title{
    color: var(--primary-color);
    margin: 10px 0px;
}
.product-title a{
    text-decoration: none;
    color: inherit;
}
/* IMAGE */
.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-image img {
  max-width: 100%;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* CATEGORY */
.product-category {
  font-weight: 600;
  margin-top: 22px;
  background-color: var(--primary-color);
  color: #eee;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 30px;
  font-weight: 600;
}

/* RATINGS */
.ratings {
  font-size: 13px;
  color: #f5a623;
  margin: 5px 0;
}

/* BUTTON */
.add-cart {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  margin-top: 10px;
  transition: 0.3s;
}

.add-cart:hover {
  background: #000;
}

.price{
    font-weight: 500;
}
.price .old{
    color: #ff3d00;
    text-decoration: line-through;
    font-size: 0.85rem;
}
/* QUICK VIEW */
.quick-view {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  opacity: 0;
  transition: 0.3s;
}

.product-card:hover .quick-view {
  opacity: 1;
}

.offer-banner {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #1e293b);
  color: white;
}

.offer-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.offer-tag {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.offer-text h2 {
  font-size: 32px;
  margin: 15px 0;
}

.offer-text p {
  color: #cbd5f5;
}

.offer-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: white;
  color: black;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.offer-btn:hover {
  background: #ddd;
}

.offer-image img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.categories-section {
  padding: 50px 20px;
  background: #f8f9fb;
}

.categories-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: auto;
}

/* CARD */
.category-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 20px 15px;
  text-align: center;
  text-decoration: none;
  color: #111;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

/* IMAGE */
.category-img {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-img img {
  border-radius: 8px;
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.3s;
}

.category-card:hover img {
  transform: scale(1.1);
}

/* PLACEHOLDER */
.cat-placeholder {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXT */
.category-card h4 {
  font-size: 17px;
  margin-top: 7px;
  font-weight: 600;
  margin-bottom: 0px;
}

.category-card b {
  font-size: 12px;
  padding-top: 0px;
  color: #777;
}

/* BADGE */
.cat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-color);
  color: #fff;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .offer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .categories-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 15px;
  }

  .category-card {
    min-width: 130px;
    flex-shrink: 0;
  }

  .categories-wrapper::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 500px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 10px;
    opacity: 1;
  }
}