:root {
  --main-color-btn-hover: rgba(17, 17, 17, 0.78);
}

#home {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#home .container {
  position: relative;
  z-index: 2;
}

#home h5,
#home h1,
#home p {
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.75);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center center !important;
  display: block;
  opacity: 0;
  animation: heroFade 24s infinite;
  z-index: 0;
}

.hero-bg-1 {
  background-image: url("/assets/img/hero/hero-01.png");
  animation-delay: -1.7s;
}

.hero-bg-2 {
  background-image: url("/assets/img/hero/hero-02.png");
  animation-delay: 6s;
}

.hero-bg-3 {
  background-image: url("/assets/img/hero/hero-03.png");
  animation-delay: 12s;
}

.hero-bg-4 {
  background-image: url("/assets/img/hero/hero-04.png");
  animation-delay: 18s;
}

.hero-bg-5 { animation-delay: 24s; }
.hero-bg-6 { animation-delay: 30s; }

#home.hero-has-extra-slides .hero-bg {
  animation-duration: 36s;
  animation-name: heroFadeSix;
}

#home.hero-has-extra-slides .hero-bg-1 { animation-delay: 0s; }
#home.hero-has-extra-slides .hero-bg-2 { animation-delay: 6s; }
#home.hero-has-extra-slides .hero-bg-3 { animation-delay: 12s; }
#home.hero-has-extra-slides .hero-bg-4 { animation-delay: 18s; }
#home.hero-has-extra-slides .hero-bg-5 { animation-delay: 24s; }
#home.hero-has-extra-slides .hero-bg-6 { animation-delay: 30s; }

@keyframes heroFade {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  33% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes heroFadeSix {
  0% { opacity: 1; }
  14% { opacity: 1; }
  18% { opacity: 0; }
  100% { opacity: 0; }
}
/* Efeito de digitação dos textos do banner */
.hero-copy h5,
.hero-copy h1,
.hero-copy p {
  min-height: 1.2em;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-copy p {
  max-width: 610px;
}

.typing-active::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

#brands {
  padding-top: 38px;
}

#brands .brand-heading {
  position: relative;
  min-height: 34px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1d;
}

#brands .brand-heading span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  animation: brandHeadingFade 9s infinite;
}

#brands .brand-heading span:nth-child(2) {
  animation-delay: 3s;
}

#brands .brand-heading span:nth-child(3) {
  animation-delay: 6s;
}

#brands .inline-brand-heading-trigger {
  align-items: center;
  background: var(--main-color);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  z-index: 3;
}

@keyframes brandHeadingFade {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  10%,
  28% {
    opacity: 1;
    transform: translateY(0);
  }

  38%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

#brands .brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: nowrap;
}

#brands .brand-strip img {
  flex: 0 1 auto;
  width: auto;
  max-width: 130px;
  height: 72px;
  object-fit: contain;
  padding: 0;
}

#brands .brand-strip .inline-brand-editable {
  position: relative;
  display: inline-flex;
  flex: 0 1 auto;
}

#brands .brand-strip .inline-brand-tools {
  display: inline-flex;
  gap: 5px;
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 3;
}

#brands .brand-strip .inline-brand-tool {
  align-items: center;
  background: var(--main-color);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: .68rem;
  height: 24px;
  justify-content: center;
  padding: 0;
  width: 24px;
}

#brands .brand-strip .inline-brand-tool-remove {
  background: #b94136;
}

#brands .brand-strip .inline-brand-tool:hover,
#brands .brand-strip .inline-brand-tool:focus,
#brands .inline-brand-heading-trigger:hover,
#brands .inline-brand-heading-trigger:focus {
  background: #222;
}

#brands .inline-brand-add {
  align-self: center;
  border: 1px dashed #ff7b50;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: .8rem;
  padding: 9px 12px;
}

.about-page {
  padding-top: 70px;
  background: transparent;
}

.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(16, 19, 25, 0.92) 0%, rgba(16, 19, 25, 0.8) 35%, rgba(16, 19, 25, 0.42) 58%, rgba(16, 19, 25, 0.06) 78%, rgba(16, 19, 25, 0) 100%),
    var(--about-hero-background, url("/assets/img/about/sobre-hero-bg.png")) center / cover no-repeat;
  overflow: hidden;
}

