/* Defeat x-show's inline display:none — viewers always have layout,
   so Cloudinary can render into both */
.section-3d-viewer [data-d8s-type="3d"] {
  display: block !important;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
}

/* When Alpine "hides" a viewer, translate that to visibility instead.
   Both variants cover Alpine's inline style serialization. */
.section-3d-viewer [data-d8s-type="3d"][style*="display: none"],
.section-3d-viewer [data-d8s-type="3d"][style*="display:none"] {
  visibility: hidden;
}

.section-3d-viewer .viewer-stack {
  display: grid;
  width: 100%;
  max-width: 650px;
}

@media only screen and (max-width: 1040px) {
  .section-3d-viewer [data-d8s-type="3d"] {
    height: 400px;
  }
}

.PDP_product-info__2pnEc ul li {
  font-size: 14px;
  line-height: 18px;
}

/* HERO */
.verticalPaddings-CORSAIRONEi500PC {
  text-shadow: 0 2px 2px #000
}

.verticalPaddings-CORSAIRONEi500PC .BlockTwoTile_component-cta-background__vAEcN {
  text-shadow: 0 0 black;
}

@media (min-width: 1660px) {
  .verticalPaddings-CORSAIRONEi500PC {
    padding-top: 5rem !important;
    padding-bottom: 38rem !important;
  }
}

@media only screen and (max-width: 768px) {
  .BlockTwoTile_info-heading__dZVL9 {
    font-size: 40px;
  }
}

/* 3D VIEWER STYLES */
.brand-icon {
  width: 64px;
  height: 64px;
}

button:focus {
  outline: 0;
}

modal.AR-modal {
  position: absolute;
  display: flex;
  width: 60%;
  max-width: 350px;
  top: 40%;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  padding: 1rem;
  align-items: center;
  background: white;
  border: 2px solid black;
  transform: translateY(-50%);
}

modal.AR-modal .AR-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-wrap: balance;
}

