﻿@charset "UTF-8";
/* Patine Osta V31 – fixes for compact recommendations and review form.
   Scoped CSS. Does not change header, footer, other product templates or homepage. */

/* Force compact cards in a single horizontal row even when a child action
   executes its view independently from ProductTemplate.Simple. */
.po-pdp-recommendations,
.po-pdp .po-pdp-recommendations,
.html-product-details-page .po-pdp .po-pdp-recommendations {
  direction:rtl;display:block!important;position:relative;clear:both;
  width:100%!important;max-width:100%;min-width:0;
  margin:27px 0 33px!important;padding:0;background:transparent;
}
.po-pdp-recommendations .po-pdp-rec-heading {display:block!important;border-bottom:1px solid #e5ebe5;margin:0 0 15px!important;padding:0 0 9px!important;text-align:right}
.po-pdp-recommendations .po-pdp-rec-heading h2 {display:block!important;margin:0!important;color:#183b2b!important;font-size:17px!important;font-weight:800!important;line-height:1.8!important;text-align:right!important}
.po-pdp-recommendations .po-pdp-rec-slider {position:relative;display:block;width:100%;min-width:0;max-width:100%;padding:0 1px}
.po-pdp-recommendations .po-pdp-rec-track,
.html-product-details-page .po-pdp .po-pdp-rec-track {
  display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
  direction:rtl;gap:14px!important;width:100%!important;max-width:100%!important;
  min-width:0;overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;
  padding:2px 0 11px!important;box-sizing:border-box;
}
.po-pdp-recommendations .po-pdp-rec-track::-webkit-scrollbar {display:none}
.po-pdp-recommendations .po-pdp-rec-slide,
.html-product-details-page .po-pdp .po-pdp-rec-slide {
  display:block!important;position:relative;flex:0 0 calc((100% - 56px)/5)!important;
  width:calc((100% - 56px)/5)!important;min-width:0!important;max-width:calc((100% - 56px)/5)!important;
  margin:0!important;padding:0!important;align-self:stretch;scroll-snap-align:start;
}
.po-pdp-recommendations .po-pdp-rec-card {display:flex!important;flex-direction:column;min-width:0;width:100%;height:100%;min-height:184px;padding:7px!important;overflow:hidden;background:#fff;border:1px solid #e5eae5;border-radius:10px;box-shadow:0 2px 9px rgba(28,58,39,.03)}
.po-pdp-recommendations .po-pdp-rec-photo {position:relative;display:block;flex:0 0 auto;width:100%!important;height:auto!important;aspect-ratio:1.74/1!important;max-height:none!important;overflow:hidden;background:#f5f2eb;border-radius:7px}
.po-pdp-recommendations .po-pdp-rec-photo img {display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important;max-height:none!important}
.po-pdp-recommendations .po-pdp-rec-new {position:absolute;top:0;right:0;z-index:2;padding:2px 10px;color:#fff;font-size:10px!important;font-weight:700;background:#37bb83;border-radius:0 0 0 7px}
.po-pdp-recommendations .po-pdp-rec-meta {display:flex!important;flex-direction:row;align-items:end;justify-content:space-between;gap:7px;padding:6px 0 1px!important;flex:1;min-width:0}
.po-pdp-recommendations .po-pdp-rec-meta>div {min-width:0;flex:1}
.po-pdp-recommendations .po-pdp-rec-title {display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#233b2c!important;font-size:11px!important;font-weight:700!important;line-height:1.65!important;text-align:right!important;min-height:18px}
.po-pdp-recommendations .po-pdp-rec-price {display:block;margin:4px 0 0;font-size:11px!important;font-weight:800;color:#164832}
.po-pdp-recommendations .po-pdp-rec-unavailable{font-size:10px;color:#89968a}
.po-pdp-recommendations .po-pdp-rec-cart {display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 31px;width:31px;height:31px;padding:6px!important;border:0;border-radius:8px;background:#edf3ec;color:#195c41!important;cursor:pointer}
.po-pdp-recommendations .po-pdp-rec-cart svg{width:17px!important;height:17px!important}
.po-pdp-recommendations .po-pdp-rec-arrow {position:absolute;top:41%;z-index:4;display:flex;align-items:center;justify-content:center;width:31px;height:31px;padding:0;border:1px solid #d9e8dc;border-radius:50%;background:#fff;color:#174b35;cursor:pointer;box-shadow:0 2px 9px rgba(28,58,39,.08)}
.po-pdp-recommendations .po-pdp-rec-arrow-right{right:-18px}
.po-pdp-recommendations .po-pdp-rec-arrow-left{left:-18px}
.po-pdp-recommendations .po-pdp-rec-arrow span {font-size:23px;line-height:1}

/* Review form – same cream white surface, dark evergreen and gold stars. */
.po-pdp .po-review-v31 {font-family:inherit;direction:rtl;text-align:right;max-width:100%;color:#243f33}
.po-pdp .po-review-v31 *{box-sizing:border-box}
.po-pdp .po-review-form-wrap {max-width:790px;margin:0 auto;padding:22px 26px 26px;background:linear-gradient(120deg,#fff 0%,#fcfdfb 100%);border:1px solid #e5ede5;border-radius:14px;box-shadow:0 7px 22px rgba(32,67,46,.05)}
.po-pdp .po-review-form-head h3 {font-size:20px!important;line-height:1.5!important;color:#183f2d!important;font-weight:800!important;margin:0 0 5px!important}
.po-pdp .po-review-form-head p{font-size:12px!important;color:#7a8b7e!important;margin:0 0 17px!important;line-height:1.9!important}
.po-pdp .po-review-form-fields{display:grid;grid-template-columns:1fr;gap:16px}
.po-pdp .po-review-rating-field{background:#f8faf7;border-radius:11px;border:1px solid #e3ebe4;padding:12px 15px}
.po-pdp .po-review-label,.po-pdp .po-review-field label {display:block;margin:0 0 8px!important;color:#263e31;font-size:13px!important;font-weight:800!important;line-height:1.7}
.po-pdp .po-review-rating-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.po-pdp .po-review-stars{display:inline-flex;direction:rtl;align-items:center;gap:3px;min-height:39px}
.po-pdp .po-review-star {display:inline-flex!important;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:4px!important;border:0!important;background:transparent!important;color:#cbd4cb;cursor:pointer;border-radius:8px;transition:color .15s,transform .15s}
.po-pdp .po-review-star svg {display:block;width:32px;height:32px;fill:transparent;stroke:currentColor;stroke-width:1.6;transition:fill .15s,stroke .15s}
.po-pdp .po-review-star.is-selected,.po-pdp .po-review-star.is-preview {color:#f4aa19!important}
.po-pdp .po-review-star.is-selected svg,.po-pdp .po-review-star.is-preview svg {fill:#ffc542;stroke:#f3a911}
.po-pdp .po-review-star:hover {transform:scale(1.1)}
.po-pdp .po-review-star:focus-visible {outline:2px solid #198655!important;outline-offset:0}
.po-pdp .po-review-rating-caption{font-size:12px;color:#536a59;font-weight:700}
.po-pdp .po-review-field {width:100%;min-width:0}
.po-pdp .po-review-input,.po-pdp .po-review-textarea {display:block!important;box-sizing:border-box;width:100%!important;max-width:100%!important;height:auto;margin:0!important;border:1px solid #d8e6dc!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;font-family:inherit!important;font-size:13px!important;font-weight:400;color:#234633!important;text-align:right!important;direction:rtl!important;line-height:1.9!important;outline:none!important}
.po-pdp .po-review-input{min-height:46px!important;padding:9px 15px!important}
.po-pdp .po-review-textarea{min-height:135px!important;padding:12px 15px!important;resize:vertical!important}
.po-pdp .po-review-input:focus,.po-pdp .po-review-textarea:focus{border-color:#4dab7a!important;box-shadow:0 0 0 3px rgba(47,142,99,.1)!important}
.po-pdp .po-review-input::placeholder,.po-pdp .po-review-textarea::placeholder{color:#a2ada4!important}
.po-pdp .po-review-field .field-validation-error,.po-pdp .po-review-rating-field .field-validation-error {display:block;margin:5px 0 0;color:#bf3b43;font-size:11px}
.po-pdp .po-review-form-actions{display:flex;justify-content:flex-start}
.po-pdp .po-review-submit {display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-width:153px;min-height:43px;margin:0;padding:9px 20px!important;border:0!important;border-radius:9px!important;background:#218b60!important;color:#fff!important;font-size:13px!important;font-weight:800!important;cursor:pointer}
.po-pdp .po-review-submit svg{width:17px;height:17px}
.po-pdp .po-review-submit:hover{background:#146e4b!important}
.po-pdp .po-review-notice{background:#eef7ef;padding:13px 16px;border-radius:10px;color:#275a3d}
.po-pdp .po-review-items{margin:0 0 24px}
.po-pdp .po-review-items h3{font-size:17px!important;font-weight:800!important;color:#234332!important}
.po-pdp .po-review-item {display:block;max-width:100%;margin:0 0 12px;padding:15px 18px;background:#fff;border:1px solid #e6ece6;border-radius:11px}
.po-pdp .po-review-item-header{display:flex;justify-content:space-between;align-items:center;gap:15px}
.po-pdp .po-review-item-header strong {font-size:14px;color:#254232}
.po-pdp .po-review-item-byline{display:flex;align-items:center;gap:9px;margin-top:7px;font-size:11px;color:#7a8b7c}
.po-pdp .po-review-item-byline a{color:#267351}
.po-pdp .po-review-readonly-stars{display:inline-flex;gap:2px;direction:rtl;flex:0 0 auto}
.po-pdp .po-review-readonly-stars svg {height:17px;width:17px;fill:transparent;stroke:#cad4ca;stroke-width:1.5}
.po-pdp .po-review-readonly-stars svg.is-active{fill:#ffc542;stroke:#f3a911}
.po-pdp .po-review-item-body{padding-top:12px;color:#405649;font-size:13px;line-height:2}
.po-pdp .po-review-admin-reply{padding:10px 14px;background:#f2f7f2;border-radius:8px;margin-top:13px;color:#42624b;font-size:12px}
.po-pdp .po-review-admin-reply p{margin:5px 0 0!important}
.po-pdp .po-review-helpfulness{margin-top:12px;text-align:left}
@media(max-width:1100px){
 .po-pdp-recommendations .po-pdp-rec-slide,.html-product-details-page .po-pdp .po-pdp-rec-slide{flex-basis:calc((100% - 28px)/3)!important;width:calc((100% - 28px)/3)!important;max-width:calc((100% - 28px)/3)!important}
}
@media(max-width:650px){
 .po-pdp-recommendations .po-pdp-rec-slide,.html-product-details-page .po-pdp .po-pdp-rec-slide{flex-basis:calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important;max-width:calc((100% - 12px)/2)!important}
 .po-pdp-recommendations .po-pdp-rec-track{gap:12px!important}
 .po-pdp-recommendations .po-pdp-rec-arrow-right{right:-5px}
 .po-pdp-recommendations .po-pdp-rec-arrow-left{left:-5px}
 .po-pdp .po-review-form-wrap{padding:15px 13px}
 .po-pdp .po-review-star{width:37px;height:37px}
 .po-pdp .po-review-star svg{width:28px;height:28px}
}
@media(max-width:380px){
 .po-pdp-recommendations .po-pdp-rec-slide,.html-product-details-page .po-pdp .po-pdp-rec-slide{flex-basis:82%!important;width:82%!important;max-width:82%!important}
}
@media(prefers-reduced-motion:reduce){.po-pdp .po-review-star,.po-pdp-recommendations .po-pdp-rec-track{transition:none;scroll-behavior:auto}}
