/* TASTE & RATE — Iza etikete. Kompletna zamjena assets/css/tr-pica.css. */
.tr-pica {
  --p-version: 20260912;
  --p-ink: #171918; --p-muted: #686b64; --p-accent: #c74146;
  --p-line: #dcdcd5; --p-serif: 'Libre Baskerville', Georgia, serif;
  --p-chapter: min(88%, 1050px); --p-gap: clamp(24px, 4vw, 56px);
  position: relative; min-width: 0; width: 100%; color: var(--p-ink);
  background: linear-gradient(180deg, #fff 0%, #f4f1eb 22%, #f4f1eb 76%, #fff 100%);
  padding: clamp(56px, 7vw, 100px) 0; font-family: inherit;
}
.tr-pica, .tr-pica *, .tr-pica *::before, .tr-pica *::after { box-sizing: border-box; }
.tr-pica [hidden] { display: none !important; }
.tr-pica__inner { width: 100%; max-width: 1420px; min-width: 0; padding-inline: clamp(16px, 3vw, 42px); margin-inline: auto; }
.tr-pica .tr-pica__head { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: clamp(24px, 5vw, 80px); margin: 0 0 44px; }
.tr-pica .tr-pica__eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--p-accent); }
.tr-pica .tr-pica__title { max-width: 13ch; margin: 0; font: 400 clamp(38px, 4.6vw, 68px)/1.13 var(--p-serif); letter-spacing: -.055em; color: var(--p-ink); text-transform: none; }
.tr-pica .tr-pica__intro { max-width: 35ch; margin: 0 0 5px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: var(--p-muted); }
.tr-pica__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--p-line); padding-block: 18px; }
.tr-pica .tr-pica__edition { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .14em; }
.tr-pica__edition span:last-child { color: var(--p-muted); }
.tr-pica__nav { display: flex; gap: 8px; flex-shrink: 0; }
.tr-pica .tr-pica__arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #bdbfb7; border-radius: 50%; color: var(--p-ink); background: transparent; cursor: pointer; box-shadow: none; transition: background .2s, color .2s, border-color .2s; }
.tr-pica__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.tr-pica .tr-pica__arrow[aria-disabled="true"] { opacity: .35; cursor: default; }
.tr-pica__track { position: relative; display: flex; align-items: stretch; gap: var(--p-gap); width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 0 18px; scrollbar-width: thin; scrollbar-color: #aaa99f transparent; }
.tr-pica__track::after { content: ''; flex: 0 0 max(0px, calc(100% - var(--p-chapter))); margin-inline-start: calc(-1 * var(--p-gap)); }
.tr-pica--ready .tr-pica__track { scrollbar-width: none; cursor: grab; }
.tr-pica--ready .tr-pica__track::-webkit-scrollbar { display: none; }
.tr-pica__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.tr-pica .tr-pica-card { flex: 0 0 var(--p-chapter); width: var(--p-chapter); min-width: 0; margin: 0; opacity: 1; scroll-snap-align: start; }
.tr-pica .tr-pica-card__link { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 4vw, 58px); height: 100%; color: inherit; text-decoration: none !important; -webkit-user-drag: none; }
.tr-pica-card__frame { position: relative; display: block; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; border-radius: 18px; background: #ddd9cd; }
.tr-pica-card__backdrop { position: absolute; inset: -30px; filter: blur(22px); opacity: .42; }
.tr-pica .tr-pica-card__img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; object-fit: contain; }
.tr-pica .tr-pica-card__backdrop .tr-pica-card__img { object-fit: cover; }
.tr-pica-card__photo { position: absolute; inset: 26px 18px; display: block; transform: translate3d(var(--p-x, 0px), 0, 0); }
.tr-pica-card__photo .tr-pica-card__img { transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.tr-pica-card__stamp { position: absolute; top: 18px; left: 18px; font-size: 12px; letter-spacing: .08em; color: #fff; background: #272b26; border-radius: 50%; display: grid; place-items: center; width: 34px; height: 34px; }
.tr-pica-card__score { position: absolute; bottom: 18px; right: 18px; padding: 10px 14px; border-radius: 8px; background: #fff; }
.tr-pica-card__score > span { display: block; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: var(--p-muted); }
.tr-pica-card__score b { font-size: 24px; font-variant-numeric: tabular-nums; color: var(--p-accent); }
.tr-pica-card__score small { padding-left: 4px; font-size: 11px; font-weight: 400; color: var(--p-muted); }
.tr-pica-card__empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; color: var(--p-muted); font: italic 20px/1.5 var(--p-serif); }
.tr-pica-card__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding-block: 20px; }
.tr-pica .tr-pica-card__chapter { margin: 0 0 32px; color: var(--p-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.tr-pica-card__chapter span { margin-left: 12px; color: var(--p-accent); font-variant-numeric: tabular-nums; }
.tr-pica .tr-pica-card__brand { margin: 0 0 10px; color: var(--p-accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tr-pica .tr-pica-card__name { margin: 0; font: 400 clamp(25px, 2.65vw, 39px)/1.22 var(--p-serif); letter-spacing: -.04em; color: var(--p-ink); overflow-wrap: anywhere; text-transform: none; }
.tr-pica .tr-pica-card__story { margin: 20px 0 0; max-width: 40ch; font-size: 16px; line-height: 1.6; color: var(--p-muted); }
.tr-pica .tr-pica-card__facts { display: flex; flex-wrap: wrap; gap: 18px 28px; width: 100%; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--p-line); }
.tr-pica-card__facts dt { margin: 0 0 6px; font-size: 9px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; color: var(--p-muted); }
.tr-pica-card__facts dd { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 600; }
.tr-pica-card__cta { display: inline-flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--p-ink); margin-top: 30px; padding-bottom: 8px; font-size: 13px; font-weight: 600; }
.tr-pica-card__cta > span { display: inline-block; transition: transform .3s ease; }
.tr-pica__foot { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.tr-pica__count { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--p-muted); white-space: nowrap; }
.tr-pica__count b { color: var(--p-accent); margin-right: 10px; }
.tr-pica__progress { flex: 1; height: 2px; overflow: hidden; background: var(--p-line); }
.tr-pica__progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--p-accent); }
.tr-pica .tr-pica__all { margin-inline-start: auto; font-size: 12px; line-height: 1.4; color: var(--p-ink); text-decoration: none; }
.tr-pica__all span { margin-left: 12px; }
.tr-pica a:focus-visible, .tr-pica button:focus-visible, .tr-pica__track:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.tr-pica__sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.tr-pica[dir="rtl"] .tr-pica__progress span { transform-origin: right; }
.tr-pica[dir="rtl"] .tr-pica__arrow svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) {
  .tr-pica .tr-pica__arrow:hover:not([aria-disabled="true"]) { background: var(--p-ink); color: #fff; border-color: var(--p-ink); }
  .tr-pica-card__link:hover .tr-pica-card__photo .tr-pica-card__img { transform: scale(1.025); }
  .tr-pica-card__link:hover .tr-pica-card__cta > span { transform: translate(3px, -3px); }
}
@media (max-width: 1100px) {
  .tr-pica { --p-chapter: 92%; --p-gap: 32px; }
  .tr-pica .tr-pica__head { grid-template-columns: 1.4fr 1fr; }
  .tr-pica .tr-pica-card__chapter { margin-bottom: 22px; }
}
@media (max-width: 700px) {
  .tr-pica { --p-chapter: 88%; --p-gap: 22px; padding-block: 48px; }
  .tr-pica .tr-pica__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .tr-pica .tr-pica__title { font-size: clamp(35px, 9vw, 52px); }
  .tr-pica .tr-pica__intro { max-width: 38ch; font-size: 16px; }
  .tr-pica .tr-pica-card__link { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; }
  .tr-pica-card__frame { aspect-ratio: 1 / 1.06; border-radius: 14px; }
  .tr-pica-card__body { justify-content: flex-start; padding-top: 24px; }
  .tr-pica .tr-pica-card__name { font-size: 27px; }
  .tr-pica .tr-pica-card__story { font-size: 15px; }
  .tr-pica__edition { max-width: 180px; }
  .tr-pica__foot { gap: 14px; margin-top: 4px; }
  .tr-pica-card__photo { inset: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-pica *, .tr-pica *::before, .tr-pica *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tr-pica-card__photo, .tr-pica-card__photo .tr-pica-card__img { transform: none !important; }
}
@media print {
  .tr-pica { background: #fff; padding: 0; }
  .tr-pica__track { display: block; overflow: visible; }
  .tr-pica .tr-pica-card { width: 100%; break-inside: avoid; margin-bottom: 24px; }
  .tr-pica__nav, .tr-pica__progress, .tr-pica__count { display: none !important; }
}
