/* Appily twentythree — Fruité Harvest Placard product page */

.page-harvest-placard {
  --hp-gold: #c9a227;
  --hp-gold-dark: #a8861e;
  --hp-gold-pale: #f5ecd4;
  --hp-wood: #8b7355;
  --hp-wood-pale: #f0ebe4;
  --hp-ice: #b8d4e8;
  --hp-ice-pale: #e8f2f8;
  --hp-cool: #5eead4;
  --hp-cream: #fdfbf7;
  --hp-charcoal: #1c1c1c;
  --hp-ink: #2c2c2c;
  --hp-muted: #7a7a7a;
  --hp-line: #e8e6e2;
  --hp-white: #ffffff;
  --hp-accent: var(--hp-gold);
  --hp-accent-soft: rgba(201, 162, 39, 0.14);
  --hp-glow: rgba(201, 162, 39, 0.35);
  background: var(--hp-cream);
}

.page-harvest-placard.tone-citrus {
  --hp-accent: #e8a317;
  --hp-accent-soft: rgba(232, 163, 23, 0.14);
  --hp-glow: rgba(232, 163, 23, 0.4);
}
.page-harvest-placard.tone-berry {
  --hp-accent: #c23d5a;
  --hp-accent-soft: rgba(194, 61, 90, 0.12);
  --hp-glow: rgba(194, 61, 90, 0.35);
}
.page-harvest-placard.tone-tropical {
  --hp-accent: #2d9b68;
  --hp-accent-soft: rgba(45, 155, 104, 0.12);
  --hp-glow: rgba(45, 155, 104, 0.35);
}
.page-harvest-placard.tone-stone {
  --hp-accent: #d4874a;
  --hp-accent-soft: rgba(212, 135, 74, 0.14);
  --hp-glow: rgba(212, 135, 74, 0.35);
}
.page-harvest-placard.tone-melon {
  --hp-accent: #7bc96f;
  --hp-accent-soft: rgba(123, 201, 111, 0.14);
  --hp-glow: rgba(123, 201, 111, 0.35);
}
.page-harvest-placard.tone-pome {
  --hp-accent: #8b4c2a;
  --hp-accent-soft: rgba(139, 76, 42, 0.12);
  --hp-glow: rgba(139, 76, 42, 0.3);
}
.page-harvest-placard.tone-fresh {
  --hp-accent: var(--hp-gold);
  --hp-accent-soft: rgba(201, 162, 39, 0.14);
  --hp-glow: rgba(201, 162, 39, 0.35);
}

/* Shared */
.hp-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-accent);
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.86rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.hp-btn-primary {
  background: var(--hp-gold);
  color: var(--hp-charcoal);
}

.hp-btn-primary:hover {
  background: var(--hp-gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

.hp-btn-soft {
  background: var(--hp-gold-pale);
  color: var(--hp-charcoal);
  border-color: var(--hp-gold);
}

.hp-btn-soft:hover {
  background: var(--hp-gold);
}

.hp-btn-disabled {
  background: var(--hp-line);
  color: var(--hp-muted);
  cursor: not-allowed;
}

/* ── Slat trail breadcrumb ── */
.hp-slat-trail {
  background: var(--hp-wood-pale);
  border-bottom: 3px solid var(--hp-wood);
  padding: 14px 0;
}

.hp-trail-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.hp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--hp-muted);
}

.hp-crumb a {
  color: var(--hp-ink);
  font-weight: 600;
}

.hp-crumb a:hover {
  color: var(--hp-gold-dark);
}

.hp-crumb-current {
  color: var(--hp-muted);
  font-weight: 500;
}

.hp-aisle-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  border: 1px solid var(--hp-accent);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}

.hp-aisle-chip:hover {
  background: var(--hp-accent);
  color: #fff;
}

/* ── Showcase stage ── */
.hp-showcase {
  padding: 36px 0 48px;
  background:
    radial-gradient(ellipse at 80% 0%, var(--hp-accent-soft) 0%, transparent 45%),
    linear-gradient(180deg, var(--hp-ice-pale) 0%, var(--hp-cream) 280px);
}

