/* Rotes & Roses · Homepage hero shortcuts & 4-card package rail */

.rr-hero-shortcuts {
  display: flex;
  align-items: stretch;
  max-width: 29rem;
  gap: 0;
  margin: 12px 0 4px;
  color: hsl(var(--foreground));
  pointer-events: auto;
}

.rr-hero-shortcuts a {
  display: grid;
  gap: 1px;
  padding: 2px 15px;
  border-left: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
  line-height: 1.24;
  min-height: 44px;
  align-content: center;
}

.rr-hero-shortcuts a:first-child {
  border-left: 0;
  padding-left: 0;
}

.rr-hero-shortcuts strong {
  font-size: 15px;
  font-weight: 700;
}

.rr-hero-shortcuts span {
  font-size: 13px;
  opacity: 0.88;
}

.rr-hero-shortcuts a:hover strong,
.rr-hero-shortcuts a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rr-hero-shortcuts a:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
  border-radius: 4px;
}

#detail-packages {
  scroll-margin-top: 72px;
  border-bottom: 1px solid hsl(var(--border));
}

.pv-wrap {
  max-width: 1280px;
  margin: auto;
  padding: clamp(25px, 4vw, 62px) clamp(20px, 4vw, 48px);
}

.pv-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.pv-head h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.1;
  color: hsl(var(--foreground));
}

.pv-head a,
.pv-more {
  font-size: 14px;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pv-head a {
  white-space: nowrap;
}

.pv-head a:hover,
.pv-head a:focus-visible,
.pv-card:hover .pv-more,
.pv-card:focus-visible .pv-more {
  color: hsl(var(--primary));
}
:root:not([data-theme="light"]) .pv-head a:hover,
:root:not([data-theme="light"]) .pv-head a:focus-visible,
:root:not([data-theme="light"]) .pv-card:hover .pv-more,
:root:not([data-theme="light"]) .pv-card:focus-visible .pv-more {
  color: #F0486D;
}

.pv-head a:focus-visible,
.pv-cards:focus-visible,
.pv-card:focus-visible,
.pv-rail-controls button:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

.pv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pv-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  overflow: hidden;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.pv-card:hover,
.pv-card:focus-visible {
  border-color: hsl(var(--primary));
}

.pv-card img {
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  display: block;
}

.pv-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.pv-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
  color: hsl(var(--foreground));
}

.pv-card p {
  margin: 6px 0 12px;
  color: hsl(var(--muted-foreground));
  font-size: 15px;
  line-height: 1.5;
}

.pv-card dl {
  margin: auto 0 16px;
}

.pv-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid hsl(var(--border));
  font-size: 15px;
}

.pv-card dt {
  color: hsl(var(--muted-foreground));
}

.pv-card dd {
  margin: 0;
  font-weight: 700;
  color: hsl(var(--foreground));
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  .pv-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
  }

  .pv-card {
    flex: 0 0 82%;
  }

  .pv-card img {
    aspect-ratio: 1.85;
  }

  .rr-hero-shortcuts {
    margin-top: 9px;
  }

  .rr-hero-shortcuts a {
    padding: 3px 10px;
  }

  .rr-hero-shortcuts strong {
    font-size: 14px;
  }
}

@media (min-width: 1060px) {
  .pv-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 701px) and (max-width: 1059px) {
  .pv-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .pv-cards .pv-card {
    flex: 0 0 39%;
  }
}

.pv-rail-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.pv-rail-controls[hidden] {
  display: none;
}

.pv-rail-controls button {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font: 600 18px/1 Manrope, sans-serif;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.pv-rail-controls button:hover:not(:disabled) {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.pv-rail-controls button:disabled {
  opacity: 0.32;
  cursor: default;
}
