:root {
    --mp-bg: #ffffff;
    --mp-surface: #f7f7f7;
    --mp-surface-hover: #f2f2f2;
    --mp-text: #111111;
    --mp-text-secondary: #666666;
    --mp-text-muted: #999999;
    --mp-border: #e6e6e6;
    --mp-border-card: #e8e8e8;
    --mp-primary: #914c00;
    --mp-primary-hover: #6f3a00;
    --mp-accent: #ff8a00;
    --mp-success: #16a34a;
    --mp-danger: #dc2626;
    --mp-shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --mp-shadow-md: 0 6px 20px rgba(0, 0, 0, .08);
    --mp-shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
    --mp-radius-xs: 6px;
    --mp-radius-sm: 8px;
    --mp-radius-md: 12px;
    --mp-radius-lg: 16px;
    --mp-radius-xl: 20px;
    --mp-radius-pill: 999px;
    --mp-img-radius: 10px;
}

body:has(.mp-head) {
    background: #fff;
}

@media (max-width: 1023px) {
    body:has(.mp-bottom-nav) {
        padding-bottom: 72px;
    }
}

html:has(.mp-head) {
    scroll-padding-top: 180px;
}

.mp {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--mp-text);
    background: var(--mp-bg);
    min-height: 100vh;
}

.mp-head,
.mp-footer,
.mp-bottom-nav,
.mp-cat-drawer {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mp-container {
    width: calc(100% - 48px);
    max-width: 1440px;
    margin: 0 auto;
}

@media (min-width: 1600px) {
    .mp-container {
        max-width: 1520px;
    }
}

@media (max-width: 1023px) {
    .mp-container {
        width: 100%;
        padding-inline: 24px;
    }
}

@media (max-width: 767px) {
    .mp-container {
        padding-inline: 16px;
    }
}

.mp-main {
    padding: 16px 0 64px;
}

@media (max-width: 1023px) {
    .mp-main {
        padding-bottom: 96px;
    }
}

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 180ms ease-out, transform 180ms ease-out, color 180ms ease-out;
}

.mp-btn:hover {
    transform: translateY(-1px);
}

.mp-btn--primary {
    background: var(--mp-primary);
    color: #fff;
}

.mp-btn--primary:hover {
    background: var(--mp-primary-hover);
}

.mp-btn--ghost {
    background: transparent;
    color: var(--mp-text);
    border: 1px solid var(--mp-border);
}

.mp-btn--ghost:hover {
    background: var(--mp-surface);
}

.mp-btn--light {
    background: #fff;
    color: var(--mp-text);
}

.mp-btn--light:hover {
    background: var(--mp-surface);
}

.mp-head {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--mp-border);
}

.mp-topbar {
    height: 36px;
    background: var(--mp-surface);
    color: var(--mp-text-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.mp-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.mp-topbar__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mp-topbar a,
.mp-topbar span {
    color: inherit;
    text-decoration: none;
}

.mp-topbar a:hover {
    color: var(--mp-primary);
}

.mp-header {
    height: 76px;
}

.mp-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.mp-header__menu {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 24px;
    color: var(--mp-text);
    cursor: pointer;
}

.mp-logo {
    display: flex;
    align-items: center;
    width: 180px;
    flex-shrink: 0;
    text-decoration: none;
}

.mp-logo .ahido-logo {
    max-width: 150px;
}

.mp-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 2px solid var(--mp-primary);
    border-radius: 10px;
    background: #fff;
}

.mp-search__icon {
    position: absolute;
    left: 14px;
    color: var(--mp-text-muted);
    pointer-events: none;
}

.mp-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 12px 0 40px;
    font-size: 14px;
    color: var(--mp-text);
}

.mp-search input::placeholder {
    color: var(--mp-text-muted);
}

.mp-search__submit {
    width: 110px;
    height: 100%;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: var(--mp-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.mp-search__submit:hover {
    background: var(--mp-primary-hover);
}

.mp-search--mobile {
    display: none;
    border: 0;
    height: auto;
    background: transparent;
}

.mp-search__mobile-field {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    margin: 8px 0 12px;
    border: 2px solid var(--mp-primary);
    border-radius: 10px;
    background: #fff;
}

.mp-search__mobile-field input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 12px 0 40px;
    font-size: 14px;
}

.mp-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    padding: 12px;
    max-height: 420px;
    overflow: auto;
}

