/* Section — clean white surface */
.smyk-bn {
  padding-block: var(--smyk-section-py);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.smyk-bn__wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* Header — bold heading with accent word, Hostelworld-style */
.smyk-bn__header {
  text-align: center;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.smyk-bn__header-text { flex: 1 1 auto; min-width: 0; }

/* Circular nav buttons — branded outline style (hidden on desktop) */
.smyk-bn__nav {
  display: none;
  gap: 10px;
  flex-shrink: 0;
}
.smyk-bn__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  color: #222222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.smyk-bn__nav-btn:hover {
  border-color: #e41d56;
  color: #e41d56;
  box-shadow: 0 6px 14px -6px rgba(228, 29, 86, 0.45);
  transform: translateY(-1px);
}
.smyk-bn__nav-btn:active { transform: translateY(0); }
.smyk-bn__nav-btn:focus-visible {
  outline: 2px solid #e41d56;
  outline-offset: 2px;
}
.smyk-bn__nav-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.smyk-bn__nav-btn[disabled]:hover {
  border-color: #e5e7eb;
  color: #222222;
  box-shadow: none;
  transform: none;
}
.smyk-bn__heading {
  font-family: var(--smyk-font, inherit);
  font-size: clamp(1.75rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #222222;
  margin: 0 0 16px;
}
.smyk-bn__heading-accent {
  color: #e41d56;
  margin-left: 0.3em;
}
.smyk-bn__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Grid — 3 columns desktop, 2 tablet, 1 mobile */
.smyk-bn__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}

/* Card — flat white surface, 16px radius, no border, no shadow,
   content centered horizontally */
.smyk-bn__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: clamp(24px, 2.4vw, 32px);
  text-align: center;
  box-shadow: none;
}

/* Icon — soft tinted disc */
.smyk-bn__card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: #fef3c7;
  color: #222222;
}
.smyk-bn__card-icon img,
.smyk-bn__card-icon svg {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.smyk-bn__card-emoji {
  font-size: 40px;
  line-height: 1;
  display: block;
  filter: contrast(1.1) saturate(1.15);
}

/* Card text */
.smyk-bn__card-title {
  font-family: var(--smyk-font, inherit) !important;
  font-size: clamp(0.9rem, 1.1vw, 1rem) !important;
  font-weight: 700 !important;
  color: #222222;
  line-height: 1.25 !important;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.smyk-bn__card-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.smyk-bn__empty {
  text-align: center;
  color: #6b7280;
  padding: 40px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .smyk-bn__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 749px) {
  /* Horizontal swipe carousel — replaces the stacked grid on mobile */
  .smyk-bn__wrap {
    padding-inline: 0;
  }
  .smyk-bn__header {
    padding-inline: clamp(16px, 5vw, 24px);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
  }
  .smyk-bn__heading { font-size: clamp(1.4rem, 6vw, 1.9rem); margin-bottom: 8px; }
  .smyk-bn__subtitle { font-size: 14px; margin-inline: 0; }
  .smyk-bn__nav { display: flex; }
  .smyk-bn__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    grid-template-columns: unset;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    padding-inline: 16px;
    padding-block: 6px 18px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
  }
  .smyk-bn__grid::-webkit-scrollbar { display: none; }

  .smyk-bn__card {
    scroll-snap-align: center;
    padding: 24px 20px;
    min-height: 220px;
  }
  .smyk-bn__card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 18px;
  }
  .smyk-bn__card-icon img,
  .smyk-bn__card-icon svg { width: 36px; height: 36px; }
  .smyk-bn__card-emoji { font-size: 32px; }
}

@media (max-width: 420px) {
  .smyk-bn__grid { grid-auto-columns: 84vw; }
  .smyk-bn__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
