/* Pergo manufacturer page. It extends the approved VIN IN/Pacific manufacturer system. */
.pergo-page {
  --pergo-black: #171719;
  --pergo-red: #ed1c24;
  --pergo-red-text: #c41018;
  --pergo-warm: #f5f2ed;
}

.pergo-page .hero__image > img {
  object-position: 56% 52%;
}

.pergo-page .hero__image::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.78) 30%, rgba(5, 5, 6, 0.14) 66%, rgba(5, 5, 6, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, 0.56) 0%, transparent 43%);
}

.pergo-page .pergo-logo,
.pergo-page .pergo-closing__brand {
  display: block;
  width: clamp(132px, 11vw, 174px);
  margin-bottom: 24px;
}

.pergo-page .pergo-logo img,
.pergo-page .pergo-closing__brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.34));
}

.pergo-page .hero__copy h1 span {
  color: #fff;
  text-shadow: 0 0 26px rgba(237, 28, 36, 0.22);
}

.pergo-page .material-switch {
  display: grid;
  margin: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(30, 28, 27, 0.12);
  border-radius: 23px;
  background: linear-gradient(180deg, #eeece9, #f6f4f2);
  box-shadow: inset 0 1px 2px rgba(28, 24, 22, 0.055), 0 14px 34px rgba(28, 24, 22, 0.065);
}

.pergo-page .material-switch__tab {
  position: relative;
  display: grid;
  min-height: 106px;
  padding: 21px 76px 20px 30px;
  align-content: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: #1d1b1b;
  text-align: left;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.pergo-page .material-switch__tab::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -1px;
  width: 4px;
  border-radius: 0 5px 5px 0;
  background: #ff2028;
  box-shadow: 0 0 6px rgba(237, 28, 36, 0.44), 8px 0 16px rgba(20, 17, 18, 0.3);
  content: "";
  opacity: 0;
  transition: opacity 200ms ease;
}

.pergo-page .material-switch__tab::after {
  position: absolute;
  top: 50%;
  right: 28px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(29, 27, 27, 0.15);
  border-radius: 50%;
  color: var(--pergo-red);
  content: "→";
  font-size: 1rem;
  transform: translateY(-50%);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.pergo-page .material-switch__tab > span,
.pergo-page .material-switch__tab strong,
.pergo-page .material-switch__tab small {
  position: relative;
  z-index: 1;
  display: block;
}

.pergo-page .material-switch__tab > span {
  color: var(--pergo-red-text);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pergo-page .material-switch__tab strong {
  font-size: clamp(1.1rem, 1.55vw, 1.5rem);
  letter-spacing: -0.035em;
}

.pergo-page .material-switch__tab small {
  color: #77706b;
  font-size: 0.68rem;
}

.pergo-page .material-switch__tab:hover,
.pergo-page .material-switch__tab:focus-visible {
  border-color: rgba(237, 28, 36, 0.16);
  background: linear-gradient(100deg, rgba(237, 28, 36, 0.035), #fff 42%);
  box-shadow: 0 9px 20px rgba(28, 24, 22, 0.06);
  transform: translateY(-1px);
}

.pergo-page .material-switch__tab:focus-visible {
  outline: 2px solid rgba(237, 28, 36, 0.58);
  outline-offset: 2px;
}

.pergo-page .material-switch__tab.is-active {
  background: linear-gradient(105deg, #f7f5f4 0%, #fff 42%, #fff 100%);
  border-color: rgba(26, 23, 24, 0.27);
  color: #191718;
  box-shadow: 0 8px 0 -5px #181617, 0 17px 27px -12px rgba(20, 17, 18, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.78);
  transform: translateY(-2px);
}

.pergo-page .material-switch__tab.is-active::before {
  opacity: 1;
}

.pergo-page .material-switch__tab.is-active::after {
  border-color: rgba(237, 28, 36, 0.48);
  background: linear-gradient(145deg, #242122, #121112);
  color: #ff343b;
  content: "✓";
  font-size: 0.85rem;
  font-weight: 850;
  box-shadow: 0 0 0 4px rgba(20, 17, 18, 0.075), 0 9px 19px rgba(20, 17, 18, 0.24), inset 0 0 12px rgba(237, 28, 36, 0.1);
  transform: translateY(-50%);
}

.pergo-page .material-switch__tab.is-active small {
  color: #5f5754;
}

.pergo-page .material-panel[hidden],
.pergo-page .picker-material[hidden] {
  display: none !important;
}

.pergo-page .pergo-selector {
  min-height: 640px;
}

.pergo-page .pergo-selector .collection-panel {
  align-items: stretch;
  padding-top: 20px;
  padding-bottom: 20px;
}

.pergo-page .pergo-selector .collection-panel__desktop,
.pergo-page .pergo-selector .material-panel {
  height: 100%;
}

.pergo-page .collection-panel__group > p strong {
  color: #e2dad3;
}

.pergo-page .collection-panel__group > p strong::before {
  background: var(--pergo-red);
  box-shadow: 0 0 11px rgba(237, 28, 36, 0.78);
}

.pergo-page .collection-tab.is-active {
  background: radial-gradient(ellipse 150% 78% at 0% 50%, rgba(237, 28, 36, 0.26) 0%, rgba(237, 28, 36, 0.11) 44%, rgba(237, 28, 36, 0) 76%);
}

.pergo-page .decor-gallery {
  min-height: 640px;
  background: linear-gradient(135deg, #d0b792, #896c4f);
}

.pergo-page .decor-gallery > picture > img {
  object-position: center;
}

.pergo-page .technical-whisper span::before {
  content: "✓";
}

.pergo-page .decor-directory__collection li {
  display: grid;
  gap: 3px;
}

.pergo-page .decor-directory__collection li strong {
  color: #282425;
  font-size: 0.82rem;
}

.pergo-page .decor-directory__collection li small {
  color: #6d6560;
  font-size: 0.67rem;
}

.pergo-page .pergo-advantages {
  margin-top: 62px;
  padding: 58px 0 8px;
  border-top: 1px solid rgba(32, 30, 30, 0.14);
  color: var(--text);
}

.pergo-page .pergo-advantages__header {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  align-items: end;
  gap: 70px;
}

.pergo-page .pergo-advantages__header span {
  display: block;
  margin-bottom: 12px;
  color: var(--pergo-red-text);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pergo-page .pergo-advantages__header h3 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.pergo-page .pergo-advantages__header > p {
  margin: 0 0 3px;
  color: #746d68;
  font-size: 0.78rem;
  line-height: 1.7;
}

.pergo-page .pergo-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(32, 30, 30, 0.12);
  border-bottom: 1px solid rgba(32, 30, 30, 0.12);
}

.pergo-page .pergo-advantage {
  position: relative;
  min-height: 282px;
  padding: 32px 28px 28px;
}

.pergo-page .pergo-advantage + .pergo-advantage {
  border-left: 1px solid rgba(32, 30, 30, 0.12);
}

.pergo-page .pergo-advantage:first-child {
  padding-left: 0;
}

.pergo-page .pergo-advantage:last-child {
  padding-right: 0;
}

.pergo-page .pergo-advantage__number {
  display: block;
  margin-bottom: 25px;
  color: var(--pergo-red-text);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
}

.pergo-page .pergo-advantage > small {
  display: block;
  margin-bottom: 11px;
  color: #6d6560;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pergo-page .pergo-advantage h4 {
  max-width: 290px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.14rem, 1.42vw, 1.38rem);
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.pergo-page .pergo-advantage p {
  margin: 0 0 16px;
  color: #655e59;
  font-size: 0.72rem;
  line-height: 1.65;
}

.pergo-page .pergo-advantage em {
  display: block;
  color: #655e59;
  font-size: 0.61rem;
  font-style: normal;
  line-height: 1.55;
}

.pergo-page .pergo-advantages__note {
  margin: 20px 0 0;
  color: #655e59;
  font-size: 0.65rem;
  line-height: 1.55;
}

.pergo-page .pergo-advantages__note::before {
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: var(--pergo-red);
  content: "";
}

.pergo-page .material-seo-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pergo-page .material-seo-card {
  position: relative;
  min-height: 236px;
  padding: 34px 36px;
  overflow: hidden;
  border: 1px solid rgba(31, 29, 28, 0.11);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(28, 24, 22, 0.065);
}

.pergo-page .material-seo-card::after {
  position: absolute;
  top: -80px;
  right: -62px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.1), transparent 68%);
  content: "";
  pointer-events: none;
}

.pergo-page .material-seo-card > span {
  display: block;
  margin-bottom: 14px;
  color: var(--pergo-red-text);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.pergo-page .material-seo-card h3 {
  margin: 0 0 10px;
  color: #1f1d1d;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  letter-spacing: -0.04em;
}

.pergo-page .material-seo-card p {
  max-width: 510px;
  margin: 0 0 24px;
  color: #746d68;
  font-size: 0.8rem;
  line-height: 1.65;
}

.pergo-page .material-seo-card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(31, 29, 28, 0.2);
  color: #1f1d1d;
  font-size: 0.72rem;
  font-weight: 780;
}

.pergo-page .material-seo-card a i {
  color: var(--pergo-red);
  font-style: normal;
  transition: transform 180ms ease;
}

.pergo-page .material-seo-card a:hover i,
.pergo-page .material-seo-card a:focus-visible i {
  transform: translateX(4px);
}

.pergo-page .showroom-spotlight .showroom-stage__main img {
  object-position: center 42%;
}

.pergo-page .pergo-closing .closing__background > img {
  object-position: 64% 52%;
}

.pergo-page .pergo-closing .closing__background::after {
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.96) 0%, rgba(7, 7, 8, 0.77) 40%, rgba(7, 7, 8, 0.23) 72%, rgba(7, 7, 8, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 7, 8, 0.42), transparent 55%);
}

.pergo-page .pergo-closing__brand {
  margin-bottom: 30px;
}

@media (max-width: 1000px) {
  .pergo-page .pergo-selector,
  .pergo-page .decor-gallery {
    min-height: 520px;
  }

  .pergo-page .material-switch__tab {
    min-height: 104px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .pergo-page .pergo-advantages__header {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.7fr);
    gap: 40px;
  }

  .pergo-page .pergo-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pergo-page .pergo-advantage {
    min-height: 248px;
    padding: 30px;
  }

  .pergo-page .pergo-advantage:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .pergo-page .pergo-advantage:nth-child(even) {
    padding-right: 0;
  }

  .pergo-page .pergo-advantage:nth-child(n + 3) {
    border-top: 1px solid rgba(32, 30, 30, 0.12);
  }

  .pergo-page .pergo-advantage h4 {
    max-width: 360px;
    font-size: 1.34rem;
  }

  .pergo-page .pergo-advantage p {
    max-width: 420px;
    font-size: 0.76rem;
  }
}

@media (max-width: 760px) {
  .pergo-page .hero__image > img {
    object-position: 57% center;
  }

  .pergo-page .hero__image::before {
    background: linear-gradient(180deg, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.72) 56%, rgba(5, 5, 6, 0.28) 100%);
  }

  .pergo-page .pergo-logo {
    width: 130px;
  }

  .pergo-page .material-switch {
    margin-bottom: 13px;
    border-radius: 17px;
  }

  .pergo-page .material-switch__tab {
    min-height: 88px;
    padding: 17px 42px 16px 19px;
  }

  .pergo-page .material-switch__tab::after {
    right: 13px;
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  .pergo-page .material-switch__tab > span {
    font-size: 0.52rem;
  }

  .pergo-page .material-switch__tab strong {
    font-size: 0.92rem;
    line-height: 1.12;
  }

  .pergo-page .material-switch__tab small {
    display: none;
  }

  .pergo-page .pergo-selector,
  .pergo-page .decor-gallery {
    min-height: 0;
  }

  .pergo-page .collection-picker__group > p {
    border-left: 3px solid var(--pergo-red);
    background: #151517;
    color: #fff;
  }

  .pergo-page .collection-picker__group > p strong {
    color: #fff;
  }

  .pergo-page .material-seo-grid {
    margin-top: 25px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .pergo-page .pergo-advantages {
    margin-top: 45px;
    padding: 43px 0 3px;
  }

  .pergo-page .pergo-advantages__header {
    margin-bottom: 29px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pergo-page .pergo-advantages__header h3 {
    max-width: 340px;
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.02;
  }

  .pergo-page .pergo-advantages__header > p {
    font-size: 0.73rem;
  }

  .pergo-page .pergo-advantages__grid {
    grid-template-columns: 1fr;
  }

  .pergo-page .pergo-advantage {
    min-height: 0;
    padding: 27px 0 26px;
  }

  .pergo-page .pergo-advantage + .pergo-advantage {
    border-left: 0;
    border-top: 1px solid rgba(32, 30, 30, 0.12);
  }

  .pergo-page .pergo-advantage h4 {
    max-width: 330px;
    font-size: 1.3rem;
  }

  .pergo-page .pergo-advantage p {
    max-width: 350px;
    font-size: 0.74rem;
  }

  .pergo-page .pergo-advantages__note {
    margin-top: 17px;
  }

  .pergo-page .material-seo-card {
    min-height: 0;
    padding: 27px 24px;
    border-radius: 19px;
  }

  .pergo-page .material-seo-card p {
    font-size: 0.75rem;
  }

  .pergo-page .pergo-closing__brand {
    width: 132px;
    margin-bottom: 25px;
  }

  .pergo-page .pergo-closing .closing__background > img {
    object-position: 61% center;
  }
}

@media (max-width: 390px) {
  .pergo-page .material-switch__tab {
    padding-left: 15px;
  }

  .pergo-page .material-switch__tab strong {
    font-size: 0.83rem;
  }
}
