/* Shop Page Styles */
.categories {
    background-color: #14222D;
    padding: 15px 0;
    position: sticky;
    top: 0px;
    z-index: 998;
  }
  
  .category {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .category-link {
    color: #FEF6D4;
    text-decoration: none;
    padding: 8px 15px;
    font-family: "Indie Flower", serif;
    font-size: 1.2rem;
    transition: 0.3s ease;
  }
  
  .category-link:hover, .category-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }
  
  .shop-section {
    padding: 40px 20px;
  }
  
  .shop-section h1 {
    font-size: 3.5rem;
    font-family: "Rouge Script", serif;
    color: #FEF6D4;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /*.product-box {
    width: calc(25% - 20px);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .product-box:hover {
    transform: translateY(-5px);
  }
  
  .product-img {
    height: 250px;
    background-size: cover;
    background-position: center;
  }
  
  .product-content {
    padding: 15px;
  }
  
  .product-content h3 {
    font-family: "Indie Flower", serif;
    margin-bottom: 10px;
    color: #14222D;
  }
  
  .product-content a {
    display: inline-block;
    background-color: #14222D;
    color: #FEF6D4;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .product-content a:hover {
    background-color: #1d3242;
  }*/

  .product-box {
    width: calc(25% - 20px);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .product-box:hover {
    transform: translateY(-5px);
  }
  
  .product-img {
    height: 250px;
    background-size: cover;
    background-position: center;
  }
  
  .product-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 100px;
  }
  
  .product-content h3 {
    font-family: "Indie Flower", serif;
    margin-bottom: 40px; /* Increased bottom margin to make room for button */
    color: #14222D;
  }
  
  .product-content a {
    display: inline-block;
    background-color: #14222D;
    color: #FEF6D4;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Aligns button to the left */
    margin-top: auto; /* Pushes button to bottom of container */
  }
  
  .product-content a:hover {
    background-color: #1d3242;
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .pagination-arrow {
    background-color: #14222D;
    color: #FEF6D4;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }
  
  .pagination-arrow:hover {
    background-color: #1d3242;
  }
  
  .pagination-arrow:disabled {
    cursor: not-allowed;
    color: #afa784;
  }
  
  /* Mobile Styles */
  @media (max-width: 768px) {
    .categories {
      padding: 10px 0;
    }
    
    .category {
      flex-direction: column;
      align-items: center;
    }
    
    .category-link {
      margin: 5px 0;
      width: 80%;
      text-align: center;
      padding: 10px;
    }
    
    .product-box {
      width: calc(50% - 20px);
    }
    
    .mobile-category-title {
      display: block;
      text-align: center;
      font-size: 2rem;
      margin: 20px 0;
      font-family: "Rouge Script", serif;
      color: #14222D;
    }
    
    .desktop-view {
      display: none;
    }
    
    .mobile-view {
      display: block;
    }
  }
  
  @media (min-width: 769px) {
    .mobile-category-title {
      display: none;
    }
    
    .desktop-view {
      display: block;
    }
    
    .mobile-view {
      display: none;
    }
  }


  /* Mobile Category Dropdown - Only affects mobile view */
.mobile-category-dropdown {
  display: none;
  position: relative;
  width: 100%;
  background-color: #14222D;
  padding: 10px;
  z-index: 999;
}

.category-dropdown-btn {
  width: 100%;
  padding: 12px;
  background-color: #14222D;
  color: #FEF6D4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: "Indie Flower", serif;
  font-size: 1.2rem;
  text-align: center;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: #14222D;
  margin-top: 5px;
  border-radius: 4px;
  overflow: hidden;
}

.dropdown-content.show {
  display: flex;
}

/* Only apply these changes to mobile view */
@media (max-width: 768px) {
  .mobile-category-dropdown {
    display: block;
    position: sticky;
    top: 0px;
  }
  
  .categories {
    display: none;
  }

  
  .dropdown-content a {
    text-align: center;
    width: 100%;
  }
    
}

  