/* =============================================
   GRUPO FORMIGRES — Design System
   ============================================= */

:root {
  --red:       #da1c24;
  --red-dark:  #b01219;
  --red-light: #f9e5e6;
  --black:     #111111;
  --gray-900:  #1a1a1a;
  --gray-800:  #2d2d2d;
  --gray-700:  #444444;
  --gray-600:  #666666;
  --gray-500:  #888888;
  --gray-400:  #aaaaaa;
  --gray-200:  #e8e8e8;
  --gray-300:  #e9e9e9;
  --gray-100:  #f4f4f4;
  --white:     #ffffff;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Montserrat', var(--font-sans);
  --radius:    8px;
  --shadow:    0 2px 16px rgba(0,0,0,.08);
  --shadow-md: 0 4px 32px rgba(0,0,0,.12);
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-head);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--black);
  margin-bottom: .5rem;
}
.section-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}

/* ---- Layout ---- */
.container { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: 1.5rem; }

.section { padding: 5rem 0; }
.sectionp { padding: 1rem 0;  }
.section--gray { background: var(--gray-100); }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform .35s ease;
}
.navbar--hidden { transform: translateY(-100%); }
.navbar.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.navbar__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.navbar__logo-img { height: 48px; width: auto; display: block; max-width: none; object-fit: contain; }
.navbar__logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.02em;
}
.navbar__logo-text span { color: var(--red); }

.navbar__nav { display: flex; gap: 2rem; align-items: center; }
.navbar__nav > li > a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color var(--transition);
  position: relative;
}
.navbar__nav > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.navbar__nav > li > a:hover { color: var(--red); }
.navbar__nav > li > a:hover::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: .2rem; }

.btn-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: none; background: none;
  color: var(--gray-800);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.btn-icon:hover { background: var(--gray-100); color: var(--red); }

.badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--red); color: #fff;
  font-size: .65rem; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Hamburger icon — hidden on desktop */
.navbar__hamburger { display: none; }

/* Hamburger animation to X */
.navbar__hamburger { z-index: 1001; }
.ham-icon { overflow: visible; }
.ham-icon line {
  transform-box: view-box;
  transform-origin: 12px 12px;
  transition: transform .3s ease, opacity .2s ease;
  stroke-linecap: round;
}
.navbar__hamburger[aria-expanded="true"] .ham-line1 {
  transform: translateY(3px) rotate(45deg);
}
.navbar__hamburger[aria-expanded="true"] .ham-line2 {
  opacity: 0;
  
}
.navbar__hamburger[aria-expanded="true"] .ham-line3 {
  transform: translateY(-6px) rotate(-45deg);
}


/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}
.hero__track { display: flex; height: 100%; }

.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero__slide.active { opacity: 1; pointer-events: auto; }

.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero__slide.active .hero__bg {
  animation: kenBurnsIn 14s ease-in-out forwards;
}
.hero__slide.active .hero__bg.zoom-out {
  animation: kenBurnsOut 14s ease-in-out forwards;
}
/* Even slides: zoom in + pan right→left */
@keyframes kenBurnsIn {
  from { transform: scale(1.0)  translateX(4%); }
  to   { transform: scale(1.30) translateX(-4%); }
}
/* Odd slides: zoom out + pan left→right */
@keyframes kenBurnsOut {
  from { transform: scale(1.30) translateX(-4%); }
  to   { transform: scale(1.0)  translateX(4%); }
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 30%, transparent 100%);
}

.hero__content {
  position: absolute;
  top: 50%; left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 1000px;
}

.hero__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s .2s ease, transform .6s .2s ease;
  margin-bottom: .75rem;
}
.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .8s .45s cubic-bezier(.2,.8,.3,1), transform .8s .45s cubic-bezier(.2,.8,.3,1);
  margin-bottom: .75rem;
}
.hero__subtitle {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-weight: 400;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .7s .75s ease, transform .7s .75s cubic-bezier(.2,.8,.3,1);
  margin-bottom: 2rem;
}
.hero__cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s 1s ease, transform .6s 1s ease;
}

.hero__slide.active .hero__label {
  opacity: 1;
  transform: translateY(0);
}
.hero__slide.active .hero__title {
  opacity: 1;
  transform: scale(1);
}
.hero__slide.active .hero__subtitle,
.hero__slide.active .hero__cta {
  opacity: 1;
  transform: translateY(0);
}

