/* Каталог-прайс FERDINAND — все стили внутри #fdPrice, чтобы не задевать форум */
#fdPrice { font-size: 13px; color: #141414; max-width: 100%; }
#fdPrice * { box-sizing: border-box; }
#fdPrice .fdpHead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
#fdPrice .fdpIntro { flex: 1 1 300px; }
#fdPrice .fdpHead p { margin: 0 0 4px; color: #555; }
#fdPrice .fdpTg { display: flex; align-items: center; gap: 12px; }
#fdPrice .fdpTgBtn { display: inline-block; background: #229ED9; color: #fff; text-decoration: none; font-weight: bold; font-size: 14px; padding: 8px 16px; border-radius: 5px; text-align: center; line-height: 1.3; }
#fdPrice .fdpTgBtn small { font-weight: normal; opacity: .9; }
#fdPrice .fdpTgBtn:hover { background: #1b8bc0; }
#fdPrice .fdpQr { display: block; width: 120px; height: 120px; border-radius: 12px; box-shadow: 0 0 0 1px #d7edfc; }
.fdpToast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #2b485c; color: #fff; padding: 10px 16px; border-radius: 5px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 1000; max-width: 90%; text-align: center; }
.fdpToast.show { opacity: 1; }

#fdPrice .fdpFilters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 8px; background: #f0f7fc; border: 1px solid #d7edfc; border-radius: 5px; padding: 10px; }
#fdPrice .fdpFilters label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: #555; min-width: 0; }
#fdPrice .fdpFilters input[type=search], #fdPrice .fdpFilters select { font: inherit; font-size: 13px; padding: 5px 6px; border: 1px solid #c4c4c4; border-radius: 3px; background: #fff; width: 100%; box-sizing: border-box; }
#fdPrice .fdpBar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
#fdPrice .fdpBar label { flex-direction: row; align-items: center; font-size: 13px; color: #141414; }
#fdPrice .fdpBar select { width: auto; max-width: 100%; }

#fdPrice .fdpCount { margin-left: auto; color: #555; }
#fdPrice .fdpReset { font: inherit; background: none; border: 0; color: #176093; cursor: pointer; padding: 0; text-decoration: underline; }

#fdPrice .fdpList { margin-top: 10px; border-top: 1px solid #e3e3e3; }
#fdPrice .fdpRow { display: flex; justify-content: space-between; gap: 16px; padding: 10px 4px; border-bottom: 1px solid #e3e3e3; }
#fdPrice .fdpRow:hover { background: #fafcfe; }
#fdPrice .fdpMain { min-width: 0; flex: 1 1 auto; }
#fdPrice .fdpImg { flex: 0 0 64px; height: 64px; display: flex; align-items: center; justify-content: center; border: 1px solid #e3e3e3; border-radius: 4px; background: #fff; overflow: hidden; }
#fdPrice .fdpImg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
#fdPrice .fdpName { font-weight: bold; font-size: 14px; overflow-wrap: anywhere; }
#fdPrice .fdpMeta { color: #666; margin-top: 3px; font-size: 12px; }
#fdPrice .fdpSpecs { margin-top: 4px; font-size: 12px; color: #444; }
#fdPrice .fdpSpecs summary { cursor: pointer; color: #176093; }
#fdPrice .fdpSpecs div { margin-top: 3px; overflow-wrap: anywhere; }
#fdPrice .fdpSide { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
#fdPrice .fdpPrice { white-space: nowrap; }
#fdPrice .fdpPriceNum { font-size: 16px; font-weight: bold; font-variant-numeric: tabular-nums; }
#fdPrice .fdpCur { color: #555; }
#fdPrice .fdpAsk { color: #777; font-style: italic; }
#fdPrice .fdpStock { font-size: 11px; }
#fdPrice .fdpStock.yes { color: #2a7a2a; }
#fdPrice .fdpStock.no { color: #9a6a00; }
#fdPrice .fdpOrder { display: inline-block; background: #229ED9; color: #fff; text-decoration: none; padding: 4px 14px; border-radius: 3px; font-weight: bold; }
#fdPrice .fdpOrder:hover { background: #1b8bc0; }
#fdPrice .fdpMore { display: block; margin: 14px auto 0; font: inherit; padding: 7px 18px; border: 1px solid #176093; background: #fff; color: #176093; border-radius: 3px; cursor: pointer; }
#fdPrice .fdpEmpty { padding: 20px 4px; color: #555; }
#fdPrice .fdpNote { margin-top: 14px; color: #777; font-size: 11px; }

@media (max-width: 800px) {
	#fdPrice .fdpFilters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#fdPrice .fdpFilters .fdpSearch { grid-column: 1 / -1; }
	#fdPrice .fdpCount { margin-left: 0; }
}
@media (max-width: 520px) {
	#fdPrice .fdpQr { display: none; }
	#fdPrice .fdpTg, #fdPrice .fdpTgBtn { width: 100%; }
	#fdPrice .fdpRow { flex-wrap: wrap; gap: 6px 10px; }
	#fdPrice .fdpMain { flex: 1 1 0; }
	#fdPrice .fdpSide { flex: 1 1 100%; }
	#fdPrice .fdpSide { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
}
