/* Yukti Herbs banner & quick-links section — scoped under .ybs- prefix.
   No Tailwind dependency, no external carousel library. */

.ybs-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem 1rem;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .ybs-section { grid-template-columns: repeat(3, 1fr); padding: 1rem 0.5rem; }
  .ybs-banner-col { grid-column: span 2; }
}

/* ---- Carousel ---- */
.ybs-banner-col {
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  aspect-ratio: 16 / 9;
}
.ybs-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ybs-track::-webkit-scrollbar { display: none; }
.ybs-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}
.ybs-slide-link { display: block; width: 100%; height: 100%; outline: none; }
.ybs-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 1rem; }

.ybs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.ybs-nav:hover { opacity: 1; background: rgba(0,0,0,0.55); }
.ybs-nav svg { width: 18px; height: 18px; }
.ybs-nav--prev { left: 10px; }
.ybs-nav--next { right: 10px; }

.ybs-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.ybs-dot { width: 7px; height: 7px; border-radius: 9999px; background: rgba(255,255,255,0.55); border: none; padding: 0; cursor: pointer; }
.ybs-dot[aria-current="true"] { background: #fff; }

/* ---- Quick link tiles ---- */
.ybs-quicklinks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0.25rem;
}
.ybs-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  text-decoration: none;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.ybs-tile:hover { transform: scale(1.05); }
.ybs-tile-icon { margin-bottom: 0.75rem; aspect-ratio: 1 / 1; }
.ybs-tile-label { font-size: 0.875rem; font-weight: 600; text-align: center; letter-spacing: 0.02em; margin: 0; }
@media (min-width: 768px) { .ybs-tile-label { font-size: 1rem; } }
