.pd {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.pd__inner {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.pd__crumb {
  margin-bottom: 1rem;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--silver-muted);
}

.pd__crumb a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s var(--ease);
}

.pd__crumb a:hover {
  color: var(--gold);
}

.pd__crumb-sep {
  color: #7a7e8366;
}

.pd__crumb-name {
  color: var(--gold);
}

.pd__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pd__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
  min-width: 0;
}

.pd__main-image {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  max-height: min(40vh, 17.5rem);
  overflow: hidden;
  background-color: var(--ink-charcoal);
  border: 1px solid #7a7e831a;
}

.pd__slider {
  position: relative;
  height: 100%;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
}

.pd__slider.is-dragging {
  cursor: grabbing;
}

.pd__slider:focus-visible {
  box-shadow: inset 0 0 0 2px rgb(185 160 106 / 0.45);
}

.pd__slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
  direction: ltr;
  will-change: transform;
}

.pd__slider-track.is-animating {
  transition: transform 0.35s var(--ease);
}

.pd__slide {
  display: flex;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.pd__slide img {
  height: 100%;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.pd__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #7a7e834d;
  background-color: rgb(9 10 12 / 0.72);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition:
    color 0.15s var(--ease),
    border-color 0.15s var(--ease),
    background-color 0.15s var(--ease),
    opacity 0.15s var(--ease);
}

.pd__nav--prev {
  inset-inline-start: 0.5rem;
}

.pd__nav--next {
  inset-inline-end: 0.5rem;
}

.pd__nav:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.pd__nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pd__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.pd__main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgb(9 10 12 / 0.25), transparent);
  pointer-events: none;
}

.pd__thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 0.625rem;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #7a7e8366 transparent;
}

.pd__thumbs::-webkit-scrollbar {
  height: 0.25rem;
}

.pd__thumbs::-webkit-scrollbar-thumb {
  background-color: #7a7e8366;
  border-radius: 9999px;
}

.pd__thumb {
  position: relative;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #7a7e8326;
  background: none;
  padding: 0;
  transition: all 0.3s var(--ease);
}

.pd__thumb:hover {
  border-color: #7a7e8366;
}

.pd__thumb.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgb(185 160 106 / 0.3);
}

.pd__thumb img {
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
}

.pd__thumb-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.125rem;
  width: 100%;
  background-color: var(--gold);
}

.pd__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pd__meta {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-ultra-wide);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pd__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.75rem;
  overflow-wrap: anywhere;
}

.pd__desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--ash);
  margin-bottom: 1rem;
}

.pd__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.pd__price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--cream);
}

.pd__stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--silver-muted);
}

.pd__stock-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background-color: #22c55eb3;
}

.pd__info .divider-gold {
  margin-bottom: 1rem;
}

.pd__variants {
  margin-bottom: 1rem;
}

.pd__variant {
  margin-bottom: 0.75rem;
}

.pd__variant-label {
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-ultra-wide);
  color: var(--silver-muted);
}

.pd__variant-error {
  font-size: 10px;
  color: #f87171cc;
  text-transform: none;
  letter-spacing: 0;
}

.pd__select {
  position: relative;
}

.pd__select-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: #15171a99;
  border: 1px solid #7a7e8333;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ash);
  transition: all 0.3s var(--ease);
}

.pd__select-btn.has-value {
  border-color: #7a7e834d;
  color: var(--cream);
}

.pd__select-btn.is-open {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgb(185 160 106 / 0.2);
}

.pd__select-btn.is-invalid {
  border-color: #f8717166;
}

.pd__select-placeholder {
  color: #a0a2a599;
}

.pd__select-btn .icon {
  color: var(--silver-muted);
  transition: transform 0.3s var(--ease);
}

.pd__select-btn.is-open .icon {
  transform: rotate(180deg);
}

.pd__select-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  margin-top: 0.25rem;
  width: 100%;
  border: 1px solid #7a7e8333;
  background-color: #15171af2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.pd__select-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ash);
  background: none;
  text-align: left;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.pd__select-option:hover {
  background-color: var(--ink-raised);
  color: var(--cream);
}

