/* ==========================================================================
   Prijshistorie
   ========================================================================== */
.ph-page {
  --ph-ink: #191c1e;
  --ph-text: #4f5b66;
  --ph-muted: #7b8792;
  --ph-line: #e6edf3;
  --ph-soft: #f6fbfd;
  --ph-blue: #3c96ff;
  --ph-cyan: #2dfbff;
  --ph-good: #13804b;
  --ph-bad: #c62828;
  --ph-radius: 16px;
  --ph-shadow: 0 10px 30px rgba(35, 72, 120, 0.08);
  color: var(--ph-text);
}

.ph-page .navbar-nav .nav-item.active .nav-link:before {
  width: 100%;
}

/* Hero */
.ph-hero .ph-hero-content {
  position: relative;
  padding: 150px 0 90px;
  max-width: 720px;
}

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 4px 16px;
  margin-bottom: 18px;
}

.ph-eyebrow-dark {
  color: var(--ph-blue);
  background: #dbecff;
  padding: 3px 14px;
  margin-bottom: 12px;
  font-size: 12px;
}

.ph-hero .ph-hero-title {
  color: #fff;
  font-size: 44px;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 18px;
}

.ph-hero .ph-hero-title span {
  display: block;
}

.ph-hero .ph-hero-text {
  color: #fff;
  font-size: 17px;
  line-height: 28px;
  opacity: 0.95;
}

.ph-hero .ph-hero-meta {
  color: #fff;
  margin-top: 18px;
  font-size: 14px;
  opacity: 0.9;
}

.ph-hero .ph-hero-meta i {
  margin-right: 6px;
  vertical-align: -1px;
}

/* Main */
.ph-main {
  background: linear-gradient(#fff, var(--ph-soft) 360px);
  padding-bottom: 90px;
  min-height: 60vh;
}

.ph-section-lead {
  color: var(--ph-muted);
  font-size: 15px;
}

.ph-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ph-muted);
  font-weight: 500;
}

.ph-muted {
  color: var(--ph-muted);
}

/* States */
.ph-state {
  text-align: center;
  padding: 80px 16px;
  max-width: 520px;
  margin: 0 auto;
}

.ph-state h2 {
  font-size: 26px;
  margin: 18px 0 10px;
}

.ph-state p {
  color: var(--ph-text);
  font-size: 15px;
  margin-bottom: 24px;
}

.ph-state-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: #dbecff;
  color: var(--ph-blue);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-state-icon-warn {
  background: #fff1e0;
  color: #d46b00;
}

.ph-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid #dbecff;
  border-top-color: var(--ph-blue);
  animation: ph-spin 0.8s linear infinite;
}

@keyframes ph-spin {
  to { transform: rotate(360deg); }
}

/* Empty */
.ph-empty {
  display: flex;
  align-items: center;
  gap: 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--ph-shadow);
  padding: 48px;
  max-width: 920px;
  margin: 0 auto;
}

.ph-empty-art {
  flex: 0 0 280px;
  background: linear-gradient(135deg, #eaf4ff, #e6fdff);
  border-radius: 20px;
  padding: 24px;
}

.ph-empty-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.ph-draw {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: ph-draw 1.6s ease-out 0.3s forwards;
}

@keyframes ph-draw {
  to { stroke-dashoffset: 0; }
}

.ph-empty-text h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.ph-empty-text p {
  color: var(--ph-text);
  font-size: 15px;
  margin-bottom: 12px;
}

.ph-empty-text .btn {
  margin-top: 12px;
}

/* Toolbar */
.ph-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ph-search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
  margin: 0;
}

.ph-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ph-muted);
}

.ph-search input,
.ph-sort select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--ph-line);
  border-radius: 30px;
  background: #fff;
  color: var(--ph-ink);
  font-size: 15px;
  padding: 0 20px 0 46px;
  box-shadow: 0 2px 8px rgba(35, 72, 120, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ph-search input:focus,
.ph-sort select:focus {
  outline: none;
  border-color: var(--ph-blue);
  box-shadow: 0 0 0 4px rgba(60, 150, 255, 0.15);
}

.ph-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ph-muted);
  font-size: 14px;
}

.ph-sort select {
  width: auto;
  padding: 0 18px;
  cursor: pointer;
}

.ph-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  font-size: 15px;
}

.ph-more {
  text-align: center;
  margin-top: 36px;
}

