.section:has(> .pdp-main) {
  background: rgb(251, 246, 238);
}

.pdp-main,
.pdp-main * {
  box-sizing: border-box;
}

.pdp-main {
  box-sizing: content-box;
  padding: 24px 48px 96px;
  background: transparent;
  color: rgb(32, 21, 18);
  font-family: Archivo, sans-serif;
  font-size: 16px;
  line-height: normal;
}

.pdp-main__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
}

.pdp-main__gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdp-main__stage {
  position: relative;
  height: 640px;
}

.pdp-main__image {
  display: block;
  width: 100%;
  height: 640px;
  border: 2px solid rgb(32, 21, 18);
  background: rgb(234, 223, 203);
  object-fit: cover;
  object-position: center;
}

.pdp-main__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: rgb(240, 180, 28);
  color: rgb(32, 21, 18);
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pdp-main__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pdp-main__thumb {
  display: block;
  width: 100%;
  height: 120px;
  padding: 0;
  border: 2px solid rgb(32, 21, 18);
  border-radius: 0;
  background: rgb(234, 223, 203);
  cursor: pointer;
  overflow: hidden;
}

.pdp-main__thumb.is-active {
  border-color: rgb(186, 7, 7);
}

.pdp-main__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-main__eyebrow {
  margin: 0 0 14px;
  color: rgb(186, 7, 7);
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.pdp-main__title {
  margin: 0 0 14px;
  color: rgb(32, 21, 18);
  font-family: Anton, sans-serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.pdp-main__rating {
  height: 23px;
  margin: 0 0 18px;
  color: rgb(186, 7, 7);
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
}

.pdp-main__rating-copy {
  margin-left: 8px;
  color: rgb(125, 114, 99);
  font-weight: 600;
}

.pdp-main__description {
  margin: 0 0 26px;
  color: rgb(92, 81, 72);
  font-size: 18px;
  line-height: 1.6;
}

.pdp-main__description p {
  margin: 0 0 0.75em;
}

.pdp-main__description p:last-child {
  margin-bottom: 0;
}

.pdp-main__price {
  height: 60px;
  margin: 0 0 26px;
  color: rgb(32, 21, 18);
  font-family: Anton, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 60px;
}

.pdp-main__price-size {
  color: rgb(125, 114, 99);
  font-family: Archivo, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.pdp-main__product-form,
.pdp-main__form {
  display: block;
}

.pdp-main__buy-row {
  display: flex;
  gap: 12px;
  height: 60px;
  margin-bottom: 12px;
}

.pdp-main__quantity {
  display: flex;
  flex: 0 0 137.65625px;
  height: 60px;
  border: 2px solid rgb(32, 21, 18);
  background: transparent;
  align-items: center;
}

.pdp-main__quantity button,
.pdp-main__quantity [data-qty-display] {
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgb(32, 21, 18);
  font-family: Archivo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
}

.pdp-main__quantity button {
  flex: 0 0 48.828125px;
  cursor: pointer;
}

.pdp-main__quantity [data-qty-display] {
  display: block;
  flex: 1 1 auto;
  font-size: 18px;
}

.pdp-main__add,
.pdp-main__buy-now {
  border-radius: 0;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.pdp-main__add {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0;
  border: 0;
  background: rgb(186, 7, 7);
  color: rgb(251, 246, 238);
  font-size: 16px;
  letter-spacing: 2px;
}

.pdp-main__add:hover {
  background: rgb(143, 5, 5);
}

.pdp-main__add:disabled,
.pdp-main__add.loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: wait;
}

.pdp-main__error::after {
  content: attr(data-message);
}

.pdp-main__error.form__error-message:not(.hidden) {
  display: block;
}

.pdp-main__buy-now {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0 0 22px;
  padding: 16px 0;
  border: 2px solid rgb(32, 21, 18);
  background: transparent;
  color: rgb(32, 21, 18);
  font-size: 15px;
  letter-spacing: 2px;
}

.pdp-main__buy-now:hover {
  background: rgb(32, 21, 18);
  color: rgb(251, 246, 238);
}

.pdp-main__error {
  margin: -14px 0 8px;
  color: rgb(186, 7, 7);
  font-size: 12px;
}

.pdp-main__shipping {
  min-height: 53px;
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid rgb(221, 210, 192);
  background: rgb(244, 237, 224);
  color: rgb(32, 21, 18);
  font-size: 14px;
  font-weight: 600;
}

.pdp-main__shipping span {
  margin-right: 10px;
}

.pdp-main__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  min-height: 15px;
  margin: 0 0 36px;
  color: rgb(125, 114, 99);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pdp-main__why {
  min-height: 212px;
  padding-top: 28px;
  border-top: 2px solid rgb(32, 21, 18);
}

.pdp-main__why h2 {
  height: 40px;
  margin: 0 0 16px;
  color: rgb(32, 21, 18);
  font-family: Anton, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.pdp-main__why-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgb(92, 81, 72);
  font-size: 16px;
  line-height: 24px;
}

.pdp-main__why-list p {
  margin: 0;
}

.pdp-main__why-list b {
  margin-right: 8px;
  color: rgb(186, 7, 7);
}

.pdp-main__variant {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}
.pdp-main__variant-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgb(92, 81, 72);
}
.pdp-main__variant-select {
  width: 100%;
  min-height: 52px;
  padding: 0 40px 0 14px;
  border: 2px solid rgb(32, 21, 18);
  border-radius: 0;
  background: rgb(255, 255, 255) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23201512' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: rgb(32, 21, 18);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}

@media (max-width: 959px) {
  .pdp-main {
    padding: 14px 20px 40px;
  }

  .pdp-main__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .pdp-main__stage,
  .pdp-main__image {
    height: 350px;
  }

  .pdp-main__badge {
    top: 8px;
    left: 8px;
    padding: 5px 7px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .pdp-main__thumb {
    height: 80px;
  }

  .pdp-main__eyebrow {
    min-height: 24px;
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 3px;
  }

  .pdp-main__title {
    margin-bottom: 14px;
    font-size: clamp(42px, 11vw, 48px);
    line-height: 0.98;
  }

  .pdp-main__description {
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.55;
  }

  .pdp-main__price {
    height: 49px;
    margin-bottom: 18px;
    font-size: 32px;
    line-height: 49px;
  }

  .pdp-main__add {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .pdp-main__checks {
    gap: 8px 18px;
    min-height: 32px;
    margin-bottom: 28px;
    font-size: 10px;
  }

  .pdp-main__why {
    min-height: 260px;
  }
}

.pdp-sticky-atc {
  display: none;
}

@media (max-width: 767px) {
  .pdp-sticky-atc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 2px solid rgb(32, 21, 18);
    background: rgb(251, 246, 238);
  }

  .pdp-sticky-atc[hidden] {
    display: none !important;
  }

  .pdp-sticky-atc__copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pdp-sticky-atc__title {
    margin: 0;
    overflow: hidden;
    color: rgb(32, 21, 18);
    font-family: Anton, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .pdp-sticky-atc__price {
    margin: 2px 0 0;
    color: rgb(125, 114, 99);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
  }

  .pdp-sticky-atc__add {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: rgb(186, 7, 7);
    color: rgb(251, 246, 238);
    font-family: Archivo, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
  }

  .pdp-sticky-atc__add:hover {
    background: rgb(143, 5, 5);
  }

  .pdp-sticky-atc__add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  body:has([data-pdp-sticky-atc]:not([hidden])) main {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}
