.ps-vitrina {
  --ps-bg: #1a3d2e;
  --ps-gold: #c9a227;
  --ps-gold-soft: #d4af37;
  --ps-text: #7ec8e3;
  --ps-white: #ffffff;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-family: Georgia, "Times New Roman", serif;
}

.ps-vitrina-vacio {
  text-align: center;
  color: #666;
  padding: 40px 16px;
}

.ps-card {
  background: var(--ps-bg);
  border: 3px double var(--ps-gold);
  border-radius: 2px;
  padding: 22px 24px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ps-card-title {
  margin: 0 0 18px;
  color: var(--ps-text);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  width: 100%;
}

.ps-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0 0 18px;
  text-align: left;
  justify-items: start;
}

.ps-card-meta .ps-card-field {
  margin-bottom: 0;
  width: 100%;
}

.ps-card-top {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.3fr);
  gap: 20px;
  align-items: center;
}

.ps-card-gallery {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-card-field {
  margin-bottom: 12px;
}

.ps-card-field-label {
  color: var(--ps-gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.ps-card-field-value {
  color: var(--ps-text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: pre-wrap;
  word-break: break-word;
}

.ps-card-field-value.is-normal-case {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}

.ps-card-precio {
  margin-top: 14px;
  color: var(--ps-gold-soft);
  font-size: 1.05rem;
  font-weight: 700;
}

.ps-card-countdown {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 4px;
  color: var(--ps-white);
  background: rgba(0, 0, 0, 0.18);
}

.ps-countdown-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ps-gold-soft);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.ps-countdown-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8f7ff;
}

.ps-countdown-value.is-ended {
  color: #ffb4b4;
}

.ps-carousel {
  position: relative;
  width: 100%;
}

.ps-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: #0f241c;
}

.ps-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.ps-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.ps-carousel-prev,
.ps-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ps-carousel-prev { left: 8px; }
.ps-carousel-next { right: 8px; }

.ps-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.ps-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #cfd8dc;
  cursor: pointer;
}

.ps-dot.is-active {
  background: #2196f3;
}

.ps-carousel-empty {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(201, 162, 39, 0.4);
}

.ps-card-docs {
  margin-top: 18px;
}

.ps-docs-frame {
  position: relative;
  border: 1px solid var(--ps-gold);
  padding: 22px 16px 14px;
  margin-top: 8px;
}

.ps-docs-label {
  position: absolute;
  top: -0.7em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ps-bg);
  padding: 0 12px;
  color: var(--ps-gold-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ps-docs-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
}

.ps-docs-sep {
  width: 1px;
  background: var(--ps-gold);
  margin: 4px 14px;
  align-self: stretch;
}

.ps-doc-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ps-white);
  color: #222;
  text-decoration: none;
  padding: 10px 16px 10px 12px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.ps-doc-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent #90caf9 transparent transparent;
}

.ps-doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 40px;
  background: linear-gradient(180deg, #f5f5f5, #e0e0e0);
  border: 1px solid #bbb;
  border-radius: 2px;
  color: #c62828;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: Arial, sans-serif;
  letter-spacing: 0.02em;
}

.ps-doc-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}

@media (max-width: 760px) {
  .ps-card {
    padding: 16px 14px 14px;
  }
  .ps-card-meta {
    grid-template-columns: 1fr;
  }
  .ps-card-top {
    grid-template-columns: 1fr;
  }
  .ps-docs-list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ps-docs-sep {
    display: none;
  }
  .ps-doc-item {
    width: 100%;
    box-sizing: border-box;
  }
}