.ph-more p {
  color: var(--ph-muted);
  margin-bottom: 12px;
}

/* Cards */
.ph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.ph-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--ph-radius);
  overflow: hidden;
  box-shadow: var(--ph-shadow);
  color: var(--ph-text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ph-card:hover,
.ph-card:focus {
  color: var(--ph-text);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(35, 72, 120, 0.14);
}

.ph-card:focus-visible {
  outline: 3px solid var(--ph-blue);
  outline-offset: 3px;
}

.ph-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eaf4ff, #e6fdff);
  overflow: hidden;
}

.ph-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ph-card:hover .ph-card-media img {
  transform: scale(1.04);
}

.ph-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(60, 150, 255, 0.45);
}

.ph-card-time {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ph-ink);
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  padding: 3px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ph-card-time i {
  vertical-align: -1px;
  margin-right: 2px;
}

.ph-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.ph-card-body h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
}

.ph-card-desc {
  color: var(--ph-text);
  font-size: 14px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ph-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ph-muted);
}

.ph-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ph-card-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--ph-line);
}

.ph-card-body > :nth-last-child(2) {
  margin-bottom: 16px;
}

.ph-card-price-empty {
  align-items: center;
}

.ph-card-amount {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ph-ink);
  line-height: 1.2;
  margin: 2px 0 4px;
}

.ph-card-trend {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.ph-spark {
  display: block;
  overflow: visible;
}

/* Difficulty */
.ph-difficulty {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.ph-difficulty span {
  width: 4px;
  border-radius: 2px;
  background: #d5dee7;
}

.ph-difficulty span:nth-child(1) { height: 5px; }
.ph-difficulty span:nth-child(2) { height: 8px; }
.ph-difficulty span:nth-child(3) { height: 12px; }

.ph-difficulty span.on {
  background: var(--ph-blue);
}

/* Shop badge */
.ph-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ph-ink);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

.ph-shop img {
  height: 24px;
  width: 36px;
  object-fit: contain;
}

.ph-shop-sm {
  font-size: 13px;
}

.ph-shop-sm img {
  height: 18px;
  width: 28px;
}

.ph-shop-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Change badge */
.ph-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

.ph-change i {
  font-size: 10px;
}

.ph-change-down {
  color: var(--ph-good);
  background: #e3f5ea;
}

.ph-change-up {
  color: var(--ph-bad);
  background: #fdecea;
}

.ph-change-flat {
  color: var(--ph-muted);
  background: #eef2f6;
}

.ph-change-suffix {
  font-weight: 400;
}

.ph-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #0b5ed7;
  background: #dbecff;
  border-radius: 20px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 1px;
}

/* Detail */
.ph-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 24px;
}

.ph-back i {
  transition: transform 0.2s;
}

.ph-back:hover i {
  transform: translateX(-3px);
}

.ph-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}

.ph-detail-media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eaf4ff, #e6fdff);
  box-shadow: var(--ph-shadow);
}

.ph-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-detail-media .ph-card-placeholder {
  font-size: 80px;
}

.ph-detail-intro h2 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 14px;
}

.ph-detail-desc {
  font-size: 16px;
  line-height: 27px;
  color: var(--ph-text);
}

.ph-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ph-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--ph-ink);
}

.ph-chip i {
  color: var(--ph-blue);
}

/* Stat tiles */
.ph-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.ph-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border-radius: var(--ph-radius);
  box-shadow: var(--ph-shadow);
  padding: 20px 22px;
}

.ph-tile-primary {
  background: linear-gradient(120deg, #3c96ff, #2dcfff);
}

.ph-tile-label {
  font-size: 13px;
  color: var(--ph-muted);
}

.ph-tile-value {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ph-ink);
  line-height: 1.25;
}

.ph-tile-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 13px;
}

.ph-tile-muted {
  color: var(--ph-muted);
}

.ph-tile-primary .ph-tile-label,
.ph-tile-primary .ph-tile-value,
.ph-tile-primary .ph-tile-muted,
.ph-tile-primary .ph-shop {
  color: #fff;
}

.ph-tile-primary .ph-shop img {
  background: #fff;
  border-radius: 4px;
  padding: 2px;
  height: 22px;
  width: 34px;
}

/* Panels */
.ph-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--ph-shadow);
  padding: 28px;
  margin-bottom: 28px;
}

.ph-panel h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ph-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  margin-bottom: 18px;
}

.ph-panel-sub {
  color: var(--ph-muted);
  font-size: 14px;
}

