/* =========================
   HERO SECTION BASE STYLES
   ========================= */
.hero-section {
  position: relative;
  width: 100%;
/*   height: 100vh; */
  overflow: hidden;
}

.hero-row {
  display: flex;
  height: 100%;
}

.hero-col {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   HERO CONTENT (Center)
   ========================= */
.hero-center-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
}

.hero-center-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.hero-center-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #da929d;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: #e91e63;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
   ========================= */

/* Tablet (2 columns) */
@media (max-width: 991px) {
  .hero-col {
    flex: 1 1 50%;
  }
  .hero-center-content h1 {
    font-size: 2.2rem;
  }
  .hero-center-content p {
    font-size: 1rem;
  }
  .hero-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* Mobile (only first column visible) */
@media (max-width: 767px) {
  .hero-row {
    flex-direction: column;
    height: auto;
  }
  .hero-col {
    display: none;
  }
  .hero-col:first-child {
    display: block;
    flex: 1 1 100%;
    min-height: 350px;
  }
  .hero-section {
    height: auto;
  }
  .hero-center-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 15px;
  }
  .hero-center-content h1 {
    font-size: 1.6rem;
  }
  .hero-center-content p {
    font-size: 0.9rem;
  }
  .hero-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* =========================
   Category Explore Grid SECTION BASE STYLES
   ========================= */
.category-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.category-explore-item {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.category-explore-item:hover {
  transform: translateY(-5px);
}

.cat-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid var(--bs-primary);
}

.cat-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.cat-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bs-primary);
  color: #fff;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.cat-btn:hover {
  background: #e91e63;
}

.woocommerce ul.products li.product .add_to_cart_button {
    display: none !important;
}


/* ✅ Mobile */
@media (max-width: 575px) {
  .cat-img {
    width: 120px;
    height: 120px;
  }
}


/* =========================
   Product Card Grid SECTION BASE STYLES
   ========================= */
/* === Product Card Wrapper === */
.product-card {
    position: relative;
    transition: all 0.3s ease;
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* === Product Image === */
.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* === Product Overlay (Hover Layer) === */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}
.product-card:hover .product-overlay {
    opacity: 1;
}

/* === Product Title === */
.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.75rem 0 0.5rem;
    color: #333;
}

/* === Price (normal + overlay) === */
.price {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}
.product-overlay .price {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

/* === Buttons (Quick View / Add to Cart) === */
.quick-view-btn,
.product-overlay .button,
.btn-black {
  background-color: #da929d !important;
  border: none !important;
  padding: 0.5rem 1.25rem !important;
  color: #fff !important;
  border-radius: 0.25rem !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
}
.quick-view-btn:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce a.add_to_cart_button:hover
.product-overlay .button:hover,
.btn-black:hover {
    background-color: #333;
    color: #fff !important;
}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color:#212529 !important;
}

/* === Cart Rating Review === */


/* === Section Header === */
.product-section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.product-section-header p {
    font-size: 1rem;
    color: #6c757d;
}

.woocommerce ul.products li.product a.button,
.woocommerce a.add_to_cart_button,
.add_to-cart-btn {
  padding: 12px 30px !important;
  background: #da929d !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease;
  background-color: #da929d !important;
  width: 100%;
  text-align: center;
}

.woocommerce a.add_to_cart_button:hover,
.add-to-cart-btn:hover {
  background-color: #333 !important;
  color: #fff !important;
}


/* === Responsive === */
@media (max-width: 767px) {
    .product-overlay .price {
        font-size: 1rem;
    }
    .quick-view-btn,
    .btn-black {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}
