
:root {
    --pm-dark: #0f172a;
    --pm-dark-2: #1e293b;
    --pm-accent: #f59e0b;
    --pm-accent-hover: #d97706;
    --pm-wa: #25d366;
    --bs-body-bg: #f6f7f9;
    --bs-link-color-rgb: 29, 78, 216;
}

body { background: var(--bs-body-bg); -webkit-tap-highlight-color: transparent; }
.text-accent { color: var(--pm-accent) !important; }
.pre-line { white-space: pre-line; }

.btn-accent { --bs-btn-bg: var(--pm-accent); --bs-btn-border-color: var(--pm-accent); --bs-btn-color: #111;
    --bs-btn-hover-bg: var(--pm-accent-hover); --bs-btn-hover-border-color: var(--pm-accent-hover); --bs-btn-hover-color: #111;
    --bs-btn-active-bg: var(--pm-accent-hover); --bs-btn-active-color: #111; font-weight: 600; }
.btn-whatsapp { --bs-btn-bg: var(--pm-wa); --bs-btn-border-color: var(--pm-wa); --bs-btn-color: #fff;
    --bs-btn-hover-bg: #1ebe5b; --bs-btn-hover-border-color: #1ebe5b; --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #1aa851; --bs-btn-active-color: #fff; font-weight: 600; }
@media (min-width: 768px) { .w-md-auto { width: auto !important; } }

.site-header { background: var(--pm-dark); }
.site-header .navbar { padding-top: calc(.4rem + env(safe-area-inset-top, 0px)); padding-bottom: .4rem; }
.site-header .navbar-brand { font-size: 1.35rem; letter-spacing: -.02em; }

.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand-mark { flex: none; display: block; }
.header-links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.header-links a:hover { color: #fff; }
.site-footer { background: var(--pm-dark); color: rgba(255,255,255,.8); padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { padding: .15rem 0; }

.hero { background: radial-gradient(1200px 400px at 90% -10%, rgba(245,158,11,.25), transparent 60%), linear-gradient(160deg, var(--pm-dark), var(--pm-dark-2)); color: #fff; }
.hero-title { font-size: clamp(1.6rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.hero-lead { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: .75rem 0 1.25rem; }
.trust-strip { background: #fff; border-bottom: 1px solid #e5e7eb; }
.trust-strip .bi { color: var(--pm-accent); margin-right: .3rem; }
.section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.category-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; text-align: center;
    background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem .5rem; color: inherit; text-decoration: none; height: 100%;
    transition: border-color .15s, transform .15s; }
.category-tile:hover { border-color: var(--pm-accent); transform: translateY(-2px); }
.category-tile .bi { font-size: 1.8rem; color: var(--pm-dark-2); }
.category-tile .name { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.category-tile .count { font-size: .75rem; color: #6b7280; }
.build-cta { background: linear-gradient(135deg, var(--pm-dark), #334155); color: #fff; border-radius: 1rem; padding: 1.5rem; }

.product-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem;
    overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { border-color: #cbd5e1; box-shadow: 0 6px 20px rgba(15,23,42,.08); }
.product-thumb { position: relative; aspect-ratio: 1; background: #fff; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cond-badge { position: absolute; top: .4rem; left: .4rem; font-weight: 600; }
.cond-badge.static { position: static; }
.cond-NEW { background: #16a34a; }
.cond-OPEN_BOX { background: #2563eb; }
.cond-USED { background: #475569; }
.product-body { padding: .5rem .6rem .7rem; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.product-title { font-size: .9rem; font-weight: 600; line-height: 1.25; margin: .1rem 0 .3rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { font-size: .72rem; color: #16a34a; display: flex; gap: .4rem; flex-wrap: wrap; min-height: 1rem; }
.product-price { margin-top: auto; padding-top: .25rem; font-weight: 800; font-size: 1.05rem; color: var(--pm-dark); }
@media (min-width: 768px) { .product-title { font-size: .95rem; } .product-price { font-size: 1.15rem; } }

.filter-group { border-bottom: 1px solid #e5e7eb; padding: .75rem 0; }
.filter-group:first-of-type { padding-top: 0; }
.filter-title { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.filter-form .form-check { padding-top: .15rem; padding-bottom: .15rem; }
.filter-form .form-check-input { width: 1.15em; height: 1.15em; }
.filter-actions { padding-top: 1rem; }
@media (max-width: 991.98px) {
    .filter-actions { position: sticky; bottom: 0; background: #fff; padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 992px) {
    .offcanvas-lg .offcanvas-body { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem; }
}
.empty-state { text-align: center; padding: 3rem 1rem; background: #fff; border: 1px dashed #cbd5e1; border-radius: .75rem; }
.empty-state .bi { font-size: 2rem; color: #94a3b8; }
.pagination .page-link { min-width: 2.5rem; text-align: center; }

.product-page { padding-bottom: 5.5rem !important; }
@media (min-width: 992px) { .product-page { padding-bottom: 1rem !important; } }
.gallery { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; overflow: hidden; }

.gallery .carousel-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.gallery .carousel-control-prev-icon, .gallery .carousel-control-next-icon { background-color: rgba(15,23,42,.55); border-radius: 50%; background-size: 55%; width: 2.25rem; height: 2.25rem; }
.gallery-counter { position: absolute; right: .6rem; bottom: .6rem; background: rgba(15,23,42,.7); color: #fff; font-size: .75rem; padding: .1rem .5rem; border-radius: 1rem; }
.gallery-thumbs { display: flex; gap: .4rem; overflow-x: auto; padding: .5rem 0; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: .5rem; background: #fff; overflow: hidden; }
.gallery-thumbs button.active { border-color: var(--pm-accent); }
.gallery-thumbs img { display: block; width: 64px; height: 64px; object-fit: cover; }
.product-h1 { font-size: clamp(1.3rem, 4.5vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin-bottom: .5rem; }
.price-box { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: .75rem 1rem; }
.price-box .price { font-size: 1.9rem; font-weight: 800; color: var(--pm-dark); line-height: 1.1; }
.availability { font-size: .9rem; font-weight: 600; margin-top: .2rem; }
.lead-sm { font-size: 1rem; color: #334155; }
.perks li { padding: .2rem 0; }
.perks .bi { color: var(--pm-accent); margin-right: .35rem; }
.test-notes { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: .75rem; padding: .75rem 1rem; font-size: .92rem; }
.spec-table { background: #fff; border-radius: .5rem; overflow: hidden; border: 1px solid #e5e7eb; }
.spec-table th { width: 42%; font-weight: 600; color: #475569; background: #f8fafc; }
.spec-table th, .spec-table td { padding: .5rem .75rem; }
.description { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem; overflow-wrap: anywhere; }
.description > :last-child { margin-bottom: 0; }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; gap: .5rem;
    background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -4px 16px rgba(15,23,42,.08);
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px)); }
.buy-bar-price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; margin-right: auto; }
.buy-bar .btn { padding-top: .6rem; padding-bottom: .6rem; }
.buy-bar .btn-accent { max-width: 55%; }

.form-card { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem; }
@media (min-width: 768px) { .form-card { padding: 1.5rem; } }
.form-control, .form-select { font-size: 16px; background-color: #fff; }
.choice-card { display: block; border: 2px solid #e5e7eb; border-radius: .75rem; padding: .75rem 1rem; cursor: pointer; background: #fff; }
.choice-card:has(input:checked) { border-color: var(--pm-accent); background: #fffbeb; }
.choice-card .form-check-input { margin-right: .5rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.order-summary img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding-left: 2.6rem; margin-bottom: 1rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem;
    border-radius: 50%; background: var(--pm-accent); color: #111; font-weight: 700; display: grid; place-items: center; }

.prose { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.25rem; max-width: 820px; }
.prose h2 { font-size: 1.15rem; font-weight: 700; margin-top: 1.5rem; }
.prose h2:first-child { margin-top: 0; }

.category-tile.is-empty { opacity: .72; }
.category-tile .count.out-of-stock { color: #b45309; font-weight: 600; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
html { scroll-behavior: smooth; }

.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15,23,42,.28); }

.btn { transition: transform .12s ease, background-color .15s, border-color .15s, box-shadow .15s; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 1.2rem; height: 1.2rem;
  border: 2px solid rgba(17,24,39,.35); border-top-color: #111827; border-radius: 50%; animation: pm-spin .7s linear infinite;
}
@keyframes pm-spin { to { transform: rotate(360deg); } }

.product-thumb, .gallery .carousel-item a { background: linear-gradient(100deg, #f1f5f9 30%, #e2e8f0 50%, #f1f5f9 70%) #f1f5f9; background-size: 300% 100%; animation: pm-shimmer 1.3s ease-in-out infinite; }
.product-thumb:has(img.is-loaded), .gallery .carousel-item a:has(img.is-loaded) { animation: none; background: #fff; }
.js img[data-fade] { opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.js img[data-fade].is-loaded { opacity: 1; }
@keyframes pm-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.product-card { transition: box-shadow .2s ease, border-color .2s ease, transform .15s ease; }
.product-card:active { transform: scale(.985); }
@media (hover: hover) {
  .product-card:hover { transform: translateY(-3px); }
  .product-card:hover .product-thumb img.is-loaded { transform: scale(1.04); }
}
.product-thumb { overflow: hidden; }
.category-tile:active { transform: scale(.97); }

.reveal-pending { opacity: 0; transform: translateY(14px); }
.reveal { transition: opacity .45s ease var(--reveal-delay, 0ms), transform .45s ease var(--reveal-delay, 0ms); }

[data-catalog-grid] { transition: opacity .2s ease; }
[data-catalog-grid].is-busy { opacity: .45; pointer-events: none; }

.buy-bar { animation: pm-slide-up .35s ease-out both; }
@keyframes pm-slide-up { from { transform: translateY(100%); } to { transform: none; } }

.to-top {
  position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 1020;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pm-dark); color: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.3); opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 992px) { .to-top { bottom: 24px; } }

.form-control, .form-select { transition: border-color .15s ease, box-shadow .15s ease; }
.form-control:focus, .form-select:focus { border-color: var(--pm-accent); box-shadow: 0 0 0 .2rem rgba(245,158,11,.2); }
.choice-card { transition: border-color .15s ease, background-color .15s ease, transform .12s ease; }
.choice-card:active { transform: scale(.99); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

.upcoming-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bs-border-color);
    border-radius: .75rem; overflow: hidden; height: 100%;
}
.upcoming-thumb { position: relative; aspect-ratio: 4 / 3; background: #f1f3f5; }
.upcoming-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upcoming-placeholder { display: grid; place-items: center; height: 100%; font-size: 2.5rem; color: #adb5bd; }
.upcoming-badge { position: absolute; top: .5rem; left: .5rem; font-size: .7rem; letter-spacing: .02em; }
.upcoming-body { padding: .85rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.upcoming-meta { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .8rem; color: #6c757d; }
.upcoming-meta li { display: inline-flex; align-items: center; gap: .25rem; }
.upcoming-body > div:last-child, .upcoming-body > a { margin-top: auto; }
.upcoming-waiting { color: #6c757d; margin-top: .6rem; display: flex; align-items: center; gap: .35rem; }

.trade-badge { position: absolute; top: .4rem; right: .4rem; background: var(--pm-dark); color: #fde68a; font-weight: 600; }
.trade-badge.static { position: static; }
.trade-proof { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: .6rem; padding: .85rem 1rem; }
.trade-proof li { margin-bottom: .2rem; }

.wish-cta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .9rem 1.1rem;
    background: #fffbeb; border: 1px solid #fde68a; border-radius: .75rem; color: inherit; text-decoration: none;
    transition: border-color .15s, background-color .15s; }
.wish-cta:hover { border-color: var(--pm-accent); background: #fef3c7; }
.wish-cta > .bi { font-size: 1.5rem; color: var(--pm-accent-hover); }
.wish-cta > span:first-of-type { flex: 1 1 16rem; }
.wish-cta-go { font-weight: 600; white-space: nowrap; color: var(--pm-dark); }

.pm-chat-fab {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 1035;
    display: inline-flex; align-items: center; gap: .5rem; height: 52px; padding: 0 1.1rem 0 .9rem; border: 0; border-radius: 999px;
    background: var(--pm-accent); color: #111; font-weight: 700; font-size: .95rem; text-decoration: none;
    box-shadow: 0 10px 24px rgba(15,23,42,.3); cursor: pointer; transition: transform .15s ease, background-color .15s;
}
.pm-chat-fab:hover { background: var(--pm-accent-hover); color: #111; transform: translateY(-2px); }
.pm-chat-fab .bi { font-size: 1.35rem; }
.pm-chat-fab-wa { background: var(--pm-wa); color: #fff; padding: 0; width: 52px; justify-content: center; }
.pm-chat-fab-wa:hover { background: #1ebe5b; color: #fff; }
@media (max-width: 575.98px) { .pm-chat-fab-label { display: none; } .pm-chat-fab { padding: 0; width: 52px; justify-content: center; } }

.has-chat .product-page ~ .pm-chat-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.has-chat .product-page ~ .to-top { bottom: calc(148px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 992px) {
    .has-chat .to-top, .has-chat .product-page ~ .to-top { bottom: 84px; }
    .has-chat .product-page ~ .pm-chat-fab { bottom: 16px; }
}
body.pm-chat-open .pm-chat-fab { display: none; }

.pm-chat {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 1040;
    width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 32px - env(safe-area-inset-bottom, 0px)));
    display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,23,42,.3); animation: pm-chat-in .22s ease-out both;
}
.pm-chat[hidden] { display: none; }
@keyframes pm-chat-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 575.98px) {
    .pm-chat { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
    .pm-chat-head { padding-top: calc(.75rem + env(safe-area-inset-top, 0px)); }
    .pm-chat-form { padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); }
    body.pm-chat-open { overflow: hidden; }
}
.pm-chat-head { display: flex; align-items: center; gap: .65rem; padding: .75rem .9rem; background: var(--pm-dark); color: #fff; }
.pm-chat-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.pm-chat-titles { min-width: 0; flex: 1; }
.pm-chat-title { font-weight: 700; line-height: 1.2; }
.pm-chat-sub { font-size: .74rem; color: rgba(255,255,255,.7); line-height: 1.25; }
.pm-chat-close { flex: none; filter: invert(1); opacity: .8; }
.pm-chat-finder-btn { flex: none; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; font-size: .75rem; padding: .25rem .6rem; white-space: nowrap; }
.pm-chat-finder-btn:hover { background: rgba(255,255,255,.12); }
.pm-chat-finder-btn .bi { color: var(--pm-accent); }
@media (max-width: 400px) { .pm-chat-sub { display: none; } }
.pm-chat-notice .pm-chat-text { background: #fffbeb; border-color: #fde68a; font-size: .85rem; }

.pm-chat-finder { width: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; border-bottom-left-radius: .3rem; padding: .7rem .8rem; margin-top: .4rem; }
.pm-chat-finder.is-answered { opacity: .6; }
.pm-chat-finder-q { font-weight: 600; font-size: .9rem; margin-bottom: .5rem; display: flex; gap: .5rem; align-items: baseline; }
.pm-chat-finder-n { font-size: .72rem; color: #64748b; font-weight: 500; }
.pm-chat-finder-options { display: flex; flex-direction: column; gap: .35rem; }
.pm-chat-option { text-align: left; border: 1px solid #cbd5e1; background: #f8fafc; border-radius: .6rem; padding: .5rem .7rem; font-size: .88rem; transition: border-color .15s, background-color .15s; }
.pm-chat-option:hover:not(:disabled) { border-color: var(--pm-accent); background: #fffbeb; }
.pm-chat-finder-range { display: flex; flex-direction: column; gap: .4rem; }
.pm-chat-finder-value { font-weight: 700; color: var(--pm-dark); }
.pm-chat-finder .pm-chat-text { padding: 0; border: 0; background: transparent; margin-bottom: .4rem; }

.pm-chat-lead { width: 100%; display: flex; flex-direction: column; gap: .45rem; margin-top: .5rem; padding: .7rem .8rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: .75rem; }
.pm-chat-lead-title { font-weight: 700; font-size: .88rem; }
.pm-chat-lead-wanted { font-size: .8rem; color: #475569; }
.pm-chat-lead label { display: flex; flex-direction: column; gap: .15rem; font-size: .78rem; color: #475569; }
.pm-chat-lead .form-control { font-size: 16px; }
.pm-chat-lead-error { font-size: .8rem; color: #b91c1c; }
.pm-chat-lead-done { margin-top: .5rem; padding: .6rem .8rem; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: .75rem; font-size: .88rem; }
.pm-chat-log { flex: 1; overflow-y: auto; padding: 1rem .9rem .5rem; display: flex; flex-direction: column; gap: .6rem; background: #f6f7f9; scroll-behavior: smooth; }
.pm-chat-msg { max-width: 88%; display: flex; flex-direction: column; animation: pm-chat-msg-in .18s ease-out both; }
@keyframes pm-chat-msg-in { from { opacity: 0; transform: translateY(6px); } }
.pm-chat-text { padding: .55rem .8rem; border-radius: 1rem; font-size: .93rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.pm-chat-user { align-self: flex-end; align-items: flex-end; }
.pm-chat-user .pm-chat-text { background: var(--pm-dark); color: #fff; border-bottom-right-radius: .3rem; }
.pm-chat-assistant { align-self: flex-start; align-items: flex-start; }
.pm-chat-assistant .pm-chat-text { background: #fff; border: 1px solid #e5e7eb; border-bottom-left-radius: .3rem; }
.pm-chat-cards { display: flex; flex-direction: column; gap: .4rem; margin-top: .4rem; width: 100%; }
.pm-chat-card { display: flex; align-items: center; gap: .6rem; padding: .4rem .6rem .4rem .4rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; color: inherit; text-decoration: none; transition: border-color .15s; }
.pm-chat-card:hover { border-color: var(--pm-accent); color: inherit; }
.pm-chat-card img { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: .5rem; background: #fff; border: 1px solid #f1f5f9; }
.pm-chat-card-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pm-chat-card-title { font-weight: 600; font-size: .85rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-chat-card-meta { font-size: .78rem; color: #475569; }
.pm-chat-card-price { font-weight: 700; color: var(--pm-dark); }
.pm-chat-typing { display: flex; align-items: center; gap: .5rem; padding: .3rem .9rem .5rem; font-size: .8rem; color: #64748b; background: #f6f7f9; }
.pm-chat-typing[hidden] { display: none; }
.pm-chat-dots { display: inline-flex; gap: 3px; }
.pm-chat-dots i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: pm-chat-dot 1s infinite ease-in-out; }
.pm-chat-dots i:nth-child(2) { animation-delay: .15s; }
.pm-chat-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pm-chat-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.pm-chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .6rem .75rem; border-top: 1px solid #e5e7eb; background: #fff; }
.pm-chat-input { flex: 1; resize: none; border: 1px solid #cbd5e1; border-radius: 1rem; padding: .5rem .85rem; font-size: 16px; line-height: 1.35; max-height: 120px; outline: 0; }
.pm-chat-input:focus { border-color: var(--pm-accent); box-shadow: 0 0 0 .2rem rgba(245,158,11,.2); }
.pm-chat-send { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--pm-accent); color: #111; display: grid; place-items: center; }
.pm-chat-send:disabled { opacity: .5; }
.pm-chat-foot { padding: .35rem .9rem calc(.5rem + env(safe-area-inset-bottom, 0px)); font-size: .7rem; color: #64748b; background: #fff; text-align: center; }
.pm-chat-foot a { font-weight: 600; }

.upcoming-strip { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x mandatory; }
.upcoming-strip > * { flex: 0 0 min(220px, 70%); scroll-snap-align: start; }
@media (min-width: 768px) { .upcoming-strip { overflow: visible; } .upcoming-strip > * { flex: 1 1 0; } }

.header-search { background: var(--pm-dark); padding: 0 0 .55rem; }
.header-search form { position: relative; display: flex; align-items: center; }
.header-search i { position: absolute; left: .75rem; color: rgba(255,255,255,.5); font-size: .95rem; pointer-events: none; }
.header-search input {
    width: 100%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: #fff;
    border-radius: 999px; padding: .45rem .9rem .45rem 2.3rem; font-size: .95rem;
}
.header-search input::placeholder { color: rgba(255,255,255,.55); }
.header-search input:focus {
    outline: none; background: rgba(255,255,255,.14); border-color: var(--pm-accent);
    box-shadow: 0 0 0 .2rem rgba(245,158,11,.25);
}
.header-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
@media (min-width: 992px) { .header-search .container { max-width: 640px; margin-inline: auto; } }

.search-page-form { position: relative; display: flex; align-items: center; gap: .5rem; }
.search-page-form i { position: absolute; left: .85rem; color: #94a3b8; pointer-events: none; }
.search-page-form input {
    flex: 1; min-width: 0; border: 1px solid #d7dce3; border-radius: .6rem;
    padding: .6rem .9rem .6rem 2.4rem; font-size: 1rem; background: #fff;
}
.search-page-form input:focus {
    outline: none; border-color: var(--pm-accent); box-shadow: 0 0 0 .2rem rgba(245,158,11,.2);
}

.state-badge { position: absolute; top: .4rem; right: .4rem; font-weight: 700; letter-spacing: .04em; }
.state-badge.static { position: static; }
.state-reserved { background: #b45309; }
.state-sold { background: #b91c1c; }
.product-card:has(.state-reserved) .product-thumb img { opacity: .75; }
.product-specline { font-size: .75rem; color: #475569; margin-bottom: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sold-note { display: flex; gap: .5rem; align-items: flex-start; background: #fef2f2; border: 1px solid #fecaca; border-radius: .75rem; padding: .65rem .85rem; margin-bottom: .75rem; font-size: .92rem; }
.sold-note > .bi { color: #b91c1c; margin-top: .1rem; }
.sold-note.reserved-note { background: #fffbeb; border-color: #fde68a; }
.sold-note.reserved-note > .bi { color: #b45309; }
.tested-block { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: .75rem; padding: .75rem 1rem; margin-bottom: .75rem; }
.tested-block .temp { display: flex; flex-direction: column; background: #fff; border: 1px solid #a7f3d0; border-radius: .6rem; padding: .35rem .75rem; min-width: 7.5rem; }
.tested-block .temp-value { font-size: 1.35rem; font-weight: 800; color: #047857; line-height: 1.1; }
.tested-block .temp-label { font-size: .75rem; color: #475569; }
.min-w-0 { min-width: 0; }

.combo-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem;
    overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s ease, border-color .2s ease, transform .15s ease; }
.combo-card:hover { border-color: var(--pm-accent); box-shadow: 0 6px 20px rgba(15,23,42,.08); }
.combo-card:active { transform: scale(.985); }
.combo-thumbs, .combo-hero { position: relative; display: grid; gap: 2px; background: #e5e7eb; aspect-ratio: 2 / 1; }
.combo-thumbs.n-1, .combo-hero.n-1 { grid-template-columns: 1fr; }
.combo-thumbs.n-2, .combo-hero.n-2, .combo-thumbs.n-3, .combo-hero.n-3, .combo-thumbs.n-4, .combo-hero.n-4 { grid-template-columns: 1fr 1fr; }
.combo-thumbs.n-3, .combo-thumbs.n-4, .combo-hero.n-3, .combo-hero.n-4 { aspect-ratio: 1; }
.combo-thumbs.n-3 img:first-child, .combo-hero.n-3 img:first-child { grid-row: span 2; }
.combo-thumbs img, .combo-hero img { width: 100%; height: 100%; object-fit: contain; background: #fff; min-height: 0; }
.combo-hero { border: 1px solid #e5e7eb; border-radius: .75rem; overflow: hidden; }
.combo-save { position: absolute; left: .5rem; bottom: .5rem; background: #15803d; font-weight: 700; font-size: .8rem; }
.combo-save.static { position: static; }
.combo-body { padding: .6rem .75rem .8rem; display: flex; flex-direction: column; flex: 1; }
.combo-title { font-size: 1rem; font-weight: 700; line-height: 1.25; margin: 0 0 .15rem; }
.combo-sub { font-size: .82rem; color: #475569; }
.combo-members { font-size: .78rem; color: #6b7280; margin: .25rem 0 .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.combo-prices { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.combo-was { color: #6b7280; font-size: .85rem; }
.combo-price { font-weight: 800; font-size: 1.15rem; color: var(--pm-dark); }
.combo-member { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: .75rem; margin-bottom: .75rem; }
.combo-member-head { display: flex; gap: .75rem; align-items: center; color: inherit; text-decoration: none; margin-bottom: .5rem; }
.combo-member-head img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; flex: none; }
.order-summary-mini { width: 40px; height: 40px; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; border-radius: .35rem; }
