/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file
 * If you need help please contact info@presta.hu
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */
.pshucs, .pshucs * { box-sizing: border-box; }
.pshucs-i { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.pshucs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pshucs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.pshucs-btn.pshucs-done { background: #e8f3ec; border-color: #e8f3ec; color: #1b6b3a; cursor: default; }
.pshucs-msg:empty { display: none; }
.pshucs-msg { display: block; font-size: 13px; margin-top: 4px; }

/* carousel */
.pshucs-xs { margin-top: 24px; clear: both; }
.pshucs-xs-h { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.pshucs-xs-h h2 { margin: 0; }
.pshucs-xs-h p { margin: 2px 0 0; color: #5c5c5c; font-size: 14px; }
.pshucs-nav { margin-left: auto; display: flex; gap: 8px; flex: 0 0 auto; }
.pshucs-nav[hidden] { display: none; }
.pshucs-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cfcfcf; background: #fff; display: grid; place-items: center; cursor: pointer; color: inherit; padding: 0; }
.pshucs-nav button:disabled { opacity: .4; cursor: default; }
.pshucs-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 10px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.pshucs-track:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.pshucs-mini { position: relative; flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); display: flex; flex-direction: column; min-width: 0; }
.pshucs-thumb { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px 4px 0 0; background: #f6f6f6; }
.pshucs-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pshucs-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pshucs-flag { padding: 3px 8px; font-size: 12.5px; font-weight: 700; border-radius: 3px; color: #fff; background: #b3261e; }
.pshucs-flag-new { background: #1f6f8b; }
.pshucs-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pshucs-name { font-weight: 600; font-size: 14.5px; line-height: 1.35; color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pshucs-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pshucs-price b { font-size: 16px; }
.pshucs-price s { color: #6b6b6b; font-size: 13.5px; }
.pshucs-disc { color: #b3261e; font-size: 13px; font-weight: 700; }
.pshucs-body .pshucs-btn { margin-top: auto; }

/* larger pack under a cart line */
.pshucs-ups-list[hidden], .pshucs-ups[hidden] { display: none; }
.pshucs-ups-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pshucs-ups { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin: 10px 0 0; border: 1.5px solid #cfe3d6; border-radius: 6px; background: #f3faf5; flex-wrap: wrap; width: 100%; clear: both; }
.pshucs-ups-t { flex: 1 1 260px; min-width: 0; }
.pshucs-ups-t b { display: block; }
.pshucs-ups-t small { display: block; color: #4a5a50; }
.pshucs-save { display: inline-block; padding: 2px 8px; border-radius: 3px; background: #1b6b3a; color: #fff; font-weight: 700; font-size: 12.5px; margin: 4px 0 2px; white-space: nowrap; }
.pshucs-ups.pshucs-fail { border-color: #e9cfa0; background: #fff8ea; color: #5a4300; }
.pshucs-ups.pshucs-fail > .pshucs-i { color: #8a5000; }
.pshucs-ups.pshucs-done { color: #1b6b3a; }

/* cart pop-up */
.pshucs-scrim { position: fixed; inset: 0; z-index: 1060; background: rgba(0, 0, 0, .5); overflow-y: auto; padding: 48px 16px; }
.pshucs-cmod { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.pshucs-cmod-h { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid #eee; }
.pshucs-cmod-h b { flex: 1; min-width: 0; }
.pshucs-okc { width: 32px; height: 32px; border-radius: 50%; background: #e8f3ec; color: #1b6b3a; display: grid; place-items: center; flex: 0 0 auto; }
.pshucs-x { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; display: grid; place-items: center; color: #444; cursor: pointer; padding: 0; }
.pshucs-x:hover { background: rgba(0, 0, 0, .06); }
.pshucs-added { display: flex; gap: 14px; align-items: center; padding: 16px 20px; }
.pshucs-added img { width: 64px; height: 64px; border-radius: 4px; object-fit: contain; }
.pshucs-added b, .pshucs-added small { display: block; }
.pshucs-added small { color: #5c5c5c; }
.pshucs-offer { margin: 0 20px 20px; padding: 16px; border-radius: 6px; background: #f6f6f6; }
.pshucs-inmodal .pshucs-offer { margin: 16px 0 0; }
.pshucs-oh { font-weight: 700; margin-bottom: 2px; }
.pshucs-ot { color: #5c5c5c; font-size: 14px; margin-bottom: 12px; }
.pshucs-ocard { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 4px; padding: 12px; flex-wrap: wrap; }
.pshucs-ocard img { width: 72px; height: 72px; border-radius: 4px; object-fit: contain; }
.pshucs-oi { flex: 1 1 160px; min-width: 0; }
.pshucs-oi a { display: block; font-weight: 600; color: inherit; }
.pshucs-ocard .pshucs-msg { flex-basis: 100%; }
.pshucs-cmod-f { display: flex; gap: 10px; padding: 0 20px 20px; flex-wrap: wrap; }
.pshucs-cmod-f .btn { flex: 1 1 200px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 1100px) {
  .pshucs-mini { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 760px) {
  .pshucs-mini { flex-basis: 72%; }
  .pshucs-nav, .pshucs-nav:not([hidden]) { display: none; }
  .pshucs-scrim { padding: 16px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pshucs-track { scroll-behavior: auto; }
}
.pshucs-unit { display: block; color: #4a5a50; font-size: 13px; }
.pshucs-attr { display: block; color: #4a5a50; font-size: 13px; }
