﻿.mc-shell-container {
    width: min(calc(100% - 32px), 1200px);
    margin-right: auto;
    margin-left: auto;
}

.mc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mc-topbar {
    color: #4b5563;
    background: #f8fafc;
    border-bottom: 1px solid #edf0f3;
    font-size: 12px;
}

.mc-topbar__inner {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mc-topbar__links {
    display: flex;
    gap: 18px;
}

.mc-site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 3px 16px rgba(17, 24, 39, .05);
}

.mc-site-header__main {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    min-height: 82px;
    align-items: center;
    gap: 28px;
}

.mc-site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #23242a;
}

.mc-site-logo:hover {
    color: #f27a1a;
}

.mc-site-logo__mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #f27a1a, #ff9a4d);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(242, 122, 26, .25);
    font-size: 23px;
    font-weight: 900;
}

.mc-site-logo__text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.mc-search {
    position: relative;
    display: flex;
    align-items: center;
}

body.modern-commerce .mc-search__input {
    min-height: 48px;
    padding: 11px 96px 11px 16px;
    background: #f4f5f7;
    border: 1px solid transparent;
    border-radius: 12px;
}

body.modern-commerce .mc-search__input:focus {
    background: #fff;
    border-color: #f27a1a;
}

body.modern-commerce .mc-search__button {
    position: absolute;
    right: 5px;
    width: auto;
    min-height: 38px;
    padding: 7px 18px;
    border-radius: 9px;
}

.mc-account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-account-action {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border-radius: 10px;
}

.mc-account-action:hover {
    color: #f27a1a;
    background: #fff4eb;
}

.mc-account-action__icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #f27a1a;
    background: #fff4eb;
    border-radius: 9px;
    font-size: 17px;
}

.mc-account-action__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.mc-account-action__text small {
    color: #6b7280;
    font-size: 11px;
}

.mc-account-action__text strong {
    margin-top: 3px;
    font-size: 13px;
}

.mc-category-nav {
    border-top: 1px solid #f0f1f3;
}

.mc-category-nav__inner {
    display: flex;
    min-height: 46px;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
}

.mc-category-nav__inner a {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    color: #374151;
    border-bottom: 3px solid transparent;
    font-size: 13px;
    font-weight: 700;
}

.mc-category-nav__inner a:hover {
    color: #f27a1a;
    border-bottom-color: #f27a1a;
}

.mc-mobile-menu-toggle {
    display: none;
}

.mc-benefits {
    margin-top: 42px;
    padding: 26px 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.mc-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mc-benefit {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #edf0f3;
    border-radius: 12px;
}

.mc-benefit strong {
    color: #23242a;
    font-size: 14px;
}

.mc-benefit span {
    margin-top: 5px;
    color: #6b7280;
    font-size: 12px;
}

.mc-site-footer {
    margin-top: 0 !important;
    padding: 42px 0 18px !important;
    color: #d1d5db;
    background: #1f2937;
}

.mc-site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.mc-site-footer section {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mc-site-footer h2 {
    margin: 0 0 7px;
    color: #fff !important;
    font-size: 15px !important;
}

.mc-site-footer p {
    max-width: 340px;
    margin: 0;
    color: #9ca3af;
}

.mc-site-footer a {
    color: #d1d5db !important;
}

.mc-site-footer a:hover {
    color: #ffad70 !important;
}

.mc-site-footer__bottom {
    display: flex;
    margin-top: 32px;
    padding-top: 18px;
    justify-content: space-between;
    gap: 16px;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
}

@media (max-width: 1024px) {
    .mc-site-header__main {
        grid-template-columns: auto minmax(200px, 1fr);
        gap: 18px;
        padding: 14px 0;
    }

    .mc-account-actions {
        grid-column: 1 / -1;
        justify-content: center;
        border-top: 1px solid #f0f1f3;
        padding-top: 10px;
    }

    .mc-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mc-shell-container {
        width: min(calc(100% - 20px), 1200px);
    }

    .mc-topbar__message {
        display: none;
    }

    .mc-topbar__inner {
        justify-content: center;
    }

    .mc-site-header__main {
        grid-template-columns: auto auto 1fr;
        min-height: auto;
        gap: 12px;
    }

    .mc-mobile-menu-toggle {
        display: inline-flex;
        width: 42px !important;
        min-height: 42px !important;
        padding: 10px !important;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        background: #fff !important;
        border-color: #e5e7eb !important;
    }

    .mc-mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #374151;
    }

    .mc-site-logo__text {
        display: none;
    }

    .mc-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .mc-account-actions {
        grid-column: 3;
        grid-row: 1;
        justify-content: flex-end;
        padding: 0;
        border: 0;
    }

    .mc-account-action__text {
        display: none;
    }

    .mc-category-nav {
        display: none;
    }

    .mc-category-nav.is-open {
        display: block;
    }

    .mc-category-nav__inner {
        height: auto;
        padding: 8px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .mc-category-nav__inner a {
        min-height: 42px;
        padding: 0 14px;
        border: 0;
        border-radius: 8px;
    }

    .mc-category-nav__inner a:hover {
        background: #fff4eb;
    }

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

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

    .mc-site-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .mc-account-action {
        padding: 5px;
    }

    .mc-account-action__icon {
        width: 28px;
        height: 28px;
    }

    .mc-benefits__grid {
        grid-template-columns: 1fr;
    }
}