
/* AVANOKI PRODUCT PAGE V2 */

.product-v2 {
  background: #f4f3ef;
  color: #111;
  min-height: 100vh;
}

.product-v2-top {
  display: flex;
  justify-content: space-between;
  padding: 45px 36px 55px;
  font-size: 10px;
  letter-spacing: .06em;
}

.product-v2 a {
  color: inherit;
  text-decoration: none;
}

.product-v2-top a:hover,
.product-v2-bottom a:hover {
  opacity: .5;
}

/* MAIN LAYOUT */

.product-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 7vw;
  padding: 0 36px 120px;
  align-items: start;
}

/* IMAGE GALLERY */

.product-v2-gallery {
  min-width: 0;
}

.product-v2-main-image {
  width: 100%;
  background: #f4f3ef;
}

.product-v2-main-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
}

.product-v2-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.product-v2-thumb {
  width: 75px;
  height: 95px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.product-v2-thumb.is-active {
  border-color: #111;
}

.product-v2-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* PRODUCT INFORMATION */

.product-v2-details {
  padding-top: 15px;
}

.product-v2-label {
  font-size: 10px;
  letter-spacing: .08em;
  margin-bottom: 25px;
}

.product-v2-details h1 {
  font-size: clamp(34px, 3.5vw, 60px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
  margin: 0 0 20px;
}

.product-v2-price {
  font-size: 18px;
  margin-bottom: 35px;
}

.product-v2-divider {
  width: 100%;
  border-top: 1px solid #111;
  margin-bottom: 30px;
}

.product-v2-description {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 45px;
}

.product-v2-options > p {
  font-size: 10px;
  letter-spacing: .08em;
  margin-bottom: 15px;
}

#product-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-v2-size {
  min-width: 55px;
  padding: 13px;
  background: transparent;
  border: 1px solid #aaa;
  color: #111;
  cursor: pointer;
  font-size: 12px;
}

.product-v2-size.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.product-v2-order {
  display: block;
  margin-top: 35px;
  padding: 20px;
  background: #111;
  color: #fff !important;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  transition: background .2s ease;
}

.product-v2-order:hover {
  background: #3369ff;
}

.product-v2-note {
  margin-top: 15px;
  font-size: 11px;
  color: #777;
  line-height: 1.6;
}

.product-v2-extra {
  border-top: 1px solid #111;
  margin-top: 55px;
}

.product-v2-extra > div {
  padding: 22px 0;
  border-bottom: 1px solid #aaa;
}

.product-v2-extra span {
  font-size: 10px;
  letter-spacing: .08em;
}

.product-v2-extra p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}

/* BOTTOM */

.product-v2-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #111;
  padding: 30px 36px 90px;
  font-size: 11px;
}

/* MOBILE */

@media (max-width: 700px) {
  .product-v2-top {
    padding: 30px 18px 35px;
  }

  .product-v2-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 0 18px 80px;
  }

  .product-v2-main-image img {
    max-height: 480px;
  }

  .product-v2-details {
    padding-top: 0;
  }

  .product-v2-details h1 {
    font-size: 38px;
  }

  .product-v2-bottom {
    padding: 25px 18px 60px;
  }
}


/* PRODUCT COLOR OPTIONS */

#product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#product-colors button {
  padding: 10px 18px;
  border: 1px solid #aaa;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s ease,
              background .2s ease,
              color .2s ease;
}

#product-colors button:hover {
  border-color: #111;
}

#product-colors button.is-active {
  background: #111;
  color: #f4f3ef;
  border-color: #111;
}

/* Space between color and size options */

#product-color-section {
  margin-bottom: 35px;
}