.about-hero-inner {
  width: 100%;
  padding-top: 82px;
  padding-bottom: 68px;
}

.about-hero-copy span,
.about-feature-heading span,
.google-review-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--main-color);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.about-hero-copy h1 {
  max-width: 670px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
}

.about-hero-copy p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-hero-media {
  display: none;
}

.about-hero img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.about-legacy {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(320px, 0.44fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin: 52px 0 28px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(230, 226, 221, 0.95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.about-legacy-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--main-color);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-legacy-copy h2 {
  max-width: 550px;
  margin-bottom: 18px;
  color: #1d1d1d;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
}

.about-legacy-copy p {
  max-width: 550px;
  margin-bottom: 0;
  color: #454545;
  font-size: 1rem;
  line-height: 1.75;
}

.about-legacy-media {
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f1ee;
}

.about-legacy-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-legacy-media .inline-image-empty {
  display: grid;
  min-height: 320px;
  place-items: center;
  color: #666;
}

.about-story {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 28px 0 0;
  padding: 34px 36px;
  border-left: 4px solid var(--main-color);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 56%, rgba(255, 255, 255, 0.78) 100%),
    var(--about-story-background, url("/assets/img/about/fachada-mm-uniformes.jpg")) center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  color: #333;
  font-size: 1.02rem;
  line-height: 1.85;
  overflow: hidden;
}

.about-hero.about-background-removed {
  background: #1d1d1d;
}

.about-story.about-background-removed {
  background: #fff;
}

.about-story p {
  margin-bottom: 18px;
}

.about-story strong {
  display: block;
  margin-top: 28px;
  color: #1d1d1d;
  font-size: 1.12rem;
  line-height: 1.6;
}

.about-signature {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #eee;
}

.about-signature b,
.about-signature em {
  display: block;
}

.about-signature em {
  margin-top: 5px;
  color: #666;
}

.about-feature-heading {
  max-width: 760px;
  margin: 66px auto 24px;
  text-align: center;
}

.about-feature-heading h2 {
  color: #1d1d1d;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  font-weight: 800;
  line-height: 1.16;
}

.about-showcase {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(230, 226, 221, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.045);
}

.google-review-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 980px;
  margin: 24px auto 0;
  padding: 30px 34px;
  border-radius: 8px;
  background: #1d1d1d;
  color: #fff;
}

.google-review-card h4 {
  margin-bottom: 10px;
  color: #fff;
}

.google-review-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.google-review-btn {
  flex: 0 0 auto;
  padding: 13px 24px;
  border-radius: 8px;
  background: var(--main-color);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.25s ease;
}

.google-review-btn:hover {
  background: var(--main-color-btn-hover);
  color: #fff;
  text-decoration: none;
}

.about-final-statement {
  position: relative;
  max-width: 980px;
  margin: 34px auto 0;
  min-height: 104px;
  padding: 34px 20px 4px;
  text-align: center;
  overflow: hidden;
}

.about-final-statement span {
  display: block;
  position: absolute;
  inset: 34px 20px auto;
  opacity: 0;
  transform: translateY(16px);
  animation: aboutStatementFade 12s infinite;
}

.about-final-statement span:nth-child(2) {
  animation-delay: 3s;
}

.about-final-statement span:nth-child(3) {
  animation-delay: 6s;
}

.about-final-statement span:nth-child(4) {
  animation-delay: 9s;
}

.about-final-statement strong {
  color: #1d1d1d;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
}

.about-final-statement em {
  color: #666;
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  font-style: italic;
  line-height: 1.25;
}

@keyframes aboutStatementFade {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  9%,
  21% {
    opacity: 1;
    transform: translateY(0);
  }

  30%,
  100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}

#sobre-nos .about-block {
  width: 100%;
  margin-bottom: 0;
  line-height: 0;
}

#sobre-nos .about-block img {
  display: block;
  width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.pdf-lines-section {
  padding-bottom: 34px;
}

.pdf-lines-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.pdf-line-card {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid #ececec;
  border-radius: 8px !important;
  background: #fff;
  color: #1d1d1d;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-line-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.pdf-line-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 14px;
  font-weight: 800;
  line-height: 1.15;
}