/* Hero line decoration */
.hero__title::before {
  content: '';
  display: block;
  width: 50px; height: 3px;
  background: var(--red);
  margin-bottom: .75rem;
}

/* Scroll-down button */
.hero__scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  background: rgba(218,28,36,.55);
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease;
}
.hero__scroll-down:hover { background: rgba(218,28,36,.85); }
.hero__scroll-down svg {
  color: #fff;
  animation: scrollBounce 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(-3px); }
  50%       { transform: translateY(4px); }
}

.hero__controls {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .5rem;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.hero__dot.active { background: #fff; width: 28px; }

.hero__arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-inline: 1.5rem;
  pointer-events: none;
}
.hero__arrow {
  pointer-events: auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.hero__arrow:hover { background: rgba(255,255,255,.3); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-200);
}
.btn-outline-dark:hover { border-color: var(--gray-600); }

.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1rem; margin: 10px;}

/* ---- Brands Grid ---- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 5px;
  background: var(--gray-100);
  overflow: hidden;
}
.brand-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.brand-card:hover { background: var(--gray-100); }
.brand-card:hover .brand-card__name { color: var(--red); }
.brand-card__logo { height: 120px; width: auto; object-fit: contain; }
.brand-card__logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
}
.brand-card__name {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-600);
  transition: color var(--transition);
}
.brand-card__count {
  font-size: .78rem;
  color: var(--gray-400);
}

/* ---- Product Card ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.product-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img-wrap img {
  transform: scale(1.05);
}
.product-card__badge {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--red); color: #fff;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 4px;
}
.product-card__fav {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(255,255,255,.9);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  transition: color var(--transition), transform var(--transition);
}
.product-card__fav:hover,
.product-card__fav.active { color: var(--red); transform: scale(1.1); }

.product-card__body { padding: 1rem; position: relative; }
.product-card__sparkle {
  position: absolute;
  bottom: .6rem; right: .6rem;
  display: flex;
  pointer-events: none;
}
.product-card__title {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .4rem;
  color: var(--black);
}
.product-card__meta {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.product-card__tag {
  font-size: .72rem;
  padding: .2rem .55rem;
  border-radius: 4px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-weight: 500;
}
.product-card__marca {
  font-size: .72rem;
  color: var(--red);
  font-weight: 600;
  margin-top: .4rem;
}

/* ---- Filters ---- */
.filters-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-select {
  padding: .55rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--gray-800);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.2rem;
}
.filter-select:focus { outline: none; border-color: var(--red); }
.filter-select:hover { border-color: var(--gray-600); }

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
}
.search-input-wrap svg {
  position: absolute;
  left: .85rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: .55rem .85rem .55rem 2.5rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .85rem;
  transition: border-color var(--transition);
}
.search-input:focus { outline: none; border-color: var(--red); }

.results-count {
  font-size: .85rem;
  color: var(--gray-600);
  margin-left: auto;
}

.products-disclaimer {
  text-align: center;
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: 1.5rem;
  padding-bottom: 1rem;
}

/* ---- Pagination ---- */
/* Infinite scroll loader */
.scroll-loader {
  display: flex;
  justify-content: center;
  gap: .45rem;
  padding: 2rem 0 1rem;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.scroll-loader.active { opacity: 1; }
.scroll-loader span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: scroll-bounce .9s ease-in-out infinite;
}
.scroll-loader span:nth-child(2) { animation-delay: .15s; }
.scroll-loader span:nth-child(3) { animation-delay: .3s; }
@keyframes scroll-bounce {
  0%, 80%, 100% { transform: scale(0); opacity: .4; }
  40%           { transform: scale(1); opacity: 1; }
}

