/* Главная страница магазина (Views/Schop/Home.cshtml) */
.shop-home { max-width: 1240px; margin: 0 auto; padding: 16px 16px 48px; color: #111827; }
.sh-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #dc3545; margin-bottom: 8px; }

.sh-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; background: linear-gradient(135deg, #fff 0%, #fff5f5 100%); border: 1px solid #f1e3e3; border-radius: 20px; padding: 32px; margin-bottom: 16px; }
.sh-hero h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); font-weight: 900; line-height: 1.15; margin: 0 0 12px; }
.sh-hero p { color: #4b5563; font-size: 1.05rem; margin-bottom: 18px; }
.sh-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid #e5e7eb; border-radius: 14px; padding: 6px 6px 6px 14px; max-width: 560px; }
.sh-search:focus-within { border-color: #dc3545; }
.sh-search .bi { color: #9ca3af; }
.sh-search input { flex: 1; border: 0; outline: 0; min-width: 0; font-size: 1rem; background: transparent; }
.sh-hero__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sh-hero__visual { position: relative; height: 260px; }
.sh-hero__visual img { position: absolute; width: 58%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.sh-hero__visual img:nth-child(1) { left: 0; top: 10%; transform: rotate(-6deg); }
.sh-hero__visual img:nth-child(2) { right: 0; top: 0; transform: rotate(5deg); }
.sh-hero__visual img:nth-child(3) { left: 22%; bottom: -6%; transform: rotate(-1deg); z-index: 1; }

.sh-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 32px; }
.sh-trust > div { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px 14px; }
.sh-trust .bi { grid-row: 1 / 3; font-size: 1.5rem; color: #dc3545; }
.sh-trust strong { font-size: 0.9rem; }
.sh-trust span { font-size: 0.78rem; color: #6b7280; }

.sh-section { margin-bottom: 36px; }
.sh-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sh-section__head h2 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); font-weight: 800; margin: 0; }
.sh-section__head a { color: #dc3545; font-weight: 700; text-decoration: none; white-space: nowrap; }

.sh-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sh-cat { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 12px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.sh-cat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07); border-color: #dc3545; }
.sh-cat img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 6px; }
.sh-cat__name { font-weight: 800; }
.sh-cat__name .bi { color: #dc3545; }
.sh-cat__meta { font-size: 0.8rem; color: #6b7280; }

.sh-makers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; align-items: stretch; }
.sh-maker { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 14px; height: 100%; }
.sh-maker__logo { height: 84px; display: flex; align-items: center; justify-content: center; background: #2f2f2f; border-radius: 12px; text-decoration: none; font-weight: 900; color: #fff !important; }
.sh-maker__logo img { max-width: 60%; max-height: 64%; object-fit: contain; }
.sh-maker__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sh-maker__name { font-weight: 800; font-size: 1.1rem; color: #111827; text-decoration: none; }
.sh-maker__name:hover { color: #dc3545; }
.sh-maker__meta { font-size: 0.82rem; color: #6b7280; margin-bottom: 8px; }
.sh-maker__systems { display: flex; flex-wrap: wrap; gap: 4px; }
.sh-chip { font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #f3f4f6; color: #374151; text-decoration: none; }
.sh-chip:hover { background: #fef2f2; color: #dc3545; }

.sh-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sh-product { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 12px; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.sh-product:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07); border-color: #dc3545; }
.sh-product img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 6px; }
.sh-product__maker { font-size: 0.72rem; font-weight: 800; color: #6b7280; text-transform: uppercase; }
.sh-product__name { font-weight: 700; line-height: 1.25; }
.sh-product__price { margin-top: auto; color: #dc3545; font-weight: 800; }

.sh-config { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #111827; color: #fff; border-radius: 20px; padding: 28px 32px; margin-bottom: 36px; }
.sh-config h2 { font-weight: 800; margin: 0 0 6px; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); }
.sh-config p { margin: 0; color: #d1d5db; max-width: 640px; }

.sh-blog { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sh-post { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; padding-bottom: 12px; }
.sh-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 6px; background: #f3f4f6; }
.sh-post img.is-fallback { object-fit: contain; padding: 24px; }
.sh-post__date { font-size: 0.75rem; color: #6b7280; padding: 0 12px; }
.sh-post__title { font-weight: 700; padding: 0 12px; line-height: 1.3; }
.sh-post:hover .sh-post__title { color: #dc3545; }

.sh-help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #fff; border: 1px dashed #d1d5db; border-radius: 16px; padding: 14px 18px; }
.sh-help > .bi { font-size: 1.6rem; color: #dc3545; }
.sh-help div { flex: 1 1 260px; display: flex; flex-direction: column; }
.sh-help span { color: #6b7280; font-size: 0.9rem; }

@media (max-width: 991.98px) {
    .sh-hero { grid-template-columns: minmax(0, 1fr); padding: 22px; }
    .sh-hero__visual { display: none; }
    .sh-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .sh-trust { grid-template-columns: minmax(0, 1fr); }
    .sh-products, .sh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sh-config { padding: 22px; }
}
