.aside-menu-wrapper {
    display: block;
}

.aside-burger-button {
    background-color: var(--color-primary);
    border: none;
    border-radius: 100px;
    padding: 10px;
}

.aside-burger-button svg {
    width: 24px;
    height: 24px;
    color: white;
    margin: 0 2px;
}


.aside-menu {
    position: fixed;
    background-color: #ffffff;
    top: 0;
    left: 0;
    z-index: 1000;
    width: min(320px, 88vw);
    max-width: 100%;
    height: 100%;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.aside-menu.open {
    transform: translateX(0);
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.menu-open {
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
}

.hidden {
    display: none;
}

.aside-menu-header {
    display: flex;
    flex-direction: row;

}

.aside-menu-header {
    display: flex;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.aside-menu-header svg {
    width: 24px;
    height: 24px;
    color: black;
}

.smartphone-catalogue-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.catalogue-button {
    background-color: var(--color-primary);
    border: none;
    border-radius: 10px;
    padding: 7px 18px;
    width: 90%;
    color: white;
    font-weight: 500;
    font-size: 25px;
    transition: background-color 0.2s ease, transform 0.01s ease
}

.catalogue-button:active {
    background-color: rgba(0, 123, 255, 0.1);
    transform: scale(0.99)
}

.smartphone-catalogue {
    display: none;
    position: fixed;
    top: 7%;
    /* по центру екрана + адаптивна ширина, щоб влазило на будь-яку мобілку */
    left: 50%;
    width: min(380px, 94vw);
    background-color: #fff;
    z-index: 1000;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    transform: translateX(-50%) translateY(-10px);
    max-height: 84vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.open-cat {
    display: block;
}

.smartphone-catalogue.open-cat {
    width: min(380px, 94vw);
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.smartphone-catalogue a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.25;
    color: #222;
    font-weight: 500;
    border-radius: 10px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.smartphone-catalogue a:hover,
.smartphone-catalogue a:active {
    background-color: #f4f6f8;
    color: var(--color-primary);
}

/* "Всі товари" — акцентний перший пункт */
.smartphone-catalogue a:first-of-type {
    font-weight: 700;
    color: var(--color-primary);
}

.smartphone-catalogue a svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #c2c6cf; /* приглушений шеврон */
    transition: color 0.15s ease, transform 0.15s ease;
}

.smartphone-catalogue a:hover svg,
.smartphone-catalogue a:active svg {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* тонкі розділювачі всередині меню каталогу */
.smartphone-catalogue .custom-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 6px 10px;
}

.smartphone-mini-basket-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    gap: 5px;
}

.smartphone-mini-basket-wrapper svg{
    width: 24px;
    height: 24px;
    color: black;
}

.log-in-wrapper-smartphone {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.log-in-wrapper-smartphone button {
    display: flex;
    flex-direction: row;
    width: 36px;
    height: 36px;
    padding: 6px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 21px;
    border: 1px solid #E2E4EC;
    background: #fff;
}


h3.smartphone-brand a {
    color: var(--color-primary-brand);
    font-weight: 900 !important;
}