/* ---- Modal (Product Detail) ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 1400px;
  height: 92vh;
  overflow: hidden;
  transform: scale(.96);
  transition: transform var(--transition);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.modal-overlay.open .modal { transform: scale(1); }

.modal__close {
  background: var(--gray-100); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.modal__close:hover { background: var(--gray-200); }

.modal__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  position: relative;
  flex: 1;
  min-height: 0;
}

/* ---- Image column ---- */
.modal__img-col {
  background: var(--gray-100);
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.modal__img-spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid rgba(0,0,0,.08);
  border-top-color: var(--red, #da1c24);
  border-radius: 50%;
  animation: modalSpin .8s linear infinite;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
  z-index: 1;
}
.modal__img-col.is-loading .modal__img-spinner { opacity: 1; }
@keyframes modalSpin { to { transform: rotate(360deg); } }
.modal__main-img {
  width: 100%; height: 100%;
  min-height: 380px;
  object-fit: contain;
  display: block;
  padding: 1.5rem;
}

/* Finish badge — circular overlay */
.modal__finish-badge {
  position: absolute;
  bottom: 1.25rem; right: 1.25rem;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: #c8b49a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: .75rem;
  box-shadow: 0 3px 14px rgba(0,0,0,.22);
  pointer-events: none;
}
.modal__badge-top {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}
.modal__badge-bot {
  font-size: .88rem;
  font-style: italic;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.3;
  margin-top: .2rem;
}

/* ---- Info column ---- */
.modal__info {
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.modal__info-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.modal__info-top-text { flex: 1; min-width: 0; }
.modal__info-top-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.modal__header-thumb {
  width: 60px; height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--gray-200);
  margin-top: .6rem;
  cursor: zoom-in;
  transition: border-color .15s;
}
.modal__header-thumb:hover { border-color: var(--red); }
.modal__header-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.modal__marca { font-size: .78rem; font-weight: 700; color: var(--red); letter-spacing: .09em; text-transform: uppercase; margin-bottom: .3rem; }
.modal__title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0; }

/* Specs */
.modal__specs { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.modal__spec {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-100);
  gap: .75rem;
}
.modal__spec:last-child { border-bottom: none; }
.modal__spec-label { color: var(--gray-500); flex-shrink: 0; }
.modal__spec-value { font-weight: 700; text-align: right; }
.modal__spec-value--bold { font-weight: 800; }

/* Image sections (Variação de Faces / Ambiente / Acabamento) */
.modal__img-sections {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1rem;
}
.modal__img-section-title {
  font-weight: 700;
  font-size: .85rem;
  margin: 0 0 .45rem;
}
.modal__img-section-imgs {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.modal__img-section-img {
  width: 68px; height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--gray-200);
  cursor: zoom-in;
  transition: border-color .15s, transform .15s;
  display: block;
}
.modal__img-section-img:hover,
.modal__img-section-img.active { border-color: var(--red); transform: scale(1.06); }

.modal__actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; padding-top: .5rem; margin-top: auto; }

.modal__share-btn {
  margin-left: auto;
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--red);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.modal__share-btn:hover { background: var(--red); color: var(--white); }
.modal__share-btn::before {
  content: 'Copiar link do produto';
  position: absolute;
  bottom: calc(100% + 8px); right: 0;
  background: #222; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 4px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .15s;
}
.modal__share-btn::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px); right: 11px;
  border: 5px solid transparent;
  border-top-color: #222;
  opacity: 0; pointer-events: none;
  transition: opacity .15s;
}
.modal__share-btn:hover::before,
.modal__share-btn:hover::after { opacity: 1; }
.modal__share-btn.copied::before { content: 'Link copiado! ✓'; opacity: 1; }
.modal__share-btn.copied::after  { opacity: 1; }

/* ---- Search Overlay ---- */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10vh;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.search-overlay.open { opacity: 1; visibility: visible; }

.search-overlay__box {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 1100px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
}
.search-overlay__input-row {
  margin-top: 1rem;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1rem;
}
.search-overlay__input {
  flex: 1;
  border: 2px solid #dee2e6;
  border-right: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--black);
  padding: .75rem 1rem;
  outline: none;
  background: #fff;
  border-radius: 8px 0 0 8px;
  transition: border-color var(--transition);
}
.search-overlay__input:focus { border-color: var(--red); }
.search-overlay__input-row .btn-limpar { border-radius: 0 8px 8px 0; }
.search-overlay__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
  z-index: 2;
}
.search-overlay__close:hover { background: var(--gray-100); color: var(--red); }
.search-overlay__results {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.3rem;
  padding: 10px 0 0;
}
.search-overlay__results:empty { display: none; }

/* ---- Favoritos ---- */
.fav-empty {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--gray-600);
}
.fav-empty svg { margin-inline: auto; margin-bottom: 1rem; color: var(--gray-300); }
.fav-empty h3 { font-size: 1.2rem; margin-bottom: .5rem; color: var(--gray-700); }

