:root {
  --blue: #61A1DC;
  --blue-dark: #46749E;
  --blue-darker: #355979;
  --blue-tint: #EFF6FC;
  --blue-tint-2: #E3EEF9;
  --ink: #10233f;
  --ink-soft: #4b5d78;
  --gray-bg: #f3f6fb;
  --white: #ffffff;
  --border: #e3ebf5;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(1, 46, 92, 0.08);
  --shadow-hover: 0 10px 28px rgba(1, 46, 92, 0.16);
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--gray-bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

button { font-family: inherit; cursor: pointer; }

/* ===================== HEADER ===================== */
.sb-header {
  background: linear-gradient(to right, #B2CAE0 0%, #4776A0 100%);
  padding: 16px 24px;
}

.sb-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .sb-header__inner { gap: 12px; }
  .sb-search { order: 3; flex-basis: 100%; max-width: 100%; }
}

.sb-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.sb-logo__icon {
  height: 117px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.18));
}

.sb-logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.sb-logo__name {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  font-size: 2.35rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.sb-logo__name strong { font-weight: 800; }

.sb-logo__domain {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

@media (max-width: 720px) {
  .sb-logo__icon { height: 64px; }
  .sb-logo__name { font-size: 1.4rem; }
  .sb-logo__domain { display: none; }
}

.sb-search {
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 999px;
  padding: 4px 6px 4px 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.sb-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: transparent;
}

.sb-search input::placeholder { color: #9aa8bc; }

.sb-search button {
  background: var(--blue);
  border: none;
  color: var(--white);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.sb-search button:hover { background: var(--blue-darker); }

.sb-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sb-icon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.sb-icon-btn:hover { background: rgba(255,255,255,0.16); transform: translateY(-1px); }
.sb-icon-btn span { display: none; }

@media (min-width: 900px) {
  .sb-icon-btn span { display: inline; }
}

/* ===================== SELETOR DE IDIOMA ===================== */
.sb-lang {
  position: relative;
  flex-shrink: 0;
}

.sb-lang__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--white);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.15s ease;
}
.sb-lang__btn:hover { background: rgba(255,255,255,0.16); transform: translateY(-1px); }
.sb-lang__btn span:first-child { font-size: 1.05rem; line-height: 1; }

.sb-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  padding: 6px;
  min-width: 170px;
  z-index: 50;
}

.sb-lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
}
.sb-lang__option:hover { background: var(--blue-tint); }
.sb-lang__option span { font-size: 1.1rem; }

/* ===================== CARROSSEL ===================== */
.sb-carousel-wrap {
  background: var(--white);
  padding: 20px 24px 4px;
}

.sb-carousel {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-tint);
  aspect-ratio: 21 / 6;
}

.sb-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(.65,.05,.36,1);
}

.sb-carousel__slide {
  min-width: 100%;
  height: 100%;
  display: block;
}

.sb-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-carousel__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--blue-dark);
  text-align: center;
  padding: 24px;
}
.sb-carousel__placeholder strong { font-size: 1.1rem; font-family: 'Sora', sans-serif; }
.sb-carousel__placeholder span { color: var(--ink-soft); font-size: 0.9rem; }

.sb-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--blue-dark);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background 0.2s ease;
}
.sb-carousel__nav:hover { background: var(--white); }
.sb-carousel__nav--prev { left: 14px; }
.sb-carousel__nav--next { right: 14px; }

.sb-carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.sb-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  padding: 0;
}
.sb-carousel__dot--active { background: var(--white); width: 20px; border-radius: 4px; }

/* ===================== CATEGORIAS ===================== */
.sb-categories {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.sb-categories__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 24px;
  scrollbar-width: none;
}
.sb-categories__inner::-webkit-scrollbar { display: none; }

.sb-category {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue-tint-2);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.87rem;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.sb-category:hover { background: var(--blue-tint); }
.sb-category--active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ===================== PRODUTOS ===================== */
.sb-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

.sb-section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 18px;
  text-transform: lowercase;
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) { .sb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .sb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .sb-grid { grid-template-columns: 1fr; } }

.sb-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sb-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.sb-card__image {
  aspect-ratio: 1 / 1;
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sb-card__image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

.sb-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sb-card__name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-card__cta {
  margin-top: auto;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.2s ease;
}
.sb-card__cta:hover { background: var(--blue-darker); }

.sb-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 60px 0;
}

/* ===================== RODAPÉ ===================== */
.sb-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 22px 24px;
}

.sb-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.sb-footer__logo img {
  height: 78px;
  width: auto;
  opacity: 0.55;
  justify-self: start;
}

.sb-footer__copy {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.sb-footer__social {
  display: flex;
  gap: 12px;
  justify-self: end;
  color: var(--blue-dark);
}
.sb-footer__social a { transition: color 0.2s ease; }
.sb-footer__social a:hover { color: var(--blue); }

@media (max-width: 620px) {
  .sb-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .sb-footer__logo img { justify-self: center; }
  .sb-footer__social { justify-self: center; }
}
