/* ==========================================================================
   Homepage Specific Styles (Gifti Vibes - Playful & Personalized Theme)
   ========================================================================== */

/* Utility Typography Classes */
.text-center { 
  text-align: center; 
}

.flex-between { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
}

.section-header { 
  margin-bottom: 35px; 
}

.section-title { 
  font-family: var(--font-heading, 'Quicksand', sans-serif); 
  font-size: 30px; 
  font-weight: 700; 
  color: var(--secondary-charcoal, #212529); 
  line-height: 1.3;
}

.section-subtitle { 
  font-size: 15px; 
  color: #555555; 
  margin-top: 6px; 
}

.link-more { 
  color: var(--primary-fuchsia, #E6007E); 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 14px;
  transition: color 0.2s ease;
}

.link-more:hover {
  color: #c9006e;
  text-decoration: underline;
}

/* Global Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-btn, 30px);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary { 
  background-color: var(--primary-fuchsia, #E6007E) !important; 
  color: #FFFFFF !important; 
  border: 2px solid var(--primary-fuchsia, #E6007E) !important; 
  box-shadow: 0 4px 12px rgba(230, 0, 126, 0.2);
}

.btn-primary:hover { 
  background-color: #c9006e !important; 
  border-color: #c9006e !important; 
  transform: translateY(-2px); 
  box-shadow: 0 6px 16px rgba(230, 0, 126, 0.3);
}

.btn-secondary { 
  background-color: #FFFFFF !important; 
  color: var(--secondary-charcoal, #212529) !important; 
  border: 2px solid var(--secondary-charcoal, #212529) !important; 
}

.btn-secondary:hover { 
  background-color: var(--secondary-charcoal, #212529) !important; 
  color: #FFFFFF !important; 
  transform: translateY(-2px);
}

/* ==========================================================================
   1. Hero Banner
   ========================================================================== */
.hero-banner {
  background-color: var(--bg-pink-soft, #FFF9FB);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-grey, #E9ECEF);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  background-color: rgba(230, 0, 126, 0.1);
  color: var(--primary-fuchsia, #E6007E);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-title {
  font-family: var(--font-heading, 'Quicksand', sans-serif);
  font-size: 42px;
  line-height: 1.25;
  color: var(--secondary-charcoal, #212529);
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.hero-image-box {
  display: flex;
  justify-content: center;
}

.hero-image-box img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-card, 12px);
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(230, 0, 126, 0.08));
  object-fit: cover;
}

/* ==========================================================================
   2. How It Works Section
   ========================================================================== */
.how-it-works-section {
  padding: 60px 0;
  background-color: var(--bg-white, #FFFFFF);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  background: var(--bg-pink-soft, #FFF9FB);
  border: 1px dashed var(--primary-fuchsia, #E6007E);
  border-radius: var(--radius-card, 12px);
  padding: 35px 20px 25px;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-fuchsia, #E6007E);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon { 
  font-size: 42px; 
  margin-bottom: 12px; 
}

.step-title { 
  font-family: var(--font-heading, 'Quicksand', sans-serif); 
  font-size: 18px; 
  font-weight: 700;
  color: var(--secondary-charcoal, #212529);
  margin-bottom: 8px; 
}

.step-desc { 
  font-size: 14px; 
  color: #666666; 
  line-height: 1.5;
}

/* ==========================================================================
   3. Featured Categories
   ========================================================================== */
.featured-categories-section { 
  padding: 60px 0; 
  background-color: #FFFFFF;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.category-card {
  text-decoration: none;
  text-align: center;
  display: block;
}

.category-image-wrap {
  background-color: var(--bg-pink-soft, #FFF9FB);
  border-radius: 50%;
  width: 170px;
  height: 170px;
  margin: 0 auto 15px;
  overflow: hidden;
  border: 3px solid var(--border-grey, #E9ECEF);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-image-wrap img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.category-card:hover .category-image-wrap { 
  transform: scale(1.05); 
  border-color: var(--primary-fuchsia, #E6007E); 
}

.category-name { 
  font-family: var(--font-heading, 'Quicksand', sans-serif); 
  color: var(--secondary-charcoal, #212529); 
  font-size: 16px; 
  font-weight: 700; 
  transition: color 0.2s ease;
}

.category-card:hover .category-name {
  color: var(--primary-fuchsia, #E6007E);
}

/* ==========================================================================
   4. Best Sellers / Trending Products Grid
   ========================================================================== */
.trending-products-section { 
  padding: 60px 0; 
  background-color: var(--bg-pink-soft, #FFF9FB); 
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-card, 12px);
  border: 1px solid var(--border-grey, #E9ECEF);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover { 
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(230, 0, 126, 0.08)); 
}

.product-thumb { 
  position: relative; 
  width: 100%; 
  height: 220px; 
  overflow: hidden; 
  background: #F8F9FA; 
}

.product-thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: var(--primary-fuchsia, #E6007E);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.wishlist-btn:hover {
  background: var(--primary-fuchsia, #E6007E);
  color: #FFFFFF;
  transform: scale(1.1);
}

.product-details { 
  padding: 18px 15px; 
  text-align: center; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-title { 
  font-size: 15px; 
  font-weight: 600;
  margin-bottom: 8px; 
  line-height: 1.4;
}

.product-title a { 
  text-decoration: none; 
  color: var(--secondary-charcoal, #212529); 
  transition: color 0.2s ease;
}

.product-title a:hover {
  color: var(--primary-fuchsia, #E6007E);
}

.product-price { 
  font-weight: 700; 
  color: var(--primary-fuchsia, #E6007E); 
  font-size: 17px; 
  margin-bottom: 14px; 
}

.btn-product-cta { 
  width: 100%; 
  background: var(--secondary-charcoal, #212529) !important; 
  color: #FFFFFF !important; 
  padding: 10px 0; 
  font-size: 13px; 
  font-weight: 600;
  border-radius: var(--radius-btn, 30px); 
  text-decoration: none; 
  display: block; 
  border: none;
  transition: background-color 0.25s ease;
}

.btn-product-cta:hover { 
  background: var(--primary-fuchsia, #E6007E) !important; 
}

/* ==========================================================================
   5. Trust Benefits Bar
   ========================================================================== */
.trust-benefits-section { 
  background-color: #FFFFFF; 
  padding: 40px 0; 
  border-top: 1px solid var(--border-grey, #E9ECEF); 
}

.trust-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}

.trust-item { 
  display: flex; 
  align-items: center; 
  gap: 15px; 
}

.trust-icon { 
  font-size: 34px; 
  line-height: 1;
}

.trust-text h4 { 
  font-size: 14px; 
  font-weight: 700; 
  color: var(--secondary-charcoal, #212529);
  margin-bottom: 2px;
}

.trust-text p { 
  font-size: 12px; 
  color: #777777; 
}

/* ==========================================================================
   Responsive Mobile & Tablet Breakpoints
   ========================================================================== */
@media (max-width: 1023px) {
  .categories-grid, .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title { 
    font-size: 30px; 
  }

  .hero-actions {
    justify-content: center;
  }

  .steps-grid, .trust-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid, .products-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-content: center;
    text-align: left;
  }
}