/* ===========================================================
   PLÅTVISION – SENAST VISADE PRODUKTER (isolated selectors)
   =========================================================== */
.pv-recent { --pv-green: #012d1d; --pv-gap: 24px; --pv-price-bg: #354A42; width: 100%; max-width: 100%; position: relative; margin: 32px auto; color: #232323; }
.pv-recent[hidden], .pv-recent__nav[hidden] { display: none !important; }
.pv-recent__heading { margin: 0 0 30px !important; padding: 0; text-align: center; color: #111 !important; font-size: clamp(20px, 2.1vw, 30px) !important; font-weight: 800 !important; line-height: 1.2 !important; text-transform: uppercase; }
.pv-recent__viewport { position: relative; }
.pv-recent__track { display: flex; gap: var(--pv-gap); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; padding: 8px 2px 12px; -webkit-overflow-scrolling: touch; }
.pv-recent__track::-webkit-scrollbar { display: none; }
.pv-recent__card { position: relative; flex: 0 0 calc((100% - 72px) / 4); min-width: 0; scroll-snap-align: start; background: #fff; text-align: left; }
.pv-recent[data-columns="2"] .pv-recent__card { flex-basis: calc((100% - 24px) / 2); }
.pv-recent[data-columns="3"] .pv-recent__card { flex-basis: calc((100% - 48px) / 3); }
.pv-recent[data-columns="4"] .pv-recent__card { flex-basis: calc((100% - 72px) / 4); }
.pv-recent[data-columns="5"] .pv-recent__card { flex-basis: calc((100% - 96px) / 5); }
.pv-recent[data-columns="6"] .pv-recent__card { flex-basis: calc((100% - 120px) / 6); }
.pv-recent__media { position: relative; display: grid !important; place-items: center; width: 100%; height: 245px; padding: 10px; background: #f7f8f7; border-radius: 2px; overflow: hidden; text-decoration: none !important; }
.pv-recent__image, .pv-recent__media img { display: block !important; width: 100% !important; height: 100% !important; max-width: 100% !important; object-fit: contain !important; margin: 0 !important; border: none !important; transition: transform .3s ease; }
.pv-recent__media:hover .pv-recent__image { transform: scale(1.04); }
.pv-recent__sale { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 55px; height: 55px; background: #ba263a; color: white; border-radius: 50%; font-weight: 800; font-size: 13px; }
.pv-recent__price { position: relative; z-index: 2; display: inline-flex; flex-wrap: wrap; align-items: center; min-height: 42px; max-width: calc(100% - 10px); margin: -34px 0 15px 10px; padding: 8px 14px; background: var(--pv-price-bg); color: #fff; transform: rotate(-2deg); font-size: clamp(14px, 1.35vw, 21px); font-weight: 800; line-height: 1.08; box-shadow: 1px 2px 0 rgb(0 0 0 / 7%); overflow-wrap: anywhere; }
.pv-recent__price .amount { color: #fff; font-size: inherit; font-weight: 800; }
.pv-recent__price del { font-size: .58em; font-weight: 500; opacity: .78; margin-right: 5px; color: rgba(255,255,255,.85); }
.pv-recent__price del .amount { font-weight: 500; color: rgba(255,255,255,.9); }
.pv-recent__price ins { text-decoration: none; color: #fff; }
.pv-recent__price .woocommerce-price-suffix { font-size: .5em; font-weight: 500; color: rgba(255,255,255,.85); }
.pv-recent__title { padding: 0 !important; margin: 0 0 6px !important; font-size: 15px !important; line-height: 1.45 !important; font-weight: 750 !important; text-transform: uppercase; }
.pv-recent__title a { color: #222 !important; text-decoration: none !important; }
.pv-recent__title a:hover { color: var(--pv-green) !important; }
.pv-recent__description { margin: 0 !important; padding: 0 !important; color: #535353 !important; font-size: 14px !important; line-height: 1.5 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pv-recent__description span { color: var(--pv-green); font-weight: 800; margin-left: 3px; }
.pv-recent__nav { position: absolute; z-index: 5; left: -17px; right: -17px; top: 95px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.pv-recent__arrow { pointer-events: auto; display: grid !important; place-items: center; width: 44px !important; height: 54px !important; min-width: 44px !important; padding: 0 !important; border: 1px solid #e9e9e9 !important; background: rgba(255,255,255,.94) !important; color: #535353 !important; border-radius: 5px !important; cursor: pointer; box-shadow: 0 2px 10px rgb(0 0 0 / 8%); }
.pv-recent__arrow span { font-family: Arial, sans-serif; font-size: 38px; font-weight: 300; line-height: 1; transform: translateY(-2px); }
.pv-recent__arrow:hover:not(:disabled) { color: var(--pv-green) !important; border-color: var(--pv-green) !important; }
.pv-recent__arrow:disabled { opacity: .22; cursor: default; }
.pv-recent__editor-note { margin: 10px 0 0; color: #777; font-size: 13px; text-align: center; }
.pv-recent__card a:focus-visible, .pv-recent__arrow:focus-visible, .pv-recent__track:focus-visible { outline: 2px solid var(--pv-green) !important; outline-offset: 3px; }
@media (max-width: 1024px) { .pv-recent__card, .pv-recent[data-columns] .pv-recent__card { flex-basis: calc((100% - 24px) / 2); } .pv-recent__media { height: 225px; } }
@media (max-width: 600px) { .pv-recent { --pv-gap: 15px; margin: 24px auto; } .pv-recent__heading { font-size: 19px !important; margin-bottom: 16px !important; } .pv-recent__card, .pv-recent[data-columns] .pv-recent__card { flex-basis: 78%; } .pv-recent__media { height: 220px; } .pv-recent__price { margin-top: -28px; font-size: 18px; } .pv-recent__nav { left: -6px; right: -6px; top: 88px; } .pv-recent__arrow { width: 35px !important; min-width: 35px !important; height: 45px !important; } .pv-recent__arrow span { font-size: 31px; } }
@media (prefers-reduced-motion: reduce) { .pv-recent__image, .pv-recent__media img { transition: none; } .pv-recent__media:hover .pv-recent__image { transform: none; } .pv-recent__track { scroll-behavior: auto; } }