/* ---- Footer ---- */
.footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: .75rem;
}
.footer__brand h2 span { color: var(--red); }
.footer__brand p { font-size: .875rem; line-height: 1.7; }
.footer__heading {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a {
  font-size: .875rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__dev {
  font-size: .78rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.footer__dev svg { flex-shrink: 0; }
.footer__dev a { color: var(--gray-400); text-decoration: underline; text-underline-offset: 2px; transition: color var(--transition); }
.footer__dev a:hover { color: var(--white); }
.footer__social { display: flex; gap: .75rem; }
.footer__social a {
  color: var(--gray-400);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-800);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}
.footer__social a:hover { border-color: var(--gray-600); color: var(--white); }

/* ---- Loader ---- */
.page-loader {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .4s ease;
}
.page-loader.done { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 48px; height: 48px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Skeleton ---- */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton { to { background-position: -200% 0; } }

/* ---- Toast ---- */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 4000;
  display: flex; flex-direction: column; gap: .5rem;
}
.toast {
  background: var(--black); color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-size: .875rem;
  box-shadow: var(--shadow-md);
  animation: toastIn .3s ease;
  display: flex; align-items: center; gap: .5rem;
}
.toast--success { border-left: 3px solid #22c55e; }
.toast--error   { border-left: 3px solid var(--red); }
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--gray-800); }
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ---- Page Header ---- */
.page-header {
  background: var(--gray-100);
  padding: 3.5rem 0 2.5rem;
  margin-top: 72px;
  border-bottom: 1px solid var(--gray-200);
}
.page-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.page-header .breadcrumb {
  display: flex; gap: .5rem;
  align-items: center;
  font-size: .8rem;
  color: var(--gray-600);
  margin-top: .5rem;
}
.page-header .breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { color: var(--gray-400); }

/* ---- Brand hero (marca page) ---- */
.brand-hero {
  margin-top: 80px;
  background: var(--black);
  padding: 1rem 0;
  color: #fff;
  position: relative;
}
.brand-hero--sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 990;
  margin-top: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

/* ---- Back to top ---- */
.btn-back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, background var(--transition);
  z-index: 995;
}
.btn-back-top.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.btn-back-top:hover { background: var(--red-dark); }
.brand-hero__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.brand-hero__bg-img {
  position: absolute; 
  width: 80%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .7;
  right: 0;
  z-index: 10;
}
.brand-hero__bg::before {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, var(--red) 14.8%, #ffffff00 15%);
  width: 200%;
  height: 500px;
  z-index: 11;
}
.brand-hero > .container { position: relative; z-index: 1; }
.brand-hero__inner { display: flex; align-items: center; gap: 2rem; }
.brand-hero__logo { height: 100px; width: auto;filter: brightness(0) invert(1);}
.brand-hero__logo-text { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; }
.brand-hero__desc { color: rgba(255,255,255,.65); font-size: .95rem; margin-top: .4rem; }

/* ---- Brand documents dropdown ---- */
.brand-hero__inner { position: relative; }
.brand-hero__docs { position: relative; margin-left: auto; }
.brand-hero__docs-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.1rem;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.brand-hero__docs-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.brand-hero__docs-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .8;
  margin-left: .15rem;
  transition: transform .2s;
}
.brand-hero__docs-btn[aria-expanded="true"] .brand-hero__docs-caret { transform: rotate(180deg); }
.brand-hero__docs-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  list-style: none; padding: .4rem 0; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}
.brand-hero__docs-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.brand-hero__docs-menu li a {
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray-800);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.brand-hero__docs-menu li a:hover { background: var(--gray-100); color: var(--red); }

@media (max-width: 768px) {
  /* Faixa compacta no mobile */
  .brand-hero { padding: .45rem 0; margin-top: 50px; }
  .brand-hero__inner { flex-wrap: nowrap; gap: .75rem; align-items: center; }
  /* Logo menor */
  .brand-hero__logo { height: 40px; }
  .brand-hero__logo-text { font-size: 1.1rem; }

  /* Esconde descrição */
  .brand-hero__desc { display: none; }

  /* Docs: ícone-only à direita */
  .brand-hero__docs { margin-left: auto; width: auto; flex-shrink: 0; }
  .brand-hero__docs-btn {
    width: auto;
    padding: .5rem .6rem;
    border-radius: 8px;
  }
  .brand-hero__docs-label { display: none; }
  .brand-hero__docs-caret { display: none; }
  .brand-hero__docs-menu { right: 0; left: auto; width: 220px; }
}

