/* =========================================================
   Shop + product detail pages  (uses tokens from main.css)
   Light / Dark · RTL · mobile-first responsive
   ========================================================= */

.shop { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- misc shared ---------- */
.link-btn { white-space: nowrap; border: 0; background: none; padding: .2rem 0; color: var(--accent); font-size: .82rem; font-weight: 600; }
.link-btn:hover { text-decoration: underline; }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding-inline: 1rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 600;
  transition: border-color .18s, color .18s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.muted-note { font-size: .82rem; color: var(--muted); }
.dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: .7rem; line-height: 1; }
.dot[hidden] { display: none; }

.crumbs { padding-block: 1rem .9rem; font-size: .82rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.crumbs li + li::before { content: "‹"; opacity: .6; }
.crumbs a:hover { color: var(--accent); }
.crumbs li > span { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(60vw, 420px); }

.toast {
  position: fixed; z-index: 300; inset-inline: 0; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; width: fit-content; max-width: calc(100vw - 32px);
  padding: .7rem 1.2rem; border-radius: 12px; background: #11142c; color: #fff; font-size: .9rem; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .6);
  border: 1px solid rgba(139, 92, 246, .5); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .22s, transform .22s;
}
.toast.is-show { opacity: 1; transform: none; }
.toast--error { border-color: var(--red); }

/* skeletons */
.sk { border-radius: 10px; background: linear-gradient(100deg, var(--surface-2) 30%, var(--line) 50%, var(--surface-2) 70%); background-size: 300% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -150% 0; } }
.sk--img { aspect-ratio: 16 / 10; }
.sk--line { height: 14px; margin-top: .9rem; }
.sk--short { width: 55%; }
.sk--btn { height: 36px; margin-top: 1.1rem; border-radius: 12px; }