.ph-panel-empty {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ph-panel-empty > i {
  font-size: 34px;
  color: var(--ph-blue);
}

.ph-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-segmented {
  display: inline-flex;
  background: #eef3f8;
  border-radius: 30px;
  padding: 4px;
}

.ph-segmented button {
  border: 0;
  background: transparent;
  color: var(--ph-text);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ph-segmented button:hover {
  color: var(--ph-ink);
}

.ph-segmented button[aria-pressed="true"] {
  background: #fff;
  color: var(--ph-blue);
  box-shadow: 0 2px 6px rgba(35, 72, 120, 0.12);
}

.ph-segmented button:focus-visible,
.ph-legend button:focus-visible {
  outline: 2px solid var(--ph-blue) !important;
  outline-offset: 2px;
}

/* Legend */
.ph-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ph-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ph-line);
  background: #fff;
  border-radius: 30px;
  padding: 4px 12px 4px 10px;
  font-size: 13px;
  color: var(--ph-ink);
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s, background 0.2s;
}

.ph-legend-item:hover {
  border-color: #c5d3e0;
}

.ph-legend-item img {
  height: 16px;
  width: 24px;
  object-fit: contain;
}

.ph-legend-line {
  width: 14px;
  height: 4px;
  border-radius: 2px;
}

.ph-legend-item.is-off {
  background: #f3f6f9;
  color: var(--ph-muted);
}

.ph-legend-item.is-off .ph-legend-line,
.ph-legend-item.is-off img {
  opacity: 0.3;
}

.ph-legend-item.is-off > span:last-child {
  text-decoration: line-through;
}

.ph-legend-item:disabled {
  cursor: not-allowed;
}

.ph-legend-reset {
  border: 0;
  background: none;
  color: var(--ph-blue);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
}

.ph-legend-note {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--ph-muted);
  margin-top: 2px;
}

.ph-legend-hint {
  font-size: 12px;
  color: var(--ph-muted);
  margin-left: auto;
}

/* Chart */
.ph-chart {
  position: relative;
  width: 100%;
  user-select: none;
}

.ph-svg {
  display: block;
  overflow: visible;
}

.ph-grid-lines line {
  stroke: #edf1f5;
  stroke-width: 1;
}

.ph-axis-label {
  fill: var(--ph-muted);
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
}

.ph-baseline {
  stroke: #cfd9e2;
  stroke-width: 1;
}

.ph-tick {
  stroke: #cfd9e2;
}

.ph-line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ph-series {
  transition: opacity 0.2s;
}

.ph-end-dot,
.ph-hover-dot {
  stroke: #fff;
  stroke-width: 2;
}

.has-highlight .ph-series {
  opacity: 0.15;
}

.has-highlight .ph-series.is-highlight {
  opacity: 1;
}

.has-highlight .ph-series.is-highlight .ph-line {
  stroke-width: 3;
}

.ph-direct-name {
  fill: var(--ph-ink);
  font-size: 13px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}

.ph-direct-value {
  fill: var(--ph-muted);
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
}

.ph-crosshair {
  stroke: #9fb1c2;
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.ph-overlay {
  fill: transparent;
  cursor: crosshair;
  touch-action: pan-y;
  outline: none;
}

.ph-chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-muted);
  background: var(--ph-soft);
  border-radius: 12px;
  font-size: 15px;
}

.ph-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(25, 28, 30, 0.14);
  padding: 10px 12px;
  pointer-events: none;
  font-size: 13px;
}

.ph-tooltip-date {
  font-weight: 600;
  color: var(--ph-ink);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ph-line);
}

.ph-tooltip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  color: var(--ph-ink);
}

.ph-tooltip-row.is-missing {
  color: var(--ph-muted);
}

.ph-tooltip-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.ph-tooltip-name {
  flex: 1;
  white-space: nowrap;
}

.ph-tooltip-name .ph-tag {
  margin-left: 4px;
  font-size: 10px;
}

.ph-tooltip-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.ph-tooltip-row.is-missing .ph-tooltip-value {
  font-weight: 400;
}

.ph-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ph-muted);
}

.ph-explain {
  margin-top: 18px;
  border-top: 1px solid var(--ph-line);
  padding-top: 14px;
}

.ph-explain summary {
  cursor: pointer;
  color: var(--ph-blue);
  font-weight: 500;
  font-size: 14px;
}