/* ---- Responsive ---- */
@media (max-width: 1280px) {
  .navbar__inner { gap: 1rem; height: 50px;}
}

@media (max-width: 1180px) {
  /* Show hamburger, hide desktop nav (both icon-set and inline list) */
  .navbar__hamburger { display: flex !important; }
  .navbar__nav { display: none !important; }
  .navbar__social-link { display: none !important; }
  .navbar__desktop-only { display: none !important; }
  /* Logo encolhe no mobile pra caber junto com hamburger e ações */
  .navbar__logo-img { height: 32px; max-width: 130px; }

  /* Open mobile menu — full-screen panel below navbar */
  .navbar__nav.open {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    position: fixed !important;
    top: 72px; left: 0; right: 0; bottom: 0;
    width: 100%;
    background: var(--white);
    overflow-y: auto;
    z-index: 998;
    padding: 0 0 2rem;
    animation: navSlideDown .25s ease;
  }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .navbar__nav.open > li {
    width: 100% !important;
    border-bottom: 1px solid var(--gray-100);
    list-style: none;
  }
  .navbar__nav.open > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    font-family: var(--font-head) !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    color: var(--gray-800) !important;
  }
  .navbar__nav.open > li > a::after { display: none !important; }
  .navbar__nav.open > li > a .nav-caret { display: inline-block !important; }

  /* Mobile dropdown sub-itens */
  .navbar__nav.open .nav-dropdown__menu {
    position: static !important;
    opacity: 1 !important; visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--gray-100) !important;
    padding: .25rem 0 !important;
    display: none !important;
    width: 100% !important;
    min-width: unset !important;
  }
  .navbar__nav.open .nav-dropdown.mob-open .nav-dropdown__menu { display: block !important; }
  .navbar__nav.open .nav-dropdown.mob-open > a .nav-caret { transform: rotate(180deg); }
  .navbar__nav.open .nav-dropdown__menu li a {
    padding: .75rem 1.5rem .75rem 2.5rem !important;
    width: 100%;
  }

  /* Portal do Colaborador — mobile only (inside nav menu) */
  .navbar__nav.open .navbar__mobile-only { display: list-item !important; }

  /* Social links inside mobile menu */
  .navbar__nav.open .navbar__mobile-socials {
    display: flex !important;
    flex-direction: row !important;
    gap: .75rem 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    margin-top: .5rem;
  }
  .navbar__mobile-socials a {
    display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-head);
    font-size: .72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--gray-600);
  }
  .navbar__mobile-socials a:hover { color: var(--red); }
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .modal { max-height: 100vh; border-radius: 0; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__img-col { border-radius: 0; min-height: 260px; }
  .modal__main-img { min-height: 260px; padding: 1rem; }
  .modal__finish-badge { width: 84px; height: 84px; bottom: .75rem; right: .75rem; }
  .modal__badge-top { font-size: .55rem; }
  .modal__badge-bot { font-size: .75rem; }
  .modal__info { padding: 1.25rem; }
}

