:root {
    --mb-purple: #ff6900;
    --mb-purple-dark: #e55700;
    --mb-yellow: #ffb323;
    --mb-text: #111111;
    --mb-muted: #677083;
    --mb-line: #e1e4ea;
    --mb-container: 1170px;
    --mb-top-promo-height: min(75px, 3.90625vw);
}

html { scroll-behavior: smooth; }
body.mb-site {
    min-height: 100vh;
    padding-top: 0 !important;
    background: #fff;
    color: var(--mb-text);
    font-family: Arial, Helvetica, sans-serif;
}
body.mb-site a { color: inherit; }

.mb-top-promo { width: 100%; height: var(--mb-top-promo-height); margin: 0; padding: 0; overflow: hidden; background: #fff; line-height: 0; }
.mb-top-promo-link, .mb-top-promo picture, .mb-top-promo-img { display: block; width: 100%; height: 100%; }
.mb-top-promo-img { border: 0; object-fit: cover; }

.mb-header { position: relative !important; top: auto !important; left: auto !important; right: auto !important; z-index: 1000; display: block !important; height: auto !important; padding: 0 !important; background: #fff; box-shadow: none !important; }
.mb-logo { align-self: start; display: inline-flex; width: max-content; margin-top: 7px; text-decoration: none; }
.mb-logo img { width: 194px; height: auto; display: block; }

.mb-search-zone { height: 140px; overflow: hidden; background: radial-gradient(circle at 56% -55%, rgba(255,105,0,.8), transparent 33%), radial-gradient(circle at 10% 130%, rgba(139,67,32,.52), transparent 38%), linear-gradient(108deg,#6a3826 0%,#3b2221 45%,#241b24 100%); }
.mb-search-zone-inner { position: relative; width: calc(100% - 40px); max-width: 1568px; margin: 0 auto; padding-top: 16px; display: grid; grid-template-columns: 178px minmax(0, 1170px); gap: 20px; }
.mb-search-content { min-width: 0; }
.mb-search-modern { height: 62px; display: grid; grid-template-columns: 105px minmax(0,1fr) 150px; align-items: center; padding: 5px; border-radius: 34px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.mb-search-type { height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-right: 1px solid #eceef1; background: transparent; color: #252525; font-size: 15px; cursor: default; }
.mb-search-type i { color: #5e6672; font-size: 11px; }
.mb-search-modern input { min-width: 0; height: 48px; padding: 0 16px; border: 0; outline: 0; color: #222; font-size: 16px; }
.mb-search-modern input::placeholder { color: #d1d3d7; }
.mb-search-submit { height: 52px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 28px; background: var(--mb-purple); color: #fff; font-size: 17px; cursor: pointer; transition: background .2s ease; }
.mb-search-submit:hover { background: var(--mb-purple-dark); }
.mb-search-submit i { font-size: 17px; }
.mb-hot-topics { height: 50px; display: flex; align-items: center; gap: 14px; overflow: hidden; white-space: nowrap; }
.mb-hot-topics strong { display: inline-flex; align-items: center; gap: 8px; color: var(--mb-purple); font-size: 15px; }
.mb-hot-topics strong i { font-size: 20px; }
.mb-hot-topics a { height: 30px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; color: #fff !important; font-size: 14px; text-decoration: none; transition: .2s ease; }
.mb-hot-topics a:hover { border-color: var(--mb-purple); background: var(--mb-purple); }

.mb-mobile-menu-button { display: none; }

.mb-nav-wrap { height: 48px; background: var(--mb-purple); }
.mb-nav { width: var(--mb-container); height: 48px; margin: 0 auto; display: flex; align-items: center; color: #fff; }
.mb-category-menu { position: relative; align-self: stretch; width: 160px; flex: 0 0 160px; }
.mb-category-button { width: 100%; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border: 0; background: var(--mb-yellow); color: #111; font-size: 16px; cursor: pointer; }
.mb-category-button i { font-size: 18px; }
.mb-category-dropdown { position: absolute; top: 48px; left: 0; z-index: 50; width: 260px; max-height: 450px; padding: 8px 0; overflow: auto; visibility: hidden; opacity: 0; transform: translateY(6px); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.14); transition: .18s ease; }
.mb-category-menu:hover .mb-category-dropdown, .mb-category-menu.is-open .mb-category-dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.mb-category-dropdown a { display: block; padding: 9px 18px; color: #202020 !important; font-size: 14px; text-decoration: none; }
.mb-category-dropdown a:hover { color: var(--mb-purple) !important; background: #fff4eb; }
.mb-nav-links { display: flex; align-items: center; height: 48px; }
.mb-nav-links a, .mb-auth-links a { display: flex; align-items: center; height: 48px; padding: 0 28px; color: #fff !important; font-size: 16px; text-decoration: none; }
.mb-nav-links a:hover, .mb-auth-links a:hover { background: rgba(255,255,255,.09); }
.mb-auth-links { margin-left: auto; display: flex; align-items: center; }
.mb-auth-links a { padding: 0 11px; }
.mb-auth-links span { width: 1px; height: 18px; background: rgba(255,255,255,.85); }
.mb-mobile-panel { display: none; }

.mb-catalog-page { width: var(--mb-container); margin: 0 auto; }
.mb-breadcrumb { height: 80px; display: flex; align-items: center; gap: 11px; color: #697184; font-size: 16px; }
.mb-breadcrumb a { color: #090909 !important; font-size: 17px; }
.mb-breadcrumb strong { font-weight: 400; }
.mb-catalog-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 36px; align-items: start; }
.mb-filter-toggle { display: none; }
.mb-filters { min-width: 0; }
.mb-filter-section { padding: 0 0 20px; margin: 0 0 22px; border-bottom: 1px solid var(--mb-line); }
.mb-filter-section h2 { margin: 0 0 14px; color: #111; font-size: 16px; font-weight: 500; }
.mb-check-row { height: 24px; display: grid; grid-template-columns: 18px minmax(0,1fr) 34px; align-items: center; gap: 10px; color: #111 !important; font-size: 16px; text-decoration: none; }
.mb-checkbox { width: 13px; height: 13px; border: 1px solid #8d9198; border-radius: 2px; background: #fff; }
.mb-check-row:hover .mb-checkbox { border-color: var(--mb-purple); box-shadow: inset 0 0 0 3px #fff; background: var(--mb-purple); }
.mb-check-row em { color: #70798a; font-style: normal; text-align: right; }
.mb-price-range { display: grid; grid-template-columns: 90px 12px 90px; align-items: center; gap: 16px; }
.mb-price-range input { width: 90px; height: 32px; padding: 0 9px; border: 1px solid #d9dde5; color: #4b5563; font-size: 16px; outline: 0; }
.mb-price-range span { text-align: center; }
.mb-size-options { display: flex; gap: 8px; }
.mb-size-options button { min-width: 32px; height: 32px; padding: 0 7px; border: 1px solid #d9dde5; background: #fff; color: #202020; font-size: 15px; cursor: pointer; }
.mb-size-options button:hover, .mb-size-options button.is-active { border-color: var(--mb-purple); background: var(--mb-purple); color: #fff; }
.mb-filter-last { border-bottom: 0; }
.mb-colors { display: flex; gap: 10px; }
.mb-colors button { width: 31px; height: 31px; border: 0; cursor: pointer; }
.mb-color-slate { background: #4b5563; }.mb-color-purple { background: var(--mb-purple); }.mb-color-red { background: #8a1c20; }

.mb-catalog-toolbar { height: 62px; margin: 0; display: flex; align-items: flex-start; justify-content: space-between; }
.mb-sort-control { width: 134px; height: 42px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 0 13px 0 23px; border: 1px solid #dce0e6; color: #111; font-size: 16px; white-space: nowrap; }
.mb-sort-control select { width: 25px; height: 40px; border: 0; background: transparent; color: #7b8492; outline: 0; cursor: pointer; }
.mb-view-controls { display: flex; gap: 13px; margin-top: 3px; }
.mb-view-controls button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #dfe2e8; background: #fff; color: #26303f; font-size: 15px; cursor: pointer; }
.mb-view-controls button.active { border-color: var(--mb-yellow); background: var(--mb-yellow); color: #111; }

.mb-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 12px; }
.mb-product-card { min-width: 0; display: flex; flex-direction: column; background: #fff; }
.mb-product-image { position: relative; height: 187px; display: block; overflow: hidden; background: #f1f2f5; }
.mb-product-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,#f4f5f7,#e5e7eb); }
.mb-product-image::after { content: 'PRODUCT IMAGE'; position: absolute; inset: 0; display: grid; place-items: center; color: #9ca3af; font-size: 12px; letter-spacing: 1.5px; }
.mb-product-image img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.mb-product-card:hover .mb-product-image img { transform: scale(1.025); }
.mb-product-badge { position: absolute; z-index: 2; top: 12px; right: 5px; min-width: 76px; height: 38px; display: grid; place-items: center; padding: 0 10px; background: var(--mb-yellow); color: #111; font-size: 14px; }
.mb-product-copy { min-height: 95px; padding: 11px 0 8px; }
.mb-product-copy h3 { margin: 0 0 5px; overflow: hidden; color: #111; font-size: 16px; font-weight: 400; line-height: 19px; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.mb-product-copy h3 a { color: #111 !important; text-decoration: none; }
.mb-product-price { min-height: 22px; overflow: hidden; color: var(--mb-purple); font-size: 17px; font-weight: 700; line-height: 21px; white-space: nowrap; text-overflow: ellipsis; }
.mb-product-rating { display: flex; align-items: center; gap: 2px; color: var(--mb-yellow); font-size: 14px; }
.mb-product-button { height: 40px; display: grid; place-items: center; background: var(--mb-purple); color: #fff !important; font-size: 16px; text-decoration: none; transition: background .2s ease; }
.mb-product-button:hover { background: var(--mb-purple-dark); color: #fff !important; }

.mb-products-grid.is-list { grid-template-columns: 1fr; gap: 16px; }
.mb-products-grid.is-list .mb-product-card { display: grid; grid-template-columns: 230px minmax(0,1fr) 160px; align-items: center; gap: 20px; border: 1px solid var(--mb-line); }
.mb-products-grid.is-list .mb-product-image { height: 150px; }
.mb-products-grid.is-list .mb-product-copy { min-height: 0; }
.mb-products-grid.is-list .mb-product-button { margin-right: 18px; }
.mb-products-grid.is-list .mb-product-copy h3 { white-space: normal; }
.mb-pagination { padding: 34px 0 20px; text-align: center; }
.mb-pagination ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mb-pagination li { list-style: none; }
.mb-pagination a, .mb-pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 11px; border: 1px solid var(--mb-line); color: #4b5563; text-decoration: none; }
.mb-pagination .active a, .mb-pagination .active span, .mb-pagination a:hover { border-color: var(--mb-purple); background: var(--mb-purple); color: #fff; }

.mb-footer { margin-top: 72px; border-top: 1px solid var(--mb-line); background: #fff; text-align: left; }
.mb-footer-main { width: var(--mb-container); min-height: 244px; margin: 0 auto; display: grid; grid-template-columns: 390px repeat(4, 115px); gap: 72px; padding: 42px 16px 34px; }
.mb-footer-brand p { max-width: 280px; margin: 27px 0 36px; color: #121212; font-size: 15px; line-height: 24px; }
.mb-footer-logo img { width: 180px; }
.mb-socials { display: flex; gap: 16px; }
.mb-socials a { color: #111 !important; font-size: 17px; }
.mb-footer-column h3 { margin: 2px 0 10px; color: #6d7586; font-size: 16px; font-weight: 700; }
.mb-footer-column a { display: block; margin: 0 0 13px; color: #111 !important; font-size: 14px; text-decoration: none; white-space: nowrap; }
.mb-footer-column a:hover { color: var(--mb-purple) !important; }
.mb-footer-bottom { height: 42px; background: var(--mb-yellow); }
.mb-footer-bottom > div { width: var(--mb-container); height: 42px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: #111; font-size: 15px; }
.mb-payment-marks { display: flex; align-items: center; gap: 8px; }
.mb-payment-marks b { min-width: 32px; height: 20px; display: grid; place-items: center; padding: 0 4px; border: 1px solid #d0a00e; border-radius: 2px; background: #fff; color: #18246f; font-size: 9px; font-weight: 800; }
.mb-payment-marks b:nth-child(2) { color: #2677be; }.mb-payment-marks b:nth-child(3) { color: #111; }

@media (max-width: 1220px) {
    :root { --mb-container: calc(100% - 40px); }
    .mb-search-zone-inner { grid-template-columns: 178px minmax(0, 1fr); }
    .mb-nav-links a { padding: 0 20px; }
    .mb-footer-main { grid-template-columns: 2.2fr repeat(4, 1fr); gap: 34px; }
}

@media (max-width: 900px) {
    :root { --mb-container: calc(100% - 28px); }
    .mb-nav-wrap { display: none; }
    .mb-logo { margin: 0; }
    .mb-logo img { width: 142px; }
    .mb-search-zone { height: 184px; }
    .mb-search-zone-inner { width: calc(100vw - 28px) !important; max-width: calc(100vw - 28px); padding-top: 12px; display: grid; grid-template-columns: 1fr; gap: 11px; }
    .mb-search-modern { position: relative; width: 100%; height: 50px; display: block; padding: 4px; overflow: hidden; }
    .mb-search-type { position: absolute; left: 4px; top: 4px; width: 80px; height: 42px; font-size: 13px; }
    .mb-search-modern input { position: absolute; left: 86px; right: 50px; top: 4px; width: auto; height: 42px; padding: 0 9px; font-size: 13px; }
    .mb-search-submit { position: absolute; right: 4px; top: 4px; z-index: 3; width: 42px; height: 42px; display: flex !important; border-radius: 50%; }
    .mb-search-submit span { display: none; }
    .mb-hot-topics { height: 55px; gap: 9px; overflow-x: auto; }
    .mb-hot-topics strong { flex: 0 0 auto; font-size: 13px; }
    .mb-hot-topics a { flex: 0 0 auto; height: 28px; padding: 0 13px; font-size: 12px; }
    .mb-mobile-menu-button { position: absolute; top: 8px; right: 0; z-index: 1002; width: 38px; height: 38px; display: flex !important; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; }
    .mb-mobile-menu-button span { width: 25px; height: 2px; background: #111; transition: .2s; }
    .mb-mobile-menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mb-mobile-menu-button.is-open span:nth-child(2) { opacity: 0; }
    .mb-mobile-menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mb-mobile-panel { position: relative; z-index: 999; max-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--mb-purple); transition: max-height .3s ease; }
    .mb-mobile-panel.is-open { max-height: 75vh; overflow: auto; padding-bottom: 12px; }
    .mb-mobile-panel > a { padding: 11px 20px; color: #fff !important; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; text-decoration: none; }
    .mb-mobile-search { margin: 14px; display: grid; grid-template-columns: 1fr 44px; }
    .mb-mobile-search input { min-width: 0; height: 40px; padding: 0 12px; border: 0; }
    .mb-mobile-search button { border: 0; background: var(--mb-yellow); }
    .mb-breadcrumb { height: 62px; }
    .mb-catalog-layout { grid-template-columns: 1fr; gap: 14px; }
    .mb-filter-toggle { width: max-content; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--mb-line); background: #fff; }
    .mb-filters { display: none; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 25px; padding: 18px; border: 1px solid var(--mb-line); }
    .mb-filters.is-open { display: grid; }
    .mb-filter-section { margin: 0; }
    .mb-products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 14px; }
    .mb-product-image { height: auto; aspect-ratio: 1.5 / 1; }
    .mb-products-grid.is-list .mb-product-card { grid-template-columns: 180px 1fr 140px; }
    .mb-footer-main { grid-template-columns: repeat(2,1fr); gap: 35px; }
    .mb-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    :root { --mb-top-promo-height: min(82px, 19.2vw); }
}

@media (max-width: 560px) {
    .mb-logo img { width: 142px; }
    .mb-catalog-toolbar { height: 54px; }
    .mb-products-grid { grid-template-columns: 1fr; gap: 26px; }
    .mb-product-image { aspect-ratio: 1.5 / 1; }
    .mb-products-grid.is-list .mb-product-card { display: flex; }
    .mb-products-grid.is-list .mb-product-image { width: 100%; height: auto; aspect-ratio: 1.5/1; }
    .mb-products-grid.is-list .mb-product-copy { width: 100%; padding: 11px 0 8px; }
    .mb-products-grid.is-list .mb-product-button { width: 100%; margin: 0; }
    .mb-filters { grid-template-columns: 1fr; }
    .mb-footer-main { grid-template-columns: 1fr 1fr; padding-left: 4px; padding-right: 4px; gap: 28px 18px; }
    .mb-footer-brand { grid-column: 1 / -1; }
    .mb-footer-bottom > div { font-size: 13px; }
}
