 
 /* ======================== */
 /* Product model styling */

/* ========================== */
/* == Hero Banner == */
#index-banner {
  width: 100%;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;

  /* Background comes from the body gradient — drop an image here to override: */
  background-image: url("/banner.gif");
  background-size: cover;
  background-position: center;
}

#index-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 36px;
}

#index-banner .banner-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

#index-banner .banner-tagline {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

#index-banner .banner-discord {
  margin: 8px 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ========================== */

 #product-index-page{
  margin-top: 24px;
  display: flex;
  flex-direction: column;

  align-items: center;
  gap: 10px;
  padding: 0 20px;
 }


 /* ======================== */
 /* == All products displayed in this */
 #product-container{
   display: grid;
   grid-template-columns: 1fr 1fr 1fr 1fr;
   gap: 20px;
 }
 /* ======================== */
 /* == Box where the product lives */
 .product-box{
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 16px;

   display: flex;
   flex-direction: column;
   align-items: center;
   overflow: hidden;

   background-color: rgba(255, 255, 255, 0.04);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, 0.06);
   color: white;

   box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
   transition: transform 0.2s, box-shadow 0.2s;

   text-decoration: none;
 }

 .product-box:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
 }

 /* == Upper part of the box is for the image */
 .product-box .image-container{
  flex: 0 0 150px;
  width: 100%; 
  height: 150px; 
  overflow: hidden;
 }

  .product-box .image-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

/* == Middle part reserved for title */
  .product-box .title-box{
    flex: 0 0 40px;
    padding: 10px;
    margin-bottom: 10px;
     align-self: flex-start;
  }
  
  .product-box .title-box .product-title {
    text-align: left; 
    margin: 0;   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-weight: 1000;
  
}
  .product-box .title-box .product-title a{
    color: white;
    text-decoration: none;
    text-overflow: ellipsis;
  }

/* == Bottom part for some details */
 .product-box .text-container{
    flex: 0 0 55px;
    align-self: flex-start;

    display: flex;
    justify-content: space-between;
    width: 100%;

    padding: 0 10px;
 }

/* ========================== */
/* == Responsive Breakpoints == */

/* Tablets / small desktops: 3 columns */
@media (max-width: 1024px) {
  #product-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }

  #product-index-page {
    margin-top: 20px;
  }

  #index-banner {
    min-height: 220px;
  }

  #index-banner .banner-title {
    font-size: 1.8rem;
  }
}

/* Large phones / small tablets: 2 columns */
@media (max-width: 768px) {
  #product-container {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  #product-index-page {
    margin-top: 16px;
    padding: 0 12px;
  }

  .product-box .image-container {
    flex: 0 0 120px;
    height: 120px;
  }

  .product-box .title-box .product-title {
    font-size: 0.85rem;
  }

  .product-box .text-container {
    font-size: 0.8rem;
  }

  #index-banner {
    min-height: 180px;
    border-radius: 12px;
  }

  #index-banner .banner-overlay {
    padding: 20px 24px;
  }

  #index-banner .banner-title {
    font-size: 1.5rem;
  }

  #index-banner .banner-tagline {
    font-size: 0.85rem;
  }
}

/* Small phones: single column, vertical card layout */
@media (max-width: 480px) {
  #product-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #product-index-page {
    margin-top: 12px;
    padding: 0 12px;
  }

  .product-box {
    border-radius: 12px;
    min-height: 100px;
  }

  .product-box .image-container {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  .product-box .image-container img {
    object-fit: contain;
  }

  .product-box .title-box {
    flex: 0 0 auto;
    padding: 10px;
    margin-bottom: 6px;
    align-self: flex-start;
  }

  .product-box .title-box .product-title {
    white-space: normal;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .product-box .text-container {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px 10px 10px;
    font-size: 0.82rem;
  }

  #index-banner {
    min-height: 150px;
    border-radius: 10px;
  }

  #index-banner .banner-overlay {
    padding: 16px 18px;
  }

  #index-banner .banner-title {
    font-size: 1.25rem;
  }

  #index-banner .banner-tagline {
    font-size: 0.75rem;
  }
}
 