.pdf-line-card i {
  color: var(--main-color);
  font-size: 1rem;
}

.pdf-line-card:hover,
.pdf-line-card:focus {
  background: #fff;
  color: #1d1d1d;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.pdf-line-card:hover img,
.pdf-line-card:focus img {
  transform: scale(1.05);
}

/* Título antes das categorias seguindo o padrão do template */
#category-heading {
  background: #fff;
}

#category-heading p {
  max-width: 720px;
  margin: 0 auto;
}

@media only screen and (max-width: 576px) {
  #category-heading {
    padding-left: 22px;
    padding-right: 22px;
  }

  #brands .brand-strip {
    gap: 22px;
    flex-wrap: wrap;
  }

  #brands .brand-strip img {
    max-width: 130px;
    width: calc(50% - 22px);
    height: 58px;
  }

  .about-showcase {
    gap: 18px;
  }

  #sobre-nos .about-block h4 {
    font-size: 1rem;
  }

  #sobre-nos .about-block p {
    font-size: 0.92rem;
  }

  .pdf-lines-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .pdf-lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pdf-line-card span {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }
}

#lines .container.text-center p {
  max-width: 720px;
  margin: 0 auto;
}

.product-lines {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.cotton-line {
  grid-column: 1 / -1;
  padding: 28px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #f7f7f7;
}

.cotton-line-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.cotton-line-copy h4 {
  margin-bottom: 0;
  font-weight: 800;
  color: #1d1d1d;
}

.cotton-line-copy p {
  max-width: 760px;
  margin: 0;
  color: #555;
}

.static-icon {
  position: static;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  color: #fff;
  background: #111;
}

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

.line-summary-heading {
  grid-column: 1 / -1;
  margin: 18px 0 2px;
}

.line-summary-heading h4 {
  margin-bottom: 0;
  font-weight: 800;
  color: #1d1d1d;
}

button.line-gallery-img {
  position: relative;
  overflow: hidden;
  grid-column: span 1;
  min-height: 230px;
  padding: 12px;
  border: 1px solid #ededed;
  border-radius: 8px !important;
  background: #f8f8f8;
  cursor: zoom-in;
  text-transform: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

button.line-gallery-img:hover,
button.line-gallery-img:focus {
  background: #f8f8f8;
  color: #1d1d1d;
}

.line-gallery-img img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.line-gallery-img:hover img,
.line-gallery-img:focus img {
  transform: scale(1.07);
  filter: brightness(1.04);
}

button.line-card {
  position: relative;
  grid-column: span 4;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 8px !important;
  padding: 0;
  background: #f8f8f8;
  cursor: zoom-in;
  color: #fff;
  text-align: left;
  text-transform: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  isolation: isolate;
}

button.line-card:hover,
button.line-card:focus {
  background: #f8f8f8;
  color: #fff;
}

.line-card.featured-line {
  grid-column: span 8;
}

.line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 42%,
    rgba(17, 17, 17, 0.62) 100%
  );
  transition: background 0.3s ease;
}

.line-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.school-line-card img {
  object-position: center 22%;
}

.line-card:hover img,
.line-card:focus img {
  transform: scale(1.08);
  filter: brightness(1.04);
}

.line-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(17, 17, 17, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}

.line-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}

.line-content strong,
.line-content small {
  display: block;
}

.line-content strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.12;
  transition: color 0.3s ease, transform 0.3s ease;
}

.line-content small {
  max-width: 520px;
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.category-overview-grid .line-content small {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--main-color);
  transform: translateY(-4px);
}

.category-overview-grid .line-card:hover .line-content strong,
.category-overview-grid .line-card:focus .line-content strong {
  color: var(--main-color);
  transform: translateY(10px);
}

.category-add-trigger {
  display: block;
  margin: 22px auto 0;
  padding: 11px 18px;
  border: 1px dashed var(--main-color);
  border-radius: 8px;
  background: transparent;
  color: var(--main-color);
  font-weight: 700;
}

.category-add-trigger:hover,
.category-add-trigger:focus {
  background: rgba(19, 191, 210, 0.08);
}

.line-gallery-img {
  position: relative;
}

.inline-line-image-trigger {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  cursor: pointer;
}

