:root { --ink: #123a2a; --green: #0c6b47; --accent: #c99243; --paper: #f7f8f5; --line: #dde6df; --muted: #61766b; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--paper); }
button, input, textarea { font: inherit; }
.shop-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.shop-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 36px; }
.shop-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.shop-logo img { width: 42px; height: 42px; object-fit: contain; }
.shop-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.shop-nav a, .shop-phone, .shop-footer a { color: var(--ink); text-decoration: none; font-size: 14px; }
.shop-nav a:hover, .shop-nav a.active { color: var(--green); }
.shop-nav .active { font-weight: 700; }
.shop-socials { display: flex; align-items: center; gap: 12px; }
.shop-socials a { color: var(--ink); display: inline-flex; padding: 6px; border-radius: 8px; transition: color .18s, background .18s; }
.shop-socials a:hover { color: var(--green); background: #edf4ef; }
.shop-phone { font-weight: 700; white-space: nowrap; }
.shop-hero { background: linear-gradient(90deg, rgba(3, 30, 19, .92) 0%, rgba(3, 30, 19, .74) 43%, rgba(3, 30, 19, .18) 72%), url('assets/parts-shop-hero.png') center center / cover no-repeat; color: #fff; padding: 86px 0 76px; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1.35fr .7fr; gap: 90px; align-items: end; }
.eyebrow { margin: 0 0 12px; font-size: 12px; color: var(--accent); font-weight: 800; letter-spacing: .12em; }
.shop-hero h1, h2 { margin: 0; letter-spacing: -.045em; }
.shop-hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; }
.hero-copy { max-width: 630px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; margin: 26px 0 32px; }
.primary-action { background: #d6a457; border: none; border-radius: 11px; color: #173d2d; font-weight: 800; padding: 15px 21px; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; transition: transform .18s, background .18s; }
.primary-action:hover { transform: translateY(-2px); background: #e6b96e; }
.hero-note { border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 28px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.note-icon { color: var(--accent); font-size: 30px; display: block; margin-bottom: 16px; }
.hero-note strong { font-size: 20px; display: block; }
.hero-note p { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.55; }
.text-action { border: none; background: none; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; cursor: pointer; }
.catalog-section { padding: 78px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.04; }
.counter-text { margin: 0; color: var(--muted); font-size: 14px; }
.filters-panel { background: #fff; padding: 17px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 29px; }
.search-box { display: flex; align-items: center; gap: 10px; border: 1px solid #c8d6cc; border-radius: 10px; padding: 0 14px; color: var(--muted); }
.search-box input { padding: 14px 0; outline: none; border: none; width: 100%; color: var(--ink); }
.category-filters { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 14px; }
.category-filter { border: 1px solid #cedbd2; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 13px; cursor: pointer; font-size: 13px; }
.category-filter.active, .category-filter:hover { color: #fff; background: var(--green); border-color: var(--green); }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; min-height: 405px; }
.product-image { height: 188px; border-radius: 12px; background: linear-gradient(135deg, #e8eee8, #d0ddd4); display: flex; align-items: center; justify-content: center; color: #41715b; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-fallback { font-size: 52px; }
.product-body { padding: 19px 6px 7px; display: flex; flex-direction: column; flex: 1; }
.product-category { color: var(--green); font-size: 12px; font-weight: 700; margin-bottom: 9px; }
.product-card h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
.compatibility { min-height: 39px; color: var(--muted); font-size: 13px; line-height: 1.5; margin: 10px 0 16px; }
.product-bottom { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.price { font-size: 20px; font-weight: 800; }
.stock { font-size: 12px; color: var(--muted); margin-top: 5px; }
.stock.in_stock { color: #087346; }.stock.on_order { color: #a76500; }.stock.out_of_stock { color: #b23636; }
.order-button { border: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 11px 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.empty-state { grid-column: 1/-1; padding: 50px 20px; text-align: center; background: #fff; border: 1px dashed #c8d6cc; border-radius: 17px; color: var(--muted); }
.help-section { padding: 0 0 82px; }.help-card { background: #e7f0ea; border-radius: 22px; padding: 44px 48px; display: flex; justify-content: space-between; gap: 36px; align-items: center; }.help-card h2 { font-size: 34px; max-width: 700px; }.help-card p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }.shop-footer { background: #0a3425; color: rgba(255,255,255,.76); padding: 28px 0; font-size: 13px; }.footer-row { display: flex; gap: 20px; justify-content: space-between; }.shop-footer a { color: rgba(255,255,255,.9); }
.request-modal { display: none; position: fixed; inset: 0; z-index: 50; }.request-modal.open { display: grid; place-items: center; }.modal-backdrop { position: absolute; inset: 0; background: rgba(8,27,19,.67); }.request-dialog { position: relative; z-index: 1; width: min(530px, calc(100% - 32px)); background: #fff; padding: 32px; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.25); }.request-dialog h2 { font-size: 32px; }.request-product { color: var(--muted); line-height: 1.5; margin: 12px 0 20px; }.modal-close { position: absolute; right: 16px; top: 13px; border: none; background: none; font-size: 31px; line-height: 1; color: var(--muted); cursor: pointer; }.request-dialog form { display: grid; gap: 13px; }.request-dialog label { font-size: 13px; font-weight: 700; }.request-dialog input, .request-dialog textarea { width: 100%; display: block; border: 1px solid #c8d6cc; border-radius: 9px; padding: 12px; margin-top: 6px; resize: vertical; }.submit-button { width: 100%; margin-top: 5px; }.form-status { min-height: 20px; margin: 0; font-size: 13px; color: var(--green); }.form-status.error { color: #b23636; }
@media (max-width: 840px) { .nav-wrap { gap: 15px; min-height: 64px; }.shop-nav { display: none; }.shop-socials { margin-left: auto; }.shop-phone { font-size: 12px; }.hero-layout { grid-template-columns: 1fr; gap: 36px; }.shop-hero { padding: 62px 0; background-position: 62% center; }.products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.help-card { padding: 30px; display: block; }.help-card .primary-action { margin-top: 10px; } }
@media (max-width: 520px) { .shop-container { width: min(100% - 28px, 1180px); }.shop-logo span { display: none; }.products-grid { grid-template-columns: 1fr; }.section-heading, .footer-row { align-items: flex-start; flex-direction: column; }.help-card { padding: 27px 23px; }.hero-note { padding: 23px; }.product-card { min-height: 380px; } }
