/* GPSFleet Shop — loaded on /shop pages only, on top of app.css */

/* ---------- shop bar ---------- */
.shop-bar { background: var(--surface); border-bottom: 1px solid var(--line); padding: .55rem 0; position: relative; z-index: 20; }
.shop-bar .btn-dark { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.shop-search { position: relative; display: flex; max-width: 640px; }
.shop-search .form-control { border-radius: 999px; padding: .45rem 3rem .45rem 1rem; border-color: var(--line); background: #fff; }
.shop-search > .btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border-radius: 999px; padding: .25rem .7rem; }
.shop-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 50; }
.shop-suggest a { display: flex; gap: .7rem; align-items: center; padding: .5rem .8rem; color: var(--text); text-decoration: none; font-size: .92rem; }
.shop-suggest a:hover, .shop-suggest a.active { background: var(--surface); }
.shop-suggest img, .shop-suggest .ph { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--surface); flex: none; display: grid; place-items: center; color: var(--muted); }
.shop-suggest .s-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-suggest .s-price { font-weight: 700; color: var(--ink); font-size: .85rem; white-space: nowrap; }
.shop-suggest .s-all { justify-content: center; font-weight: 600; color: var(--brand-700); border-top: 1px solid var(--line); }
.shop-bar-link { position: relative; display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .35rem .45rem; border-radius: 8px; white-space: nowrap; }
.shop-bar-link:hover { background: #fff; color: var(--brand-700); }
.shop-bar-link .bi { font-size: 1.2rem; }
.shop-bar-link b { position: absolute; top: -2px; left: 18px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand-700); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }
.shop-bar-link b.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.shop-mega { width: min(1100px, 92vw); padding: 1.4rem 1.5rem 1rem; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shop-mega-head { display: flex; gap: .45rem; align-items: center; font-weight: 700; color: var(--ink); text-decoration: none; margin-bottom: .35rem; font-size: .95rem; }
.shop-mega-head .bi { color: var(--brand-700); }
.shop-mega ul a { display: block; color: var(--muted); text-decoration: none; font-size: .88rem; padding: .12rem 0; }
.shop-mega ul a:hover { color: var(--brand-700); }
.mega-foot { display: flex; flex-wrap: wrap; gap: 1.5rem; border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; }
.mega-foot a { font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; }

/* ---------- page heads, hero ---------- */
.shop-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1.6rem 0 1.4rem; }
.shop-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.shop-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(57, 186, 83, .14), transparent 60%), var(--surface); padding: clamp(2.2rem, 1.5rem + 3vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.shop-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.shop-hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.shop-trust li { display: inline-flex; gap: .45rem; align-items: center; font-weight: 600; font-size: .92rem; color: var(--ink); }
.shop-trust .bi { color: var(--brand-700); }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.shop-intro { color: var(--muted); max-width: 75ch; }

/* ---------- category tiles ---------- */
.shop-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.shop-cat-tile { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem 1.1rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.shop-cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.shop-cat-tile .ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-size: 1.3rem; margin-bottom: .4rem; }
.shop-cat-tile small { color: var(--muted); }
.shop-brand-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-brand-row a { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; }
.shop-brand-row a:hover { border-color: var(--brand); color: var(--brand-700); }

/* ---------- product grid & card ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } }
@media (min-width: 1200px) { .shop-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 46%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
.shop-scroll > * { scroll-snap-align: start; }
@media (min-width: 768px) { .shop-scroll { grid-auto-columns: minmax(220px, calc(25% - .85rem)); } }
.shop-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.shop-card:hover { box-shadow: var(--shadow); border-color: #cfd8de; }
.shop-card-img { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.shop-card-img picture, .shop-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.shop-card-img img { object-fit: contain; padding: 6%; transition: opacity .3s; }
.shop-card-img .img-b, .shop-card-img .img-b img { opacity: 0; }
@media (hover: hover) { .shop-card:hover .img-b, .shop-card:hover .img-b img { opacity: 1; } .shop-card:hover .img-b ~ * {} }
.shop-card-noimg, .pdp-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #c2ccd3; font-size: 2.5rem; background: var(--surface); }
.shop-badge { position: absolute; top: .6rem; left: .6rem; z-index: 2; padding: .15rem .55rem; border-radius: 6px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; }
.shop-badge.sale { background: #c2410c; }
.shop-wish { position: absolute; top: .5rem; right: .5rem; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); color: var(--ink); display: grid; place-items: center; }
.js-wish > svg:nth-of-type(2) { display: none; }
.js-wish[aria-pressed="true"] > svg:nth-of-type(1) { display: none; }
.js-wish[aria-pressed="true"] > svg:nth-of-type(2) { display: inline-block; color: #dc2626; }
.shop-card-body { display: flex; flex-direction: column; gap: .2rem; padding: .8rem .9rem .9rem; flex: 1; }
.shop-card-brand { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-decoration: none; }
.shop-card-title { font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card-title a { color: var(--ink); text-decoration: none; }
.shop-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.shop-card-title a:hover { color: var(--brand-700); }
.shop-card-rating { font-size: .8rem; color: var(--muted); }
.shop-card-foot { margin-top: auto; padding-top: .45rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .25rem .5rem; }
.shop-price strong { color: var(--ink); font-size: 1.05rem; }
.shop-price del { color: var(--muted); font-size: .82rem; margin-left: .2rem; }
.shop-price-quote { color: var(--brand-700); font-weight: 600; font-size: .9rem; }
.shop-stock { font-size: .75rem; font-weight: 600; color: var(--brand-700); }
.shop-stock.outofstock { color: #b91c1c; }
.shop-stock.backorder, .shop-stock.preorder { color: #b45309; }
.stars { color: #f59e0b; display: inline-flex; gap: 1px; vertical-align: -1px; }
.stars-lg { font-size: 1.3rem; }

/* ---------- listing ---------- */
.shop-cats-chips, .shop-chips { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .3rem; }
.shop-chips a { flex: none; display: inline-flex; gap: .35rem; align-items: center; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.shop-chips a span { color: var(--muted); font-weight: 500; font-size: .8rem; }
.shop-chips a.active, .shop-chips a:hover { border-color: var(--brand-700); color: var(--brand-700); }
.shop-chips a.active { background: var(--brand-50); }
.shop-filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
@media (min-width: 992px) { .shop-filters { position: sticky; top: 90px; } }
.shop-filter + .shop-filter { border-top: 1px solid var(--line); margin-top: .9rem; padding-top: .9rem; }
.shop-filter legend, .shop-filter > .form-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.shop-filter .form-check { font-size: .92rem; }
.shop-filter .scroll { max-height: 220px; overflow-y: auto; }
.shop-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.shop-empty > .bi { font-size: 2.6rem; color: #b5c1ca; }
.pagination { --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--brand-700); --bs-pagination-active-border-color: var(--brand-700); --bs-pagination-border-radius: 10px; gap: .3rem; }
.pagination .page-link { border-radius: 10px !important; }

/* ---------- product page ---------- */
.pdp-gallery { position: sticky; top: 90px; }
.pdp-main { position: relative; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pdp-slide { position: absolute; inset: 0; border: 0; padding: 4%; background: #fff; opacity: 0; visibility: hidden; transition: opacity .25s; cursor: zoom-in; }
.pdp-slide.active { opacity: 1; visibility: visible; }
.pdp-slide picture, .pdp-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-thumbs { display: flex; gap: .5rem; margin-top: .7rem; overflow-x: auto; padding-bottom: .2rem; }
.pdp-thumb { flex: none; width: 72px; height: 72px; padding: 4px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.active { border-color: var(--brand-700); }
.pdp-price strong { font-family: var(--head); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); color: var(--ink); letter-spacing: -.02em; }
.pdp-price del { color: var(--muted); font-size: 1.1rem; margin-left: .4rem; }
.pdp-sale-ends { display: inline-block; margin-left: .5rem; padding: .1rem .5rem; border-radius: 6px; background: #fff1e6; color: #9a3412; font-size: .8rem; font-weight: 700; }
.pdp-summary { color: var(--text); font-size: 1.02rem; }
.pdp-variants { display: flex; flex-wrap: wrap; gap: .4rem; }
.pdp-variants .btn { border-radius: 10px; }
.pdp-variants .btn-check:checked + .btn { background: var(--ink); color: #fff; }
.pdp-install { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem .75rem 2.4rem; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid #c9d3da; border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: transparent; width: 42px; color: var(--ink); }
.qty button:hover { background: var(--surface); }
.qty input { width: 52px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty-sm button { width: 32px; }
.qty-sm input { width: 40px; font-size: .92rem; }
.pdp-assure { display: grid; gap: .9rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.pdp-assure li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; }
.pdp-assure li > .bi { flex: none; font-size: 1.3rem; color: var(--brand-700); margin-top: .1rem; }
.pdp-tabs { position: sticky; top: 72px; z-index: 5; display: flex; gap: 1.5rem; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.pdp-tabs a { padding: .8rem 0; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.pdp-tabs a:hover, .pdp-tabs a.active { color: var(--ink); border-color: var(--brand-700); }
.pdp-section { scroll-margin-top: 130px; margin-bottom: 2.5rem; }
.pdp-specs th { width: 38%; background: var(--surface); font-weight: 600; color: var(--ink); }
.pdp-specs th, .pdp-specs td { padding: .6rem .8rem; font-size: .94rem; }
.pdp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; gap: .8rem; align-items: center; justify-content: space-between; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 22, 32, .25); transform: translateY(110%); transition: transform .25s; }
.pdp-sticky.show { transform: none; }
.pdp-sticky > div { min-width: 0; }
.pdp-sticky strong { font-size: 1.1rem; color: var(--ink); }
body:has(.pdp-sticky.show) .wa-float { bottom: 84px; }

/* reviews */
.review-summary { background: var(--surface); border-radius: var(--radius); padding: 1.2rem; }
.review-bar { display: grid; grid-template-columns: 2.6rem 1fr 2rem; gap: .5rem; align-items: center; font-size: .85rem; color: var(--muted); }
.review-bar .bi { color: #f59e0b; }
.review-bar div { height: 8px; border-radius: 99px; background: #e2e8ec; overflow: hidden; }
.review-bar i { display: block; height: 100%; background: #f59e0b; border-radius: 99px; }
.review { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.review-photos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.review-photos img, .review-previews img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.review-previews { display: flex; flex-wrap: wrap; gap: .5rem; }
.review-reply { background: var(--brand-50); border-radius: 10px; padding: .7rem .9rem; font-size: .93rem; margin: .5rem 0; }
.text-brand { color: var(--brand-700) !important; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.8rem; color: #d3dbe1; cursor: pointer; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f59e0b; }
.star-input input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* lightbox */
.lightbox-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 14, 20, .94); }
.lightbox-dialog[open] { display: grid; place-items: center; }
.lightbox-dialog::backdrop { background: rgba(8, 14, 20, .9); }
.lightbox-dialog img { max-width: min(92vw, 1400px); max-height: 88vh; object-fit: contain; }
.lightbox-dialog button { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.3rem; display: grid; place-items: center; }
.lightbox-dialog button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- cart & checkout ---------- */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; grid-template-areas: "img info total" "img qty qty"; gap: .5rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .cart-line { grid-template-columns: 96px 1fr auto 110px; grid-template-areas: "img info qty total"; } }
.cart-line.has-error { background: #fff7f7; }
.cart-img { grid-area: img; display: grid; place-items: center; width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; color: #c2ccd3; font-size: 1.8rem; }
.cart-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-info { grid-area: info; min-width: 0; }
.cart-line .qty { grid-area: qty; justify-self: start; }
.cart-total { grid-area: total; text-align: right; color: var(--ink); }
.cart-summary .totals, .totals { margin: 0 0 1rem; }
.totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .95rem; }
.totals dt { font-weight: 500; color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.totals .grand { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .8rem; }
.totals .grand dt { color: var(--ink); font-weight: 700; }
.totals .grand dd { font-size: 1.25rem; font-family: var(--head); }
.side-sticky { position: sticky; top: 90px; }
.cart-summary.form-card { box-shadow: var(--shadow); }
.checkout-items { margin: 0 0 1rem; }
.checkout-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.checkout-items li strong { white-space: nowrap; color: var(--ink); }
.js-checkout .form-card { box-shadow: var(--shadow-sm); }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; margin-right: .4rem; vertical-align: 2px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 575px) { .choice-row { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; height: 100%; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.choice > span .bi { grid-row: span 2; font-size: 1.35rem; color: var(--muted); }
.choice small { grid-column: 2; color: var(--muted); font-size: .84rem; }
.choice input:checked + span { border-color: var(--brand-700); background: var(--brand-50); }
.choice input:checked + span .bi { color: var(--brand-700); }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.test-badge { font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #92400e; background: #fef3c7; border-radius: 6px; padding: .1rem .4rem; margin-left: .3rem; vertical-align: 2px; }
.js-checkout.busy .js-totals { opacity: .5; }
.bank-box { background: var(--surface); border: 1px dashed #b9c6cf; border-radius: 12px; padding: 1rem 1.2rem; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; max-width: 460px; }
.done-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-700); color: #fff; font-size: 2.2rem; margin-bottom: 1rem; box-shadow: 0 10px 30px -10px rgba(11, 122, 53, .7); }
.done-mark.wait { background: #f59e0b; box-shadow: 0 10px 30px -10px rgba(245, 158, 11, .7); }

/* ---------- tracking ---------- */
.track-steps { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; counter-reset: s; }
.track-steps li { flex: 1; position: relative; text-align: center; font-size: .82rem; color: var(--muted); }
.track-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.track-steps li:first-child::before { display: none; }
.track-steps li.done::before, .track-steps li.current::before { background: var(--brand-700); }
.track-steps .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto .45rem; border-radius: 50%; background: #fff; border: 3px solid var(--line); color: #fff; font-size: .9rem; }
.track-steps li.done .dot { background: var(--brand-700); border-color: var(--brand-700); }
.track-steps li.current .dot { border-color: var(--brand-700); box-shadow: 0 0 0 6px rgba(57, 186, 83, .18); }
.track-steps li.done .lbl, .track-steps li.current .lbl { color: var(--ink); font-weight: 600; }
@media (max-width: 575px) { .track-steps .lbl { display: none; } .track-steps li.current .lbl { display: block; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; } .track-steps { margin-bottom: 2.6rem; } }
.timeline li { display: flex; gap: .8rem; padding-bottom: 1.1rem; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.timeline .t-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); }
.timeline li:first-child .t-icon { background: var(--brand-700); color: #fff; }
.t-photo { border-radius: 10px; border: 1px solid var(--line); margin-top: .3rem; object-fit: cover; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; margin-right: .3rem; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.live-map iframe { border: 0; border-radius: 12px; }

/* toast for add-to-cart */
.shop-toast { position: fixed; z-index: 1090; right: 1rem; bottom: 1rem; max-width: min(380px, calc(100vw - 2rem)); background: var(--ink); color: #fff; border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--shadow-lg); display: flex; gap: .8rem; align-items: center; transform: translateY(150%); transition: transform .3s; }
.shop-toast.show { transform: none; }
.shop-toast.err { background: #9b1c1c; }
.shop-toast a { color: var(--brand); font-weight: 700; white-space: nowrap; }
.shop-toast .bi { font-size: 1.3rem; color: var(--brand); flex: none; }

@media (prefers-reduced-motion: reduce) { .shop-card, .shop-cat-tile, .pdp-slide, .pdp-sticky, .shop-toast { transition: none; } .live-dot { animation: none; } }
@media print { .shop-bar, .pdp-sticky, .shop-toast { display: none !important; } }
.shop-grid-plain .shop-wish { display: none; }
