/* مسیر: public_html/assets/css/shop.css — بخش عمومی /shop (از متغیرهای تم app.css استفاده می‌کند) */
.shop-body { margin: 0; }
.sh-hd { background: var(--hd); color: #fff; border-bottom: 4px solid var(--gold); }
.sh-hd-in {  margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.sh-brand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 16px; }
.sh-brand:hover { color: #fff; }
.sh-brand .lgi { height: 38px; max-width: 120px; padding: 3px 6px; background: #fff; border-radius: 10px; }
.sh-brand span:not(.mk) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-hd .btn { width: auto; margin: 0; padding: 8px 16px; font-size: 13px; }
.sh-hd .btn.s { color: #fff; border-color: rgba(255, 255, 255, .35); }
.sh-main { max-width: 1600px; margin: 0 auto; padding: 20px 16px 40px; min-height: 60vh; }
.sh-h1 { font-size: 22px; margin: 0 0 6px; }
.sh-h2 { font-size: 18px; margin: 28px 0 12px; }

.sh-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.sh-f input[type=search], .sh-f .btn { grid-column: 1 / -1; }
.sh-f input, .sh-f select { padding: 10px 12px; }
.sh-f .btn { margin: 0; }
@media (min-width: 800px) { .sh-f { grid-template-columns: 2fr 1.2fr 1.2fr 1fr auto; } .sh-f input[type=search], .sh-f .btn { grid-column: auto; } .sh-f .btn { width: auto; padding: 10px 24px; } }

.sh-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 0 16px; scrollbar-width: thin; }
.sh-chips a { flex: none; padding: 6px 14px; border: 1px solid var(--bd); border-radius: 999px; font-size: 13px; background: var(--card); white-space: nowrap; }
.sh-chips a.on { background: var(--pr); color: var(--btx); border-color: var(--pr); font-weight: 700; }

.sh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 20px; }
@media (min-width: 700px) { .sh-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .sh-grid { grid-template-columns: repeat(6, 1fr); } }
.sh-card { display: flex; flex-direction: column; background: var(--card); color: var(--tx); border: 1px solid var(--bd); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.sh-card:hover { border-color: var(--pr); box-shadow: var(--shadow-md); color: var(--tx); }
.sh-img { display: block; aspect-ratio: 4 / 3; background: var(--bg); }
.sh-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-ph { display: grid; place-items: center; height: 100%; font-size: 40px; color: var(--mu); opacity: .4; }
.sh-b { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.sh-b b { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-b small { color: var(--mu); font-size: 12px; }
.sh-pr { font-weight: 800; color: var(--pr); font-size: 15px; }
.sh-pr small { font-weight: 500; color: var(--mu); font-size: 11px; }
.sh-empty { padding: 40px 16px; text-align: center; color: var(--mu); background: var(--card); border: 1px dashed var(--bd); border-radius: var(--radius); }
.sh-pg { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 0; }
.sh-pg .btn { width: auto; margin: 0; padding: 9px 20px; font-size: 13px; }

.sh-bc { font-size: 12px; color: var(--mu); margin: 0 0 14px; line-height: 2; }
.sh-bc a:hover { color: var(--pr); }
.sh-p { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 800px) { .sh-p { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; } }
.sh-p-img { aspect-ratio: 4 / 3; background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius); overflow: hidden; }
.sh-p-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-p-pr { font-size: 24px; font-weight: 800; color: var(--pr); margin: 6px 0 14px; }
.sh-p-pr small { font-size: 13px; font-weight: 500; color: var(--mu); }
.sh-p-tx { line-height: 2; margin: 0 0 18px; overflow-wrap: anywhere; }
.sh-cta { background: var(--card); border: 1px solid var(--bd); border-right: 4px solid var(--gold); border-radius: var(--radius); padding: 16px; }
.sh-cta .btn:last-child { margin-bottom: 0; }

.sh-ft { background: var(--hd); color: #cbd5e1; border-top: 4px solid var(--gold); font-size: 13px; line-height: 2; }
.sh-ft-in { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
.sh-ft b { color: #fff; }
.sh-ft p { margin: 4px 0 10px; }
.sh-ft small { opacity: .7; }