/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Cormorant SC', serif;
    margin: 0;
    padding: 0px;
    background: #f5f5f5;
    color: #333;
  }
  h1 {
    margin: 2rem;
    text-align: center;
  }
  
  /* Container for thumbnails using Flexbox */
  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 2rem;
    align-items: stretch;
  }
  #shop-heading::first-letter{
    color: rgb(240, 190, 63);
    font-weight: 700;
    font-size: 1.5em;
    content: " ";
  }
  
  .shop-heading-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem;
  }
  .back-btn{
    background-color: white;
    border: 1px solid lightgray;
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    cursor: pointer;
    align-items: center;
  }
  .back-btn a{
    text-decoration: none;
    color: inherit;

  }
    .back-btn:hover{
      background-color: gray;
      color: white;
    }
  /* Each card occupies 25% of the row minus gap adjustments */
  .card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    flex: 1 1 calc(25% - 20px);
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  
  .card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
  }
  
  /* Pagination styles */
  #paginationContainer {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 1000px;
  }
  
  #paginationContainer button {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  #paginationContainer button:disabled {
    background: #cccccc;
    cursor: default;
  }
  
  #paginationContainer button:hover:not(:disabled) {
    background: #0056b3;
  }
  
  #paginationContainer span {
    font-size: 16px;
  }
  
  /* Slider Modal Styles */
  #sliderModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
    z-index: 1000;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Slider content now uses viewport units for full-screen responsiveness */
  #sliderContent {
    position: relative;
    width: 90vw;
    height: 90vh;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
  }
  
  #sliderContent img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the full image is visible */
    display: block;
  }
  
  /* Slider buttons with higher z-index */
  .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
  }
  
  .slider-button:hover {
    background: rgba(255, 255, 255, 1);
  }
  
  #prevBtn {
    left: 10px;
    color: #333;
  }
  
  #nextBtn {
    right: 10px;
  }
  
  #closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
  }
  
  #closeBtn:hover {
    background: rgba(255,255,255,1);
  }
  
  /* Optional: Responsive adjustments for smaller screens */
  @media (max-width: 600px) {
    #sliderContent {
      width: 95vw;
      height: 80vh;
    }
    #prevBtn, #nextBtn {
      padding: 8px;
    }
  }
  
.copyrighText{
  padding: 8px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;    
  background: #fff;    
}
.copyrighText p{
  color: #111;
  font-weight: 600;
  font-size: 14px;
}/* Responsive breakpoints */
@media (max-width: 1200px) {
  .cards {
    gap: 16px;
    margin: 1.5rem;
  }
  .card {
    /* 3 cards per row */
    flex: 1 1 calc(33.333% - 16px);
  }
}

@media (max-width: 900px) {
  .cards {
    gap: 12px;
    margin: 1rem;
  }
  .card {
    /* 2 cards per row */
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  h1#shop-heading {
    font-size: 1.5rem;
    margin: 1rem;
  }
  .cards {
    gap: 10px;
    margin: 0.75rem;
  }
  .card {
    /* 1 card per row */
    flex: 1 1 100%;
  }
  #paginationContainer {
    gap: 6px;
    margin: 20px 0;
  }
  #paginationContainer button {
    padding: 6px 12px;
    font-size: 14px;
  }
  #paginationContainer span {
    font-size: 14px;
  }
}