modal.AR-modal .AR-text h3 {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

modal.AR-modal .AR-text p {
  color: #000 !important;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

modal.AR-modal .AR-text p.AR-disclaimer {
  color: #5c5c5c;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

section.section-3d-viewer {
  background-color: white;
  color: black;
}

.section-3d-viewer .two-tiles {
  display: flex;
  flex-direction: row;

  padding: 5rem 2rem;
}

.section-3d-viewer .two-tiles .content {
  flex: 1;
  color: black;
}

.section-3d-viewer .two-tiles .left-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.section-3d-viewer .modal-btn {
  border: 2px solid #000;
  display: flex;
  font-weight: 600;
  align-items: center;
  padding: 0.5rem;
  border-radius: 10px;
  gap: 5px;
}

.section-3d-viewer.dark .modal-btn {
  color: white;
  border: 2px solid white;
}

.section-3d-viewer .border-left-grey {
  border-left: 2px solid gray;
  margin-left: 1.5rem;
  text-align: start;
  padding-left: 1.5rem;
}

.section-3d-viewer .border-left-grey h3 {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 38px;
  /* 100% */
  letter-spacing: 0.76px;
}

.section-3d-viewer.dark .border-left-grey h3 {
  color: white;
}

.section-3d-viewer .mobile-specs {
  display: none;
}

.section-3d-viewer .two-tiles h2 {
  letter-spacing: 0.05rem;
  font-size: 60px;
  margin-top: 5px;
  font-weight: 700;
  line-height: 60px;
}

.section-3d-viewer.dark .two-tiles h2 {
  color: white;
}

.section-3d-viewer .wood-options button img {
  width: 90px;
}

.section-3d-viewer .spec-grid {
  row-gap: 2rem;
  grid-template-columns: auto 1fr 1fr;
}

.section-3d-viewer .wood-options button img.selected {
  border: 2px solid black;
  padding: 2px;
  border-radius: 15px;
}

.section-3d-viewer.dark .wood-options button img.selected {
  border: 2px solid white;
  padding: 2px;
  border-radius: 15px;
}

.section-3d-viewer .two-tiles p {
  color: #000;
  font-size: 22px;
  font-style: normal;
  line-height: 36px;
  /* 163.636% */
  letter-spacing: 0.275px;
}

.section-3d-viewer.dark .two-tiles p {
  color: white;
}

.section-3d-viewer .border-left-grey p {
  color: #4d5573;
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
  line-height: 24px;
  letter-spacing: normal;
}

.section-3d-viewer.dark .border-left-grey p {
  color: #ece81a;
}

.section-3d-viewer .two-tiles .tagline {
  flex: 1;
  color: #4d5573;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  /* 100% */
  letter-spacing: 2.8px;
}

.section-3d-viewer.dark .two-tiles .tagline {
  color: #ece81a;
}

.text-uppercase {
  text-transform: uppercase;
}


.section-3d-viewer .wood-options {
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
  flex-direction: row;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.section-3d-viewer .wood-options .woodoptionsbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-3d-viewer.dark .wood-options .woodoptionsbtn {
  color: white;
  min-width: 130px;
}

.section-3d-viewer .modal-btn.ar-mobile {
  display: none;
}

@media only screen and (max-width: 1040px) {
  .section-3d-viewer .two-tiles {
    flex-direction: column;
    padding: 3rem 1rem;
    text-align: center;
  }

  .section-3d-viewer #three-d-viewer {
    width: auto;
    height: 400px;
  }

  .section-3d-viewer .two-tiles .content {
    margin-top: 2rem;
  }

  .section-3d-viewer .two-tiles h2 {
    line-height: normal;
  }
}

@media only screen and (max-width: 768px) {
  .section-3d-viewer .wood-options {
    width: 90%;
  }

  .section-3d-viewer .two-tiles p {
    color: #000;
    font-size: 14px;
    font-style: normal;
    line-height: 24px;
    letter-spacing: 1.25px;
  }

  .section-3d-viewer .border-left-grey h3 {
    font-size: 24px;
    line-height: 28px;
  }

  .section-3d-viewer .border-left-grey p {
    font-size: 12px;
    font-weight: bold;
  }

  .section-3d-viewer .two-tiles h2 {
    letter-spacing: normal;
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
  }

  modal.AR-modal {
    /* width: 100%;
    top: 35%; */
    display: none;
  }

  .section-3d-viewer .modal-btn.ar-desktop {
    display: none;
  }

  .section-3d-viewer .modal-btn.ar-mobile {
    display: flex;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .section-3d-viewer .spec-grid {
    grid-template-columns: auto 1fr;
    max-width: 500px;
    margin: auto;
    margin-top: 2rem;
  }

  .hideOnMobile {
    display: none;
  }

  .section-3d-viewer .mobile-specs {
    display: flex;
    max-width: 500px;
    margin: auto;
    margin-top: 2rem;
  }
}

/* mini-gallery */
.mini-gallery {
  width: 100%;
  height: 100%;
  padding: 0.6rem 0;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0.6rem;
  grid-row-gap: 0.6rem;
}

.mini-gallery-bright-background {
  background: #656a73;
}

.mini-gallery img {
  border-radius: 10px;
  object-fit: cover;
  display: block;
  height: 100%;
  width: 100%;
}

.mini-gallery .image-one {
  grid-area: 1 / 1 / 2 / 8;
  border-radius: 0 10px 10px 0;
}

.mini-gallery .image-two {
  grid-area: 1 / 8 / 2 / 12;
}

.mini-gallery .image-three {
  grid-area: 1 / 12 / 2 / 16;
}

.mini-gallery .image-four {
  grid-area: 1 / 16 / 3 / 21;
  border-radius: 10px 0 0 10px;
}

.mini-gallery .image-five {
  grid-area: 2 / 1 / 3 / 5;
  border-radius: 0 10px 10px 0;
}

.mini-gallery .image-six {
  grid-area: 2 / 5 / 3 / 9;
}

.mini-gallery .image-seven {
  grid-area: 2 / 9 / 3 / 16;
}

@media (max-width: 1024px) {
  .mini-gallery {
    padding: 8px 0px;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
  }
}

@media (max-width: 768px) {
  .mini-gallery {
    grid-template-columns: repeat(18, 1fr);
    grid-template-rows: repeat(3, 0.7fr);
  }

  .mini-gallery .image-two {
    grid-area: 1 / 1 / 2 / 7;
    border-radius: 0 10px 10px 0;
  }

  .mini-gallery .image-three {
    grid-area: 1 / 7 / 2 / 13;
  }

  .mini-gallery .image-four {
    grid-area: 1 / 13 / 3 / 19;
    object-position: left center;
  }

  .mini-gallery .image-seven {
    grid-area: 3 / 10 / 4 / 19;
    border-radius: 10px 0 0 10px;
  }

  .mini-gallery .image-six {
    grid-area: 2 / 1 / 3 / 7;
    border-radius: 0 10px 10px 0;
  }

  .mini-gallery .image-one {
    grid-area: 3 / 1 / 4 / 10;
  }

  .mini-gallery .image-five {
    grid-area: 2 / 7 / 3 / 13;
    border-radius: 0;
  }
}

/* Verticle tabs */
section.vert-tabs {
  background: #656a73;
  position: relative;
}

.vert-tab-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.vert-tab-video {
  width: fit-content;
  object-fit: contain;
  margin-right: 0px;
  margin-left: auto;
  /* height: 41.25vw; */
}

.tabs-selector {
  position: absolute;
  top: 50%;
  max-width: 20%;
  display: flex;
  transform: translateY(-50%);
  flex-direction: column;
  left: 10%;
}

button.tab-wrap {
  background: #242424;
  margin-bottom: 16px;
  text-align: left;
  padding: 9% 7%;
  border-left: 4px solid #545454;
  cursor: pointer;
  transition: 0.2s ease-out;
}

button.tab-wrap:focus-visible,
.switches button:focus-visible,
.front-back-swatch:focus-visible{
  outline: 2px solid white;
  outline-offset: 5px;
  z-index: 1;
}
.section-3d-viewer.dark .wood-options .woodoptionsbtn:focus-visible,
.section-3d-viewer .modal-btn:focus-visible {
  outline: 2px solid white;
  outline-offset: -1px;
  z-index: 1;
}

button.tab-wrap.selected {
  background: #333;
  border-left: 4px solid #ece81a;
}

div button.tab-wrap .tab-label {
  font-weight: 700;
  font-size: 25px;
  font-style: normal;
  line-height: 1.2em;
  color: #b3b3b3;
  transition: 0.2s ease-out;
}

div button.tab-wrap.selected .tab-label {
  color: #fff;
}

.vert-tab-img-mobile {
  display: none;
}

@media only screen and (max-width: 1600px) {
  div button.tab-wrap .tab-label {
    font-size: 20px;
  }
}

@media only screen and (max-width: 1400px) {
  div button.tab-wrap .tab-label {
    font-size: 16px;
  }
}

@media only screen and (max-width: 1024px) {
  div button.tab-wrap .tab-label {
    font-size: 14px;
  }

  button.tab-wrap {
    margin-bottom: 0;
    padding: 4%;
    width: 25%;
  }

  .tabs-selector {
    position: relative;
    transform: none;
    max-width: 100%;
    top: 0;
    left: 0;
    flex-direction: row;
  }
}

@media only screen and (max-width: 768px) {
  div button.tab-wrap .tab-label {
    line-height: 2rem !important;
  }

  section.vert-tabs {
    padding-top: 2rem;
  }

  .vert-tab-img-mobile {
    display: block;
  }

  .vert-tab-img {
    display: none;
  }

  .overlay-img {
    display: none;
  }

  .vert-tab-video {
    height: 56vw;
  }

  .tabs-selector {
    margin-top: 0.5rem;
    gap: 0.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  button.tab-wrap {
    border-top: 4px solid #545454;
    border-left: 0;
    margin-bottom: 0;
    text-align: center;
    padding: 20px 5px;
    width: calc(50% - 0.25rem);
  }

  button.tab-wrap.selected {
    border-top: 4px solid #ece81a;
    border-left: 0;
  }
}

/* modern connections */
.modern-connections-bright {
  background-image: url(https://assets.corsair.com/image/upload/f_auto,q_auto/products/Corsair-One/CORSAIR%20ONE%20i500%20OVERVIEW%20ASSETS/corsair-one-bg-pattern-very-light-gray.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.modern-connections-dark {
  background-image: url(https://assets.corsair.com/image/upload/f_auto,q_auto/products/Corsair-One/CORSAIR%20ONE%20i500%20OVERVIEW%20ASSETS/corsair-one-bg-pattern-dark-gray.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.front-back-swatch-selected {
  background-color: #ece81a;
}

.front-back-swatches {
  margin: 4rem auto 2rem;
  max-width: fit-content;
  padding: 2px;
  display: flex;
  justify-content: space-evenly;
  background: #000;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.front-back-swatch {
  padding: 0.5rem 2rem;
  width: 50%;
  color: white;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.96px;
}

.switches {
  display: flex;
  align-items: flex-start;
  margin: 3rem 1rem;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 2rem;
}

.switches button {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-align: left;
}

.switches.dark button {
  color: #b3b3b3;
}

.switches.bright button {
  color: #303133;
}

.switches.dark button.selected {
  color: white;
}

.switches.bright button.selected {
  color: black;
}

.numbersquare {
  height: 40px;
  justify-content: center;
  min-width: 40px;
  align-items: center;
  display: inline-flex;
  border-radius: 2px;
  background: black;
  color: white;
}

.switches button.selected .numbersquare {
  background: #ece81a;
  color: black;
}

.text-content {
  margin-top: 10%;
}

.front-back-swatch.selected {
  border-radius: 5px;
  background: #ece81a;
  color: #000;
}

.inner-container {
  display: flex;
}

.showonmobile {
  display: none;
}

h3.modern-connections-tagline {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  /* 100% */
  letter-spacing: 2.8px;
}

h3.modern-connections-tagline.dark {
  color: #ece81a;
}

h3.modern-connections-tagline.bright {
  color: #303133;
}

h2.modern-connections-heading {
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  /* 100% */
  letter-spacing: 1.5px;
}

h2.modern-connections-heading.dark {
  color: #fff;
}

h2.modern-connections-heading.bright {
  color: black;
}

p.modern-connections-paragraph {
  text-wrap: balance;
  color: #fff;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  margin-top: 2rem;
  line-height: 36px;
  /* 163.636% */
  letter-spacing: 0.715px;
}

p.modern-connections-paragraph.dark {
  color: #fff;
}

p.modern-connections-paragraph.bright {
  color: black;
}

.left-diagram {
  flex: 1;
  position: relative;
}

.right-content-swatches {
  flex: 1;
}

.pc-diagram {
  margin: auto;
}

.hideonmobile {
  display: block;
}

div.connect-monitors {
  display: flex;
  padding: 2rem;
  flex-direction: column;
  bottom: 35%;
  gap: 1rem;
  width: 250px;
  position: absolute;
  text-align: center;
  text-wrap: balance;
  align-items: center;
  justify-content: center;
  left: 55%;
  background-color: rgba(0, 0, 0, 0.8);
}

div.connect-monitors img {
  width: 120px;
}

@media only screen and (max-width: 1200px) {


  div.connect-monitors {
    padding: 1rem;
    bottom: 25%;
    width: 200px;
    left: 50%;
  }
}

@media only screen and (max-width: 1024px) {


  div.connect-monitors {
    padding: 1rem;
    bottom: 35%;
    width: 200px;
    left: 50%;
  }
}

@media only screen and (max-width: 768px) {
  .inner-container {
    flex-direction: column;
  }

  div.connect-monitors {
    padding: 1rem;
    bottom: 10%;
    width: 200px;
    left: 40%;
  }

  .hideonmobile {
    display: none;
  }

  .showonmobile {
    display: block;
  }

  .right-content-swatches {
    margin-top: -5rem;
    text-align: left;
  }

  .text-content {
    text-align: center;
    padding: 0 1rem;
  }

}

/* Sustainability */
.BlockTwoTile_info-heading__dZVL9 {
  text-wrap: balance;
}

.BlockTwoTile_info-icons__3ktSa {
  width: fit-content;
}

.BlockTwoTile_background-image__3az5F img {
  border-radius: 10px;
}

.BlockTwoTile_fullwidthImageblockTile__1ah-z {
  margin: 0;
  max-width: 100%;
}

@media only screen and (max-width: 768px) {
  .verticalPaddings-DESIGNEDWITHSUSTAINABILITYINMIND {
    padding: 0;
  }

  .BlockTwoTile_background-image__3az5F {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .BlockTwoTile_background-image__3az5F img {
    border-radius: 0;
  }

  .BlockTwoTile_background-image__3az5F .undefined {
    padding-top: 0;
  }
}

.section-3d-viewer.dark .two-tiles p.font-semibold {
  font-weight: 400;
}