.pd__select-option .icon {
  color: var(--gold);
}

.pd__actions {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pd__actions .btn-gold,
.pd__actions .btn-outline {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pd__actions .btn-gold {
  flex: 1 1 0%;
}

.pd__tabs {
  margin-top: 0.25rem;
  min-height: 0;
  flex: 1 1 0%;
  border-top: 1px solid #7a7e831a;
}

.pd__tablist {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid #7a7e831a;
}

.pd__tab {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  color: var(--ash);
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s var(--ease);
}

.pd__tab:hover {
  color: var(--cream);
}

.pd__tab.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.pd__tab-panel {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  max-height: 180px;
  overflow-y: auto;
}

.pd__tab-text {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--ash);
}

.pd__spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #7a7e831a;
}

.pd__spec:last-child {
  border-bottom: 0;
}

.pd__spec-label {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--silver-muted);
}

.pd__spec-value {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--cream);
}

.pd__acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #7a7e831a;
}

.pd__acc:last-child {
  border-bottom: 0;
}

.pd__acc-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pd__acc-name .icon {
  color: #b9a06a99;
}

.pd__acc-name span {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--cream);
}

.pd__acc-qty {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--silver-muted);
}

@media (min-width: 480px) {
  .pd__main-image {
    aspect-ratio: 4 / 3;
    max-height: min(44vh, 22rem);
  }

  .pd__thumb {
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
  }
}

@media (min-width: 640px) {
  .pd__inner {
    padding-top: 1.25rem;
  }

  .pd__layout {
    gap: 2rem;
  }

  .pd__actions {
    flex-direction: row;
  }

  .pd__actions .btn-gold,
  .pd__actions .btn-outline {
    width: auto;
  }
}

@media (min-width: 768px) {
  .pd__title {
    font-size: 1.875rem;
    line-height: 1.25;
  }

  .pd__main-image {
    max-height: min(48vh, 28rem);
  }

  .pd__thumb {
    flex: 0 0 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .pd__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }

  .pd__main-image {
    aspect-ratio: 4 / 3;
    max-height: min(55vh, 36rem);
  }

  .pd__title {
    font-size: 2.25rem;
    line-height: 1.25;
  }
}

.pd-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pd-cart-modal[hidden] {
  display: none;
}

.pd-cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgb(9 10 12 / 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pd-cart-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border: 1px solid #7a7e8333;
  background-color: var(--ink-charcoal);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.55);
  text-align: center;
}

.pd-cart-modal__close {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #7a7e8333;
  background-color: #15171a99;
  color: var(--silver-muted);
  transition:
    color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}

.pd-cart-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pd-cart-modal__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pd-cart-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  margin: 0 auto 0.75rem;
  border: 1px solid rgb(185 160 106 / 0.35);
  border-radius: 9999px;
  color: var(--gold);
  background-color: rgb(185 160 106 / 0.08);
}

.pd-cart-modal__eyebrow {
  margin-bottom: 0.25rem;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-ultra-wide);
  color: var(--gold);
}

.pd-cart-modal__title {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
}

.pd-cart-modal__product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.875rem;
  border: 1px solid #7a7e831a;
  background-color: #090a0c66;
  text-align: start;
}

.pd-cart-modal__media {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border: 1px solid #7a7e8326;
  background-color: var(--ink-deep);
}

.pd-cart-modal__media[hidden] {
  display: none;
}

.pd-cart-modal__media img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.pd-cart-modal__details {
  width: 100%;
  min-width: 0;
}

.pd-cart-modal__name {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.pd-cart-modal__model {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--silver-muted);
}

.pd-cart-modal__model[hidden],
.pd-cart-modal__options[hidden] {
  display: none;
}

.pd-cart-modal__options {
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ash);
  overflow-wrap: anywhere;
}

.pd-cart-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pd-cart-modal__actions .btn-gold,
.pd-cart-modal__actions .btn-outline {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .pd-cart-modal__dialog {
    max-width: 24rem;
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .pd-cart-modal__product {
    flex-direction: row;
    align-items: center;
  }
}