.mp-suggest__group + .mp-suggest__group {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--mp-border);
}

.mp-suggest__group p {
    margin: 0 0 8px;
    font-size: 11px;
    line-height: 16px;
    color: var(--mp-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mp-suggest a {
    display: block;
    padding: 8px 4px;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
}

.mp-suggest a:hover {
    background: var(--mp-surface-hover);
}

.mp-suggest__product {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.mp-suggest__product img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: var(--mp-surface);
    border-radius: 8px;
}

.mp-suggest__product em {
    display: block;
    font-style: normal;
    color: var(--mp-primary);
    font-weight: 700;
    font-size: 12px;
}

.mp-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mp-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--mp-text);
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
}

.mp-icon-btn:hover,
.mp-account summary:hover {
    background: var(--mp-surface);
}

.mp-icon-btn em {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--mp-primary);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.mp-account {
    position: relative;
}

.mp-account summary {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
}

.mp-account summary::-webkit-details-marker {
    display: none;
}

.mp-account__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 200px;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 12px;
    box-shadow: var(--mp-shadow-md);
    padding: 8px;
    z-index: 70;
}

.mp-account__menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 14px;
}

.mp-account__menu a:hover {
    background: var(--mp-surface);
}

.mp-nav {
    height: 48px;
}

.mp-nav__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    overflow-x: auto;
}

.mp-nav__cats,
.mp-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.mp-nav__cats {
    font-weight: 600;
}

.mp-nav__link.is-active {
    font-weight: 600;
    border-bottom: 2px solid var(--mp-primary);
}

.mp-nav__link:hover,
.mp-nav__cats:hover {
    color: var(--mp-primary);
}

.mp-cat-drawer[hidden] {
    display: none;
}

.mp-cat-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.mp-cat-drawer__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .4);
}

.mp-cat-drawer__panel {
    position: relative;
    width: min(920px, calc(100% - 32px));
    max-height: min(80vh, 640px);
    margin: 80px auto 0;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--mp-shadow-lg);
}

.mp-cat-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mp-cat-drawer__head h2 {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.mp-cat-drawer__close {
    width: 36px;
    height: 36px;
    border: 0;
    background: var(--mp-surface);
    border-radius: 10px;
    cursor: pointer;
}

.mp-cat-drawer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mp-cat-drawer__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--mp-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--mp-text);
    font-size: 14px;
}

.mp-cat-drawer__item:hover {
    background: var(--mp-surface);
}

.mp-cat-drawer__thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--mp-surface);
    display: grid;
    place-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.mp-cat-drawer__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-hero {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 280px;
    gap: 16px;
    height: 360px;
}

.mp-hero-cats {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.mp-hero-cats a,
.mp-hero-cats__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 16px;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 14px;
    background: transparent;
    border: 0;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.mp-hero-cats a span,
.mp-hero-cats__all span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-hero-cats a:hover,
.mp-hero-cats__all:hover {
    background: #f5f5f5;
}

.mp-hero-cats__all {
    margin-top: auto;
    font-weight: 600;
    color: var(--mp-primary);
}

.mp-hero-banner {
    position: relative;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    background: #1a120c;
}

.mp-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease;
}

.mp-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mp-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-hero-slide--fallback {
    background: linear-gradient(135deg, #914c00 0%, #ff8a00 100%);
}

.mp-hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .08));
}

.mp-hero-slide__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 32px;
    color: #fff;
    max-width: 520px;
}

.mp-hero-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mp-hero-slide__content h2 {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
}

.mp-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.mp-hero-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
}

.mp-hero-dot.is-active {
    width: 20px;
    background: #fff;
}