.hp-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: start;
}

/* Display case */
.hp-display-case {
  position: sticky;
  top: 120px;
}

.hp-case-frame {
  position: relative;
  background: var(--hp-ice-pale);
  border: 3px solid var(--hp-ice);
  padding: 28px;
  box-shadow:
    inset 0 0 40px rgba(184, 212, 232, 0.3),
    0 8px 32px rgba(28, 28, 28, 0.08);
}

.hp-case-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.12) 100%
  );
  z-index: 2;
}

.hp-case-temp {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  background: var(--hp-charcoal);
  color: var(--hp-cool);
  border: 1px solid var(--hp-cool);
  border-radius: 2px;
}

.hp-case-img {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 1;
  background: var(--hp-white);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--hp-line);
}

.hp-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-case-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--hp-accent);
  color: #fff;
  border-radius: 2px;
}

.hp-case-flag.hp-case-sold {
  background: var(--hp-muted);
}

.hp-case-badges {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-case-badges li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  background: var(--hp-white);
  border-left: 3px solid var(--hp-accent);
  color: var(--hp-ink);
}

/* Placard card */
.hp-placard {
  position: relative;
  background: var(--hp-white);
  border: 2px solid var(--hp-gold);
  box-shadow: 0 6px 28px rgba(28, 28, 28, 0.08);
}

.hp-placard-hole {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hp-cream);
  border: 3px solid var(--hp-gold-dark);
  z-index: 2;
}

.hp-placard-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: var(--hp-gold-pale);
  border-bottom: 2px solid var(--hp-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-gold-dark);
}

.hp-placard-code {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.08em;
}

.hp-placard-body {
  padding: 24px 26px 28px;
}

.hp-placard-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.hp-placard-head h1 {
  margin: 0;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
}

.hp-variant {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--hp-muted);
}

.hp-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.hp-star {
  font-size: 1rem;
  color: var(--hp-line);
}

.hp-star.is-on {
  color: var(--hp-gold);
}

.hp-reviews {
  margin-left: 6px;
  font-size: 0.78rem;
  color: var(--hp-muted);
}

/* Semicircle gauges */
.hp-gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 12px;
  background: var(--hp-cream);
  border: 1px solid var(--hp-line);
}

.hp-gauge {
  text-align: center;
}

.hp-gauge-arc {
  position: relative;
  width: 80px;
  margin: 0 auto 6px;
}

.hp-gauge-arc svg {
  width: 100%;
  height: auto;
  display: block;
}

.hp-gauge-track {
  fill: none;
  stroke: var(--hp-line);
  stroke-width: 6;
  stroke-linecap: round;
}

.hp-gauge-fill {
  fill: none;
  stroke: var(--hp-accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--hp-val, 50));
  transition: stroke-dashoffset 0.6s ease;
}

.hp-gauge-num {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--hp-ink);
}

.hp-gauge-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-muted);
}

/* Price */
.hp-price-board {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--hp-line);
}

.hp-price-was {
  font-size: 1rem;
  color: var(--hp-muted);
  text-decoration: line-through;
}

.hp-price {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--hp-charcoal);
}

.hp-price.is-sale {
  color: var(--hp-accent);
}

.hp-price-unit {
  font-size: 0.82rem;
  color: var(--hp-muted);
}

/* Meta strip */
.hp-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.hp-meta-cell {
  padding: 10px 12px;
  background: var(--hp-ice-pale);
  border-left: 3px solid var(--hp-ice);
  text-align: center;
}

.hp-meta-key {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 4px;
}

.hp-meta-cell strong {
  font-size: 0.78rem;
  color: var(--hp-ink);
  word-break: break-word;
}

.hp-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--hp-muted);
}

.hp-divider {
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--hp-line) 0,
    var(--hp-line) 8px,
    transparent 8px,
    transparent 16px
  );
  margin-bottom: 20px;
}

/* Buy form */
.hp-buy-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hp-qty-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hp-qty-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hp-muted);
}

.hp-stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--hp-wood);
  background: var(--hp-cream);
}

