/* Shared Product Builder gallery, transferred without redesign from Test2 product.css. */
@media (max-width: 640px){

  .hc-sites-product #workshop-gallery-title,

  .hc-sites-product #workshop-lightbox-title{
    font-size: 32px !important;
  }
}
@media (min-width: 641px) and (max-width: 860px){

  .hc-sites-product #workshop-gallery-title,

  .hc-sites-product #workshop-lightbox-title{
    font-size: 38px !important;
  }
}
@media (min-width: 861px){
.hc-sites-product :is(.workshop-gallery){
    padding-top: var(--product-module-junction-gap) !important;
    padding-bottom: var(--product-module-junction-gap) !important;
  }
}

.hc-sites-product .workshop-gallery{
  padding: clamp(82px, 8.5vw, 118px) 0 clamp(92px, 9vw, 128px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hc-sites-product .workshop-gallery-layout{
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(310px, 2fr);
  grid-template-rows: auto auto;
  column-gap: clamp(44px, 6vw, 78px);
  align-items: start;
}

.hc-sites-product .workshop-gallery-primary{
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
}

.hc-sites-product .workshop-gallery-heading{
  grid-column: 1;
  grid-row: 1;
  margin-bottom: clamp(30px, 3.5vw, 42px);
}

.hc-sites-product .workshop-gallery-heading .eyebrow{ margin-bottom: 17px; }

.hc-sites-product .workshop-gallery-heading h2{
  max-width: 680px;
  font-size: clamp(43px, 4.8vw, 60px);
  font-weight: 900;
  letter-spacing: -.052em;
  line-height: 1.02;
}

.hc-sites-product .workshop-gallery-heading > p:last-child{
  max-width: 64ch;
  margin: 22px 0 0;
  color: #5e6974;
  font-size: 16px;
  line-height: 1.72;
}

.hc-sites-product .workshop-gallery-visual{
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border: 1px solid #d7dee4;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #eef1f2;
}

.hc-sites-product .workshop-gallery-visual picture,

.hc-sites-product .workshop-gallery-visual img{
  width: 100%;
  height: 100%;
  display: block;
}

.hc-sites-product .workshop-gallery-visual img{
  object-fit: cover;
  transition: opacity 180ms ease;
}

.hc-sites-product .workshop-gallery-hd-link{
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 39px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(17, 24, 33, .09);
  border-radius: 9px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 7px 20px rgba(16, 38, 59, .055);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hc-sites-product .workshop-gallery-hd-link:hover,

.hc-sites-product .workshop-gallery-hd-link:focus-visible{
  border-color: rgba(17, 24, 33, .14);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 9px 24px rgba(16, 38, 59, .08);
  transform: translateY(-1px);
}

.hc-sites-product .workshop-gallery-controls{
  min-height: 72px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 42px 1fr auto 42px;
  align-items: center;
  gap: 22px;
  border: 1px solid #d7dee4;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

.hc-sites-product .workshop-gallery-controls > button{
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #d7dee4;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.hc-sites-product .workshop-gallery-controls > button:hover{
  border-color: var(--shop-blue);
  background: #f2f6f9;
}

.hc-sites-product .workshop-gallery-controls > button svg{ width: 18px; height: 18px; }

.hc-sites-product .workshop-gallery-controls > p{
  margin: 0;
  justify-self: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.hc-sites-product .workshop-gallery-controls > p strong{ font-size: 14px; }

.hc-sites-product .workshop-gallery-dots{
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-sites-product .workshop-gallery-dots button{
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccd4da;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.hc-sites-product .workshop-gallery-dots button.is-active{
  background: var(--shop-blue);
  transform: scale(1.28);
}

.hc-sites-product .workshop-gallery-secondary{
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  border-top: 0;
}

.hc-sites-product .workshop-gallery-secondary::before{
  position: absolute;
  top: -25px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--shop-blue);
  content: "";
}

.hc-sites-product .workshop-gallery-details{ flex: 1; }

.hc-sites-product .workshop-gallery-detail[hidden]{ display: none; }

.hc-sites-product .workshop-gallery-position{
  margin: 0 0 18px;
  color: var(--shop-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hc-sites-product .workshop-gallery-detail h3{
  max-width: 420px;
  margin: 0;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.hc-sites-product .workshop-gallery-detail > p:not(.workshop-gallery-position){
  max-width: 52ch;
  margin: 23px 0 0;
  color: #52606c;
  font-size: 15px;
  line-height: 1.72;
}

.hc-sites-product .workshop-gallery-points{
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hc-sites-product .workshop-gallery-points h4{
  margin: 0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
}

.hc-sites-product .workshop-gallery-points ul{
  margin: 15px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.hc-sites-product .workshop-gallery-points li{
  position: relative;
  padding-left: 19px;
  color: #63707c;
  font-size: 13px;
  line-height: 1.5;
}

.hc-sites-product .workshop-gallery-points li::before{
  position: absolute;
  top: .62em;
  left: 1px;
  width: 5px;
  height: 5px;
  background: var(--shop-blue);
  content: "";
}

.hc-sites-product .workshop-gallery-thumbnails{
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.hc-sites-product .workshop-gallery-thumbnail-heading{
  display: flex;
  align-items: center;
  gap: 12px;
  color: #697581;
}

.hc-sites-product .workshop-gallery-thumbnail-heading > svg{
  flex: 0 0 auto;
  color: var(--shop-blue);
}

.hc-sites-product .workshop-gallery-thumbnail-heading p{
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.hc-sites-product .workshop-gallery-thumbnail-heading strong{
  display: block;
  color: var(--ink);
  font-size: 12px;
}

.hc-sites-product .workshop-gallery-thumbnail-list{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.hc-sites-product .workshop-gallery-thumbnail-list button{
  min-width: 0;
  padding: 3px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.hc-sites-product .workshop-gallery-thumbnail-list button.is-active{
  border-color: var(--shop-blue);
  background: rgba(78, 130, 179, .08);
}

.hc-sites-product .workshop-gallery-thumbnail-list img{
  width: 100%;
  aspect-ratio: 8 / 5;
  display: block;
  border-radius: 5px;
  object-fit: cover;
}

.hc-sites-product .workshop-lightbox{
  width: min(96vw, 1480px);
  height: min(94vh, 980px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #fff;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .42);
}

.hc-sites-product .workshop-lightbox::backdrop{
  background: rgba(5, 12, 18, .88);
  backdrop-filter: blur(8px);
}

.hc-sites-product .workshop-lightbox-panel{
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--navy-deep);
}

.hc-sites-product .workshop-lightbox-header{
  min-height: 78px;
  padding: 18px 22px 17px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.hc-sites-product .workshop-lightbox-header p{
  margin: 0 0 3px;
  color: #89aed0;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hc-sites-product .workshop-lightbox-header h2{
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.hc-sites-product .workshop-lightbox-header > button{
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.hc-sites-product .workshop-lightbox-header > button:hover{
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.hc-sites-product .workshop-lightbox-header > button svg{ width: 18px; height: 18px; }

.hc-sites-product .workshop-lightbox-figure{
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: auto;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(78, 130, 179, .12), transparent 55%),
    #050c12;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

.hc-sites-product .workshop-lightbox-figure img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hc-sites-product .workshop-lightbox-footer{
  min-height: 62px;
  padding: 13px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.hc-sites-product .workshop-lightbox-footer p{
  margin: 0;
  color: #aab9c5;
  font-size: 12px;
  line-height: 1.45;
}

.hc-sites-product .workshop-lightbox-footer a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hc-sites-product .workshop-lightbox-footer a:hover{ color: #9fc2df; }
@media (max-width: 1080px){
.hc-sites-product .workshop-gallery-thumbnail-heading{ display: none; }
}
@media (max-width: 980px){
.hc-sites-product .workshop-gallery-layout{ display: block; }

.hc-sites-product .workshop-gallery-primary{ display: block; }

.hc-sites-product .workshop-gallery-heading{ margin-bottom: 34px; }

.hc-sites-product .workshop-gallery-secondary{
    margin-top: 42px;
    padding-top: 0;
    border-top: 0;
  }

.hc-sites-product .workshop-gallery-secondary::before{ display: none; }

.hc-sites-product .workshop-gallery-points,

.hc-sites-product .workshop-gallery-thumbnails{ display: none; }
}
@media (max-width: 860px){
.hc-sites-product .workshop-gallery-layout{ display: block; }

.hc-sites-product .workshop-gallery-primary{ display: block; }

.hc-sites-product .workshop-gallery-heading{ margin-bottom: 34px; }

.hc-sites-product .workshop-gallery-secondary{
    margin-top: 42px;
    padding-top: 0;
  }

.hc-sites-product .workshop-gallery-detail h3{ max-width: 650px; }

.hc-sites-product .workshop-gallery-detail > p:not(.workshop-gallery-position){ max-width: 68ch; }

.hc-sites-product .workshop-gallery-thumbnails{ max-width: 560px; }


.hc-sites-product .workshop-gallery{ padding-bottom: var(--responsive-section-gap); }


.hc-sites-product .workshop-gallery{ padding-top: 78px; }
}
@media (min-width: 641px) and (max-width: 860px){
.hc-sites-product :is(.workshop-gallery){
    padding-top: var(--product-hero-junction-gap);
    padding-bottom: var(--product-hero-junction-gap);
  }
}
@media (max-width: 640px){
.hc-sites-product .workshop-gallery{ padding: 68px 0 76px; }

.hc-sites-product .workshop-gallery-heading h2{ font-size: 39px; }

.hc-sites-product .workshop-gallery-heading > p:last-child{ margin-top: 19px; font-size: 15px; }

.hc-sites-product .workshop-gallery-visual{ aspect-ratio: 8 / 5; border-radius: 11px 11px 0 0; }

.hc-sites-product .workshop-gallery-hd-link{ top: 13px; right: 13px; min-height: 36px; padding-inline: 12px; }

.hc-sites-product .workshop-gallery-controls{
    min-height: 64px;
    padding-inline: 12px;
    grid-template-columns: 38px auto 1fr 38px;
    gap: 13px;
    border-radius: 0 0 11px 11px;
  }

.hc-sites-product .workshop-gallery-controls > button{ width: 36px; height: 36px; }

.hc-sites-product .workshop-gallery-controls > p{ justify-self: start; }

.hc-sites-product .workshop-gallery-dots{ justify-self: center; gap: 9px; }

.hc-sites-product .workshop-gallery-secondary{ margin-top: 36px; padding-top: 0; border-top: 0; }

.hc-sites-product .workshop-gallery-position{ display: none; }

.hc-sites-product .workshop-gallery-detail h3{ font-size: 30px; }

.hc-sites-product .workshop-gallery-detail > p:not(.workshop-gallery-position){ margin-top: 19px; font-size: 15px; }

.hc-sites-product .workshop-gallery-points{ margin-top: 25px; padding-top: 21px; }

.hc-sites-product .workshop-gallery-thumbnails{ display: none; }

.hc-sites-product .workshop-lightbox{
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

.hc-sites-product .workshop-lightbox-header{ min-height: 69px; padding: 13px 14px 12px 18px; }

.hc-sites-product .workshop-lightbox-header h2{ max-width: 250px; font-size: 16px; }

.hc-sites-product .workshop-lightbox-header > button{ width: 38px; height: 38px; }

.hc-sites-product .workshop-lightbox-footer{
    min-height: 78px;
    padding: 12px 18px 15px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

.hc-sites-product .workshop-lightbox-footer p{ display: none; }

.hc-sites-product .workshop-lightbox-footer a{ min-height: 36px; }
}
@media (max-width: 640px){
.hc-sites-product :is(.workshop-gallery){
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
@media (min-width: 861px){

  .hc-sites-product #workshop-gallery-title,

  .hc-sites-product #workshop-lightbox-title{
    font-size: 42px !important;
  }
}

.hc-sites-product .workshop-gallery[hidden], .hc-sites-product [data-gallery-empty="true"]{display:none!important}