.inline-line-image-trigger:hover,
.inline-line-image-trigger:focus {
  background: #111;
}

.inline-editor-remove {
  width: 100%;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid #e45858;
  border-radius: 6px;
  background: transparent;
  color: #c73838;
  font-weight: 700;
}

.inline-editor-remove:hover,
.inline-editor-remove:focus {
  background: #fff1f1;
}

.line-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 26px 34px;
  background: rgba(0, 0, 0, 0.84);
}

.line-lightbox.is-open {
  display: flex;
}

.line-lightbox img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.line-lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.line-lightbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  align-items: center;
  gap: 28px;
  width: min(1420px, calc(100vw - 120px));
  max-height: 82vh;
}

.line-lightbox-details {
  min-width: 0;
  width: 100%;
  padding: 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
  color: #1d1d1d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.line-lightbox-details-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.line-lightbox-details-description {
  margin-bottom: 18px;
  color: #555;
  line-height: 1.5;
}

.line-lightbox-details dl { margin: 0 0 20px; }
.line-lightbox-details dl div { padding: 9px 0; border-top: 1px solid #ececec; }
.line-lightbox-details dt { font-size: .75rem; color: #777; text-transform: uppercase; }
.line-lightbox-details dd { margin: 3px 0 0; font-weight: 700; }

.line-lightbox-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 7px;
  background: #1faa59;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.line-lightbox-whatsapp:hover,
.line-lightbox-whatsapp:focus { color: #fff; text-decoration: none; background: #168847; }

.line-lightbox-title,
.line-lightbox-counter {
  color: #fff;
  text-align: center;
}

.line-lightbox-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.line-lightbox-counter {
  min-height: 18px;
  font-size: 0.85rem;
  opacity: 0.82;
}

.line-lightbox-close,
.line-lightbox-go,
.line-lightbox-prev,
.line-lightbox-next {
  position: fixed;
  z-index: 1061;
  border-radius: 8px !important;
}

.line-lightbox-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.line-lightbox-go {
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--main-color);
  color: #fff;
}

.line-lightbox-prev,
.line-lightbox-next {
  top: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.line-lightbox-prev { left: 24px; }
.line-lightbox-next { right: 24px; }

.line-lightbox-prev[hidden],
.line-lightbox-next[hidden] {
  display: none;
}

@media only screen and (max-width: 600px) {
  .line-lightbox-prev { left: 10px; }
  .line-lightbox-next { right: 10px; }
  .line-lightbox-layout { width: 100%; grid-template-columns: 1fr; max-height: 86vh; overflow-y: auto; }
  .line-lightbox-details { padding: 18px; }
}

body.line-lightbox-lock {
  overflow: hidden;
}

@media only screen and (max-width: 991px) {
  .about-hero {
    min-height: 520px;
    background-position: 58% center;
  }

  .about-hero-inner {
    padding-top: 96px;
    padding-bottom: 62px;
  }

  .about-legacy {
    grid-template-columns: 1fr;
  }

  .google-review-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-lines-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cotton-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .line-card,
  .line-card.featured-line {
    grid-column: span 6;
    min-height: 300px;
  }
}

@media only screen and (max-width: 576px) {
  .about-page {
    padding-top: 70px;
  }

  .about-hero {
    min-height: 600px;
    background:
      linear-gradient(180deg, rgba(16, 19, 25, 0.9) 0%, rgba(16, 19, 25, 0.75) 54%, rgba(16, 19, 25, 0.32) 100%),
      var(--about-hero-background, url("/assets/img/about/oficina-mm-uniformes.png")) 58% center / cover no-repeat;
  }

  .about-hero-inner {
    padding-top: 104px;
    padding-bottom: 58px;
  }

  .about-hero-copy h1 {
    font-size: 2.25rem;
  }

  .about-hero-copy p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .about-legacy {
    gap: 26px;
    margin-top: 36px;
    padding: 26px;
  }

  .about-legacy-copy h2 {
    font-size: 1.85rem;
  }

  .about-legacy-media,
  .about-legacy-media img,
  .about-legacy-media .inline-image-empty {
    min-height: 280px;
  }

  .about-story {
    padding: 24px;
    font-size: 0.96rem;
  }

  .about-final-statement {
    margin-top: 26px;
    padding-top: 28px;
    min-height: 144px;
  }

  .about-final-statement span {
    inset: 28px 12px auto;
  }

  .google-review-card {
    padding: 24px;
  }

  #lines {
    margin-top: 1.5rem !important;
  }

  .pdf-lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-lines {
    gap: 14px;
  }

  .cotton-line {
    padding: 20px;
  }

  .cotton-line-copy {
    align-items: flex-start;
  }

  .cotton-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .line-gallery-img,
  .line-gallery-img img {
    min-height: 190px;
  }

  .line-card,
  .line-card.featured-line {
    grid-column: span 12;
    min-height: 280px;
  }

  .line-content strong {
    font-size: 1.12rem;
  }

  .line-content small {
    font-size: 0.86rem;
  }
}

/* Categorias em vitrine fixa */
#categories {
  clear: both;
  padding-bottom: 44px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.category-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.08) 46%,
    rgba(0, 0, 0, 0.66) 100%
  );
  pointer-events: none;
}

