
@font-face {
  font-family: 'Kenyan Coffee';
  src: url('https://kingscrest.com/new/fonts/Kenyan-Coffee-Rg.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('https://kingscrest.com/new/fonts/Montserrat-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
}

canvas#waves {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 300vw;
  height: 300vh;
  z-index: 0;
  pointer-events: none;
}

.content, .sidebar {
  position: relative;
  z-index: 1;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Kenyan Coffee', Arial, sans-serif;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 100;
}

.sidebar img {
  width: 140px;
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-family: 'Kenyan Coffee', sans-serif;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 20px 15px;
}

.header-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.header-item.title {
  font-size: 24px;
  font-family: 'Kenyan Coffee', sans-serif;
}

.header-item.subinfo,
.header-item.count {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}

.section-header .line {
  height: 1px;
  background-color: white;
  opacity: 0.4;
  flex-grow: 1;
  margin: 0 8px;
}


.section-info {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #fff;
  align-self: flex-end;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 60px;
}

.product-box {
  background: transparent;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
}

.product-box:hover {
  transform: scale(1.05);
}

.product-box h3,
.product-box p {
  display: none;
}

.product-box .thumb {
  max-height: 380px;
  width: 100%;
  object-fit: contain;
  height: auto;
  max-width: 400px;
  margin: 0 auto;
}

.content {
  margin-left: 240px;
  padding: 30px 30px 20px 30px;
}

.accent-bar {
  width: 4px;
  height: 25px;
  background: linear-gradient(to bottom, #FFD700, #FFA500); /* gold to orange gradient */
  border-radius: 2px;
  margin-right: 0px;
}

.mobile-header {
  background: rgba(255, 255, 255, 0.12); /* lighter and less opaque */
  backdrop-filter: blur(5px) saturate(120%);
  -webkit-backdrop-filter: blur(5px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  position: relative;
  z-index: 200;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px 60px;
  }

  .sidebar {
    display: none;
  }

  .content {
    margin-left: 0;
    padding: 20px;
  }

  .section-header {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 15px 10px;
    gap: 8px 12px;
  }

  .header-item.title {
    font-size: 20px;
  }

  .header-item.count {
    font-size: 12px;
    text-align: right;
    margin-left: auto;
    flex-grow: 1;
    display: none;
  }

  .section-info {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
  }

  .section-header .line {
    width: 60px;
    height: 1px;
    background-color: white;
    opacity: 0.4;
    margin: 0;
    flex-grow: 1;
  }
}


  @media (max-width: 768px) {
    .header-item line {
        display: none !important;
    }
    .header-item count {
        display: none !important;
    }
  }