/* ---------- hero ---------- */
.shop-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  min-height: clamp(190px, 22vw, 260px); padding: clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.5rem) 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #04030f; color: #fff;
}
.shop-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
/* each card gets its own look from the two source photos */
.shop-hero__bg--3 { transform: scaleX(-1); object-position: right center; filter: hue-rotate(-70deg) saturate(1.15); }
.shop-hero__bg--4 { filter: hue-rotate(115deg) saturate(1.2); }
.shop-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(4, 3, 15, .92) 0, rgba(4, 3, 15, .75) 40%, rgba(4, 3, 15, .1) 80%); }
.shop-hero h1 { text-wrap: balance; font-size: clamp(1.4rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.5; color: #fff; }
.shop-hero h1 span { color: #b79bff; }
.shop-hero p { margin-top: .2rem; font-size: clamp(.9rem, 1.6vw, 1.1rem); color: #d8d3ff; }
.shop-hero__perks { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .6rem 1.8rem; }
.shop-hero__perks li { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 500; color: #e9e5ff; }
.shop-hero__perks .i { width: 20px; height: 20px; color: #b79bff; }

/* ---------- layout ---------- */
.shop-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1.5rem; margin-top: 1.5rem; align-items: start; }

/* ---------- filters ---------- */
.filters {
  position: sticky; top: calc(var(--header-h) + 14px); display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 28px);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
:root[data-theme="dark"] .filters { background: linear-gradient(180deg, #120f2e, #0a0820); }
.filters__head { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.filters__head h2 { display: flex; align-items: center; gap: .5rem; margin-inline-end: auto; font-size: 1rem; font-weight: 700; color: var(--text-strong); }
.filters__head h2 .i { color: var(--accent); width: 20px; height: 20px; }
.filters__close { display: none; }
.filters__scroll { flex: 1; overflow-y: auto; padding: .9rem 1.1rem; overscroll-behavior: contain; }
.filters__foot { padding: .9rem 1.1rem; border-top: 1px solid var(--line); background: inherit; }
.filters__foot .btn { height: 46px; }
.filters__foot .btn.is-dirty { box-shadow: 0 0 0 4px var(--accent-soft), var(--btn-shadow); }

.filter-search { display: flex; align-items: center; gap: .5rem; height: 42px; padding-inline: .9rem; margin-bottom: .5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--muted); }
.filter-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filter-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .86rem; color: var(--text); }
.filter-search .i { width: 18px; height: 18px; }

.fgroup { border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; list-style: none; cursor: pointer; font-size: .92rem; font-weight: 700; color: var(--text-strong); }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .i { transition: transform .2s; color: var(--muted); }
.fgroup[open] summary .i { transform: rotate(180deg); }
.fgroup__body { display: flex; flex-direction: column; gap: .15rem; padding-bottom: .9rem; }
.fskel { height: 22px; margin-block: .25rem; border-radius: 6px; background: var(--surface-2); }

.check { position: relative; display: flex; align-items: center; gap: .65rem; min-height: 34px; padding-block: .1rem; font-size: .86rem; color: var(--text); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; inset-inline-start: 0; cursor: pointer; }
.check__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 6px; transition: all .15s; }
.check--radio .check__box { border-radius: 50%; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border: solid var(--on-accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.check--radio input:checked + .check__box::after { width: 8px; height: 8px; margin: 0; border: 0; border-radius: 50%; background: var(--on-accent); transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.check:hover .check__box { border-color: var(--accent); }
.check--sub { padding-inline-start: 1.5rem; font-size: .82rem; color: var(--muted); }

/* dual range */
.range { position: relative; height: 28px; margin: .3rem .6rem .6rem; }
.range__track { position: absolute; inset-inline: 0; top: 50%; height: 4px; translate: 0 -50%; border-radius: 4px; background: var(--line); }
.range__fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }
.range input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 28px; }
.range input[type="range"]::-moz-range-track { background: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; border: 3px solid var(--accent); background: var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); cursor: grab; }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--accent); background: var(--surface); cursor: grab; }
.range__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; min-width: 0; }
.range__fields label { min-width: 0; display: flex; align-items: center; gap: .4rem; height: 40px; padding-inline: .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: .78rem; color: var(--muted); }
.range__fields label:focus-within { border-color: var(--accent); }
.range__fields label > span { flex: none; }
.range__fields input { flex: 1; width: 100%; min-width: 0; text-overflow: ellipsis; border: 0; outline: 0; background: transparent; font-size: .85rem; color: var(--text); text-align: start; }

.filters-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(5, 8, 30, .6); backdrop-filter: blur(2px); }
.filters-backdrop[hidden] { display: none; }

/* ---------- main column ---------- */
.shop-head { margin-bottom: 1rem; }
.shop-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--text-strong); line-height: 1.4; }
.toolbar { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.filters-open { display: none; }
.sort { display: inline-flex; align-items: center; gap: .6rem; margin-inline-start: auto; font-size: .84rem; color: var(--muted); }
.sort select {
  height: 42px; padding-inline: .9rem 2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer;
}
.sort select:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.view-toggle button { display: grid; place-items: center; width: 42px; height: 40px; border: 0; background: transparent; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chips[hidden] { display: none; }
.chips button { display: inline-flex; align-items: center; gap: .35rem; height: 32px; padding-inline: .8rem .55rem; border: 1px solid var(--line); border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 600; }
.chips button:hover { border-color: var(--accent); }
.chips .i { width: 14px; height: 14px; }

.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shop-grid .p-card, .offers .p-card { height: 100%; }
.p-card__brand { margin-top: .85rem; font-family: var(--latin); font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); text-align: start; }
.p-card__brand + .p-card__name { margin-top: .1rem; }
.p-card__name { text-align: start; }
.p-card__name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.p-card__sub { text-align: start; }
.p-card .btn:disabled, .btn:disabled { opacity: .55; cursor: not-allowed; filter: none; transform: none; }
.p-card__img { transition: border-color .2s; }
.p-card--skeleton { pointer-events: none; }

/* list view */
.shop-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.shop-grid.is-list .p-card { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto; grid-template-areas: "img info buy"; align-items: center; column-gap: 1.2rem; padding: 12px 14px; }
.shop-grid.is-list .p-card__img { grid-area: img; }
.shop-grid.is-list .p-card__brand, .shop-grid.is-list .p-card__name, .shop-grid.is-list .p-card__sub, .shop-grid.is-list .p-card__rating { grid-column: 2; margin-top: 0; }
.shop-grid.is-list .p-card__price { grid-column: 3; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; margin: 0 0 .6rem; }
.shop-grid.is-list .p-card .btn { grid-column: 3; width: 190px; }
.shop-grid.is-list .p-card__top { inset: 18px auto auto 18px; }

/* empty / error */
.state { display: grid; justify-items: center; gap: .5rem; padding: 3rem 1rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-md); }
.state[hidden] { display: none; }
.state__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.state__icon .i { width: 28px; height: 28px; }
.state h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-strong); }
.state p { max-width: 26rem; font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }

/* pagination */
.pagination { margin-top: 1.8rem; }
.pagination[hidden] { display: none; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pagination button { display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: .5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 600; transition: all .15s; }
.pagination button:hover:not(:disabled):not([aria-current]) { border-color: var(--accent); color: var(--accent); }
.pagination button[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .gap { display: grid; place-items: center; width: 24px; color: var(--muted); }

/* CTA banner */
.cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 200px; margin-top: clamp(2rem, 4vw, 3rem); padding: 1.8rem clamp(1.2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #04030f; color: #fff; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(4, 3, 15, .95) 0, rgba(4, 3, 15, .8) 45%, rgba(4, 3, 15, .15) 85%); }
.cta__body { max-width: 30rem; }
.cta h2 { font-size: clamp(1.25rem, 2.6vw, 1.8rem); font-weight: 800; color: #fff; line-height: 1.5; }
.cta p { margin-block: .3rem 1.1rem; font-size: .92rem; color: #d3cdf7; }
.cta__btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.cta .btn--primary { background: linear-gradient(135deg, #7c3aed, #6d28d9); box-shadow: 0 10px 24px -8px rgba(124, 58, 237, .8); }

.offers { margin-top: clamp(2rem, 4vw, 3rem); }
.offers[hidden] { display: none; }

/* =========================================================
   Product detail
   ========================================================= */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "info gallery"; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; padding: clamp(1rem, 2.4vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
:root[data-theme="dark"] .pdp { background: linear-gradient(180deg, #120f2e, #0a0820); }
.pdp__gallery { grid-area: gallery; min-width: 0; position: sticky; top: calc(var(--header-h) + 16px); }
.pdp__info { grid-area: info; min-width: 0; }

.gal__main { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-height: 560px; width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--media-bg); border: 1px solid var(--line); touch-action: pan-y; cursor: zoom-in; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; user-select: none; -webkit-user-drag: none; }
.gal__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(8, 8, 30, .55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); }
.gal__nav:hover { background: var(--accent); }
.gal__nav--prev { right: 12px; } .gal__nav--next { left: 12px; }
.gal__nav[hidden] { display: none; }
.gal__badge { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; }
.gal__count { position: absolute; z-index: 2; bottom: 10px; inset-inline-end: 12px; padding: .1rem .6rem; border-radius: 99px; background: rgba(8, 8, 30, .6); color: #fff; font-size: .72rem; }
.gal__thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gal__thumbs button { flex: 0 0 auto; width: clamp(60px, 9vw, 84px); aspect-ratio: 1; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--media-bg); opacity: .75; transition: all .18s; }
.gal__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; box-shadow: 0 0 0 3px var(--accent-soft); }

.pdp__brand { font-family: var(--latin); font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: var(--accent); }
.pdp h1 { margin-top: .2rem; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.5; color: var(--text-strong); }
.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; margin-top: .5rem; font-size: .84rem; color: var(--muted); }
.pdp__meta bdi { color: var(--text); font-family: var(--latin); }
.pdp__meta a:hover { color: var(--accent); }
.pdp__rating { display: inline-flex; align-items: center; gap: .4rem; }
.pdp__short { margin-top: 1rem; font-size: .94rem; line-height: 2; color: var(--text); opacity: .9; }

.pdp__price { margin-top: 1.2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.pdp__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.pdp__old { font-size: .95rem; color: var(--muted); }
.pdp__now { margin-top: .3rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--text-strong); line-height: 1.3; }
.pdp__now small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.stock { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .84rem; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: #1f9d55; } .stock--low { color: #d98a00; } .stock--out { color: var(--red); }

.pdp__buy { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.qty button { display: grid; place-items: center; width: 44px; height: 100%; border: 0; background: transparent; color: var(--accent); }
.qty button:hover:not(:disabled) { background: var(--accent-soft); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty input { width: 48px; height: 100%; border: 0; outline: 0; background: transparent; text-align: center; font-size: 1rem; font-weight: 700; color: var(--text-strong); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__buy .btn { flex: 1 1 200px; height: 52px; border-radius: 14px; font-size: 1rem; }
.pdp__wish { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); transition: all .18s; }
.pdp__wish:hover { border-color: var(--red); color: var(--red); }
.pdp__wish[aria-pressed="true"] { color: var(--red); border-color: var(--red); }
.pdp__wish[aria-pressed="true"] .i { fill: var(--red); }
.pdp__note { margin-top: .6rem; min-height: 1.4em; font-size: .82rem; color: var(--muted); }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.trust li { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; }
.trust li + li { border-inline-start: 1px solid var(--line); }
.trust__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.trust strong { display: block; font-size: .9rem; color: var(--text-strong); line-height: 1.5; }
.trust small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.5; }

/* tabs */
.tabs { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.tabs__list { display: flex; gap: .2rem; padding: .5rem .6rem 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { flex: none; position: relative; padding: .8rem 1.2rem; border: 0; background: transparent; font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs__list button[aria-selected="true"] { color: var(--accent); }
.tabs__list button[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: .6rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.tabs__panel { padding: clamp(1rem, 2.5vw, 1.8rem); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h2 { margin-bottom: .8rem; font-size: 1.15rem; font-weight: 800; color: var(--text-strong); }
.desc { white-space: pre-line; font-size: .95rem; line-height: 2.1; color: var(--text); }
.desc-box { padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.overview { margin-top: 1.6rem; }
.overview__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.ov { display: flex; align-items: center; gap: .8rem; min-width: 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.ov__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; color: var(--accent); background: var(--accent-soft); }
.ov small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.5; }
.ov strong { display: block; font-size: .9rem; color: var(--text-strong); line-height: 1.6; overflow-wrap: anywhere; }
.specs { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs th, .specs td { padding: .85rem 1rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.specs td { color: var(--text-strong); overflow-wrap: anywhere; }
.specs td.specs__na { color: var(--muted); font-size: .85rem; }   /* «ذکر نشده» */
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

.related { margin-top: clamp(2rem, 4vw, 3rem); }
.related[hidden] { display: none; }

/* sticky buy bar (mobile) */
.buybar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 3.5rem 1rem 1rem; background: rgba(4, 3, 15, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-end: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }

.pdp-state { padding: 4rem 1rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1279px) {
  .shop-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); margin-top: 1.1rem; }
  .filters-open { display: inline-flex; }
  .filters__close { display: inline-grid; }
  .filters {
    position: fixed; z-index: 200; inset-block: auto 0; inset-inline: 0; top: auto; max-height: 88dvh; border-radius: 22px 22px 0 0; border-bottom: 0;
    transform: translateY(105%); visibility: hidden; transition: transform .3s ease, visibility .3s; background: var(--surface);
  }
  :root[data-theme="dark"] .filters { background: #0d0b24; }
  .filters.is-open { transform: none; visibility: visible; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); }
  .filters__foot { padding-bottom: calc(.9rem + env(safe-area-inset-bottom, 0px)); }
  .filters__head::before { content: ""; position: absolute; top: 8px; inset-inline: 0; margin-inline: auto; width: 42px; height: 4px; border-radius: 4px; background: var(--line); }
  .filters__head { position: relative; padding-top: 1.4rem; }

  .pdp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "info"; }
  .pdp__gallery { position: static; }
  .gal__main { max-height: 440px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-inline-start: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-grid .p-card { padding: 9px 9px 11px; }
  .shop-grid .p-card__top { inset: 15px 15px auto 15px; }
  .shop-grid .p-card__name { font-size: .85rem; }
  .shop-grid .p-card__price strong { font-size: .92rem; }
  .shop-grid .p-card .btn, .offers .p-card .btn { padding-inline: .3rem; font-size: .74rem; white-space: nowrap; }
  .shop-grid .p-card .btn .i { display: none; }
  .shop-hero h1 { font-size: 1.3rem; }
  .shop-grid.is-list { grid-template-columns: minmax(0, 1fr); }
  .shop-grid.is-list .p-card { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: none; column-gap: .8rem; row-gap: .1rem; align-items: start; }
  .shop-grid.is-list .p-card__img { grid-column: 1; grid-row: 1 / span 5; aspect-ratio: 1; }
  .shop-grid.is-list .p-card__brand, .shop-grid.is-list .p-card__name, .shop-grid.is-list .p-card__sub, .shop-grid.is-list .p-card__rating,
  .shop-grid.is-list .p-card__price, .shop-grid.is-list .p-card .btn { grid-column: 2; }
  .shop-grid.is-list .p-card__price { grid-row: auto; margin: .3rem 0 .5rem; flex-direction: row; align-items: baseline; }
  .shop-grid.is-list .p-card .btn { width: 100%; }
  .shop-grid.is-list .p-card__top { inset: 14px auto auto 14px; }

  .toolbar { flex-wrap: wrap; }
  .filters-open { flex: 1; justify-content: center; }
  .sort { order: 3; flex: 1 1 100%; margin: 0; }
  .sort span { display: none; }
  .sort select { width: 100%; }
  .shop-hero__perks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
  .shop-hero::after { background: linear-gradient(to left, rgba(4, 3, 15, .94) 0, rgba(4, 3, 15, .7) 100%); }
  .cta::after { background: rgba(4, 3, 15, .82); }
  .cta__btns .btn { flex: 1 1 140px; }

  .overview__grid { grid-template-columns: minmax(0, 1fr); }
  .specs th { width: 42%; }
  .specs th, .specs td { padding: .7rem .75rem; }
  .tabs__list button { padding: .75rem .9rem; }

  .buybar {
    position: fixed; z-index: 95; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: .8rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line); background: var(--head-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .25s;
  }
  .buybar.is-show { transform: none; }
  .buybar__price { flex: 1; min-width: 0; line-height: 1.4; }
  .buybar__price del { display: block; font-size: .72rem; color: var(--muted); }
  .buybar__price strong { font-size: 1rem; color: var(--text-strong); }
  .buybar__price small { font-size: .7rem; color: var(--muted); font-weight: 500; }
  .buybar .btn { height: 46px; padding-inline: 1.2rem; border-radius: 12px; }
  body.has-buybar .to-top { bottom: 86px; }
}

@media (max-width: 480px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .85rem; }
  .pdp__buy .qty { flex: 1 1 100%; justify-content: space-between; }
  .pdp__buy .qty input { flex: 1; }
  .pdp__buy .btn { flex: 1 1 0; }
  .gal__nav { width: 34px; height: 34px; }
}

@media (max-width: 359px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
  .filters, .buybar, .toast { transition: none; }
}

/* =========================================================
   Static-template additions (matches the design screenshots)
   ========================================================= */
.badge--new { background: #1fb36b; }
.badge--special { background: #6d3df0; }
:root[data-theme="dark"] .badge--special { background: #7c3aed; }

/* hero slides */
.shop-hero { min-height: clamp(210px, 24vw, 280px); }
.shop-hero__body { flex: 1; }
.shop-hero__body h2 span { color: #b79bff; }
/* slider: only the active card is shown */
.hero-slider { position: relative; }
.hero-slider > .shop-hero { display: none; }
.hero-slider > .shop-hero.is-active { display: flex; animation: hero-in .7s ease; }
@keyframes hero-in { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.shop-hero__body h2 { font-size: clamp(1.4rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.5; color: #fff; }
.shop-hero__dots { position: absolute; z-index: 3; left: clamp(.8rem, 2vw, 1.4rem); bottom: clamp(.8rem, 2vw, 1.2rem); display: flex; align-items: center; gap: .4rem; }
.shop-hero__dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .35s ease, background .2s; }
.shop-hero__dots button:hover { background: rgba(255, 255, 255, .6); }
.shop-hero__dots button:focus-visible { outline: 2px solid #b79bff; outline-offset: 2px; }
.shop-hero__dots button.is-active { width: 30px; }
.shop-hero__dots i { position: absolute; inset: 0; background: #b79bff; transform: scaleX(0); transform-origin: right center; }
.shop-hero__dots .is-active i { animation: hero-dot 7s linear forwards; }
@keyframes hero-dot { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-slider > .shop-hero.is-active { animation: none; } }
.shop-hero__perks { padding-inline-end: 7rem; }

/* cards: centered like the design */
.shop-grid .p-card, .track--related .p-card { text-align: center; }
.shop-grid .p-card__brand, .track--related .p-card__brand { display: flex; justify-content: center; margin-top: .8rem; }
.shop-grid .p-card__brand .wm, .track--related .p-card__brand .wm { font-size: .95rem; color: var(--text-strong); }
.shop-grid .p-card__name, .track--related .p-card__name { text-align: center; margin-top: .35rem; }
.shop-grid .p-card__name a, .track--related .p-card__name a { min-height: 3em; }
.shop-grid .p-card__rating, .track--related .p-card__rating { justify-content: center; margin-top: .2rem; }
.shop-grid .p-card__price, .track--related .p-card__price { flex-direction: column; align-items: center; gap: 0; margin-block: .4rem .8rem; }
.shop-grid .p-card__price del, .track--related .p-card__price del { order: -1; min-height: 1.3em; }
.shop-grid .p-card__price strong { font-size: 1.05rem; }
.shop-grid.is-list .p-card, .shop-grid.is-list .p-card__name { text-align: start; }
.shop-grid.is-list .p-card__brand, .shop-grid.is-list .p-card__rating { justify-content: flex-start; }
.shop-grid.is-list .p-card__price { align-items: flex-start; }

/* rating filter rows */
.rate-row { display: inline-flex; align-items: center; gap: .5rem; }
.rate-row em { font-style: normal; font-size: .8rem; color: var(--muted); }
.rate-row .i--star { width: 13px; height: 13px; }

/* special offers / packages */
.offers h2 { display: inline-flex; align-items: center; gap: .6rem; }
.offers h2 .i { color: var(--accent); }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pack { position: relative; display: grid; grid-template-columns: 38% minmax(0, 1fr); align-items: center; gap: 1rem; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
:root[data-theme="dark"] .pack { background: linear-gradient(180deg, #120f2e, #0a0820); }
.pack__badge { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; }
.pack__img { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--media-bg); }
.pack__img img { width: 100%; height: 100%; object-fit: cover; }
.pack h3 { font-size: .98rem; font-weight: 700; line-height: 1.6; color: var(--text-strong); }
.pack h3 a:hover { color: var(--accent); }
.pack__body > p { margin-top: .2rem; font-size: .78rem; color: var(--muted); line-height: 1.8; }
.pack__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin-block: .6rem .7rem; }
.pack__price strong { font-size: 1.02rem; color: var(--text-strong); }
.pack__price small { font-size: .72rem; font-weight: 500; color: var(--muted); }
.pack__price del { font-size: .78rem; color: var(--muted); }

/* product detail extras */
.pdp__brand .wm { font-size: 1.4rem; color: var(--text-strong); }
.pdp__rating { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: .84rem; color: var(--muted); }
.pdp__rating a { color: var(--accent); }
.pdp__rating a:hover { text-decoration: underline; }
.pdp__links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: .9rem; }
.pdp__link { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem 0; border: 0; background: none; font-size: .86rem; font-weight: 500; color: var(--muted); transition: color .18s; }
.pdp__link:hover { color: var(--accent); }
.pdp__link[aria-pressed="true"] { color: var(--accent); }
.pdp__link[aria-pressed="true"] .i { fill: currentColor; }
#wishBtn[aria-pressed="true"] { color: var(--red); }
#wishBtn[aria-pressed="true"] .i { fill: var(--red); }
.pdp__buy .btn { flex: 1 1 220px; }

.pdesc { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 150px; margin-bottom: 1.6rem; padding: 1.4rem clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-md); background: radial-gradient(120% 140% at 15% 50%, #2a1670 0, #0a0820 70%); color: #fff; }
.pdesc__brand { display: flex; flex-direction: column; gap: .15rem; }
.pdesc__brand .wm { color: #fff; font-size: 1.7rem; }
.pdesc__brand strong { font-family: var(--latin); font-size: 1.2rem; letter-spacing: .02em; }
.pdesc__brand small { color: #c9c1f5; font-size: .85rem; }
.pdesc__wave { position: absolute; z-index: -1; inset-block: 0; margin-block: auto; height: 70%; width: 55%; left: 0; color: #a78bfa; opacity: .85; filter: drop-shadow(0 0 10px #8b5cf6); }

.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.feats li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); font-size: .9rem; line-height: 1.8; }

.rev-sum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.rev-sum__score { display: grid; justify-items: center; gap: .1rem; }
.rev-sum__score strong { font-size: 2.2rem; font-weight: 800; line-height: 1.2; color: var(--text-strong); }
.rev-sum__score small { font-size: .76rem; color: var(--muted); }
.rev-sum__bars { display: grid; gap: .35rem; max-width: 420px; }
.rev-sum__bars li { display: grid; grid-template-columns: 56px minmax(0, 1fr) 36px; align-items: center; gap: .6rem; font-size: .78rem; color: var(--muted); }
.bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--star); }
.rev-list { display: grid; gap: .8rem; margin-top: 1rem; }
.rev { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.rev header { display: flex; align-items: center; gap: .75rem; }
.rev header > div { line-height: 1.5; }
.rev header strong { display: block; font-size: .92rem; color: var(--text-strong); }
.rev header small { font-size: .74rem; color: var(--muted); }
.rev .stars { margin-inline-start: auto; }
.rev p { margin-top: .7rem; font-size: .9rem; line-height: 2; }

.track--related { --per: 5; --gap: 14px; }
.track--related .p-card { padding: 10px 10px 12px; }
.track--related .p-card__name { font-size: .85rem; }
.track--related .p-card .btn { font-size: .78rem; }

@media (max-width: 1279px) { .track--related { --per: 4; } .packs { gap: 12px; } .pack { grid-template-columns: 34% minmax(0, 1fr); } }
@media (max-width: 1023px) {
  .track--related { --per: 3.2; }
  .packs { grid-template-columns: minmax(0, 1fr); }
  .pack { grid-template-columns: 180px minmax(0, 1fr); }
  .shop-hero__perks { padding-inline-end: 0; }
}
@media (max-width: 767px) {
  .track--related { --per: 2.15; --gap: 12px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .rev-sum { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .rev-sum__bars { width: 100%; }
  .pdesc__wave { width: 80%; opacity: .45; }
  .shop-hero__dots { bottom: auto; top: .8rem; }
}
@media (max-width: 480px) {
  .pack { grid-template-columns: 104px minmax(0, 1fr); gap: .7rem; }
  .pack h3 { font-size: .88rem; }
  .track--related { --per: 1.5; }
}

.nb { white-space: nowrap; font-family: var(--latin); }
.gal__main { aspect-ratio: 4 / 3; }
/* desktop: show the whole filter panel (like the design); drawer on smaller screens */
@media (min-width: 1024px) {
  .filters { position: static; max-height: none; }
  .filters__scroll { overflow: visible; }
}

/* consultation banner now sits inside the product column (fills the space under the pagination) */
.shop-main .cta { margin-top: clamp(1.4rem, 3vw, 2rem); }
.cta__body { max-width: min(30rem, 100%); }
@media (max-width: 767px) {
  .cta { min-height: 0; padding: 1.4rem 1.1rem; }
  .cta h2 { font-size: 1.15rem; }
  .cta p { font-size: .85rem; }
}
@media (max-width: 480px) {
  .cta__btns { flex-direction: column; }
  .cta__btns .btn { flex: none; width: 100%; justify-content: center; }
  .offers { margin-top: 1.6rem; }
}

/* =========================================================
   Shop page driven by the backend (filters, cards, pager)
   ========================================================= */
/* the filter panel is a form: scrollable body + sticky footer */
.filters__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.check__count { margin-inline-start: auto; padding-inline-start: .4rem; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.check.is-empty { opacity: .5; }
.check input:checked ~ .check__count { color: var(--accent); }
.shop-count { margin-top: .15rem; font-size: .84rem; color: var(--muted); }

/* active filters as removable chips */
.chips a { display: inline-flex; align-items: center; gap: .35rem; height: 32px; padding-inline: .8rem .55rem; border: 1px solid var(--line); border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 600; }
.chips a:hover { border-color: var(--accent); }
.chips a .i { width: 14px; height: 14px; }

/* page counter links look exactly like the buttons they replace */
.pagination a { display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: .5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 600; transition: all .15s; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* empty result: the grid is rendered only when there is something to show */
.shop-grid:empty { display: none; }

/* =========================================================
   کارت پکیج (پکیج‌های واقعیِ ثبت‌شده در ادمین)
   ========================================================= */
.packs--shop { margin-top: 1.1rem; }
.pack__type { margin: 0; }
.pack__type > span {
  display: inline-flex; align-items: center; padding: .1rem .55rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: .68rem; font-weight: 700;
}
.pack h3 { margin-top: .35rem; }
.pack__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .8rem; font-size: .72rem; }
.pack__stock { font-weight: 700; }
.pack__stock--in { color: #16a34a; }
.pack__stock--out { color: #dc2626; }
.pack__body .pack__price { margin-block: .55rem .45rem; }

/* =========================================================
   ثبت نظر و امتیاز زیر محصول
   ========================================================= */
.rev--empty { display: grid; place-items: center; }
.rev--empty p { margin: 0; text-align: center; color: var(--muted); }
.rev-form {
  margin-top: 1.2rem; padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2);
}
.rev-form h3 { font-size: 1rem; font-weight: 700; color: var(--text-strong); }
.rev-form__hint { margin-top: .35rem; font-size: .78rem; line-height: 1.8; color: var(--muted); }
.rev-form__mine { margin-top: .9rem; background: var(--surface); }
.rev-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .9rem; }
.rev-form__msg { font-size: .78rem; line-height: 1.8; color: var(--muted); }
.rev-form__msg.is-error { color: #e11d48; }
.rev-form textarea {
  width: 100%; margin-top: .9rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); font: inherit; font-size: .9rem; line-height: 1.9; resize: vertical;
}
.rev-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rev-form__names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.rev-form__names .rev-form__hint { grid-column: 1 / -1; margin: 0; }
.rev-form__field { display: grid; gap: .35rem; font-size: .78rem; color: var(--muted); }
.rev-form__field input {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text-strong); font: inherit; font-size: .85rem;
}
.rev-form__field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 560px) { .rev-form__names { grid-template-columns: minmax(0, 1fr); } }
.rate-pick { margin: 1rem 0 0; padding: 0; border: 0; }
.rate-pick legend { margin-bottom: .45rem; padding: 0; font-size: .82rem; font-weight: 600; color: var(--text-strong); }
.rate-pick__stars { display: flex; gap: .35rem; }
.star-btn {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted);
  transition: color .15s, border-color .15s, background-color .15s, transform .15s;
}
.star-btn .i { width: 18px; height: 18px; }
.star-btn:hover { transform: translateY(-1px); border-color: var(--accent-2); }
.star-btn.is-on { color: #f59e0b; border-color: rgba(245, 158, 11, .55); background: rgba(245, 158, 11, .12); }
@media (max-width: 480px) { .rate-pick__stars { gap: .25rem; } .star-btn { width: 32px; height: 32px; } }

/* ---------- package card links (whole card opens the package page) ---------- */
.pack__img { display: block; }
.pack h3 a { color: inherit; }
.pack h3 a:hover { color: var(--accent); }
.pack__img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* دکمه‌ی ghost سراسری برای پس‌زمینه‌های تیره است؛ داخل فرم نظر باید روی سطح روشن خوانا باشد */
.rev-form .btn--ghost { background: var(--surface-2); color: var(--text-strong); border: 1px solid var(--line); box-shadow: none; }
.rev-form .btn--ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-2); filter: none; }