.category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.category-card span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: block;
  min-height: 0;
  padding: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.72);
}

.category-card:hover,
.category-card:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.category-card:hover img,
.category-card:focus img {
  filter: brightness(1.03);
  transform: scale(1.05);
}

@media only screen and (max-width: 991px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

@media only screen and (max-width: 576px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-card span {
    left: 18px;
    right: 18px;
    bottom: 18px;
    font-size: 1.08rem;
  }
}

.product {
  cursor: pointer;
  margin-bottom: 2rem;
}

#featured {
  overflow-x: hidden;
}

.featured-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 18px 0 10px;
}

.featured-marquee-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  gap: clamp(20px, 3vw, 48px);
  animation: featured-marquee 24s linear infinite;
  will-change: transform;
}

.featured-marquee:hover .featured-marquee-track {
  animation-play-state: paused;
}

.featured-marquee .product {
  flex: 0 0 clamp(220px, 18vw, 286px);
  margin-bottom: 0;
}

.featured-marquee .product img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: contain;
}

@keyframes featured-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - clamp(10px, 1.5vw, 24px)), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-marquee-track {
    animation-duration: 36s;
  }
}

.showcase-subtitle {
  max-width: 740px;
  margin: 18px auto 0;
  color: #343434;
  font-size: 1.08rem;
  line-height: 1.65;
}

.product img {
  transition: 0.3s all;
}

.product .p-description {
  min-height: 44px;
  margin: 10px 0 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.45;
}

.product:hover img {
  opacity: 0.7;
}

/* Efeito do botão aparecendo de baixo */
.product .buy-btn {
  background: var(--main-color);
  transform: translateY(20px);
  opacity: 0;
  border-radius: 0.3rem;
  transition: 0.3s all;
}
.product:hover .buy-btn {
  transform: translateY(0px);
  opacity: 1;
}

.product .buy-btn:hover {
  background-color: var(--main-color-btn-hover);
}

/* Espaçamento entre as estrelas */
.stars {
  padding: 10px 0;
}

.stars i {
  font-size: 0.8rem;
  color: var(--stars-color);
}

/* Banner com transição de imagens: */
#parallaxBanner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0);
  width: 100%;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #1b1b1b;
}

#parallaxBanner .parallax-slide {
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateZ(0) scale(1.01);
  opacity: 0;
  animation: parallaxBannerFade 18s infinite;
}

#parallaxBanner .parallax-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.1) 100%);
}

#parallaxBanner .parallax-slide-1 {
  background-image: url("/assets/img/banner/uniformes-slide-01.png");
}

#parallaxBanner .parallax-slide-2 {
  background-image: url("/assets/img/banner/uniformes-slide-02.png");
  animation-delay: 6s;
}

#parallaxBanner .parallax-slide-3 {
  background-image: url("/assets/img/banner/uniformes-slide-03.png");
  animation-delay: 12s;
}

#parallaxBanner .parallax-slide-4 { animation-delay: 18s; }
#parallaxBanner .parallax-slide-5 { animation-delay: 24s; }
#parallaxBanner .parallax-slide-6 { animation-delay: 30s; }

#parallaxBanner.parallax-has-extra-slides .parallax-slide {
  animation-duration: 36s;
  animation-name: parallaxBannerFadeSix;
}