.ph-explain p {
  color: var(--ph-text);
  margin-top: 10px;
  font-size: 14px;
  max-width: 760px;
}

/* Table */
.ph-table-wrap {
  overflow-x: auto;
  margin: 0 -8px;
}

.ph-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.ph-table th,
.ph-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--ph-line);
  vertical-align: middle;
}

.ph-table thead th {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ph-muted);
  border-bottom-width: 2px;
  white-space: nowrap;
}

.ph-table tbody tr:last-child th,
.ph-table tbody tr:last-child td {
  border-bottom: 0;
}

.ph-table tbody th {
  font-weight: 400;
}

.ph-table tbody tr.is-cheapest {
  background: #f5faff;
}

.ph-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ph-ink);
}

.ph-col-now {
  width: 32%;
  color: var(--ph-ink);
  font-variant-numeric: tabular-nums;
}

.ph-now {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ph-bar {
  flex: 1;
  height: 8px;
  background: #eef2f6;
  border-radius: 4px;
  overflow: hidden;
  min-width: 60px;
}

.ph-bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
}

.ph-col-now strong {
  font-weight: 600;
  min-width: 70px;
  text-align: right;
}

.ph-diff {
  margin-right: 8px;
}

.ph-date {
  display: block;
  font-size: 12px;
  color: var(--ph-muted);
}

/* Recipe */
.ph-recipe {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: start;
}

.ph-recipe .ph-panel {
  margin-bottom: 0;
}

.ph-ingredients h3 span {
  font-size: 14px;
  font-weight: 400;
  color: var(--ph-muted);
  margin-left: 6px;
}

.ph-ingredient-list {
  margin-top: 14px;
}

.ph-ingredient-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ph-line);
  font-size: 15px;
  color: var(--ph-ink);
}

.ph-ingredient-list li:last-child {
  border-bottom: 0;
}

.ph-qty {
  flex: 0 0 96px;
  text-align: right;
  color: var(--ph-muted);
  font-variant-numeric: tabular-nums;
}

.ph-steps {
  counter-reset: step;
  margin: 18px 0 0;
  padding: 0;
}

.ph-steps li {
  list-style: none;
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 50px;
  font-size: 15px;
  line-height: 26px;
  color: var(--ph-text);
}

.ph-steps li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3c96ff, #2dcfff);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-steps li:last-child {
  padding-bottom: 0;
}

.ph-instruction-text {
  white-space: pre-line;
  font-size: 15px;
  line-height: 26px;
  color: var(--ph-text);
  margin-top: 14px;
}

/* Responsive */
@media (max-width: 991px) {
  .ph-detail-head,
  .ph-recipe {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ph-detail-media {
    aspect-ratio: 16 / 9;
  }

  .ph-empty {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 28px;
  }

  .ph-empty-art {
    flex-basis: auto;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .navbar-expand-md .navbar-collapse {
    background: linear-gradient(to right, #3c96ff, #2dfbff);
    border-radius: 12px;
    padding: 8px 16px 16px;
  }

  .ph-hero .ph-hero-content {
    padding: 120px 0 64px;
  }

  .ph-hero .ph-hero-title {
    font-size: 32px;
  }

  .ph-hero .ph-hero-text {
    font-size: 15px;
    line-height: 26px;
  }

  .ph-detail-intro h2 {
    font-size: 28px;
  }

  .ph-panel {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .ph-legend-hint {
    display: none;
  }

  .ph-tile-value {
    font-size: 24px;
  }

  .ph-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ph-tile {
    padding: 16px;
  }

  .ph-tile-primary,
  .ph-tile:nth-child(4):last-child {
    grid-column: 1 / -1;
  }

  .ph-sort {
    flex: 1 1 100%;
  }

  .ph-sort select {
    flex: 1;
  }

  .ph-search {
    max-width: none;
  }

  .ph-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ph-qty {
    flex-basis: 76px;
  }
}

@media (max-width: 575px) {
  .ph-table {
    min-width: 0;
  }

  .ph-hide-sm,
  .ph-bar,
  .ph-table .ph-change {
    display: none;
  }

  .ph-table .ph-shop img {
    width: 28px;
    height: 20px;
  }

  .ph-tag {
    margin-left: 0;
  }

  .ph-diff {
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-card,
  .ph-card-media img,
  .ph-series {
    transition: none;
  }

  .ph-draw {
    animation: none;
    stroke-dashoffset: 0;
  }
}