.mp-hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mp-account-card,
.mp-promo-card {
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mp-account-card {
    height: 170px;
    background: var(--mp-surface);
    overflow: hidden;
}

.mp-promo-card {
    height: 174px;
    background: linear-gradient(160deg, #914c00, #c45e00);
    color: #fff;
    justify-content: flex-end;
}

.mp-account-card h3,
.mp-promo-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.mp-account-card p,
.mp-promo-card p {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--mp-text-secondary);
}

.mp-promo-card p,
.mp-promo-card h3 {
    color: #fff;
}

.mp-account-card__kicker,
.mp-promo-card__kicker {
    font-size: 11px !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 600;
}

.mp-account-card .mp-btn {
    height: 32px;
    font-size: 13px;
    flex: 1;
    padding: 0 8px;
}

.mp-account-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.mp-cat-scroll {
    display: none;
}

.mp-section {
    margin-top: 48px;
}

.mp-section:first-of-type,
.mp-hero + .mp-section,
.mp-cat-scroll + .mp-section {
    margin-top: 32px;
}

.mp-section__head {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.mp-section__title,
.mp-section__head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.mp-section__sub {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--mp-text-secondary);
}

.mp-section__all {
    margin-left: auto;
    color: var(--mp-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.mp-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.mp-countdown span {
    min-width: 36px;
    height: 32px;
    display: grid;
    place-items: center;
    background: var(--mp-text);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.mp-countdown em {
    font-style: normal;
    font-weight: 700;
}

.mp-quick-cats {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
}

.mp-quick-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 140px;
    border-radius: 12px;
    background: var(--mp-surface);
    text-decoration: none;
    color: var(--mp-text);
    padding: 12px;
}

.mp-quick-cat:hover {
    background: var(--mp-surface-hover);
}

.mp-quick-cat__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.mp-quick-cat__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-quick-cat strong {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 20px;
}

.mp-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.mp-tab {
    height: 40px;
    padding-inline: 16px;
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    background: #fff;
    color: var(--mp-text);
    font-size: 14px;
    cursor: pointer;
}

.mp-tab.is-active {
    background: var(--mp-primary);
    border-color: var(--mp-primary);
    color: #fff;
}

.mp-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.mp-card {
    border: 1px solid var(--mp-border-card);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.mp-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--mp-surface);
    overflow: hidden;
}

.mp-card__media-link,
.mp-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--mp-text-muted);
    font-size: 12px;
    text-decoration: none;
}

.mp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 200ms ease;
}

.mp-card:hover .mp-card__media img {
    transform: scale(1.02);
}

.mp-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--mp-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
}

.mp-badge--new {
    background: var(--mp-success);
}

.mp-badge--top {
    background: #111;
}

.mp-card__cart-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    margin: 0;
}

.mp-card__cart-icon button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: var(--mp-primary);
    box-shadow: var(--mp-shadow-sm);
    cursor: pointer;
}

.mp-card__body {
    padding: 12px;
}

.mp-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--mp-text);
    text-decoration: none;
}

.mp-card__prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
}

.mp-card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--mp-primary);
}

.mp-card__old {
    font-size: 12px;
    color: var(--mp-text-muted);
    text-decoration: line-through;
}

.mp-card__meta {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--mp-text-secondary);
}

.mp-card__add {
    display: none;
    margin: 12px 0 0;
}

.mp-card__add button {
    width: 100%;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: var(--mp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.mp-card__add button:hover {
    background: var(--mp-primary-hover);
}

@media (hover: hover) and (min-width: 1024px) {
    .mp-card__cart-icon {
        display: none;
    }

    .mp-card:hover .mp-card__add {
        display: block;
    }
}

.mp-wholesale {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    height: 320px;
    margin-top: 48px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--mp-surface);
}

.mp-wholesale__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 40px;
}

.mp-wholesale__copy h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
}

.mp-wholesale__copy p {
    margin: 0 0 16px;
    color: var(--mp-text-secondary);
    font-size: 14px;
    line-height: 20px;
}

.mp-wholesale__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.mp-wholesale__points li::before {
    content: "✓ ";
    color: var(--mp-success);
    font-weight: 700;
}

.mp-wholesale__media {
    background: #1a120c;
}

.mp-wholesale__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-stores {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.mp-store {
    flex: 0 0 220px;
    padding: 16px;
    border: 1px solid var(--mp-border-card);
    border-radius: 12px;
    background: #fff;
}

.mp-store__logo {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--mp-surface);
    color: var(--mp-primary);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}

.mp-store__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-store h3 {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.mp-store__verified {
    margin: 4px 0 0;
    color: var(--mp-success);
    font-size: 12px;
    font-weight: 600;
}

.mp-store__verified::before {
    content: "✓ ";
}

.mp-store__meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--mp-text-secondary);
}

.mp-store .mp-btn {
    width: 100%;
    margin-top: 12px;
    height: 36px;
}

.mp-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
    padding: 32px;
    background: var(--mp-surface);
    border-radius: 16px;
}