#parallaxBanner.parallax-has-extra-slides .parallax-slide-1 { animation-delay: 0s; }
#parallaxBanner.parallax-has-extra-slides .parallax-slide-2 { animation-delay: 6s; }
#parallaxBanner.parallax-has-extra-slides .parallax-slide-3 { animation-delay: 12s; }
#parallaxBanner.parallax-has-extra-slides .parallax-slide-4 { animation-delay: 18s; }
#parallaxBanner.parallax-has-extra-slides .parallax-slide-5 { animation-delay: 24s; }
#parallaxBanner.parallax-has-extra-slides .parallax-slide-6 { animation-delay: 30s; }

#parallaxBanner .parallax-copy {
  position: relative;
  z-index: 2;
}

#parallaxBanner h4 {
  min-height: 1.2em;
}

#parallaxBanner h1 {
  min-height: 2.35em;
}

@keyframes parallaxBannerFade {
  0% {
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  31% {
    opacity: 1;
  }
  39% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes parallaxBannerFadeSix {
  0% { opacity: 1; }
  14% { opacity: 1; }
  18% { opacity: 0; }
  100% { opacity: 0; }
}

#parallaxBanner h4 {
  color: rgba(255, 255, 255, 0.86);
}

#parallaxBanner h1 {
  color: white;
}

#parallaxBanner .parallax-title-accent {
  color: var(--main-color);
}

#parallaxBanner button,
#parallaxBanner .parallax-cta {
  background-color: var(--main-color);
  color: white;
  display: inline-block;
  text-decoration: none;
}

#parallaxBanner .parallax-cta {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  margin-top: 20px;
  min-height: 48px;
  min-width: 255px;
  padding: 13px 31px;
}

#parallaxBanner button:hover,
#parallaxBanner .parallax-cta:hover {
  background-color: var(--main-color-btn-hover);
  color: white;
  text-decoration: none;
}

#home .hero-cta {
  background: #232323;
  color: #fff;
  display: inline-block;
  padding: 13px 31px;
  text-decoration: none;
}

#home .hero-cta:hover { color: #fff; text-decoration: none; }

.payment-provider-caption {
  color: #f47b20;
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-top: 8px;
}

.product {
  position: relative;
}

.store-editor-product-tools {
  display: flex;
  gap: 4px;
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  right: 8px;
  top: 8px;
  transform: translateY(0);
  transition: 0.2s ease;
  z-index: 5;
}

.store-editor-product-tools a {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  color: #202020;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s ease;
  width: 30px;
}

.store-editor-product-tools a:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-2px);
}

.store-editor-product-tools button {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  color: #202020;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  width: 30px;
}

.store-editor-product-tools button:hover {
  background: var(--main-color);
  color: #fff;
}

.inline-editable {
  border-radius: 3px;
  cursor: pointer;
  outline: 1px dashed transparent;
  position: relative;
  transition: outline-color 0.2s ease, background-color 0.2s ease;
}

.inline-editable:not(.hero-bg):hover {
  background: rgba(255, 119, 82, 0.08);
  outline-color: var(--main-color);
}

/* The editor adds .inline-editable to hero slides for the pencil control.
   It must not turn these absolute background layers into normal-flow blocks. */
#home .hero-bg.inline-editable {
  border-radius: 0;
  cursor: pointer;
  inset: 0;
  outline: 1px dashed transparent;
  position: absolute;
}

#home .hero-bg.inline-editable:hover {
  outline-color: var(--main-color);
}

.inline-edit-trigger {
  background: var(--main-color);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.7rem;
  height: 24px;
  justify-content: center;
  margin-left: 8px;
  opacity: 0;
  padding: 0;
  vertical-align: middle;
  width: 24px;
}

.inline-editable:hover .inline-edit-trigger,
.inline-edit-trigger:focus {
  opacity: 1;
}

.inline-background-slides-trigger {
  align-items: center;
  background: var(--main-color);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: .9rem;
  height: 38px;
  justify-content: center;
  left: 18px;
  padding: 0;
  position: absolute;
  top: 18px;
  width: 38px;
  z-index: 4;
}

