/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff0f5;
    box-sizing: border-box; /* Added to ensure proper box-sizing */
  }
  
  /* Header */
  header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    background: #FFB6C1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    font-family: 'Dancing Script', cursive;
  }
  
  .logo {
    width: 60px;
    height: auto;
    margin-right: 20px;
    position: absolute;
    left: 30px;
  }
  
  .site-tittle {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    text-align: center;
  }
  
  /* Main Content */
  main {
    margin-top: 120px;
    padding: 20px;
  }
  
  /* Product Gallery */
  .product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0 15px; /* Added padding for spacing */
  }
  
  /* Product Box */
  .product-box {
    background-color: #ffe4ec;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  /* Hover effect for product box */
  .product-box:hover {
    transform: scale(1.05);
  }
  
  /* Carousel */
  .carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 280px; /* balanced height */
    width: 100%;
  }
  
  .carousel-images {
    display: flex;
    transition: transform 0.3s ease-in-out;
  }
  
  .carousel-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  /* Carousel Buttons */
  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 24px;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 2;
    opacity: 0.8;
  }
  
  .carousel-button.left {
    left: 5px;
  }
  
  .carousel-button.right {
    right: 5px;
  }
  
  /* Product Title */
  .product-box h3 {
    font-size: 20px;
    margin: 10px 0 5px;
    color: #c7507c;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Product Description */
  .product-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
  }
  
  /* Order Button */
  .product-box button {
    background-color: #FF69B4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .product-box button:hover {
    background-color: #e0559c;
  }
  
  /* Footer */
  footer {
    background: #FFB6C1;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
  }
  
  .social-icons {
    font-size: 24px;
  }
  
  .social-icons a {
    margin: 0 10px;
    text-decoration: none;
    color: #000;
  }
  
  .social-icons a:hover {
    color: #FF6347;
  }
  
  .copyright {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    /* Product Gallery - Adjust layout to 2 products per row on tablet and below */
    .product-gallery {
      grid-template-columns: repeat(2, 1fr); /* Ensures 2 products per row on tablets */
      gap: 15px;
      padding: 0 10px; /* Adjusted padding for mobile */
    }
  
    /* Adjust Carousel size on tablet screens */
    .carousel-container {
      height: 240px;
    }
  
    .carousel-images img {
      height: 240px;
    }
  }
  
  @media (max-width: 480px) {
    /* Product Gallery - 2 products per row on mobile */
    .product-gallery {
      grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile screens */
      gap: 15px;
      padding: 0 10px;
    }
  
    /* Adjust Carousel size on very small screens */
    .carousel-container {
      height: 200px;
    }
  
    .carousel-images img {
      height: 200px;
    }
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
  }
  
  .page-btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #FF69B4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
  }
  
  .page-btn:hover {
    background-color: #e0559c;
  }

  .page-btn.disabled {
    background-color: #ffc0cb;
    color: #888;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
  }
  