.mp-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.mp-trust__item i {
    font-size: 24px;
    color: var(--mp-primary);
}

.mp-news {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding: 40px;
    background: #111111;
    color: #fff;
    border-radius: 16px;
    flex-wrap: wrap;
}

.mp-news h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.mp-news p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.mp-news__form {
    display: flex;
    width: min(480px, 100%);
    height: 48px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.mp-news__form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 0 16px;
    font-size: 14px;
}

.mp-news__form button {
    width: 120px;
    border: 0;
    background: var(--mp-primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.mp-news__form button:hover {
    background: var(--mp-primary-hover);
}

.mp-news__feedback {
    width: 100%;
    margin: 0;
    font-size: 13px;
}

.mp-news__feedback.is-ok {
    color: #86efac;
}

.mp-news__feedback.is-err {
    color: #fca5a5;
}

.mp-footer {
    background: var(--mp-surface);
    padding: 48px 0 32px;
    margin-top: 48px;
}

.mp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.mp-footer h5 {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mp-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-footer li + li {
    margin-top: 8px;
}

.mp-footer a {
    color: var(--mp-text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.mp-footer a:hover {
    color: var(--mp-primary);
}

.mp-footer__brand p {
    margin: 16px 0 0;
    color: var(--mp-text-secondary);
    font-size: 14px;
    line-height: 20px;
}

.mp-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--mp-border);
    font-size: 13px;
    color: var(--mp-text-secondary);
}

.mp-pay-logos {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mp-pay-logos em {
    font-style: normal;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--mp-text);
}

.mp-bottom-nav {
    display: none;
}

.mp-empty-catalog {
    padding: 48px 24px;
    text-align: center;
    background: var(--mp-surface);
    border-radius: 16px;
}

.mp-empty-catalog h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 32px;
}

.mp-empty-catalog p {
    margin: 0 0 20px;
    color: var(--mp-text-secondary);
}

.mp-stores,
.mp-cat-scroll,
.mp-nav__inner {
    scrollbar-width: thin;
}

@media (max-width: 1279px) {
    .mp-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mp-quick-cats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .mp-topbar,
    .mp-nav,
    .mp-search:not(.mp-search--mobile),
    .mp-header__actions .mp-account span,
    .mp-header__actions .mp-icon-btn--wish,
    .mp-header__actions .mp-account,
    .mp-hero-cats {
        display: none;
    }

    .mp-search--mobile {
        display: block;
    }

    .mp-header {
        height: 60px;
    }

    .mp-header__menu {
        display: grid;
        place-items: center;
    }

    .mp-logo {
        width: auto;
        flex: 1;
        justify-content: center;
    }

    .mp-header__inner {
        gap: 8px;
    }

    .mp-hero {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    .mp-hero-banner {
        height: 220px;
        width: 100%;
    }

    .mp-hero-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .mp-account-card,
    .mp-promo-card {
        height: auto;
        min-height: 160px;
    }

    .mp-hero-slide__content {
        padding: 20px;
    }

    .mp-hero-slide__content h2 {
        font-size: 22px;
        line-height: 28px;
    }

    .mp-cat-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        margin-top: 16px;
        padding-bottom: 4px;
    }

    .mp-cat-chip {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        height: 40px;
        padding: 0 12px 0 4px;
        border: 1px solid var(--mp-border);
        border-radius: 999px;
        text-decoration: none;
        color: var(--mp-text);
        font-size: 13px;
        background: #fff;
    }

    .mp-cat-chip__thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        overflow: hidden;
        background: var(--mp-surface);
        display: grid;
        place-items: center;
        font-size: 11px;
        font-weight: 700;
    }

    .mp-cat-chip__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mp-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .mp-wholesale {
        grid-template-columns: 1fr;
        height: auto;
    }

    .mp-wholesale__media {
        height: 180px;
    }

    .mp-trust {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
    }

    .mp-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .mp-cat-drawer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .mp-cat-drawer__panel {
        margin: 24px auto 0;
        width: calc(100% - 24px);
    }

    .mp-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: 64px;
        background: #fff;
        border-top: 1px solid var(--mp-border);
    }

    .mp-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--mp-text-secondary);
        text-decoration: none;
        font-size: 11px;
        background: transparent;
        border: 0;
        position: relative;
    }

    .mp-bottom-nav__item i {
        font-size: 18px;
    }

    .mp-bottom-nav__item.is-active {
        color: var(--mp-primary);
        font-weight: 600;
    }

    .mp-bottom-nav__item em {
        position: absolute;
        top: 6px;
        right: calc(50% - 18px);
        min-width: 14px;
        height: 14px;
        padding: 0 3px;
        border-radius: 999px;
        background: var(--mp-primary);
        color: #fff;
        font-size: 9px;
        font-style: normal;
        line-height: 14px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .mp-hero-side {
        grid-template-columns: 1fr;
    }

    .mp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mp-card {
        border-radius: 10px;
    }

    .mp-card__body {
        padding: 10px;
    }

    .mp-card__title {
        font-size: 13px;
        line-height: 18px;
        min-height: 36px;
    }

    .mp-card__price {
        font-size: 16px;
    }

    .mp-quick-cats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .mp-quick-cat {
        height: 120px;
        padding: 8px;
    }

    .mp-quick-cat__img {
        width: 56px;
        height: 56px;
    }

    .mp-section__head {
        flex-wrap: wrap;
    }

    .mp-countdown {
        margin-left: 0;
    }

    .mp-news {
        padding: 24px 16px;
    }

    .mp-news__form {
        width: 100%;
        flex-direction: column;
        height: auto;
        background: transparent;
        gap: 8px;
    }

    .mp-news__form input,
    .mp-news__form button {
        height: 44px;
        width: 100%;
        border-radius: 10px;
    }

    .mp-news__form input {
        background: #fff;
    }

    .mp-wholesale__copy {
        padding: 24px 16px;
    }

    .mp-trust {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mp-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mp-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 479px) {
    .mp-quick-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Catalog / category page */
.mp-catalog {
    padding: 0 0 64px;
}

.mp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    font-size: 13px;
    color: #777;
    overflow: auto;
    white-space: nowrap;
}

.mp-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.mp-breadcrumb a:hover {
    color: var(--mp-text);
}

.mp-breadcrumb .is-current {
    color: #111;
    font-weight: 500;
}

.mp-cat-hero {
    min-height: 220px;
    padding: 32px;
    border-radius: 16px;
    background: var(--mp-surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.mp-cat-hero h1 {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
}

.mp-cat-hero p {
    margin: 0;
    color: var(--mp-text-secondary);
    font-size: 15px;
}

.mp-hero-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mp-primary);
}

.mp-cat-hero__count {
    font-weight: 600;
    color: var(--mp-text) !important;
}

.mp-cat-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.mp-cat-hero__chips a {
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--mp-border-card);
    border-radius: 999px;
    background: #fff;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.mp-cat-hero__chips a.is-active,
.mp-cat-hero__chips a:hover {
    border-color: var(--mp-primary);
    color: var(--mp-primary);
}

.mp-dir {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.mp-dir__group {
    min-width: 0;
}

.mp-dir__title {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mp-text);
    text-decoration: none;
}

.mp-dir ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.mp-dir a {
    color: var(--mp-text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.mp-dir a:hover,
.mp-dir__title:hover {
    color: var(--mp-primary);
}

.mp-subcats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.mp-subcat {
    height: 150px;
    border: 1px solid var(--mp-border-card);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: var(--mp-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    transition: transform 160ms ease, border-color 160ms ease;
}

.mp-subcat:hover {
    transform: translateY(-2px);
    border-color: var(--mp-primary);
}

.mp-subcat__img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--mp-surface);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.mp-subcat__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-subcat strong {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 20px;
}

.mp-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.mp-catalog .mp-tabs {
    margin: 16px 0 0;
}

.mp-catalog .mp-tab {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mp-cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 52px;
    border-bottom: 1px solid var(--mp-border-card);
    margin-top: 16px;
}

.mp-cat-toolbar p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.mp-cat-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-cat-toolbar__mobile {
    display: none;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    gap: 6px;
}

.mp-sort label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--mp-text-secondary);
}

.mp-sort select {
    width: 180px;
    height: 40px;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
    font-size: 14px;
    color: var(--mp-text);
}

.mp-view-toggle {
    display: flex;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    overflow: hidden;
}

.mp-view-toggle a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--mp-text-secondary);
    text-decoration: none;
    background: #fff;
}