.inline-background-slides-trigger:hover,
.inline-background-slides-trigger:focus {
  background: var(--main-color-btn-hover);
}

#home .hero-background-slides-trigger {
  align-items: center !important;
  background: #ff7752 !important;
  border-radius: 8px 0 8px 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  color: #fff !important;
  display: flex !important;
  height: 38px !important;
  justify-content: center;
  left: 18px;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: absolute !important;
  top: 18px;
  visibility: visible !important;
  width: 60px !important;
  z-index: 100 !important;
}

.store-editor-bar .store-editor-top-images-trigger {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.store-editor-bar .store-editor-top-images-trigger:hover,
.store-editor-bar .store-editor-top-images-trigger:focus {
  color: var(--main-color);
}

.inline-background-slots {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-background-slot {
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  padding: 12px;
}

.inline-background-slot strong { font-size: .9rem; }

.inline-background-slot > * {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.inline-background-slot img,
.inline-background-empty {
  aspect-ratio: 16 / 8;
  background: #f3f3f3;
  border-radius: 4px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.inline-background-empty {
  align-items: center;
  color: #777;
  display: flex;
  font-size: .82rem;
  justify-content: center;
}

.inline-background-slot label { font-size: .78rem; margin: 0; min-width: 0; width: 100%; }
.inline-background-slot input[type="file"] { box-sizing: border-box; font-size: .72rem; max-width: 100%; min-width: 0; width: 100%; }

@media only screen and (max-width: 600px) {
  .inline-background-slots { grid-template-columns: 1fr; }
  .inline-background-slots.inline-background-slots--hero { grid-template-columns: 1fr; }
  .inline-editor-modal { align-items: flex-start; padding: 12px; }
  .inline-editor-dialog { max-height: calc(100vh - 24px); padding: 20px; }
}

@media only screen and (min-width: 601px) and (max-width: 900px) {
  .inline-editor-dialog.inline-editor-dialog--slides { max-width: 760px; }
  .inline-editor-dialog.inline-editor-dialog--slides .inline-background-slots--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.inline-editor-modal {
  align-items: center;
  background: rgba(15, 15, 15, 0.54);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 3000;
}

.inline-editor-modal[hidden] { display: none; }
.inline-editor-dialog { background: #fff; border-radius: 10px; box-shadow: 0 18px 60px rgba(0,0,0,.28); max-height: calc(100vh - 40px); max-width: 560px; overflow-y: auto; padding: 26px; position: relative; width: 100%; }
.inline-editor-dialog.inline-editor-dialog--slides { max-width: min(1180px, calc(100vw - 40px)); }
.inline-background-slots--hero { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inline-background-slots--hero .inline-background-slot { gap: 10px; padding: 14px; }
.inline-background-slots--hero .inline-background-slot img,
.inline-background-slots--hero .inline-background-empty { aspect-ratio: 16 / 9; }
.inline-background-slots--hero .inline-background-slot input[type="file"] { font-size: .8rem; }
.inline-editor-close { background: transparent; border: 0; font-size: 1.6rem; position: absolute; right: 14px; top: 8px; }
.inline-editor-title { margin: 0 0 20px; }
.inline-editor-fields label { display: block; font-weight: 600; margin-bottom: 14px; }
.inline-editor-fields input, .inline-editor-fields textarea { border: 1px solid #d8d8d8; border-radius: 5px; display: block; margin-top: 6px; padding: 10px; width: 100%; }
.inline-editor-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.inline-editor-actions button { border: 0; border-radius: 5px; padding: 9px 16px; }
.inline-editor-save { background: var(--main-color); color: #fff; }

.pdf-line-card { position: relative; }
.inline-segment-trigger {
  align-items: center;
  background: var(--main-color);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 28px;
  z-index: 3;
}

.line-card { position: relative; }
.inline-category-trigger {
  align-items: center;
  background: var(--main-color);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 28px;
  z-index: 3;
}

.store-editor-bar {
  align-items: center;
  background: #202020;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  padding: 9px 16px;
  position: fixed;
  right: 0;
  top: 70px;
  width: 100%;
  z-index: 1030;
}

.store-editor-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.store-editor-bar a {
  color: #fff;
  text-decoration: none;
}

.store-editor-bar a:hover {
  color: var(--main-color);
}



