/* Extracted from inline <style> in templates/storefront/partials/pdp_price_history.html */

/* --- Block 1 --- */

.pdp-price-hist{margin:16px 0 0;padding:16px 18px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}
.pdp-price-hist__head{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.pdp-price-hist__icon{width:20px;height:20px;color:#6366f1;flex-shrink:0}
.pdp-price-hist__title{font-size:14px;font-weight:600;color:#1e293b;margin:0}
.pdp-price-hist__trend{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px}
.pdp-price-hist__trend--up{color:#dc2626;background:#fef2f2}
.pdp-price-hist__trend--down{color:#059669;background:#ecfdf5}
.pdp-price-hist__trend--flat{color:#6b7280;background:#f3f4f6}
.pdp-price-hist__chart{position:relative;width:100%;height:120px;margin:0 0 8px}
.pdp-price-hist__svg{width:100%;height:100%;display:block}
.pdp-price-hist__area{fill:url(#ph-gradient);opacity:.3}
.pdp-price-hist__line{fill:none;stroke:#6366f1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pdp-price-hist__dot{fill:#6366f1;stroke:#fff;stroke-width:2;cursor:default}
.pdp-price-hist__dot:hover{r:5;fill:#4f46e5}
.pdp-price-hist__labels{display:flex;justify-content:space-between;font-size:11px;color:#94a3b8;padding:0 2px}
.pdp-price-hist__label{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60px}
.pdp-price-hist__range{display:flex;justify-content:space-between;font-size:11px;color:#64748b;margin:4px 0 0;padding:0 2px}
.pdp-price-hist__now{font-size:12px;color:#6366f1;font-weight:600}
.pdp-price-hist__tt{position:absolute;pointer-events:none;background:#1e293b;color:#fff;font-size:11px;padding:4px 8px;border-radius:6px;white-space:nowrap;transform:translate(-50%,-110%);opacity:0;transition:opacity .15s}
@media(max-width:640px){
  .pdp-price-hist__chart{height:90px}
  .pdp-price-hist__label{font-size:10px;max-width:45px}
}
@media print{.pdp-price-hist{display:none!important}}
@media(prefers-reduced-motion:reduce){.pdp-price-hist__tt{transition:none}.pdp-price-hist__dot:hover{r:3.5}}
  