.mp-view-toggle a.is-active {
    background: var(--mp-primary);
    color: #fff;
}

.mp-cat-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-top: 20px;
    align-items: start;
}

.mp-filters {
    position: sticky;
    top: 120px;
    border: 1px solid var(--mp-border-card);
    border-radius: 12px;
    background: #fff;
    padding: 8px 16px 16px;
}

.mp-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.mp-filters__head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.mp-filters__close {
    display: none;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.mp-filters__form section {
    padding: 20px 0;
    border-bottom: 1px solid var(--mp-border-card);
}

.mp-filters__form h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
}

.mp-filter-link,
.mp-filter-more {
    display: flex;
    align-items: center;
    height: 36px;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 14px;
}

.mp-filter-link.is-active,
.mp-filter-link:hover,
.mp-filter-more {
    color: var(--mp-primary);
}

.mp-price-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.mp-price-row input {
    height: 40px;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    padding: 0 10px;
    width: 100%;
    font-size: 14px;
}

.mp-check {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
}

.mp-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--mp-primary);
    border-radius: 4px;
}

.mp-filters__foot {
    display: flex;
    gap: 8px;
    padding-top: 16px;
}

.mp-filters__foot .mp-btn {
    flex: 1;
}

.mp-filters__backdrop {
    display: none;
}