.hp-stepper-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  color: var(--hp-wood);
  cursor: pointer;
  transition: background 0.2s;
}

.hp-stepper-btn:hover {
  background: var(--hp-gold-pale);
}

.hp-stepper input {
  width: 44px;
  border: 0;
  border-left: 1px solid var(--hp-line);
  border-right: 1px solid var(--hp-line);
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 0;
  background: var(--hp-white);
  -moz-appearance: textfield;
}

.hp-stepper input::-webkit-outer-spin-button,
.hp-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.hp-buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-buy-actions .hp-btn {
  flex: 1;
  min-width: 140px;
}

.hp-footnote {
  margin: 14px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--hp-muted);
}

/* ── Info pillars ── */
.hp-pillars {
  padding: 0 0 48px;
}

.hp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hp-pillar {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-top: 4px solid var(--hp-accent);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.hp-pillar[open] {
  box-shadow: 0 4px 20px rgba(28, 28, 28, 0.06);
}

.hp-pillar summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--hp-ink);
}

.hp-pillar summary::-webkit-details-marker {
  display: none;
}

.hp-pillar-num {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  border-radius: 2px;
}

.hp-pillar-body {
  padding: 0 20px 20px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--hp-muted);
}

.hp-pillar-body p {
  margin: 0 0 10px;
}

.hp-pillar-body p:last-child {
  margin-bottom: 0;
}

.hp-pillar-body a {
  color: var(--hp-gold-dark);
  font-weight: 600;
}

/* ── Tag rail related ── */
.hp-tag-rail {
  padding: 40px 0 64px;
  background: var(--hp-wood-pale);
  border-top: 3px solid var(--hp-wood);
}

.hp-rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hp-rail-head h2 {
  margin: 0;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.hp-rail-all {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--hp-gold-dark);
  text-decoration: none;
}

.hp-rail-all:hover {
  color: var(--hp-accent);
}

.hp-wire {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--hp-wood), var(--hp-gold), var(--hp-wood), transparent);
  margin-bottom: 28px;
  border-radius: 2px;
}

.hp-tags {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hp-tag-card {
  flex: 0 0 150px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 14px 16px;
  background: var(--hp-white);
  border: 2px solid var(--hp-gold-pale);
  text-decoration: none;
  transform: rotate(var(--hp-swing, 0deg));
  transition: transform 0.25s, box-shadow 0.25s;
  scroll-snap-align: start;
}

.hp-tag-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, 0.1);
  border-color: var(--hp-gold);
}

.hp-tag-string {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 22px;
  background: var(--hp-wood);
}

.hp-tag-clip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 8px;
  background: var(--hp-gold);
  border-radius: 2px 2px 0 0;
}

.hp-tag-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--hp-line);
  margin-bottom: 10px;
}

.hp-tag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-tag-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hp-ink);
  margin-bottom: 4px;
}

.hp-tag-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hp-accent);
}

/* ── 404 miss ── */
.page-hp-miss {
  background: var(--hp-ice-pale);
}

.hp-miss {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.hp-miss-frost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(184, 212, 232, 0.3) 0%, transparent 55%);
}

.hp-miss-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
}

.hp-miss-case {
  position: relative;
  width: 160px;
  height: 140px;
  margin: 0 auto 28px;
  border: 3px solid var(--hp-ice);
  background: var(--hp-white);
}

.hp-miss-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 50%);
}

.hp-miss-empty {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-muted);
}

.hp-miss h1 {
  margin: 0 0 12px;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
}

.hp-miss p {
  margin: 0 0 24px;
  color: var(--hp-muted);
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hp-stage-grid {
    grid-template-columns: 1fr;
  }

  .hp-display-case {
    position: static;
  }

  .hp-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hp-meta-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-gauges {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-gauge-arc {
    width: 100px;
  }

  .hp-placard-body {
    padding: 20px 18px 24px;
  }

  .hp-buy-actions {
    flex-direction: column;
  }

  .hp-buy-actions .hp-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hp-trail-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hp-case-frame {
    padding: 16px;
  }
}
