/* ==========================================================================
   ПорогиСтор — блоки главной ниже слайдера (21.11.2026), в стиле шапки/слайдера (store-v2.css).
   Откат: убрать подключение в components/head.blade.php и вернуть прежний home.blade.php.
   ========================================================================== */

/* ---------- общие элементы ---------- */
.ps-block { padding: 72px 0 0; }
.ps-block--tight { padding-top: 40px; }
.ps-block--gray { background: #f4f5f7; padding: 72px 0; margin-top: 72px; }
.ps-block--gray + .ps-block { padding-top: 72px; }
.ps-kicker {
    display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 14px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; color: #6b717a;
}
.ps-kicker span { width: 26px; height: 11px; flex: 0 0 26px; transform: skewX(-30deg);
    background: linear-gradient(var(--ps2-y2), var(--ps2-y2)) 0 0 / 10px 100% no-repeat, linear-gradient(var(--ps2-y1), var(--ps2-y1)) 14px 0 / 10px 100% no-repeat; }
.ps-kicker--light { color: rgba(255, 255, 255, .7); }
.ps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin: 0 0 30px; }
.ps-head h2, .ps-about h1, .ps-pick h2 {
    font-family: var(--ps2-head); font-weight: 800; color: var(--ps2-ink); letter-spacing: -.015em; line-height: 1.15; margin: 0;
    font-size: clamp(26px, 2.4vw, 38px);
}
.ps-more {
    display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ps2-ink) !important;
    padding: 10px 18px; border-radius: 30px; background: #f2f3f5; transition: background .2s;
}
.ps-more:hover { background: var(--ps2-grad); }
.ps-center { text-align: center; margin-top: 36px; }
.ps-btn--ghost { background: #fff; border: 2px solid var(--ps2-y2); box-shadow: none; height: 54px; font-size: 16px; }
.ps-btn--ghost:hover { background: var(--ps2-grad); box-shadow: 0 10px 22px rgba(240, 170, 0, .3); }

/* ---------- о компании ---------- */
.ps-about { padding: 72px 0 0; }
.ps-about__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ps-about h1 { font-size: clamp(28px, 2.7vw, 44px); margin: 0 0 18px; }
.ps-about__lead { font-size: 18px; line-height: 1.6; color: #4a5059; margin: 0 0 24px; max-width: 680px; }
.ps-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.ps-chips a {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; border: 1px solid #e2e5e9;
    background: #fff; color: var(--ps2-ink) !important; font-size: 14px; font-weight: 600; transition: .2s;
}
.ps-chips a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ps2-y2); }
.ps-chips a:hover { border-color: var(--ps2-y2); background: #fff8dc; }
.ps-about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ps-stat {
    position: relative; padding: 24px 24px 22px; border-radius: 20px; background: #f4f5f7; overflow: hidden;
    display: flex; flex-direction: column; gap: 4px; min-height: 150px; justify-content: flex-end;
}
.ps-stat svg { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; color: var(--ps2-y2); }
.ps-stat b { font-family: var(--ps2-head); font-size: 40px; font-weight: 800; line-height: 1; color: var(--ps2-ink); letter-spacing: -.02em; }
.ps-stat span { font-size: 15px; color: #6b717a; }
.ps-stat--dark { background: var(--ps2-ink); }
.ps-stat--dark b { background: var(--ps2-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-stat--dark span { color: rgba(255, 255, 255, .72); }

/* ---------- вкладки-«таблетки» ---------- */
.ps-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 30px; background: #f2f3f5; }
.ps-seg button {
    border: 0; background: transparent; padding: 10px 20px; border-radius: 26px; font-size: 15px; font-weight: 600;
    color: #4a5059; cursor: pointer; transition: .2s;
}
.ps-seg button:hover { color: var(--ps2-ink); }
.ps-seg button.is-on { background: var(--ps2-grad); color: var(--ps2-ink); box-shadow: 0 6px 14px rgba(240, 170, 0, .3); }

/* ---------- карточки товаров на главной ---------- */
.ps-cards { gap: 20px; }
.ps-cards .porog-card { margin: 0 !important; }
.ps-cards .porog-card {
    border: 1px solid #eceef1 !important; border-radius: 18px !important; padding: 18px !important; background: #fff !important;
    transition: transform .2s, box-shadow .2s, border-color .2s !important;
}
.ps-cards .porog-card:hover { transform: translateY(-4px); border-color: transparent !important; box-shadow: 0 18px 36px rgba(30, 35, 45, .12) !important; }
.ps-cards .porog-card .porog-card__img { border-radius: 12px !important; background: #fff !important; padding: 0 !important; overflow: hidden; order: -1; margin-bottom: 14px; }
.ps-cards .porog-card .porog-card__img img { border-radius: 12px; }
.ps-cards .porog-card__cats { order: -1; display: none; }
.ps-cards .porog-card__title { min-height: 40px; }
.ps-cards .porog-card__title a { color: var(--ps2-ink) !important; }
.ps-cards .porog-card__title a:hover { color: #c77700 !important; text-decoration: none; }
.ps-cards .porog-card .porog-card__price { font-family: var(--ps2-head); font-weight: 800 !important; font-size: 20px !important; }
.ps-cards .porog-card__cartbtn { width: 42px; height: 42px; flex-basis: 42px; border-radius: 12px; background: var(--ps2-grad); color: var(--ps2-ink) !important; }
.ps-cards .porog-card:hover .porog-card__cartbtn { background: var(--ps2-ink); color: #fff !important; }
.ps-cards .porog-card__stock { display: inline-flex; align-items: center; gap: 6px; color: #8a9098; }
.ps-cards .porog-card__stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c3c7cc; }
.ps-cards .porog-card__stock.is-in { color: #2f8f46; }
.ps-cards .porog-card__stock.is-in::before { background: #36b25a; }

/* ---------- как заказать ---------- */
.ps-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ps-step {
    display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 20px; background: #f4f5f7; color: var(--ps2-ink) !important;
    transition: transform .2s, box-shadow .2s;
}
.ps-step:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(30, 35, 45, .1); }
.ps-step__ico {
    width: 58px; height: 58px; flex: 0 0 58px; border-radius: 16px; background: var(--ps2-grad); color: var(--ps2-ink);
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(240, 170, 0, .3);
}
.ps-step__ico svg { width: 28px; height: 28px; }
.ps-step__body { flex: 1; min-width: 0; }
.ps-step__body b { display: block; font-family: var(--ps2-head); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.ps-step__body small { display: block; font-size: 14px; line-height: 1.45; color: #6b717a; }
.ps-step__go { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: .2s; }
.ps-step:hover .ps-step__go { background: var(--ps2-ink); color: #fff; }
.ps-step--dark { background: var(--ps2-ink); color: #fff !important; }
.ps-step--dark small { color: rgba(255, 255, 255, .7); }
.ps-step--dark .ps-step__go { background: rgba(255, 255, 255, .12); color: #fff; }
.ps-step--dark:hover .ps-step__go { background: var(--ps2-grad); color: var(--ps2-ink); }

/* ---------- подбор по автомобилю ---------- */
.ps-pick {
    position: relative; overflow: hidden; border-radius: 26px; padding: 44px 48px; background: var(--ps2-ink);
    display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: center;
}
.ps-pick::after {
    content: ''; position: absolute; top: -40px; bottom: -40px; right: 12%; width: 90px; transform: skewX(-28deg);
    background: var(--ps2-grad); opacity: .14; pointer-events: none;
}
.ps-pick > * { position: relative; z-index: 1; }
.ps-pick h2 { color: #fff; font-size: clamp(24px, 2vw, 32px); margin: 0 0 12px; }
.ps-pick__text > p:last-child { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.55; margin: 0; }
.ps-pick .porog-selector { background: transparent !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
.ps-pick .porog-selector .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
.ps-pick .porog-selector .col-lg-3 { flex: 0 0 auto; width: 50%; }
.ps-pick .porog-select, .ps-pick .porog-selector select {
    height: 54px; border-radius: 12px !important; border: 0; background-color: #fff; font-size: 15px; color: var(--ps2-ink); padding: 0 16px; width: 100%;
}
.ps-pick .porog-select:disabled { background-color: rgba(255, 255, 255, .82); }
.ps-pick .porog-selector__btn {
    width: 100%; height: 54px; border-radius: 12px !important; background: var(--ps2-grad) !important; color: var(--ps2-ink) !important;
    font-family: var(--ps2-head); font-weight: 700; font-size: 16px !important; box-shadow: 0 8px 18px rgba(240, 170, 0, .3);
}
.ps-pick .porog-selector__btn::before, .ps-pick .porog-selector__btn::after { display: none !important; }
.ps-pick .porog-selector__btn:hover { color: var(--ps2-ink) !important; filter: brightness(1.05); }

/* ---------- марки ---------- */
.ps-brandgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ps-brandgrid a {
    position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px 20px 18px; border-radius: 16px;
    border: 1px solid #eceef1; background: #fff; color: var(--ps2-ink) !important; transition: .2s;
}
.ps-brandgrid b { font-family: var(--ps2-head); font-size: 17px; font-weight: 700; }
.ps-brandgrid small { font-size: 13px; color: #8a9098; }
.ps-brandgrid i { position: absolute; right: 18px; top: 50%; transform: translate(-6px, -50%); opacity: 0; font-size: 13px; transition: .2s; }
.ps-brandgrid a:hover { border-color: var(--ps2-y2); background: #fffaf0; box-shadow: 0 10px 22px rgba(240, 170, 0, .14); }
.ps-brandgrid a:hover i { opacity: 1; transform: translate(0, -50%); }

/* ---------- примеры установки ---------- */
.ps-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ps-case { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.ps-case:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(30, 35, 45, .12); }
.ps-case__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ps-case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ps-case:hover .ps-case__img img { transform: scale(1.05); }
.ps-case__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ps-case h3 { font-family: var(--ps2-head); font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
.ps-case h3 a { color: var(--ps2-ink) !important; }
.ps-case p { font-size: 14px; line-height: 1.55; color: #6b717a; margin: 0 0 16px; flex: 1; }
.ps-case__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ps2-ink) !important; }
.ps-case__more i { color: #e3a300; transition: transform .2s; }
.ps-case__more:hover i { transform: translateX(4px); }

/* ---------- отзывы + заявка ---------- */
.ps-revwrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; }
.ps-revgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ps-revcard { padding: 22px; border-radius: 18px; background: #f4f5f7; display: flex; flex-direction: column; gap: 12px; }
.ps-revcard:first-child { grid-column: 1 / -1; background: #fff8e0; }
.ps-revcard__top { display: flex; align-items: center; gap: 14px; }
.ps-revcard__top img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: #fff; flex: 0 0 52px; }
.ps-revcard__top b { display: block; font-size: 15px; color: var(--ps2-ink); }
.ps-revcard__stars { color: #f5b000; font-size: 15px; letter-spacing: 2px; }
.ps-revcard__stars i { font-style: normal; color: #d5d8dc; }
.ps-revcard p { margin: 0; font-size: 14px; line-height: 1.6; color: #3d424a; }
.ps-revcard__p { font-size: 13px; font-weight: 600; color: #8a6400 !important; }
.ps-reqcard {
    position: sticky; top: 20px; padding: 28px 30px 30px; border-radius: 22px; background: #fff; border: 2px solid var(--ps2-y1);
    box-shadow: 0 18px 40px rgba(30, 35, 45, .1);
}
.ps-reqcard h2 { font-family: var(--ps2-head); font-size: 24px; font-weight: 800; color: var(--ps2-ink); margin: 0; }
.ps-reqcard__note { font-size: 14px; color: #6b717a; margin: -8px 0 18px; }
.ps-reqcard .ps-field input, .ps-reqcard textarea {
    width: 100%; height: 48px; margin: 0; padding: 0 14px 0 54px; border: 1px solid var(--ps2-line); border-radius: 10px; font-size: 15px;
    color: var(--ps2-ink); outline: 0; background: #fff;
}
.ps-reqcard .ps-field svg { left: 16px; }
.ps-reqcard textarea { height: 96px; padding: 12px 16px; resize: vertical; margin-bottom: 14px; }
.ps-reqcard .ps-field input:focus, .ps-reqcard textarea:focus { border-color: var(--ps2-y2); box-shadow: 0 0 0 3px rgba(251, 189, 11, .18); }
.ps-reqcard .porog-agree { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; font-size: 13px; line-height: 1.35; color: #3d424a; }
.ps-reqcard .porog-agree input {
    appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: 0 0 22px; margin: 0; border: 2px solid var(--ps2-y2); border-radius: 6px; background: #fff; cursor: pointer;
}
.ps-reqcard .porog-agree input:checked {
    background: var(--ps2-grad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320252d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ps-reqcard .porog-agree a { color: #3d424a !important; text-decoration: underline; }
.ps-reqcard .result:empty { display: none; }

/* отступ перед блоком «Перезвоним» над подвалом */
.ps-revwrap { margin-bottom: 40px; }

/* блок «Перезвоним и поможем подобрать детали» над подвалом — в стиле главной */
.cta-one__inner { background: var(--ps2-ink) !important; border-radius: 26px !important; overflow: hidden; position: relative; }
.cta-one__inner::after {
    content: ''; position: absolute; top: -40px; bottom: -40px; left: 46%; width: 80px; transform: skewX(-28deg);
    background: var(--ps2-grad); opacity: .16; pointer-events: none;
}
.cta-one__inner > * { position: relative; z-index: 1; }
.cta-one__title { font-family: var(--ps2-head) !important; font-weight: 800 !important; letter-spacing: -.01em; }
.cta-one__input-box input { border-radius: 30px !important; }
.cta-one__input-box .thm-btn { background: var(--ps2-grad) !important; font-family: var(--ps2-head); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1399px) {
    .ps-brandgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ps-revwrap { grid-template-columns: minmax(0, 1fr) 380px; }
    .ps-pick { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); padding: 38px 36px; }
}
@media (max-width: 1199px) {
    .ps-about__grid { grid-template-columns: 1fr; gap: 32px; }
    .ps-about__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ps-steps { grid-template-columns: 1fr; gap: 12px; }
    .ps-pick { grid-template-columns: 1fr; gap: 24px; }
    .ps-revwrap { grid-template-columns: 1fr; }
    .ps-reqcard { position: static; max-width: 640px; }
}
@media (max-width: 991px) {
    .ps-about, .ps-block { padding-top: 48px; }
    .ps-block--tight { padding-top: 28px; }
    .ps-block--gray { padding: 48px 0; margin-top: 48px; }
    .ps-block--gray + .ps-block { padding-top: 48px; }
    .ps-about__stats { grid-template-columns: 1fr 1fr; }
    .ps-cases { grid-template-columns: 1fr 1fr; }
    .ps-cases .ps-case:nth-child(3) { display: none; }
    .ps-head { margin-bottom: 22px; }
}
@media (max-width: 767px) {
    .ps-pick .porog-selector .col-lg-3 { width: 100%; }
    .ps-pick { padding: 28px 20px; border-radius: 20px; }
    .ps-cases { grid-template-columns: 1fr; }
    .ps-cases .ps-case:nth-child(3) { display: flex; }
    .ps-revgrid { grid-template-columns: 1fr; }
    .ps-brandgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 575px) {
    .ps-about__lead { font-size: 16px; }
    .ps-stat { min-height: 120px; padding: 18px; border-radius: 16px; }
    .ps-stat b { font-size: 30px; }
    .ps-stat span { font-size: 13px; }
    .ps-stat svg { width: 26px; height: 26px; top: 16px; right: 16px; }
    .ps-chips a { font-size: 13px; padding: 7px 12px; }
    .ps-seg { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .ps-seg button { white-space: nowrap; padding: 9px 14px; font-size: 14px; }
    .ps-cards { gap: 10px; }
    .ps-cards .porog-card { padding: 10px !important; border-radius: 14px !important; }
    .ps-cards .porog-card .porog-card__price { font-size: 15px !important; white-space: nowrap; }
    .ps-cards .porog-card__cartbtn { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
    .ps-cards .porog-card__rating { font-size: 11px; flex-wrap: wrap; }
    .ps-cards .porog-card__title { font-size: 13px !important; min-height: 0; }
    .ps-step { padding: 18px; gap: 14px; }
    .ps-step__ico { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; }
    .ps-reqcard { padding: 22px 18px; }
    .ps-more { padding: 8px 14px; font-size: 14px; }
}