.mp-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.mp-active-filters a {
    height: 32px;
    padding-inline: 10px;
    border-radius: 999px;
    background: #f5f5f5;
    color: var(--mp-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.mp-active-filters__clear {
    background: transparent !important;
    color: var(--mp-primary) !important;
    font-weight: 600;
}

.mp-product-grid.is-list {
    grid-template-columns: 1fr;
    gap: 12px;
}

.mp-card--horizontal {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 180px;
}

.mp-card--horizontal .mp-card__media {
    aspect-ratio: auto;
    height: 100%;
}

.mp-card--horizontal .mp-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mp-card--horizontal .mp-card__title {
    min-height: 0;
}

.mp-card--horizontal .mp-card__add {
    display: block;
    max-width: 220px;
}

.mp-card__seller {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--mp-text-secondary);
}

.mp-card__seller span {
    color: var(--mp-success);
    font-weight: 600;
    margin-left: 6px;
}

.mp-card__rating {
    color: var(--mp-primary);
    font-weight: 600;
}

.mp-card__stock {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-danger);
}

.mp-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

.mp-pager a,
.mp-pager span {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--mp-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--mp-text);
    background: #fff;
    font-size: 14px;
}

.mp-pager a.is-active {
    background: var(--mp-primary);
    border-color: var(--mp-primary);
    color: #fff;
}

.mp-loadmore {
    display: none;
    justify-content: center;
    margin-top: 24px;
}

.mp-loadmore.is-fallback {
    display: flex;
}

body.mp-filters-open {
    overflow: hidden;
}

@media (max-width: 1279px) {
    .mp-subcats,
    .mp-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mp-dir {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .mp-cat-hero {
        min-height: 0;
        padding: 24px;
    }

    .mp-cat-hero h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .mp-subcats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mp-dir {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mp-rail {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .mp-rail .mp-card {
        flex: 0 0 168px;
    }

    .mp-cat-toolbar {
        height: 48px;
    }

    .mp-cat-toolbar__mobile {
        display: inline-flex;
    }

    .mp-view-toggle {
        display: none;
    }

    .mp-cat-layout {
        grid-template-columns: 1fr;
    }

    .mp-filters {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(100%, 400px);
        z-index: 110;
        border-radius: 0;
        border: 0;
        transform: translateX(100%);
        transition: transform 200ms ease;
        overflow-y: auto;
        max-height: 100vh;
        padding: 16px;
    }

    .mp-filters.is-open {
        transform: translateX(0);
    }

    .mp-filters__close {
        display: grid;
        place-items: center;
    }

    .mp-filters__backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 105;
        background: rgba(0, 0, 0, 0.4);
        border: 0;
        padding: 0;
        cursor: pointer;
    }

    .mp-pager {
        display: none;
    }

    .mp-loadmore {
        display: flex;
    }

    .mp-card--horizontal {
        grid-template-columns: 120px 1fr;
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .mp-catalog {
        padding-bottom: 96px;
    }

    .mp-cat-hero {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .mp-subcats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mp-dir {
        grid-template-columns: 1fr;
    }

    .mp-sort select {
        width: 140px;
    }

    .mp-product-grid.is-list {
        grid-template-columns: 1fr;
    }
}
