@charset "UTF-8";
/* CSS Document */

/* ========== GENERAL STYLES ========== */
body {
    font-family: 'Cabin', sans-serif;
    margin: 0;
    padding: 0;
    background: #fdfaf4;
    color: #333;
    text-shadow: 0px 0px;
}

h1, h2, h3 {
  font-family: 'Sandana', serif;
  margin-bottom: 10px;
}

a {
  text-decoration: none;
  color: inherit;
}

.back-button-container {
  padding: 20px;
  text-align: left;
}

.back-button {
  display: inline-block;
   background: linear-gradient(to left, #b0d9a4, #f2e4b3, #eac4d1);
  color: #000000;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-button:hover {
   background: linear-gradient(to right, #b0d9a4, #f2e4b3, #eac4d1);
}



button {
  background: linear-gradient(to right, #88b04b, #f4d35e);
  border: none;
  padding: 10px 20px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s ease;
}

button:hover {
  background: linear-gradient(to right, #f4d35e, #88b04b);
}

/* ========== HERO BANNER ========== */
.shop-hero {
    background-image: url(../../img/shop_categories/shop_hero_image.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 40vh; /* Use viewport height for responsiveness */
    min-height: 300px; /* Prevents it from shrinking too small */
    max-height: 600px; /* Optional cap for very large screens */
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 20px; /* Ensures some padding on smaller screens */
    box-sizing: border-box;
}


.hero-overlay {
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: 12px;
}

.shop-hero h1 {
  font-size: 36px;
  color: #2d3a1e;
}

.shop-hero p {
  font-size: 18px;
  color: #5a5a5a;
}

.shop-hero .btn {
  margin-top: 20px;
  display: inline-block;
}



/* ========== FEATURED PRODUCTS CAROUSEL ========== */
.featured-products {
  padding: 60px 20px;
  background: #faf3e0;
  text-align: center;
}

.carousel {
  overflow: hidden;
  max-width: 100%;
  position: relative;
  margin-top: 30px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 300px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  padding: 60px 20px;
  background: #fdfaf4;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

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

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-card h3 {
  margin-top: 15px;
  font-size: 20px;
  color: #2d3a1e;
}

.product-card p {
  font-size: 14px;
  color: #555;
  margin: 10px 0;
}

.product-card .price {
  font-weight: bold;
  color: #88b04b;
  font-size: 18px;
  margin: 10px 0;
}

/* ========== DELIVERY INFO ========== */
.shop-info {
  padding: 30px 20px;
  background: #eaf4e6;
  text-align: center;
  font-size: 16px;
}

/* ========== FOOTER ========== */
footer {
  background: #f2f1ec;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #333;
  border-top: 1px solid #ccc;
}


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

/* 1920px */
@media screen and (max-width: 1920px) {
  .shop-hero h1 {
    font-size: 40px;
  }
	
			.shop-hero {
    background-image: url("../../img/shop_categories/shop_hero_image.jpg");
    height: 1080px;
   
}
}

/* 1200px */
@media screen and (max-width: 1200px) {
  .category-card {
    font-size: 16px;
  }

  .carousel-item {
    flex: 0 0 250px;
  }
	
			.shop-hero {
    background-image: url("../../img/shop_categories/shop_hero_image_1200px.jpg");
    height: 800px;
   
}
}

/* 768px */
@media screen and (max-width: 768px) {
  .hero-overlay {
    padding: 20px;
  }

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

  .product-card h3 {
    font-size: 18px;
  }

  .grid {
    gap: 20px;
  }

			.shop-hero {
    background-image: url("../../img/shop_categories/shop_hero_image_768px.jpg");
    height: 512px;
   
}
	
}

/* 480px */
@media screen and (max-width: 480px) {
  .carousel-item {
    flex: 0 0 220px;
  }

  .product-card {
    padding: 15px;
  }

  button {
    width: 100%;
    padding: 12px;
  }
	
		.shop-hero {
    background-image: url("../../img/shop_categories/shop_hero_image_480px.jpg");
    height: 320px;
   
}
}

/* 300px */
@media screen and (max-width: 300px) {
  .shop-hero h1 {
    font-size: 22px;
  }

  .shop-hero p,
  .shop-info p {
    font-size: 14px;
  }

  .category-card {
    font-size: 14px;
    padding: 15px;
  }
	
	.shop-hero {
    background-image: url("../../img/shop_categories/shop_hero_image_300px.jpg");
    height: 200px;
   
}
}
