/* ==========================================================================
   shop.css — واجهة المتجر v2 (shop.php)
   بحث أولاً ← رقائق أقسام/ماركات أفقية ← شريط أدوات لاصق ← شبكة بطاقات + "تحميل المزيد"
   يعتمد على متغيرات header.php: --accent --bg-dark --bg-light --border-color --text-primary --text-secondary --text-muted
   ========================================================================== */
.shp {
    --shp-header-h: var(--shp-header-d, 80px);
    --shp-r: 18px; --shp-r-sm: 12px;
    --shp-surface: rgba(15, 19, 26, 0.62);
    --shp-surface-2: rgba(255, 255, 255, 0.035);
    --shp-surface-3: rgba(255, 255, 255, 0.07);
    --shp-border: rgba(255, 255, 255, 0.08);
    --shp-border-strong: rgba(255, 255, 255, 0.14);
    --shp-accent: var(--accent, #ffcc00);
    --shp-accent-soft: rgba(255, 204, 0, 0.10);
    --shp-accent-line: rgba(255, 204, 0, 0.38);
    --shp-blue: #38bdf8; --shp-blue-soft: rgba(56, 189, 248, 0.12); --shp-blue-line: rgba(56, 189, 248, 0.4);
    --shp-green: #10b981; --shp-red: #ef4444;
    --shp-text: var(--text-primary, #f8fafc); --shp-text-2: var(--text-secondary, #cbd5e1); --shp-muted: var(--text-muted, #7c8798);
    --shp-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-family: 'Cairo', sans-serif; color: var(--shp-text); direction: rtl;
    max-width: 1400px; margin: 0 auto; padding: 18px 20px 90px; position: relative;
}
.shp *, .shp *::before, .shp *::after { box-sizing: border-box; }
.shp a { text-decoration: none; }
.shp button, .shp input, .shp select { font-family: inherit; }
.shp [hidden] { display: none !important; }
.shp input[type="number"]::-webkit-outer-spin-button, .shp input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shp input[type="number"] { -moz-appearance: textfield; }
.shp input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
body.shp-lock { overflow: hidden !important; }

/* ---------- الأزرار العامة ---------- */
.shp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: var(--shp-r-sm); border: 1px solid transparent; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s, filter .18s; background: var(--shp-surface-3); color: var(--shp-text-2); }
.shp-btn:hover { transform: translateY(-1px); }
/* نص أسود على الأصفر — حتى للروابط <a> (style.css يجعل a { color: inherit }) */
.shp-btn--primary, .shp a.shp-btn--primary, .shp a.shp-btn--primary:hover, .shp a.shp-btn--primary:visited { background: linear-gradient(135deg, var(--shp-accent), #e6b800); color: #111 !important; box-shadow: 0 6px 16px rgba(255, 204, 0, 0.22); }
.shp-btn--primary:hover { filter: brightness(1.06); box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3); }
.shp-btn--ghost, .shp a.shp-btn--ghost { background: var(--shp-surface-2); border-color: var(--shp-border-strong); color: var(--shp-text-2); }
.shp-btn--ghost:hover, .shp a.shp-btn--ghost:hover { border-color: var(--shp-accent-line); color: var(--shp-accent); background: var(--shp-accent-soft); }
.shp-btn--block { width: 100%; }
.shp-btn--sm { height: 34px; padding: 0 12px; font-size: 12px; }
.shp-btn:disabled, .shp-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; filter: none !important; box-shadow: none !important; }
.shp-iconbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--shp-border-strong); background: var(--shp-surface-2); color: var(--shp-text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: background .18s, color .18s, border-color .18s; }
.shp-iconbtn:hover { color: #fff; background: var(--shp-surface-3); border-color: rgba(255, 255, 255, 0.25); }

/* ---------- الرأس والبحث ---------- */
.shp-head { display: flex; flex-direction: column; gap: 14px; }
.shp-head__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.shp-head__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shp-head__title h1 { margin: 0; font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.shp-head__title h1 i { color: var(--shp-accent); font-size: 20px; }
.shp-head__count { font-size: 13px; color: var(--shp-text-2); background: var(--shp-surface-2); border: 1px solid var(--shp-border); border-radius: 999px; padding: 4px 12px; }
.shp-head__count b { color: var(--shp-accent); font-weight: 900; }

.shp-search { position: relative; }
.shp-search__input { width: 100%; height: 54px; border-radius: 999px; border: 1px solid var(--shp-border-strong); background: var(--shp-surface); color: #fff; font-size: 15px !important; font-weight: 600; padding: 0 50px 0 110px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.shp-search__input::placeholder { color: var(--shp-muted); font-weight: 500; }
.shp-search__input:focus { border-color: var(--shp-accent-line); box-shadow: 0 0 0 4px var(--shp-accent-soft); background: rgba(15, 19, 26, 0.85); }
.shp-search__icon { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 20px; color: var(--shp-muted); font-size: 16px; pointer-events: none; transition: color .2s; }
.shp-search:focus-within .shp-search__icon { color: var(--shp-accent); }
.shp-search__clear { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 92px; width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--shp-surface-3); color: var(--shp-text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; transition: background .18s, color .18s; }
.shp-search__clear:hover { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.shp-search__go { position: absolute; top: 7px; bottom: 7px; inset-inline-end: 7px; padding: 0 20px; border-radius: 999px; border: none; background: linear-gradient(135deg, var(--shp-accent), #e6b800); color: #111; font-size: 13px; font-weight: 900; cursor: pointer; transition: filter .18s, transform .18s; }
.shp-search__go:hover { filter: brightness(1.06); }
.shp-search.is-searching .shp-search__icon { animation: shpPulse 1s infinite; }
@keyframes shpPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- التخطيط: شريط جانبي + محتوى ---------- */
.shp-layout { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 18px; }
.shp-main { min-width: 0; }

/* ---------- الشريط الجانبي (حاسوب) ---------- */
.shp-side { position: sticky; top: calc(var(--shp-header-h) + 16px); max-height: calc(100vh - var(--shp-header-h) - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--shp-surface); border: 1px solid var(--shp-border); border-radius: var(--shp-r); padding: 4px 14px 14px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.15) transparent; }
.shp-side::-webkit-scrollbar { width: 6px; }
.shp-side::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 999px; }
.shp-side__handle, .shp-side__close, .shp-side__foot { display: none; }
.shp-side__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 10px; border-bottom: 1px solid var(--shp-border); }
.shp-side__head h3 { margin: 0; font-size: 16px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.shp-side__head h3 i { color: var(--shp-accent); font-size: 14px; }
.shp-side__clear { border: none; background: transparent; color: var(--shp-muted); font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 8px; transition: color .18s, background .18s; }
.shp-side__clear:hover { color: #fca5a5; background: rgba(239, 68, 68, 0.1); }
.shp-fsec { padding: 12px 0; border-bottom: 1px solid var(--shp-border); }
.shp-fsec:last-child { border-bottom: 0; }
.shp-fsec--stock .shp-switch { width: 100%; }
.shp-fsec__title { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: none; background: transparent; color: var(--shp-text); font-size: 14px; font-weight: 900; padding: 4px 2px; margin: 0 0 6px; cursor: pointer; text-align: start; }
.shp-fsec__title > span { display: inline-flex; align-items: center; gap: 8px; }
.shp-fsec__title > span i { color: var(--shp-accent); font-size: 13px; width: 16px; text-align: center; }
.shp-fsec__caret { font-size: 11px; color: var(--shp-muted); transition: transform .2s; }
.shp-fsec.is-collapsed .shp-fsec__caret { transform: rotate(-90deg); }
.shp-fsec.is-collapsed .shp-fsec__body { display: none; }
.shp-fsec.is-collapsed .shp-fsec__title { margin-bottom: 0; }
.shp-lsearch { position: relative; display: block; margin-bottom: 8px; }
.shp-lsearch i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 11px; font-size: 12px; color: var(--shp-muted); pointer-events: none; }
.shp-lsearch input { width: 100%; height: 36px; border-radius: 10px; border: 1px solid var(--shp-border-strong); background: var(--shp-surface-2); color: #fff; font-size: 16px !important; font-weight: 600; padding: 0 32px 0 10px; outline: none; transition: border-color .18s; }
.shp-lsearch input:focus { border-color: var(--shp-accent-line); }
.shp-lsearch input::placeholder { color: var(--shp-muted); font-weight: 500; }
.shp-flist, .shp-flist__sub { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.shp-flist__row { display: flex; align-items: center; gap: 2px; }
.shp-flink { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--shp-text-2); font-size: 13px; font-weight: 700; cursor: pointer; text-align: start; transition: background .18s, color .18s, border-color .18s; }
.shp-flink > i { font-size: 12px; color: var(--shp-muted); width: 14px; text-align: center; }
.shp-flink:hover { background: var(--shp-surface-3); color: #fff; }
.shp-flink.is-active { background: var(--shp-accent-soft); border-color: var(--shp-accent-line); color: var(--shp-accent); }
.shp-flink.is-active > i { color: var(--shp-accent); }
.shp-flink.is-parent { color: var(--shp-accent); }
.shp-flink__n { margin-inline-start: auto; flex-shrink: 0; font-size: 11px; font-weight: 800; color: var(--shp-muted); background: rgba(255, 255, 255, 0.07); border-radius: 999px; padding: 1px 8px; line-height: 1.5; }
.shp-flink.is-active .shp-flink__n { background: rgba(255, 204, 0, 0.18); color: var(--shp-accent); }
.shp-flink--brand.is-active { background: var(--shp-blue-soft); border-color: var(--shp-blue-line); color: var(--shp-blue); }
.shp-flink--brand.is-active > i { color: var(--shp-blue); }
.shp-flink--brand.is-active .shp-flink__n { background: rgba(56, 189, 248, 0.18); color: var(--shp-blue); }
.shp-flink--brand.is-parent { color: var(--shp-blue); }
.shp-flist__toggle { width: 30px; height: 32px; flex-shrink: 0; border: none; border-radius: 8px; background: transparent; color: var(--shp-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; transition: color .18s, background .18s; }
.shp-flist__toggle:hover { color: #fff; background: var(--shp-surface-3); }
.shp-flist__toggle i { transition: transform .2s; }
.shp-flist__item.is-open > .shp-flist__row .shp-flist__toggle i { transform: rotate(180deg); }
.shp-flist__sub { display: none; margin: 2px 0 6px; margin-inline-start: 14px; padding-inline-start: 10px; border-inline-start: 1px dashed var(--shp-border-strong); }
.shp-flist__item.is-open > .shp-flist__sub { display: flex; }
.shp-flist__sub .shp-flink { font-size: 12.5px; padding: 6px 10px; }
.shp-flist.is-collapsed > .shp-flist__item:nth-child(n+10) { display: none; }
.shp-more { border: none; background: transparent; color: var(--shp-accent); font-size: 12px; font-weight: 700; cursor: pointer; padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; transition: background .18s; }
.shp-more:hover { background: var(--shp-accent-soft); }
.shp-more i { font-size: 10px; }
.shp-price-row { display: flex; gap: 8px; }
.shp-price-row label { flex: 1; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--shp-muted); font-weight: 700; }
.shp-price-row input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--shp-border-strong); background: var(--shp-surface-2); color: #fff; font-size: 16px !important; font-weight: 800; padding: 0 10px; outline: none; text-align: center; transition: border-color .18s; }
.shp-price-row input:focus { border-color: var(--shp-accent-line); }
.shp-price-row input::placeholder { color: var(--shp-muted); opacity: .55; font-weight: 600; }
.shp-price-hint { font-size: 11px; color: var(--shp-muted); margin-top: 8px; }
.shp-price-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.shp-price-actions .shp-btn { flex: 1; }

.shp-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--shp-border-strong); background: var(--shp-surface-2); transition: border-color .18s; position: relative; }
.shp-switch:hover { border-color: var(--shp-accent-line); }
.shp-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.shp-switch__track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); transition: background .2s; flex-shrink: 0; }
.shp-switch__track::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.shp-switch input:checked + .shp-switch__track { background: var(--shp-green); }
.shp-switch input:checked + .shp-switch__track::after { transform: translateX(-14px); }
.shp-switch__label { font-size: 13px; font-weight: 700; color: var(--shp-text-2); white-space: nowrap; }
.shp-switch input:checked ~ .shp-switch__label { color: #fff; }
.shp-switch input:focus-visible + .shp-switch__track { box-shadow: 0 0 0 3px var(--shp-accent-soft); }

/* ---------- شريط الأدوات (لاصق) ---------- */
.shp-toolbar { position: sticky; top: calc(var(--shp-header-h) + 8px); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 14px; background: rgba(11, 15, 22, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--shp-border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.shp-toolbar__active { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.shp-toolbar__active:empty { display: none; }
.shp-toolbar__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
.shp-achip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding-inline-start: 11px; padding-inline-end: 7px; border-radius: 999px; background: var(--shp-accent-soft); border: 1px solid var(--shp-accent-line); color: var(--shp-accent); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s, color .18s, border-color .18s; white-space: nowrap; max-width: 260px; }
.shp-achip span { overflow: hidden; text-overflow: ellipsis; }
.shp-achip i { font-size: 10px; opacity: .8; }
.shp-achip:hover { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.45); color: #fca5a5; }
.shp-achip--brand { background: var(--shp-blue-soft); border-color: var(--shp-blue-line); color: var(--shp-blue); }
.shp-achip--clear { background: transparent; border-color: var(--shp-border-strong); color: var(--shp-muted); }
.shp-achip--clear:hover { color: #fca5a5; }
.shp-toolbar__count { font-size: 12px; color: var(--shp-muted); white-space: nowrap; }
.shp-toolbar__count b { color: var(--shp-text-2); }

.shp-tool { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--shp-border-strong); background: var(--shp-surface-2); color: var(--shp-text-2); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: border-color .18s, color .18s, background .18s; }
.shp-tool:hover { border-color: var(--shp-accent-line); color: var(--shp-accent); }
.shp-tool--select { padding-inline-end: 6px; cursor: default; }
.shp-tool--select i { color: var(--shp-muted); font-size: 12px; }
.shp-tool--select select { background: transparent; border: none; color: inherit; font: inherit; font-size: 13px !important; font-weight: 700; outline: none; cursor: pointer; padding: 0 4px 0 20px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23cbd5e1' stroke-width='1.6' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: left 4px center; }
.shp-tool--select select option { background: #0e131b; color: #fff; }
.shp-tool__badge { min-width: 18px; height: 18px; border-radius: 999px; background: var(--shp-accent); color: #111; font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.shp-tool--filters { display: none; }

.shp-view { display: inline-flex; border: 1px solid var(--shp-border-strong); border-radius: 10px; overflow: hidden; background: var(--shp-surface-2); }
.shp-view__btn { width: 38px; height: 36px; border: none; background: transparent; color: var(--shp-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: background .18s, color .18s; }
.shp-view__btn:hover { color: #fff; }
.shp-view__btn.is-active { background: var(--shp-accent); color: #111; }
.shp-view__btn--single { display: none; } /* خيار "عنصر واحد بالصف" للموبايل فقط */

/* ---------- الشبكة ---------- */
.shp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); gap: 16px; margin-top: 16px; position: relative; transition: opacity .2s; }
.shp-grid.is-loading { opacity: .55; pointer-events: none; }
.shp-meta { display: none; }
.shp-error { grid-column: 1 / -1; text-align: center; padding: 30px; color: #fca5a5; background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--shp-r); font-weight: 700; }

.shp-card { position: relative; display: flex; flex-direction: column; background: var(--shp-surface); border: 1px solid var(--shp-border); border-radius: var(--shp-r); overflow: hidden; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
.shp-card:hover { transform: translateY(-4px); border-color: var(--shp-border-strong); box-shadow: var(--shp-shadow); }
.shp-card.shp-reveal { opacity: 0; transform: translateY(14px); }
.shp-card.shp-reveal.is-visible { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
/* عرض القائمة: البطاقة تنزلق من الجانب مع التمرير */
.shp-grid.is-list .shp-card.shp-reveal { transform: translateX(48px) scale(.98); }
.shp-grid.is-list .shp-card.shp-reveal.is-visible { transform: none; transition: opacity .55s ease, transform .6s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
.shp-grid.is-list .shp-card.shp-reveal.is-visible .shp-card__media img { animation: shpListImg .7s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes shpListImg { from { transform: scale(1.12); opacity: .4; } }
.shp-card__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(110% 80% at 50% 0%, rgba(255, 204, 0, 0.09), transparent 60%), linear-gradient(180deg, rgba(22, 27, 36, 0.9), rgba(12, 16, 23, 0.95)); }
.shp-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.shp-card:hover .shp-card__media img { transform: scale(1.06); }
.shp-card.is-out .shp-card__media img { opacity: .6; filter: grayscale(.5); }
/* علامة X حمراء خفيفة فوق صورة المنتج النافذ (خطان قطريان رفيعان) */
.shp-card.is-out .shp-card__media::after { content: ''; position: absolute; inset: 12%; z-index: 1; pointer-events: none; opacity: .8;
    background:
        linear-gradient(to top right, transparent calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(to top left, transparent calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% + 1px), transparent calc(50% + 1px)); }
.shp-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: rgba(255, 255, 255, 0.12); }
.shp-card__badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.shp-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.shp-badge--sale { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.shp-badge--out { background: rgba(15, 19, 26, 0.9); border: 1px solid rgba(239, 68, 68, 0.5); color: #fca5a5; }
.shp-fav, .shp-peek { position: absolute; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(8, 11, 17, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: transform .2s, color .2s, background .2s, opacity .2s, border-color .2s; }
.shp-fav { top: 10px; inset-inline-end: 10px; }
.shp-fav:hover, .shp-fav.is-active { color: #f87171; border-color: rgba(248, 113, 113, 0.5); }
.shp-fav.is-active { background: rgba(239, 68, 68, 0.18); }
.shp-fav.is-busy { opacity: .6; pointer-events: none; }
.shp-fav:active { transform: scale(.9); }
.shp-peek { bottom: 10px; inset-inline-end: 10px; opacity: 0; transform: translateY(6px); }
.shp-card:hover .shp-peek, .shp-card:focus-within .shp-peek { opacity: 1; transform: none; }
.shp-peek:hover { color: var(--shp-accent); border-color: var(--shp-accent-line); }
@media (hover: none) { .shp-peek { display: none; } }

.shp-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; min-width: 0; }
.shp-card__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 16px; }
.shp-card__cat, .shp-card__brand { border: none; background: transparent; padding: 0; font-size: 11px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; transition: color .18s; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shp-card__cat { color: var(--shp-accent); opacity: .9; }
.shp-card__cat:hover { opacity: 1; text-decoration: underline; }
.shp-card__brand { color: var(--shp-muted); }
.shp-card__brand i { font-size: 10px; }
.shp-card__brand:hover { color: var(--shp-blue); }
.shp-card__cat + .shp-card__brand::before { content: '·'; color: var(--shp-muted); margin-inline-end: 2px; }
.shp-card__title { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.45em * 2); }
.shp-card__title a { transition: color .18s; }
.shp-card__title a:hover { color: var(--shp-accent); }
.shp-card__desc { margin: 0; font-size: 12px; color: var(--shp-muted); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shp-card__pack { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--shp-text-2); font-weight: 700; }
.shp-card__pack > i { color: var(--shp-accent); font-size: 12px; }
.shp-card__pack span { color: var(--shp-muted); font-weight: 600; }
.shp-card__opts { margin-inline-start: auto; color: var(--shp-accent) !important; background: var(--shp-accent-soft); border: 1px solid var(--shp-accent-line); padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700 !important; display: inline-flex; align-items: center; gap: 4px; }
.shp-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.shp-price { font-size: 19px; font-weight: 900; color: var(--shp-green); line-height: 1.2; }
.shp-price small { font-size: 12px; font-weight: 700; color: var(--shp-muted); margin-inline-start: 1px; }
.shp-price-old { font-size: 13px; color: var(--shp-muted); text-decoration: line-through; }
.shp-price-piece { flex-basis: 100%; font-size: 11.5px; color: var(--shp-muted); font-weight: 600; }
.shp-price--na { font-size: 13px; color: var(--shp-accent); font-weight: 800; }
.shp-card__actions { margin-top: auto; padding-top: 8px; }
.shp-cart { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.shp-cart .shp-btn--primary { flex: 1 1 64px; padding: 0 10px; }
.shp-qty { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid var(--shp-border-strong); border-radius: var(--shp-r-sm); background: var(--shp-surface-2); overflow: hidden; flex-shrink: 0; }
.shp-qty button { width: 32px; border: none; background: transparent; color: var(--shp-text-2); cursor: pointer; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; transition: background .18s, color .18s; }
.shp-qty button:hover { background: var(--shp-accent-soft); color: var(--shp-accent); }
.shp-qty input { width: 40px; border: none; background: transparent; color: #fff; text-align: center; font-size: 14px !important; font-weight: 800; outline: none; padding: 0; }

/* الهيكل العظمي */
.shp-card--skeleton { pointer-events: none; }
.shp-card--skeleton .shp-card__media { background: rgba(255, 255, 255, 0.04); }
.shp-card--skeleton .shp-card__body { gap: 10px; }
.sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 75%); background-size: 200% 100%; animation: shpShimmer 1.3s infinite; }
.sk--w40 { width: 40%; } .sk--w90 { width: 90%; } .sk--w60 { width: 60%; }
.sk--btn { height: 40px; border-radius: var(--shp-r-sm); margin-top: auto; }
.shp-card--skeleton .shp-card__media { animation: shpShimmer 1.3s infinite; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 75%); background-size: 200% 100%; }
@keyframes shpShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* عرض القائمة */
.shp-grid.is-list { grid-template-columns: 1fr; gap: 12px; }
.shp-grid.is-list .shp-card { flex-direction: row; align-items: stretch; }
.shp-grid.is-list .shp-card__media { width: 200px; min-width: 200px; aspect-ratio: auto; min-height: 200px; }
.shp-grid.is-list .shp-card__body { padding: 16px 18px; gap: 8px; }
.shp-grid.is-list .shp-card__title { font-size: 17px; min-height: 0; -webkit-line-clamp: 2; }
.shp-grid.is-list .shp-card__desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.shp-grid.is-list .shp-card__actions { max-width: 380px; }
.shp-grid.is-list .shp-card__opts { margin-inline-start: 6px; }
.shp-grid.is-list .shp-fav { inset-inline-end: auto; inset-inline-start: 10px; }
.shp-grid.is-list .shp-peek { inset-inline-end: auto; inset-inline-start: 10px; }
.shp-grid.is-list .shp-card__badges { inset-inline-start: auto; inset-inline-end: 10px; align-items: flex-end; }
.shp-grid.is-list .shp-card--skeleton .shp-card__media { min-height: 160px; }

/* ---------- الترقيم / تحميل المزيد ---------- */
.shp-pager { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0 4px; }
.shp-btn--more { height: 50px; padding: 0 30px; border-radius: 999px; background: var(--shp-surface-2); border: 1px solid var(--shp-border-strong); color: #fff; font-size: 14px; min-width: 260px; }
.shp-btn--more:hover { border-color: var(--shp-accent-line); color: var(--shp-accent); background: var(--shp-accent-soft); }
.shp-btn--more.is-loading { pointer-events: none; opacity: .7; }
.shp-pager__info { font-size: 12px; color: var(--shp-muted); }
.shp-pages { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.shp-page { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--shp-border-strong); background: var(--shp-surface-2); color: var(--shp-text-2); font-size: 13px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .18s, color .18s, border-color .18s; }
.shp-page:hover:not([disabled]):not(.is-active) { border-color: var(--shp-accent-line); color: var(--shp-accent); }
.shp-page.is-active { background: var(--shp-accent); border-color: var(--shp-accent); color: #111; }
.shp-page[disabled] { opacity: .35; cursor: not-allowed; }
.shp-page--gap { border: none; background: transparent; color: var(--shp-muted); cursor: default; }

/* ---------- الحالة الفارغة ---------- */
.shp-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.shp-empty__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--shp-accent-soft); border: 1px solid var(--shp-accent-line); color: var(--shp-accent); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 8px; }
.shp-empty h2 { margin: 0; font-size: 20px; font-weight: 900; }
.shp-empty p { margin: 0 0 10px; color: var(--shp-muted); font-size: 14px; }

/* ---------- العودة للأعلى ---------- */
.shp-top { position: fixed; bottom: 26px; inset-inline-start: 22px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--shp-accent-line); background: rgba(15, 19, 26, 0.9); backdrop-filter: blur(10px); color: var(--shp-accent); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); transition: transform .2s, background .2s; }
.shp-top:hover { transform: translateY(-3px); background: var(--shp-accent); color: #111; }

/* ---------- التوست ---------- */
.shp-toasts { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 10050; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.shp-toast { background: rgba(15, 19, 26, 0.96); border: 1px solid var(--shp-border-strong); border-radius: 12px; padding: 11px 18px; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; display: flex; align-items: center; gap: 8px; max-width: 100%; }
.shp-toast.is-show { opacity: 1; transform: none; }
.shp-toast--success { border-color: rgba(16, 185, 129, 0.5); }
.shp-toast--success i { color: var(--shp-green); }
.shp-toast--error { border-color: rgba(239, 68, 68, 0.5); }
.shp-toast--error i { color: var(--shp-red); }

/* ---------- خلفية شيت الفلاتر (موبايل) ---------- */
.shp-sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 10010; opacity: 0; transition: opacity .25s; }
.shp-sheet-backdrop.is-open { opacity: 1; }
.shp-sheet__n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.18); font-size: 13px; font-weight: 900; }

/* ---------- النظرة السريعة ---------- */
.shp-qv { position: fixed; inset: 0; z-index: 10020; display: flex; align-items: center; justify-content: center; padding: 20px; direction: rtl; font-family: 'Cairo', sans-serif; color: var(--shp-text); }
.shp-qv__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.shp-qv__dialog { position: relative; width: min(960px, 100%); max-height: 90vh; max-height: 90dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: #0e131b; border: 1px solid var(--shp-border-strong); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .25s, transform .25s cubic-bezier(.2, .8, .2, 1); outline: none; }
.shp-qv.is-open .shp-qv__backdrop { opacity: 1; }
.shp-qv.is-open .shp-qv__dialog { opacity: 1; transform: none; }
.shp-qv__close { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 3; background: rgba(8, 11, 17, 0.7); }
.shp-qv__media { position: relative; background: radial-gradient(110% 80% at 50% 0%, rgba(255, 204, 0, 0.09), transparent 60%), linear-gradient(180deg, rgba(22, 27, 36, 0.9), rgba(12, 16, 23, 0.95)); display: flex; align-items: center; justify-content: center; min-height: 320px; }
.shp-qv__media img { width: 100%; height: 100%; max-height: 90vh; object-fit: contain; padding: 28px; display: block; }
.shp-qv__media.is-out img { opacity: .6; filter: grayscale(.5); }
.shp-qv__media.is-out::after { content: ''; position: absolute; inset: 14%; pointer-events: none; opacity: .8;
    background:
        linear-gradient(to top right, transparent calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(to top left, transparent calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% - 1px), rgba(239, 68, 68, 0.75) calc(50% + 1px), transparent calc(50% + 1px)); }
.shp-qv__body { padding: 26px 26px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.shp-qv__meta { font-size: 12px; color: var(--shp-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.shp-qv__meta b { color: var(--shp-accent); font-weight: 700; }
.shp-qv__title { margin: 0; font-size: 21px; font-weight: 900; line-height: 1.4; }
.shp-qv__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shp-qv__stock .shp-badge { font-size: 12px; }
.shp-badge--in { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.45); color: #6ee7b7; }
.shp-qv__pack { font-size: 13px; color: var(--shp-text-2); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.shp-qv__pack i { color: var(--shp-accent); }
.shp-qv__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 26px; font-weight: 900; color: var(--shp-green); }
.shp-qv__price .price { font-size: 26px; font-weight: 900; color: var(--shp-green); }
.shp-qv__price .old-price { font-size: 15px; font-weight: 600; color: var(--shp-muted); text-decoration: line-through; }
.shp-qv__price .shp-price-piece { font-size: 12px; font-weight: 600; color: var(--shp-muted); }
.shp-qv__cart { margin-top: 4px; }
.shp-qv__cart .shp-qty { height: 44px; }
.shp-qv__cart .shp-btn { height: 44px; font-size: 14px; }
.shp-qv__desc { font-size: 13px; color: var(--shp-text-2); line-height: 1.85; max-height: 180px; overflow-y: auto; padding-inline-end: 6px; }
.shp-qv__desc p { margin: 0 0 6px; }
.shp-qv__desc:empty { display: none; }
.shp-qv__link { margin-top: auto; padding-top: 6px; color: var(--shp-accent); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.shp-qv__link:hover { text-decoration: underline; }

/* ==========================================================================
   الاستجابة
   ========================================================================== */
@media (max-width: 1100px) {
    .shp-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 16px; }
    .shp-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
}
/* ---------- ≤ 991px: الشريط الجانبي يتحول إلى درج جانبي ينزلق من اليمين ---------- */
@media (max-width: 991px) {
    .shp-layout { display: block; }
    .shp-tool--filters { display: inline-flex; }
    /* لوحة عائمة بفراغ بسيط من الأعلى والأسفل والجانب (حتى لا تبدو الحدود مقصوصة) */
    .shp-side { position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); inset-inline-start: 8px; width: min(86vw, 380px); height: auto; max-height: none; z-index: 10011; display: flex; flex-direction: column; padding: 0; overflow: hidden; background: #0e131b; border: 1px solid var(--shp-accent-line); border-radius: 22px; box-shadow: 0 0 60px rgba(0, 0, 0, 0.6); transform: translateX(calc(100% + 12px)); visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s; }
    .shp-side.is-open { transform: none; visibility: visible; }
    .shp-side__head { padding: 14px 16px 12px; flex-shrink: 0; border-bottom: 1px solid var(--shp-border); }
    .shp-side__clear { display: none; }
    .shp-side__close { display: inline-flex; }
    .shp-side__body { overflow-y: auto; padding: 0 16px 16px; overscroll-behavior: contain; flex: 1; }
    .shp-side__foot { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--shp-border); flex-shrink: 0; background: #0e131b; }
    .shp-side__foot .shp-btn { flex: 1; height: 46px; font-size: 14px; }
    .shp-side__foot .shp-btn--ghost { flex: 0 0 auto; padding: 0 16px; }
    .shp-flist.is-collapsed > .shp-flist__item:nth-child(n+10) { display: block; } /* على الموبايل تظهر القائمة كاملة */
    .shp-more { display: none; }
}
@media (max-width: 768px) {
    .shp { --shp-header-h: var(--shp-header-m, 75px); padding: 12px 12px 90px; }
    .shp-head { gap: 10px; }
    .shp-head__title h1 { font-size: 19px; }
    .shp-head__count { font-size: 12px; padding: 3px 10px; }
    .shp-search__input { height: 48px; font-size: 16px !important; padding: 0 46px 0 46px; } /* 16px يمنع تكبير iOS عند التركيز */
    .shp-search__icon { inset-inline-start: 17px; }
    .shp-search__go { display: none; }
    .shp-search__clear { inset-inline-end: 10px; }
    .shp-layout { margin-top: 12px; }
    .shp-toolbar { top: var(--shp-header-h); padding: 6px 8px; gap: 6px; border-radius: 12px; }
    .shp-toolbar__tools { gap: 6px; width: 100%; margin-inline-start: 0; }
    .shp-toolbar__active { order: 2; width: 100%; padding-top: 6px; border-top: 1px dashed var(--shp-border); }
    .shp-toolbar__active:empty, .shp-toolbar__active.is-count-only { display: none; }
    .shp-tool { height: 36px; padding: 0 10px; font-size: 12.5px; }
    .shp-tool--select { flex: 1; min-width: 0; }
    .shp-tool--select select { width: 100%; min-width: 0; }
    .shp-tool--filters { margin-inline-start: auto; }
    .shp-view__btn { width: 34px; height: 34px; }
    .shp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
    .shp-card { border-radius: 14px; }
    .shp-card__media img { padding: 8px; }
    .shp-card__body { padding: 9px 10px 10px; gap: 5px; }
    .shp-card__meta { font-size: 10px; min-height: 0; }
    .shp-card__cat, .shp-card__brand { font-size: 10.5px; }
    .shp-card__title { font-size: 13px; line-height: 1.4; min-height: calc(1.4em * 2); }
    .shp-card__desc { display: none; }
    .shp-card__pack { font-size: 11px; gap: 4px; }
    .shp-card__opts { font-size: 10px; padding: 0 6px; }
    .shp-price { font-size: 16px; }
    .shp-price small { font-size: 10.5px; }
    .shp-price-old { font-size: 11.5px; }
    .shp-price-piece { font-size: 10.5px; }
    .shp-card__actions { padding-top: 6px; }
    .shp-qty { height: 36px; border-radius: 10px; }
    .shp-qty button { width: 26px; }
    .shp-qty input { width: 34px; font-size: 16px !important; }
    .shp-cart { gap: 6px; }
    .shp-cart .shp-btn--primary { height: 36px; padding: 0 8px; font-size: 12px; border-radius: 10px; }
    .shp-btn--block { height: 36px; font-size: 12px; border-radius: 10px; }
    .shp-fav { width: 32px; height: 32px; font-size: 13px; top: 8px; inset-inline-end: 8px; }
    .shp-badge { font-size: 10px; padding: 3px 8px; }
    .shp-card__badges { top: 8px; inset-inline-start: 8px; }
    /* عرض "عنصر واحد بالصف" (موبايل): بطاقة كبيرة بكامل العرض */
    .shp-view__btn--single { display: inline-flex; }
    .shp-grid.is-single { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .shp-grid.is-single .shp-card { border-radius: 18px; }
    .shp-grid.is-single .shp-card__media { aspect-ratio: 5 / 4; }
    .shp-grid.is-single .shp-card__media img { padding: 16px; }
    .shp-grid.is-single .shp-card__body { padding: 14px 16px 16px; gap: 8px; }
    .shp-grid.is-single .shp-card__cat, .shp-grid.is-single .shp-card__brand { font-size: 12px; }
    .shp-grid.is-single .shp-card__title { font-size: 17px; line-height: 1.45; min-height: 0; }
    .shp-grid.is-single .shp-card__desc { display: block; font-size: 13px; white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }
    .shp-grid.is-single .shp-card__pack { font-size: 13px; gap: 6px; }
    .shp-grid.is-single .shp-card__opts { font-size: 11px; padding: 1px 8px; }
    .shp-grid.is-single .shp-price { font-size: 22px; }
    .shp-grid.is-single .shp-price small { font-size: 12px; }
    .shp-grid.is-single .shp-price-old { font-size: 13px; }
    .shp-grid.is-single .shp-price-piece { font-size: 12px; }
    .shp-grid.is-single .shp-qty { height: 42px; }
    .shp-grid.is-single .shp-qty button { width: 34px; }
    .shp-grid.is-single .shp-qty input { width: 44px; }
    .shp-grid.is-single .shp-cart .shp-btn--primary, .shp-grid.is-single .shp-btn--block { height: 42px; font-size: 14px; padding: 0 14px; }
    .shp-grid.is-single .shp-fav { width: 38px; height: 38px; font-size: 15px; top: 12px; inset-inline-end: 12px; }
    .shp-grid.is-single .shp-badge { font-size: 12px; padding: 4px 10px; }
    .shp-grid.is-single .shp-card__badges { top: 12px; inset-inline-start: 12px; }
    .shp-grid.is-list .shp-card__media { width: 124px; min-width: 124px; min-height: 124px; }
    .shp-grid.is-list .shp-card__body { padding: 10px 12px; }
    .shp-grid.is-list .shp-card__title { font-size: 14px; }
    .shp-grid.is-list .shp-card__desc { display: none; }
    .shp-grid.is-list .shp-card__actions { max-width: none; }
    .shp-btn--more { min-width: 0; width: 100%; height: 46px; font-size: 13px; }
    .shp-page { min-width: 34px; height: 34px; font-size: 12px; }
    .shp-empty { padding: 40px 10px; }
    .shp-empty h2 { font-size: 17px; }
    .shp-top { bottom: 96px; inset-inline-start: 14px; width: 42px; height: 42px; } /* فوق شريط التنقل السفلي */
    .shp-toasts { bottom: 96px; }
    .shp-qv { padding: 0; align-items: flex-end; }
    .shp-qv__dialog { grid-template-columns: 1fr; width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; transform: translateY(40px); overflow-y: auto; }
    .shp-qv__media { min-height: 0; max-height: 42vh; }
    .shp-qv__media img { max-height: 42vh; padding: 18px; }
    .shp-qv__body { padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); overflow: visible; }
    .shp-qv__title { font-size: 17px; }
    .shp-qv__price .price { font-size: 22px; }
    .shp-qv__desc { max-height: none; }
}
@media (max-width: 360px) {
    .shp-grid { gap: 8px; }
    .shp-cart .shp-btn--primary span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .shp *, .shp-sheet, .shp-qv * { transition: none !important; animation: none !important; }
    .shp-card.shp-reveal { opacity: 1; transform: none; }
}
