
.pd-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.pd-col {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pd-gallery {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  gap: 10px;
}

.pd-main-img {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.pd-main-btn {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  cursor: zoom-in;
  display: block;
  position: relative;
}

.pd-main-btn > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pd-config-underlay-stack,
.pd-config-layer-stack,
#pd-lightbox-underlay-stack,
#pd-lightbox-layer-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pd-config-underlay-stack,
#pd-lightbox-underlay-stack {
  z-index: 0;
}

.pd-config-layer-stack,
#pd-lightbox-layer-stack {
  z-index: 2;
}

.pd-config-underlay-img,
.pd-config-layer-img,
.pd-lightbox-layer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pd-thumbs {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pd-thumbs-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  margin: 0;
  scrollbar-width: none;
}

.pd-thumbs-track::-webkit-scrollbar {
  display: none;
}

.pd-thumbs-nav {
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 6px 8px;
  margin: 0;
  min-height: var(--pd-tap);
  min-width: 32px;
  line-height: 1;
  font-size: 1.25rem;
  cursor: pointer;
}

.pd-thumbs-nav[disabled] {
  opacity: 0.35;
  cursor: default;
}

.pd-thumbs.is-single .pd-thumbs-nav {
  display: none;
}

.pd-thumbs.is-single {
  grid-template-columns: 1fr;
}

.pd-thumb {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  cursor: pointer;
}

.pd-thumb:hover {
  opacity: 0.85;
}

.pd-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pd-thumb.is-active img {
  opacity: 0.65;
}

.pd-shortdesc {
  color: var(--pd-text);
  line-height: 1.6;
}

.pd-shortdesc > :first-child,
.pd-longdesc > :first-child {
  margin-top: 0;
}

.pd-shortdesc > :last-child,
.pd-longdesc > :last-child {
  margin-bottom: 0;
}

