/* Section — clean white surface, like the Hostelworld help-grid reference */
.smyk-fr {
  padding-block: var(--smyk-section-py);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.smyk-fr__wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* Header — oversized bold heading with accent word, Hostelworld-style */
.smyk-fr__header {
  text-align: center;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.smyk-fr__header-text { flex: 1 1 auto; min-width: 0; }

/* Circular nav buttons — branded outline style (matches Top Destinations) */
.smyk-fr__nav {
  display: none;
  gap: 10px;
  flex-shrink: 0;
}
.smyk-fr__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-fr__nav-btn:hover {
  border-color: #e41d56;
  color: #e41d56;
  box-shadow: 0 6px 14px -6px rgba(228, 29, 86, 0.45);
  transform: translateY(-1px);
}
.smyk-fr__nav-btn:active { transform: translateY(0); }
.smyk-fr__nav-btn:focus-visible {
  outline: 2px solid #e41d56;
  outline-offset: 2px;
}
.smyk-fr__nav-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.smyk-fr__nav-btn[disabled]:hover {
  border-color: #e5e7eb;
  color: #222222;
  box-shadow: none;
  transform: none;
}
.smyk-fr__heading {
  font-family: var(--smyk-font, inherit);
  font-size: clamp(1.75rem, 4.5vw, 45px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #222222;
  margin: 0 0 16px;
}
.smyk-fr__heading-accent {
  color: #e41d56;
}
.smyk-fr__subtitle {
  font-size: clamp(14px, 1.2vw, 17px);
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Grid — 3 columns desktop, 2 tablet, 1 mobile */
.smyk-fr__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-fr__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;
}

/* Per-card tilt overrides killed — keep the layout calm */
.smyk-fr__card--rot0,
.smyk-fr__card--rot1,
.smyk-fr__card--rot2,
.smyk-fr__card--rot3,
.smyk-fr__card--rot4,
.smyk-fr__card--rot5 {
  transform: none;
}

/* Icon — soft tinted disc, no tilt */
.smyk-fr__card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: transparent;
  color: #e41d56;        /* crimson brand line-icon stroke */
  transform: none;
}
.smyk-fr__card-icon img,
.smyk-fr__card-icon svg {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.smyk-fr__card-emoji {
  font-size: 40px;
  line-height: 1;
  display: block;
}

/* Card text */
.smyk-fr__card-title {
  font-family: var(--smyk-font, inherit);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: #222222;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.smyk-fr__card-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.smyk-fr__empty {
  text-align: center;
  color: #6b7280;
  padding: 40px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .smyk-fr__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 749px) {
  /* Horizontal swipe carousel — replaces the stacked grid on mobile */
  .smyk-fr__wrap {
    padding-inline: 0;
  }
  .smyk-fr__header {
    padding-inline: clamp(16px, 5vw, 24px);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
  }
  .smyk-fr__heading { font-size: clamp(1.4rem, 6vw, 1.9rem); margin-bottom: 8px; }
  .smyk-fr__subtitle { font-size: 14px; }
  .smyk-fr__nav { display: flex; }
  .smyk-fr__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-fr__grid::-webkit-scrollbar { display: none; }

  .smyk-fr__card {
    scroll-snap-align: center;
    padding: 24px 20px;
    min-height: 220px;
    transform: none !important;
  }
  .smyk-fr__card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 18px;
  }
  .smyk-fr__card-icon img,
  .smyk-fr__card-icon svg { width: 36px; height: 36px; }
  .smyk-fr__card-emoji { font-size: 32px; }
}

@media (max-width: 420px) {
  .smyk-fr__grid { grid-auto-columns: 84vw; }
  .smyk-fr__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