@media (max-width: 768px) {
  .hero__content { left: 5%; right: 5%; max-width: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
  .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero { margin-top: 72px; min-height: 500px; }
  .hero__title { font-size: 1.8rem; }
  .brands-grid { grid-template-columns: repeat(1, 1fr); }
  .navbar__logo-img { height: 28px; max-width: 150px; }
}

/* ---- Utility ---- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

/* ---- Cookie banner (LGPD) ---- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  z-index: 9999;
  animation: cookieIn .4s ease;
}
.cookie-banner__inner {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.cookie-banner__text strong {
  display: block; font-family: var(--font-head);
  font-size: .95rem; margin-bottom: .25rem;
}
.cookie-banner__text p {
  font-size: .82rem; color: var(--gray-600); line-height: 1.5; margin: 0;
}
.cookie-banner__text a { color: var(--red); font-weight: 600; }
.cookie-banner__buttons {
  display: flex; gap: .5rem; flex-shrink: 0;
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner__buttons { justify-content: stretch; }
  .cookie-banner__buttons .btn { flex: 1; }
}

/* ---- Legal pages (cookies / termos) ---- */
.page-header {
  margin-top: 100px;
  background: var(--gray-100);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--gray-200);
}
.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--black);
  margin-top: .5rem;
}
.breadcrumb {
  font-size: .82rem;
  color: var(--gray-600);
  display: flex; gap: .5rem; align-items: center;
}
.breadcrumb a { color: var(--gray-600); transition: color .15s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { opacity: .5; }

.legal-page h2 {
  font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: .75rem;
  color: var(--black); padding-bottom: .5rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.legal-page h3 {
  font-size: 1.1rem; margin-top: 1.75rem; margin-bottom: .5rem; color: var(--gray-900);
}
.legal-page h4 {
  font-size: .95rem; margin-top: 1.1rem; margin-bottom: .35rem; color: var(--red);
  text-transform: uppercase; letter-spacing: .05em;
}
.legal-page p { margin-bottom: 1rem; line-height: 1.75; color: var(--gray-800); }
.legal-page a { color: var(--red); text-decoration: underline; }

.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.legal-table {
  width: 100%; border-collapse: collapse; font-size: .85rem;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 6px; overflow: hidden;
}
.legal-table th, .legal-table td {
  padding: .65rem .9rem; text-align: left; border-bottom: 1px solid var(--gray-200);
}
.legal-table th { background: var(--gray-100); font-weight: 700; }
.legal-table tbody tr:last-child td { border-bottom: none; }

.footer__legal { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.7); transition: color .15s; }
.footer__legal a:hover { color: #fff; }

/* ---- No results ---- */
.no-results {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--gray-600);
}
.no-results h3 { margin-bottom: .5rem; color: var(--gray-700); }

/* ---- Busca page: filter chips ---- */
.busca-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.busca-box__search {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}
.busca-box__search .search-input-wrap {
  flex: 1;
  max-width: none;
}
.busca-box__search .search-input {
  padding: .75rem .85rem .75rem 2.5rem;
  font-size: 1rem;
  border-radius: 8px 0 0 8px;
  border-width: 2px;
}
.btn-limpar {
  padding: .75rem 1.25rem;
  background: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 500;
  transition: background .2s;
  white-space: nowrap;
}
.btn-limpar:hover { background: #ff5252; }

.filtros-categoria {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.filtros-categoria:empty { display: none; }
.categoria-filtros {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}
.categoria-filtros:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.categoria-titulo {
  font-weight: 700;
  color: #495057;
  font-size: .95rem;
}
.filtros-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  width: 100%;
}
.filtro-chip {
  background: #e9ecef;
  border: 2px solid #dee2e6;
  color: #495057;
  padding: .35rem .85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all .25s ease;
  font-size: .8rem;
  white-space: nowrap;
  font-family: inherit;
}
.filtro-chip:hover {
  background: #dee2e6;
  transform: translateY(-1px);
}
.filtro-chip.activo {
  background: #007bff;
  color: #fff;
  border-color: #0056b3;
  box-shadow: 0 2px 4px rgba(0,123,255,.3);
}
.filtro-chip.formato.activo { background: #28a745; border-color: #1e7e34; }
.filtro-chip.acabado.activo { background: #ffc107; border-color: #d39e00; color: #212529; }
.filtro-chip.marca.activo   { background: #ff6b6b; border-color: #ff5565; }

.filtro-limpiar {
  background: #6c757d;
  color: #fff;
  border: none;
  padding: .5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: .85rem;
  font-family: inherit;
  transition: background .2s;
}
.filtro-limpiar:hover { background: #545b62; }

.dica-busca {
  background: linear-gradient(135deg, #e3f2fd 0%, #f1f8e9 100%);
  border: 1px solid #81c784;
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .9rem;
  color: #2e7d32;
  text-align: center;
}
.busca-count { color: var(--gray-600); font-size: .9rem; margin-bottom: 1.5rem; }

.busca-contador {
  background: #ff6b6b;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: .65rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  font-size: .95rem;
  box-shadow: 0 2px 6px rgba(255,107,107,.3);
}

@media (max-width: 768px) {
  .categoria-titulo { min-width: 100%; margin-bottom: .25rem; }
  .categoria-filtros { flex-direction: column; align-items: flex-start; }
  .filtros-wrap { width: 100%; }
  .filtro-chip { font-size: .75rem; padding: .3rem .7rem; }
}
